From 6e9089ad4792c16e0a33f0ec0ab9179c8f659e9e Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Mon, 11 Dec 2023 09:42:55 +0100 Subject: [PATCH 001/374] check ABN before bulk printing --- app/reflexes/admin/orders_reflex.rb | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/app/reflexes/admin/orders_reflex.rb b/app/reflexes/admin/orders_reflex.rb index b3145214a1..a50979d2d9 100644 --- a/app/reflexes/admin/orders_reflex.rb +++ b/app/reflexes/admin/orders_reflex.rb @@ -32,13 +32,16 @@ module Admin end def bulk_invoice(params) + visible_orders = editable_orders.where(id: params[:bulk_ids]).filter(&:invoiceable?) + return unless all_distributors_can_invoice?(visible_orders) + cable_ready.append( selector: "#orders-index", html: render(partial: "spree/admin/orders/bulk/invoice_modal") ).broadcast BulkInvoiceJob.perform_later( - params[:bulk_ids], + visible_orders.pluck(:id), "tmp/invoices/#{Time.zone.now.to_i}-#{SecureRandom.hex(2)}.pdf", channel: SessionChannel.for_request(request), current_user_id: current_user.id @@ -106,5 +109,16 @@ module Admin def set_param_for_controller params[:id] = @order.number end + + def all_distributors_can_invoice?(orders) + distributors = orders.map(&:distributor).uniq.reject(&:can_invoice?) + + return true if distributors.empty? + + flash[:error] = I18n.t(:must_have_valid_business_number, + enterprise_name: distributors.map(&:name).join(", ")) + morph_admin_flashes + false + end end end From b669b804c4c60a9dfdb74ce73bfd81bc8f65d7fd Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Thu, 14 Dec 2023 14:46:24 +0100 Subject: [PATCH 002/374] update tests --- spec/system/admin/orders_spec.rb | 135 ++++++++++++++++++++++++++++++- 1 file changed, 131 insertions(+), 4 deletions(-) diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index b9f29d296b..b465d3947b 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -583,10 +583,13 @@ describe ' reader.pages.map(&:text) end + let(:order4_selector){ "#order_#{order4.id} input[name='bulk_ids[]']" } + let(:order5_selector){ "#order_#{order5.id} input[name='bulk_ids[]']" } + shared_examples "can bulk print invoices from 2 orders" do it "bulk prints invoices in pdf format" do - page.find("#listing_orders tbody tr:nth-child(1) input[name='bulk_ids[]']").click - page.find("#listing_orders tbody tr:nth-child(2) input[name='bulk_ids[]']").click + page.find(order4_selector).click + page.find(order5_selector).click page.find("span.icon-reorder", text: "ACTIONS").click within ".ofn-drop-down .menu" do @@ -621,10 +624,134 @@ describe ' end end - it_behaves_like "can bulk print invoices from 2 orders" + shared_examples "should ignore the non invoiceable order" do + it "bulk prints invoices in pdf format" do + page.find(order4_selector).click + page.find(order5_selector).click - context "with legal invoices feature", feature: :invoices do + page.find("span.icon-reorder", text: "ACTIONS").click + within ".ofn-drop-down .menu" do + expect { + page.find("span", text: "Print Invoices").click # Prints invoices in bulk + }.to enqueue_job(BulkInvoiceJob).exactly(:once) + end + + expect(page).to have_content "Compiling Invoices" + expect(page).to have_content "Please wait until the PDF is ready " \ + "before closing this modal." + + perform_enqueued_jobs(only: BulkInvoiceJob) + + expect(page).to have_content "Bulk Invoice created" + + within ".modal-content" do + expect(page).to have_link(class: "button", text: "VIEW FILE", + href: /invoices/) + + invoice_content = extract_pdf_content + + expect(invoice_content).to have_content("TAX INVOICE", count: 1) + expect(invoice_content).to_not have_content(order4.number.to_s) + expect(invoice_content).to have_content(order5.number.to_s) + expect(invoice_content).to_not have_content(distributor4.name.to_s) + expect(invoice_content).to have_content(distributor5.name.to_s) + expect(invoice_content).to_not have_content(order_cycle4.name.to_s) + expect(invoice_content).to have_content(order_cycle5.name.to_s) + end + end + end + + context "ABN is not required" do + before do + allow(Spree::Config).to receive(:enterprise_number_required_on_invoices?) + .and_return false + end it_behaves_like "can bulk print invoices from 2 orders" + + context "with legal invoices feature", feature: :invoices do + it_behaves_like "can bulk print invoices from 2 orders" + end + + context "one of the two orders is not invoiceable" do + before do + order4.cancel! + assert(!order4.invoiceable?) + assert(order5.invoiceable?) + end + + it_behaves_like "should ignore the non invoiceable order" + context "with legal invoices feature", feature: :invoices do + it_behaves_like "should ignore the non invoiceable order" + end + end + end + + context "ABN is required" do + before do + allow(Spree::Config).to receive(:enterprise_number_required_on_invoices?) + .and_return true + end + context "All the distributors setup the ABN" do + before do + order4.distributor.update(abn: "123456789") + order5.distributor.update(abn: "987654321") + end + context "all the orders are invoiceable (completed/resumed)" do + before do + assert(order4.invoiceable?) + assert(order5.invoiceable?) + end + it_behaves_like "can bulk print invoices from 2 orders" + context "with legal invoices feature", feature: :invoices do + it_behaves_like "can bulk print invoices from 2 orders" + end + end + + context "one of the two orders is not invoiceable" do + before do + order4.cancel! + assert(!order4.invoiceable?) + assert(order5.invoiceable?) + end + + it_behaves_like "should ignore the non invoiceable order" + context "with legal invoices feature", feature: :invoices do + it_behaves_like "should ignore the non invoiceable order" + end + end + end + context "the distributor of one of the order didn't set the ABN" do + before do + order4.distributor.update(abn: "123456789") + order5.distributor.update(abn: nil) + end + + shared_examples "should not print the invoice" do + it "should render a warning message" do + page.find(order4_selector).click + page.find(order5_selector).click + + page.find("span.icon-reorder", text: "ACTIONS").click + within ".ofn-drop-down .menu" do + expect { + page.find("span", text: "Print Invoices").click # Prints invoices in bulk + }.to_not enqueue_job(BulkInvoiceJob) + end + + expect(page).to_not have_content "Compiling Invoices" + expect(page).to_not have_content "Please wait until the PDF is ready " \ + "before closing this modal." + + expect(page).to have_content "#{ + order5.distributor.name + } must have a valid ABN before invoices can be sent." + end + end + it_behaves_like "should not print the invoice" + context "with legal invoices feature", feature: :invoices do + it_behaves_like "should not print the invoice" + end + end end end From f582bffbc506d85b8bca9a27dd69b5ec613af509 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Fri, 29 Dec 2023 15:27:34 +0100 Subject: [PATCH 003/374] remove assertions before tests --- spec/system/admin/orders_spec.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index b465d3947b..4f5ef06f1f 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -675,8 +675,6 @@ describe ' context "one of the two orders is not invoiceable" do before do order4.cancel! - assert(!order4.invoiceable?) - assert(order5.invoiceable?) end it_behaves_like "should ignore the non invoiceable order" @@ -697,10 +695,6 @@ describe ' order5.distributor.update(abn: "987654321") end context "all the orders are invoiceable (completed/resumed)" do - before do - assert(order4.invoiceable?) - assert(order5.invoiceable?) - end it_behaves_like "can bulk print invoices from 2 orders" context "with legal invoices feature", feature: :invoices do it_behaves_like "can bulk print invoices from 2 orders" @@ -710,8 +704,6 @@ describe ' context "one of the two orders is not invoiceable" do before do order4.cancel! - assert(!order4.invoiceable?) - assert(order5.invoiceable?) end it_behaves_like "should ignore the non invoiceable order" From 64b42b128424ca39ffcc1a23f477a65f2b3ca7bc Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Mon, 19 Feb 2024 09:26:27 +0100 Subject: [PATCH 004/374] improve all_distributors_can_invoice? --- app/reflexes/admin/orders_reflex.rb | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/app/reflexes/admin/orders_reflex.rb b/app/reflexes/admin/orders_reflex.rb index a50979d2d9..fe84ebf7ea 100644 --- a/app/reflexes/admin/orders_reflex.rb +++ b/app/reflexes/admin/orders_reflex.rb @@ -33,7 +33,11 @@ module Admin def bulk_invoice(params) visible_orders = editable_orders.where(id: params[:bulk_ids]).filter(&:invoiceable?) - return unless all_distributors_can_invoice?(visible_orders) + if Spree::Config.enterprise_number_required_on_invoices? && + !all_distributors_can_invoice?(visible_orders) + render_business_number_required_error(visible_orders) + return + end cable_ready.append( selector: "#orders-index", @@ -111,14 +115,17 @@ module Admin end def all_distributors_can_invoice?(orders) - distributors = orders.map(&:distributor).uniq.reject(&:can_invoice?) + distributor_ids = orders.map(&:distributor_id) + Enterprise.where(id: distributor_ids, abn: nil).empty? + end - return true if distributors.empty? + def render_business_number_required_error(orders) + distributor_ids = orders.map(&:distributor_id) + distributor_names = Enterprise.where(id: distributor_ids, abn: nil).pluck(:name) flash[:error] = I18n.t(:must_have_valid_business_number, - enterprise_name: distributors.map(&:name).join(", ")) + enterprise_name: distributor_names.join(", ")) morph_admin_flashes - false end end end From 8370a5fed06ad8a984f10e6aa4e8dc30c508957c Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Mon, 19 Feb 2024 11:00:55 +0100 Subject: [PATCH 005/374] fix existing tests --- spec/system/admin/orders_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index 4f5ef06f1f..4f2d58b189 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -736,7 +736,7 @@ describe ' expect(page).to have_content "#{ order5.distributor.name - } must have a valid ABN before invoices can be sent." + } must have a valid ABN before invoices can be used." end end it_behaves_like "should not print the invoice" From 91ecdb0eb98e834f791c6e76fe270f70966aeb7d Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Mon, 19 Feb 2024 11:35:09 +0100 Subject: [PATCH 006/374] remove tax_rates from line_items serializer --- app/serializers/invoice/line_item_serializer.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/serializers/invoice/line_item_serializer.rb b/app/serializers/invoice/line_item_serializer.rb index 4031327f1f..50e566850d 100644 --- a/app/serializers/invoice/line_item_serializer.rb +++ b/app/serializers/invoice/line_item_serializer.rb @@ -6,7 +6,6 @@ class Invoice :variant_id, :unit_price_price_and_unit, :unit_presentation, :enterprise_fee_additional_tax, :enterprise_fee_included_tax has_one :variant, serializer: Invoice::VariantSerializer - has_many :tax_rates, serializer: Invoice::TaxRateSerializer def enterprise_fee_additional_tax EnterpriseFeeAdjustments.new(object.enterprise_fee_adjustments).total_additional_tax From 56fe7f5e2187ef6a3ef38bd0cbc63af8df5d5499 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Mon, 19 Feb 2024 12:22:57 +0100 Subject: [PATCH 007/374] fix tax rates listing in invoices --- app/models/invoice/data_presenter.rb | 8 ++++++++ app/models/invoice/data_presenter/line_item.rb | 6 +----- app/views/spree/admin/orders/_invoice_table4.html.haml | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/models/invoice/data_presenter.rb b/app/models/invoice/data_presenter.rb index 8c5c4dbbab..f45e35612b 100644 --- a/app/models/invoice/data_presenter.rb +++ b/app/models/invoice/data_presenter.rb @@ -91,6 +91,14 @@ class Invoice Spree::Money.new(shipment.amount + shipment.additional_tax_total, currency:) end + def display_line_item_tax_rate(item) + all_tax_adjustments.select { |a| + a.adjustable.type == 'Spree::LineItem' && a.adjustable.id == item.id + }.map(&:originator).map { |tr| + number_to_percentage(tr.amount * 100, precision: 1) + }.join(", ") + end + def display_shipment_tax_rates all_eligible_adjustments.select { |a| a.originator.type == 'Spree::TaxRate' && a.adjustable_type == 'Spree::Shipment' diff --git a/app/models/invoice/data_presenter/line_item.rb b/app/models/invoice/data_presenter/line_item.rb index 2b43a1a4d8..92ed1cc9f9 100644 --- a/app/models/invoice/data_presenter/line_item.rb +++ b/app/models/invoice/data_presenter/line_item.rb @@ -3,7 +3,7 @@ class Invoice class DataPresenter class LineItem < Invoice::DataPresenter::Base - attributes :added_tax, :currency, :included_tax, :price_with_adjustments, :quantity, + attributes :id, :added_tax, :currency, :included_tax, :price_with_adjustments, :quantity, :variant_id, :unit_price_price_and_unit, :unit_presentation, :enterprise_fee_additional_tax, :enterprise_fee_included_tax attributes_with_presenter :variant @@ -35,10 +35,6 @@ class Invoice fee_tax = enterprise_fee_included_tax || 0.0 Spree::Money.new(price_with_adjustments - ((included_tax + fee_tax) / quantity), currency:) end - - def display_line_item_tax_rates - tax_rates.map { |tr| number_to_percentage(tr.amount * 100, precision: 1) }.join(", ") - end end end end diff --git a/app/views/spree/admin/orders/_invoice_table4.html.haml b/app/views/spree/admin/orders/_invoice_table4.html.haml index a19f7aa20c..5382d3d8ce 100644 --- a/app/views/spree/admin/orders/_invoice_table4.html.haml +++ b/app/views/spree/admin/orders/_invoice_table4.html.haml @@ -32,7 +32,7 @@ %td{:align => "right"} = item.display_amount_with_adjustments_without_taxes %td{:align => "right"} - = item.display_line_item_tax_rates + = @order.display_line_item_tax_rate(item) %td{:align => "right"} = item.display_amount_with_adjustments_and_with_taxes %tr From 59a90341086ef657278e3afb498394f91abed9b0 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Mon, 19 Feb 2024 12:36:24 +0100 Subject: [PATCH 008/374] remove tax rates from line_items data presenter --- app/models/invoice/data_presenter/line_item.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/invoice/data_presenter/line_item.rb b/app/models/invoice/data_presenter/line_item.rb index 92ed1cc9f9..2b55cca925 100644 --- a/app/models/invoice/data_presenter/line_item.rb +++ b/app/models/invoice/data_presenter/line_item.rb @@ -7,7 +7,6 @@ class Invoice :variant_id, :unit_price_price_and_unit, :unit_presentation, :enterprise_fee_additional_tax, :enterprise_fee_included_tax attributes_with_presenter :variant - array_attribute :tax_rates, class_name: 'TaxRate' invoice_generation_attributes :added_tax, :included_tax, :price_with_adjustments, :quantity, :variant_id From f44a4356c5f4fa79f41402048c4d126adfc5110c Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Mon, 19 Feb 2024 23:43:21 +0100 Subject: [PATCH 009/374] remove 0.0% if no tax rate applied to line items --- spec/system/admin/invoice_print_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/admin/invoice_print_spec.rb b/spec/system/admin/invoice_print_spec.rb index 45a6823706..c07d96ecfb 100644 --- a/spec/system/admin/invoice_print_spec.rb +++ b/spec/system/admin/invoice_print_spec.rb @@ -542,7 +542,7 @@ describe ' # first line item, no tax expect(page).to have_content Spree::Product.first.name.to_s expect(page).to have_content "($12,540.00 / kg)" # unit price - expect(page).to have_content "1 1g $12.54 $12.54 0.0% $12.54" + expect(page).to have_content "1 1g $12.54 $12.54 $12.54" # # second line item, included tax expect(page).to have_content Spree::Product.second.name.to_s expect(page).to have_content "($500,150.00 / kg)" # unit price @@ -645,7 +645,7 @@ describe ' # first line item, no tax expect(page).to have_content Spree::Product.first.name.to_s expect(page).to have_content "($12,540.00 / kg)" # unit price - expect(page).to have_content "1 1g $12.54 $12.54 0.0% $12.54" + expect(page).to have_content "1 1g $12.54 $12.54 $12.54" # second line item, included tax expect(page).to have_content Spree::Product.second.name.to_s expect(page).to have_content "($500,150.00 / kg)" # unit price From f4395a9d188c7e5b5400618b74707795e8a80e47 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Wed, 21 Feb 2024 20:18:13 +0100 Subject: [PATCH 010/374] test display_line_item_tax_rate --- app/models/spree/line_item.rb | 1 + spec/models/invoice/data_presenter_spec.rb | 64 ++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/app/models/spree/line_item.rb b/app/models/spree/line_item.rb index c2810cbcb8..571a9adfd4 100644 --- a/app/models/spree/line_item.rb +++ b/app/models/spree/line_item.rb @@ -193,6 +193,7 @@ module Spree adjustments.tax.additional.sum(:amount) end + # Some of the tax rates may not be applicable depending to the order's tax zone def tax_rates variant&.tax_category&.tax_rates || [] end diff --git a/spec/models/invoice/data_presenter_spec.rb b/spec/models/invoice/data_presenter_spec.rb index 864044d502..0a0cc24676 100644 --- a/spec/models/invoice/data_presenter_spec.rb +++ b/spec/models/invoice/data_presenter_spec.rb @@ -11,4 +11,68 @@ describe Invoice::DataPresenter do expect(presenter.display_date).to eq "August 01, 2023" end end + + context "#display_line_item_tax_rate" do + let!(:order){ + create(:order_with_taxes, + product_price: 100, + tax_rate_name: "VAT", + tax_rate_amount: 0.15) + } + let(:non_taxable_line_item) { order.line_items.first } + let(:taxable_line_item) { order.line_items.last } # only the last item one has tax rate + let(:invoice){ order.invoices.latest } + let(:presenter){ Invoice::DataPresenter.new(invoice) } + before do + order.create_tax_charge! + OrderInvoiceGenerator.new(order).generate_or_update_latest_invoice + end + + it "displays nothing when the line item refer to a non taxable product" do + expect(presenter.display_line_item_tax_rate(non_taxable_line_item)).to eq "" + end + + it "displays the tax rate when the line item refer to a taxable product" do + expect(presenter.display_line_item_tax_rate(taxable_line_item)).to eq "15.0%" + end + + context "if multiple tax rates belong to the tax category" do + let(:taxable_line_item_tax_rate){ + order.line_items.last.tax_category.tax_rates.first + } + let(:tax_rate_calculator){ + taxable_line_item_tax_rate.calculator + } + before do + tax_rate_clone = taxable_line_item_tax_rate.dup.tap do |dup| + dup.amount = 0.20 + dup.calculator = tax_rate_calculator.dup.tap do |calc| + calc.calculable = dup + end + end + tax_rate_clone.save! + tax_rate_clone.calculator.save! + order.create_tax_charge! + OrderInvoiceGenerator.new(order).generate_or_update_latest_invoice + end + + it "displays the tax rate when the line item refer to a taxable product" do + expect(order.invoices.count).to eq 2 + expect(presenter.display_line_item_tax_rate(taxable_line_item)).to eq "15.0%, 20.0%" + end + + context "one of the tax rate is appliable to a different tax zone" do + before do + order.line_items.last.tax_category.tax_rates.last.update!(zone: create(:zone)) + order.create_tax_charge! + OrderInvoiceGenerator.new(order).generate_or_update_latest_invoice + end + + it "displays only the tax rates that were applied to the line items" do + expect(order.invoices.count).to eq 3 + expect(presenter.display_line_item_tax_rate(taxable_line_item)).to eq "15.0%" + end + end + end + end end From 4516d90ede4e845bc6e50f2e7ce34cb7ce6da782 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 25 Jan 2024 16:55:49 +1100 Subject: [PATCH 011/374] Add script to upgrade HAML syntax [skip-ci] --- lib/haml_up.rb | 110 +++++++++++++++++++++++++++++++++++++++ script/haml-up.rb | 22 ++++++++ spec/lib/haml_up_spec.rb | 50 ++++++++++++++++++ 3 files changed, 182 insertions(+) create mode 100644 lib/haml_up.rb create mode 100755 script/haml-up.rb create mode 100644 spec/lib/haml_up_spec.rb diff --git a/lib/haml_up.rb b/lib/haml_up.rb new file mode 100644 index 0000000000..d4eb20fb76 --- /dev/null +++ b/lib/haml_up.rb @@ -0,0 +1,110 @@ +# frozen_string_literal: true + +# Upgrade HAML attribute syntax to prepare for HAML 6. +# +# HAML 6 stopped supporting nested hash attributes other than `data` and `aria`. +# We used to be able to write: +# +# %div{ ng: { class: "upper", bind: "model" } } +# +# This needs to be written in a flat structure now: +# +# %div{ "ng-class" => "upper", "ng-bind" => "model" } +# +require "fileutils" +require "haml" + +class HamlUp + def upgrade_file(filename) + template = File.read(filename) + rewrite_template(template) + File.write(filename, template) + end + + def rewrite_template(template) + haml_attributes(template).compact.each do |attributes| + rewrite_attributes(template, attributes) + end + end + + def rewrite_attributes(template, original) + attributes = parse_attributes(original) + + if attributes.nil? # parser failed + puts "Warning: failed to parse:\n" # rubocop:disable Rails/Output + puts original # rubocop:disable Rails/Output + return + end + + parse_deprecated_hashes(attributes) + + to_transform = attributes.select { |_k, v| v.is_a? Hash } + + return if to_transform.empty? + + to_transform.each do |key, hash| + add_full_keys(attributes, key, hash) + attributes.delete(key) + end + + replace_attributes(template, original, attributes) + end + + def haml_attributes(template) + options = Haml::Options.new + parsed_tree = Haml::Parser.new(options).call(template) + elements = flatten_tree(parsed_tree) + elements.map { |e| e.value[:dynamic_attributes]&.old } + end + + def flatten_tree(parent) + parent.children.map do |child| + [child] + flatten_tree(child) + end.flatten + end + + def parse_attributes(string) + Haml::AttributeParser.parse(string) + end + + def parse_deprecated_hashes(hash) + hash.each do |key, value| + next if ["aria", "data"].include?(key) + + parsed = parse_attributes(value) + next unless parsed.is_a? Hash + + parse_deprecated_hashes(parsed) + hash[key] = parsed + end + end + + def add_full_keys(attributes, key, hash) + hash.each do |subkey, value| + full_key = "#{key}-#{subkey}" + if value.is_a? Hash + add_full_keys(attributes, full_key, value) + else + attributes[full_key] = value + end + end + end + + def replace_attributes(template, original, attributes) + parsed_lines = original.split("\n") + lines_as_regex = parsed_lines.map(&Regexp.method(:escape)) + pattern = lines_as_regex.join("\n\s*") + + template.gsub!(/#{pattern}/, stringify(attributes)) + end + + def stringify(hash) + entries = hash.map do |key, value| + value = stringify(value) if value.is_a? Hash + + "#{key.inspect} => #{value}" + end + + "{ #{entries.join(', ')} }" + end +end diff --git a/script/haml-up.rb b/script/haml-up.rb new file mode 100755 index 0000000000..033e09f348 --- /dev/null +++ b/script/haml-up.rb @@ -0,0 +1,22 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# Upgrade HAML attribute syntax to prepare for HAML 6. +# +# HAML 6 stopped supporting nested hash attributes other than `data` and `aria`. +# We used to be able to write: +# +# %div{ ng: { class: "upper", bind: "model" } } +# +# This needs to be written in a flat structure now: +# +# %div{ "ng-class" => "upper", "ng-bind" => "model" } +# +# This script rewrites HAML files automatically. It may be used like: +# +# git ls-files '*.haml' | while read f; do ./haml-up.rb "$f"; done +# +require "haml_up" + +puts ARGV[0] +HamlUp.new.upgrade_file(ARGV[0]) diff --git a/spec/lib/haml_up_spec.rb b/spec/lib/haml_up_spec.rb new file mode 100644 index 0000000000..c95b8cc8d5 --- /dev/null +++ b/spec/lib/haml_up_spec.rb @@ -0,0 +1,50 @@ +# frozen_string_literal: true + +require 'spec_helper' +require 'haml_up' + +describe HamlUp do + describe "#rewrite_template" do + it "preserves a simple template" do + original = "%p This is a paragraph" + template = call(original) + expect(template).to eq original + end + + it "rewrites non-standard attribute hashes" do + original = "%p{ng: {click: 'action', show: 'condition'}} label" + template = call(original) + expect(template).to eq "%p{ \"ng-click\" => 'action', \"ng-show\" => 'condition' } label" + end + + it "preserves standard attribute hashes" do + original = "%p{data: {click: 'action', show: 'condition'}} label" + template = call(original) + expect(template).to eq original + end + + it "preserves standard attribute hashes while rewriting others" do + original = "%p{data: {click: 'standard'}, ng: {click: 'not'}} label" + template = call(original) + expect(template).to eq "%p{ \"data\" => {click: 'standard'}, \"ng-click\" => 'not' } label" + end + + it "rewrites multi-line attributes" do + original = <<~HAML + %li{ ng: { class: "{active: selector.active}" } } + %a{ "tooltip" => "{{selector.object.value}}", "tooltip-placement" => "bottom", + ng: { transclude: true, class: "{active: selector.active, 'has-tip': selector.object.value}" } } + HAML + expected = <<~HAML + %li{ "ng-class" => "{active: selector.active}" } + %a{ "tooltip" => "{{selector.object.value}}", "tooltip-placement" => "bottom", "ng-transclude" => true, "ng-class" => "{active: selector.active, 'has-tip': selector.object.value}" } + HAML + template = call(original) + expect(template).to eq expected + end + + def call(original) + original.dup.tap { |t| subject.rewrite_template(t) } + end + end +end From c097f2b622d8474ca9ed08990853eabbcd24edcd Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 2 Feb 2024 08:51:57 +1100 Subject: [PATCH 012/374] Upgrade HAML syntax with script --- .../templates/active_selector.html.haml | 5 +- .../templates/admin/alert_row.html.haml | 8 +- .../admin/columns_dropdown.html.haml | 10 +- .../templates/admin/confirm_dialog.html.haml | 8 +- .../admin/edit_address_dialog.html.haml | 28 +++--- .../templates/admin/info_dialog.html.haml | 6 +- .../admin/modals/bulk_invoice.html.haml | 10 +- .../admin/modals/image_upload.html.haml | 6 +- .../admin/new_customer_dialog.html.haml | 10 +- .../admin/new_tag_rule_dialog.html.haml | 4 +- .../admin/order_cycles_selector.html.haml | 10 +- .../templates/admin/panel.html.haml | 4 +- .../admin/panels/enterprise_package.html.haml | 44 ++++----- .../panels/enterprise_producer.html.haml | 18 ++-- .../admin/panels/enterprise_status.html.haml | 18 ++-- .../templates/admin/save_bar.html.haml | 8 +- .../templates/admin/schedule_dialog.html.haml | 22 ++--- .../javascripts/templates/admin/tag.html.haml | 6 +- .../admin/tag_autocomplete.html.haml | 8 +- .../tag_rules/discount_order_input.html.haml | 6 +- .../filter_order_cycles_input.html.haml | 12 +-- .../filter_payment_methods_input.html.haml | 12 +-- .../tag_rules/filter_products_input.html.haml | 12 +-- .../filter_shipping_methods_input.html.haml | 12 +-- .../admin/tag_rules/tag_rule.html.haml | 34 ++----- .../templates/admin/tags_input.html.haml | 12 +-- .../templates/bulk_buy_modal.html.haml | 14 ++- .../templates/filter_selector.html.haml | 2 +- .../templates/help-modal.html.haml | 2 +- .../templates/partials/hub_details.html.haml | 2 +- .../templates/price_breakdown.html.haml | 4 +- .../question_mark_with_tooltip.html.haml | 4 +- ...ultiple_checked_select_component.html.haml | 2 +- .../admin/_terms_of_service_banner.html.haml | 2 +- app/views/admin/customers/index.html.haml | 34 +++---- .../admin/enterprise_fees/index.html.haml | 14 +-- .../admin/enterprise_groups/_form.html.haml | 2 +- .../enterprise_groups/_form_about.html.haml | 2 +- .../enterprise_groups/_form_address.html.haml | 2 +- .../enterprise_groups/_form_images.html.haml | 2 +- .../_form_primary_details.html.haml | 2 +- .../enterprise_groups/_form_users.html.haml | 2 +- .../enterprise_groups/_form_web.html.haml | 2 +- .../enterprise_relationships/_form.html.haml | 2 +- .../_search_input.html.haml | 4 +- .../enterprises/_change_type_form.html.haml | 18 ++-- .../_enterprise_user_index.html.haml | 50 +++++----- app/views/admin/enterprises/_form.html.haml | 6 +- .../admin/enterprises/_ng_form.html.haml | 4 +- .../admin/enterprises/form/_address.html.haml | 2 +- .../form/_business_details.html.haml | 10 +- .../form/_connected_apps.html.haml | 4 +- .../admin/enterprises/form/_images.html.haml | 8 +- .../enterprises/form/_permalink.html.haml | 8 +- .../form/_primary_details.html.haml | 2 +- .../form/_shop_preferences.html.haml | 12 +-- .../enterprises/form/_tag_rules.html.haml | 16 +-- .../admin/enterprises/form/_users.html.haml | 16 +-- .../form/tag_rules/_default_rules.html.haml | 4 +- app/views/admin/enterprises/new.html.haml | 2 +- .../order_cycles/_exchange_form.html.haml | 6 +- .../admin/order_cycles/_filters.html.haml | 8 +- .../admin/order_cycles/_header.html.haml | 32 +++--- .../order_cycles/_loading_flash.html.haml | 6 +- .../_name_and_timing_form.html.haml | 7 +- app/views/admin/order_cycles/_row.html.haml | 50 +++++----- .../admin/order_cycles/_show_more.html.haml | 6 +- .../admin/order_cycles/_simple_form.html.haml | 4 +- app/views/admin/order_cycles/edit.html.haml | 12 +-- .../admin/order_cycles/incoming.html.haml | 8 +- app/views/admin/order_cycles/index.html.haml | 8 +- app/views/admin/order_cycles/new.html.haml | 4 +- .../admin/order_cycles/outgoing.html.haml | 10 +- .../product_import/_entries_table.html.haml | 6 +- .../product_import/_errors_list.html.haml | 6 +- .../product_import/_import_options.html.haml | 2 +- .../product_import/_import_review.html.haml | 52 +++++----- .../product_import/_save_results.html.haml | 30 +++--- .../product_import/_upload_form.html.haml | 2 +- .../admin/product_import/import.html.haml | 24 ++--- .../admin/products_v3/_no_products.html.haml | 2 +- app/views/admin/products_v3/_sort.html.haml | 2 +- app/views/admin/reports/show.html.haml | 2 +- app/views/admin/shared/_side_menu.html.haml | 4 +- .../shared/_stimulus_pagination.html.haml | 10 +- .../admin/shared/_views_dropdown.html.haml | 2 +- .../admin/subscriptions/_address.html.haml | 98 +++++++++---------- .../subscriptions/_autocomplete.html.haml | 6 +- .../admin/subscriptions/_controls.html.haml | 4 +- .../admin/subscriptions/_details.html.haml | 42 ++++---- .../admin/subscriptions/_filters.html.haml | 6 +- app/views/admin/subscriptions/_form.html.haml | 32 +++--- .../subscriptions/_loading_flash.html.haml | 2 +- .../admin/subscriptions/_no_results.html.haml | 6 +- .../_order_update_issues_dialog.html.haml | 14 +-- .../subscriptions/_orders_panel.html.haml | 16 +-- .../admin/subscriptions/_products.html.haml | 2 +- .../subscriptions/_products_panel.html.haml | 10 +- .../admin/subscriptions/_review.html.haml | 10 +- .../_subscription_line_items.html.haml | 10 +- .../admin/subscriptions/_table.html.haml | 56 +++++------ .../subscriptions/_wizard_progress.html.haml | 2 +- app/views/admin/subscriptions/edit.html.haml | 2 +- app/views/admin/subscriptions/index.html.haml | 2 +- app/views/admin/subscriptions/new.html.haml | 2 +- .../variant_overrides/_controls.html.haml | 16 +-- .../variant_overrides/_filters.html.haml | 18 ++-- .../_hidden_products.html.haml | 18 ++-- .../_loading_flash.html.haml | 2 +- .../variant_overrides/_new_products.html.haml | 18 ++-- .../_new_products_alert.html.haml | 6 +- .../variant_overrides/_no_results.html.haml | 14 +-- .../variant_overrides/_products.html.haml | 54 +++++----- .../_products_product.html.haml | 22 ++--- .../_products_variants.html.haml | 46 ++++----- .../variant_overrides/_show_more.html.haml | 6 +- .../admin/variant_overrides/index.html.haml | 4 +- app/views/enterprises/shop.html.haml | 6 +- app/views/layouts/_login_modal.html.haml | 12 +-- app/views/producers/_skinny.html.haml | 4 +- app/views/registration/_modal.html.haml | 6 +- app/views/registration/authenticate.html.haml | 12 +-- app/views/registration/steps/_about.html.haml | 22 ++--- .../registration/steps/_contact.html.haml | 14 +-- .../registration/steps/_details.html.haml | 36 +++---- .../registration/steps/_images.html.haml | 16 +-- .../steps/_introduction.html.haml | 4 +- .../steps/_limit_reached.html.haml | 2 +- .../steps/_location_map.html.haml | 12 +-- app/views/registration/steps/_logo.html.haml | 6 +- app/views/registration/steps/_promo.html.haml | 6 +- .../registration/steps/_social.html.haml | 14 +-- app/views/registration/steps/_steps.html.haml | 2 +- app/views/registration/steps/_type.html.haml | 16 +-- app/views/shared/menu/_alert.html.haml | 2 +- app/views/shared/menu/_cart_sidebar.html.haml | 14 +-- app/views/shared/menu/_mobile_menu.html.haml | 2 +- .../shared/menu/_offcanvas_menu.html.haml | 2 +- app/views/shop/products/_filters.html.haml | 4 +- app/views/shop/products/_form.html.haml | 12 +-- app/views/shop/products/_search_feedback.haml | 4 +- app/views/shop/products/_searchbar.haml | 6 +- .../_shop_variant_no_group_buy.html.haml | 21 ++-- .../_shop_variant_with_group_buy.html.haml | 16 ++- app/views/shop/products/_summary.html.haml | 2 +- app/views/shopping_shared/_tabs.html.haml | 2 +- app/views/shops/_hubs.html.haml | 10 +- app/views/shops/_skinny.html.haml | 14 +-- .../spree/admin/orders/_filters.html.haml | 2 +- app/views/spree/admin/orders/_note.html.haml | 4 +- app/views/spree/admin/orders/_table.html.haml | 2 +- .../admin/orders/bulk_management.html.haml | 50 +++++----- .../payment_methods/_providers.html.haml | 2 +- .../payment_methods/_stripe_connect.html.haml | 23 ++--- .../spree/admin/products/index.html.haml | 2 +- .../admin/products/index/_filters.html.haml | 8 +- .../admin/products/index/_products.html.haml | 2 +- .../products/index/_products_head.html.haml | 28 +++--- .../index/_products_variant.html.haml | 2 +- app/views/spree/admin/products/new.html.haml | 2 +- .../spree/admin/shared/_order_links.html.haml | 4 +- .../admin/shared/_status_message.html.haml | 2 +- app/views/spree/orders/_bought.html.haml | 12 +-- .../orders/form/_update_buttons.html.haml | 4 +- .../spree/users/_authorised_shops.html.haml | 12 +-- app/views/spree/users/_cards.html.haml | 10 +- .../spree/users/_new_card_form.html.haml | 18 +--- app/views/spree/users/_orders.html.haml | 4 +- app/views/spree/users/_saved_cards.html.haml | 10 +- .../cookies_banner.html.haml | 2 +- .../cookies_policy.html.haml | 4 +- 171 files changed, 928 insertions(+), 1028 deletions(-) diff --git a/app/assets/javascripts/templates/active_selector.html.haml b/app/assets/javascripts/templates/active_selector.html.haml index 87fb066636..3dba975f27 100644 --- a/app/assets/javascripts/templates/active_selector.html.haml +++ b/app/assets/javascripts/templates/active_selector.html.haml @@ -1,3 +1,2 @@ -%li{ ng: { class: "{active: selector.active}" } } - %a{ "tooltip" => "{{selector.object.value}}", "tooltip-placement" => "bottom", - ng: { transclude: true, class: "{active: selector.active, 'has-tip': selector.object.value}" } } +%li{ "ng-class" => "{active: selector.active}" } + %a{ "tooltip" => "{{selector.object.value}}", "tooltip-placement" => "bottom", "ng-transclude" => true, "ng-class" => "{active: selector.active, 'has-tip': selector.object.value}" } diff --git a/app/assets/javascripts/templates/admin/alert_row.html.haml b/app/assets/javascripts/templates/admin/alert_row.html.haml index c1dfe45c6f..d2323ace55 100644 --- a/app/assets/javascripts/templates/admin/alert_row.html.haml +++ b/app/assets/javascripts/templates/admin/alert_row.html.haml @@ -1,8 +1,8 @@ -.sixteen.columns.alpha.omega.alert-row{ ng: { show: '!dismissed' } } +.sixteen.columns.alpha.omega.alert-row{ "ng-show" => '!dismissed' } .fifteen.columns.pad.alpha - %span.message.text-big{ ng: { bind: 'message'} } + %span.message.text-big{ "ng-bind" => 'message' }     - %input{ type: 'button', ng: { value: "buttonText", show: 'buttonText && buttonAction', click: "buttonAction()" } } + %input{ "type" => 'button', "ng-value" => "buttonText", "ng-show" => 'buttonText && buttonAction', "ng-click" => "buttonAction()" } .one.column.omega.pad.text-center - %a.close{ href: "#", ng: { click: "dismiss()" } } + %a.close{ "href" => "#", "ng-click" => "dismiss()" } × diff --git a/app/assets/javascripts/templates/admin/columns_dropdown.html.haml b/app/assets/javascripts/templates/admin/columns_dropdown.html.haml index 7d6059de4d..fabdb56c91 100644 --- a/app/assets/javascripts/templates/admin/columns_dropdown.html.haml +++ b/app/assets/javascripts/templates/admin/columns_dropdown.html.haml @@ -1,13 +1,13 @@ -.ofn-drop-down.ofn-drop-down-v2.right#columns-dropdown{ ng: { controller: 'ColumnsDropdownCtrl' } } +.ofn-drop-down.ofn-drop-down-v2.right#columns-dropdown{ "ng-controller" => 'ColumnsDropdownCtrl' } .ofn-drop-down-label = "  #{t('admin.columns')}".html_safe %span{ 'ng-class' => "expanded && 'icon-caret-up' || !expanded && 'icon-caret-down'" } %div.menu{ 'ng-show' => "expanded" } .menu_items - .menu_item{ ng: { repeat: "column in columns", click: "toggle(column);" } } - %input.redesigned-input{ type: "checkbox", ng: { checked: "column.visible" } } + .menu_item{ "ng-repeat" => "column in columns", "ng-click" => "toggle(column);" } + %input.redesigned-input{ "type" => "checkbox", "ng-checked" => "column.visible" } {{ column.name }} %hr %div.menu_item.text-center - %input.fullwidth.orange{ type: "button", ng: { value: "saved() ? 'Saved': 'Saving'", show: "saved() || saving", disabled: "saved()" } } - %input.fullwidth.red{ type: "button", :value => t('admin.column_save_as_default').html_safe, ng: { show: "!saved() && !saving", click: "saveColumnPreferences(action)"} } + %input.fullwidth.orange{ "type" => "button", "ng-value" => "saved() ? 'Saved': 'Saving'", "ng-show" => "saved() || saving", "ng-disabled" => "saved()" } + %input.fullwidth.red{ "type" => "button", "value" => t('admin.column_save_as_default').html_safe, "ng-show" => "!saved() && !saving", "ng-click" => "saveColumnPreferences(action)" } diff --git a/app/assets/javascripts/templates/admin/confirm_dialog.html.haml b/app/assets/javascripts/templates/admin/confirm_dialog.html.haml index cfd6a011f8..fc1b169213 100644 --- a/app/assets/javascripts/templates/admin/confirm_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/confirm_dialog.html.haml @@ -1,8 +1,8 @@ -#confirm-dialog{ ng: { class: "dialog_class" } } +#confirm-dialog{ "ng-class" => "dialog_class" } .message.clearfix.margin-bottom-30 .icon.text-center %i.icon-question-sign - .text{ ng: { bind: "::message" } } + .text{ "ng-bind" => "::message" } .action-buttons.text-center - %button.cancel{ ng: { click: "close()", bind: "::cancelText" } } - %button.confirm.red{ ng: { click: "confirm()", bind: "::confirmText" } } + %button.cancel{ "ng-click" => "close()", "ng-bind" => "::cancelText" } + %button.confirm.red{ "ng-click" => "confirm()", "ng-bind" => "::confirmText" } diff --git a/app/assets/javascripts/templates/admin/edit_address_dialog.html.haml b/app/assets/javascripts/templates/admin/edit_address_dialog.html.haml index 4dd6f53aec..2d7eeba793 100644 --- a/app/assets/javascripts/templates/admin/edit_address_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/edit_address_dialog.html.haml @@ -1,12 +1,12 @@ #edit-address-dialog %h2 {{ addressType === 'bill_address' ? "#{t('admin.customers.index.edit_bill_address')}" : "#{t('admin.customers.index.edit_ship_address')}" }} - %form{ name: 'edit_address_form', novalidate: true, ng: { submit: 'updateAddress()'}} + %form{ "name" => 'edit_address_form', "novalidate" => true, "ng-submit" => 'updateAddress()' } .row {{ 'admin.customers.index.required_fileds' | t }} ( %span.required * ) - .error{ ng: { repeat: "error in errors", bind: "error" } } + .error{ "ng-repeat" => "error in errors", "ng-bind" => "error" } %table.no-borders %tr @@ -14,61 +14,55 @@ {{ 'first_name' | t }} %span.required * %td - %input{ type: 'text', name: 'firstname', required: true, ng: { model: 'address.firstname'} } + %input{ "type" => 'text', "name" => 'firstname', "required" => true, "ng-model" => 'address.firstname' } %tr %td {{ 'last_name' | t }} %span.required * %td - %input{ type: 'text', name: 'lastname', required: true, ng: { model: 'address.lastname'} } + %input{ "type" => 'text', "name" => 'lastname', "required" => true, "ng-model" => 'address.lastname' } %tr %td {{ 'address' | t }} %span.required * %td - %input{ type: 'text', name: 'address1', required: true, ng: { model: 'address.address1'} } + %input{ "type" => 'text', "name" => 'address1', "required" => true, "ng-model" => 'address.address1' } %tr %td {{ 'address2' | t }} %td - %input{ type: 'text', name: 'address2', ng: { model: 'address.address2'} } + %input{ "type" => 'text', "name" => 'address2', "ng-model" => 'address.address2' } %tr %td {{ 'city' | t }} %span.required * %td - %input{ type: 'text', name: 'city', required: true, ng: { model: 'address.city'} } + %input{ "type" => 'text', "name" => 'city', "required" => true, "ng-model" => 'address.city' } %tr %td {{ 'postcode' | t }} %span.required * %td - %input{ type: 'text', name: 'zipcode', required: true, ng: { model: 'address.zipcode'} } + %input{ "type" => 'text', "name" => 'zipcode', "required" => true, "ng-model" => 'address.zipcode' } %tr %td {{ 'country' | t }} %span.required * %td - %input.ofn-select2.fullwidth#country_id{ type: 'number', - name: 'country_id', required: true, - placeholder: "{{ 'admin.customers.index.select_country' | t }}", - data: 'availableCountries', ng: { model: 'address.country_id' } } + %input.ofn-select2.fullwidth#country_id{ "type" => 'number', "name" => 'country_id', "required" => true, "placeholder" => "{{ 'admin.customers.index.select_country' | t }}", "data" => 'availableCountries', "ng-model" => 'address.country_id' } %tr %td {{ 'state' | t }} %span.required * %td - %input.ofn-select2.fullwidth#state_id{ type: 'number', - name: 'state_id', required: true, - placeholder: "{{ 'admin.customers.index.select_state' | t }}", - data: 'states', ng: { model: 'address.state_id' } } + %input.ofn-select2.fullwidth#state_id{ "type" => 'number', "name" => 'state_id', "required" => true, "placeholder" => "{{ 'admin.customers.index.select_state' | t }}", "data" => 'states', "ng-model" => 'address.state_id' } %tr %td {{ 'phone' | t }} %span.required * %td - %input{ type: 'text', name: 'phone', required: true, ng: { model: 'address.phone'} } + %input{ "type" => 'text', "name" => 'phone', "required" => true, "ng-model" => 'address.phone' } .text-center %input.button.red.icon-plus{ type: 'submit', value: t('admin.customers.index.update_address')} diff --git a/app/assets/javascripts/templates/admin/info_dialog.html.haml b/app/assets/javascripts/templates/admin/info_dialog.html.haml index b69e3b0a4f..17d443e87b 100644 --- a/app/assets/javascripts/templates/admin/info_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/info_dialog.html.haml @@ -1,9 +1,9 @@ -#info-dialog{ ng: { class: "dialog_class" } } +#info-dialog{ "ng-class" => "dialog_class" } .message.clearfix.margin-bottom-30 .icon.text-center - %i{ ng: { class: "icon_class" } } + %i{ "ng-class" => "icon_class" } .text {{ message }} .action-buttons.text-center - %button{ ng: { click: "close()" } } + %button{ "ng-click" => "close()" } = t(:ok) diff --git a/app/assets/javascripts/templates/admin/modals/bulk_invoice.html.haml b/app/assets/javascripts/templates/admin/modals/bulk_invoice.html.haml index 4c3fd55488..8cb89d7976 100644 --- a/app/assets/javascripts/templates/admin/modals/bulk_invoice.html.haml +++ b/app/assets/javascripts/templates/admin/modals/bulk_invoice.html.haml @@ -1,15 +1,15 @@ %h4.modal-title = t('js.admin.orders.index.compiling_invoices') -%p.message{ ng: { show: 'message' } } +%p.message{ "ng-show" => 'message' } {{message}} -%p.error{ ng: { show: 'error' } } +%p.error{ "ng-show" => 'error' } {{error}} -%img.spinner{ src: image_path("/spinning-circles.svg"), ng: { show: "loading" } } -%p{ ng: { show: "loading" } } +%img.spinner{ "src" => image_path("/spinning-circles.svg"), "ng-show" => "loading" } +%p{ "ng-show" => "loading" } = t('js.admin.orders.index.please_wait') -%a.button{ target: '_blank', ng: { click: 'showBulkInvoice()', href: '/admin/orders/invoices/{{invoice_id}}', show: "!loading && !error" } } +%a.button{ "target" => '_blank', "ng-click" => 'showBulkInvoice()', "ng-href" => '/admin/orders/invoices/{{invoice_id}}', "ng-show" => "!loading && !error" } = t('js.admin.orders.index.view_file') diff --git a/app/assets/javascripts/templates/admin/modals/image_upload.html.haml b/app/assets/javascripts/templates/admin/modals/image_upload.html.haml index 28d01d8ada..a1b5141d89 100644 --- a/app/assets/javascripts/templates/admin/modals/image_upload.html.haml +++ b/app/assets/javascripts/templates/admin/modals/image_upload.html.haml @@ -1,10 +1,10 @@ %a.close-reveal-modal{"ng-click" => "$close()"} %i.fa.fa-times-circle{'aria-hidden' => "true"} -%form#image_upload{ name: 'form', novalidate: true, enctype: 'multipart/form-data', multipart: true, ng: { controller: "ProductImageCtrl" } } +%form#image_upload{ "name" => 'form', "novalidate" => true, "enctype" => 'multipart/form-data', "multipart" => true, "ng-controller" => "ProductImageCtrl" } %div.image-preview - %img.spinner{ src: image_path("/spinning-circles.svg"), ng: { hide: "!imageUploader.isUploading" }} - %img.preview{ng: {src: "{{imagePreview}}", class: "{'faded': imageUploader.isUploading}"}} + %img.spinner{ "src" => image_path("/spinning-circles.svg"), "ng-hide" => "!imageUploader.isUploading" } + %img.preview{ "ng-src" => "{{imagePreview}}", "ng-class" => "{'faded': imageUploader.isUploading}" } %label{for: 'image-upload', class: 'button'} {{ 'admin.products.index.upload_an_image' | t }} %input#image-upload{hidden: true, type: 'file', 'nv-file-select' => true, uploader: "imageUploader"} diff --git a/app/assets/javascripts/templates/admin/new_customer_dialog.html.haml b/app/assets/javascripts/templates/admin/new_customer_dialog.html.haml index 9cdcb97713..cc68790124 100644 --- a/app/assets/javascripts/templates/admin/new_customer_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/new_customer_dialog.html.haml @@ -2,14 +2,14 @@ .text-normal.margin-bottom-30.text-center {{ 'js.admin.customers.index.add_a_new_customer_for' | t:{ shop_name: CurrentShop.shop.name } }} - %form{ name: 'new_customer_form', novalidate: true, ng: { submit: "addCustomer()" }} + %form{ "name" => 'new_customer_form', "novalidate" => true, "ng-submit" => "addCustomer()" } .text-center.margin-bottom-30 - %input.fullwidth{ type: 'email', name: 'email', required: true, placeholder: "{{ 'js.admin.customers.index.customer_placeholder' | t }}", ng: { model: "email" } } - %div{ ng: { show: "submitted && new_customer_form.$pristine" } } - .error{ ng: { show: "(new_customer_form.email.$error.email || new_customer_form.email.$error.required)" } } + %input.fullwidth{ "type" => 'email', "name" => 'email', "required" => true, "placeholder" => "{{ 'js.admin.customers.index.customer_placeholder' | t }}", "ng-model" => "email" } + %div{ "ng-show" => "submitted && new_customer_form.$pristine" } + .error{ "ng-show" => "(new_customer_form.email.$error.email || new_customer_form.email.$error.required)" } {{ 'js.admin.customers.index.valid_email_error' | t }} - .error{ ng: { repeat: "error in errors", bind: "error" } } + .error{ "ng-repeat" => "error in errors", "ng-bind" => "error" } .text-center %input.button.red.icon-plus{ type: 'submit', value: "{{ 'js.admin.customers.index.add_customer' | t }}" } diff --git a/app/assets/javascripts/templates/admin/new_tag_rule_dialog.html.haml b/app/assets/javascripts/templates/admin/new_tag_rule_dialog.html.haml index 50d61d3563..9030ee074b 100644 --- a/app/assets/javascripts/templates/admin/new_tag_rule_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/new_tag_rule_dialog.html.haml @@ -4,7 +4,7 @@ .text-center.margin-bottom-30 -# %select.fullwidth{ 'select2-min-search' => 5, 'ng-model' => 'newRuleType', 'ng-options' => 'ruleType.id as ruleType.name for ruleType in availableRuleTypes' } - %input.ofn-select2.fullwidth{ :id => 'rule_type_selector', ng: { model: "ruleType" }, data: "ruleTypes", 'min-search' => "5" } + %input.ofn-select2.fullwidth{ "id" => 'rule_type_selector', "data" => "ruleTypes", "min-search" => "5", "ng-model" => "ruleType" } .text-center - %input.button.red.icon-plus{ type: 'button', value: "{{ 'js.admin.new_tag_rule_dialog.add_rule' | t }}", ng: { click: 'addRule(tagGroup, ruleType)' } } + %input.button.red.icon-plus{ "type" => 'button', "value" => "{{ 'js.admin.new_tag_rule_dialog.add_rule' | t }}", "ng-click" => 'addRule(tagGroup, ruleType)' } diff --git a/app/assets/javascripts/templates/admin/order_cycles_selector.html.haml b/app/assets/javascripts/templates/admin/order_cycles_selector.html.haml index a0b9e7776c..a26f155f7c 100644 --- a/app/assets/javascripts/templates/admin/order_cycles_selector.html.haml +++ b/app/assets/javascripts/templates/admin/order_cycles_selector.html.haml @@ -3,16 +3,16 @@ %td#available-order-cycles {{ 'js.admin.order_cycles.schedules.available' | t }} .order-cycles - .order-cycle{ ng: { repeat: 'orderCycle in orderCycles | available:selectedOrderCycles as availableOrderCycles', click: 'selections.available = orderCycle', dblclick: 'add(orderCycle)', class: '{selected: selections.available == orderCycle}' } } + .order-cycle{ "ng-repeat" => 'orderCycle in orderCycles | available:selectedOrderCycles as availableOrderCycles', "ng-click" => 'selections.available = orderCycle', "ng-dblclick" => 'add(orderCycle)', "ng-class" => '{selected: selections.available == orderCycle}' } {{ orderCycle.name }} %td#add-remove-buttons - %a.add.button{ href: 'javascript:void(0)', ng: { click: 'add()' } } + %a.add.button{ "href" => 'javascript:void(0)', "ng-click" => 'add()' } %i.icon-chevron-right - %a.remove.button{ href: 'javascript:void(0)', ng: { click: 'remove()' } } + %a.remove.button{ "href" => 'javascript:void(0)', "ng-click" => 'remove()' } %i.icon-chevron-left %td#selected-order-cycles {{ 'js.admin.order_cycles.schedules.selected' | t }} .order-cycles - .order-cycle{ ng: { repeat: 'orderCycle in selectedOrderCycles', click: 'selections.selected = orderCycle', dblclick: 'remove(orderCycle)', class: '{selected: selections.selected == orderCycle}' } } + .order-cycle{ "ng-repeat" => 'orderCycle in selectedOrderCycles', "ng-click" => 'selections.selected = orderCycle', "ng-dblclick" => 'remove(orderCycle)', "ng-class" => '{selected: selections.selected == orderCycle}' } {{ orderCycle.name }} -.error{ ng: { repeat: "error in errors", bind: "error" } } +.error{ "ng-repeat" => "error in errors", "ng-bind" => "error" } diff --git a/app/assets/javascripts/templates/admin/panel.html.haml b/app/assets/javascripts/templates/admin/panel.html.haml index 4d3780aed0..514a943264 100644 --- a/app/assets/javascripts/templates/admin/panel.html.haml +++ b/app/assets/javascripts/templates/admin/panel.html.haml @@ -1,2 +1,2 @@ -%td{ colspan: "{{columnCount}}", ng: { if: "template" } } - .panel{ ng: { include: "template" } } +%td{ "colspan" => "{{columnCount}}", "ng-if" => "template" } + .panel{ "ng-include" => "template" } diff --git a/app/assets/javascripts/templates/admin/panels/enterprise_package.html.haml b/app/assets/javascripts/templates/admin/panels/enterprise_package.html.haml index 4ef49a3bc0..c882b3bf2a 100644 --- a/app/assets/javascripts/templates/admin/panels/enterprise_package.html.haml +++ b/app/assets/javascripts/templates/admin/panels/enterprise_package.html.haml @@ -1,7 +1,7 @@ -.row.enterprise_package_panel{ ng: { controller: 'indexPackagePanelCtrl' } } +.row.enterprise_package_panel{ "ng-controller" => 'indexPackagePanelCtrl' } .alpha.eight.columns - %div{ ng: { if: "!enterprise.is_primary_producer", switch: "enterprise.sells" } } - .info{ ng: { switch: { when: "none" } } } + %div{ "ng-if" => "!enterprise.is_primary_producer", "ng-switch" => "enterprise.sells" } + .info{ "ng-switch-when" => "none" } %h3 {{ 'js.admin.panels.enterprise_package.hub_profile' | t }} @@ -15,7 +15,7 @@ %p {{ 'js.admin.panels.enterprise_package.hub_profile_text2' | t }} - .info{ ng: { switch: { when: "any" } } } + .info{ "ng-switch-when" => "any" } %h3 {{ 'js.admin.panels.enterprise_package.hub_shop' | t }} @@ -28,7 +28,7 @@ %p {{ 'js.admin.panels.enterprise_package.hub_shop_text3' | t }} - .info{ ng: { switch: { default: true } } } + .info{ "ng-switch-default" => true } %h3 {{ 'js.admin.panels.enterprise_package.choose_package' | t }} %i.icon-arrow-right @@ -40,8 +40,8 @@ %p {{ 'js.admin.panels.enterprise_package.choose_package_text2' | t }} - %div{ ng: { if: "enterprise.is_primary_producer", switch: "enterprise.sells" } } - .info{ ng: { switch: { when: "none" } } } + %div{ "ng-if" => "enterprise.is_primary_producer", "ng-switch" => "enterprise.sells" } + .info{ "ng-switch-when" => "none" } %h3 {{ 'js.admin.panels.enterprise_package.profile_only' | t }} @@ -58,7 +58,7 @@ %p {{ 'js.admin.panels.enterprise_package.profile_only_text3' | t }} - .info{ ng: { switch: { when: "own" } } } + .info{ "ng-switch-when" => "own" } %h3 {{ 'js.admin.panels.enterprise_package.producer_shop' | t }} @@ -68,7 +68,7 @@ %p {{ 'js.admin.panels.enterprise_package.producer_shop_text2' | t }} - .info{ ng: { switch: { when: "any" } } } + .info{ "ng-switch-when" => "any" } %h3 {{ 'js.admin.panels.enterprise_package.producer_hub' | t }} @@ -81,7 +81,7 @@ %p {{ 'js.admin.panels.enterprise_package.producer_hub_text3' | t }} - .info{ ng: { switch: { default: true } } } + .info{ "ng-switch-default" => true } %h3 {{ 'js.admin.panels.enterprise_package.choose_package' | t }} %i.icon-arrow-right @@ -93,9 +93,9 @@ %p {{ 'js.admin.panels.enterprise_package.choose_package_text2' | t }} - .omega.eight.columns{ ng: { switch: "enterprise.is_primary_producer" } } - %div{ ng: { switch: { when: "false" } } } - %a.button.selector.hub-profile{ ng: { click: "enterprise.owned && (enterprise.sells='none')", class: "{selected: enterprise.sells=='none', disabled: !enterprise.owned}" } } + .omega.eight.columns{ "ng-switch" => "enterprise.is_primary_producer" } + %div{ "ng-switch-when" => "false" } + %a.button.selector.hub-profile{ "ng-click" => "enterprise.owned && (enterprise.sells='none')", "ng-class" => "{selected: enterprise.sells=='none', disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_package.profile_only' | t }} @@ -103,15 +103,15 @@ {{ 'js.admin.panels.enterprise_package.get_listing' | t }} .bottom {{ 'js.admin.panels.enterprise_package.always_free' | t }} - %a.button.selector.hub{ ng: { click: "enterprise.owned && (enterprise.sells='any')", class: "{selected: enterprise.sells=='any', disabled: !enterprise.owned}" } } + %a.button.selector.hub{ "ng-click" => "enterprise.owned && (enterprise.sells='any')", "ng-class" => "{selected: enterprise.sells=='any', disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_package.hub_shop' | t }} %p {{ 'js.admin.panels.enterprise_package.sell_produce_others' | t }} - %div{ ng: { switch: { when: "true" } } } - %a.button.selector.producer-profile{ ng: { click: "enterprise.owned && (enterprise.sells='none')", class: "{selected: enterprise.sells=='none', disabled: !enterprise.owned}" } } + %div{ "ng-switch-when" => "true" } + %a.button.selector.producer-profile{ "ng-click" => "enterprise.owned && (enterprise.sells='none')", "ng-class" => "{selected: enterprise.sells=='none', disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_package.profile_only' | t }} @@ -119,27 +119,27 @@ {{ 'js.admin.panels.enterprise_package.get_listing' | t }} .bottom {{ 'js.admin.panels.enterprise_package.always_free' | t }} - %a.button.selector.producer-shop{ ng: { click: "enterprise.owned && (enterprise.sells='own')", class: "{selected: enterprise.sells=='own', disabled: !enterprise.owned}" } } + %a.button.selector.producer-shop{ "ng-click" => "enterprise.owned && (enterprise.sells='own')", "ng-class" => "{selected: enterprise.sells=='own', disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_package.producer_shop' | t }} %p {{ 'js.admin.panels.enterprise_package.sell_own_produce' | t }} - %a.button.selector.producer-hub{ ng: { click: "enterprise.owned && (enterprise.sells='any')", class: "{selected: enterprise.sells=='any', disabled: !enterprise.owned}" } } + %a.button.selector.producer-hub{ "ng-click" => "enterprise.owned && (enterprise.sells='any')", "ng-class" => "{selected: enterprise.sells=='any', disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_package.producer_hub' | t }} %p {{ 'js.admin.panels.enterprise_package.sell_both' | t }} - %a.button.update.fullwidth{ ng: { show: "enterprise.owned", class: "{disabled: saved() && !saving, saving: saving}", click: "save()" } } - %span{ ng: {hide: "saved() || saving" } } + %a.button.update.fullwidth{ "ng-show" => "enterprise.owned", "ng-class" => "{disabled: saved() && !saving, saving: saving}", "ng-click" => "save()" } + %span{ "ng-hide" => "saved() || saving" } {{ 'js.admin.panels.save' | t }} %i.icon-save - %span{ ng: {show: "saved() && !saving" } } + %span{ "ng-show" => "saved() && !saving" } {{ 'js.admin.panels.saved' | t }} %i.icon-ok-sign - %span{ ng: {show: "saving" } } + %span{ "ng-show" => "saving" } {{ 'js.admin.panels.saving' | t }} %i.icon-refresh diff --git a/app/assets/javascripts/templates/admin/panels/enterprise_producer.html.haml b/app/assets/javascripts/templates/admin/panels/enterprise_producer.html.haml index b1f022420d..ec868ebf86 100644 --- a/app/assets/javascripts/templates/admin/panels/enterprise_producer.html.haml +++ b/app/assets/javascripts/templates/admin/panels/enterprise_producer.html.haml @@ -1,6 +1,6 @@ -.row.enterprise_producer_panel{ ng: { controller: 'indexProducerPanelCtrl' } } +.row.enterprise_producer_panel{ "ng-controller" => 'indexProducerPanelCtrl' } .alpha.eight.columns - .info{ ng: { show: "enterprise.is_primary_producer==true" } } + .info{ "ng-show" => "enterprise.is_primary_producer==true" } %h3 {{ 'js.admin.panels.enterprise_producer.producer' | t }} %p @@ -8,7 +8,7 @@ %p {{ 'js.admin.panels.enterprise_producer.producer_text2' | t }} - .info{ ng: { show: "enterprise.is_primary_producer==false" } } + .info{ "ng-show" => "enterprise.is_primary_producer==false" } %h3 {{ 'js.admin.panels.enterprise_producer.non_producer' | t }} %p @@ -17,7 +17,7 @@ {{ 'js.admin.panels.enterprise_producer.non_producer_text2' | t }} .omega.eight.columns - %a.button.selector.producer{ ng: { click: 'enterprise.owned && changeToProducer()', class: "{selected: enterprise.is_primary_producer==true, disabled: !enterprise.owned}" } } + %a.button.selector.producer{ "ng-click" => 'enterprise.owned && changeToProducer()', "ng-class" => "{selected: enterprise.is_primary_producer==true, disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_producer.producer' | t }} @@ -26,7 +26,7 @@ .bottom {{ 'js.admin.panels.enterprise_producer.producer_example' | t }} - %a.button.selector.non-producer{ ng: { click: 'enterprise.owned && changeToNonProducer()', class: "{selected: enterprise.is_primary_producer==false, disabled: !enterprise.owned}" } } + %a.button.selector.non-producer{ "ng-click" => 'enterprise.owned && changeToNonProducer()', "ng-class" => "{selected: enterprise.is_primary_producer==false, disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_producer.non_producer' | t }} @@ -35,13 +35,13 @@ .bottom {{ 'js.admin.panels.enterprise_producer.non_producer_example' | t }} - %a.button.update.fullwidth{ ng: { show: "enterprise.owned", class: "{disabled: saved() && !saving, saving: saving}", click: "save()" } } - %span{ ng: {hide: "saved() || saving" } } + %a.button.update.fullwidth{ "ng-show" => "enterprise.owned", "ng-class" => "{disabled: saved() && !saving, saving: saving}", "ng-click" => "save()" } + %span{ "ng-hide" => "saved() || saving" } {{ 'js.admin.panels.save' | t }} %i.icon-save - %span{ ng: {show: "saved() && !saving" } } + %span{ "ng-show" => "saved() && !saving" } {{ 'js.admin.panels.saved' | t }} %i.icon-ok-sign - %span{ ng: {show: "saving" } } + %span{ "ng-show" => "saving" } {{ 'js.admin.panels.saving' | t }} %i.icon-refresh diff --git a/app/assets/javascripts/templates/admin/panels/enterprise_status.html.haml b/app/assets/javascripts/templates/admin/panels/enterprise_status.html.haml index d5022fd26e..325b19f237 100644 --- a/app/assets/javascripts/templates/admin/panels/enterprise_status.html.haml +++ b/app/assets/javascripts/templates/admin/panels/enterprise_status.html.haml @@ -1,10 +1,10 @@ -.row.enterprise_status_panel{ ng: { controller: 'indexStatusPanelCtrl' } } +.row.enterprise_status_panel{ "ng-controller" => 'indexStatusPanelCtrl' } .alpha.omega.sixteen.columns - %h4.status-ok.text-center{ ng: { show: "issues.length == 0 && warnings.length == 0" } } + %h4.status-ok.text-center{ "ng-show" => "issues.length == 0 && warnings.length == 0" } %i.icon-ok-sign {{ 'js.admin.panels.enterprise_status.status_title' | t:{ name: object.name } }} - %table{ ng: { show: "issues.length > 0 || warnings.length > 0" } } + %table{ "ng-show" => "issues.length > 0 || warnings.length > 0" } %thead %th.severity {{ 'js.admin.panels.enterprise_status.severity' | t }} @@ -12,17 +12,17 @@ {{ 'js.admin.panels.enterprise_status.description' | t }} %th.resolve {{ 'js.admin.panels.enterprise_status.resolve' | t }} - %tr{ ng: { repeat: "issue in issues"} } + %tr{ "ng-repeat" => "issue in issues" } %td.severity %i.icon-warning-sign.issue %td.description - %span{ ng: { bind: "::issue.description" } } + %span{ "ng-bind" => "::issue.description" } %td.resolve - %div{ ng: { bind: { html: "issue.link" } } } - %tr{ ng: { repeat: "warning in warnings"} } + %div{ "ng-bind-html" => "issue.link" } + %tr{ "ng-repeat" => "warning in warnings" } %td.severity %i.icon-warning-sign.warning %td.description - %span{ ng: { bind: "::warning.description" } } + %span{ "ng-bind" => "::warning.description" } %td.resolve - %div{ ng: { bind: { html: "warning.link" } } } + %div{ "ng-bind-html" => "warning.link" } diff --git a/app/assets/javascripts/templates/admin/save_bar.html.haml b/app/assets/javascripts/templates/admin/save_bar.html.haml index 08b6da5361..fee020f9c6 100644 --- a/app/assets/javascripts/templates/admin/save_bar.html.haml +++ b/app/assets/javascripts/templates/admin/save_bar.html.haml @@ -1,9 +1,9 @@ -#save-bar.animate-show{ ng: { show: 'dirty || persist || StatusMessage.active()' } } +#save-bar.animate-show{ "ng-show" => 'dirty || persist || StatusMessage.active()' } .container .seven.columns.alpha - %h5#status-message{ ng: { show: "StatusMessage.invalidMessage == ''", style: 'StatusMessage.statusMessage.style' } } + %h5#status-message{ "ng-show" => "StatusMessage.invalidMessage == ''", "ng-style" => 'StatusMessage.statusMessage.style' } {{ StatusMessage.statusMessage.text || " " }} - %h5#status-message{ ng: { show: "StatusMessage.invalidMessage !== ''" }, style: 'color: #C85136' } + %h5#status-message{ "style" => 'color: #C85136', "ng-show" => "StatusMessage.invalidMessage !== ''" } {{ StatusMessage.invalidMessage || " " }} - .nine.columns.omega.text-right{ ng: { transclude: true } } + .nine.columns.omega.text-right{ "ng-transclude" => true } diff --git a/app/assets/javascripts/templates/admin/schedule_dialog.html.haml b/app/assets/javascripts/templates/admin/schedule_dialog.html.haml index 421cf25d42..03d2acd354 100644 --- a/app/assets/javascripts/templates/admin/schedule_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/schedule_dialog.html.haml @@ -1,24 +1,24 @@ #schedule-dialog .text-normal.margin-bottom-30.text-center - %span{ ng: { hide: 'schedule.id' } } + %span{ "ng-hide" => 'schedule.id' } {{ 'js.admin.order_cycles.schedules.adding_a_new_schedule' | t }} - %span{ ng: { show: 'schedule.id' } } + %span{ "ng-show" => 'schedule.id' } {{ 'js.admin.order_cycles.schedules.updating_a_schedule' | t }} - %form{ name: 'schedule_form', novalidate: true, ng: { submit: "submit()" }} + %form{ "name" => 'schedule_form', "novalidate" => true, "ng-submit" => "submit()" } .text-center.margin-bottom-20 - %input.fullwidth{ type: 'text', name: 'name', required: true, placeholder: "{{ 'js.admin.order_cycles.schedules.schedule_name_placeholder' | t }}", ng: { model: "schedule.name" } } - %div{ ng: { show: "submitted && schedule_form.$pristine" } } - .error{ ng: { show: "(schedule_form.name.$error.required)" } } + %input.fullwidth{ "type" => 'text', "name" => 'name', "required" => true, "placeholder" => "{{ 'js.admin.order_cycles.schedules.schedule_name_placeholder' | t }}", "ng-model" => "schedule.name" } + %div{ "ng-show" => "submitted && schedule_form.$pristine" } + .error{ "ng-show" => "(schedule_form.name.$error.required)" } {{ 'js.admin.order_cycles.schedules.name_required_error' | t }} .order-cycles-selector.text-center.margin-bottom-30 .text-center - %input.button{ type: 'submit', value: "{{ 'js.admin.order_cycles.schedules.create_schedule' | t }}", ng: { hide: 'schedule.id' } } - %input.button{ type: 'submit', value: "{{ 'js.admin.order_cycles.schedules.update_schedule' | t }}", ng: { show: 'schedule.id' } } - %span{ ng: { show: 'schedule.id' } } or - %input.button.red{ type: 'button', value: "{{ 'js.admin.order_cycles.schedules.delete_schedule' | t }}", ng: { show: 'schedule.id', click: 'delete()'} } - %input.button{ type: 'button', value: "{{ 'actions.cancel' | t }}", ng: { click: 'close()' } } + %input.button{ "type" => 'submit', "value" => "{{ 'js.admin.order_cycles.schedules.create_schedule' | t }}", "ng-hide" => 'schedule.id' } + %input.button{ "type" => 'submit', "value" => "{{ 'js.admin.order_cycles.schedules.update_schedule' | t }}", "ng-show" => 'schedule.id' } + %span{ "ng-show" => 'schedule.id' } or + %input.button.red{ "type" => 'button', "value" => "{{ 'js.admin.order_cycles.schedules.delete_schedule' | t }}", "ng-show" => 'schedule.id', "ng-click" => 'delete()' } + %input.button{ "type" => 'button', "value" => "{{ 'actions.cancel' | t }}", "ng-click" => 'close()' } diff --git a/app/assets/javascripts/templates/admin/tag.html.haml b/app/assets/javascripts/templates/admin/tag.html.haml index c4afcfa5ad..e093262c67 100644 --- a/app/assets/javascripts/templates/admin/tag.html.haml +++ b/app/assets/javascripts/templates/admin/tag.html.haml @@ -1,8 +1,8 @@ .tag-template %div - %span.tag-with-rules{ ng: { if: "data.rules" }, "ofn-with-tip" => "{{ 'admin.tag_has_rules' | t:{num: data.rules} }}" } + %span.tag-with-rules{ "ofn-with-tip" => "{{ 'admin.tag_has_rules' | t:{num: data.rules} }}", "ng-if" => "data.rules" } {{$getDisplayText()}} - %span{ ng: { if: "!data.rules" } } + %span{ "ng-if" => "!data.rules" } {{$getDisplayText()}} - %a.remove-button{ ng: {click: "$removeTag()"} } + %a.remove-button{ "ng-click" => "$removeTag()" } ✖ diff --git a/app/assets/javascripts/templates/admin/tag_autocomplete.html.haml b/app/assets/javascripts/templates/admin/tag_autocomplete.html.haml index 2b9b3f3f2f..536aaf1177 100644 --- a/app/assets/javascripts/templates/admin/tag_autocomplete.html.haml +++ b/app/assets/javascripts/templates/admin/tag_autocomplete.html.haml @@ -1,11 +1,11 @@ .autocomplete-template - %span.tag-with-rules{ ng: { if: "data.rules" } } + %span.tag-with-rules{ "ng-if" => "data.rules" } {{$getDisplayText()}} - %span.tag-with-rules{ ng: { if: "data.rules == 1" } } + %span.tag-with-rules{ "ng-if" => "data.rules == 1" } — {{ 'admin.has_one_rule' | t }} - %span.tag-with-rules{ ng: { if: "data.rules > 1" } } + %span.tag-with-rules{ "ng-if" => "data.rules > 1" } — {{ 'admin.has_n_rules' | t:{ num: data.rules } }} - %span{ ng: { if: "!data.rules" } } + %span{ "ng-if" => "!data.rules" } {{$getDisplayText()}} diff --git a/app/assets/javascripts/templates/admin/tag_rules/discount_order_input.html.haml b/app/assets/javascripts/templates/admin/tag_rules/discount_order_input.html.haml index abad41ea62..657593b0d3 100644 --- a/app/assets/javascripts/templates/admin/tag_rules/discount_order_input.html.haml +++ b/app/assets/javascripts/templates/admin/tag_rules/discount_order_input.html.haml @@ -1,7 +1,3 @@ %div - %input{ type: "number", - id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_calculator_attributes_preferred_flat_percent", - min: -100, - max: 100, - ng: { model: "rule.calculator.preferred_flat_percent" }, 'invert-number' => true } + %input{ "type" => "number", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_calculator_attributes_preferred_flat_percent", "min" => -100, "max" => 100, "invert-number" => true, "ng-model" => "rule.calculator.preferred_flat_percent" } %span.text-normal % diff --git a/app/assets/javascripts/templates/admin/tag_rules/filter_order_cycles_input.html.haml b/app/assets/javascripts/templates/admin/tag_rules/filter_order_cycles_input.html.haml index 87eddb331e..5a7d497cbd 100644 --- a/app/assets/javascripts/templates/admin/tag_rules/filter_order_cycles_input.html.haml +++ b/app/assets/javascripts/templates/admin/tag_rules/filter_order_cycles_input.html.haml @@ -1,11 +1,5 @@ %div - %input.fullwidth.light.ofn-select2{ id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_order_cycles_visibility", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_order_cycles_visibility]", - ng: { model: "rule.preferred_matched_order_cycles_visibility", if: "!rule.is_default" }, - data: 'visibilityOptions', "min-search" => 5 } - %input{ type: "hidden", - id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_order_cycles_visibility", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_order_cycles_visibility]", - ng: { value: "'hidden'", if: "rule.is_default" } } - %span.text-normal{ ng: { if: "rule.is_default" } } + %input.fullwidth.light.ofn-select2{ "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_order_cycles_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_order_cycles_visibility]", "data" => 'visibilityOptions', "min-search" => 5, "ng-model" => "rule.preferred_matched_order_cycles_visibility", "ng-if" => "!rule.is_default" } + %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_order_cycles_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_order_cycles_visibility]", "ng-value" => "'hidden'", "ng-if" => "rule.is_default" } + %span.text-normal{ "ng-if" => "rule.is_default" } =t(:not_visible) diff --git a/app/assets/javascripts/templates/admin/tag_rules/filter_payment_methods_input.html.haml b/app/assets/javascripts/templates/admin/tag_rules/filter_payment_methods_input.html.haml index 8151feb677..4c5b3a0c98 100644 --- a/app/assets/javascripts/templates/admin/tag_rules/filter_payment_methods_input.html.haml +++ b/app/assets/javascripts/templates/admin/tag_rules/filter_payment_methods_input.html.haml @@ -1,11 +1,5 @@ %div - %input.fullwidth.light.ofn-select2{ id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_payment_methods_visibility", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_payment_methods_visibility]", - ng: { model: "rule.preferred_matched_payment_methods_visibility", if: "!rule.is_default" }, - data: 'visibilityOptions', "min-search" => 5 } - %input{ type: "hidden", - id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_payment_methods_visibility", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_payment_methods_visibility]", - ng: { value: "'hidden'", if: "rule.is_default" } } - %span.text-normal{ ng: { if: "rule.is_default" } } + %input.fullwidth.light.ofn-select2{ "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_payment_methods_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_payment_methods_visibility]", "data" => 'visibilityOptions', "min-search" => 5, "ng-model" => "rule.preferred_matched_payment_methods_visibility", "ng-if" => "!rule.is_default" } + %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_payment_methods_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_payment_methods_visibility]", "ng-value" => "'hidden'", "ng-if" => "rule.is_default" } + %span.text-normal{ "ng-if" => "rule.is_default" } = t(:not_visible) diff --git a/app/assets/javascripts/templates/admin/tag_rules/filter_products_input.html.haml b/app/assets/javascripts/templates/admin/tag_rules/filter_products_input.html.haml index b30901791a..4d9f806cfc 100644 --- a/app/assets/javascripts/templates/admin/tag_rules/filter_products_input.html.haml +++ b/app/assets/javascripts/templates/admin/tag_rules/filter_products_input.html.haml @@ -1,11 +1,5 @@ %div - %input.fullwidth.light.ofn-select2{ id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_variants_visibility", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_variants_visibility]", - ng: { model: "rule.preferred_matched_variants_visibility", if: "!rule.is_default" }, - data: 'visibilityOptions', "min-search" => 5 } - %input{ type: "hidden", - id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_variants_visibility", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_variants_visibility]", - ng: { value: "'hidden'", if: "rule.is_default" } } - %span.text-normal{ ng: { if: "rule.is_default" } } + %input.fullwidth.light.ofn-select2{ "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_variants_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_variants_visibility]", "data" => 'visibilityOptions', "min-search" => 5, "ng-model" => "rule.preferred_matched_variants_visibility", "ng-if" => "!rule.is_default" } + %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_variants_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_variants_visibility]", "ng-value" => "'hidden'", "ng-if" => "rule.is_default" } + %span.text-normal{ "ng-if" => "rule.is_default" } = t(:not_visible) diff --git a/app/assets/javascripts/templates/admin/tag_rules/filter_shipping_methods_input.html.haml b/app/assets/javascripts/templates/admin/tag_rules/filter_shipping_methods_input.html.haml index 48cf29a732..8b2ad933e6 100644 --- a/app/assets/javascripts/templates/admin/tag_rules/filter_shipping_methods_input.html.haml +++ b/app/assets/javascripts/templates/admin/tag_rules/filter_shipping_methods_input.html.haml @@ -1,12 +1,6 @@ %div - %input.fullwidth.light.ofn-select2{ id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_shipping_methods_visibility", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_shipping_methods_visibility]", - ng: { model: "rule.preferred_matched_shipping_methods_visibility", if: "!rule.is_default" }, - data: 'visibilityOptions', "min-search" => 5 } - %input{ type: "hidden", - id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_shipping_methods_visibility", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_shipping_methods_visibility]", - ng: { value: "'hidden'", if: "rule.is_default" } } - %span.text-normal{ ng: { if: "rule.is_default" } } + %input.fullwidth.light.ofn-select2{ "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_shipping_methods_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_shipping_methods_visibility]", "data" => 'visibilityOptions', "min-search" => 5, "ng-model" => "rule.preferred_matched_shipping_methods_visibility", "ng-if" => "!rule.is_default" } + %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_shipping_methods_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_shipping_methods_visibility]", "ng-value" => "'hidden'", "ng-if" => "rule.is_default" } + %span.text-normal{ "ng-if" => "rule.is_default" } = t(:not_visible) diff --git a/app/assets/javascripts/templates/admin/tag_rules/tag_rule.html.haml b/app/assets/javascripts/templates/admin/tag_rules/tag_rule.html.haml index 7907b9dfda..7bd21b5892 100644 --- a/app/assets/javascripts/templates/admin/tag_rules/tag_rule.html.haml +++ b/app/assets/javascripts/templates/admin/tag_rules/tag_rule.html.haml @@ -6,45 +6,27 @@ %col.actions{ width: "10%" } %tr %td - %input{ type: "hidden", - id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_id", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][id]", - ng: { value: "rule.id" } } + %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_id", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][id]", "ng-value" => "rule.id" } - %input{ type: "hidden", - id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_type", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][type]", - ng: { value: "rule.type" } } + %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_type", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][type]", "ng-value" => "rule.type" } - %input{ type: "hidden", - id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_priority", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][priority]", - ng: { value: "tagGroup.startIndex + $index" } } + %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_priority", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][priority]", "ng-value" => "tagGroup.startIndex + $index" } - %input{ type: "hidden", - id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_is_default", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][is_default]", - ng: { value: "rule.is_default" } } + %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_is_default", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][is_default]", "ng-value" => "rule.is_default" } - %input{ type: "hidden", - id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_customer_tags", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_customer_tags]", - ng: { value: "rule.preferred_customer_tags" } } + %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_customer_tags", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_customer_tags]", "ng-value" => "rule.preferred_customer_tags" } - %input{ type: "hidden", - id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_{{opt[rule.type].taggable}}_tags", - name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_{{opt[rule.type].taggable}}_tags]", - ng: { value: "opt[rule.type].tagListFor(rule)" } } + %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_{{opt[rule.type].taggable}}_tags", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_{{opt[rule.type].taggable}}_tags]", "ng-value" => "opt[rule.type].tagListFor(rule)" } %span.text-normal {{ opt[rule.type].textTop }} %td %tags-with-translation{ object: "rule", max: 1, "tags-attr" => "{{opt[rule.type].tagsAttr}}", "tag-list-attr" => "{{opt[rule.type].tagListAttr}}" } %td.actions{ rowspan: 2 } - %a{ ng: { click: "deleteTagRule(tagGroup || defaultTagGroup, rule)" }, :class => "delete-tag-rule icon-trash no-text" } + %a{ "class" => "delete-tag-rule icon-trash no-text", "ng-click" => "deleteTagRule(tagGroup || defaultTagGroup, rule)" } %tr %td %span.text-normal {{ opt[rule.type].textBottom }} %td - %div{ ng: { include: "opt[rule.type].inputTemplate"} } + %div{ "ng-include" => "opt[rule.type].inputTemplate" } %hr diff --git a/app/assets/javascripts/templates/admin/tags_input.html.haml b/app/assets/javascripts/templates/admin/tags_input.html.haml index c652aea610..cce7d34333 100644 --- a/app/assets/javascripts/templates/admin/tags_input.html.haml +++ b/app/assets/javascripts/templates/admin/tags_input.html.haml @@ -1,10 +1,2 @@ -%tags-input{ template: 'admin/tag.html', - "placeholder" => t('admin.order_cycles.form.add_a_tag'), - ng: { model: 'object[tagsAttr]', class: "{'limit-reached': limitReached}"}, - on: { tag: { added: 'tagAdded($tag)', removed:'tagRemoved()' } } } - %auto-complete{ ng: { if: "findTags" }, source: "findTags({query: $query})", - template: "admin/tag_autocomplete.html", - "min-length" => "0", - "load-on-focus" => "true", - "load-on-empty" => "true", - "max-results-to-show" => "32"} +%tags-input{ "template" => 'admin/tag.html', "placeholder" => t('admin.order_cycles.form.add_a_tag'), "ng-model" => 'object[tagsAttr]', "ng-class" => "{'limit-reached': limitReached}", "on-tag-added" => 'tagAdded($tag)', "on-tag-removed" => 'tagRemoved()' } + %auto-complete{ "source" => "findTags({query: $query})", "template" => "admin/tag_autocomplete.html", "min-length" => "0", "load-on-focus" => "true", "load-on-empty" => "true", "max-results-to-show" => "32", "ng-if" => "findTags" } diff --git a/app/assets/javascripts/templates/bulk_buy_modal.html.haml b/app/assets/javascripts/templates/bulk_buy_modal.html.haml index 0c4706e43c..4782f43f8e 100644 --- a/app/assets/javascripts/templates/bulk_buy_modal.html.haml +++ b/app/assets/javascripts/templates/bulk_buy_modal.html.haml @@ -22,24 +22,22 @@ .variant-bulk-buy-quantity-label {{ "js.shopfront.bulk_buy_modal.min_quantity" | t }} %div - %button.bulk-buy-add.variant-quantity{type: "button", ng: {click: "add(-1)", disabled: "!canAdd(-1)"}}> + %button.bulk-buy-add.variant-quantity{ "type" => "button", "ng-click" => "add(-1)", "ng-disabled" => "!canAdd(-1)" }> -# U+FF0D Fullwidth Hyphen-Minus - - %input.bulk-buy.variant-quantity{type: "number", min: "0", max: "{{ available() }}", - ng: {model: "variant.line_item.quantity", max: "Infinity"}}> - %button.bulk-buy-add.variant-quantity{type: "button", ng: {click: "add(1)", disabled: "!canAdd(1)"}} + %input.bulk-buy.variant-quantity{ "type" => "number", "min" => "0", "max" => "{{ available() }}", "ng-model" => "variant.line_item.quantity", "ng-max" => "Infinity" }> + %button.bulk-buy-add.variant-quantity{ "type" => "button", "ng-click" => "add(1)", "ng-disabled" => "!canAdd(1)" } -# U+FF0B Fullwidth Plus Sign + .columns.small-12.medium-6 .variant-bulk-buy-quantity-label {{ "js.shopfront.bulk_buy_modal.max_quantity" | t }} %div - %button.bulk-buy-add.variant-quantity{type: "button", ng: {click: "addMax(-1)", disabled: "!canAddMax(-1)"}}> + %button.bulk-buy-add.variant-quantity{ "type" => "button", "ng-click" => "addMax(-1)", "ng-disabled" => "!canAddMax(-1)" }> -# U+FF0D Fullwidth Hyphen-Minus - - %input.bulk-buy.variant-quantity{type: "number", min: "0", max: "{{ available() }}", - ng: {model: "variant.line_item.max_quantity", max: "Infinity"}}> - %button.bulk-buy-add.variant-quantity{type: "button", ng: {click: "addMax(1)", disabled: "!canAddMax(1)"}} + %input.bulk-buy.variant-quantity{ "type" => "number", "min" => "0", "max" => "{{ available() }}", "ng-model" => "variant.line_item.max_quantity", "ng-max" => "Infinity" }> + %button.bulk-buy-add.variant-quantity{ "type" => "button", "ng-click" => "addMax(1)", "ng-disabled" => "!canAddMax(1)" } -# U+FF0B Fullwidth Plus Sign + diff --git a/app/assets/javascripts/templates/filter_selector.html.haml b/app/assets/javascripts/templates/filter_selector.html.haml index 742ace2a0e..5b46571408 100644 --- a/app/assets/javascripts/templates/filter_selector.html.haml +++ b/app/assets/javascripts/templates/filter_selector.html.haml @@ -1,3 +1,3 @@ %ul - %active-selector{ ng: { repeat: "selector in allSelectors", show: "ifDefined(selector.fits, true)" } } + %active-selector{ "ng-repeat" => "selector in allSelectors", "ng-show" => "ifDefined(selector.fits, true)" } %span{"ng-bind" => "::selector.object.name"} diff --git a/app/assets/javascripts/templates/help-modal.html.haml b/app/assets/javascripts/templates/help-modal.html.haml index f87abd8fd4..00c78fba30 100644 --- a/app/assets/javascripts/templates/help-modal.html.haml +++ b/app/assets/javascripts/templates/help-modal.html.haml @@ -5,5 +5,5 @@ .small-12.columns.text-center {{ helpText }} .row.text-center - %button.primary.small{ ng: { click: '$close()' } } + %button.primary.small{ "ng-click" => '$close()' } = t(:ok) diff --git a/app/assets/javascripts/templates/partials/hub_details.html.haml b/app/assets/javascripts/templates/partials/hub_details.html.haml index d9fb935f2a..c5d4a0304f 100644 --- a/app/assets/javascripts/templates/partials/hub_details.html.haml +++ b/app/assets/javascripts/templates/partials/hub_details.html.haml @@ -1,4 +1,4 @@ -.row.pad-top{ng: { if: 'enterprise.is_distributor' } } +.row.pad-top{ "ng-if" => 'enterprise.is_distributor' } .cta-container.small-12.columns .row .small-4.columns diff --git a/app/assets/javascripts/templates/price_breakdown.html.haml b/app/assets/javascripts/templates/price_breakdown.html.haml index 78d4ed7f33..8267e39d68 100644 --- a/app/assets/javascripts/templates/price_breakdown.html.haml +++ b/app/assets/javascripts/templates/price_breakdown.html.haml @@ -1,6 +1,6 @@ -.joyride-tip-guide.price_breakdown{ng: {class: "{ in: tt_isOpen, fade: tt_animation }", show: "tt_isOpen"}} +.joyride-tip-guide.price_breakdown{ "ng-class" => "{ in: tt_isOpen, fade: tt_animation }", "ng-show" => "tt_isOpen" } %span.joyride-nub.top - .background{ng: {click: "tt_isOpen = false"}} + .background{ "ng-click" => "tt_isOpen = false" } .joyride-content-wrapper %h6 {{ "js.shopfront.price_breakdown" | t }} %ul diff --git a/app/assets/javascripts/templates/shared/question_mark_with_tooltip.html.haml b/app/assets/javascripts/templates/shared/question_mark_with_tooltip.html.haml index 9c68ca47c4..827d2c18f6 100644 --- a/app/assets/javascripts/templates/shared/question_mark_with_tooltip.html.haml +++ b/app/assets/javascripts/templates/shared/question_mark_with_tooltip.html.haml @@ -1,5 +1,5 @@ -.joyride-tip-guide.question-mark-tooltip{class: "{{ context }}", ng: {class: "{ in: tt_isOpen, fade: tt_animation }", show: "tt_isOpen"}} - .background{ng: {click: "tt_isOpen = false"}} +.joyride-tip-guide.question-mark-tooltip{ "class" => "{{ context }}", "ng-class" => "{ in: tt_isOpen, fade: tt_animation }", "ng-show" => "tt_isOpen" } + .background{ "ng-click" => "tt_isOpen = false" } .joyride-content-wrapper {{ key | t }} %span.joyride-nub.bottom diff --git a/app/components/multiple_checked_select_component/multiple_checked_select_component.html.haml b/app/components/multiple_checked_select_component/multiple_checked_select_component.html.haml index 8dedce27ca..d4ea4e3958 100644 --- a/app/components/multiple_checked_select_component/multiple_checked_select_component.html.haml +++ b/app/components/multiple_checked_select_component/multiple_checked_select_component.html.haml @@ -1,4 +1,4 @@ -.ofn-drop-down.ofn-drop-down-v2{ data: { controller: "multiple-checked-select" } } +.ofn-drop-down.ofn-drop-down-v2{ "data-controller" => "multiple-checked-select" } %div.ofn-drop-down-label{ "data-multiple-checked-select-target": "button" } %span{class: "label"}= t('admin.columns') %span{ class: "icon-caret-down", "data-multiple-checked-select-target": "caret" } diff --git a/app/views/admin/_terms_of_service_banner.html.haml b/app/views/admin/_terms_of_service_banner.html.haml index 3adbba2f93..4c42aaaab7 100644 --- a/app/views/admin/_terms_of_service_banner.html.haml +++ b/app/views/admin/_terms_of_service_banner.html.haml @@ -3,6 +3,6 @@ .column-left %p= t("admin.terms_of_service_have_been_updated_html", tos_link: link_to(t("admin.terms_of_service"), TermsOfServiceFile.current_url, target: "_blank")) .column-right - %button{ data: { reflex: "click->user#accept_terms_of_services" } } + %button{ "data-reflex" => "click->user#accept_terms_of_services" } = t("admin.accept_terms_of_service") diff --git a/app/views/admin/customers/index.html.haml b/app/views/admin/customers/index.html.haml index a463b2e0ed..59e9b11105 100644 --- a/app/views/admin/customers/index.html.haml +++ b/app/views/admin/customers/index.html.haml @@ -14,22 +14,22 @@ = admin_inject_shops(@shops, module: 'admin.customers') = admin_inject_available_countries(module: 'admin.customers') -%div{ ng: { controller: 'customersCtrl' } } +%div{ "ng-controller" => 'customersCtrl' } .row.filters .sixteen.columns.alpha.omega .filter_select.five.columns.alpha - %label{ :for => 'quick_search', ng: {class: '{disabled: !shop_id}'} }=t('admin.quick_search') + %label{ "for" => 'quick_search', "ng-class" => '{disabled: !shop_id}' }=t('admin.quick_search') %br - %input.fullwidth{ :type => "text", :id => 'quick_search', ng: { model: 'quickSearch', disabled: '!shop_id' }, :placeholder => t('.search_by_email') } + %input.fullwidth{ "type" => "text", "id" => 'quick_search', "placeholder" => t('.search_by_email'), "ng-model" => 'quickSearch', "ng-disabled" => '!shop_id' } .filter_select.four.columns - %label{ :for => 'hub_id', ng: { bind: "shop_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } } + %label{ "for" => 'hub_id', "ng-bind" => "shop_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } %br - %input.ofn-select2.fullwidth#shop_id{ 'ng-model' => 'shop_id', name: 'shop_id', data: 'shops', on: { selecting: 'confirmRefresh' } } + %input.ofn-select2.fullwidth#shop_id{ "ng-model" => 'shop_id', "name" => 'shop_id', "data" => 'shops', "on-selecting" => 'confirmRefresh' } .seven.columns.omega   - %hr.divider{ ng: { show: "!RequestMonitor.loading && filteredCustomers.length > 0" } } + %hr.divider{ "ng-show" => "!RequestMonitor.loading && filteredCustomers.length > 0" } - .row.controls{ ng: { show: "!RequestMonitor.loading && filteredCustomers.length > 0" } } + .row.controls{ "ng-show" => "!RequestMonitor.loading && filteredCustomers.length > 0" } .thirteen.columns.alpha   %columns-dropdown{ action: "#{controller_name}_#{action_name}" } @@ -39,13 +39,13 @@ %h1 = t :loading_customers - .row.margin-bottom-50{ ng: { show: "!RequestMonitor.loading" } } + .row.margin-bottom-50{ "ng-show" => "!RequestMonitor.loading" } %form{ name: "customers_form" } %h1#no_results{ 'ng-show' => '!RequestMonitor.loading && filteredCustomers.length == 0' } =t :no_customers_found %save-bar{ dirty: "customers_form.$dirty", persist: "false" } - %input.red{ type: "button", value: t(:save_changes), ng: { click: "submitAll(customers_form)" } } + %input.red{ "type" => "button", "value" => t(:save_changes), "ng-click" => "submitAll(customers_form)" } %table.index#customers{ 'ng-show' => '!RequestMonitor.loading && filteredCustomers.length > 0' } %col.email{ width: "20%", 'ng-show' => 'columns.email.visible' } @@ -58,7 +58,7 @@ %col.balance{ width: "10%", 'ng-show' => 'columns.balance.visible' } %col.actions{ width: "10%"} %thead - %tr{ ng: { controller: "ColumnsCtrl" } } + %tr{ "ng-controller" => "ColumnsCtrl" } -# %th.bulk -# %input{ :type => "checkbox", :name => 'toggle_bulk', 'ng-click' => 'toggleAllCheckboxes()', 'ng-checked' => "allBoxesChecked()" } %th.email{ 'ng-show' => 'columns.email.visible' } @@ -81,12 +81,12 @@ %span{ 'ng-bind' => '::customer.email' } %span.guest-label{ 'ng-show' => 'customer.user_id == null' }= t('.guest_label') %td.first_name{ 'ng-show' => 'columns.first_name.visible'} - %input{ type: 'text', name: 'first_name', ng: { model: 'customer.first_name' }, 'obj-for-update' => 'customer', 'attr-for-update' => 'first_name'} + %input{ "type" => 'text', "name" => 'first_name', "obj-for-update" => 'customer', "attr-for-update" => 'first_name', "ng-model" => 'customer.first_name' } %td.last_name{ 'ng-show' => 'columns.last_name.visible'} - %input{ type: 'text', name: 'last_name', ng: { model: 'customer.last_name' }, 'obj-for-update' => 'customer', 'attr-for-update' => 'last_name'} + %input{ "type" => 'text', "name" => 'last_name', "obj-for-update" => 'customer', "attr-for-update" => 'last_name', "ng-model" => 'customer.last_name' } %td.code{ 'ng-show' => 'columns.code.visible' } - %input{ type: 'text', name: 'code', ng: {model: 'customer.code', change: 'checkForDuplicateCodes()'}, "obj-for-update" => "customer", "attr-for-update" => "code" } - %i.icon-warning-sign{ ng: {if: 'duplicate'} } + %input{ "type" => 'text', "name" => 'code', "obj-for-update" => "customer", "attr-for-update" => "code", "ng-model" => 'customer.code', "ng-change" => 'checkForDuplicateCodes()' } + %i.icon-warning-sign{ "ng-if" => 'duplicate' } = t('.duplicate_code') %td.tags{ 'ng-show' => 'columns.tags.visible' } .tag_watcher{ 'obj-for-update' => "customer", "attr-for-update" => "tag_list"} @@ -101,6 +101,6 @@ %td.actions %a{ 'ng-click' => "deleteCustomer(customer)", :class => "delete-customer icon-trash no-text" } - %div.text-center{ ng: { show: "filteredCustomers.length > customerLimit" } } - %input{ type: 'button', value: t(:show_more), ng: { click: 'customerLimit = customerLimit + 20' } } - %input{ type: 'button', value: t(:show_all_with_more, num: '{{ filteredCustomers.length - customerLimit }}'), ng: { click: 'customerLimit = filteredCustomers.length' } } + %div.text-center{ "ng-show" => "filteredCustomers.length > customerLimit" } + %input{ "type" => 'button', "value" => t(:show_more), "ng-click" => 'customerLimit = customerLimit + 20' } + %input{ "type" => 'button', "value" => t(:show_all_with_more, num: '{{ filteredCustomers.length - customerLimit }}'), "ng-click" => 'customerLimit = filteredCustomers.length' } diff --git a/app/views/admin/enterprise_fees/index.html.haml b/app/views/admin/enterprise_fees/index.html.haml index e237704243..65ec1e199a 100644 --- a/app/views/admin/enterprise_fees/index.html.haml +++ b/app/views/admin/enterprise_fees/index.html.haml @@ -29,20 +29,20 @@ %th.actions %tbody = enterprise_fee_set_form.ng_fields_for :collection do |f| - %tr{ ng: { repeat: 'enterprise_fee in enterprise_fees | filter:query' } } + %tr{ "ng-repeat" => 'enterprise_fee in enterprise_fees | filter:query' } %td = f.ng_hidden_field :id - %ofn-select{ :id => angular_id(:enterprise_id), data: 'enterprises', ng: { model: 'enterprise_fee.enterprise_id' }, style: "width: 90%" } - %input{ type: "hidden", name: angular_name(:enterprise_id), ng: { value: "enterprise_fee.enterprise_id" } } + %ofn-select{ "id" => angular_id(:enterprise_id), "data" => 'enterprises', "style" => "width: 90%", "ng-model" => 'enterprise_fee.enterprise_id' } + %input{ "type" => "hidden", "name" => angular_name(:enterprise_id), "ng-value" => "enterprise_fee.enterprise_id" } %td= f.ng_select :fee_type, enterprise_fee_type_options, 'enterprise_fee.fee_type' %td= f.ng_text_field :name, { placeholder: t('.name_placeholder') } %td - %ofn-select{ :id => angular_id(:tax_category_id), data: 'tax_categories', include_blank: true, ng: { model: 'enterprise_fee.tax_category_id' } } + %ofn-select{ "id" => angular_id(:tax_category_id), "data" => 'tax_categories', "include_blank" => true, "ng-model" => 'enterprise_fee.tax_category_id' } %input{ type: "hidden", name: angular_name(:tax_category_id), 'watch-tax-category' => true } - %input{ type: "hidden", name: angular_name(:inherits_tax_category), ng: { value: "enterprise_fee.inherits_tax_category" } } + %input{ "type" => "hidden", "name" => angular_name(:inherits_tax_category), "ng-value" => "enterprise_fee.inherits_tax_category" } %td - %ofn-select.calculator_type{ :id => angular_id(:calculator_type), ng: { model: 'enterprise_fee.calculator_type' }, value_attr: 'name', text_attr: 'description', data: 'calculators', 'spree-ensure-calculator-preferences-match-type' => true } - %input{ type: "hidden", name: angular_name(:calculator_type), ng: { value: "enterprise_fee.calculator_type" } } + %ofn-select.calculator_type{ "id" => angular_id(:calculator_type), "value_attr" => 'name', "text_attr" => 'description', "data" => 'calculators', "spree-ensure-calculator-preferences-match-type" => true, "ng-model" => 'enterprise_fee.calculator_type' } + %input{ "type" => "hidden", "name" => angular_name(:calculator_type), "ng-value" => "enterprise_fee.calculator_type" } %td{'ng-bind-html-unsafe-compiled' => 'enterprise_fee.calculator_settings'} %td.actions{'spree-delete-resource' => "1"} diff --git a/app/views/admin/enterprise_groups/_form.html.haml b/app/views/admin/enterprise_groups/_form.html.haml index 9e95a39879..a7012cb695 100644 --- a/app/views/admin/enterprise_groups/_form.html.haml +++ b/app/views/admin/enterprise_groups/_form.html.haml @@ -1,7 +1,7 @@ = render 'spree/shared/error_messages', target: @enterprise = form_for [main_app, :admin, @enterprise_group] do |f| - .row{ ng: {app: 'admin.enterprise_groups', controller: 'enterpriseGroupCtrl'}, data: { controller: 'tabs-and-panels', "tabs-and-panels-class-name-value": "selected" } } + .row{ "ng-app" => 'admin.enterprise_groups', "ng-controller" => 'enterpriseGroupCtrl', "data-controller" => 'tabs-and-panels', "data-tabs-and-panels-class-name-value" => "selected" } .sixteen.columns.alpha .four.columns.alpha = render 'admin/shared/side_menu' diff --git a/app/views/admin/enterprise_groups/_form_about.html.haml b/app/views/admin/enterprise_groups/_form_about.html.haml index ce8d03fc37..ded00e0155 100644 --- a/app/views/admin/enterprise_groups/_form_about.html.haml +++ b/app/views/admin/enterprise_groups/_form_about.html.haml @@ -1,4 +1,4 @@ -%fieldset.alpha.no-border-bottom#about_panel{ data: { "tabs-and-panels-target": "panel" } } +%fieldset.alpha.no-border-bottom#about_panel{ "data-tabs-and-panels-target" => "panel" } %legend= t('.about') = f.field_container :long_description do %text-angular{'id' => 'enterprise_group_long_description', 'name' => 'enterprise_group[long_description]', 'class' => 'text-angular', "textangular-links-target-blank" => true, diff --git a/app/views/admin/enterprise_groups/_form_address.html.haml b/app/views/admin/enterprise_groups/_form_address.html.haml index b495151686..85b3799163 100644 --- a/app/views/admin/enterprise_groups/_form_address.html.haml +++ b/app/views/admin/enterprise_groups/_form_address.html.haml @@ -1,5 +1,5 @@ = f.fields_for :address do |af| - %fieldset.alpha.no-border-bottom#contact_panel{ data: { "tabs-and-panels-target": "panel" } } + %fieldset.alpha.no-border-bottom#contact_panel{ "data-tabs-and-panels-target" => "panel" } %legend= t('.contact') .row .alpha.three.columns diff --git a/app/views/admin/enterprise_groups/_form_images.html.haml b/app/views/admin/enterprise_groups/_form_images.html.haml index 14f9a371d2..706a137cf1 100644 --- a/app/views/admin/enterprise_groups/_form_images.html.haml +++ b/app/views/admin/enterprise_groups/_form_images.html.haml @@ -1,4 +1,4 @@ -%fieldset.alpha.no-border-bottom#images_panel{ data: { "tabs-and-panels-target": "panel" } } +%fieldset.alpha.no-border-bottom#images_panel{ "data-tabs-and-panels-target" => "panel" } %legend= t('.images') .row .alpha.three.columns diff --git a/app/views/admin/enterprise_groups/_form_primary_details.html.haml b/app/views/admin/enterprise_groups/_form_primary_details.html.haml index 4ab3aae1b5..165fa0f2a9 100644 --- a/app/views/admin/enterprise_groups/_form_primary_details.html.haml +++ b/app/views/admin/enterprise_groups/_form_primary_details.html.haml @@ -1,4 +1,4 @@ -%fieldset.alpha.no-border-bottom#primary_details_panel{ data: { "tabs-and-panels-target": "panel default" } } +%fieldset.alpha.no-border-bottom#primary_details_panel{ "data-tabs-and-panels-target" => "panel default" } %legend= t('.primary_details') = f.field_container :name do = f.label :name diff --git a/app/views/admin/enterprise_groups/_form_users.html.haml b/app/views/admin/enterprise_groups/_form_users.html.haml index 27ac13f5c1..ca3c460c5b 100644 --- a/app/views/admin/enterprise_groups/_form_users.html.haml +++ b/app/views/admin/enterprise_groups/_form_users.html.haml @@ -1,4 +1,4 @@ -%fieldset.alpha.no-border-bottom#users_panel{ data: { "tabs-and-panels-target": "panel" } } +%fieldset.alpha.no-border-bottom#users_panel{ "data-tabs-and-panels-target" => "panel" } %legend= t('.users') .row .three.columns.alpha diff --git a/app/views/admin/enterprise_groups/_form_web.html.haml b/app/views/admin/enterprise_groups/_form_web.html.haml index 200c708669..d2cc7e50ff 100644 --- a/app/views/admin/enterprise_groups/_form_web.html.haml +++ b/app/views/admin/enterprise_groups/_form_web.html.haml @@ -1,4 +1,4 @@ -%fieldset.alpha.no-border-bottom#web_panel{ data: { "tabs-and-panels-target": "panel" } } +%fieldset.alpha.no-border-bottom#web_panel{ "data-tabs-and-panels-target" => "panel" } %legend= t('.web') .row .alpha.three.columns diff --git a/app/views/admin/enterprise_relationships/_form.html.haml b/app/views/admin/enterprise_relationships/_form.html.haml index e79da0b144..f5c1651a35 100644 --- a/app/views/admin/enterprise_relationships/_form.html.haml +++ b/app/views/admin/enterprise_relationships/_form.html.haml @@ -8,7 +8,7 @@ %select.select2.fullwidth{id: "enterprise_relationship_child_id", "ng-model" => "child_id", "ng-options" => "e.id as e.name for e in Enterprises.all_enterprises"} %td %label - %input{type: "checkbox", ng: {checked: "allPermissionsChecked()", click: "checkAllPermissions()"}} + %input{ "type" => "checkbox", "ng-checked" => "allPermissionsChecked()", "ng-click" => "checkAllPermissions()" } = t 'admin_enterprise_relationships_everything' %div{"ng-repeat" => "permission in EnterpriseRelationships.all_permissions"} %label diff --git a/app/views/admin/enterprise_relationships/_search_input.html.haml b/app/views/admin/enterprise_relationships/_search_input.html.haml index a85f201b91..d3c9f1b940 100644 --- a/app/views/admin/enterprise_relationships/_search_input.html.haml +++ b/app/views/admin/enterprise_relationships/_search_input.html.haml @@ -1,5 +1,5 @@ %input.search{"ng-model" => "query", "placeholder" => t(:admin_enterprise_relationships_seach_placeholder)} -%label{ng: {repeat: "permission in EnterpriseRelationships.all_permissions"}} - %input{type: "checkbox", ng: {click: "$parent.query = toggleKeyword($parent.query, permission)"}} +%label{ "ng-repeat" => "permission in EnterpriseRelationships.all_permissions" } + %input{ "type" => "checkbox", "ng-click" => "$parent.query = toggleKeyword($parent.query, permission)" } {{ EnterpriseRelationships.permission_presentation(permission) }} diff --git a/app/views/admin/enterprises/_change_type_form.html.haml b/app/views/admin/enterprises/_change_type_form.html.haml index 5a71a1bb45..00562f25e1 100644 --- a/app/views/admin/enterprises/_change_type_form.html.haml +++ b/app/views/admin/enterprises/_change_type_form.html.haml @@ -3,13 +3,13 @@ = form_for @enterprise, url: main_app.register_admin_enterprise_path(@enterprise), html: { name: "change_type", id: "change_type", novalidate: true, "ng-app" => "admin.enterprises", "ng-controller"=> 'changeTypeFormCtrl' } do |change_type_form| -# Have to use hidden:'true' on this input rather than type:'hidden' as the latter seems to break ngPattern and therefore validation - %input{ hidden: "true", name: "sells", ng: { required: true, pattern: "/^(none|own|any)$/", model: 'sells', value: "sells"} } + %input{ "hidden" => "true", "name" => "sells", "ng-required" => true, "ng-pattern" => "/^(none|own|any)$/", "ng-model" => 'sells', "ng-value" => "sells" } .row .options.container - if @enterprise.is_primary_producer .basic_producer.option.six.columns.alpha - %a.full-width.button.selector{ ng: { click: "sells='none'", class: "{selected: sells=='none'}" } } + %a.full-width.button.selector{ "ng-click" => "sells='none'", "ng-class" => "{selected: sells=='none'}" } .top %h3= t('.producer_profile') %p= t('.connect_ofn') @@ -18,7 +18,7 @@ = t('.producer_description_text') .producer_shop.option.six.columns - %a.full-width.button.selector{ ng: { click: "sells='own'", class: "{selected: sells=='own'}" } } + %a.full-width.button.selector{ "ng-click" => "sells='own'", "ng-class" => "{selected: sells=='own'}" } .top %h3= t('.producer_shop') %p= t('.sell_your_produce') @@ -29,7 +29,7 @@ = t('.producer_shop_description_text2') .full_hub.option.six.columns.omega - %a.full-width.button.selector{ ng: { click: "sells='any'", class: "{selected: sells=='any'}" } } + %a.full-width.button.selector{ "ng-click" => "sells='any'", "ng-class" => "{selected: sells=='any'}" } .top %h3= t('.producer_hub') %p= t('.producer_hub_text') @@ -40,7 +40,7 @@ .two.columns.alpha   .shop_profile.option.six.columns - %a.full-width.button.selector{ ng: { click: "sells='none'", class: "{selected: sells=='none'}" } } + %a.full-width.button.selector{ "ng-click" => "sells='none'", "ng-class" => "{selected: sells=='none'}" } .top %h3= t('.profile') %p= t('.get_listing') @@ -49,7 +49,7 @@ = t('.profile_description_text') .full_hub.option.six.columns - %a.full-width.button.selector{ ng: { click: "sells='any'", class: "{selected: sells=='any'}" } } + %a.full-width.button.selector{ "ng-click" => "sells='any'", "ng-class" => "{selected: sells=='any'}" } .top %h3= t('.hub_shop') %p= t('.hub_shop_text') @@ -60,11 +60,11 @@ .row .sixteen.columns.alpha - %span.error{ ng: { show: "(change_type.sells.$error.required || change_type.sells.$error.pattern) && submitted" } } + %span.error{ "ng-show" => "(change_type.sells.$error.required || change_type.sells.$error.pattern) && submitted" } = t('.choose_option') - if @enterprise.sells == 'unspecified' - %input.button.big{ type: 'submit', value: t(:select_continue), ng: { click: "submit(change_type)" } } + %input.button.big{ "type" => 'submit', "value" => t(:select_continue), "ng-click" => "submit(change_type)" } - else - %input.button.big{ type: 'submit', value: t('.change_now'), ng: { click: "submit(change_type)" } } + %input.button.big{ "type" => 'submit', "value" => t('.change_now'), "ng-click" => "submit(change_type)" } %br   %hr diff --git a/app/views/admin/enterprises/_enterprise_user_index.html.haml b/app/views/admin/enterprises/_enterprise_user_index.html.haml index 46090da6af..ecfe3db753 100644 --- a/app/views/admin/enterprises/_enterprise_user_index.html.haml +++ b/app/views/admin/enterprises/_enterprise_user_index.html.haml @@ -1,4 +1,4 @@ -%div{ ng: { controller: 'enterprisesCtrl' } } +%div{ "ng-controller" => 'enterprisesCtrl' } .row{ 'ng-hide' => '!loaded' } .controls{ :class => "sixteen columns alpha", :style => "margin-bottom: 15px;" } .four.columns.alpha @@ -15,32 +15,32 @@ .row{ :class => "sixteen columns alpha", 'ng-show' => 'loaded && filteredEnterprises.length == 0'} %h1#no_results= t('.no_enterprises_found') - .row{ ng: { show: "loaded && filteredEnterprises.length > 0" } } + .row{ "ng-show" => "loaded && filteredEnterprises.length > 0" } %table.index#enterprises - %col.name{ width: "28%", ng: { show: 'columns.name.visible' } } - %col.producer{ width: "18%", ng: { show: 'columns.producer.visible' }} - %col.package{ width: "18%", ng: { show: 'columns.package.visible' }} - %col.status{ width: "18%", ng: { show: 'columns.status.visible' }} - %col.manage{ width: "18%", ng: { show: 'columns.manage.visible' }} + %col.name{ "width" => "28%", "ng-show" => 'columns.name.visible' } + %col.producer{ "width" => "18%", "ng-show" => 'columns.producer.visible' } + %col.package{ "width" => "18%", "ng-show" => 'columns.package.visible' } + %col.status{ "width" => "18%", "ng-show" => 'columns.status.visible' } + %col.manage{ "width" => "18%", "ng-show" => 'columns.manage.visible' } %thead - %tr{ ng: { controller: "ColumnsCtrl" } } - %th.name{ ng: { show: 'columns.name.visible' } }=t('admin.name') - %th.producer{ ng: { show: 'columns.producer.visible' } }=t('.producer?') - %th.package{ ng: { show: 'columns.package.visible' } }=t('.package') - %th.status{ ng: { show: 'columns.status.visible' } }=t('.status') - %th.manage{ ng: { show: 'columns.manage.visible' } }=t('.manage') - %tbody.panel-ctrl{ :id => "e_{{enterprise.id}}", object: "enterprise", ng: { repeat: "enterprise in filteredEnterprises = ( allEnterprises | filter:{ name: quickSearch } )" } } - %tr.enterprise{ ng: { class: { even: "'even'", odd: "'odd'"} } } - %td.name{ ng: { show: 'columns.name.visible' } } - %span{ ng: { bind: "::enterprise.name" } } - %td.producer.panel-toggle.text-center{ ng: { show: 'columns.producer.visible', class: "{error: enterprise.producerError}" }, name: "producer" } - %h5{ ng: { bind: "enterprise.producer" } } - %td.package.panel-toggle.text-center{ ng: { show: 'columns.package.visible', class: "{error: enterprise.packageError}" }, name: "package" } - %h5{ ng: { bind: "enterprise.package" } } - %td.status.panel-toggle.text-center{ ng: { show: 'columns.status.visible' }, name: "status" } - %i.icon-status{ ng: { class: "enterprise.status" } } - %td.manage{ ng: { show: 'columns.manage.visible' } } - %a.button.fullwidth{ ng: { href: '{{::enterprise.edit_path}}' } } + %tr{ "ng-controller" => "ColumnsCtrl" } + %th.name{ "ng-show" => 'columns.name.visible' }=t('admin.name') + %th.producer{ "ng-show" => 'columns.producer.visible' }=t('.producer?') + %th.package{ "ng-show" => 'columns.package.visible' }=t('.package') + %th.status{ "ng-show" => 'columns.status.visible' }=t('.status') + %th.manage{ "ng-show" => 'columns.manage.visible' }=t('.manage') + %tbody.panel-ctrl{ "id" => "e_{{enterprise.id}}", "object" => "enterprise", "ng-repeat" => "enterprise in filteredEnterprises = ( allEnterprises | filter:{ name: quickSearch } )" } + %tr.enterprise{ "ng-class-even" => "'even'", "ng-class-odd" => "'odd'" } + %td.name{ "ng-show" => 'columns.name.visible' } + %span{ "ng-bind" => "::enterprise.name" } + %td.producer.panel-toggle.text-center{ "name" => "producer", "ng-show" => 'columns.producer.visible', "ng-class" => "{error: enterprise.producerError}" } + %h5{ "ng-bind" => "enterprise.producer" } + %td.package.panel-toggle.text-center{ "name" => "package", "ng-show" => 'columns.package.visible', "ng-class" => "{error: enterprise.packageError}" } + %h5{ "ng-bind" => "enterprise.package" } + %td.status.panel-toggle.text-center{ "name" => "status", "ng-show" => 'columns.status.visible' } + %i.icon-status{ "ng-class" => "enterprise.status" } + %td.manage{ "ng-show" => 'columns.manage.visible' } + %a.button.fullwidth{ "ng-href" => '{{::enterprise.edit_path}}' } = t('.manage_link') %i.icon-arrow-right diff --git a/app/views/admin/enterprises/_form.html.haml b/app/views/admin/enterprises/_form.html.haml index dcaae1a149..a4e6bdba4f 100644 --- a/app/views/admin/enterprises/_form.html.haml +++ b/app/views/admin/enterprises/_form.html.haml @@ -1,15 +1,15 @@ - enterprise_side_menu_items(@enterprise).each do |item| - case item[:name] - when 'primary_details' - %fieldset.alpha.no-border-bottom{ id: "#{item[:name]}_panel", data: { controller: "primary-details", "primary-details-primary-producer-value": @enterprise.is_primary_producer.to_s, "primary-details-enterprise-sells-value": @enterprise.sells, "tabs-and-panels-target": "panel default" }} + %fieldset.alpha.no-border-bottom{ "id" => "#{item[:name]}_panel", "data-controller" => "primary-details", "data-primary-details-primary-producer-value" => @enterprise.is_primary_producer.to_s, "data-primary-details-enterprise-sells-value" => @enterprise.sells, "data-tabs-and-panels-target" => "panel default" } %legend= t(".#{ item[:name] }.legend") = render "admin/enterprises/form/#{ item[:form_name] || item[:name] }", f: f - when 'enterprise_permissions' - %fieldset.alpha.no-border-bottom{ id: "#{item[:name]}_panel", data: { "tabs-and-panels-target": "panel" }} + %fieldset.alpha.no-border-bottom{ "id" => "#{item[:name]}_panel", "data-tabs-and-panels-target" => "panel" } %legend= t(".#{ item[:name] }.legend") - else - %fieldset.alpha.no-border-bottom{ id: "#{item[:name]}_panel", data: { "tabs-and-panels-target": "panel" }} + %fieldset.alpha.no-border-bottom{ "id" => "#{item[:name]}_panel", "data-tabs-and-panels-target" => "panel" } %legend= t(".#{ item[:form_name] || item[:name] }.legend") = render "admin/enterprises/form/#{ item[:form_name] || item[:name] }", f: f diff --git a/app/views/admin/enterprises/_ng_form.html.haml b/app/views/admin/enterprises/_ng_form.html.haml index 18f29a5701..5371ae54de 100644 --- a/app/views/admin/enterprises/_ng_form.html.haml +++ b/app/views/admin/enterprises/_ng_form.html.haml @@ -8,8 +8,8 @@ "ng-cloak" => true } do |f| %save-bar{ dirty: "enterprise_form.$dirty", persist: "true" } - %input.red{ type: "button", value: t(:update), ng: { click: "submit()", disabled: "!enterprise_form.$dirty" } } - %input{ type: "button", ng: { value: "enterprise_form.$dirty ? '#{t(:cancel)}' : '#{t(:close)}'", click: "cancel('#{main_app.admin_enterprises_path}')" } } + %input.red{ "type" => "button", "value" => t(:update), "ng-click" => "submit()", "ng-disabled" => "!enterprise_form.$dirty" } + %input{ "type" => "button", "ng-value" => "enterprise_form.$dirty ? '#{t(:cancel)}' : '#{t(:close)}'", "ng-click" => "cancel('#{main_app.admin_enterprises_path}')" } .row{ data: { controller: "tabs-and-panels", "tabs-and-panels-class-name-value": "selected" }} diff --git a/app/views/admin/enterprises/form/_address.html.haml b/app/views/admin/enterprises/form/_address.html.haml index 9d76513a3d..cf48d0cbd8 100644 --- a/app/views/admin/enterprises/form/_address.html.haml +++ b/app/views/admin/enterprises/form/_address.html.haml @@ -34,7 +34,7 @@ %span.required * .four.columns = af.select :state_id, @enterprise.address.country.states.map { |s| [s.name, s.id] }, {}, { "data-controller": "tom-select", "data-dependent-select-target": "select", class: "primary" } - .four.columns.omega{ data: { controller: "primary-details" }} + .four.columns.omega{ "data-controller" => "primary-details" } = af.select :country_id, available_countries.map { |c| [c.name, c.id] }, {}, { "data-controller": "tom-select", "data-dependent-select-target": "source", "data-action": "dependent-select#handleSelectChange", class: "primary" } .row .three.columns.alpha diff --git a/app/views/admin/enterprises/form/_business_details.html.haml b/app/views/admin/enterprises/form/_business_details.html.haml index 30bef3ba2f..8433dd8ed2 100644 --- a/app/views/admin/enterprises/form/_business_details.html.haml +++ b/app/views/admin/enterprises/form/_business_details.html.haml @@ -31,22 +31,22 @@ = f.label :invoice_text, t('.invoice_text') .omega.eight.columns = f.text_area :invoice_text, style: "width: 100%; height: 100px;" -.row{ data: { controller: 'terms-and-conditions', "terms-and-conditions-message-value": t('js.admin.enterprises.form.images.immediate_terms_and_conditions_removal_warning') } } +.row{ "data-controller" => 'terms-and-conditions', "data-terms-and-conditions-message-value" => t('js.admin.enterprises.form.images.immediate_terms_and_conditions_removal_warning') } .alpha.three.columns = f.label :terms_and_conditions, t('.terms_and_conditions') %i.text-big.icon-question-sign{ "data-controller": "help-modal-link", "data-action": "click->help-modal-link#open", "data-help-modal-link-target-value": "terms_and_conditions_info_modal" } - .omega.eight.columns#terms_and_conditions{data: { 'reflex-root': '#terms_and_conditions' } } + .omega.eight.columns#terms_and_conditions{ "data-reflex-root" => '#terms_and_conditions' } - if @enterprise.terms_and_conditions.attached? = link_to "#{@enterprise.terms_and_conditions.blob.filename} #{ t('.uploaded_on') } #{@enterprise.terms_and_conditions.blob.created_at}", url_for(@enterprise.terms_and_conditions), target: '_blank' %div - %a.icon-trash{ href: '#', data: { action: 'click->terms-and-conditions#remove', "terms-and-conditions-message-value": t('js.admin.enterprises.form.images.immediate_terms_and_conditions_removal_warning'), 'enterprise-id': @enterprise.id}} + %a.icon-trash{ "href" => '#', "data-action" => 'click->terms-and-conditions#remove', "data-terms-and-conditions-message-value" => t('js.admin.enterprises.form.images.immediate_terms_and_conditions_removal_warning'), "data-enterprise-id" => @enterprise.id } = t('.remove_terms_and_conditions') .pad-top %div - .button.small{ data: { controller: 'help-modal-link', action: 'click->help-modal-link#open', "help-modal-link-target-value": "terms_and_conditions_warning_modal" } } + .button.small{ "data-controller" => 'help-modal-link', "data-action" => 'click->help-modal-link#open', "data-help-modal-link-target-value" => "terms_and_conditions_warning_modal" } = t('.upload') - %span{ data: { "terms-and-conditions-target": "filename" } } + %span{ "data-terms-and-conditions-target" => "filename" } = f.file_field :terms_and_conditions, accept: 'application/pdf', style: 'display: none;', data: { "terms-and-conditions-target": "fileinput" } = render HelpModalComponent.new(id: "terms_and_conditions_warning_modal", close_button: false ) do diff --git a/app/views/admin/enterprises/form/_connected_apps.html.haml b/app/views/admin/enterprises/form/_connected_apps.html.haml index c60a7da1a1..0f3d5beac0 100644 --- a/app/views/admin/enterprises/form/_connected_apps.html.haml +++ b/app/views/admin/enterprises/form/_connected_apps.html.haml @@ -6,7 +6,7 @@ %p= t ".tagline" %div - if enterprise.connected_apps.empty? - %button{ data: {reflex: "click->Admin::ConnectedApp#create", enterprise_id: enterprise.id} } + %button{ "data-reflex" => "click->Admin::ConnectedApp#create", "data-enterprise_id" => enterprise.id } = t ".enable" - elsif enterprise.connected_apps.connecting.present? %button{ disabled: true } @@ -14,7 +14,7 @@   = t ".loading" - else - %button{ data: {reflex: "click->Admin::ConnectedApp#destroy", enterprise_id: enterprise.id} } + %button{ "data-reflex" => "click->Admin::ConnectedApp#destroy", "data-enterprise_id" => enterprise.id } = t ".disable" .connected-app__connection diff --git a/app/views/admin/enterprises/form/_images.html.haml b/app/views/admin/enterprises/form/_images.html.haml index a5340b4a60..cd466e1d65 100644 --- a/app/views/admin/enterprises/form/_images.html.haml +++ b/app/views/admin/enterprises/form/_images.html.haml @@ -4,10 +4,10 @@ %br = t('.logo_size') .omega.eight.columns - %img{ class: 'image-field-group__preview-image', ng: { src: '{{ Enterprise.logo.thumb }}', if: 'Enterprise.logo' } } + %img{ "class" => 'image-field-group__preview-image', "ng-src" => '{{ Enterprise.logo.thumb }}', "ng-if" => 'Enterprise.logo' } %br = f.file_field :logo - %a.button.red{ href: '', ng: {click: 'removeLogo()', if: 'Enterprise.logo'} } + %a.button.red{ "href" => '', "ng-click" => 'removeLogo()', "ng-if" => 'Enterprise.logo' } = t('.remove_logo') .row.page-admin-enterprises-form__promo-image-field-group.image-field-group @@ -21,7 +21,7 @@ = t('.promo_image_note3') .omega.eight.columns - %img{ class: 'image-field-group__preview-image', ng: { src: '{{ Enterprise.promo_image.large }}', if: 'Enterprise.promo_image' } } + %img{ "class" => 'image-field-group__preview-image', "ng-src" => '{{ Enterprise.promo_image.large }}', "ng-if" => 'Enterprise.promo_image' } = f.file_field :promo_image - %a.button.red{ href: '', ng: {click: 'removePromoImage()', if: 'Enterprise.promo_image'} } + %a.button.red{ "href" => '', "ng-click" => 'removePromoImage()', "ng-if" => 'Enterprise.promo_image' } = t('.remove_promo_image') diff --git a/app/views/admin/enterprises/form/_permalink.html.haml b/app/views/admin/enterprises/form/_permalink.html.haml index 5c2a43a7b0..dabc9098c0 100644 --- a/app/views/admin/enterprises/form/_permalink.html.haml +++ b/app/views/admin/enterprises/form/_permalink.html.haml @@ -1,4 +1,4 @@ -.permalink#permalink{ data: { controller: 'permalink', permalink: { 'initial-permalink-value': @enterprise.permalink, 'url-value': check_permalink_enterprises_url } }} +.permalink#permalink{ "data-controller" => 'permalink', "data-permalink-initial-permalink-value" => @enterprise.permalink, "data-permalink-url-value" => check_permalink_enterprises_url } - unless @enterprise.sells == 'none' .row .three.columns.alpha @@ -7,12 +7,12 @@ .eight.columns = text_field_tag "enterprise[permalink]", @enterprise.permalink, data: { action: "input->permalink#validate", "permalink-target": "permalinkField" } .two.columns.omega - %div{ style: "width: 30px; height: 30px;", class: "hidden", data: { "permalink-target": "spinner" } } + %div{ "style" => "width: 30px; height: 30px;", "class" => "hidden", "data-permalink-target" => "spinner" } = render partial: "components/admin_spinner" - %span.available.hidden{data: { "permalink-target": "available" }} + %span.available.hidden{ "data-permalink-target" => "available" } = t('available') %i.icon-ok-sign - %span.unavailable.hidden{data: { "permalink-target": "unavailable" }} + %span.unavailable.hidden{ "data-permalink-target" => "unavailable" } = t('js.unavailable') %i.icon-remove-sign diff --git a/app/views/admin/enterprises/form/_primary_details.html.haml b/app/views/admin/enterprises/form/_primary_details.html.haml index 04609e9b58..dff31486cd 100644 --- a/app/views/admin/enterprises/form/_primary_details.html.haml +++ b/app/views/admin/enterprises/form/_primary_details.html.haml @@ -32,7 +32,7 @@ .four.columns.omega = f.radio_button :sells, "any", 'ng-model' => 'Enterprise.sells', data: {action: "change->primary-details#enterpriseSellsChanged"} = f.label :sells, t('.any'), value: "any" - %span{ style: "width: 30px; height: 30px;", class: "hidden", data: { "primary-details-target": "spinner" } } + %span{ "style" => "width: 30px; height: 30px;", "class" => "hidden", "data-primary-details-target" => "spinner" } = render partial: "components/admin_spinner" .row .three.columns.alpha diff --git a/app/views/admin/enterprises/form/_shop_preferences.html.haml b/app/views/admin/enterprises/form/_shop_preferences.html.haml index be2d5d2045..569b775871 100644 --- a/app/views/admin/enterprises/form/_shop_preferences.html.haml +++ b/app/views/admin/enterprises/form/_shop_preferences.html.haml @@ -23,17 +23,13 @@ = radio_button :enterprise, :preferred_shopfront_product_sorting_method, :by_category, { 'ng-model' => 'Enterprise.preferred_shopfront_product_sorting_method' } = label :enterprise, :preferred_shopfront_product_sorting_method_by_category, t('.shopfront_sort_by_category') .eight.columns.omega - %textarea.fullwidth{ id: 'enterprise_preferred_shopfront_taxon_order', name: 'enterprise[preferred_shopfront_taxon_order]', rows: 6, - 'ofn-taxon-autocomplete' => '', 'multiple-selection' => 'true', placeholder: t('.shopfront_sort_by_category_placeholder'), - ng: { model: 'Enterprise.preferred_shopfront_taxon_order', readonly: "Enterprise.preferred_shopfront_product_sorting_method != 'by_category'" }} + %textarea.fullwidth{ "id" => 'enterprise_preferred_shopfront_taxon_order', "name" => 'enterprise[preferred_shopfront_taxon_order]', "rows" => 6, "ofn-taxon-autocomplete" => '', "multiple-selection" => 'true', "placeholder" => t('.shopfront_sort_by_category_placeholder'), "ng-model" => 'Enterprise.preferred_shopfront_taxon_order', "ng-readonly" => "Enterprise.preferred_shopfront_product_sorting_method != 'by_category'" } .row .three.columns.alpha = radio_button :enterprise, :preferred_shopfront_product_sorting_method, :by_producer, { 'ng-model' => 'Enterprise.preferred_shopfront_product_sorting_method' } = label :enterprise, :preferred_shopfront_product_sorting_method_by_producer, t('.shopfront_sort_by_producer') .eight.columns.omega - %textarea.fullwidth{ id: 'enterprise_preferred_shopfront_producer_order', name: 'enterprise[preferred_shopfront_producer_order]', rows: 6, - 'ofn-producer-autocomplete' => '', 'multiple-selection' => 'true', placeholder: t('.shopfront_sort_by_producer_placeholder'), - ng: { model: 'Enterprise.preferred_shopfront_producer_order', readonly: "Enterprise.preferred_shopfront_product_sorting_method != 'by_producer'" }} + %textarea.fullwidth{ "id" => 'enterprise_preferred_shopfront_producer_order', "name" => 'enterprise[preferred_shopfront_producer_order]', "rows" => 6, "ofn-producer-autocomplete" => '', "multiple-selection" => 'true', "placeholder" => t('.shopfront_sort_by_producer_placeholder'), "ng-model" => 'Enterprise.preferred_shopfront_producer_order', "ng-readonly" => "Enterprise.preferred_shopfront_product_sorting_method != 'by_producer'" } .row .three.columns.alpha @@ -56,7 +52,7 @@ = f.radio_button :require_login, true, "ng-model" => "Enterprise.require_login", "ng-value" => "true" = f.label :require_login, t('.shopfront_requires_login_true'), value: :true -.row{ng: {if: "!Enterprise.require_login"}} +.row{ "ng-if" => "!Enterprise.require_login" } .three.columns.alpha %label= t '.allow_guest_orders' %div{'ofn-with-tip' => t('.allow_guest_orders_tip')} @@ -67,7 +63,7 @@ .five.columns.omega = f.radio_button :allow_guest_orders, false, "ng-model" => "Enterprise.allow_guest_orders", "ng-value" => "false" = f.label :allow_guest_orders, t('.allow_guest_orders_false'), value: :false - .row.warning{ng: {show: 'Enterprise.allow_guest_orders && Enterprise.allow_order_changes'}} + .row.warning{ "ng-show" => 'Enterprise.allow_guest_orders && Enterprise.allow_order_changes' } .eight.columns.alpha.omega %i.icon-warning-sign = t '.recommend_require_login' diff --git a/app/views/admin/enterprises/form/_tag_rules.html.haml b/app/views/admin/enterprises/form/_tag_rules.html.haml index 822ea3f1ff..a51f924a54 100644 --- a/app/views/admin/enterprises/form/_tag_rules.html.haml +++ b/app/views/admin/enterprises/form/_tag_rules.html.haml @@ -1,11 +1,11 @@ -.row{ ng: { controller: "TagRulesCtrl" } } +.row{ "ng-controller" => "TagRulesCtrl" } .eleven.columns.alpha.omega - %ofn-sortable{ axis: "y", handle: ".header", items: '.customer_tag', position: "tagGroup.position", after: { sort: "updateRuleCounts()" } } - .no_tags{ ng: { show: "tagGroups.length == 0" } } + %ofn-sortable{ "axis" => "y", "handle" => ".header", "items" => '.customer_tag', "position" => "tagGroup.position", "after-sort" => "updateRuleCounts()" } + .no_tags{ "ng-show" => "tagGroups.length == 0" } = t('.no_tags_yet') = render 'admin/enterprises/form/tag_rules/default_rules' -# = render 'customer_tags' - .customer_tag{ id: "tg_{{tagGroup.position}}", ng: { repeat: "tagGroup in tagGroups" } } + .customer_tag{ "id" => "tg_{{tagGroup.position}}", "ng-repeat" => "tagGroup in tagGroups" } .header %table %colgroup @@ -16,12 +16,12 @@ %h5 = t('.for_customers_tagged') %td - %tags-with-translation{ object: "tagGroup", max: 1, on: { tag: { added: "updateTagsRulesFor(tagGroup)", removed: "updateTagsRulesFor(tagGroup)" } } } + %tags-with-translation{ "object" => "tagGroup", "max" => 1, "on-tag-added" => "updateTagsRulesFor(tagGroup)", "on-tag-removed" => "updateTagsRulesFor(tagGroup)" } - .no_rules{ ng: { show: "tagGroup.rules.length == 0" } } + .no_rules{ "ng-show" => "tagGroup.rules.length == 0" } = t('.no_rules_yet') - .tag_rule{ ng: { repeat: "rule in tagGroup.rules" } } + .tag_rule{ "ng-repeat" => "rule in tagGroup.rules" } .add_rule.text-center %input.button.icon-plus{ type: 'button', value: t('.add_new_rule'), "add-new-rule-to" => "addNewRuleTo", "tag-group" => "tagGroup", "new-tag-rule-dialog" => true } .add_tag - %input.button.red.icon-plus{ type: 'button', value: t('.add_new_tag'), ng: { click: 'addNewTag()' } } + %input.button.red.icon-plus{ "type" => 'button', "value" => t('.add_new_tag'), "ng-click" => 'addNewTag()' } diff --git a/app/views/admin/enterprises/form/_users.html.haml b/app/views/admin/enterprises/form/_users.html.haml index 8d33a27132..c652a3da3f 100644 --- a/app/views/admin/enterprises/form/_users.html.haml +++ b/app/views/admin/enterprises/form/_users.html.haml @@ -21,8 +21,8 @@ = render partial: 'admin/shared/whats_this_tooltip', locals: {tooltip_text: t('.contact_tip')} .eight.columns.omega - if full_permissions - %select.select2.fullwidth{id: 'receives_notifications_dropdown', name: 'receives_notifications', ng: {model: 'receivesNotifications', init: "receivesNotifications = '#{@enterprise.contact.id}'"}} - %option{ng: {repeat: 'user in Enterprise.users', selected: "user.id == #{@enterprise.contact.id}", hide: '!user.confirmed'}, value: '{{user.id}}'} + %select.select2.fullwidth{ "id" => 'receives_notifications_dropdown', "name" => 'receives_notifications', "ng-model" => 'receivesNotifications', "ng-init" => "receivesNotifications = '#{@enterprise.contact.id}'" } + %option{ "value" => '{{user.id}}', "ng-repeat" => 'user in Enterprise.users', "ng-selected" => "user.id == #{@enterprise.contact.id}", "ng-hide" => '!user.confirmed' } {{user.email}} - else = @enterprise.contact.email @@ -41,16 +41,16 @@ - # Ignore this input in the submit = hidden_field_tag :ignored, nil, class: "select2 fullwidth", 'user-select' => 'newManager', 'ng-model' => 'newManager' %td.actions - %tr.animate-repeat{ id: "manager-{{manager.id}}", ng: { repeat: 'manager in Enterprise.users' }} + %tr.animate-repeat{ "id" => "manager-{{manager.id}}", "ng-repeat" => 'manager in Enterprise.users' } %td = hidden_field_tag "enterprise[user_ids][]", nil, multiple: true, 'ng-value' => 'manager.id' {{ manager.email }} - %i.confirmation.confirmed.fa.fa-check-circle{ 'ofn-with-tip' => t('.email_confirmed'), ng: {show: 'manager.confirmed'} } - %i.confirmation.unconfirmed.fa.fa-exclamation-triangle{ 'ofn-with-tip' => t('.email_not_confirmed'), ng: {show: '!manager.confirmed'} } - %i.role.contact.fa.fa-envelope-o{ 'ofn-with-tip' => t('.contact'), ng: {show: 'manager.id == receivesNotifications'} } - %i.role.owner.fa.fa-star{ 'ofn-with-tip' => t('.owner'), ng: {show: 'manager.id == Enterprise.owner.id'} } + %i.confirmation.confirmed.fa.fa-check-circle{ "ofn-with-tip" => t('.email_confirmed'), "ng-show" => 'manager.confirmed' } + %i.confirmation.unconfirmed.fa.fa-exclamation-triangle{ "ofn-with-tip" => t('.email_not_confirmed'), "ng-show" => '!manager.confirmed' } + %i.role.contact.fa.fa-envelope-o{ "ofn-with-tip" => t('.contact'), "ng-show" => 'manager.id == receivesNotifications' } + %i.role.owner.fa.fa-star{ "ofn-with-tip" => t('.owner'), "ng-show" => 'manager.id == Enterprise.owner.id' } %td.actions - %a{ ng: {click: 'removeManager(manager)', class: "{disabled: manager.id == Enterprise.owner.id || manager.id == receivesNotifications}"}, :class => "icon-trash no-text" } + %a{ "class" => "icon-trash no-text", "ng-click" => 'removeManager(manager)', "ng-class" => "{disabled: manager.id == Enterprise.owner.id || manager.id == receivesNotifications}" } - else - @enterprise.users.each do |manager| diff --git a/app/views/admin/enterprises/form/tag_rules/_default_rules.html.haml b/app/views/admin/enterprises/form/tag_rules/_default_rules.html.haml index a58a71d8de..76ad01e45f 100644 --- a/app/views/admin/enterprises/form/tag_rules/_default_rules.html.haml +++ b/app/views/admin/enterprises/form/tag_rules/_default_rules.html.haml @@ -8,9 +8,9 @@ %h5 = t('.by_default') %i.text-big.icon-question-sign{ "data-controller": "help-modal-link", "data-action": "click->help-modal-link#open", "data-help-modal-link-target-value": "tag_rule_help_modal" } - .no_rules{ ng: { show: "defaultTagGroup.rules.length == 0" } } + .no_rules{ "ng-show" => "defaultTagGroup.rules.length == 0" } = t('.no_rules_yet') - .tag_rule{ ng: { repeat: "rule in defaultTagGroup.rules" } } + .tag_rule{ "ng-repeat" => "rule in defaultTagGroup.rules" } .add_rule.text-center %input.button.icon-plus{ type: 'button', value: t('.add_new_button'), "add-new-rule-to" => "addNewRuleTo", "tag-group" => "defaultTagGroup", "new-tag-rule-dialog" => true } diff --git a/app/views/admin/enterprises/new.html.haml b/app/views/admin/enterprises/new.html.haml index 26a34ad45f..c149a805b6 100644 --- a/app/views/admin/enterprises/new.html.haml +++ b/app/views/admin/enterprises/new.html.haml @@ -16,5 +16,5 @@ = form_for [main_app, :admin, @enterprise], html: { "nav-check" => '', "nav-callback" => '' } do |f| .row - .twelve.columns.fullwidth_inputs{ ng: { controller: "NewEnterpriseController" } } + .twelve.columns.fullwidth_inputs{ "ng-controller" => "NewEnterpriseController" } = render 'new_form', f: f, scope: 'admin.enterprises.form' diff --git a/app/views/admin/order_cycles/_exchange_form.html.haml b/app/views/admin/order_cycles/_exchange_form.html.haml index 94481b1f13..6d06bdd4bc 100644 --- a/app/views/admin/order_cycles/_exchange_form.html.haml +++ b/app/views/admin/order_cycles/_exchange_form.html.haml @@ -1,4 +1,4 @@ -%tr{ ng: { class: "'#{type} #{type}-{{ exchange.enterprise_id }}'" } } +%tr{ "ng-class" => "'#{type} #{type}-{{ exchange.enterprise_id }}'" } %td{:class => "#{type}_name"} {{ enterprises[exchange.enterprise_id].name }} %td.products.panel-toggle.text-center{ name: "products" } {{ exchangeSelectedVariants(exchange) }} / {{ exchangeTotalVariants(exchange) }} @@ -7,7 +7,7 @@ %td.receival-details = text_field_tag 'order_cycle_incoming_exchange_{{ $index }}_receival_instructions', '', 'id' => 'order_cycle_incoming_exchange_{{ $index }}_receival_instructions', 'placeholder' => t('.receival_instructions_placeholder'), 'ng-model' => 'exchange.receival_instructions' - if type == 'distributor' - %td.tags.panel-toggle.text-center{ name: "tags", ng: { if: 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } } + %td.tags.panel-toggle.text-center{ "name" => "tags", "ng-if" => 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } {{ exchange.tags.length }} %td.collection-details = text_field_tag 'order_cycle_outgoing_exchange_{{ $index }}_pickup_time', '', 'ng-init' => 'setPickupTimeFieldDirty($index, exchange.pickup_time)', 'id' => 'order_cycle_outgoing_exchange_{{ $index }}_pickup_time', 'required' => 'required', 'placeholder' => t('.pickup_time_placeholder'), 'ng-model' => 'exchange.pickup_time', 'ng-disabled' => '!enterprises[exchange.enterprise_id].managed && !order_cycle.viewing_as_coordinator', 'maxlength' => 35 @@ -16,7 +16,7 @@ = text_field_tag 'order_cycle_outgoing_exchange_{{ $index }}_pickup_instructions', '', 'id' => 'order_cycle_outgoing_exchange_{{ $index }}_pickup_instructions', 'placeholder' => t('.pickup_instructions_placeholder'), 'ng-model' => 'exchange.pickup_instructions', 'ng-disabled' => '!enterprises[exchange.enterprise_id].managed && !order_cycle.viewing_as_coordinator' %span.icon-question-sign{'ofn-with-tip' => t('.pickup_instructions_tip')} %td.fees - %ol{ ng: { show: 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } } + %ol{ "ng-show" => 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } %li{'ng-repeat' => 'enterprise_fee in exchange.enterprise_fees'} = select_tag 'order_cycle_{{ exchangeDirection(exchange) }}_exchange_{{ $parent.$index }}_enterprise_fees_{{ $index }}_enterprise_id', nil, {'id' => 'order_cycle_{{ exchangeDirection(exchange) }}_exchange_{{ $parent.$index }}_enterprise_fees_{{ $index }}_enterprise_id', 'ng-model' => 'enterprise_fee.enterprise_id', 'ng-options' => 'enterprise.id as enterprise.name for enterprise in enterprisesWithFees()'} diff --git a/app/views/admin/order_cycles/_filters.html.haml b/app/views/admin/order_cycles/_filters.html.haml index a798f0ebe4..776a0d4bda 100644 --- a/app/views/admin/order_cycles/_filters.html.haml +++ b/app/views/admin/order_cycles/_filters.html.haml @@ -2,20 +2,20 @@ .filter.four.columns.alpha %label{ :for => 'query' }=t('admin.quick_search') %br - %input.fullwidth{ :type => "text", :id => 'query', ng: { model: 'query' }, placeholder: t(".search_by_order_cycle_name") } + %input.fullwidth{ "type" => "text", "id" => 'query', "placeholder" => t(".search_by_order_cycle_name"), "ng-model" => 'query' } .filter_select.four.columns %label{ :for => 'involving_filter' }=t('.involving') %br - %input.ofn-select2.fullwidth{ id: 'involving_filter', type: 'number', blank: "{id: 0, name: '#{j t(".any_enterprise")}'}", data: 'enterprises', ng: { model: 'involvingFilter' } } + %input.ofn-select2.fullwidth{ "id" => 'involving_filter', "type" => 'number', "blank" => "{id: 0, name: '#{j t(".any_enterprise")}'}", "data" => 'enterprises', "ng-model" => 'involvingFilter' } - if subscriptions_enabled? .filter_select.four.columns %label{ :for => 'schedule_filter' }=t('admin.order_cycles.index.schedule') %br - %input.ofn-select2.fullwidth{ id: 'schedule_filter', type: 'number', blank: "{id: 0, name: '#{j t(".any_schedule")}'}", data: 'schedules', ng: { model: 'scheduleFilter' } } + %input.ofn-select2.fullwidth{ "id" => 'schedule_filter', "type" => 'number', "blank" => "{id: 0, name: '#{j t(".any_schedule")}'}", "data" => 'schedules', "ng-model" => 'scheduleFilter' } .one.columns   - else .five.columns   .filter_clear.three.columns.omega %label{ :for => 'clear_all_filters' } %br - %input.red.fullwidth{ :type => 'button', :id => 'clear_all_filters', :value => "#{t('admin.clear_all')}", ng: { click: "resetSelectFilters()" } } + %input.red.fullwidth{ "type" => 'button', "id" => 'clear_all_filters', "value" => "#{t('admin.clear_all')}", "ng-click" => "resetSelectFilters()" } diff --git a/app/views/admin/order_cycles/_header.html.haml b/app/views/admin/order_cycles/_header.html.haml index 0d3f9fba8e..756bc2cb5c 100644 --- a/app/views/admin/order_cycles/_header.html.haml +++ b/app/views/admin/order_cycles/_header.html.haml @@ -1,35 +1,35 @@ %colgroup - %col{ ng: { show: 'columns.name.visible' } } - %col{ ng: { show: 'columns.schedules.visible' } } - %col{ ng: { show: 'columns.open.visible' }, style: 'width: 20%;' } - %col{ ng: { show: 'columns.close.visible' }, style: 'width: 20%;' } + %col{ "ng-show" => 'columns.name.visible' } + %col{ "ng-show" => 'columns.schedules.visible' } + %col{ "style" => 'width: 20%;', "ng-show" => 'columns.open.visible' } + %col{ "style" => 'width: 20%;', "ng-show" => 'columns.close.visible' } - unless simple_index - %col{ ng: { show: 'columns.producers.visible' } } - %col{ ng: { show: 'columns.coordinator.visible' } } - %col{ ng: { show: 'columns.shops.visible' } } - %col{ ng: { show: 'columns.products.visible' } } + %col{ "ng-show" => 'columns.producers.visible' } + %col{ "ng-show" => 'columns.coordinator.visible' } + %col{ "ng-show" => 'columns.shops.visible' } + %col{ "ng-show" => 'columns.products.visible' } %col{ style: 'width: 5%;' } %col{ style: 'width: 5%;' } %col{ style: 'width: 5%;' } %thead %tr - %th{ ng: { show: 'columns.name.visible' } } + %th{ "ng-show" => 'columns.name.visible' } =t :name - %th{ ng: { show: 'columns.schedules.visible' } } + %th{ "ng-show" => 'columns.schedules.visible' } =t('admin.order_cycles.index.schedules') - %th{ ng: { show: 'columns.open.visible' } } + %th{ "ng-show" => 'columns.open.visible' } =t :open - %th{ ng: { show: 'columns.close.visible' } } + %th{ "ng-show" => 'columns.close.visible' } =t :close - unless simple_index - %th{ ng: { show: 'columns.producers.visible' } } + %th{ "ng-show" => 'columns.producers.visible' } =t :label_producers - %th{ ng: { show: 'columns.coordinator.visible' } } + %th{ "ng-show" => 'columns.coordinator.visible' } =t :coordinator - %th{ ng: { show: 'columns.shops.visible' } } + %th{ "ng-show" => 'columns.shops.visible' } =t :label_shops - %th{ ng: { show: 'columns.products.visible' } } + %th{ "ng-show" => 'columns.products.visible' } =t :products %th.actions %th.actions diff --git a/app/views/admin/order_cycles/_loading_flash.html.haml b/app/views/admin/order_cycles/_loading_flash.html.haml index 64689ffe29..231ba6a695 100644 --- a/app/views/admin/order_cycles/_loading_flash.html.haml +++ b/app/views/admin/order_cycles/_loading_flash.html.haml @@ -1,6 +1,6 @@ -%div.sixteen.columns.alpha.omega#loading{ ng: { cloak: true, if: 'RequestMonitor.loading' } } +%div.sixteen.columns.alpha.omega#loading{ "ng-cloak" => true, "ng-if" => 'RequestMonitor.loading' } = render partial: "components/admin_spinner" - %h1{ ng: { hide: 'orderCycles.length > 0' } } + %h1{ "ng-hide" => 'orderCycles.length > 0' } = t('.loading_order_cycles') - %h1{ ng: { show: 'orderCycles.length > 0' } } + %h1{ "ng-show" => 'orderCycles.length > 0' } = t('.loading') diff --git a/app/views/admin/order_cycles/_name_and_timing_form.html.haml b/app/views/admin/order_cycles/_name_and_timing_form.html.haml index 172a5763e2..f66080923f 100644 --- a/app/views/admin/order_cycles/_name_and_timing_form.html.haml +++ b/app/views/admin/order_cycles/_name_and_timing_form.html.haml @@ -35,11 +35,6 @@ = f.label :schedule_ids, t('admin.order_cycles.index.schedules') .six.columns - if viewing_as_coordinator_of?(@order_cycle) - %input.fullwidth.ofn-select2#schedule_ids{ name: 'order_cycle[schedule_ids]', - data: 'schedules', - multiple: 'true', - placeholder: t('admin.please_select'), - filter: '{viewing_as_coordinator: true}', - ng: { model: 'order_cycle.schedule_ids' } } + %input.fullwidth.ofn-select2#schedule_ids{ "name" => 'order_cycle[schedule_ids]', "data" => 'schedules', "multiple" => 'true', "placeholder" => t('admin.please_select'), "filter" => '{viewing_as_coordinator: true}', "ng-model" => 'order_cycle.schedule_ids' } - else %schedule-list{ 'order-cycle' => 'order_cycle' } diff --git a/app/views/admin/order_cycles/_row.html.haml b/app/views/admin/order_cycles/_row.html.haml index 4508858a1d..2d2f90a98a 100644 --- a/app/views/admin/order_cycles/_row.html.haml +++ b/app/views/admin/order_cycles/_row.html.haml @@ -1,39 +1,39 @@ -%tr{ class: "order-cycle-{{orderCycle.id}} {{orderCycle.status}}", ng: { repeat: 'orderCycle in orderCycles | schedule:scheduleFilter | involving:involvingFilter | filter:{name: query} track by orderCycle.id' } } - %td.name{ ng: { show: 'columns.name.visible' } } - %input{ id: 'oc{{::orderCycle.id}}_name', name: 'oc{{::orderCycle.id}}[name]', type: 'text', ng: { model: 'orderCycle.name', disabled: '!orderCycle.viewing_as_coordinator' } } - %td.schedules{ ng: { show: 'columns.schedules.visible' } } - %span{ ng: { repeat: 'schedule in orderCycle.schedules'} } +%tr{ "class" => "order-cycle-{{orderCycle.id}} {{orderCycle.status}}", "ng-repeat" => 'orderCycle in orderCycles | schedule:scheduleFilter | involving:involvingFilter | filter:{name: query} track by orderCycle.id' } + %td.name{ "ng-show" => 'columns.name.visible' } + %input{ "id" => 'oc{{::orderCycle.id}}_name', "name" => 'oc{{::orderCycle.id}}[name]', "type" => 'text', "ng-model" => 'orderCycle.name', "ng-disabled" => '!orderCycle.viewing_as_coordinator' } + %td.schedules{ "ng-show" => 'columns.schedules.visible' } + %span{ "ng-repeat" => 'schedule in orderCycle.schedules' } %a{ 'schedule-dialog' => true, 'schedule-id' => '{{schedule.id}}' } {{ schedule.name + ($last ? '' : ',') }} - %span{ ng: { show: 'orderCycle.schedules.length == 0'}} None - %td.orders_open_at{ ng: { show: 'columns.open.visible' } } - %input.datetimepicker{ id: 'oc{{::orderCycle.id}}_orders_open_at', name: 'oc{{::orderCycle.id}}[orders_open_at]', type: 'text', ng: { if: 'orderCycle.viewing_as_coordinator', model: 'orderCycle.orders_open_at' }, data: { controller: "flatpickr", "flatpickr-enable-time-value": true }, 'change-warning' => 'orderCycle' } - %input{ id: 'oc{{::orderCycle.id}}_orders_open_at', name: 'oc{{::orderCycle.id}}[orders_open_at]', type: 'text', ng: { if: '!orderCycle.viewing_as_coordinator', model: 'orderCycle.orders_open_at'}, disabled: true } - %td.orders_close_at{ ng: { show: 'columns.close.visible' } } - %input.datetimepicker{ id: 'oc{{::orderCycle.id}}_orders_close_at', name: 'oc{{::orderCycle.id}}[orders_close_at]', type: 'text', ng: { if: 'orderCycle.viewing_as_coordinator', model: 'orderCycle.orders_close_at' }, data: { controller: "flatpickr", "flatpickr-enable-time-value": true }, 'change-warning' => 'orderCycle' } - %input{ id: 'oc{{::orderCycle.id}}_orders_close_at', name: 'oc{{::orderCycle.id}}[orders_close_at]', type: 'text', ng: { if: '!orderCycle.viewing_as_coordinator', model: 'orderCycle.orders_close_at'}, disabled: true } + %span{ "ng-show" => 'orderCycle.schedules.length == 0' } None + %td.orders_open_at{ "ng-show" => 'columns.open.visible' } + %input.datetimepicker{ "id" => 'oc{{::orderCycle.id}}_orders_open_at', "name" => 'oc{{::orderCycle.id}}[orders_open_at]', "type" => 'text', "change-warning" => 'orderCycle', "ng-if" => 'orderCycle.viewing_as_coordinator', "ng-model" => 'orderCycle.orders_open_at', "data-controller" => "flatpickr", "data-flatpickr-enable-time-value" => true } + %input{ "id" => 'oc{{::orderCycle.id}}_orders_open_at', "name" => 'oc{{::orderCycle.id}}[orders_open_at]', "type" => 'text', "disabled" => true, "ng-if" => '!orderCycle.viewing_as_coordinator', "ng-model" => 'orderCycle.orders_open_at' } + %td.orders_close_at{ "ng-show" => 'columns.close.visible' } + %input.datetimepicker{ "id" => 'oc{{::orderCycle.id}}_orders_close_at', "name" => 'oc{{::orderCycle.id}}[orders_close_at]', "type" => 'text', "change-warning" => 'orderCycle', "ng-if" => 'orderCycle.viewing_as_coordinator', "ng-model" => 'orderCycle.orders_close_at', "data-controller" => "flatpickr", "data-flatpickr-enable-time-value" => true } + %input{ "id" => 'oc{{::orderCycle.id}}_orders_close_at', "name" => 'oc{{::orderCycle.id}}[orders_close_at]', "type" => 'text', "disabled" => true, "ng-if" => '!orderCycle.viewing_as_coordinator', "ng-model" => 'orderCycle.orders_close_at' } - unless simple_index - %td.producers{ ng: { show: 'columns.producers.visible' } } - %span{'ofn-with-tip' => '{{ orderCycle.producerNames }}', ng: { show: 'orderCycle.producers.length > 3' } } + %td.producers{ "ng-show" => 'columns.producers.visible' } + %span{ "ofn-with-tip" => '{{ orderCycle.producerNames }}', "ng-show" => 'orderCycle.producers.length > 3' } {{ orderCycle.producers.length }} = t('.suppliers') - %span{ ng: { hide: 'orderCycle.producers.length > 3', bind: 'orderCycle.producerNames' } } - %td.coordinator{ ng: { show: 'columns.coordinator.visible', bind: { html: 'orderCycle.coordinator.name'} } } - %td.shops{ ng: { show: 'columns.shops.visible' } } - %span{'ofn-with-tip' => '{{ orderCycle.shopNames }}', ng: { show: 'orderCycle.shops.length > 3' } } + %span{ "ng-hide" => 'orderCycle.producers.length > 3', "ng-bind" => 'orderCycle.producerNames' } + %td.coordinator{ "ng-show" => 'columns.coordinator.visible', "ng-bind-html" => 'orderCycle.coordinator.name' } + %td.shops{ "ng-show" => 'columns.shops.visible' } + %span{ "ofn-with-tip" => '{{ orderCycle.shopNames }}', "ng-show" => 'orderCycle.shops.length > 3' } {{ orderCycle.shops.length }} = t('.distributors') - %span{ ng: { hide: 'orderCycle.shops.length > 3', bind: 'orderCycle.shopNames' } } + %span{ "ng-hide" => 'orderCycle.shops.length > 3', "ng-bind" => 'orderCycle.shopNames' } - %td.products{ ng: { show: 'columns.products.visible' } } + %td.products{ "ng-show" => 'columns.products.visible' } %span {{orderCycle.variant_count}} = t('.variants') %td.actions - %a.edit-order-cycle.icon-edit.no-text{ ng: { href: '{{orderCycle.edit_path}}'}, 'ofn-with-tip' => t(:edit) } - %td.actions{ ng: { if: 'orderCycle.viewing_as_coordinator' } } - %a.clone-order-cycle.icon-copy.no-text{ ng: { href: '{{orderCycle.clone_path}}'}, 'ofn-with-tip' => t(:clone) } - %td.actions{ ng: { if: 'orderCycle.deletable && orderCycle.viewing_as_coordinator' }} - %a.delete-order-cycle.icon-trash.no-text{ ng: { href: '{{orderCycle.delete_path}}'}, data: { method: 'delete', confirm: t(:are_you_sure), "ujs-navigate": "false" }, 'ofn-with-tip' => t(:remove) } + %a.edit-order-cycle.icon-edit.no-text{ "ofn-with-tip" => t(:edit), "ng-href" => '{{orderCycle.edit_path}}' } + %td.actions{ "ng-if" => 'orderCycle.viewing_as_coordinator' } + %a.clone-order-cycle.icon-copy.no-text{ "ofn-with-tip" => t(:clone), "ng-href" => '{{orderCycle.clone_path}}' } + %td.actions{ "ng-if" => 'orderCycle.deletable && orderCycle.viewing_as_coordinator' } + %a.delete-order-cycle.icon-trash.no-text{ "ofn-with-tip" => t(:remove), "ng-href" => '{{orderCycle.delete_path}}', "data-method" => 'delete', "data-confirm" => t(:are_you_sure), "data-ujs-navigate" => "false" } diff --git a/app/views/admin/order_cycles/_show_more.html.haml b/app/views/admin/order_cycles/_show_more.html.haml index 22191c4e38..bbf4c1d512 100644 --- a/app/views/admin/order_cycles/_show_more.html.haml +++ b/app/views/admin/order_cycles/_show_more.html.haml @@ -1,4 +1,4 @@ -.text-center.margin-bottom-50{ ng: { hide: "RequestMonitor.loading" } } - %input{ type: 'button', value: "#{t('admin.show_n_more', num: '30')} #{t(:days)}", ng: { click: 'showMore(30)' } } +.text-center.margin-bottom-50{ "ng-hide" => "RequestMonitor.loading" } + %input{ "type" => 'button', "value" => "#{t('admin.show_n_more', num: '30')} #{t(:days)}", "ng-click" => 'showMore(30)' } - %input{ type: 'button', value: "#{t('admin.show_n_more', num: '90')} #{t(:days)}", ng: { click: 'showMore(90)' } } + %input{ "type" => 'button', "value" => "#{t('admin.show_n_more', num: '90')} #{t(:days)}", "ng-click" => 'showMore(90)' } diff --git a/app/views/admin/order_cycles/_simple_form.html.haml b/app/views/admin/order_cycles/_simple_form.html.haml index 8b8ac6f200..c9a0369def 100644 --- a/app/views/admin/order_cycles/_simple_form.html.haml +++ b/app/views/admin/order_cycles/_simple_form.html.haml @@ -15,9 +15,9 @@ = label_tag t('.products') %table.exchanges - %tbody{ng: {repeat: "exchange in order_cycle.incoming_exchanges"}} + %tbody{ "ng-repeat" => "exchange in order_cycle.incoming_exchanges" } %tr.products - %td{ ng: { include: "'admin/panels/exchange_products_simple.html'" } } + %td{ "ng-include" => "'admin/panels/exchange_products_simple.html'" } %br = label_tag t('.tags') diff --git a/app/views/admin/order_cycles/edit.html.haml b/app/views/admin/order_cycles/edit.html.haml index 3a67c072bd..0c7943e3a9 100644 --- a/app/views/admin/order_cycles/edit.html.haml +++ b/app/views/admin/order_cycles/edit.html.haml @@ -6,7 +6,7 @@ - url = main_app.notify_producers_admin_order_cycle_path - confirm_msg = "#{t('.notify_producers_tip')} #{t(:are_you_sure)}" - %a.button.icon-email.with-tip{ href: url, data: { method: :post, "ujs-navigate": "false", confirm: confirm_msg }, 'data-powertip': t('.notify_producers_tip') } + %a.button.icon-email.with-tip{ "href" => url, "data-powertip" => t('.notify_producers_tip'), "data-method" => :post, "data-ujs-navigate" => "false", "data-confirm" => confirm_msg } = mails_sent ? t('.re_notify_producers') : t(:notify_producers) - if mails_sent .badge.icon-ok.success @@ -19,13 +19,13 @@ = form_for [main_app, :admin, @order_cycle], :url => '', :html => {:class => 'ng order_cycle', 'ng-app' => 'admin.orderCycles', 'ng-controller' => ng_controller, name: 'order_cycle_form'} do |f| %save-bar{ dirty: "order_cycle_form.$dirty", persist: "true" } - %input.red{ type: "button", value: t('.save'), ng: { click: "submit($event, null)", disabled: "!order_cycle_form.$dirty || order_cycle_form.$invalid" } } + %input.red{ "type" => "button", "value" => t('.save'), "ng-click" => "submit($event, null)", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } - if @order_cycle.simple? - %input.red{ type: "button", value: t('.save_and_back_to_list'), ng: { click: "submit($event, '#{main_app.admin_order_cycles_path}')", disabled: "!order_cycle_form.$dirty || order_cycle_form.$invalid" } } + %input.red{ "type" => "button", "value" => t('.save_and_back_to_list'), "ng-click" => "submit($event, '#{main_app.admin_order_cycles_path}')", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } - else - %input.red{ type: "button", value: t('.save_and_next'), ng: { click: "submit($event, '#{main_app.admin_order_cycle_incoming_path(@order_cycle)}')", disabled: "!order_cycle_form.$dirty || order_cycle_form.$invalid" } } - %input{ type: "button", value: t('.next'), ng: { click: "cancel('#{main_app.admin_order_cycle_incoming_path(@order_cycle)}')", disabled: "order_cycle_form.$dirty" } } - %input{ type: "button", ng: { value: "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", click: "cancel('#{main_app.admin_order_cycles_path}')" } } + %input.red{ "type" => "button", "value" => t('.save_and_next'), "ng-click" => "submit($event, '#{main_app.admin_order_cycle_incoming_path(@order_cycle)}')", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input{ "type" => "button", "value" => t('.next'), "ng-click" => "cancel('#{main_app.admin_order_cycle_incoming_path(@order_cycle)}')", "ng-disabled" => "order_cycle_form.$dirty" } + %input{ "type" => "button", "ng-value" => "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", "ng-click" => "cancel('#{main_app.admin_order_cycles_path}')" } - if @order_cycle.simple? = render 'simple_form', f: f diff --git a/app/views/admin/order_cycles/incoming.html.haml b/app/views/admin/order_cycles/incoming.html.haml index c9f40b9322..5dddf71c3d 100644 --- a/app/views/admin/order_cycles/incoming.html.haml +++ b/app/views/admin/order_cycles/incoming.html.haml @@ -9,10 +9,10 @@ = render 'wizard_progress' %save-bar{ dirty: "order_cycle_form.$dirty", persist: "true" } - %input.red{ type: "button", value: t('.save'), ng: { click: "submit($event, null)", disabled: "!order_cycle_form.$dirty || order_cycle_form.$invalid" } } - %input.red{ type: "button", value: t('.save_and_next'), ng: { click: "submit($event, '#{main_app.admin_order_cycle_outgoing_path(@order_cycle)}')", disabled: "!order_cycle_form.$dirty || order_cycle_form.$invalid" } } - %input{ type: "button", value: t('.next'), ng: { click: "cancel('#{main_app.admin_order_cycle_outgoing_path(@order_cycle)}')", disabled: "order_cycle_form.$dirty" } } - %input{ type: "button", ng: { value: "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", click: "cancel('#{main_app.admin_order_cycles_path}')" } } + %input.red{ "type" => "button", "value" => t('.save'), "ng-click" => "submit($event, null)", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input.red{ "type" => "button", "value" => t('.save_and_next'), "ng-click" => "submit($event, '#{main_app.admin_order_cycle_outgoing_path(@order_cycle)}')", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input{ "type" => "button", "value" => t('.next'), "ng-click" => "cancel('#{main_app.admin_order_cycle_outgoing_path(@order_cycle)}')", "ng-disabled" => "order_cycle_form.$dirty" } + %input{ "type" => "button", "ng-value" => "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", "ng-click" => "cancel('#{main_app.admin_order_cycles_path}')" } %fieldset.no-border-bottom %legend{ align: 'center'}= t('.incoming') diff --git a/app/views/admin/order_cycles/index.html.haml b/app/views/admin/order_cycles/index.html.haml index ed53a56ea3..e03e39cf1b 100644 --- a/app/views/admin/order_cycles/index.html.haml +++ b/app/views/admin/order_cycles/index.html.haml @@ -14,19 +14,19 @@ = admin_inject_column_preferences module: 'admin.orderCycles' -%div{ ng: { controller: 'OrderCyclesCtrl' } } +%div{ "ng-controller" => 'OrderCyclesCtrl' } = render 'admin/order_cycles/filters' %hr.divider - .row.controls{ ng: { show: "orderCycles.length > 0" } } + .row.controls{ "ng-show" => "orderCycles.length > 0" } .thirteen.columns.alpha   %columns-dropdown{ action: "#{controller_name}_#{action_name}" } %form{ name: 'order_cycles_form' } %save-bar{ dirty: "order_cycles_form.$dirty", persist: "false" } - %input.red{ type: "button", value: t(:save_changes), ng: { click: "saveAll()", disabled: "!order_cycles_form.$dirty" } } - %table.index#listing_order_cycles{ ng: { show: 'orderCycles.length > 0' } } + %input.red{ "type" => "button", "value" => t(:save_changes), "ng-click" => "saveAll()", "ng-disabled" => "!order_cycles_form.$dirty" } + %table.index#listing_order_cycles{ "ng-show" => 'orderCycles.length > 0' } = render 'admin/order_cycles/header' #, simple_index: simple_index %tbody = render 'admin/order_cycles/row' #, simple_index: simple_index diff --git a/app/views/admin/order_cycles/new.html.haml b/app/views/admin/order_cycles/new.html.haml index 6c35515d2f..c01459082f 100644 --- a/app/views/admin/order_cycles/new.html.haml +++ b/app/views/admin/order_cycles/new.html.haml @@ -9,8 +9,8 @@ %save-bar{ dirty: "order_cycle_form.$dirty", persist: "true" } - if @order_cycle.simple? - custom_redirect_path = main_app.admin_order_cycles_path - %input.red{ type: "button", value: t('.create'), ng: { click: "submit($event, '#{custom_redirect_path}')", disabled: "!order_cycle_form.$dirty || order_cycle_form.$invalid" } } - %input{ type: "button", ng: { value: "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", click: "cancel('#{main_app.admin_order_cycles_path}')" } } + %input.red{ "type" => "button", "value" => t('.create'), "ng-click" => "submit($event, '#{custom_redirect_path}')", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input{ "type" => "button", "ng-value" => "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", "ng-click" => "cancel('#{main_app.admin_order_cycles_path}')" } - if @order_cycle.simple? = render 'simple_form', f: f diff --git a/app/views/admin/order_cycles/outgoing.html.haml b/app/views/admin/order_cycles/outgoing.html.haml index d5b148f1cc..4d1ead94c5 100644 --- a/app/views/admin/order_cycles/outgoing.html.haml +++ b/app/views/admin/order_cycles/outgoing.html.haml @@ -9,10 +9,10 @@ = render 'wizard_progress' %save-bar{ dirty: "order_cycle_form.$dirty", persist: "true" } - %input.red{ type: "button", value: t('.save'), ng: { click: "submit($event, null)", disabled: "!order_cycle_form.$dirty || order_cycle_form.$invalid" } } - %input.red{ type: "button", value: t('.save_and_next'), ng: { click: "submit($event, '#{main_app.admin_order_cycle_checkout_options_path(@order_cycle)}')", disabled: "!order_cycle_form.$dirty || order_cycle_form.$invalid" } } - %input{ type: "button", value: t('.next'), ng: { click: "cancel('#{main_app.admin_order_cycle_checkout_options_path(@order_cycle)}')", disabled: "order_cycle_form.$dirty" } } - %input{ type: "button", ng: { value: "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", click: "cancel('#{main_app.admin_order_cycles_path}')" } } + %input.red{ "type" => "button", "value" => t('.save'), "ng-click" => "submit($event, null)", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input.red{ "type" => "button", "value" => t('.save_and_next'), "ng-click" => "submit($event, '#{main_app.admin_order_cycle_checkout_options_path(@order_cycle)}')", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input{ "type" => "button", "value" => t('.next'), "ng-click" => "cancel('#{main_app.admin_order_cycle_checkout_options_path(@order_cycle)}')", "ng-disabled" => "order_cycle_form.$dirty" } + %input{ "type" => "button", "ng-value" => "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", "ng-click" => "cancel('#{main_app.admin_order_cycles_path}')" } %fieldset.no-border-bottom %legend{ align: 'center'}= t('.outgoing') @@ -27,7 +27,7 @@ %a{href: '#', 'ng-click' => "OrderCycle.toggleAllProducts('outgoing')"} %span{'ng-show' => "OrderCycle.showProducts['outgoing']"}= t(:collapse_all) %span{'ng-hide' => "OrderCycle.showProducts['outgoing']"}= t(:expand_all) - %th{ ng: { if: 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } } + %th{ "ng-if" => 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } = t('.tags') %th= t('.delivery_details') %th= t('.fees') diff --git a/app/views/admin/product_import/_entries_table.html.haml b/app/views/admin/product_import/_entries_table.html.haml index 6b0dcfdf6e..315ad80882 100644 --- a/app/views/admin/product_import/_entries_table.html.haml +++ b/app/views/admin/product_import/_entries_table.html.haml @@ -5,10 +5,10 @@ %th #{t('admin.product_import.import.line')} - @importer.table_headings.each do |heading| %th= heading - %tr{ng: {repeat: "(line_number, entry) in (entries | entriesFilterValid:'#{entries}')"}} + %tr{ "ng-repeat" => "(line_number, entry) in (entries | entriesFilterValid:'#{entries}')" } %td - %i{ng: {class: "{'fa fa-warning error': (count(entry.errors) > 0), 'fa fa-check-circle success': (count(entry.errors) == 0)}"}} + %i{ "ng-class" => "{'fa fa-warning error': (count(entry.errors) > 0), 'fa fa-check-circle success': (count(entry.errors) == 0)}" } %td {{line_number}} - %td{ng: {repeat: "(attribute, value) in entry.attributes", class: "{'invalid': attribute_invalid(attribute, line_number)}"}} + %td{ "ng-repeat" => "(attribute, value) in entry.attributes", "ng-class" => "{'invalid': attribute_invalid(attribute, line_number)}" } {{value}} diff --git a/app/views/admin/product_import/_errors_list.html.haml b/app/views/admin/product_import/_errors_list.html.haml index 787aabe76b..f19274fe1b 100644 --- a/app/views/admin/product_import/_errors_list.html.haml +++ b/app/views/admin/product_import/_errors_list.html.haml @@ -1,9 +1,9 @@ -%div.import-errors{ng: {controller: 'ImportFeedbackCtrl', repeat: "(line_number, entry ) in (entries | entriesFilterValid:'invalid')"}} +%div.import-errors{ "ng-controller" => 'ImportFeedbackCtrl', "ng-repeat" => "(line_number, entry ) in (entries | entriesFilterValid:'invalid')" } %p.line %strong #{t('admin.product_import.import.item_line')} {{line_number}}: %span {{entry.attributes.name}} - %span{ng: {if: "entry.attributes.display_name"}} + %span{ "ng-if" => "entry.attributes.display_name" } ( {{entry.attributes.display_name}} ) - %p.error{ng: {repeat: "(attribute, error) in entry.errors", show: "ignore_fields.indexOf(attribute) < 0" }} + %p.error{ "ng-repeat" => "(attribute, error) in entry.errors", "ng-show" => "ignore_fields.indexOf(attribute) < 0" }  -  {{error}} diff --git a/app/views/admin/product_import/_import_options.html.haml b/app/views/admin/product_import/_import_options.html.haml index c5c3e32c38..96222d9f6f 100644 --- a/app/views/admin/product_import/_import_options.html.haml +++ b/app/views/admin/product_import/_import_options.html.haml @@ -4,7 +4,7 @@ - @importer.enterprises_index.each do |name, attrs| - if name and attrs[:id] and @importer.permission_by_id?(attrs[:id]) %div.panel-section.import-settings - %div.panel-header{ng: {click: 'togglePanel()', class: '{active: active}'}} + %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active}' } %div.header-icon.success %i.fa.fa-check-circle %div.header-description diff --git a/app/views/admin/product_import/_import_review.html.haml b/app/views/admin/product_import/_import_review.html.haml index 90d8de9577..a63601eaee 100644 --- a/app/views/admin/product_import/_import_review.html.haml +++ b/app/views/admin/product_import/_import_review.html.haml @@ -1,7 +1,7 @@ %h5= t('admin.product_import.import.validation_overview') %br -%div{ng: {controller: 'ImportFeedbackCtrl'}} +%div{ "ng-controller" => 'ImportFeedbackCtrl' } - if @importer.product_field_errors? .alert-box.warning @@ -9,10 +9,10 @@ %em= @non_updatable_fields.keys.join(', ') + "." = t('.fields_ignored') - %div.panel-section{ng: {controller: 'DropdownPanelsCtrl'}} - %div.panel-header{ng: {click: 'togglePanel()', class: '{active: active && count((entries | entriesFilterValid:"all"))}'}} + %div.panel-section{ "ng-controller" => 'DropdownPanelsCtrl' } + %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active && count((entries | entriesFilterValid:"all"))}' } %div.header-caret - %i{ng: {class: "{'icon-chevron-down': active, 'icon-chevron-right': !active}", hide: 'count((entries | entriesFilterValid:"all")) == 0'}} + %i{ "ng-class" => "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide" => 'count((entries | entriesFilterValid:"all")) == 0' } %div.header-icon.success %i.fa.fa-info-circle.info %div.header-count @@ -20,13 +20,13 @@ {{ count((entries | entriesFilterValid:"all")) }} %div.header-description = t('admin.product_import.import.entries_found') - %div.panel-content{ng: {hide: '!active || count((entries | entriesFilterValid:"all")) == 0'}} + %div.panel-content{ "ng-hide" => '!active || count((entries | entriesFilterValid:"all")) == 0' } = render 'entries_table', entries: 'all' - %div.panel-section{ng: {controller: 'DropdownPanelsCtrl', hide: 'count((entries | entriesFilterValid:"invalid")) == 0'}} - %div.panel-header{ng: {click: 'togglePanel()', class: '{active: active && count((entries | entriesFilterValid:"invalid"))}'}} + %div.panel-section{ "ng-controller" => 'DropdownPanelsCtrl', "ng-hide" => 'count((entries | entriesFilterValid:"invalid")) == 0' } + %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active && count((entries | entriesFilterValid:"invalid"))}' } %div.header-caret - %i{ng: {class: "{'icon-chevron-down': active, 'icon-chevron-right': !active}", hide: 'count((entries | entriesFilterValid:"invalid")) == 0'}} + %i{ "ng-class" => "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide" => 'count((entries | entriesFilterValid:"invalid")) == 0' } %div.header-icon.error %i.fa.fa-warning %div.header-count @@ -34,15 +34,15 @@ {{ count((entries | entriesFilterValid:"invalid")) }} %div.header-description = t('admin.product_import.import.entries_with_errors') - %div.panel-content{ng: {hide: '!active || count((entries | entriesFilterValid:"invalid")) == 0'}} + %div.panel-content{ "ng-hide" => '!active || count((entries | entriesFilterValid:"invalid")) == 0' } = render 'errors_list' %br = render 'entries_table', entries: 'invalid' - %div.panel-section{ng: {controller: 'DropdownPanelsCtrl', hide: 'count((entries | entriesFilterValid:"create_product")) == 0'}} - %div.panel-header{ng: {click: 'togglePanel()', class: '{active: active && count((entries | entriesFilterValid:"create_product"))}'}} + %div.panel-section{ "ng-controller" => 'DropdownPanelsCtrl', "ng-hide" => 'count((entries | entriesFilterValid:"create_product")) == 0' } + %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active && count((entries | entriesFilterValid:"create_product"))}' } %div.header-caret - %i{ng: {class: "{'icon-chevron-down': active, 'icon-chevron-right': !active}", hide: 'count((entries | entriesFilterValid:"create_product")) == 0'}} + %i{ "ng-class" => "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide" => 'count((entries | entriesFilterValid:"create_product")) == 0' } %div.header-icon.success %i.fa.fa-check-circle %div.header-count @@ -50,13 +50,13 @@ {{ count((entries | entriesFilterValid:"create_product")) }} %div.header-description = t('admin.product_import.import.products_to_create') - %div.panel-content{ng: {hide: '!active || count((entries | entriesFilterValid:"create_product")) == 0'}} + %div.panel-content{ "ng-hide" => '!active || count((entries | entriesFilterValid:"create_product")) == 0' } = render 'entries_table', entries: 'create_product' - %div.panel-section{ng: {controller: 'DropdownPanelsCtrl', hide: 'count((entries | entriesFilterValid:"update_product")) == 0'}} - %div.panel-header{ng: {click: 'togglePanel()', class: '{active: active && count((entries | entriesFilterValid:"update_product"))}'}} + %div.panel-section{ "ng-controller" => 'DropdownPanelsCtrl', "ng-hide" => 'count((entries | entriesFilterValid:"update_product")) == 0' } + %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active && count((entries | entriesFilterValid:"update_product"))}' } %div.header-caret - %i{ng: {class: "{'icon-chevron-down': active, 'icon-chevron-right': !active}", hide: 'count((entries | entriesFilterValid:"update_product")) == 0'}} + %i{ "ng-class" => "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide" => 'count((entries | entriesFilterValid:"update_product")) == 0' } %div.header-icon.success %i.fa.fa-check-circle %div.header-count @@ -64,13 +64,13 @@ {{ count((entries | entriesFilterValid:"update_product")) }} %div.header-description = t('admin.product_import.import.products_to_update') - %div.panel-content{ng: {hide: '!active || count((entries | entriesFilterValid:"update_product")) == 0'}} + %div.panel-content{ "ng-hide" => '!active || count((entries | entriesFilterValid:"update_product")) == 0' } = render 'entries_table', entries: 'update_product' - %div.panel-section{ng: {controller: 'DropdownPanelsCtrl', hide: 'count((entries | entriesFilterValid:"create_inventory")) == 0'}} - %div.panel-header{ng: {click: 'togglePanel()', class: '{active: active && count((entries | entriesFilterValid:"create_inventory"))}'}} + %div.panel-section{ "ng-controller" => 'DropdownPanelsCtrl', "ng-hide" => 'count((entries | entriesFilterValid:"create_inventory")) == 0' } + %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active && count((entries | entriesFilterValid:"create_inventory"))}' } %div.header-caret - %i{ng: {class: "{'icon-chevron-down': active, 'icon-chevron-right': !active}", hide: 'count((entries | entriesFilterValid:"create_inventory")) == 0'}} + %i{ "ng-class" => "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide" => 'count((entries | entriesFilterValid:"create_inventory")) == 0' } %div.header-icon.success %i.fa.fa-check-circle %div.header-count @@ -78,13 +78,13 @@ {{ count((entries | entriesFilterValid:"create_inventory")) }} %div.header-description = t('admin.product_import.import.inventory_to_create') - %div.panel-content{ng: {hide: '!active || count((entries | entriesFilterValid:"create_inventory")) == 0'}} + %div.panel-content{ "ng-hide" => '!active || count((entries | entriesFilterValid:"create_inventory")) == 0' } = render 'entries_table', entries: 'create_inventory' - %div.panel-section{ng: {controller: 'DropdownPanelsCtrl', hide: 'count((entries | entriesFilterValid:"update_inventory")) == 0'}} - %div.panel-header{ng: {click: 'togglePanel()', class: '{active: active && count((entries | entriesFilterValid:"update_inventory"))}'}} + %div.panel-section{ "ng-controller" => 'DropdownPanelsCtrl', "ng-hide" => 'count((entries | entriesFilterValid:"update_inventory")) == 0' } + %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active && count((entries | entriesFilterValid:"update_inventory"))}' } %div.header-caret - %i{ng: {class: "{'icon-chevron-down': active, 'icon-chevron-right': !active}", hide: 'count((entries | entriesFilterValid:"update_inventory")) == 0'}} + %i{ "ng-class" => "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide" => 'count((entries | entriesFilterValid:"update_inventory")) == 0' } %div.header-icon.success %i.fa.fa-check-circle %div.header-count @@ -92,10 +92,10 @@ {{ count((entries | entriesFilterValid:"update_inventory")) }} %div.header-description = t('admin.product_import.import.inventory_to_update') - %div.panel-content{ng: {hide: '!active || count((entries | entriesFilterValid:"update_inventory")) == 0'}} + %div.panel-content{ "ng-hide" => '!active || count((entries | entriesFilterValid:"update_inventory")) == 0' } = render 'entries_table', entries: 'update_inventory' - %div.panel-section{ng: {controller: 'ImportOptionsFormCtrl', hide: 'resetTotal == 0'}} + %div.panel-section{ "ng-controller" => 'ImportOptionsFormCtrl', "ng-hide" => 'resetTotal == 0' } %div.panel-header %div.header-caret %div.header-icon.info diff --git a/app/views/admin/product_import/_save_results.html.haml b/app/views/admin/product_import/_save_results.html.haml index 90cf847468..3228e2d8aa 100644 --- a/app/views/admin/product_import/_save_results.html.haml +++ b/app/views/admin/product_import/_save_results.html.haml @@ -4,31 +4,31 @@ %div.post-save-results - %p{ng: {show: 'updates.products_created'}} - %i.fa{ng: {class: "{'fa-info-circle': updates.products_created == 0, 'fa-check-circle': updates.products_created > 0}"}} + %p{ "ng-show" => 'updates.products_created' } + %i.fa{ "ng-class" => "{'fa-info-circle': updates.products_created == 0, 'fa-check-circle': updates.products_created > 0}" } %strong.created-count {{ updates.products_created }} = t('.products_created') - %p{ng: {show: 'updates.products_updated'}} - %i.fa{ng: {class: "{'fa-info-circle': updates.products_updated == 0, 'fa-check-circle': updates.products_updated > 0}"}} + %p{ "ng-show" => 'updates.products_updated' } + %i.fa{ "ng-class" => "{'fa-info-circle': updates.products_updated == 0, 'fa-check-circle': updates.products_updated > 0}" } %strong.updated-count {{ updates.products_updated }} = t('.products_updated') - %p{ng: {show: 'updates.inventory_created'}} - %i.fa{ng: {class: "{'fa-info-circle': updates.inventory_created == 0, 'fa-check-circle': updates.inventory_created > 0}"}} + %p{ "ng-show" => 'updates.inventory_created' } + %i.fa{ "ng-class" => "{'fa-info-circle': updates.inventory_created == 0, 'fa-check-circle': updates.inventory_created > 0}" } %strong.inv-created-count {{ updates.inventory_created }} = t('.inventory_created') - %p{ng: {show: 'updates.inventory_updated'}} - %i.fa{ng: {class: "{'fa-info-circle': updates.inventory_updated == 0, 'fa-check-circle': updates.inventory_updated > 0}"}} + %p{ "ng-show" => 'updates.inventory_updated' } + %i.fa{ "ng-class" => "{'fa-info-circle': updates.inventory_updated == 0, 'fa-check-circle': updates.inventory_updated > 0}" } %strong.inv-updated-count {{ updates.inventory_updated }} = t('.inventory_updated') - %p{ng: {show: 'updates.products_reset'}} + %p{ "ng-show" => 'updates.products_reset' } %i.fa.fa-info-circle %strong.reset-count {{ updates.products_reset }} @@ -39,24 +39,24 @@ %br - %p{ng: {show: 'update_errors.length == 0'}} + %p{ "ng-show" => 'update_errors.length == 0' } = t('.all_saved') - %div{ng: {show: 'update_errors.length > 0'}} + %div{ "ng-show" => 'update_errors.length > 0' } %p {{ updated_total }} #{t('.some_saved')} %br %h5= t('.save_errors') - %p.save-error{ng: {repeat: 'error in update_errors'}} + %p.save-error{ "ng-repeat" => 'error in update_errors' }  -  {{ error }} %br - %div{ng: {show: 'updated_total > 0'}} - %a.button.view{href: main_app.admin_inventory_path, ng: {show: 'updates.inventory_created > 0 || updates.inventory_updated > 0'}} + %div{ "ng-show" => 'updated_total > 0' } + %a.button.view{ "href" => main_app.admin_inventory_path, "ng-show" => 'updates.inventory_created > 0 || updates.inventory_updated > 0' } = t('.view_inventory') - %a.button.view{href: admin_products_path, ng: {show: 'updates.products_created > 0 || updates.products_updated > 0'}} + %a.button.view{ "href" => admin_products_path, "ng-show" => 'updates.products_created > 0 || updates.products_updated > 0' } = t('.view_products') %a.button{href: main_app.admin_product_import_path} diff --git a/app/views/admin/product_import/_upload_form.html.haml b/app/views/admin/product_import/_upload_form.html.haml index cbe9cc9f9c..32fe7c7dd6 100644 --- a/app/views/admin/product_import/_upload_form.html.haml +++ b/app/views/admin/product_import/_upload_form.html.haml @@ -1,4 +1,4 @@ -%div{ng: {app: 'admin.productImport', controller: 'ImportOptionsFormCtrl', init: "initForm()"}} +%div{ "ng-app" => 'admin.productImport', "ng-controller" => 'ImportOptionsFormCtrl', "ng-init" => "initForm()" } = form_tag main_app.admin_product_import_path, multipart: true, class: 'product-import' do diff --git a/app/views/admin/product_import/import.html.haml b/app/views/admin/product_import/import.html.haml index fe938b39d8..c3c4f9b63a 100644 --- a/app/views/admin/product_import/import.html.haml +++ b/app/views/admin/product_import/import.html.haml @@ -4,7 +4,7 @@ = render partial: 'ams_data' = render partial: 'spree/admin/shared/product_sub_menu' -.import-wrapper{ng: {app: 'admin.productImport', controller: 'ImportFormCtrl'}} +.import-wrapper{ "ng-app" => 'admin.productImport', "ng-controller" => 'ImportFormCtrl' } - if @importer.item_count == 0 %h5 @@ -13,14 +13,14 @@ = t('.none_to_save') %br - else - .settings-section{ng: {show: 'step == "settings"'}} + .settings-section{ "ng-show" => 'step == "settings"' } = render 'import_options' if @importer.table_headings %br - %a.button.proceed{href: '', ng: {click: 'confirmSettings()'}} + %a.button.proceed{ "href" => '', "ng-click" => 'confirmSettings()' } = t('.import') %a.button{href: main_app.admin_product_import_path} #{t('admin.cancel')} - .progress-interface{ng: {show: 'step == "import"'}} + .progress-interface{ "ng-show" => 'step == "import"' } %span.filename = @original_filename %span.percentage @@ -34,12 +34,12 @@ = render 'import_review' if @importer.table_headings - %div{ng: {controller: 'ImportFeedbackCtrl', show: 'count((entries | entriesFilterValid:"valid")) > 0'}} - %div{ng: {if: 'count((entries | entriesFilterValid:"invalid")) > 0'}} + %div{ "ng-controller" => 'ImportFeedbackCtrl', "ng-show" => 'count((entries | entriesFilterValid:"valid")) > 0' } + %div{ "ng-if" => 'count((entries | entriesFilterValid:"invalid")) > 0' } %br %h5= t('admin.product_import.import.some_invalid_entries') %p= t('admin.product_import.import.fix_before_import') - %div{ng: {show: 'count((entries | entriesFilterValid:"invalid")) == 0'}} + %div{ "ng-show" => 'count((entries | entriesFilterValid:"invalid")) == 0' } %br %h5= t('.no_errors') %p= t('.save_all_imported?') @@ -47,22 +47,22 @@ = hidden_field_tag :filepath, @filepath = hidden_field_tag "settings[import_into]", @import_into - %a.button.proceed{href: '', ng: {show: 'count((entries | entriesFilterValid:"invalid")) == 0', click: 'acceptResults()'}} + %a.button.proceed{ "href" => '', "ng-show" => 'count((entries | entriesFilterValid:"invalid")) == 0', "ng-click" => 'acceptResults()' } = t('.save') %a.button{href: main_app.admin_product_import_path}= t('admin.cancel') - %div{ng: {controller: 'ImportFeedbackCtrl', show: 'count((entries | entriesFilterValid:"valid")) == 0'}} + %div{ "ng-controller" => 'ImportFeedbackCtrl', "ng-show" => 'count((entries | entriesFilterValid:"valid")) == 0' } %br %a.button{href: main_app.admin_product_import_path}= t('admin.cancel') - .progress-interface{ng: {show: 'step == "save"'}} + .progress-interface{ "ng-show" => 'step == "save"' } %span.filename #{t('.save_imported')} ({{ percentage.save }}) .progress-bar{} - %span.progress-track{ng: {style: "{'width': percentage.save }"}} + %span.progress-track{ "ng-style" => "{'width': percentage.save }" } %p.red {{ exception }} - .save-results{ng: {show: 'step == "complete"'}} + .save-results{ "ng-show" => 'step == "complete"' } = render 'save_results' diff --git a/app/views/admin/products_v3/_no_products.html.haml b/app/views/admin/products_v3/_no_products.html.haml index 4cb82d2eb5..0fb24ba20d 100644 --- a/app/views/admin/products_v3/_no_products.html.haml +++ b/app/views/admin/products_v3/_no_products.html.haml @@ -1,6 +1,6 @@ - if search_term.present? || producer_id.present? || category_id.present? = t('.no_products_found_for_search') - %a{ href: "#", class: "button disruptive relaxed", data: { reflex: "click->products#clear_search" } } + %a{ "href" => "#", "class" => "button disruptive relaxed", "data-reflex" => "click->products#clear_search" } = t("admin.products_v3.sort.pagination.clear_search") - else = t('.no_products_found') diff --git a/app/views/admin/products_v3/_sort.html.haml b/app/views/admin/products_v3/_sort.html.haml index b89d926cef..90c13fbfb3 100644 --- a/app/views/admin/products_v3/_sort.html.haml +++ b/app/views/admin/products_v3/_sort.html.haml @@ -2,7 +2,7 @@ %div = t(".pagination.total_html", total: pagy.count, from: pagy.from, to: pagy.to) - if search_term.present? || producer_id.present? || category_id.present? - %a{ href: "#", class: "button disruptive", data: { reflex: "click->products#clear_search" } } + %a{ "href" => "#", "class" => "button disruptive", "data-reflex" => "click->products#clear_search" } = t(".pagination.clear_search") %form.with-dropdown = t(".pagination.per_page.show") diff --git a/app/views/admin/reports/show.html.haml b/app/views/admin/reports/show.html.haml index 42f7ec8e05..656a56c9d8 100644 --- a/app/views/admin/reports/show.html.haml +++ b/app/views/admin/reports/show.html.haml @@ -27,5 +27,5 @@ = t(@error, link: link_to(t(".report_link_label"), @error_url)) if @error -#report-table{ data: { controller: "scoped-channel", "scoped-channel-id-value": request.uuid } } +#report-table{ "data-controller" => "scoped-channel", "data-scoped-channel-id-value" => request.uuid } = @table diff --git a/app/views/admin/shared/_side_menu.html.haml b/app/views/admin/shared/_side_menu.html.haml index e900c233a8..c0ed67af4c 100644 --- a/app/views/admin/shared/_side_menu.html.haml +++ b/app/views/admin/shared/_side_menu.html.haml @@ -2,12 +2,12 @@ - if @enterprise - enterprise_side_menu_items(@enterprise).each do |item| - next if !item[:show] - %a.menu_item{ href: item[:href] || "##{item[:name]}_panel", data: { action: "tabs-and-panels#activate", "tabs-and-panels-target": "tab", test: "link_for_#{item[:name]}" }, class: item[:selected] } + %a.menu_item{ "href" => item[:href] || "##{item[:name]}_panel", "class" => item[:selected], "data-action" => "tabs-and-panels#activate", "data-tabs-and-panels-target" => "tab", "data-test" => "link_for_#{item[:name]}" } %i{ class: item[:icon_class] } %span= t(".enterprise.#{item[:name] }") - else - enterprise_group_side_menu_items.each do |item| - %a.menu_item{ href: "##{item[:name]}_panel", class: item[:selected], data: { action: "tabs-and-panels#activate", "tabs-and-panels-target": "tab", test: "link_for_#{item[:name]}" } } + %a.menu_item{ "href" => "##{item[:name]}_panel", "class" => item[:selected], "data-action" => "tabs-and-panels#activate", "data-tabs-and-panels-target" => "tab", "data-test" => "link_for_#{item[:name]}" } %i{ class: item[:icon_class] } %span= t(".enterprise_group.#{item[:name] }") diff --git a/app/views/admin/shared/_stimulus_pagination.html.haml b/app/views/admin/shared/_stimulus_pagination.html.haml index e7b4b9960a..bb7c008bb4 100644 --- a/app/views/admin/shared/_stimulus_pagination.html.haml +++ b/app/views/admin/shared/_stimulus_pagination.html.haml @@ -2,9 +2,9 @@ .pagination{ "data-controller": "search" } - if pagy.prev - %button.page.prev{ data: { action: 'click->search#changePage', page: pagy.prev } } + %button.page.prev{ "data-action" => 'click->search#changePage', "data-page" => pagy.prev } - if feature?(:admin_style_v3, spree_current_user) - %i.icon-chevron-left{ data: { action: 'click->search#changePage', page: pagy.prev } } + %i.icon-chevron-left{ "data-action" => 'click->search#changePage', "data-page" => pagy.prev } - else != pagy_t('pagy.nav.prev') - else @@ -12,7 +12,7 @@ - pagy.series.each do |item| # series example: [1, :gap, 7, 8, "9", 10, 11, :gap, 36] - if item.is_a?(Integer) # page link - %button.page{ data: { action: 'click->search#changePage', page: item } }= item + %button.page{ "data-action" => 'click->search#changePage', "data-page" => item }= item - elsif item.is_a?(String) # current page %button.page.current.active= item @@ -21,9 +21,9 @@ %span.page.gap.pagination-ellipsis!= pagy_t('pagy.nav.gap') - if pagy.next - %button.page.next{ data: { action: 'click->search#changePage', page: pagy.next } } + %button.page.next{ "data-action" => 'click->search#changePage', "data-page" => pagy.next } - if feature?(:admin_style_v3, spree_current_user) - %i.icon-chevron-right{ data: { action: 'click->search#changePage', page: pagy.next } } + %i.icon-chevron-right{ "data-action" => 'click->search#changePage', "data-page" => pagy.next } - else != pagy_t('pagy.nav.next') - else diff --git a/app/views/admin/shared/_views_dropdown.html.haml b/app/views/admin/shared/_views_dropdown.html.haml index 9fe3df8521..e560addd9a 100644 --- a/app/views/admin/shared/_views_dropdown.html.haml +++ b/app/views/admin/shared/_views_dropdown.html.haml @@ -2,6 +2,6 @@ %span{ :class => 'icon-eye-open' }= "  #{t('admin.viewing', current_view_name: '{{ currentView().name }}')}".html_safe %span{ 'ng-class' => "expanded && 'icon-caret-up' || !expanded && 'icon-caret-down'" } %div.menu{ 'ng-show' => "expanded" } - %div.menu_item{ ng: { repeat: "(viewKey, view) in views" }, toggle: { view: true }, 'close-on-click' => true } + %div.menu_item{ "close-on-click" => true, "ng-repeat" => "(viewKey, view) in views", "toggle-view" => true } %span.check %span.name {{ view.name }} diff --git a/app/views/admin/subscriptions/_address.html.haml b/app/views/admin/subscriptions/_address.html.haml index f7bebb3ad2..e82277f77c 100644 --- a/app/views/admin/subscriptions/_address.html.haml +++ b/app/views/admin/subscriptions/_address.html.haml @@ -4,48 +4,48 @@ %legend{ align: 'center'}= t(:bill_address) .field %label{ for: 'bill_address_firstname'}= t(:first_name) - %input.fullwidth#bill_address_firstname{ name: 'bill_address_firstname', type: 'text', required: true, ng: { model: "subscription.bill_address.firstname" } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.bill_address_firstname.$error.required' } }= t(:error_required) - .error{ ng: { repeat: "error in errors['bill_address.firstname']", show: 'subscription_address_form.bill_address_firstname.$pristine' } } {{ error }} + %input.fullwidth#bill_address_firstname{ "name" => 'bill_address_firstname', "type" => 'text', "required" => true, "ng-model" => "subscription.bill_address.firstname" } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_firstname.$error.required' }= t(:error_required) + .error{ "ng-repeat" => "error in errors['bill_address.firstname']", "ng-show" => 'subscription_address_form.bill_address_firstname.$pristine' } {{ error }} .field %label{ for: 'bill_address_lastname'}= t(:last_name) - %input.fullwidth#bill_address_lastname{ name: 'bill_address_lastname', type: 'text', required: true, ng: { model: "subscription.bill_address.lastname" } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.bill_address_lastname.$error.required' } }= t(:error_required) - .error{ ng: { repeat: "error in errors['bill_address.lastname']", show: 'subscription_address_form.bill_address_lastname.$pristine' } } {{ error }} + %input.fullwidth#bill_address_lastname{ "name" => 'bill_address_lastname', "type" => 'text', "required" => true, "ng-model" => "subscription.bill_address.lastname" } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_lastname.$error.required' }= t(:error_required) + .error{ "ng-repeat" => "error in errors['bill_address.lastname']", "ng-show" => 'subscription_address_form.bill_address_lastname.$pristine' } {{ error }} .field %label{ for: 'bill_address_address1'}= t(:address) - %input.fullwidth#bill_address_address1{ name: 'bill_address_address1', type: 'text', required: true, ng: { model: "subscription.bill_address.address1" } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.bill_address_address1.$error.required' } }= t(:error_required) - .error{ ng: { repeat: "error in errors['bill_address.address1']", show: 'subscription_address_form.bill_address_address1.$pristine' } } {{ error }} + %input.fullwidth#bill_address_address1{ "name" => 'bill_address_address1', "type" => 'text', "required" => true, "ng-model" => "subscription.bill_address.address1" } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_address1.$error.required' }= t(:error_required) + .error{ "ng-repeat" => "error in errors['bill_address.address1']", "ng-show" => 'subscription_address_form.bill_address_address1.$pristine' } {{ error }} .field %label{ for: 'bill_address_city'}= t(:suburb) - %input.fullwidth#bill_address_city{ name: 'bill_address_city', type: 'text', required: true, ng: { model: "subscription.bill_address.city" } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.bill_address_city.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.bill_address.city', show: 'subscription_address_form.bill_address_city.$pristine' } } {{ error }} + %input.fullwidth#bill_address_city{ "name" => 'bill_address_city', "type" => 'text', "required" => true, "ng-model" => "subscription.bill_address.city" } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_city.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.bill_address.city', "ng-show" => 'subscription_address_form.bill_address_city.$pristine' } {{ error }} .field %label{ for: "bill_address_zipcode"}= t(:postcode) - %input.fullwidth#bill_address_zipcode{ name: 'bill_address_zipcode', type: 'text', required: true, ng: { model: "subscription.bill_address.zipcode" } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.bill_address_zipcode.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.bill_address.zipcode', show: 'subscription_address_form.bill_address_zipcode.$pristine' } } {{ error }} + %input.fullwidth#bill_address_zipcode{ "name" => 'bill_address_zipcode', "type" => 'text', "required" => true, "ng-model" => "subscription.bill_address.zipcode" } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_zipcode.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.bill_address.zipcode', "ng-show" => 'subscription_address_form.bill_address_zipcode.$pristine' } {{ error }} .field %label{ for: "bill_address_phone"}= t(:phone) - %input.fullwidth#bill_address_phone{ name: 'bill_address_phone', type: 'text', required: true, ng: { model: "subscription.bill_address.phone" } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.bill_address_phone.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.bill_address.phone', show: 'subscription_address_form.bill_address_phone.$pristine' } } {{ error }} + %input.fullwidth#bill_address_phone{ "name" => 'bill_address_phone', "type" => 'text', "required" => true, "ng-model" => "subscription.bill_address.phone" } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_phone.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.bill_address.phone', "ng-show" => 'subscription_address_form.bill_address_phone.$pristine' } {{ error }} .field %label{ for: "bill_address_country_id"}= t(:country) - %input.ofn-select2.fullwidth#bill_address_country_id{ name: 'bill_address_country_id', type: 'number', data: 'countries', required: true, placeholder: t('admin.choose'), ng: { model: 'subscription.bill_address.country_id' } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.bill_address_country_id.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.bill_address.country', show: 'subscription_address_form.bill_address_country_id.$pristine' } } {{ error }} + %input.ofn-select2.fullwidth#bill_address_country_id{ "name" => 'bill_address_country_id', "type" => 'number', "data" => 'countries', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.bill_address.country_id' } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_country_id.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.bill_address.country', "ng-show" => 'subscription_address_form.bill_address_country_id.$pristine' } {{ error }} .field %label{ for: "bill_address_state_id"}= t(:state) - %input.ofn-select2.fullwidth#bill_address_state_id{ name: 'bill_address_state_id', type: 'number', data: 'billStates', required: true, placeholder: t('admin.choose'), ng: { model: 'subscription.bill_address.state_id' } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.bill_address_state_id.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.bill_address.state', show: 'subscription_address_form.bill_address_state_id.$pristine' } } {{ error }} + %input.ofn-select2.fullwidth#bill_address_state_id{ "name" => 'bill_address_state_id', "type" => 'number', "data" => 'billStates', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.bill_address.state_id' } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_state_id.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.bill_address.state', "ng-show" => 'subscription_address_form.bill_address_state_id.$pristine' } {{ error }} .two.columns - %a.button.red.fullwidth{ href: 'javascript:void(0)', ng: { click: 'shipAddressFromBilling()' } } + %a.button.red.fullwidth{ "href" => 'javascript:void(0)', "ng-click" => 'shipAddressFromBilling()' } = t('copy') %i.icon-chevron-right .seven.columns.omega @@ -53,41 +53,41 @@ %legend{ align: 'center'}= t(:ship_address) .field %label{ for: 'ship_address_firstname'}= t(:first_name) - %input.fullwidth#ship_address_firstname{ name: 'ship_address_firstname', type: 'text', required: true, ng: { model: "subscription.ship_address.firstname" } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.ship_address_firstname.$error.required' } }= t(:error_required) - .error{ ng: { repeat: "error in errors['ship_address.firstname']", show: 'subscription_address_form.ship_address_firstname.$pristine' } } {{ error }} + %input.fullwidth#ship_address_firstname{ "name" => 'ship_address_firstname', "type" => 'text', "required" => true, "ng-model" => "subscription.ship_address.firstname" } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_firstname.$error.required' }= t(:error_required) + .error{ "ng-repeat" => "error in errors['ship_address.firstname']", "ng-show" => 'subscription_address_form.ship_address_firstname.$pristine' } {{ error }} .field %label{ for: 'ship_address_lastname'}= t(:last_name) - %input.fullwidth#ship_address_lastname{ name: 'ship_address_lastname', type: 'text', required: true, ng: { model: "subscription.ship_address.lastname" } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.ship_address_lastname.$error.required' } }= t(:error_required) - .error{ ng: { repeat: "error in errors['ship_address.lastname']", show: 'subscription_address_form.ship_address_lastname.$pristine' } } {{ error }} + %input.fullwidth#ship_address_lastname{ "name" => 'ship_address_lastname', "type" => 'text', "required" => true, "ng-model" => "subscription.ship_address.lastname" } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_lastname.$error.required' }= t(:error_required) + .error{ "ng-repeat" => "error in errors['ship_address.lastname']", "ng-show" => 'subscription_address_form.ship_address_lastname.$pristine' } {{ error }} .field %label{ for: 'ship_address_address1'}= t(:address) - %input.fullwidth#ship_address_address1{ name: 'ship_address_address1', type: 'text', required: true, ng: { model: "subscription.ship_address.address1" } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.ship_address_address1.$error.required' } }= t(:error_required) - .error{ ng: { repeat: "error in errors['ship_address.address1']", show: 'subscription_address_form.ship_address_address1.$pristine' } } {{ error }} + %input.fullwidth#ship_address_address1{ "name" => 'ship_address_address1', "type" => 'text', "required" => true, "ng-model" => "subscription.ship_address.address1" } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_address1.$error.required' }= t(:error_required) + .error{ "ng-repeat" => "error in errors['ship_address.address1']", "ng-show" => 'subscription_address_form.ship_address_address1.$pristine' } {{ error }} .field %label{ for: 'ship_address_city'}= t(:suburb) - %input.fullwidth#ship_address_city{ name: 'ship_address_city', type: 'text', required: true, ng: { model: "subscription.ship_address.city" } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.ship_address_city.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.ship_address.city', show: 'subscription_address_form.ship_address_city.$pristine' } } {{ error }} + %input.fullwidth#ship_address_city{ "name" => 'ship_address_city', "type" => 'text', "required" => true, "ng-model" => "subscription.ship_address.city" } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_city.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.ship_address.city', "ng-show" => 'subscription_address_form.ship_address_city.$pristine' } {{ error }} .field %label{ for: "ship_address_zipcode"}= t(:postcode) - %input.fullwidth#ship_address_zipcode{ name: 'ship_address_zipcode', type: 'text', required: true, ng: { model: "subscription.ship_address.zipcode" } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.ship_address_zipcode.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.ship_address.zipcode', show: 'subscription_address_form.ship_address_zipcode.$pristine' } } {{ error }} + %input.fullwidth#ship_address_zipcode{ "name" => 'ship_address_zipcode', "type" => 'text', "required" => true, "ng-model" => "subscription.ship_address.zipcode" } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_zipcode.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.ship_address.zipcode', "ng-show" => 'subscription_address_form.ship_address_zipcode.$pristine' } {{ error }} .field %label{ for: "ship_address_phone"}= t(:phone) - %input.fullwidth#ship_address_phone{ name: 'ship_address_phone', type: 'text', required: true, ng: { model: "subscription.ship_address.phone" } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.ship_address_phone.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.ship_address.phone', show: 'subscription_address_form.ship_address_phone.$pristine' } } {{ error }} + %input.fullwidth#ship_address_phone{ "name" => 'ship_address_phone', "type" => 'text', "required" => true, "ng-model" => "subscription.ship_address.phone" } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_phone.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.ship_address.phone', "ng-show" => 'subscription_address_form.ship_address_phone.$pristine' } {{ error }} .field %label{ for: "ship_address_country_id"}= t(:country) - %input.ofn-select2.fullwidth#ship_address_country_id{ name: 'ship_address_country_id', type: 'number', data: 'countries', required: true, placeholder: t('admin.choose'), ng: { model: 'subscription.ship_address.country_id' } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.ship_address_country_id.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.ship_address.country', show: 'subscription_address_form.ship_address_country_id.$pristine' } } {{ error }} + %input.ofn-select2.fullwidth#ship_address_country_id{ "name" => 'ship_address_country_id', "type" => 'number', "data" => 'countries', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.ship_address.country_id' } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_country_id.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.ship_address.country', "ng-show" => 'subscription_address_form.ship_address_country_id.$pristine' } {{ error }} .field %label{ for: "ship_address_state_id"}= t(:state) - %input.ofn-select2.fullwidth#ship_address_state_id{ name: 'ship_address_state_id', type: 'number', data: 'shipStates', required: true, placeholder: t('admin.choose'), ng: { model: 'subscription.ship_address.state_id' } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_address_form.ship_address_state_id.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.ship_address.state', show: 'subscription_address_form.ship_address_state_id.$pristine' } } {{ error }} + %input.ofn-select2.fullwidth#ship_address_state_id{ "name" => 'ship_address_state_id', "type" => 'number', "data" => 'shipStates', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.ship_address.state_id' } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_state_id.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.ship_address.state', "ng-show" => 'subscription_address_form.ship_address_state_id.$pristine' } {{ error }} diff --git a/app/views/admin/subscriptions/_autocomplete.html.haml b/app/views/admin/subscriptions/_autocomplete.html.haml index 784c77009e..04121afe8e 100644 --- a/app/views/admin/subscriptions/_autocomplete.html.haml +++ b/app/views/admin/subscriptions/_autocomplete.html.haml @@ -9,12 +9,12 @@ %td.vertical-align-top .field = label_tag :add_variant_id, t('.name_or_sku') - %input#add_variant_id.variant_autocomplete.fullwidth{ type: 'number', ng: { model: 'newItem.variant_id' } } + %input#add_variant_id.variant_autocomplete.fullwidth{ "type" => 'number', "ng-model" => 'newItem.variant_id' } %td.vertical-align-top .field = label_tag :add_quantity, t('.quantity') - %input#add_quantity.fullwidth{ type: 'number', min: 1, ng: { model: 'newItem.quantity' } } + %input#add_quantity.fullwidth{ "type" => 'number', "min" => 1, "ng-model" => 'newItem.quantity' } %td .actions - %a.icon-plus.button.fullwidth{ href: 'javascript:void(0)', ng: { click: 'addSubscriptionLineItem()' } } + %a.icon-plus.button.fullwidth{ "href" => 'javascript:void(0)', "ng-click" => 'addSubscriptionLineItem()' } = t('.add') diff --git a/app/views/admin/subscriptions/_controls.html.haml b/app/views/admin/subscriptions/_controls.html.haml index ece0c7eecb..b78a6ffce9 100644 --- a/app/views/admin/subscriptions/_controls.html.haml +++ b/app/views/admin/subscriptions/_controls.html.haml @@ -1,5 +1,5 @@ -%hr.divider.sixteen.columns.alpha.omega{ ng: { show: 'shop_id && subscriptions.length > 0' } } -.controls.sixteen.columns.alpha.omega{ ng: { show: 'shop_id && subscriptions.length > 0' } } +%hr.divider.sixteen.columns.alpha.omega{ "ng-show" => 'shop_id && subscriptions.length > 0' } +.controls.sixteen.columns.alpha.omega{ "ng-show" => 'shop_id && subscriptions.length > 0' } .twelve.columns.alpha   .four.columns.omega diff --git a/app/views/admin/subscriptions/_details.html.haml b/app/views/admin/subscriptions/_details.html.haml index 9015d16024..819bdf30e0 100644 --- a/app/views/admin/subscriptions/_details.html.haml +++ b/app/views/admin/subscriptions/_details.html.haml @@ -3,42 +3,42 @@ .row .seven.columns.alpha.field %label{ for: 'customer_id'}= t('admin.customer') - %input.ofn-select2.fullwidth#customer_id{ name: 'customer_id', type: 'number', data: 'customers', text: 'email', required: true, placeholder: t('admin.choose'), ng: { model: 'subscription.customer_id', disabled: 'subscription.id' } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_details_form.customer_id.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.customer', show: 'subscription_details_form.customer_id.$pristine' } } {{ error }} + %input.ofn-select2.fullwidth#customer_id{ "name" => 'customer_id', "type" => 'number', "data" => 'customers', "text" => 'email', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.customer_id', "ng-disabled" => 'subscription.id' } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_details_form.customer_id.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.customer', "ng-show" => 'subscription_details_form.customer_id.$pristine' } {{ error }} .two.columns   .seven.columns.omega.field %label{ for: 'schedule_id'}= t('admin.schedule') - %input.ofn-select2.fullwidth#schedule_id{ name: 'schedule_id', type: 'number', data: 'schedules', required: true, placeholder: t('admin.choose'), ng: { model: 'subscription.schedule_id', disabled: 'subscription.id' } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_details_form.schedule_id.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.schedule', show: 'subscription_details_form.schedule_id.$pristine'} } {{ error }} + %input.ofn-select2.fullwidth#schedule_id{ "name" => 'schedule_id', "type" => 'number', "data" => 'schedules', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.schedule_id', "ng-disabled" => 'subscription.id' } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_details_form.schedule_id.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.schedule', "ng-show" => 'subscription_details_form.schedule_id.$pristine' } {{ error }} .row .seven.columns.alpha.field %label{ for: 'payment_method_id'} = t('admin.payment_method') - %span.with-tip.icon-question-sign{ data: { powertip: "#{t('.allowed_payment_method_types_tip')}" } } - %input.ofn-select2.fullwidth#payment_method_id{ name: 'payment_method_id', type: 'number', data: 'paymentMethods', required: true, placeholder: t('admin.choose'), ng: { model: 'subscription.payment_method_id' } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_details_form.payment_method_id.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.payment_method', show: 'subscription_details_form.payment_method_id.$pristine' } } {{ error }} - .error{ ng: { show: 'cardRequired && customer.$promise && customer.$resolved && !customer.allow_charges' } }= t('.charges_not_allowed') - .error{ ng: { show: 'cardRequired && customer.$promise && customer.$resolved && customer.allow_charges && !customer.default_card_present' } }= t('.no_default_card') - .error{ ng: { repeat: 'error in errors.credit_card', show: 'subscription_details_form.payment_method_id.$pristine' } } {{ error }} + %span.with-tip.icon-question-sign{ "data-powertip" => "#{t('.allowed_payment_method_types_tip')}" } + %input.ofn-select2.fullwidth#payment_method_id{ "name" => 'payment_method_id', "type" => 'number', "data" => 'paymentMethods', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.payment_method_id' } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_details_form.payment_method_id.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.payment_method', "ng-show" => 'subscription_details_form.payment_method_id.$pristine' } {{ error }} + .error{ "ng-show" => 'cardRequired && customer.$promise && customer.$resolved && !customer.allow_charges' }= t('.charges_not_allowed') + .error{ "ng-show" => 'cardRequired && customer.$promise && customer.$resolved && customer.allow_charges && !customer.default_card_present' }= t('.no_default_card') + .error{ "ng-repeat" => 'error in errors.credit_card', "ng-show" => 'subscription_details_form.payment_method_id.$pristine' } {{ error }} .two.columns   .seven.columns.omega.field %label{ for: 'shipping_method_id'}= t('admin.shipping_method') - %input.ofn-select2.fullwidth#shipping_method_id{ name: 'shipping_method_id', type: 'number', data: 'shippingMethods', required: true, placeholder: t('admin.choose'), ng: { model: 'subscription.shipping_method_id' } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_details_form.shipping_method_id.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.shipping_method', show: 'subscription_details_form.shipping_method_id.$pristine' } } {{ error }} + %input.ofn-select2.fullwidth#shipping_method_id{ "name" => 'shipping_method_id', "type" => 'number', "data" => 'shippingMethods', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.shipping_method_id' } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_details_form.shipping_method_id.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.shipping_method', "ng-show" => 'subscription_details_form.shipping_method_id.$pristine' } {{ error }} .row .seven.columns.alpha.field %label{ for: 'begins_at'}= t('admin.begins_at') - %input.fullwidth#begins_at{ name: 'begins_at', type: 'text', placeholder: "#{t('.begins_at_placeholder')}", data: { controller: "flatpickr" }, required: true, ng: { model: 'subscription.begins_at' } } - .error{ ng: { show: 'subscription_form.$submitted && subscription_details_form.begins_at.$error.required' } }= t(:error_required) - .error{ ng: { repeat: 'error in errors.begins_at', show: 'subscription_details_form.begins_at.$pristine' } } {{ error }} + %input.fullwidth#begins_at{ "name" => 'begins_at', "type" => 'text', "placeholder" => "#{t('.begins_at_placeholder')}", "required" => true, "data-controller" => "flatpickr", "ng-model" => 'subscription.begins_at' } + .error{ "ng-show" => 'subscription_form.$submitted && subscription_details_form.begins_at.$error.required' }= t(:error_required) + .error{ "ng-repeat" => 'error in errors.begins_at', "ng-show" => 'subscription_details_form.begins_at.$pristine' } {{ error }} .two.columns   .seven.columns.omega.field %label{ for: 'ends_at'}= t('admin.ends_at') - %input.fullwidth#ends_at{ name: 'ends_at', type: 'text', placeholder: "#{t('.ends_at_placeholder')}", data: { controller: "flatpickr" }, ng: { model: 'subscription.ends_at' } } - .error{ ng: { repeat: 'error in errors.ends_at', show: 'subscription_details_form.ends_at.$pristine' } } {{ error }} + %input.fullwidth#ends_at{ "name" => 'ends_at', "type" => 'text', "placeholder" => "#{t('.ends_at_placeholder')}", "data-controller" => "flatpickr", "ng-model" => 'subscription.ends_at' } + .error{ "ng-repeat" => 'error in errors.ends_at', "ng-show" => 'subscription_details_form.ends_at.$pristine' } {{ error }} diff --git a/app/views/admin/subscriptions/_filters.html.haml b/app/views/admin/subscriptions/_filters.html.haml index 870b8ce43a..a3f5cc54b9 100644 --- a/app/views/admin/subscriptions/_filters.html.haml +++ b/app/views/admin/subscriptions/_filters.html.haml @@ -1,11 +1,11 @@ .row.filters .sixteen.columns.alpha.omega .filter_select.five.columns.alpha - %label{ :for => 'query', ng: {class: '{disabled: !shop_id}'} }=t('admin.quick_search') + %label{ "for" => 'query', "ng-class" => '{disabled: !shop_id}' }=t('admin.quick_search') %br - %input.fullwidth{ :type => "text", :id => 'query', ng: { model: 'query', disabled: '!shop_id'}, :placeholder => "#{t('.query_placeholder')}" } + %input.fullwidth{ "type" => "text", "id" => 'query', "placeholder" => "#{t('.query_placeholder')}", "ng-model" => 'query', "ng-disabled" => '!shop_id' } .filter_select.four.columns - %label{ :for => 'shop_id', ng: { bind: "shop_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } } + %label{ "for" => 'shop_id', "ng-bind" => "shop_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } %br %input.ofn-select2.fullwidth#shop_id{ 'ng-model' => 'shop_id', name: 'shop_id', data: 'shops' } .seven.columns.omega   diff --git a/app/views/admin/subscriptions/_form.html.haml b/app/views/admin/subscriptions/_form.html.haml index cfb4feddaf..df6f438459 100644 --- a/app/views/admin/subscriptions/_form.html.haml +++ b/app/views/admin/subscriptions/_form.html.haml @@ -1,27 +1,27 @@ -%form.margin-bottom-50{ name: 'subscription_form', novalidate: true, ng: { submit: 'save()' } } +%form.margin-bottom-50{ "name" => 'subscription_form', "novalidate" => true, "ng-submit" => 'save()' } %save-bar{ persist: 'true' } - %div{ ng: { hide: 'subscription.id' } } - %a.button{ href: main_app.admin_subscriptions_path, ng: { show: "['details','review'].indexOf(view) >= 0" } }= t(:cancel) - %input{ type: "button", value: t(:back), ng: { click: 'back()', show: '!!backCallbacks[view]'} } - %input.red{ type: "button", value: t(:next), ng: { click: 'next()', show: '!!nextCallbacks[view]' } } - %input.red{ type: "submit", value: t('.create'), ng: { show: "view == 'review'" } } - %div{ ng: { show: 'subscription.id' } } + %div{ "ng-hide" => 'subscription.id' } + %a.button{ "href" => main_app.admin_subscriptions_path, "ng-show" => "['details','review'].indexOf(view) >= 0" }= t(:cancel) + %input{ "type" => "button", "value" => t(:back), "ng-click" => 'back()', "ng-show" => '!!backCallbacks[view]' } + %input.red{ "type" => "button", "value" => t(:next), "ng-click" => 'next()', "ng-show" => '!!nextCallbacks[view]' } + %input.red{ "type" => "submit", "value" => t('.create'), "ng-show" => "view == 'review'" } + %div{ "ng-show" => 'subscription.id' } %a.button{ href: main_app.admin_subscriptions_path }= t(:close) - %input.red{ type: "button", value: t(:review), ng: { click: "setView('review')", show: "view != 'review'" } } - %input.red{ type: "submit", value: t(:save_changes), ng: { disabled: 'subscription_form.$pristine' } } + %input.red{ "type" => "button", "value" => t(:review), "ng-click" => "setView('review')", "ng-show" => "view != 'review'" } + %input.red{ "type" => "submit", "value" => t(:save_changes), "ng-disabled" => 'subscription_form.$pristine' } - .details{ ng: { show: "view == 'details'" } } - %ng-form{ name: 'subscription_details_form', ng: { controller: 'DetailsController' } } + .details{ "ng-show" => "view == 'details'" } + %ng-form{ "name" => 'subscription_details_form', "ng-controller" => 'DetailsController' } = render 'details' - .address{ ng: { show: "view == 'address'" } } - %ng-form{ name: 'subscription_address_form', ng: { controller: 'AddressController' } } + .address{ "ng-show" => "view == 'address'" } + %ng-form{ "name" => 'subscription_address_form', "ng-controller" => 'AddressController' } = render 'address' - .products{ ng: { show: "view == 'products'" } } - %ng-form{ name: 'subscription_products_form', ng: { controller: 'ProductsController' } } + .products{ "ng-show" => "view == 'products'" } + %ng-form{ "name" => 'subscription_products_form', "ng-controller" => 'ProductsController' } = render :partial => "spree/admin/variants/autocomplete", :formats => :js = render 'products' - .review{ ng: { show: "view == 'review'", controller: 'ReviewController' } } + .review{ "ng-show" => "view == 'review'", "ng-controller" => 'ReviewController' } = render 'review' diff --git a/app/views/admin/subscriptions/_loading_flash.html.haml b/app/views/admin/subscriptions/_loading_flash.html.haml index b4a85be210..a24350ec06 100644 --- a/app/views/admin/subscriptions/_loading_flash.html.haml +++ b/app/views/admin/subscriptions/_loading_flash.html.haml @@ -1,4 +1,4 @@ -%div.sixteen.columns.alpha.omega#loading{ ng: { cloak: true, if: 'shop_id && RequestMonitor.loading' } } +%div.sixteen.columns.alpha.omega#loading{ "ng-cloak" => true, "ng-if" => 'shop_id && RequestMonitor.loading' } = render partial: "components/admin_spinner" %h1 = t('.loading') diff --git a/app/views/admin/subscriptions/_no_results.html.haml b/app/views/admin/subscriptions/_no_results.html.haml index 23ba6297fb..e444bebc55 100644 --- a/app/views/admin/subscriptions/_no_results.html.haml +++ b/app/views/admin/subscriptions/_no_results.html.haml @@ -1,7 +1,7 @@ -%div.margin-top-30.text-center{ ng: { show: 'shop_id && !RequestMonitor.loading && filteredSubscriptions.length == 0' } } - .no-results{ ng: { show: '!filtersApplied()' } } +%div.margin-top-30.text-center{ "ng-show" => 'shop_id && !RequestMonitor.loading && filteredSubscriptions.length == 0' } + .no-results{ "ng-show" => '!filtersApplied()' } %h1.margin-bottom-20=t('.no_subscriptions') %span.text-big=t('.why_dont_you_add_one') - .no-results{ ng: { show: 'filtersApplied()' } } + .no-results{ "ng-show" => 'filtersApplied()' } %h1=t('.no_matching_subscriptions') diff --git a/app/views/admin/subscriptions/_order_update_issues_dialog.html.haml b/app/views/admin/subscriptions/_order_update_issues_dialog.html.haml index 0bd1e9a9ad..9ced6a19c5 100644 --- a/app/views/admin/subscriptions/_order_update_issues_dialog.html.haml +++ b/app/views/admin/subscriptions/_order_update_issues_dialog.html.haml @@ -2,7 +2,7 @@ #order_update_issues_dialog .message.clearfix.margin-bottom-30 .text=t("admin.subscriptions.order_update_issues_msg") - %div{ ng: { controller: 'OrderUpdateIssuesController' } } + %div{ "ng-controller" => 'OrderUpdateIssuesController' } %table %col{ style: 'width: 30%' } %col{ style: 'width: 30%' } @@ -12,14 +12,14 @@ %th= t('admin.order_cycle') %th= t('admin.subscriptions.issue') %tbody - %tr.proxy_order{ :id => "ppo_{{proxyOrder.id}}", ng: { repeat: 'proxyOrder in options.proxyOrders' } } + %tr.proxy_order{ "id" => "ppo_{{proxyOrder.id}}", "ng-repeat" => 'proxyOrder in options.proxyOrders' } %td - %a{ href: '{{::proxyOrder.edit_path}}', target: '_blank', ng: { bind: '::proxyOrder.number' } } + %a{ "href" => '{{::proxyOrder.edit_path}}', "target" => '_blank', "ng-bind" => '::proxyOrder.number' } %td - %div{ ng: { bind: "::orderCycleName(proxyOrder.order_cycle_id)" } } - %div{ ng: { bind: "::orderCycleCloses(proxyOrder.order_cycle_id)" } } - %td.text-center{ ng: { bind: "proxyOrder.update_issues.join(', ')" } } + %div{ "ng-bind" => "::orderCycleName(proxyOrder.order_cycle_id)" } + %div{ "ng-bind" => "::orderCycleCloses(proxyOrder.order_cycle_id)" } + %td.text-center{ "ng-bind" => "proxyOrder.update_issues.join(', ')" } .action-buttons.text-center - %button{ ng: { click: "close()" } } + %button{ "ng-click" => "close()" } OK diff --git a/app/views/admin/subscriptions/_orders_panel.html.haml b/app/views/admin/subscriptions/_orders_panel.html.haml index d99ab196e8..67acb26ee3 100644 --- a/app/views/admin/subscriptions/_orders_panel.html.haml +++ b/app/views/admin/subscriptions/_orders_panel.html.haml @@ -1,5 +1,5 @@ %script{ type: "text/ng-template", id: "admin/panels/proxy_orders.html" } - %form.margin-top-30{ name: 'subscription_form', ng: { controller: 'OrdersPanelController' } } + %form.margin-top-30{ "name" => 'subscription_form', "ng-controller" => 'OrdersPanelController' } .row.subscription-orders .fourteen.columns.offset-by-one %table @@ -13,14 +13,14 @@ %th= t('total') %th.actions %tbody - %tr.proxy_order{ :id => "po_{{proxyOrder.id}}", ng: { repeat: 'proxyOrder in subscription.not_closed_proxy_orders' } } + %tr.proxy_order{ "id" => "po_{{proxyOrder.id}}", "ng-repeat" => 'proxyOrder in subscription.not_closed_proxy_orders' } %td - %div{ ng: { bind: "::orderCycleName(proxyOrder.order_cycle_id)" } } - %div{ ng: { bind: "::orderCycleCloses(proxyOrder.order_cycle_id)" } } + %div{ "ng-bind" => "::orderCycleName(proxyOrder.order_cycle_id)" } + %div{ "ng-bind" => "::orderCycleCloses(proxyOrder.order_cycle_id)" } %td.text-center - %span.state{ ng: { class: "proxyOrder.state", bind: 'stateText(proxyOrder.state)' } } - %td.text-center{ ng: { bind: '(proxyOrder.total || subscription.estimatedTotal()) | localizeCurrency' } } + %span.state{ "ng-class" => "proxyOrder.state", "ng-bind" => 'stateText(proxyOrder.state)' } + %td.text-center{ "ng-bind" => '(proxyOrder.total || subscription.estimatedTotal()) | localizeCurrency' } %td.actions %a.edit-order.icon-edit.no-text{ href: '{{::proxyOrder.edit_path}}', target: '_blank', 'ofn-with-tip' => t(:edit_order), confirm_order_edit: true } - %a.cancel-order.icon-remove.no-text{ href: 'javascript:void(0)', ng: { hide: "proxyOrder.state == 'canceled'", click: "cancelOrder(proxyOrder)" }, 'ofn-with-tip' => t(:cancel_order) } - %a.resume-order.icon-resume.no-text{ href: 'javascript:void(0)', ng: { show: "proxyOrder.state == 'canceled'", click: "resumeOrder(proxyOrder)" }, 'ofn-with-tip' => t(:resume_order) } + %a.cancel-order.icon-remove.no-text{ "href" => 'javascript:void(0)', "ofn-with-tip" => t(:cancel_order), "ng-hide" => "proxyOrder.state == 'canceled'", "ng-click" => "cancelOrder(proxyOrder)" } + %a.resume-order.icon-resume.no-text{ "href" => 'javascript:void(0)', "ofn-with-tip" => t(:resume_order), "ng-show" => "proxyOrder.state == 'canceled'", "ng-click" => "resumeOrder(proxyOrder)" } diff --git a/app/views/admin/subscriptions/_products.html.haml b/app/views/admin/subscriptions/_products.html.haml index 88d206e69d..569ad38c37 100644 --- a/app/views/admin/subscriptions/_products.html.haml +++ b/app/views/admin/subscriptions/_products.html.haml @@ -1,3 +1,3 @@ -%div{ ng: { controller: 'SubscriptionLineItemsController' } } +%div{ "ng-controller" => 'SubscriptionLineItemsController' } = render 'autocomplete' = render 'subscription_line_items' diff --git a/app/views/admin/subscriptions/_products_panel.html.haml b/app/views/admin/subscriptions/_products_panel.html.haml index 330e2fe0c1..bfb5fbe428 100644 --- a/app/views/admin/subscriptions/_products_panel.html.haml +++ b/app/views/admin/subscriptions/_products_panel.html.haml @@ -1,15 +1,15 @@ = render :partial => "spree/admin/variants/autocomplete", :formats => :js %script{ type: "text/ng-template", id: "admin/panels/subscription_products.html" } - %form{ name: 'subscription_form', ng: { controller: 'ProductsPanelController' } } + %form{ "name" => 'subscription_form', "ng-controller" => 'ProductsPanelController' } %div{ style: 'width: 90%; margin: auto;' } = render 'products' - %a.button.update.fullwidth{ ng: { class: "{disabled: saved() && !saving, saving: saving}", click: "save()" } } - %span{ ng: {hide: "saved() || saving" } } + %a.button.update.fullwidth{ "ng-class" => "{disabled: saved() && !saving, saving: saving}", "ng-click" => "save()" } + %span{ "ng-hide" => "saved() || saving" } = t('.save') %i.icon-save - %span{ ng: {show: "saved() && !saving" } } + %span{ "ng-show" => "saved() && !saving" } = t('.saved') %i.icon-ok-sign - %span{ ng: {show: "saving" } } + %span{ "ng-show" => "saving" } = t('.saving') %i.icon-refresh diff --git a/app/views/admin/subscriptions/_review.html.haml b/app/views/admin/subscriptions/_review.html.haml index 9e5fcb7d55..3dd5a97543 100644 --- a/app/views/admin/subscriptions/_review.html.haml +++ b/app/views/admin/subscriptions/_review.html.haml @@ -6,7 +6,7 @@ .five.columns.alpha %h3= t('.details') .eleven.columns.omega - %input#edit-details{ type: "button", value: t(:edit), ng: { click: "setView('details')" } } + %input#edit-details{ "type" => "button", "value" => t(:edit), "ng-click" => "setView('details')" } .row .five.columns.alpha %strong= t('admin.customer') @@ -35,7 +35,7 @@ .five.columns.alpha %h3= t('.address') .eleven.columns.omega - %input#edit-address{ type: "button", value: t(:edit), ng: { click: "setView('address')" } } + %input#edit-address{ "type" => "button", "value" => t(:edit), "ng-click" => "setView('address')" } .row .five.columns.alpha %strong= t('admin.bill_address') @@ -53,7 +53,7 @@ .five.columns.alpha %h3= t('.products') .eleven.columns.omega - %input#edit-products{ type: "button", value: t(:edit), ng: { click: "setView('products')" } } + %input#edit-products{ "type" => "button", "value" => t(:edit), "ng-click" => "setView('products')" } .row %table#subscription-line-items.admin-subscription-review-subscription-line-items %colgroup @@ -69,10 +69,10 @@ %th.total %span= t(:total) %tbody - %tr.item{ id: "sli_{{$index}}", ng: { repeat: "item in subscription.subscription_line_items | filter:{ _destroy: '!true' }", class: { even: 'even', odd: 'odd' } } } + %tr.item{ "id" => "sli_{{$index}}", "ng-repeat" => "item in subscription.subscription_line_items | filter:{ _destroy: '!true' }", "ng-class-even" => 'even', "ng-class-odd" => 'odd' } %td .description {{ item.description }} - .not-in-open-and-upcoming-order-cycles-warning{ ng: { if: '!item.in_open_and_upcoming_order_cycles' } } + .not-in-open-and-upcoming-order-cycles-warning{ "ng-if" => '!item.in_open_and_upcoming_order_cycles' } = t(".no_open_or_upcoming_order_cycle") %td.price.align-center {{ item.price_estimate | localizeCurrency }} %td.quantity {{ item.quantity }} diff --git a/app/views/admin/subscriptions/_subscription_line_items.html.haml b/app/views/admin/subscriptions/_subscription_line_items.html.haml index 561cc76996..1423c1f490 100644 --- a/app/views/admin/subscriptions/_subscription_line_items.html.haml +++ b/app/views/admin/subscriptions/_subscription_line_items.html.haml @@ -14,17 +14,17 @@ %span= t(:total) %th.orders-actions.actions %tbody - %tr.item{ id: "sli_{{$index}}", ng: { repeat: "item in subscription.subscription_line_items | filter:{ _destroy: '!true' }", class: { even: 'even', odd: 'odd' } } } + %tr.item{ "id" => "sli_{{$index}}", "ng-repeat" => "item in subscription.subscription_line_items | filter:{ _destroy: '!true' }", "ng-class-even" => 'even', "ng-class-odd" => 'odd' } %td .description {{ item.description }} - .not-in-open-and-upcoming-order-cycles-warning{ ng: { if: '!item.in_open_and_upcoming_order_cycles' } } + .not-in-open-and-upcoming-order-cycles-warning{ "ng-if" => '!item.in_open_and_upcoming_order_cycles' } = t(".not_in_open_and_upcoming_order_cycles_warning") %td.price.align-center {{ item.price_estimate | localizeCurrency }} %td.quantity - %input{ name: 'quantity', type: 'number', min: 0, ng: { model: 'item.quantity' } } + %input{ "name" => 'quantity', "type" => 'number', "min" => 0, "ng-model" => 'item.quantity' } %td.total.align-center {{ (item.price_estimate * item.quantity) | localizeCurrency }} %td.actions - %a.delete-item.icon-trash.no-text{ ng: { click: 'removeSubscriptionLineItem(item)'}, :href => "javascript:void(0)" } + %a.delete-item.icon-trash.no-text{ "href" => "javascript:void(0)", "ng-click" => 'removeSubscriptionLineItem(item)' } %tbody#subtotal.no-border-top %tr#subtotal-row %td{:colspan => "3"} @@ -34,7 +34,7 @@ %td.total.align-center %span#order_subtotal {{ subscription.estimatedSubtotal() | localizeCurrency }} %td.actions - %tbody#fees.no-border-top{ ng: { show: "subscription.estimatedFees() > 0" } } + %tbody#fees.no-border-top{ "ng-show" => "subscription.estimatedFees() > 0" } %tr#fees-row %td{:colspan => "3"} %b diff --git a/app/views/admin/subscriptions/_table.html.haml b/app/views/admin/subscriptions/_table.html.haml index 4f45080694..507fa4331e 100644 --- a/app/views/admin/subscriptions/_table.html.haml +++ b/app/views/admin/subscriptions/_table.html.haml @@ -1,7 +1,7 @@ = render 'products_panel' = render 'orders_panel' -%table.index#subscriptions{ ng: { cloak: true, show: 'shop_id && !RequestMonitor.loading && filteredSubscriptions.length > 0' } } +%table.index#subscriptions{ "ng-cloak" => true, "ng-show" => 'shop_id && !RequestMonitor.loading && filteredSubscriptions.length > 0' } %col.customer{ width: "20%", 'ng-show' => 'columns.customer.visible' } %col.schedule{ width: "20%", 'ng-show' => 'columns.schedule.visible' } %col.items{ width: "10%", 'ng-show' => 'columns.items.visible' } @@ -16,47 +16,47 @@ %tr -# %th.bulk -# %input{ :type => "checkbox", :name => 'toggle_bulk', 'ng-click' => 'toggleAllCheckboxes()', 'ng-checked' => "allBoxesChecked()" } - %th.customer{ ng: { show: 'columns.customer.visible' } } + %th.customer{ "ng-show" => 'columns.customer.visible' } = t('admin.customer') - %th.schedule{ ng: { show: 'columns.schedule.visible', } } + %th.schedule{ "ng-show" => 'columns.schedule.visible' } = t('admin.schedule') - %th.items{ ng: { show: 'columns.items.visible', } } + %th.items{ "ng-show" => 'columns.items.visible' } = t('admin.items') - %th.orders{ ng: { show: 'columns.orders.visible', } } + %th.orders{ "ng-show" => 'columns.orders.visible' } = t('orders') - %th.status{ ng: { show: 'columns.state.visible', } } + %th.status{ "ng-show" => 'columns.state.visible' } = t('admin.status_state') - %th.begins_on{ ng: { show: 'columns.begins_on.visible', } } + %th.begins_on{ "ng-show" => 'columns.begins_on.visible' } = t('admin.begins_on') - %th.ends_on{ ng: { show: 'columns.ends_on.visible', } } + %th.ends_on{ "ng-show" => 'columns.ends_on.visible' } = t('admin.ends_on') - %th.payment_method{ ng: { show: 'columns.payment_method.visible', } } + %th.payment_method{ "ng-show" => 'columns.payment_method.visible' } = t('admin.payment_method') - %th.shipping_method{ ng: { show: 'columns.shipping_method.visible', } } + %th.shipping_method{ "ng-show" => 'columns.shipping_method.visible' } = t('admin.shipping_method') %th.actions   - %tbody.panel-ctrl{ object: 'subscription', ng: { repeat: "subscription in subscriptions | filter:query as filteredSubscriptions track by subscription.id" } } - %tr.subscription{ :id => "so_{{subscription.id}}", ng: { class: { even: "'even'", odd: "'odd'" } } } - %td.customer{ ng: { show: 'columns.customer.visible'}} + %tbody.panel-ctrl{ "object" => 'subscription', "ng-repeat" => "subscription in subscriptions | filter:query as filteredSubscriptions track by subscription.id" } + %tr.subscription{ "id" => "so_{{subscription.id}}", "ng-class-even" => "'even'", "ng-class-odd" => "'odd'" } + %td.customer{ "ng-show" => 'columns.customer.visible' } %span{ "ng-bind": '::subscription.customer_email' } %br %span{ "ng-bind": '::subscription.customer_full_name' } - %td.schedule{ ng: { show: 'columns.schedule.visible', bind: '::subscription.schedule_name' } } - %td.items.panel-toggle{ name: 'products', ng: { show: 'columns.items.visible' } } - %h5{ ng: { bind: 'itemCount(subscription)' } } - %td.orders.panel-toggle{ name: 'orders', ng: { show: 'columns.orders.visible' } } - %h5{ ng: { bind: 'subscription.not_closed_proxy_orders.length' } } - %td.status{ ng: { show: 'columns.state.visible' } } - %span.state{ ng: { class: "subscription.state", bind: "'spree.subscription_state.' + subscription.state | t" } } - %td.begins_on{ ng: { show: 'columns.begins_on.visible', bind: '::subscription.begins_at' } } - %td.ends_on{ ng: { show: 'columns.ends_on.visible', bind: '::subscription.ends_at' } } - %td.payment_method{ ng: { show: 'columns.payment_method.visible', bind: '::paymentMethodsByID[subscription.payment_method_id].name' } } - %td.shipping_method{ ng: { show: 'columns.shipping_method.visible', bind: '::shippingMethodsByID[subscription.shipping_method_id].name' } } + %td.schedule{ "ng-show" => 'columns.schedule.visible', "ng-bind" => '::subscription.schedule_name' } + %td.items.panel-toggle{ "name" => 'products', "ng-show" => 'columns.items.visible' } + %h5{ "ng-bind" => 'itemCount(subscription)' } + %td.orders.panel-toggle{ "name" => 'orders', "ng-show" => 'columns.orders.visible' } + %h5{ "ng-bind" => 'subscription.not_closed_proxy_orders.length' } + %td.status{ "ng-show" => 'columns.state.visible' } + %span.state{ "ng-class" => "subscription.state", "ng-bind" => "'spree.subscription_state.' + subscription.state | t" } + %td.begins_on{ "ng-show" => 'columns.begins_on.visible', "ng-bind" => '::subscription.begins_at' } + %td.ends_on{ "ng-show" => 'columns.ends_on.visible', "ng-bind" => '::subscription.ends_at' } + %td.payment_method{ "ng-show" => 'columns.payment_method.visible', "ng-bind" => '::paymentMethodsByID[subscription.payment_method_id].name' } + %td.shipping_method{ "ng-show" => 'columns.shipping_method.visible', "ng-bind" => '::shippingMethodsByID[subscription.shipping_method_id].name' } %td.actions - %a.edit-subscription.icon-edit.no-text{ ng: { href: '{{subscription.edit_path}}'}, 'ofn-with-tip' => t('.edit_subscription') } - %a.pause-subscription.icon-pause.no-text{ ng: { click: 'subscription.pause()', hide: '!!subscription.paused_at' }, 'ofn-with-tip' => t('.pause_subscription') , href: 'javascript:void(0)' } - %a.unpause-subscription.icon-play.no-text{ ng: { click: 'subscription.unpause()', show: '!!subscription.paused_at' }, 'ofn-with-tip' => t('.unpause_subscription') , href: 'javascript:void(0)' } - %a.cancel-subscription.icon-remove.no-text{ ng: { click: 'subscription.cancel()', hide: '!!subscription.canceled_at'}, 'ofn-with-tip' => t('.cancel_subscription') , href: 'javascript:void(0)' } + %a.edit-subscription.icon-edit.no-text{ "ofn-with-tip" => t('.edit_subscription'), "ng-href" => '{{subscription.edit_path}}' } + %a.pause-subscription.icon-pause.no-text{ "ofn-with-tip" => t('.pause_subscription'), "href" => 'javascript:void(0)', "ng-click" => 'subscription.pause()', "ng-hide" => '!!subscription.paused_at' } + %a.unpause-subscription.icon-play.no-text{ "ofn-with-tip" => t('.unpause_subscription'), "href" => 'javascript:void(0)', "ng-click" => 'subscription.unpause()', "ng-show" => '!!subscription.paused_at' } + %a.cancel-subscription.icon-remove.no-text{ "ofn-with-tip" => t('.cancel_subscription'), "href" => 'javascript:void(0)', "ng-click" => 'subscription.cancel()', "ng-hide" => '!!subscription.canceled_at' } %tr.panel-row{ object: "subscription", panels: "{products: 'subscription_products', orders: 'proxy_orders'}" } diff --git a/app/views/admin/subscriptions/_wizard_progress.html.haml b/app/views/admin/subscriptions/_wizard_progress.html.haml index d8f381247b..b07660ef9c 100644 --- a/app/views/admin/subscriptions/_wizard_progress.html.haml +++ b/app/views/admin/subscriptions/_wizard_progress.html.haml @@ -1,3 +1,3 @@ %ul.wizard-progress - %li{ ng: { repeat: "step in ['details','address','products','review']", class: '{current: view==step}' } } + %li{ "ng-repeat" => "step in ['details','address','products','review']", "ng-class" => '{current: view==step}' } {{ stepTitleFor(step) }} diff --git a/app/views/admin/subscriptions/edit.html.haml b/app/views/admin/subscriptions/edit.html.haml index 51b4c40045..13706651d8 100644 --- a/app/views/admin/subscriptions/edit.html.haml +++ b/app/views/admin/subscriptions/edit.html.haml @@ -4,7 +4,7 @@ -# - content_for :page_actions do -# %li= button_link_to "Back to subscriptions list", main_app.admin_subscriptions_path, icon: 'icon-arrow-left' -%div{ ng: { app: 'admin.subscriptions', controller: 'SubscriptionController', cloak: true } } +%div{ "ng-app" => 'admin.subscriptions', "ng-controller" => 'SubscriptionController', "ng-cloak" => true } = render 'data' = render 'order_update_issues_dialog' = render 'form' diff --git a/app/views/admin/subscriptions/index.html.haml b/app/views/admin/subscriptions/index.html.haml index 3e0ebebd90..464acf0530 100644 --- a/app/views/admin/subscriptions/index.html.haml +++ b/app/views/admin/subscriptions/index.html.haml @@ -15,7 +15,7 @@ = render 'data' = render 'order_update_issues_dialog' -%div.margin-bottom-50{ ng: { controller: 'SubscriptionsController' } } +%div.margin-bottom-50{ "ng-controller" => 'SubscriptionsController' } %save-bar{ dirty: "false", persist: "false" } = render 'filters' = render 'controls' diff --git a/app/views/admin/subscriptions/new.html.haml b/app/views/admin/subscriptions/new.html.haml index 6ac3749982..288926d83f 100644 --- a/app/views/admin/subscriptions/new.html.haml +++ b/app/views/admin/subscriptions/new.html.haml @@ -6,7 +6,7 @@ -# - content_for :page_actions do -# %li= button_link_to "Back to subscriptions list", main_app.admin_subscriptions_path, icon: 'icon-arrow-left' -%div{ ng: { app: 'admin.subscriptions', controller: 'SubscriptionController', cloak: true } } +%div{ "ng-app" => 'admin.subscriptions', "ng-controller" => 'SubscriptionController', "ng-cloak" => true } = render 'data' = render 'wizard_progress' = render 'order_update_issues_dialog' diff --git a/app/views/admin/variant_overrides/_controls.html.haml b/app/views/admin/variant_overrides/_controls.html.haml index 1f407a4b35..b7411c850e 100644 --- a/app/views/admin/variant_overrides/_controls.html.haml +++ b/app/views/admin/variant_overrides/_controls.html.haml @@ -1,15 +1,15 @@ -%hr.divider.sixteen.columns.alpha.omega{ ng: { show: 'hub_id && products.length > 0' } } -.controls.sixteen.columns.alpha.omega{ ng: { show: 'hub_id && products.length > 0' } } +%hr.divider.sixteen.columns.alpha.omega{ "ng-show" => 'hub_id && products.length > 0' } +.controls.sixteen.columns.alpha.omega{ "ng-show" => 'hub_id && products.length > 0' } .eight.columns.alpha = render 'admin/shared/bulk_actions_dropdown' = render 'admin/shared/views_dropdown' - %span.text-big.with-tip.icon-question-sign{ ng: { show: 'views.inventory.visible' } , data: { powertip: "#{t('admin.variant_overrides.index.inventory_powertip')}" } } - %span.text-big.with-tip.icon-question-sign{ ng: { show: 'views.hidden.visible' } , data: { powertip: "#{t('admin.variant_overrides.index.hidden_powertip')}" } } - %span.text-big.with-tip.icon-question-sign{ ng: { show: 'views.new.visible' } , data: { powertip: "#{t('admin.variant_overrides.index.new_powertip')}" } } + %span.text-big.with-tip.icon-question-sign{ "ng-show" => 'views.inventory.visible', "data-powertip" => "#{t('admin.variant_overrides.index.inventory_powertip')}" } + %span.text-big.with-tip.icon-question-sign{ "ng-show" => 'views.hidden.visible', "data-powertip" => "#{t('admin.variant_overrides.index.hidden_powertip')}" } + %span.text-big.with-tip.icon-question-sign{ "ng-show" => 'views.new.visible', "data-powertip" => "#{t('admin.variant_overrides.index.new_powertip')}" } .four.columns   - .four.columns.omega{ ng: { show: 'views.new.visible' } } - %button.fullwidth{ type: 'button', ng: { click: "selectView('inventory')" } } + .four.columns.omega{ "ng-show" => 'views.new.visible' } + %button.fullwidth{ "type" => 'button', "ng-click" => "selectView('inventory')" } %i.icon-chevron-left = t('.back_to_my_inventory') - .four.columns.omega{ng: { show: 'views.inventory.visible' } } + .four.columns.omega{ "ng-show" => 'views.inventory.visible' } %columns-dropdown{ action: "#{controller_name}_#{action_name}" } diff --git a/app/views/admin/variant_overrides/_filters.html.haml b/app/views/admin/variant_overrides/_filters.html.haml index bafb413ae5..a8cb0f744b 100644 --- a/app/views/admin/variant_overrides/_filters.html.haml +++ b/app/views/admin/variant_overrides/_filters.html.haml @@ -1,20 +1,20 @@ .filters.sixteen.columns.alpha.omega .filter.four.columns.alpha - %label{for: 'query', ng: {class: '{disabled: !hub_id}'} }=t('admin.quick_search') + %label{ "for" => 'query', "ng-class" => '{disabled: !hub_id}' }=t('admin.quick_search') %br - %input.fullwidth{type: "text", id: 'query', ng: {model: 'query', disabled: '!hub_id'} } + %input.fullwidth{ "type" => "text", "id" => 'query', "ng-model" => 'query', "ng-disabled" => '!hub_id' } .filter_select.three.columns - %label{for: 'hub_id', ng: {bind: "hub_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } } + %label{ "for" => 'hub_id', "ng-bind" => "hub_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } %br - %select.select2.fullwidth#hub_id{name: 'hub_id', ng: {model: 'hub_id', options: 'hub.id as hub.name for (id, hub) in hubs' } } + %select.select2.fullwidth#hub_id{ "name" => 'hub_id', "ng-model" => 'hub_id', "ng-options" => 'hub.id as hub.name for (id, hub) in hubs' } .filter_select.three.columns - %label{for: 'producer_filter', ng: {class: '{disabled: !hub_id}'} }=t('admin.producer') + %label{ "for" => 'producer_filter', "ng-class" => '{disabled: !hub_id}' }=t('admin.producer') %br - %input.ofn-select2.fullwidth{id: 'producer_filter', type: 'number', data: 'producers', blank: "{id: 0, name: '#{t(:all)}'}", ng: {model: 'producerFilter', disabled: '!hub_id' } } + %input.ofn-select2.fullwidth{ "id" => 'producer_filter', "type" => 'number', "data" => 'producers', "blank" => "{id: 0, name: '#{t(:all)}'}", "ng-model" => 'producerFilter', "ng-disabled" => '!hub_id' } .filter_select.three.columns - %label{ :for => 'import_date_filter', ng: {class: '{disabled: !hub_id}'} } #{t('admin.variant_overrides.index.import_date')} + %label{ "for" => 'import_date_filter', "ng-class" => '{disabled: !hub_id}' } #{t('admin.variant_overrides.index.import_date')} %br - %select.fullwidth{id: 'import_date_filter', 'ofn-select2-min-search' => 5, ng: {model: 'importDateFilter', options: 'date.id as date.name for date in import_dates', disabled: '!hub_id', init: "import_dates = #{@import_dates}"} } + %select.fullwidth{ "id" => 'import_date_filter', "ofn-select2-min-search" => 5, "ng-model" => 'importDateFilter', "ng-options" => 'date.id as date.name for date in import_dates', "ng-disabled" => '!hub_id', "ng-init" => "import_dates = #{@import_dates}" } %options{value: '0', selected: 'selected'} #{t(:all)} -# .filter_select{ :class => "three columns" } -# %label{ :for => 'distributor_filter' }Hub @@ -27,4 +27,4 @@ .filter_clear.three.columns.omega %label{ :for => 'clear_all_filters' } %br - %input.red.fullwidth{ :type => 'button', :id => 'clear_all_filters', :value => "#{t('admin.clear_all')}", ng: { click: "resetSelectFilters()", disabled: '!hub_id'} } + %input.red.fullwidth{ "type" => 'button', "id" => 'clear_all_filters', "value" => "#{t('admin.clear_all')}", "ng-click" => "resetSelectFilters()", "ng-disabled" => '!hub_id' } diff --git a/app/views/admin/variant_overrides/_hidden_products.html.haml b/app/views/admin/variant_overrides/_hidden_products.html.haml index 38f144b479..440b2040e0 100644 --- a/app/views/admin/variant_overrides/_hidden_products.html.haml +++ b/app/views/admin/variant_overrides/_hidden_products.html.haml @@ -1,5 +1,5 @@ -%div{ ng: { show: 'views.hidden.visible' } } - %table#hidden-products{ ng: { show: 'filteredProducts.length > 0' } } +%div{ "ng-show" => 'views.hidden.visible' } + %table#hidden-products{ "ng-show" => 'filteredProducts.length > 0' } %col.producer{ width: "20%" } %col.product{ width: "20%" } %col.variant{ width: "20%" } @@ -10,13 +10,13 @@ %th.product=t('admin.product') %th.variant=t('admin.variant') %th.add=t('admin.variant_overrides.index.add') - %tbody{ ng: { repeat: 'product in filteredProducts | limitTo:productLimit' } } - %tr{ id: "v_{{variant.id}}", ng: { repeat: 'variant in product.variants | inventoryVariants:hub_id:views' } } - %td.producer{ ng: { bind: '::producersByID[product.producer_id].name'} } - %td.product{ ng: { bind: '::product.name'} } + %tbody{ "ng-repeat" => 'product in filteredProducts | limitTo:productLimit' } + %tr{ "id" => "v_{{variant.id}}", "ng-repeat" => 'variant in product.variants | inventoryVariants:hub_id:views' } + %td.producer{ "ng-bind" => '::producersByID[product.producer_id].name' } + %td.product{ "ng-bind" => '::product.name' } %td.variant - %span{ ng: { bind: '::variant.display_name || ""'} } - .variant-override-unit{ ng: { bind: '::variant.unit_to_display'} } + %span{ "ng-bind" => '::variant.display_name || ""' } + .variant-override-unit{ "ng-bind" => '::variant.unit_to_display' } %td.add - %button.fullwidth.icon-plus{ ng: { click: "setVisibility(hub_id,variant.id,true)" } } + %button.fullwidth.icon-plus{ "ng-click" => "setVisibility(hub_id,variant.id,true)" } = t('admin.variant_overrides.index.add') diff --git a/app/views/admin/variant_overrides/_loading_flash.html.haml b/app/views/admin/variant_overrides/_loading_flash.html.haml index 0095c543e8..fdf2bb76d2 100644 --- a/app/views/admin/variant_overrides/_loading_flash.html.haml +++ b/app/views/admin/variant_overrides/_loading_flash.html.haml @@ -1,4 +1,4 @@ -%div.sixteen.columns.alpha.omega#loading{ ng: { cloak: true, if: 'hub_id && products.length == 0 && RequestMonitor.loading' } } +%div.sixteen.columns.alpha.omega#loading{ "ng-cloak" => true, "ng-if" => 'hub_id && products.length == 0 && RequestMonitor.loading' } = render partial: "components/admin_spinner" %h1 = t('.loading_inventory') diff --git a/app/views/admin/variant_overrides/_new_products.html.haml b/app/views/admin/variant_overrides/_new_products.html.haml index 731535d06d..88cfd798a4 100644 --- a/app/views/admin/variant_overrides/_new_products.html.haml +++ b/app/views/admin/variant_overrides/_new_products.html.haml @@ -1,4 +1,4 @@ -%table#new-products{ ng: { show: 'views.new.visible && filteredProducts.length > 0' } } +%table#new-products{ "ng-show" => 'views.new.visible && filteredProducts.length > 0' } %col.producer{ width: "20%" } %col.product{ width: "20%" } %col.variant{ width: "20%" } @@ -11,16 +11,16 @@ %th.variant=t('admin.variant') %th.add=t('admin.variant_overrides.index.add') %th.hide=t('admin.variant_overrides.index.hide') - %tbody{ ng: { repeat: 'product in filteredProducts | limitTo:productLimit' } } - %tr{ id: "v_{{variant.id}}", ng: { repeat: 'variant in product.variants | inventoryVariants:hub_id:views' } } - %td.producer{ ng: { bind: { html: '::producersByID[product.producer_id].name'} } } - %td.product{ ng: { bind: '::product.name'} } + %tbody{ "ng-repeat" => 'product in filteredProducts | limitTo:productLimit' } + %tr{ "id" => "v_{{variant.id}}", "ng-repeat" => 'variant in product.variants | inventoryVariants:hub_id:views' } + %td.producer{ "ng-bind-html" => '::producersByID[product.producer_id].name' } + %td.product{ "ng-bind" => '::product.name' } %td.variant - %span{ ng: { bind: '::variant.display_name || ""'} } - .variant-override-unit{ ng: { bind: '::variant.unit_to_display'} } + %span{ "ng-bind" => '::variant.display_name || ""' } + .variant-override-unit{ "ng-bind" => '::variant.unit_to_display' } %td.add - %button.fullwidth.icon-plus{ ng: { click: "setVisibility(hub_id,variant.id,true)" } } + %button.fullwidth.icon-plus{ "ng-click" => "setVisibility(hub_id,variant.id,true)" } = t('admin.variant_overrides.index.add') %td.hide - %button.fullwidth.icon-remove{ ng: { click: "setVisibility(hub_id,variant.id,false)" } } + %button.fullwidth.icon-remove{ "ng-click" => "setVisibility(hub_id,variant.id,false)" } = t('admin.variant_overrides.index.hide') diff --git a/app/views/admin/variant_overrides/_new_products_alert.html.haml b/app/views/admin/variant_overrides/_new_products_alert.html.haml index 385616d817..f36aee06f3 100644 --- a/app/views/admin/variant_overrides/_new_products_alert.html.haml +++ b/app/views/admin/variant_overrides/_new_products_alert.html.haml @@ -1,5 +1,3 @@ -%div{ ng: { show: '(newProductCount = (products | hubPermissions:hubPermissions:hub_id | newInventoryProducts:hub_id).length) > 0 && !views.new.visible && !alertDismissed' } } +%div{ "ng-show" => '(newProductCount = (products | hubPermissions:hubPermissions:hub_id | newInventoryProducts:hub_id).length) > 0 && !views.new.visible && !alertDismissed' } %hr.divider.sixteen.columns.alpha.omega - %alert-row{ message: "#{t('admin.variant_overrides.index.new_products_alert_message', new_product_count: '{{ newProductCount }}')}", - dismissed: "alertDismissed", - button: { text: "#{t('admin.variant_overrides.index.review_now')}", action: "selectView('new')" } } + %alert-row{ "message" => "#{t('admin.variant_overrides.index.new_products_alert_message', new_product_count: '{{ newProductCount }}')}", "dismissed" => "alertDismissed", "button-text" => "#{t('admin.variant_overrides.index.review_now')}", "button-action" => "selectView('new')" } diff --git a/app/views/admin/variant_overrides/_no_results.html.haml b/app/views/admin/variant_overrides/_no_results.html.haml index 7ec4e68f0e..3267673102 100644 --- a/app/views/admin/variant_overrides/_no_results.html.haml +++ b/app/views/admin/variant_overrides/_no_results.html.haml @@ -1,7 +1,7 @@ -%div.text-big.no-results{ ng: { show: 'hub_id && products.length > 0 && filteredProducts.length == 0' } } - %span{ ng: { show: 'views.inventory.visible && !filtersApplied()' } }=t('admin.variant_overrides.index.currently_empty') - %span{ ng: { show: 'views.inventory.visible && filtersApplied()' } }=t('admin.variant_overrides.index.no_matching_products') - %span{ ng: { show: 'views.hidden.visible && !filtersApplied()' } }=t('admin.variant_overrides.index.no_hidden_products') - %span{ ng: { show: 'views.hidden.visible && filtersApplied()' } }=t('admin.variant_overrides.index.no_matching_hidden_products') - %span{ ng: { show: 'views.new.visible && !filtersApplied()' } }=t('admin.variant_overrides.index.no_new_products') - %span{ ng: { show: 'views.new.visible && filtersApplied()' } }=t('admin.variant_overrides.index.no_matching_new_products') +%div.text-big.no-results{ "ng-show" => 'hub_id && products.length > 0 && filteredProducts.length == 0' } + %span{ "ng-show" => 'views.inventory.visible && !filtersApplied()' }=t('admin.variant_overrides.index.currently_empty') + %span{ "ng-show" => 'views.inventory.visible && filtersApplied()' }=t('admin.variant_overrides.index.no_matching_products') + %span{ "ng-show" => 'views.hidden.visible && !filtersApplied()' }=t('admin.variant_overrides.index.no_hidden_products') + %span{ "ng-show" => 'views.hidden.visible && filtersApplied()' }=t('admin.variant_overrides.index.no_matching_hidden_products') + %span{ "ng-show" => 'views.new.visible && !filtersApplied()' }=t('admin.variant_overrides.index.no_new_products') + %span{ "ng-show" => 'views.new.visible && filtersApplied()' }=t('admin.variant_overrides.index.no_matching_new_products') diff --git a/app/views/admin/variant_overrides/_products.html.haml b/app/views/admin/variant_overrides/_products.html.haml index e8d239b803..d50a99e9b5 100644 --- a/app/views/admin/variant_overrides/_products.html.haml +++ b/app/views/admin/variant_overrides/_products.html.haml @@ -1,32 +1,32 @@ -%form{ name: 'variant_overrides_form', ng: { show: "views.inventory.visible" } } +%form{ "name" => 'variant_overrides_form', "ng-show" => "views.inventory.visible" } %save-bar{ dirty: "customers_form.$dirty", persist: "false" } - %input.red{ type: "button", value: t(:save_changes), ng: { click: "update()", disabled: "!variant_overrides_form.$dirty" } } + %input.red{ "type" => "button", "value" => t(:save_changes), "ng-click" => "update()", "ng-disabled" => "!variant_overrides_form.$dirty" } %table.index.bulk#variant-overrides - %col.producer{ width: "20%", ng: { show: 'columns.producer.visible' } } - %col.product{ width: "20%", ng: { show: 'columns.product.visible' } } - %col.sku{ width: "20%", ng: { show: 'columns.sku.visible' } } - %col.price{ width: "10%", ng: { show: 'columns.price.visible' } } - %col.on_hand{ width: "10%", ng: { show: 'columns.on_hand.visible' } } - %col.on_demand{ width: "10%", ng: { show: 'columns.on_demand.visible' } } - %col.reset{ width: "1%", ng: { show: 'columns.reset.visible' } } - %col.reset{ width: "15%", ng: { show: 'columns.reset.visible' } } - %col.inheritance{ width: "5%", ng: { show: 'columns.inheritance.visible' } } - %col.tags{ width: "30%", ng: { show: 'columns.tags.visible' } } - %col.visibility{ width: "10%", ng: { show: 'columns.visibility.visible' } } - %col.visibility{ width: "10%", ng: { show: 'columns.import_date.visible' } } + %col.producer{ "width" => "20%", "ng-show" => 'columns.producer.visible' } + %col.product{ "width" => "20%", "ng-show" => 'columns.product.visible' } + %col.sku{ "width" => "20%", "ng-show" => 'columns.sku.visible' } + %col.price{ "width" => "10%", "ng-show" => 'columns.price.visible' } + %col.on_hand{ "width" => "10%", "ng-show" => 'columns.on_hand.visible' } + %col.on_demand{ "width" => "10%", "ng-show" => 'columns.on_demand.visible' } + %col.reset{ "width" => "1%", "ng-show" => 'columns.reset.visible' } + %col.reset{ "width" => "15%", "ng-show" => 'columns.reset.visible' } + %col.inheritance{ "width" => "5%", "ng-show" => 'columns.inheritance.visible' } + %col.tags{ "width" => "30%", "ng-show" => 'columns.tags.visible' } + %col.visibility{ "width" => "10%", "ng-show" => 'columns.visibility.visible' } + %col.visibility{ "width" => "10%", "ng-show" => 'columns.import_date.visible' } %thead - %tr{ ng: { controller: "ColumnsCtrl" } } - %th.producer{ ng: { show: 'columns.producer.visible' } }=t('admin.producer') - %th.product{ ng: { show: 'columns.product.visible' } }=t('admin.product') - %th.sku{ ng: { show: 'columns.sku.visible' } }=t('admin.sku') - %th.price{ ng: { show: 'columns.price.visible' } }=t('admin.price') - %th.on_hand{ ng: { show: 'columns.on_hand.visible' } }=t('admin.on_hand') - %th.on_demand{ ng: { show: 'columns.on_demand.visible' } }=t('admin.on_demand?') - %th.reset{ colspan: 2, ng: { show: 'columns.reset.visible' } }=t('admin.variant_overrides.index.enable_reset?') - %th.inheritance{ ng: { show: 'columns.inheritance.visible' } }=t('admin.variant_overrides.index.inherit?') - %th.tags{ ng: { show: 'columns.tags.visible' } }=t('admin.tags') - %th.visibility{ ng: { show: 'columns.visibility.visible' } }=t('admin.variant_overrides.index.hide') - %th.import_date{ ng: { show: 'columns.import_date.visible' } }=t('admin.variant_overrides.index.import_date') - %tbody{ ng: {repeat: 'product in filteredProducts = (products | hubPermissions:hubPermissions:hub_id | inventoryProducts:hub_id:views | attrFilter:{producer_id:producerFilter} | importDate:hub_id:importDateFilter | filter:query) | limitTo:productLimit' } } + %tr{ "ng-controller" => "ColumnsCtrl" } + %th.producer{ "ng-show" => 'columns.producer.visible' }=t('admin.producer') + %th.product{ "ng-show" => 'columns.product.visible' }=t('admin.product') + %th.sku{ "ng-show" => 'columns.sku.visible' }=t('admin.sku') + %th.price{ "ng-show" => 'columns.price.visible' }=t('admin.price') + %th.on_hand{ "ng-show" => 'columns.on_hand.visible' }=t('admin.on_hand') + %th.on_demand{ "ng-show" => 'columns.on_demand.visible' }=t('admin.on_demand?') + %th.reset{ "colspan" => 2, "ng-show" => 'columns.reset.visible' }=t('admin.variant_overrides.index.enable_reset?') + %th.inheritance{ "ng-show" => 'columns.inheritance.visible' }=t('admin.variant_overrides.index.inherit?') + %th.tags{ "ng-show" => 'columns.tags.visible' }=t('admin.tags') + %th.visibility{ "ng-show" => 'columns.visibility.visible' }=t('admin.variant_overrides.index.hide') + %th.import_date{ "ng-show" => 'columns.import_date.visible' }=t('admin.variant_overrides.index.import_date') + %tbody{ "ng-repeat" => 'product in filteredProducts = (products | hubPermissions:hubPermissions:hub_id | inventoryProducts:hub_id:views | attrFilter:{producer_id:producerFilter} | importDate:hub_id:importDateFilter | filter:query) | limitTo:productLimit' } = render 'admin/variant_overrides/products_product' = render 'admin/variant_overrides/products_variants' diff --git a/app/views/admin/variant_overrides/_products_product.html.haml b/app/views/admin/variant_overrides/_products_product.html.haml index 312273d4d2..070abddd87 100644 --- a/app/views/admin/variant_overrides/_products_product.html.haml +++ b/app/views/admin/variant_overrides/_products_product.html.haml @@ -1,12 +1,12 @@ %tr.product.even - %td.producer{ ng: { show: 'columns.producer.visible', bind: { html: '::producersByID[product.producer_id].name'} } } - %td.product{ ng: { show: 'columns.product.visible', bind: '::product.name'} } - %td.sku{ ng: { show: 'columns.sku.visible' } } - %td.price{ ng: { show: 'columns.price.visible' } } - %td.on_hand{ ng: { show: 'columns.on_hand.visible' } } - %td.on_demand{ ng: { show: 'columns.on_demand.visible' } } - %td.reset{ colspan: 2, ng: { show: 'columns.reset.visible' } } - %td.inheritance{ ng: { show: 'columns.inheritance.visible' } } - %td.tags{ ng: { show: 'columns.tags.visible' } } - %td.visibility{ ng: { show: 'columns.visibility.visible' } } - %td.import_date{ ng: { show: 'columns.import_date.visible' } } + %td.producer{ "ng-show" => 'columns.producer.visible', "ng-bind-html" => '::producersByID[product.producer_id].name' } + %td.product{ "ng-show" => 'columns.product.visible', "ng-bind" => '::product.name' } + %td.sku{ "ng-show" => 'columns.sku.visible' } + %td.price{ "ng-show" => 'columns.price.visible' } + %td.on_hand{ "ng-show" => 'columns.on_hand.visible' } + %td.on_demand{ "ng-show" => 'columns.on_demand.visible' } + %td.reset{ "colspan" => 2, "ng-show" => 'columns.reset.visible' } + %td.inheritance{ "ng-show" => 'columns.inheritance.visible' } + %td.tags{ "ng-show" => 'columns.tags.visible' } + %td.visibility{ "ng-show" => 'columns.visibility.visible' } + %td.import_date{ "ng-show" => 'columns.import_date.visible' } diff --git a/app/views/admin/variant_overrides/_products_variants.html.haml b/app/views/admin/variant_overrides/_products_variants.html.haml index 33f9fb9a61..8245745a5c 100644 --- a/app/views/admin/variant_overrides/_products_variants.html.haml +++ b/app/views/admin/variant_overrides/_products_variants.html.haml @@ -1,27 +1,27 @@ -%tr.variant{ id: "v_{{variant.id}}", ng: {repeat: 'variant in product.variants | inventoryVariants:hub_id:views'} } - %td.producer{ ng: { show: 'columns.producer.visible' } } - %td.product{ ng: { show: 'columns.product.visible' } } - %span{ ng: { bind: '::variant.display_name || ""'} } - .variant-override-unit{ ng: { bind: '::variant.unit_to_display'} } - %td.sku{ ng: { show: 'columns.sku.visible' } } - %input{name: 'variant-overrides-{{ variant.id }}-sku', type: 'text', ng: {model: 'variantOverrides[hub_id][variant.id].sku'}, placeholder: '{{ variant.sku }}', 'ofn-track-variant-override' => 'sku'} - %td.price{ ng: { show: 'columns.price.visible' } } - %input{name: 'variant-overrides-{{ variant.id }}-price', type: 'text', ng: {model: 'variantOverrides[hub_id][variant.id].price'}, placeholder: '{{ variant.price }}', 'ofn-track-variant-override' => 'price'} - %td.on_hand{ ng: { show: 'columns.on_hand.visible' } } - %input{name: 'variant-overrides-{{ variant.id }}-count_on_hand', type: 'text', ng: { model: 'variantOverrides[hub_id][variant.id].count_on_hand', readonly: 'variantOverrides[hub_id][variant.id].on_demand != false' }, placeholder: '{{ countOnHandPlaceholder(variant, hub_id) }}', 'ofn-track-variant-override' => 'count_on_hand'} - %td.on_demand{ ng: { show: 'columns.on_demand.visible' } } - %select{ name: 'variant-overrides-{{ variant.id }}-on_demand', ng: { model: 'variantOverrides[hub_id][variant.id].on_demand', change: 'updateCountOnHand(variant, hub_id)', options: 'option.value as option.description for option in onDemandOptions' }, 'ofn-track-variant-override' => 'on_demand' } - %td.reset{ ng: { show: 'columns.reset.visible' } } - %input{name: 'variant-overrides-{{ variant.id }}-resettable', type: 'checkbox', ng: {model: 'variantOverrides[hub_id][variant.id].resettable'}, placeholder: '{{ variant.resettable }}', 'ofn-track-variant-override' => 'resettable'} - %td.reset{ ng: { show: 'columns.reset.visible' } } - %input{name: 'variant-overrides-{{ variant.id }}-default_stock', type: 'text', ng: {model: 'variantOverrides[hub_id][variant.id].default_stock'}, placeholder: '{{ variant.default_stock ? variant.default_stock : ("admin.variant_overrides.index.default_stock" | t)}}', 'ofn-track-variant-override' => 'default_stock'} - %td.inheritance{ ng: { show: 'columns.inheritance.visible' } } - %input.field{ :type => 'checkbox', name: 'variant-overrides-{{ variant.id }}-inherit', ng: { model: 'inherit' }, 'track-inheritance' => true } - %td.tags{ ng: { show: 'columns.tags.visible' } } +%tr.variant{ "id" => "v_{{variant.id}}", "ng-repeat" => 'variant in product.variants | inventoryVariants:hub_id:views' } + %td.producer{ "ng-show" => 'columns.producer.visible' } + %td.product{ "ng-show" => 'columns.product.visible' } + %span{ "ng-bind" => '::variant.display_name || ""' } + .variant-override-unit{ "ng-bind" => '::variant.unit_to_display' } + %td.sku{ "ng-show" => 'columns.sku.visible' } + %input{ "name" => 'variant-overrides-{{ variant.id }}-sku', "type" => 'text', "placeholder" => '{{ variant.sku }}', "ofn-track-variant-override" => 'sku', "ng-model" => 'variantOverrides[hub_id][variant.id].sku' } + %td.price{ "ng-show" => 'columns.price.visible' } + %input{ "name" => 'variant-overrides-{{ variant.id }}-price', "type" => 'text', "placeholder" => '{{ variant.price }}', "ofn-track-variant-override" => 'price', "ng-model" => 'variantOverrides[hub_id][variant.id].price' } + %td.on_hand{ "ng-show" => 'columns.on_hand.visible' } + %input{ "name" => 'variant-overrides-{{ variant.id }}-count_on_hand', "type" => 'text', "placeholder" => '{{ countOnHandPlaceholder(variant, hub_id) }}', "ofn-track-variant-override" => 'count_on_hand', "ng-model" => 'variantOverrides[hub_id][variant.id].count_on_hand', "ng-readonly" => 'variantOverrides[hub_id][variant.id].on_demand != false' } + %td.on_demand{ "ng-show" => 'columns.on_demand.visible' } + %select{ "name" => 'variant-overrides-{{ variant.id }}-on_demand', "ofn-track-variant-override" => 'on_demand', "ng-model" => 'variantOverrides[hub_id][variant.id].on_demand', "ng-change" => 'updateCountOnHand(variant, hub_id)', "ng-options" => 'option.value as option.description for option in onDemandOptions' } + %td.reset{ "ng-show" => 'columns.reset.visible' } + %input{ "name" => 'variant-overrides-{{ variant.id }}-resettable', "type" => 'checkbox', "placeholder" => '{{ variant.resettable }}', "ofn-track-variant-override" => 'resettable', "ng-model" => 'variantOverrides[hub_id][variant.id].resettable' } + %td.reset{ "ng-show" => 'columns.reset.visible' } + %input{ "name" => 'variant-overrides-{{ variant.id }}-default_stock', "type" => 'text', "placeholder" => '{{ variant.default_stock ? variant.default_stock : ("admin.variant_overrides.index.default_stock" | t)}}', "ofn-track-variant-override" => 'default_stock', "ng-model" => 'variantOverrides[hub_id][variant.id].default_stock' } + %td.inheritance{ "ng-show" => 'columns.inheritance.visible' } + %input.field{ "type" => 'checkbox', "name" => 'variant-overrides-{{ variant.id }}-inherit', "track-inheritance" => true, "ng-model" => 'inherit' } + %td.tags{ "ng-show" => 'columns.tags.visible' } .tag_watcher{ 'track-tag-list' => true } %tags_with_translation{ object: 'variantOverrides[hub_id][variant.id]', form: 'variant_overrides_form' } - %td.visibility{ ng: { show: 'columns.visibility.visible' } } - %button.icon-remove.fullwidth{ :type => 'button', ng: { click: "setVisibility(hub_id,variant.id,false)" } } + %td.visibility{ "ng-show" => 'columns.visibility.visible' } + %button.icon-remove.fullwidth{ "type" => 'button', "ng-click" => "setVisibility(hub_id,variant.id,false)" } = t('admin.variant_overrides.index.hide') - %td.import_date{ ng: { show: 'columns.import_date.visible' } } + %td.import_date{ "ng-show" => 'columns.import_date.visible' } %span {{variantOverrides[hub_id][variant.id].import_date | date:"MMMM dd, yyyy HH:mm"}} diff --git a/app/views/admin/variant_overrides/_show_more.html.haml b/app/views/admin/variant_overrides/_show_more.html.haml index a6414a6d52..5fb2359afd 100644 --- a/app/views/admin/variant_overrides/_show_more.html.haml +++ b/app/views/admin/variant_overrides/_show_more.html.haml @@ -1,4 +1,4 @@ -.text-center{ ng: { show: "filteredProducts.length > productLimit" } } - %input{ type: 'button', value: t(:show_more), ng: { click: 'productLimit = productLimit + 10' } } +.text-center{ "ng-show" => "filteredProducts.length > productLimit" } + %input{ "type" => 'button', "value" => t(:show_more), "ng-click" => 'productLimit = productLimit + 10' } - %input{ type: 'button', value: "#{t(:show_all)} ({{ filteredProducts.length - productLimit }} More)", ng: { click: 'productLimit = filteredProducts.length' } } + %input{ "type" => 'button', "value" => "#{t(:show_all)} ({{ filteredProducts.length - productLimit }} More)", "ng-click" => 'productLimit = filteredProducts.length' } diff --git a/app/views/admin/variant_overrides/index.html.haml b/app/views/admin/variant_overrides/index.html.haml index 16beaad7b9..f64615ab3c 100644 --- a/app/views/admin/variant_overrides/index.html.haml +++ b/app/views/admin/variant_overrides/index.html.haml @@ -1,13 +1,13 @@ = render 'admin/variant_overrides/header' = render 'admin/variant_overrides/data' -.margin-bottom-50{ ng: { app: 'admin.variantOverrides', controller: 'AdminVariantOverridesCtrl', init: 'initialise()' } } +.margin-bottom-50{ "ng-app" => 'admin.variantOverrides', "ng-controller" => 'AdminVariantOverridesCtrl', "ng-init" => 'initialise()' } = render 'admin/variant_overrides/filters' = render 'admin/variant_overrides/new_products_alert' = render 'admin/variant_overrides/loading_flash' = render 'admin/variant_overrides/controls' = render 'admin/variant_overrides/no_results' - %div{ ng: { cloak: true, show: 'hub_id && filteredProducts.length > 0' } } + %div{ "ng-cloak" => true, "ng-show" => 'hub_id && filteredProducts.length > 0' } = render 'admin/variant_overrides/new_products' = render 'admin/variant_overrides/hidden_products' = render 'admin/variant_overrides/products' diff --git a/app/views/enterprises/shop.html.haml b/app/views/enterprises/shop.html.haml index 628f4b8630..13239b7208 100644 --- a/app/views/enterprises/shop.html.haml +++ b/app/views/enterprises/shop.html.haml @@ -17,9 +17,9 @@ - if @shopfront_layout == 'embedded' = render partial: 'shop/blocked_cookies' - .alert-box.changeable-orders-alert.info.animate-show{ ng: { show: "alert.visible && alert.html", cloak: true } } - %span{ ng: { bind: { html: "alert.html" } } } - %a.close{ ng: { click: "alert.close()" } } × + .alert-box.changeable-orders-alert.info.animate-show{ "ng-show" => "alert.visible && alert.html", "ng-cloak" => true } + %span{ "ng-bind-html" => "alert.html" } + %a.close{ "ng-click" => "alert.close()" } × - content_for :order_cycle_form do = render partial: "change_order_cycle" diff --git a/app/views/layouts/_login_modal.html.haml b/app/views/layouts/_login_modal.html.haml index b5fda75568..68d89a6b7e 100644 --- a/app/views/layouts/_login_modal.html.haml +++ b/app/views/layouts/_login_modal.html.haml @@ -5,19 +5,19 @@ %div{ "data-controller": "tabs" } %dl.tabs %dd - %a{ data: { "tabs-target": "tab", "action": "tabs#select" } }= t(:label_login) + %a{ "data-tabs-target" => "tab", "data-action" => "tabs#select" }= t(:label_login) %dd - %a{ data: { "tabs-target": "tab", "action": "tabs#select" } }= t(:label_signup) + %a{ "data-tabs-target" => "tab", "data-action" => "tabs#select" }= t(:label_signup) %dd - %a{ data: { "tabs-target": "tab", "action": "tabs#select" } }= t(:forgot_password) + %a{ "data-tabs-target" => "tab", "data-action" => "tabs#select" }= t(:forgot_password) .tabs-content .content.active - %div{ data: { "tabs-target": "content" } } + %div{ "data-tabs-target" => "content" } = render "layouts/login_tab" - %div{ data: { "tabs-target": "content" } } + %div{ "data-tabs-target" => "content" } = render "layouts/signup_tab" - %div{ data: { "tabs-target": "content" } } + %div{ "data-tabs-target" => "content" } = render "layouts/forgot_tab" %a.close-reveal-modal{ "data-action": "click->login-modal#close" } diff --git a/app/views/producers/_skinny.html.haml b/app/views/producers/_skinny.html.haml index 6e05619d07..d4a3a53357 100644 --- a/app/views/producers/_skinny.html.haml +++ b/app/views/producers/_skinny.html.haml @@ -4,14 +4,14 @@ .row.vertical-align-middle .columns.small-12 %a.is_distributor{"ng-href" => "{{::producer.path}}", "ng-attr-target" => "{{ embedded_layout ? '_blank' : undefined}}", "data-is-link" => "true"} - %i{ng: {class: "::producer.producer_icon_font"}} + %i{ "ng-class" => "::producer.producer_icon_font" } %span.margin-top %strong{"ng-bind" => "::producer.name"} %span.producer-name{"ng-if" => "::!producer.is_distributor" } .row.vertical-align-middle .columns.small-12 - %i{ng: {class: "::producer.producer_icon_font"}} + %i{ "ng-class" => "::producer.producer_icon_font" } %span.margin-top %strong{"ng-bind" => "::producer.name"} diff --git a/app/views/registration/_modal.html.haml b/app/views/registration/_modal.html.haml index 5fa1da9296..a91a3ac8c7 100644 --- a/app/views/registration/_modal.html.haml +++ b/app/views/registration/_modal.html.haml @@ -1,10 +1,10 @@ %script{ type: "text/ng-template", id: "registration.html" } %div#registration-modal{"ng-controller" => "RegistrationCtrl"} - %div{ ng: { show: "currentStep() == 'introduction'" } } + %div{ "ng-show" => "currentStep() == 'introduction'" } %ng-include{ src: "'registration/introduction.html'" } - %div{ ng: { repeat: 'step in steps', show: "currentStep() == step" } } + %div{ "ng-repeat" => 'step in steps', "ng-show" => "currentStep() == step" } %ng-include{ src: "'registration/'+ step + '.html'" } - %div{ ng: { show: "currentStep() == 'finished'" } } + %div{ "ng-show" => "currentStep() == 'finished'" } %ng-include{ src: "'registration/finished.html'" } %a.close-reveal-modal{"ng-click" => "$close()"} diff --git a/app/views/registration/authenticate.html.haml b/app/views/registration/authenticate.html.haml index 4b62d71c7c..6b6b5aa618 100644 --- a/app/views/registration/authenticate.html.haml +++ b/app/views/registration/authenticate.html.haml @@ -9,19 +9,19 @@ %div{ "data-controller": "tabs" } %dl.tabs %dd - %a{ data: { "tabs-target": "tab", "action": "tabs#select" } }= t(:label_signup) + %a{ "data-tabs-target" => "tab", "data-action" => "tabs#select" }= t(:label_signup) %dd - %a{ data: { "tabs-target": "tab", "action": "tabs#select" } }= t(:label_login) + %a{ "data-tabs-target" => "tab", "data-action" => "tabs#select" }= t(:label_login) %dd - %a{ data: { "tabs-target": "tab", "action": "tabs#select" } }= t(:forgot_password) + %a{ "data-tabs-target" => "tab", "data-action" => "tabs#select" }= t(:forgot_password) .tabs-content .content.active - %div{ data: { "tabs-target": "content" } } + %div{ "data-tabs-target" => "content" } = render "layouts/signup_tab" - %div{ data: { "tabs-target": "content" } } + %div{ "data-tabs-target" => "content" } = render "layouts/login_tab" - %div{ data: { "tabs-target": "content" } } + %div{ "data-tabs-target" => "content" } = render "layouts/forgot_tab" %a.close-reveal-modal{ "data-action": "click->login-modal#returnHome" } diff --git a/app/views/registration/steps/_about.html.haml b/app/views/registration/steps/_about.html.haml index 65a688e54b..413e78f10b 100644 --- a/app/views/registration/steps/_about.html.haml +++ b/app/views/registration/steps/_about.html.haml @@ -7,49 +7,49 @@ %h2= t(".headline") %h5 = t(".message") - %span{ ng: { class: "{brick: !enterprise.is_primary_producer, turquoise: enterprise.is_primary_producer}" } } + %span{ "ng-class" => "{brick: !enterprise.is_primary_producer, turquoise: enterprise.is_primary_producer}" } {{ enterprise.name }} - %form{ name: 'about', novalidate: true, ng: { controller: "RegistrationFormCtrl", submit: "selectIfValid('images', about)" } } + %form{ "name" => 'about', "novalidate" => true, "ng-controller" => "RegistrationFormCtrl", "ng-submit" => "selectIfValid('images', about)" } .row .small-12.columns - .alert-box.info{ "ofn-inline-alert" => true, ng: { show: "visible" } } + .alert-box.info{ "ofn-inline-alert" => true, "ng-show" => "visible" } %h6{ "ng-bind" => "'registration.steps.about.success' | t:{enterprise: enterprise.name}" } %span= t(".registration_exit_message") - %a.close{ ng: { click: "close()" } } × + %a.close{ "ng-click" => "close()" } × .small-12.large-8.columns .row .small-12.columns .field %label{ for: 'enterprise_description' }= t(".enterprise_description") - %input.chunky{ id: 'enterprise_description', placeholder: "{{'registration.steps.about.enterprise_description_placeholder' | t}}", ng: { model: 'enterprise.description' } } + %input.chunky{ "id" => 'enterprise_description', "placeholder" => "{{'registration.steps.about.enterprise_description_placeholder' | t}}", "ng-model" => 'enterprise.description' } .row .small-12.columns .field %label{ for: 'enterprise_long_desc' }= t(".enterprise_long_desc") - %textarea.chunky{ id: 'enterprise_long_desc', rows: 6, placeholder: "{{'registration.steps.about.enterprise_long_desc_placeholder' | t}}", ng: { model: 'enterprise.long_description' } } + %textarea.chunky{ "id" => 'enterprise_long_desc', "rows" => 6, "placeholder" => "{{'registration.steps.about.enterprise_long_desc_placeholder' | t}}", "ng-model" => 'enterprise.long_description' } %small{ "ng-bind" => "'registration.steps.about.enterprise_long_desc_length' | t:{num: enterprise.long_description.length}" } .small-12.large-4.columns .row .small-12.columns .field %label{ for: 'enterprise_abn' }= t(".enterprise_abn")+":" - %input.chunky{ id: 'enterprise_abn', placeholder: "{{'registration.steps.about.enterprise_abn_placeholder' | t}}", ng: { model: 'enterprise.abn' } } + %input.chunky{ "id" => 'enterprise_abn', "placeholder" => "{{'registration.steps.about.enterprise_abn_placeholder' | t}}", "ng-model" => 'enterprise.abn' } .row .small-12.columns .field %label{ for: 'enterprise_acn' }= t(".enterprise_acn")+":" - %input.chunky{ id: 'enterprise_acn', placeholder: "{{'registration.steps.about.enterprise_acn_placeholder' | t}}", ng: { model: 'enterprise.acn' } } + %input.chunky{ "id" => 'enterprise_acn', "placeholder" => "{{'registration.steps.about.enterprise_acn_placeholder' | t}}", "ng-model" => 'enterprise.acn' } .row .small-12.columns .field %label{ for: 'enterprise_charges_sales_tax' }= t(:charges_sales_tax) - %input{ id: 'enterprise_charges_sales_tax_true', type: 'radio', name: 'charges_sales_tax', value: 'true', required: true, ng: { model: 'enterprise.charges_sales_tax' } } + %input{ "id" => 'enterprise_charges_sales_tax_true', "type" => 'radio', "name" => 'charges_sales_tax', "value" => 'true', "required" => true, "ng-model" => 'enterprise.charges_sales_tax' } %label{ for: 'enterprise_charges_sales_tax_true' } {{'say_yes' | t}} - %input{ id: 'enterprise_charges_sales_tax_false', type: 'radio', name: 'charges_sales_tax', value: 'false', required: true, ng: { model: 'enterprise.charges_sales_tax' } } + %input{ "id" => 'enterprise_charges_sales_tax_false', "type" => 'radio', "name" => 'charges_sales_tax', "value" => 'false', "required" => true, "ng-model" => 'enterprise.charges_sales_tax' } %label{ for: 'enterprise_charges_sales_tax_false' } {{'say_no' | t}} - %span.error.small-12.columns{ ng: { show: "about.charges_sales_tax.$error.required && submitted" } } + %span.error.small-12.columns{ "ng-show" => "about.charges_sales_tax.$error.required && submitted" } = t(".enterprise_tax_required") .row.buttons.pad-top diff --git a/app/views/registration/steps/_contact.html.haml b/app/views/registration/steps/_contact.html.haml index 370101ada3..944d4cb696 100644 --- a/app/views/registration/steps/_contact.html.haml +++ b/app/views/registration/steps/_contact.html.haml @@ -7,30 +7,30 @@ %h2= t('registration.steps.introduction.registration_greeting') %h5{ "ng-bind" => "'registration.steps.contact.who_is_managing_enterprise' | t:{enterprise: enterprise.name}" } - %form{ name: 'contact', novalidate: true, ng: { controller: "RegistrationFormCtrl", submit: "selectIfValid('type',contact)" } } + %form{ "name" => 'contact', "novalidate" => true, "ng-controller" => "RegistrationFormCtrl", "ng-submit" => "selectIfValid('type',contact)" } .row.content .small-12.medium-12.large-7.columns .row .small-12.columns.field %label{ for: 'enterprise_contact' }= t(".contact_field") - %input.chunky.small-12.columns{ id: 'enterprise_contact', name: 'contact_name', required: true, placeholder: "{{'registration.steps.contact.contact_field_placeholder' | t}}", ng: { model: 'enterprise.contact_name' } } - %span.error.small-12.columns{ ng: { show: "contact.contact_name.$error.required && submitted" } } + %input.chunky.small-12.columns{ "id" => 'enterprise_contact', "name" => 'contact_name', "required" => true, "placeholder" => "{{'registration.steps.contact.contact_field_placeholder' | t}}", "ng-model" => 'enterprise.contact_name' } + %span.error.small-12.columns{ "ng-show" => "contact.contact_name.$error.required && submitted" } = t(".contact_field_required") .row .small-12.columns.field %label{ for: 'enterprise_email_address' }= t("admin.enterprises.form.contact.email_address")+":" - %input.chunky.small-12.columns{ id: 'enterprise_email_address', name: 'email_address', type: 'email', placeholder: t('admin.enterprises.form.contact.email_address_placeholder'), ng: { model: 'enterprise.email_address' } } + %input.chunky.small-12.columns{ "id" => 'enterprise_email_address', "name" => 'email_address', "type" => 'email', "placeholder" => t('admin.enterprises.form.contact.email_address_placeholder'), "ng-model" => 'enterprise.email_address' } .row .small-12.columns.field %label{ for: 'enterprise_phone' }= t(".phone_field")+":" - %input.chunky.small-12.columns{ id: 'enterprise_phone', name: 'phone', placeholder: "{{'registration.steps.contact.phone_field_placeholder' | t}}", ng: { model: 'enterprise.phone' } } + %input.chunky.small-12.columns{ "id" => 'enterprise_phone', "name" => 'phone', "placeholder" => "{{'registration.steps.contact.phone_field_placeholder' | t}}", "ng-model" => 'enterprise.phone' } .row .small-12.columns.field %label{ "for" => 'enterprise_whatsapp_phone', 'data-toggle' => "tooltip", 'title' => "{{'registration.steps.contact.whatsapp_phone_tooltip' | t}}" }= t(".whatsapp_phone_field")+":" - %input.chunky.small-12.columns{ id: 'enterprise_whatsapp_phone', name: 'whatsapp_phone', placeholder: "{{'registration.steps.contact.whatsapp_phone_field_placeholder' | t}}", ng: { model: 'enterprise.whatsapp_phone' } } + %input.chunky.small-12.columns{ "id" => 'enterprise_whatsapp_phone', "name" => 'whatsapp_phone', "placeholder" => "{{'registration.steps.contact.whatsapp_phone_field_placeholder' | t}}", "ng-model" => 'enterprise.whatsapp_phone' } .small-12.medium-12.large-5.hide-for-small-only .row.buttons .small-12.columns - %input.button.secondary{ type: "button", value: "{{'back' | t}}", ng: { click: "select('details')" } } + %input.button.secondary{ "type" => "button", "value" => "{{'back' | t}}", "ng-click" => "select('details')" } %input.button.primary.right{ type: "submit", value: "{{'continue' | t}}" } diff --git a/app/views/registration/steps/_details.html.haml b/app/views/registration/steps/_details.html.haml index 906b3a5745..51d6356f5a 100644 --- a/app/views/registration/steps/_details.html.haml +++ b/app/views/registration/steps/_details.html.haml @@ -5,56 +5,56 @@ .small-12.columns %header %h2= t('.headline') - %h5{ ng: { if: "::enterprise.type != 'own'" } }= t(".enterprise") - %h5{ ng: { if: "::enterprise.type == 'own'" } }= t(".producer") - %form{ name: 'details', novalidate: true, ng: { controller: "RegistrationFormCtrl", submit: "selectIfValid('contact',details)" } } + %h5{ "ng-if" => "::enterprise.type != 'own'" }= t(".enterprise") + %h5{ "ng-if" => "::enterprise.type == 'own'" }= t(".producer") + %form{ "name" => 'details', "novalidate" => true, "ng-controller" => "RegistrationFormCtrl", "ng-submit" => "selectIfValid('contact',details)" } .row .small-12.medium-9.large-12.columns.end .field - %label{ for: 'enterprise_name', ng: { if: "::enterprise.type != 'own'" } }= t(".enterprise_name_field") - %label{ for: 'enterprise_name', ng: { if: "::enterprise.type == 'own'" } }= t(".producer_name_field") - %input.chunky{ id: 'enterprise_name', name: 'name', placeholder: "{{'registration.steps.details.producer_name_field_placeholder' | t}}", required: true, ng: { model: 'enterprise.name' } } - %span.error{ ng: { show: "details.name.$error.required && submitted" } } + %label{ "for" => 'enterprise_name', "ng-if" => "::enterprise.type != 'own'" }= t(".enterprise_name_field") + %label{ "for" => 'enterprise_name', "ng-if" => "::enterprise.type == 'own'" }= t(".producer_name_field") + %input.chunky{ "id" => 'enterprise_name', "name" => 'name', "placeholder" => "{{'registration.steps.details.producer_name_field_placeholder' | t}}", "required" => true, "ng-model" => 'enterprise.name' } + %span.error{ "ng-show" => "details.name.$error.required && submitted" } = t(".producer_name_field_error") .row .small-12.medium-9.large-6.columns .field %label{ for: 'enterprise_address' }= t(".address1_field") - %input.chunky{ id: 'enterprise_address', name: 'address1', required: true, placeholder: "{{'registration.steps.details.address1_field_placeholder' | t}}", required: true, ng: { model: 'enterprise.address.address1' } } - %span.error{ ng: { show: "details.address1.$error.required && submitted" } } + %input.chunky{ "id" => 'enterprise_address', "name" => 'address1', "required" => true, "placeholder" => "{{'registration.steps.details.address1_field_placeholder' | t}}", "ng-model" => 'enterprise.address.address1' } + %span.error{ "ng-show" => "details.address1.$error.required && submitted" } = t(".address1_field_error") .field %label{ for: 'enterprise_address2' }= t(".address2_field") - %input.chunky{ id: 'enterprise_address2', name: 'address2', required: false, placeholder: "", required: false, ng: { model: 'enterprise.address.address2' } } + %input.chunky{ "id" => 'enterprise_address2', "name" => 'address2', "required" => false, "placeholder" => "", "ng-model" => 'enterprise.address.address2' } .small-12.medium-9.large-6.columns.end .row .small-12.medium-8.large-8.columns .field %label{ for: 'enterprise_city' }= t('.suburb_field') - %input.chunky{ id: 'enterprise_city', name: 'city', required: true, placeholder: "{{'registration.steps.details.suburb_field_placeholder' | t}}", ng: { model: 'enterprise.address.city' } } - %span.error{ ng: { show: "details.city.$error.required && submitted" } } + %input.chunky{ "id" => 'enterprise_city', "name" => 'city', "required" => true, "placeholder" => "{{'registration.steps.details.suburb_field_placeholder' | t}}", "ng-model" => 'enterprise.address.city' } + %span.error{ "ng-show" => "details.city.$error.required && submitted" } = t(".suburb_field_error") .small-12.medium-4.large-4.columns .field %label{ for: 'enterprise_zipcode' }= t(".postcode_field") - %input.chunky{ id: 'enterprise_zipcode', name: 'zipcode', required: true, placeholder: "{{'registration.steps.details.postcode_field_placeholder' | t}}", ng: { model: 'enterprise.address.zipcode' } } - %span.error{ ng: { show: "details.zipcode.$error.required && submitted" } } + %input.chunky{ "id" => 'enterprise_zipcode', "name" => 'zipcode', "required" => true, "placeholder" => "{{'registration.steps.details.postcode_field_placeholder' | t}}", "ng-model" => 'enterprise.address.zipcode' } + %span.error{ "ng-show" => "details.zipcode.$error.required && submitted" } = t(".postcode_field_error") .row .small-12.medium-8.large-8.columns .field %label{ for: 'enterprise_country' }= t(".country_field") - %select.chunky{ id: 'enterprise_country', name: 'country', required: true, ng: { init: "setDefaultCountry(#{DefaultCountry.id})", model: 'enterprise.country', options: 'c as c.name for c in countries' } } - %span.error{ ng: { show: "details.country.$error.required && submitted" } } + %select.chunky{ "id" => 'enterprise_country', "name" => 'country', "required" => true, "ng-init" => "setDefaultCountry(#{DefaultCountry.id})", "ng-model" => 'enterprise.country', "ng-options" => 'c as c.name for c in countries' } + %span.error{ "ng-show" => "details.country.$error.required && submitted" } = t(".country_field_error") .small-12.medium-4.large-4.columns .field %label{ for: 'enterprise_state' }= t(".state_field") - %select.chunky{ id: 'enterprise_state', name: 'state', ng: { model: 'enterprise.address.state_id', options: 's.id as s.abbr for s in enterprise.country.states', show: 'countryHasStates()', required: 'countryHasStates()' } } - %span.error{ ng: { show: "details.state.$error.required && submitted" } } + %select.chunky{ "id" => 'enterprise_state', "name" => 'state', "ng-model" => 'enterprise.address.state_id', "ng-options" => 's.id as s.abbr for s in enterprise.country.states', "ng-show" => 'countryHasStates()', "ng-required" => 'countryHasStates()' } + %span.error{ "ng-show" => "details.state.$error.required && submitted" } = t(".state_field_error") = render 'registration/steps/location_map' if using_google_maps? diff --git a/app/views/registration/steps/_images.html.haml b/app/views/registration/steps/_images.html.haml index b52c179f3c..a26756d440 100644 --- a/app/views/registration/steps/_images.html.haml +++ b/app/views/registration/steps/_images.html.haml @@ -1,5 +1,5 @@ %script{ type: "text/ng-template", id: "registration/images.html" } - .container#registration-images{ 'nv-file-drop' => true, uploader: "imageUploader", options:"{ alias: imageStep }", ng: { controller: "EnterpriseImageCtrl" } } + .container#registration-images{ "nv-file-drop" => true, "uploader" => "imageUploader", "options" => "{ alias: imageStep }", "ng-controller" => "EnterpriseImageCtrl" } %ng-include{ src: "'registration/steps.html'" } .row .small-12.columns @@ -7,17 +7,17 @@ %h2= t(".headline") %h5= t(".description") - %form{ name: 'images', novalidate: true, ng: { controller: "RegistrationFormCtrl", submit: "select('social')" } } - .row{ ng: { repeat: 'image_step in imageSteps', show: "imageStep == image_step" } } + %form{ "name" => 'images', "novalidate" => true, "ng-controller" => "RegistrationFormCtrl", "ng-submit" => "select('social')" } + .row{ "ng-repeat" => 'image_step in imageSteps', "ng-show" => "imageStep == image_step" } %ng-include{ src: "'registration/'+ image_step + '.html'" } - .row.buttons.pad-top{ ng: { if: "imageStep == 'logo'" } } + .row.buttons.pad-top{ "ng-if" => "imageStep == 'logo'" } .small-12.columns - %input.button.secondary{ type: "button", value: t(".back"), ng: { click: "select('about')" } } + %input.button.secondary{ "type" => "button", "value" => t(".back"), "ng-click" => "select('about')" }   - %input.button.primary.right{ type: "button", value: t(".continue"), ng: { click: "imageSelect('promo')" } } + %input.button.primary.right{ "type" => "button", "value" => t(".continue"), "ng-click" => "imageSelect('promo')" } - .row.buttons.pad-top{ ng: { if: "imageStep == 'promo'" } } + .row.buttons.pad-top{ "ng-if" => "imageStep == 'promo'" } .small-12.columns - %input.button.secondary{ type: "button", value: t(".back"), ng: { click: "imageSelect('logo')" } } + %input.button.secondary{ "type" => "button", "value" => t(".back"), "ng-click" => "imageSelect('logo')" } %input.button.primary.right{ type: "submit", value: t(".continue") } diff --git a/app/views/registration/steps/_introduction.html.haml b/app/views/registration/steps/_introduction.html.haml index 90cbabff83..dc41abe2e9 100644 --- a/app/views/registration/steps/_introduction.html.haml +++ b/app/views/registration/steps/_introduction.html.haml @@ -44,8 +44,8 @@ #{t(:enterprise_tos_message)} = link_to_platform_terms %p.tos-checkbox - %input{ type: 'checkbox', name: 'accept_terms', id: 'accept_terms', ng: { model: "tos_accepted" } } + %input{ "type" => 'checkbox', "name" => 'accept_terms', "id" => 'accept_terms', "ng-model" => "tos_accepted" } %label{for: "accept_terms"} #{t(:enterprise_tos_agree)} .small-12.medium-6.columns - %input.button.primary.left{ type: "button", value: "{{'registration.steps.introduction.registration_action' | t}}", ng: { click: "select('details')", disabled: "tos_required && !tos_accepted", model: "tos_accepted"} } + %input.button.primary.left{ "type" => "button", "value" => "{{'registration.steps.introduction.registration_action' | t}}", "ng-click" => "select('details')", "ng-disabled" => "tos_required && !tos_accepted", "ng-model" => "tos_accepted" } diff --git a/app/views/registration/steps/_limit_reached.html.haml b/app/views/registration/steps/_limit_reached.html.haml index 7a486e5743..ee5140b769 100644 --- a/app/views/registration/steps/_limit_reached.html.haml +++ b/app/views/registration/steps/_limit_reached.html.haml @@ -14,4 +14,4 @@ .row .small-12.columns %hr - %input.button.primary{ type: "button", value: "{{'registration.steps.limit_reached.action' | t}}", ng: { click: "close()" } } + %input.button.primary{ "type" => "button", "value" => "{{'registration.steps.limit_reached.action' | t}}", "ng-click" => "close()" } diff --git a/app/views/registration/steps/_location_map.html.haml b/app/views/registration/steps/_location_map.html.haml index 1d6baeb9ac..031edbec98 100644 --- a/app/views/registration/steps/_location_map.html.haml +++ b/app/views/registration/steps/_location_map.html.haml @@ -1,19 +1,19 @@ %div .center - %input.button.primary{ type: "button", value: "{{'registration.steps.details.locate_address' | t}}", ng: { click: "locateAddress()" } } - .center{ ng: {if: "latLong"}} + %input.button.primary{ "type" => "button", "value" => "{{'registration.steps.details.locate_address' | t}}", "ng-click" => "locateAddress()" } + .center{ "ng-if" => "latLong" } %strong {{'registration.steps.details.drag_pin' | t}} .small-12.medium-9.large-12.columns.end - .map-container--registration{id: "registration-map", ng: {if: "!!map"}} + .map-container--registration{ "id" => "registration-map", "ng-if" => "!!map" } %ui-gmap-google-map{ center: "map.center", zoom: "map.zoom"} %ui-gmap-marker{idKey: 1, coords: "latLong", options: '{ draggable: true}'} - .center{ ng: {if: "latLong"}} + .center{ "ng-if" => "latLong" } .field - %input{ type: 'checkbox', id: 'confirm_address', name: 'confirm_address', ng: { click: 'toggleAddressConfirmed()' } } + %input{ "type" => 'checkbox', "id" => 'confirm_address', "name" => 'confirm_address', "ng-click" => 'toggleAddressConfirmed()' } %label{ for: 'confirm_address' } {{'registration.steps.details.confirm_address' | t}} - .small-12.medium-9.large-12.columns.end{ ng: {if: "latLong"}} + .small-12.medium-9.large-12.columns.end{ "ng-if" => "latLong" } .field %strong {{'registration.steps.details.drag_map_marker' | t}} diff --git a/app/views/registration/steps/_logo.html.haml b/app/views/registration/steps/_logo.html.haml index 06de18ff4d..34695a0e70 100644 --- a/app/views/registration/steps/_logo.html.haml +++ b/app/views/registration/steps/_logo.html.haml @@ -37,10 +37,10 @@ .row.pad-top .small-12.columns.center #image-placeholder.logo - %img{ ng: { show: "imageSrc() && !imageUploader.isUploading", src: '{{ imageSrc() }}' } } - .message{ ng: { hide: "imageSrc() || imageUploader.isUploading" } } + %img{ "ng-show" => "imageSrc() && !imageUploader.isUploading", "ng-src" => '{{ imageSrc() }}' } + .message{ "ng-hide" => "imageSrc() || imageUploader.isUploading" } = t(".logo_placeholder") - .loading{ ng: { hide: "!imageUploader.isUploading" } } + .loading{ "ng-hide" => "!imageUploader.isUploading" } = render partial: "components/spinner" %br/ = t("registration.steps.images.uploading") diff --git a/app/views/registration/steps/_promo.html.haml b/app/views/registration/steps/_promo.html.haml index 3a9d94db75..b9c06b54b3 100644 --- a/app/views/registration/steps/_promo.html.haml +++ b/app/views/registration/steps/_promo.html.haml @@ -35,10 +35,10 @@ .row.pad-top .small-12.columns.center #image-placeholder.promo - %img{ ng: { show: "imageSrc() && !imageUploader.isUploading", src: '{{ imageSrc() }}' } } - .message{ ng: { hide: "imageSrc() || imageUploader.isUploading" } } + %img{ "ng-show" => "imageSrc() && !imageUploader.isUploading", "ng-src" => '{{ imageSrc() }}' } + .message{ "ng-hide" => "imageSrc() || imageUploader.isUploading" } = t(".promo_image_placeholder") - .loading{ ng: { hide: "!imageUploader.isUploading" } } + .loading{ "ng-hide" => "!imageUploader.isUploading" } = render partial: "components/spinner" %br/ = t("registration.steps.images.uploading") diff --git a/app/views/registration/steps/_social.html.haml b/app/views/registration/steps/_social.html.haml index 9cd86ead1c..cf143cbec2 100644 --- a/app/views/registration/steps/_social.html.haml +++ b/app/views/registration/steps/_social.html.haml @@ -8,38 +8,38 @@ %h2= t(".enterprise_final_step") %h5{ "ng-bind" => "'registration.steps.social.enterprise_social_text' | t:{enterprise: enterprise.name}" } - %form{ name: 'social', novalidate: true, ng: { controller: "RegistrationFormCtrl", submit: "update('finished',social)" } } + %form{ "name" => 'social', "novalidate" => true, "ng-controller" => "RegistrationFormCtrl", "ng-submit" => "update('finished',social)" } .row.content .small-12.large-7.columns .row .small-12.columns .field %label{ for: 'enterprise_website' }= t(".website")+":" - %input.chunky{ id: 'enterprise_website', placeholder: "{{'registration.steps.social.website_placeholder' | t}}", ng: { model: 'enterprise.website' } } + %input.chunky{ "id" => 'enterprise_website', "placeholder" => "{{'registration.steps.social.website_placeholder' | t}}", "ng-model" => 'enterprise.website' } .row .small-12.columns .field %label{ for: 'enterprise_facebook' }= t(".facebook")+":" - %input.chunky{ id: 'enterprise_facebook', placeholder: "{{'registration.steps.social.facebook_placeholder' | t}}", ng: { model: 'enterprise.facebook' } } + %input.chunky{ "id" => 'enterprise_facebook', "placeholder" => "{{'registration.steps.social.facebook_placeholder' | t}}", "ng-model" => 'enterprise.facebook' } .row .small-12.columns .field %label{ for: 'enterprise_linkedin' }= t(".linkedin")+":" - %input.chunky{ id: 'enterprise_linkedin', placeholder: "{{'registration.steps.social.linkedin_placeholder' | t}}", ng: { model: 'enterprise.linkedin' } } + %input.chunky{ "id" => 'enterprise_linkedin', "placeholder" => "{{'registration.steps.social.linkedin_placeholder' | t}}", "ng-model" => 'enterprise.linkedin' } .small-12.large-5.columns .row .small-12.columns .field %label{ for: 'enterprise_twitter' }= t(".twitter")+":" - %input.chunky{ id: 'enterprise_twitter', placeholder: "{{'registration.steps.social.twitter_placeholder' | t}}", ng: { model: 'enterprise.twitter' } } + %input.chunky{ "id" => 'enterprise_twitter', "placeholder" => "{{'registration.steps.social.twitter_placeholder' | t}}", "ng-model" => 'enterprise.twitter' } .row .small-12.columns .field %label{ for: 'enterprise_instagram' }= t(".instagram")+":" - %input.chunky{ id: 'enterprise_instagram', placeholder: "{{'registration.steps.social.instagram_placeholder' | t}}", ng: { model: 'enterprise.instagram' } } + %input.chunky{ "id" => 'enterprise_instagram', "placeholder" => "{{'registration.steps.social.instagram_placeholder' | t}}", "ng-model" => 'enterprise.instagram' } %span.error.small-12.columns#instagram-error{ style: "display: none" } .row.buttons .small-12.columns - %input.button.secondary{ type: "button", value: "{{'back' | t}}", ng: { click: "select('images')" } } + %input.button.secondary{ "type" => "button", "value" => "{{'back' | t}}", "ng-click" => "select('images')" } %input.button.primary.right{ type: "submit", value: "{{'continue' | t}}" } diff --git a/app/views/registration/steps/_steps.html.haml b/app/views/registration/steps/_steps.html.haml index 081cd97d98..611154fe76 100644 --- a/app/views/registration/steps/_steps.html.haml +++ b/app/views/registration/steps/_steps.html.haml @@ -1,5 +1,5 @@ %script{ type: "text/ng-template", id: "registration/steps.html" } .row#progress-bar - .small-12.medium-2.columns.item{ ng: { repeat: 'step in steps', class: "{active: (currentStep() == step),'show-for-medium-up': (currentStep() != step)}" } } + .small-12.medium-2.columns.item{ "ng-repeat" => 'step in steps', "ng-class" => "{active: (currentStep() == step),'show-for-medium-up': (currentStep() != step)}" } {{ $index+1 + ". " + ('registration.steps.' + step + '.title' | t) }} diff --git a/app/views/registration/steps/_type.html.haml b/app/views/registration/steps/_type.html.haml index 01482fd160..7a4ec8d8d5 100644 --- a/app/views/registration/steps/_type.html.haml +++ b/app/views/registration/steps/_type.html.haml @@ -10,24 +10,24 @@ %h4 = t(".question") - %form{ name: 'type', novalidate: true, ng: { controller: "RegistrationFormCtrl", submit: "create(type)" } } - .row#enterprise-types{ 'data-equalizer' => true, ng: { if: "::enterprise.type != 'own'" } } + %form{ "name" => 'type', "novalidate" => true, "ng-controller" => "RegistrationFormCtrl", "ng-submit" => "create(type)" } + .row#enterprise-types{ "data-equalizer" => true, "ng-if" => "::enterprise.type != 'own'" } .small-12.columns.field .row .small-12.medium-6.large-6.columns{ 'data-equalizer-watch' => true } - %a.btnpanel#producer-panel{ href: "#", ng: { click: "enterprise.is_primary_producer = true", class: "{selected: enterprise.is_primary_producer}" } } + %a.btnpanel#producer-panel{ "href" => "#", "ng-click" => "enterprise.is_primary_producer = true", "ng-class" => "{selected: enterprise.is_primary_producer}" } %i.ofn-i_059-producer %h4= t(".yes_producer") .small-12.medium-6.large-6.columns{ 'data-equalizer-watch' => true } - %a.btnpanel#hub-panel{ href: "#", ng: { click: "enterprise.is_primary_producer = false", class: "{selected: enterprise.is_primary_producer == false}" } } + %a.btnpanel#hub-panel{ "href" => "#", "ng-click" => "enterprise.is_primary_producer = false", "ng-class" => "{selected: enterprise.is_primary_producer == false}" } %i.ofn-i_063-hub %h4= t(".no_producer") .row .small-12.columns - %input.chunky{ id: 'enterprise_is_primary_producer', name: 'is_primary_producer', type: "hidden", required: true, ng: { model: 'enterprise.is_primary_producer' } } - %span.error{ ng: { show: "type.is_primary_producer.$error.required && submitted" } } + %input.chunky{ "id" => 'enterprise_is_primary_producer', "name" => 'is_primary_producer', "type" => "hidden", "required" => true, "ng-model" => 'enterprise.is_primary_producer' } + %span.error{ "ng-show" => "type.is_primary_producer.$error.required && submitted" } = t(".producer_field_error") .row .small-12.columns @@ -44,5 +44,5 @@ .row.buttons .small-12.columns - %input.button.secondary{ type: "button", value: "{{'back' | t}}", ng: { click: "select('contact')" } } - %input.button.primary.right{ ng: { disabled: 'isDisabled' }, type: "submit", value: t(".create_profile") } + %input.button.secondary{ "type" => "button", "value" => "{{'back' | t}}", "ng-click" => "select('contact')" } + %input.button.primary.right{ "type" => "submit", "value" => t(".create_profile"), "ng-disabled" => 'isDisabled' } diff --git a/app/views/shared/menu/_alert.html.haml b/app/views/shared/menu/_alert.html.haml index e3eb53fe74..077505ad84 100644 --- a/app/views/shared/menu/_alert.html.haml +++ b/app/views/shared/menu/_alert.html.haml @@ -1,4 +1,4 @@ .text-center.page-alert.fixed{ "ofn-page-alert" => true } .alert-box = render 'shared/page_alert' - %a.close{ ng: { click: "close()" } } × + %a.close{ "ng-click" => "close()" } × diff --git a/app/views/shared/menu/_cart_sidebar.html.haml b/app/views/shared/menu/_cart_sidebar.html.haml index 423d4585cd..ca68af1e30 100644 --- a/app/views/shared/menu/_cart_sidebar.html.haml +++ b/app/views/shared/menu/_cart_sidebar.html.haml @@ -1,5 +1,5 @@ -.expanding-sidebar.cart-sidebar{ng: {controller: 'CartCtrl', class: "{'shown': showCartSidebar}"}} - .background{ng: {click: 'toggleCartSidebar()'}} +.expanding-sidebar.cart-sidebar{ "ng-controller" => 'CartCtrl', "ng-class" => "{'shown': showCartSidebar}" } + .background{ "ng-click" => 'toggleCartSidebar()' } .sidebar = cache_with_locale "cart-header" do .cart-header @@ -7,7 +7,7 @@ = t('.items_in_cart_singular', num: "{{ Cart.total_item_count() }}") %span.title{"ng-show" => "Cart.line_items.length > 1"} = t('.items_in_cart_plural', num: "{{ Cart.total_item_count() }}") - %a.close{ng: {click: 'toggleCartSidebar()'}} + %a.close{ "ng-click" => 'toggleCartSidebar()' } = t('.close') %i.ofn-i_009-close @@ -40,7 +40,7 @@ %p = t('.cart_empty') - %a.go-shopping.button.large.bright{ng: {show: "#{show_shopping_cta?}", href: "{{ CurrentHub.hub.id ? '#{main_app.shop_path}' : '#{main_app.shops_path}' }}"}} + %a.go-shopping.button.large.bright{ "ng-show" => "#{show_shopping_cta?}", "ng-href" => "{{ CurrentHub.hub.id ? '#{main_app.shop_path}' : '#{main_app.shops_path}' }}" } = t('.take_me_shopping') .sidebar-footer{"ng-show" => "Cart.line_items.length > 0"} @@ -52,8 +52,8 @@ %div.fullwidth %a.edit-cart.button.large.dark.left{href: main_app.cart_path, "ng-disabled" => "Cart.dirty || Cart.empty()", "ng-class" => "{ dirty: Cart.dirty }"} - %div{ ng: { if: "Cart.dirty" } }= t(:cart_updating) - %div{ ng: { if: "!Cart.dirty && Cart.empty()" } }= t(:cart_empty) - %div{ ng: { if: "!Cart.dirty && !Cart.empty()" } }= t('.edit_cart') + %div{ "ng-if" => "Cart.dirty" }= t(:cart_updating) + %div{ "ng-if" => "!Cart.dirty && Cart.empty()" }= t(:cart_empty) + %div{ "ng-if" => "!Cart.dirty && !Cart.empty()" }= t('.edit_cart') %a.checkout.button.large.bright.right{href: main_app.checkout_path, "ng-disabled" => "Cart.dirty || Cart.empty()"} = t '.checkout' diff --git a/app/views/shared/menu/_mobile_menu.html.haml b/app/views/shared/menu/_mobile_menu.html.haml index 0e25ee57b0..6b178a40cf 100644 --- a/app/views/shared/menu/_mobile_menu.html.haml +++ b/app/views/shared/menu/_mobile_menu.html.haml @@ -14,7 +14,7 @@ %section.right{"ng-cloak" => true} %span.cart-span{"ng-class" => "{ dirty: Cart.dirty || Cart.empty(), 'pure-dirty': Cart.dirty }"} - %a.icon{ng: {click: 'toggleCartSidebar()'}} + %a.icon{ "ng-click" => 'toggleCartSidebar()' } %span = t '.cart' %span.count diff --git a/app/views/shared/menu/_offcanvas_menu.html.haml b/app/views/shared/menu/_offcanvas_menu.html.haml index 8c6456c647..d29f4d59b5 100644 --- a/app/views/shared/menu/_offcanvas_menu.html.haml +++ b/app/views/shared/menu/_offcanvas_menu.html.haml @@ -1,4 +1,4 @@ -%aside.left-off-canvas-menu.show-for-medium-down{ ng: { controller: "OffcanvasCtrl" } } +%aside.left-off-canvas-menu.show-for-medium-down{ "ng-controller" => "OffcanvasCtrl" } %ul.off-canvas-list = cache_with_locale [ContentConfig.cache_key, @white_label_logo] do %li.ofn-logo diff --git a/app/views/shop/products/_filters.html.haml b/app/views/shop/products/_filters.html.haml index 869b215c60..1fa168ac58 100644 --- a/app/views/shop/products/_filters.html.haml +++ b/app/views/shop/products/_filters.html.haml @@ -1,6 +1,6 @@ = cache_with_locale do - .filter-shopfront.taxon-selectors{ng: {show: 'supplied_taxons != null'}} + .filter-shopfront.taxon-selectors{ "ng-show" => 'supplied_taxons != null' } %filter-selector{ 'selector-set' => "taxonSelectors", objects: "supplied_taxons", "active-selectors" => "activeTaxons"} - .filter-shopfront.property-selectors{ng: {show: 'supplied_properties != null'}} + .filter-shopfront.property-selectors{ "ng-show" => 'supplied_properties != null' } %filter-selector{ 'selector-set' => "propertySelectors", objects: "supplied_properties", "active-selectors" => "activeProperties"} diff --git a/app/views/shop/products/_form.html.haml b/app/views/shop/products/_form.html.haml index e5a51a50cc..f82909ed36 100644 --- a/app/views/shop/products/_form.html.haml +++ b/app/views/shop/products/_form.html.haml @@ -31,22 +31,22 @@ .sticky-shop-filters-container.thin-scroll-bar.hide-for-medium-down.large-2.columns %h5.filter-header = t(:products_filter_by) - %span{ng: {show: 'filtersCount()' }} + %span{ "ng-show" => 'filtersCount()' } = "({{ filtersCount() }} #{t(:products_filter_selected)})" = render partial: "shop/products/filters" - .expanding-sidebar.shop-filters-sidebar.hide-for-large-up{ng: {show: 'showFilterSidebar', class: "{'shown': showFilterSidebar}"}} - .background{ng: {click: 'toggleFilterSidebar()'}} + .expanding-sidebar.shop-filters-sidebar.hide-for-large-up{ "ng-show" => 'showFilterSidebar', "ng-class" => "{'shown': showFilterSidebar}" } + .background{ "ng-click" => 'toggleFilterSidebar()' } .sidebar %h5 = t(:products_filter_by) - %span{ng: {show: 'filtersCount()' }} + %span{ "ng-show" => 'filtersCount()' } = "({{ filtersCount() }} #{t(:products_filter_selected)})" = render partial: "shop/products/filters" .sidebar-footer - %button.large.dark.left{type: 'button', ng: {click: 'clearFilters()'}} + %button.large.dark.left{ "type" => 'button', "ng-click" => 'clearFilters()' } = t(:products_filter_clear) - %button.large.bright.right{type: 'button', ng: {click: 'toggleFilterSidebar()'}} + %button.large.bright.right{ "type" => 'button', "ng-click" => 'toggleFilterSidebar()' } = t(:products_filter_done) diff --git a/app/views/shop/products/_search_feedback.haml b/app/views/shop/products/_search_feedback.haml index 3245c6bb50..6b605476a6 100644 --- a/app/views/shop/products/_search_feedback.haml +++ b/app/views/shop/products/_search_feedback.haml @@ -10,7 +10,7 @@ %span.filter-label = t :products_results_for - %span{ ng: { hide: "!query"} } + %span{ "ng-hide" => "!query" } %span.applied-search {{ query }} = render partial: 'shop/products/applied_filters_feedback' @@ -21,5 +21,5 @@ %p.no-results = t :products_no_results_html, query: "{{query}}".html_safe = render partial: 'shop/products/applied_filters_feedback' - %button.clear-search{type: 'button', ng: {click: 'clearAll()'}} + %button.clear-search{ "type" => 'button', "ng-click" => 'clearAll()' } = t :products_clear_search diff --git a/app/views/shop/products/_searchbar.haml b/app/views/shop/products/_searchbar.haml index b7e6f98d57..9f133a7dc6 100644 --- a/app/views/shop/products/_searchbar.haml +++ b/app/views/shop/products/_searchbar.haml @@ -8,11 +8,11 @@ placeholder: t(:products_search), "ng-debounce" => "200", "disable-enter-with-blur" => true} - %a.clear{type: 'button', ng: {show: 'query', click: 'clearQuery()'}, 'focus-search' => true} + %a.clear{ "type" => 'button', "focus-search" => true, "ng-show" => 'query', "ng-click" => 'clearQuery()' } = image_pack_tag "icn-close.png" .hide-for-large-up - %button{type: 'button', ng: {click: 'toggleFilterSidebar()'}} + %button{ "type" => 'button', "ng-click" => 'toggleFilterSidebar()' } = t(:products_filter_heading) - %span{ng: {show: 'filtersCount()' }} + %span{ "ng-show" => 'filtersCount()' } ({{ filtersCount() }}) diff --git a/app/views/shop/products/_shop_variant_no_group_buy.html.haml b/app/views/shop/products/_shop_variant_no_group_buy.html.haml index c2f3e4131c..2b5c47494d 100644 --- a/app/views/shop/products/_shop_variant_no_group_buy.html.haml +++ b/app/views/shop/products/_shop_variant_no_group_buy.html.haml @@ -1,23 +1,20 @@ = cache_with_locale do .small-5.medium-3.large-3.columns.variant-quantity-column.text-right{"ng-if" => "::!variant.product.group_buy"} - .variant-quantity-inputs{ng: {if: "variant.line_item.quantity == 0"}} - %button.add-variant{type: "button", ng: {click: "add(1)", disabled: "!canAdd(1)"}} + .variant-quantity-inputs{ "ng-if" => "variant.line_item.quantity == 0" } + %button.add-variant{ "type" => "button", "ng-click" => "add(1)", "ng-disabled" => "!canAdd(1)" } {{ "js.shopfront.variant.add_to_cart" | t }} - .variant-quantity-inputs{ng: {if: "variant.line_item.quantity != 0"}} - %button.variant-quantity{type: "button", ng: {click: "add(-1)", disabled: "!canAdd(-1)"}}> + .variant-quantity-inputs{ "ng-if" => "variant.line_item.quantity != 0" } + %button.variant-quantity{ "type" => "button", "ng-click" => "add(-1)", "ng-disabled" => "!canAdd(-1)" }> -# U+FF0D Fullwidth Hyphen-Minus - - %input.variant-quantity{ type: "number", min: "0", max: "{{ available() }}", - ng: {model: "variant.line_item.quantity", max: "Infinity"}}> - %button.variant-quantity{type: "button", ng: {click: "add(1)", disabled: "!canAdd(1)"}} + %input.variant-quantity{ "type" => "number", "min" => "0", "max" => "{{ available() }}", "ng-model" => "variant.line_item.quantity", "ng-max" => "Infinity" }> + %button.variant-quantity{ "type" => "button", "ng-click" => "add(1)", "ng-disabled" => "!canAdd(1)" } -# U+FF0B Fullwidth Plus Sign + - .variant-remaining-stock{ng: {if: "displayRemainingInStock()"}} + .variant-remaining-stock{ "ng-if" => "displayRemainingInStock()" } {{ "js.shopfront.variant.remaining_in_stock" | t:{quantity: available()} }} - .variant-quantity-display{ng: {class: "{visible: variant.line_item.quantity}"}} + .variant-quantity-display{ "ng-class" => "{visible: variant.line_item.quantity}" } {{ "js.shopfront.variant.quantity_in_cart" | t:{quantity: variant.line_item.quantity || 0} }} - %input{type: :hidden, - name: "variants[{{::variant.id}}]", - ng: {model: "variant.line_item.quantity"}} + %input{ "type" => :hidden, "name" => "variants[{{::variant.id}}]", "ng-model" => "variant.line_item.quantity" } diff --git a/app/views/shop/products/_shop_variant_with_group_buy.html.haml b/app/views/shop/products/_shop_variant_with_group_buy.html.haml index fc5c6533b3..1a4cfdc796 100644 --- a/app/views/shop/products/_shop_variant_with_group_buy.html.haml +++ b/app/views/shop/products/_shop_variant_with_group_buy.html.haml @@ -1,18 +1,14 @@ = cache_with_locale do .small-5.medium-3.large-3.columns.variant-quantity-column.text-right{"ng-if" => "::variant.product.group_buy"} - %button.add-variant{type: "button", ng: {if: "!variant.line_item.quantity", click: "addBulk(1)", disabled: "!canAdd(1)"}} + %button.add-variant{ "type" => "button", "ng-if" => "!variant.line_item.quantity", "ng-click" => "addBulk(1)", "ng-disabled" => "!canAdd(1)" } {{ "js.shopfront.variant.add_to_cart" | t }} - %button.bulk-buy.variant-quantity{type: "button", ng: {if: "variant.line_item.quantity", click: "addBulk(0)"}}> + %button.bulk-buy.variant-quantity{ "type" => "button", "ng-if" => "variant.line_item.quantity", "ng-click" => "addBulk(0)" }> {{ variant.line_item.quantity }} - %button.bulk-buy.variant-quantity{type: "button", ng: {if: "variant.line_item.quantity", click: "addBulk(0)"}} + %button.bulk-buy.variant-quantity{ "type" => "button", "ng-if" => "variant.line_item.quantity", "ng-click" => "addBulk(0)" } {{ variant.line_item.max_quantity || "-" }} %br - .variant-quantity-display{ng: {class: "{visible: variant.line_item.quantity}"}} + .variant-quantity-display{ "ng-class" => "{visible: variant.line_item.quantity}" } {{ "js.shopfront.variant.in_cart" | t }} - %input{type: :hidden, - name: "variants[{{::variant.id}}]", - ng: {model: "variant.line_item.quantity"}} - %input{type: :hidden, - name: "variants[{{::variant.id}}]", - ng: {model: "variant.line_item.max_quantity"}} + %input{ "type" => :hidden, "name" => "variants[{{::variant.id}}]", "ng-model" => "variant.line_item.quantity" } + %input{ "type" => :hidden, "name" => "variants[{{::variant.id}}]", "ng-model" => "variant.line_item.max_quantity" } diff --git a/app/views/shop/products/_summary.html.haml b/app/views/shop/products/_summary.html.haml index da625de3ee..0ee5f45f81 100644 --- a/app/views/shop/products/_summary.html.haml +++ b/app/views/shop/products/_summary.html.haml @@ -10,7 +10,7 @@ %h3 %a{"ng-click" => "triggerProductModal()", href: 'javascript:void(0)'} %span{"ng-bind" => "::product.name"} - .product-description{ng: {"bind-html": "::product.description_html", click: "triggerProductModal()", show: "product.description_html.length"}, "data-controller": "add-blank-to-link"} + .product-description{ "data-controller" => "add-blank-to-link", "ng-bind-html" => "::product.description_html", "ng-click" => "triggerProductModal()", "ng-show" => "product.description_html.length" } %div{ "ng-switch" => "enterprise.visible" } .product-producer = t :products_from diff --git a/app/views/shopping_shared/_tabs.html.haml b/app/views/shopping_shared/_tabs.html.haml index 92d288a9f9..998fb72069 100644 --- a/app/views/shopping_shared/_tabs.html.haml +++ b/app/views/shopping_shared/_tabs.html.haml @@ -6,7 +6,7 @@ .columns.small-12.large-8 - shop_tabs.each do |tab| .page - %a{ href: "##{tab[:name]}_panel", data: { action: "tabs-and-panels#activate", "tabs-and-panels-target": "tab" }, class: ("selected" if tab[:default]) }=tab[:title] + %a{ "href" => "##{tab[:name]}_panel", "class" => ("selected" if tab[:default]), "data-action" => "tabs-and-panels#activate", "data-tabs-and-panels-target" => "tab" }=tab[:title] .columns.large-4.show-for-large-up = render partial: "shopping_shared/order_cycles" - shop_tabs.each do |tab| diff --git a/app/views/shops/_hubs.html.haml b/app/views/shops/_hubs.html.haml index 23410b2505..e31265d5b5 100644 --- a/app/views/shops/_hubs.html.haml +++ b/app/views/shops/_hubs.html.haml @@ -27,12 +27,12 @@ %a{href: "", "ng-click" => "showDistanceMatches()"} = t :hubs_distance_filter, location: "{{ nameMatchesFiltered[0].name }}" .more-controls - %span{ng: {show: "closed_shops_loading", cloak: true}} + %span{ "ng-show" => "closed_shops_loading", "ng-cloak" => true } = render partial: "components/spinner" - %span{ng: {if: "!show_closed", cloak: true}} - %a.button{href: "", ng: {click: "showClosedShops()"}} + %span{ "ng-if" => "!show_closed", "ng-cloak" => true } + %a.button{ "href" => "", "ng-click" => "showClosedShops()" } = t '.show_closed_shops' - %span{ng: {if: "show_closed", cloak: true}} - %a.button{href: "", ng: {click: "hideClosedShops()"}} + %span{ "ng-if" => "show_closed", "ng-cloak" => true } + %a.button{ "href" => "", "ng-click" => "hideClosedShops()" } = t '.hide_closed_shops' %a.button{href: main_app.map_path}= t '.show_on_map' diff --git a/app/views/shops/_skinny.html.haml b/app/views/shops/_skinny.html.haml index 33a2106fd5..8eae040429 100644 --- a/app/views/shops/_skinny.html.haml +++ b/app/views/shops/_skinny.html.haml @@ -2,7 +2,7 @@ .row.active_table_row{"ng-if" => "hub.is_distributor", "ng-click" => "toggle($event)", "ng-class" => "{'closed' : !open(), 'is_distributor' : producer.is_distributor}"} .columns.small-12.medium-5.large-5.skinny-head %a.hub{"ng-href" => "{{::hub.path}}", "ng-attr-target" => "{{ embedded_layout ? '_blank' : undefined}}", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-change-hub" => "hub", "data-is-link" => "true"} - %i{ng: {class: "::hub.icon_font"}} + %i{ "ng-class" => "::hub.icon_font" } %span.margin-top.hub-name-listing{"ng-bind" => "::hub.name | truncate:40"} .columns.small-4.medium-2.large-2 @@ -13,9 +13,9 @@ .columns.small-5.medium-3.large-3.text-right.no-wrap.flex.flex-align-center.flex-justify-end{"ng-if" => "::hub.active"} %a.hub.open_closed.flex.flex-align-center{"ng-href" => "{{::hub.path}}", "ng-attr-target" => "{{ embedded_layout ? '_blank' : undefined}}", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-change-hub" => "hub"} - %span{ ng: { if: "::current()" } } + %span{ "ng-if" => "::current()" } %em= t :hubs_shopping_here - %span{ ng: { if: "::!current()" } } + %span{ "ng-if" => "::!current()" } %span{"ng-bind" => "::hub.orders_close_at | sensible_timeframe"} %i.ofn-i_068-shop-reversed.show-for-medium-up %span{style: "margin-left: 0.5rem;"} @@ -23,9 +23,9 @@ .columns.small-5.medium-3.large-3.text-right.no-wrap.flex.flex-align-center.flex-justify-end{"ng-if" => "::!hub.active"} %a.hub.open_closed.flex{"ng-href" => "{{::hub.path}}", "ng-attr-target" => "{{ embedded_layout ? '_blank' : undefined}}", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-change-hub" => "hub"} - %span{ ng: { if: "::current()" } } + %span{ "ng-if" => "::current()" } %em= t :hubs_shopping_here - %span{ ng: { if: "::!current()" } } + %span{ "ng-if" => "::!current()" } = t :hubs_orders_closed %i.ofn-i_068-shop-reversed.show-for-medium-up %span{style: "margin-left: 0.5rem;"} @@ -34,7 +34,7 @@ .row.active_table_row{"ng-if" => "!hub.is_distributor", "ng-class" => "closed"} .columns.small-12.medium-6.large-5.skinny-head %a.hub{"ng-click" => "openModal(hub)", "ng-class" => "{primary: hub.active, secondary: !hub.active}"} - %i{ng: {class: "hub.icon_font"}} + %i{ "ng-class" => "hub.icon_font" } %span.hub-name-listing{"ng-bind" => "::hub.name | truncate:40"} .columns.small-4.medium-2.large-2 @@ -43,5 +43,5 @@ %span.ellipsed{"ng-bind" => "::hub.address.state_name"} .columns.small-6.medium-3.large-4.text-right.no-wrap.flex.flex-align-center.flex-justify-end - %span{ ng: { if: "::!current()" } } + %span{ "ng-if" => "::!current()" } %em= t :hubs_profile_only diff --git a/app/views/spree/admin/orders/_filters.html.haml b/app/views/spree/admin/orders/_filters.html.haml index fcf14a4441..53dae3f8ae 100644 --- a/app/views/spree/admin/orders/_filters.html.haml +++ b/app/views/spree/admin/orders/_filters.html.haml @@ -7,7 +7,7 @@ .field-block.alpha.four.columns .date-range-filter.field = label_tag nil, t(:date_range) - .date-range-fields{ data: { controller: "flatpickr", "flatpickr-mode-value": "range" } } + .date-range-fields{ "data-controller" => "flatpickr", "data-flatpickr-mode-value" => "range" } = text_field_tag nil, nil, class: "datepicker", data: { "flatpickr-target": "instance", action: "flatpickr_clear@window->flatpickr#clear" } = text_field_tag "q[completed_at_gteq]", nil, "ng-model": "q.completed_at_gteq", data: { "flatpickr-target": "start" }, style: "display: none" = text_field_tag "q[completed_at_lteq]", nil, "ng-model": "q.completed_at_lteq", data: { "flatpickr-target": "end" }, style: "display: none" diff --git a/app/views/spree/admin/orders/_note.html.haml b/app/views/spree/admin/orders/_note.html.haml index fb46907191..fafc0a6821 100644 --- a/app/views/spree/admin/orders/_note.html.haml +++ b/app/views/spree/admin/orders/_note.html.haml @@ -1,10 +1,10 @@ %table.index.edit-note-table %tr.edit-note.hidden.total - %td{ colspan: "5", data: { controller: "input-char-count" }, style: "position: relative;" } + %td{ "colspan" => "5", "style" => "position: relative;", "data-controller" => "input-char-count" } %label = t(".note_label") = text_field_tag :note, @order.note, { maxLength: 280, data: { "input-char-count-target": "input" } } - %span.edit-note-count{ data: { "input-char-count-target": "count" }, style: "position: absolute; right: 7px; top: 7px; font-size: 11px;" } + %span.edit-note-count{ "style" => "position: absolute; right: 7px; top: 7px; font-size: 11px;", "data-input-char-count-target" => "count" } %td.actions = link_to '', '', class: 'save-note icon_link icon-ok no-text with-tip', data: { action: 'save' }, title: I18n.t('actions.save') diff --git a/app/views/spree/admin/orders/_table.html.haml b/app/views/spree/admin/orders/_table.html.haml index 237e309106..5a35ab7c59 100644 --- a/app/views/spree/admin/orders/_table.html.haml +++ b/app/views/spree/admin/orders/_table.html.haml @@ -10,7 +10,7 @@ %thead %tr %th - %input#selectAll{ type: 'checkbox', data: { "checked-target": "all", action: "change->checked#toggleAll" } } + %input#selectAll{ "type" => 'checkbox', "data-checked-target" => "all", "data-action" => "change->checked#toggleAll" } %th = t(:products_distributor) diff --git a/app/views/spree/admin/orders/bulk_management.html.haml b/app/views/spree/admin/orders/bulk_management.html.haml index 4216df3732..67ce532a65 100644 --- a/app/views/spree/admin/orders/bulk_management.html.haml +++ b/app/views/spree/admin/orders/bulk_management.html.haml @@ -12,41 +12,41 @@ = admin_inject_column_preferences module: 'admin.lineItems' = admin_inject_available_units -%div{ ng: { controller: 'LineItemsCtrl' }, id: "table-filter" } +%div{ "id" => "table-filter", "ng-controller" => 'LineItemsCtrl' } %fieldset %save-bar{ dirty: "bulk_order_form.$dirty", persist: "false" } - %input.red{ type: "button", value: "Save Changes", ng: { click: "submit()", disabled: "!bulk_order_form.$dirty" } } + %input.red{ "type" => "button", "value" => "Save Changes", "ng-click" => "submit()", "ng-disabled" => "!bulk_order_form.$dirty" } %legend{ align: 'center'}= t(:search) %div{ :class => "sixteen columns alpha" } .quick_search.three.columns.alpha %label{ for: 'quick_filter' } %br - %input.quick-search.fullwidth{ ng: {model: 'query'}, name: "quick_filter", type: 'text', placeholder: t('admin.quick_search'), "ng-keypress" => "$event.keyCode === 13 && fetchResults()" } + %input.quick-search.fullwidth{ "name" => "quick_filter", "type" => 'text', "placeholder" => t('admin.quick_search'), "ng-keypress" => "$event.keyCode === 13 && fetchResults()", "ng-model" => 'query' } .one.columns   .filter_select{ :class => "three columns" } %label{ :for => 'supplier_filter' } = t("admin.producer") %br - %input#supplier_filter.ofn-select2.fullwidth{ type: 'number', 'min-search' => 5, data: 'suppliers', placeholder: "#{t(:all)}", blank: "{ id: '', name: '#{t(:all)}' }", on: { selecting: "confirmRefresh" }, ng: { model: 'supplierFilter' } } + %input#supplier_filter.ofn-select2.fullwidth{ "type" => 'number', "min-search" => 5, "data" => 'suppliers', "placeholder" => "#{t(:all)}", "blank" => "{ id: '', name: '#{t(:all)}' }", "on-selecting" => "confirmRefresh", "ng-model" => 'supplierFilter' } .filter_select{ :class => "three columns" } %label{ :for => 'distributor_filter' } = t("admin.shop") %br - %input#distributor_filter.ofn-select2.fullwidth{ type: 'number', 'min-search' => 5, data: 'distributors', placeholder: "#{t(:all)}", blank: "{ id: '', name: '#{t(:all)}' }", on: { selecting: "confirmRefresh" }, ng: { model: 'distributorFilter' } } + %input#distributor_filter.ofn-select2.fullwidth{ "type" => 'number', "min-search" => 5, "data" => 'distributors', "placeholder" => "#{t(:all)}", "blank" => "{ id: '', name: '#{t(:all)}' }", "on-selecting" => "confirmRefresh", "ng-model" => 'distributorFilter' } .filter_select{ :class => "three columns" } %label{ :for => 'order_cycle_filter' } = t("admin.order_cycle") %br - %input#order_cycle_filter.ofn-select2.fullwidth{ type: 'number', 'min-search' => 5, data: 'orderCycles', placeholder: "#{t(:all)}", blank: "{ id: '', name: '#{t(:all)}' }", on: { selecting: "confirmRefresh" }, ng: { model: 'orderCycleFilter' } } + %input#order_cycle_filter.ofn-select2.fullwidth{ "type" => 'number', "min-search" => 5, "data" => 'orderCycles', "placeholder" => "#{t(:all)}", "blank" => "{ id: '', name: '#{t(:all)}' }", "on-selecting" => "confirmRefresh", "ng-model" => 'orderCycleFilter' } .date_filter{class: "three columns"} %label = t("date_range") %br - %div{ data: { controller: "flatpickr", "flatpickr-mode-value": "range", "flatpickr-default-date": "{{ [startDate, endDate] }}" } } - %input.datepicker.fullwidth{ class: "datepicker", data: { "flatpickr-target": "instance" } } - %input{ type: "text", id: 'start_date_filter', 'ng-model': "startDate", data: { "flatpickr-target": "start" }, style: "display: none;" } - %input{ type: "text", id: 'end_date_filter', 'ng-model': "endDate", data: { "flatpickr-target": "end" }, style: "display: none;" } + %div{ "data-controller" => "flatpickr", "data-flatpickr-mode-value" => "range", "data-flatpickr-default-date" => "{{ [startDate, endDate] }}" } + %input.datepicker.fullwidth{ "class" => "datepicker", "data-flatpickr-target" => "instance" } + %input{ "type" => "text", "id" => 'start_date_filter', "ng-model" => "startDate", "style" => "display: none;", "data-flatpickr-target" => "start" } + %input{ "type" => "text", "id" => 'end_date_filter', "ng-model" => "endDate", "style" => "display: none;", "data-flatpickr-target" => "end" } .clearfix .actions.filter-actions @@ -55,9 +55,9 @@ %a.button{'ng-click' => 'resetSelectFilters()', "id": "clear_filters_button" } = t(:clear_filters) - %hr.divider.sixteen.columns.alpha.omega{ ng: { show: 'unitsVariantSelected()' } } + %hr.divider.sixteen.columns.alpha.omega{ "ng-show" => 'unitsVariantSelected()' } - %div.sixteen.columns.alpha.omega#group_buy_calculation{ ng: { show: 'unitsVariantSelected()', cloak: true } } + %div.sixteen.columns.alpha.omega#group_buy_calculation{ "ng-show" => 'unitsVariantSelected()', "ng-cloak" => true } .one.columns.alpha .shared_resource.four.columns.alpha %input{ type: 'checkbox', :id => 'shared_resource', 'ng-model' => 'sharedResource'} @@ -102,7 +102,7 @@ %hr.divider.sixteen.columns.alpha.omega .clear - %div{ ng: { hide: 'RequestMonitor.loading || line_items.length == 0' }, style: "display: flex; justify-content: flex-start; column-gap: 10px; margin-bottom: 15px" } + %div{ "style" => "display: flex; justify-content: flex-start; column-gap: 10px; margin-bottom: 15px", "ng-hide" => 'RequestMonitor.loading || line_items.length == 0' } -# This -20px is a hack to make the dropdowns align properly %div{ style: "margin-right: -20px;" } = render 'admin/shared/bulk_actions_dropdown' @@ -118,15 +118,15 @@ %h1 = t("admin.orders.bulk_management.loading") - %div{ class: "sixteen columns alpha", ng: { show: '!RequestMonitor.loading && filteredLineItems.length == 0', cloak: true } } + %div{ "class" => "sixteen columns alpha", "ng-show" => '!RequestMonitor.loading && filteredLineItems.length == 0', "ng-cloak" => true } %h1#no_results = t("admin.orders.bulk_management.no_results") - .margin-bottom-50{ ng: { hide: 'RequestMonitor.loading || filteredLineItems.length == 0', cloak: true } } + .margin-bottom-50{ "ng-hide" => 'RequestMonitor.loading || filteredLineItems.length == 0', "ng-cloak" => true } %form{ name: 'bulk_order_form' } - %table.index#listing_orders.bulk{ :class => "sixteen columns alpha", ng: { show: "initialized" } } + %table.index#listing_orders.bulk{ "class" => "sixteen columns alpha", "ng-show" => "initialized" } %thead - %tr{ ng: { controller: "ColumnsCtrl" } } + %tr{ "ng-controller" => "ColumnsCtrl" } %th.bulk %input{ :type => "checkbox", :name => 'toggle_bulk', 'ng-click' => 'toggleAllCheckboxes()', 'ng-checked' => "allBoxesChecked()" } %th.order_no{ 'ng-show' => 'columns.order_no.visible' } @@ -166,7 +166,7 @@ = "#{t('admin.price')} (#{Spree::Money.currency_symbol})" %th.actions - %tr.line_item{ ng: { repeat: "line_item in filteredLineItems = ( line_items | orderBy:sorting.predicate:sorting.reverse )", 'class-even' => "'even'", 'class-odd' => "'odd'", attr: { id: "li_{{line_item.id}}" } } } + %tr.line_item{ "ng-repeat" => "line_item in filteredLineItems = ( line_items | orderBy:sorting.predicate:sorting.reverse )", "ng-class-even" => "'even'", "ng-class-odd" => "'odd'", "ng-attr-id" => "li_{{line_item.id}}" } %td.bulk %input{ :type => "checkbox", :name => 'bulk', 'ng-model' => 'line_item.checked', 'ignore-dirty' => true } %td.order_no{ 'ng-show' => 'columns.order_no.visible' } {{ line_item.order.number }} @@ -180,17 +180,17 @@ %td.variant{ 'ng-show' => 'columns.variant.visible' } %a{ :href => '#', 'ng-click' => "setSelectedUnitsVariant(line_item.units_product,line_item.units_variant)" } {{ line_item.units_variant.full_name }} %td.quantity{ 'ng-show' => 'columns.quantity.visible' } - %input.show-dirty{ :type => 'number', :name => 'quantity', :id => 'quantity', ng: { model: "line_item.quantity", change: "updateOnQuantity(line_item)", required: "true", class: '{"update-error": line_item.errors.quantity}' }, min: 1, step: 1 } - %span.error{ ng: { bind: 'line_item.errors.quantity' } } + %input.show-dirty{ "type" => 'number', "name" => 'quantity', "id" => 'quantity', "min" => 1, "step" => 1, "ng-model" => "line_item.quantity", "ng-change" => "updateOnQuantity(line_item)", "ng-required" => "true", "ng-class" => '{"update-error": line_item.errors.quantity}' } + %span.error{ "ng-bind" => 'line_item.errors.quantity' } %td.max{ 'ng-show' => 'columns.max.visible' } {{ line_item.max_quantity }} %td.final_weight_volume{ 'ng-show' => 'columns.final_weight_volume.visible' } - %input.show-dirty{ type: 'number', step: 'any', :name => 'final_weight_volume', :id => 'final_weight_volume', ng: { model: "line_item.final_weight_volume", readonly: "unitValueLessThanZero(line_item)", change: "weightAdjustedPrice(line_item)", required: "true", class: '{"update-error": line_item.errors.final_weight_volume}' }, min: 0, 'ng-pattern' => '/[0-9]*[.]?[0-9]+/' } - %span.error{ ng: { bind: 'line_item.errors.final_weight_volume' } } + %input.show-dirty{ "type" => 'number', "step" => 'any', "name" => 'final_weight_volume', "id" => 'final_weight_volume', "min" => 0, "ng-pattern" => '/[0-9]*[.]?[0-9]+/', "ng-model" => "line_item.final_weight_volume", "ng-readonly" => "unitValueLessThanZero(line_item)", "ng-change" => "weightAdjustedPrice(line_item)", "ng-required" => "true", "ng-class" => '{"update-error": line_item.errors.final_weight_volume}' } + %span.error{ "ng-bind" => 'line_item.errors.final_weight_volume' } %td.price{ 'ng-show' => 'columns.price.visible' } - %input.show-dirty{ :type => 'text', :name => 'price', :id => 'price', :ng => { value: 'line_item.price * line_item.quantity | currency:""', readonly: "true", class: '{"update-error": line_item.errors.price}' } } - %span.error{ ng: { bind: 'line_item.errors.price' } } + %input.show-dirty{ "type" => 'text', "name" => 'price', "id" => 'price', "ng-value" => 'line_item.price * line_item.quantity | currency:""', "ng-readonly" => "true", "ng-class" => '{"update-error": line_item.errors.price}' } + %span.error{ "ng-bind" => 'line_item.errors.price' } %td.actions - %a{ ng: { href: "/admin/orders/{{line_item.order.number}}/edit" }, :class => "edit-order icon-edit no-text", 'confirm-link-click' => 'confirmRefresh()' } + %a{ "class" => "edit-order icon-edit no-text", "confirm-link-click" => 'confirmRefresh()', "ng-href" => "/admin/orders/{{line_item.order.number}}/edit" } %td.actions %a{ 'ng-click' => "deleteLineItem(line_item)", :class => "delete-line-item icon-trash no-text" } diff --git a/app/views/spree/admin/payment_methods/_providers.html.haml b/app/views/spree/admin/payment_methods/_providers.html.haml index b25a7b09c5..7080f6c739 100644 --- a/app/views/spree/admin/payment_methods/_providers.html.haml +++ b/app/views/spree/admin/payment_methods/_providers.html.haml @@ -1,4 +1,4 @@ -#provider-settings{ ng: { controller: "ProvidersCtrl" } } +#provider-settings{ "ng-controller" => "ProvidersCtrl" } .row .alpha.four.columns = label :payment_method, :type, t('.provider') diff --git a/app/views/spree/admin/payment_methods/_stripe_connect.html.haml b/app/views/spree/admin/payment_methods/_stripe_connect.html.haml index bc3ba014b4..77dbfa0b79 100644 --- a/app/views/spree/admin/payment_methods/_stripe_connect.html.haml +++ b/app/views/spree/admin/payment_methods/_stripe_connect.html.haml @@ -1,40 +1,37 @@ %fieldset.no-border-bottom#gateway_fields %legend{ align: "center"} = t(:provider_settings) - .preference-settings{ ng: { controller: "StripeController" } } + .preference-settings{ "ng-controller" => "StripeController" } = fields_for :payment_method, @payment_method do |payment_method_form| .row .alpha.four.columns = payment_method_form.label :stripe_account_owner .omega.twelve.columns - if @stripe_account_holder.nil? || spree_current_user.enterprises.include?(@stripe_account_holder) - %input.ofn-select2.fullwidth#payment_method_preferred_enterprise_id{ type: 'number', - name: 'payment_method[preferred_enterprise_id]', - placeholder: t(".enterprise_select_placeholder"), - data: 'shops', ng: { model: 'paymentMethod.preferred_enterprise_id' } } + %input.ofn-select2.fullwidth#payment_method_preferred_enterprise_id{ "type" => 'number', "name" => 'payment_method[preferred_enterprise_id]', "placeholder" => t(".enterprise_select_placeholder"), "data" => 'shops', "ng-model" => 'paymentMethod.preferred_enterprise_id' } - else %strong= Enterprise.find_by(id: @payment_method)&.name - #stripe-account-status{ ng: { show: "paymentMethod.preferred_enterprise_id" } } - .alert-box.warning{ ng: { hide: "stripe_account.status" } } + #stripe-account-status{ "ng-show" => "paymentMethod.preferred_enterprise_id" } + .alert-box.warning{ "ng-hide" => "stripe_account.status" } = t(".loading_account_information_msg") - .alert-box.error{ ng: { show: "stripe_account.status == 'stripe_disabled'" } } + .alert-box.error{ "ng-show" => "stripe_account.status == 'stripe_disabled'" } = t(".stripe_disabled_msg") - .alert-box.error{ ng: { show: "stripe_account.status == 'request_failed'" } } + .alert-box.error{ "ng-show" => "stripe_account.status == 'request_failed'" } = t(".request_failed_msg") - .alert-box.error{ ng: { show: "stripe_account.status == 'account_missing'" } } + .alert-box.error{ "ng-show" => "stripe_account.status == 'account_missing'" } = t(".account_missing_msg") - %a.button{ ng: { href: "{{current_enterprise_stripe_path()}}" }, target: 'blank' } + %a.button{ "target" => 'blank', "ng-href" => "{{current_enterprise_stripe_path()}}" } = t(".connect_one") %i.icon-chevron-right - .alert-box.error{ ng: { show: "stripe_account.status == 'access_revoked'" } } + .alert-box.error{ "ng-show" => "stripe_account.status == 'access_revoked'" } = t(".access_revoked_msg") - .alert-box.ok{ ng: { show: "stripe_account.status == 'connected'" } } + .alert-box.ok{ "ng-show" => "stripe_account.status == 'connected'" } .status %strong= t(".status") + ":" = t(".connected") diff --git a/app/views/spree/admin/products/index.html.haml b/app/views/spree/admin/products/index.html.haml index b7c4a3853a..c237419b00 100644 --- a/app/views/spree/admin/products/index.html.haml +++ b/app/views/spree/admin/products/index.html.haml @@ -2,7 +2,7 @@ = render 'spree/admin/products/index/data' = admin_inject_available_units -%div{ ng: { app: 'ofn.admin', controller: 'AdminProductEditCtrl', init: 'initialise()' } } +%div{ "ng-app" => 'ofn.admin', "ng-controller" => 'AdminProductEditCtrl', "ng-init" => 'initialise()' } = render 'spree/admin/products/index/filters' %div{ 'ng-cloak' => true } diff --git a/app/views/spree/admin/products/index/_filters.html.haml b/app/views/spree/admin/products/index/_filters.html.haml index 98e186c7f1..042e12827e 100644 --- a/app/views/spree/admin/products/index/_filters.html.haml +++ b/app/views/spree/admin/products/index/_filters.html.haml @@ -5,20 +5,20 @@ .quick_search.three.columns.alpha %label{ for: 'quick_filter' } %br - %input.quick-search.fullwidth{ ng: {model: 'q.query'}, name: "quick_filter", type: 'text', placeholder: t('admin.quick_search'), "ng-keypress" => "$event.keyCode === 13 && fetchProducts()" } + %input.quick-search.fullwidth{ "name" => "quick_filter", "type" => 'text', "placeholder" => t('admin.quick_search'), "ng-keypress" => "$event.keyCode === 13 && fetchProducts()", "ng-model" => 'q.query' } .one.columns   .filter_select.three.columns %label{ for: 'producer_filter' }= t 'producer' %br - %select.fullwidth{ id: 'producer_filter', 'ofn-select2-min-search' => 5, ng: {model: 'q.producerFilter', options: 'producer.id as producer.name for producer in producers'} } + %select.fullwidth{ "id" => 'producer_filter', "ofn-select2-min-search" => 5, "ng-model" => 'q.producerFilter', "ng-options" => 'producer.id as producer.name for producer in producers' } .filter_select.three.columns %label{ for: 'category_filter' }= t 'category' %br - %select.fullwidth{ id: 'category_filter', 'ofn-select2-min-search' => 5, ng: {model: 'q.categoryFilter', options: 'taxon.id as taxon.name for taxon in taxons'} } + %select.fullwidth{ "id" => 'category_filter', "ofn-select2-min-search" => 5, "ng-model" => 'q.categoryFilter', "ng-options" => 'taxon.id as taxon.name for taxon in taxons' } .filter_select.three.columns %label{ for: 'import_filter' }= t 'import_date' %br - %select.fullwidth{ id: 'import_date_filter', 'ofn-select2-min-search' => 5, ng: {model: 'q.importDateFilter', init: "importDates = #{@import_dates}; showLatestImport = #{@show_latest_import}", options: 'date.id as date.name for date in importDates'} } + %select.fullwidth{ "id" => 'import_date_filter', "ofn-select2-min-search" => 5, "ng-model" => 'q.importDateFilter', "ng-init" => "importDates = #{@import_dates}; showLatestImport = #{@show_latest_import}", "ng-options" => 'date.id as date.name for date in importDates' } .filter_clear.three.columns.omega %label{ for: 'clear_all_filters' } diff --git a/app/views/spree/admin/products/index/_products.html.haml b/app/views/spree/admin/products/index/_products.html.haml index e0c6d76a2b..0acc890b82 100644 --- a/app/views/spree/admin/products/index/_products.html.haml +++ b/app/views/spree/admin/products/index/_products.html.haml @@ -1,7 +1,7 @@ %div.sixteen.columns.alpha{ 'ng-hide' => 'RequestMonitor.loading || products.length == 0' } %form{ name: 'bulk_product_form', autocomplete: "off" } %save-bar{ dirty: "bulk_product_form.$dirty", persist: "false" } - %input.red{ type: "button", value: t(:save_changes), ng: { click: "submitProducts()", disabled: "!bulk_product_form.$dirty" } } + %input.red{ "type" => "button", "value" => t(:save_changes), "ng-click" => "submitProducts()", "ng-disabled" => "!bulk_product_form.$dirty" } %input{ type: "button", value: t(:close), 'ng-click' => "cancel('#{admin_products_path}')" } %table.index#listing_products.bulk diff --git a/app/views/spree/admin/products/index/_products_head.html.haml b/app/views/spree/admin/products/index/_products_head.html.haml index 09de5a1114..fafb59859b 100644 --- a/app/views/spree/admin/products/index/_products_head.html.haml +++ b/app/views/spree/admin/products/index/_products_head.html.haml @@ -1,24 +1,24 @@ %colgroup %col.actions - %col.image{ ng: { show: 'columns.image.visible' } } - %col.producer{ ng: { show: 'columns.producer.visible' } } - %col.sku{ ng: { show: 'columns.sku.visible' } } - %col.name{ ng: { show: 'columns.name.visible' } } - %col.unit{ ng: { show: 'columns.unit.visible' } } - %col.display_as{ ng: { show: 'columns.unit.visible' } } - %col.price{ ng: { show: 'columns.price.visible'} } - %col.on_hand{ ng: { show: 'columns.on_hand.visible' } } - %col.on_demand{ ng: { show: 'columns.on_demand.visible' } } - %col.category{ ng: { show: 'columns.category.visible' } } - %col.tax_category{ ng: { show: 'columns.tax_category.visible' } } - %col.inherits_properties{ ng: { show: 'columns.inherits_properties.visible' } } - %col.import_date{ ng: { show: 'columns.import_date.visible' } } + %col.image{ "ng-show" => 'columns.image.visible' } + %col.producer{ "ng-show" => 'columns.producer.visible' } + %col.sku{ "ng-show" => 'columns.sku.visible' } + %col.name{ "ng-show" => 'columns.name.visible' } + %col.unit{ "ng-show" => 'columns.unit.visible' } + %col.display_as{ "ng-show" => 'columns.unit.visible' } + %col.price{ "ng-show" => 'columns.price.visible' } + %col.on_hand{ "ng-show" => 'columns.on_hand.visible' } + %col.on_demand{ "ng-show" => 'columns.on_demand.visible' } + %col.category{ "ng-show" => 'columns.category.visible' } + %col.tax_category{ "ng-show" => 'columns.tax_category.visible' } + %col.inherits_properties{ "ng-show" => 'columns.inherits_properties.visible' } + %col.import_date{ "ng-show" => 'columns.import_date.visible' } %col.actions %col.actions %col.actions %thead - %tr{ ng: { controller: "ColumnsCtrl" } } + %tr{ "ng-controller" => "ColumnsCtrl" } %th.left-actions %a{ 'ng-click' => 'toggleShowAllVariants()', :style => 'color: red; cursor: pointer' } = t(:expand_all) diff --git a/app/views/spree/admin/products/index/_products_variant.html.haml b/app/views/spree/admin/products/index/_products_variant.html.haml index 45a7ea24c6..fcb6a4030b 100644 --- a/app/views/spree/admin/products/index/_products_variant.html.haml +++ b/app/views/spree/admin/products/index/_products_variant.html.haml @@ -22,7 +22,7 @@ %input.field{ 'ng-model' => 'variant.on_demand', :name => 'variant_on_demand', 'ofn-track-variant' => 'on_demand', :type => 'checkbox' } %td{ 'ng-show' => 'columns.category.visible' } %td{ 'ng-show' => 'columns.tax_category.visible' } - %select.select2{ name: 'variant_tax_category_id', 'ofn-track-variant': 'tax_category_id', ng: { model: 'variant.tax_category_id', options: 'tax_category.id as tax_category.name for tax_category in tax_categories' } } + %select.select2{ "name" => 'variant_tax_category_id', "ofn-track-variant" => 'tax_category_id', "ng-model" => 'variant.tax_category_id', "ng-options" => 'tax_category.id as tax_category.name for tax_category in tax_categories' } %option{ value: '' }= t(:none) %td{ 'ng-show' => 'columns.inherits_properties.visible' } %td{ 'ng-show' => 'columns.import_date.visible' } diff --git a/app/views/spree/admin/products/new.html.haml b/app/views/spree/admin/products/new.html.haml index 71710c1258..3a64d197bf 100644 --- a/app/views/spree/admin/products/new.html.haml +++ b/app/views/spree/admin/products/new.html.haml @@ -54,7 +54,7 @@ %br/ = f.text_field :price, { "class": "fullwidth", "ng-model": "product.price", "ng-value": "'#{@product.price}'" } = f.error_message_on :price - .four.columns{ ng: { app: 'ofn.admin'}} + .four.columns{ "ng-app" => 'ofn.admin' } = f.field_container :unit_price do %div{style: "display: flex"} = f.label :unit_price, t(".unit_price") diff --git a/app/views/spree/admin/shared/_order_links.html.haml b/app/views/spree/admin/shared/_order_links.html.haml index 41508a2ad2..d955650d12 100644 --- a/app/views/spree/admin/shared/_order_links.html.haml +++ b/app/views/spree/admin/shared/_order_links.html.haml @@ -7,12 +7,12 @@ %div.menu.hidden{"data-dropdown-target": "menu"} - order_links(@order).each do |link| - if link[:name] == t(:ship_order) - %a.menu_item{ href: link[:url], target: link[:target] || "_self", data: { "modal-link-target-value": dom_id(@order, :ship), "action": "click->modal-link#open", "controller": "modal-link" } } + %a.menu_item{ "href" => link[:url], "target" => link[:target] || "_self", "data-modal-link-target-value" => dom_id(@order, :ship), "data-action" => "click->modal-link#open", "data-controller" => "modal-link" } %span %i{ class: link[:icon] } %span=link[:name] - else - %a.menu_item{ href: link[:url], target: link[:target] || "_self", data: { method: link[:method], "ujs-navigate": link[:method] ? "false" : "undefined", confirm: link[:confirm] } } + %a.menu_item{ "href" => link[:url], "target" => link[:target] || "_self", "data-method" => link[:method], "data-ujs-navigate" => link[:method] ? "false" : "undefined", "data-confirm" => link[:confirm] } %span %i{ class: link[:icon] } %span=link[:name] diff --git a/app/views/spree/admin/shared/_status_message.html.haml b/app/views/spree/admin/shared/_status_message.html.haml index f9de868721..01f236fd3f 100644 --- a/app/views/spree/admin/shared/_status_message.html.haml +++ b/app/views/spree/admin/shared/_status_message.html.haml @@ -1,2 +1,2 @@ -%h6{ id: "status-message", ng: { style: 'StatusMessage.statusMessage.style' } } +%h6{ "id" => "status-message", "ng-style" => 'StatusMessage.statusMessage.style' } {{ StatusMessage.statusMessage.text || " " }} diff --git a/app/views/spree/orders/_bought.html.haml b/app/views/spree/orders/_bought.html.haml index f00a8b2dbe..67a6665658 100644 --- a/app/views/spree/orders/_bought.html.haml +++ b/app/views/spree/orders/_bought.html.haml @@ -1,18 +1,18 @@ -%tbody{ ng: { controller: 'EditBoughtOrderController' } } +%tbody{ "ng-controller" => 'EditBoughtOrderController' } %tr - %td.toggle-bought{ colspan: 2, ng: { click: 'showBought=!showBought' } } + %td.toggle-bought{ "colspan" => 2, "ng-click" => 'showBought=!showBought' } %h5.brick - %i{ ng: { class: "{ 'ofn-i_007-caret-right': !showBought, 'ofn-i_005-caret-down': showBought}"} } + %i{ "ng-class" => "{ 'ofn-i_007-caret-right': !showBought, 'ofn-i_005-caret-down': showBought}" } = t(:orders_bought_items_notice, count: @order.finalised_line_items.to_a.sum(&:quantity)) %td.text-right{ colspan: 3 } - %a.edit-finalised.button.radius.expand.small{ href: changeable_orders_link_path, ng: { class: "{secondary: !showBought, primary: showBought}" } } + %a.edit-finalised.button.radius.expand.small{ "href" => changeable_orders_link_path, "ng-class" => "{secondary: !showBought, primary: showBought}" } = t(:orders_bought_edit_button) %i.ofn-i_007-caret-right - @order.finalised_line_items.each do |line_item| - variant = line_item.variant - %tr.bought.line-item{class: "line-item-#{line_item.id} variant-#{variant.id}", ng: { show: 'showBought'} } + %tr.bought.line-item{ "class" => "line-item-#{line_item.id} variant-#{variant.id}", "ng-show" => 'showBought' } %td.cart-item-description %div.item-thumb-image @@ -31,5 +31,5 @@ = line_item.display_amount_with_adjustments.to_html unless line_item.quantity.nil? %td.bought-item-delete.text-center - %a{ng: {click: "removeEnabled && deleteLineItem(#{line_item.id})"}} + %a{ "ng-click" => "removeEnabled && deleteLineItem(#{line_item.id})" } %i.ofn-i_026-trash diff --git a/app/views/spree/orders/form/_update_buttons.html.haml b/app/views/spree/orders/form/_update_buttons.html.haml index 50e256e540..633ecf5b1d 100644 --- a/app/views/spree/orders/form/_update_buttons.html.haml +++ b/app/views/spree/orders/form/_update_buttons.html.haml @@ -23,5 +23,5 @@ .columns.small-12.medium-3 = button_tag :class => 'button primary expand', :id => 'update-button', "ng-disabled" => 'update_order_form.$pristine' do %i.ofn-i_051-check-big - %span{ ng: { show: 'update_order_form.$dirty' } }= t(:save_changes) - %span{ ng: { hide: 'update_order_form.$dirty' } }= t(:order_saved) + %span{ "ng-show" => 'update_order_form.$dirty' }= t(:save_changes) + %span{ "ng-hide" => 'update_order_form.$dirty' }= t(:order_saved) diff --git a/app/views/spree/users/_authorised_shops.html.haml b/app/views/spree/users/_authorised_shops.html.haml index 51fdacf3ef..c965c9e50e 100644 --- a/app/views/spree/users/_authorised_shops.html.haml +++ b/app/views/spree/users/_authorised_shops.html.haml @@ -5,13 +5,7 @@ %tr %th= t(".shop_name") %th= t(".allow_charges?") - %tr.customer{ id: "customer{{ customer.id }}", ng: { repeat: "customer in customers" } } - %td.shop{ ng: { bind: 'shopsByID[customer.enterprise_id].name' } } + %tr.customer{ "id" => "customer{{ customer.id }}", "ng-repeat" => "customer in customers" } + %td.shop{ "ng-bind" => 'shopsByID[customer.enterprise_id].name' } %td.allow_charges{ tooltip: "{{ hasOneDefaultSavedCards() ? null : \'" + t('.no_default_saved_cards_tooltip') + "\' }}" } - %input{ type: 'checkbox', - name: 'allow_charges', - ng: { model: 'customer.allow_charges', - change: 'customer.update()', - disabled: "!hasOneDefaultSavedCards()", - "true-value" => "true", - "false-value" => "false" } } + %input{ "type" => 'checkbox', "name" => 'allow_charges', "ng-model" => 'customer.allow_charges', "ng-change" => 'customer.update()', "ng-disabled" => "!hasOneDefaultSavedCards()", "ng-true-value" => "true", "ng-false-value" => "false" } diff --git a/app/views/spree/users/_cards.html.haml b/app/views/spree/users/_cards.html.haml index 869b59242a..4a61c8f7ec 100644 --- a/app/views/spree/users/_cards.html.haml +++ b/app/views/spree/users/_cards.html.haml @@ -7,18 +7,18 @@ %button.button.secondary.tiny.help-btn{ "data-controller": "help-modal-link", "data-action": "click->help-modal-link#open", "data-help-modal-link-target-value": "saved_cards_modal" } %i.ofn-i_013-help - .saved_cards{ ng: { show: 'savedCreditCards.length > 0' } } + .saved_cards{ "ng-show" => 'savedCreditCards.length > 0' } = render 'saved_cards' - .no_cards{ ng: { hide: 'savedCreditCards.length > 0' } } + .no_cards{ "ng-hide" => 'savedCreditCards.length > 0' } = t(:you_have_no_saved_cards) - %button.button.primary{ ng: { click: 'showForm()', hide: 'CreditCard.visible' } } + %button.button.primary{ "ng-click" => 'showForm()', "ng-hide" => 'CreditCard.visible' } = t(:add_a_card) .small-12.medium-6.columns - .new_card{ ng: { show: 'CreditCard.visible', class: '{visible: CreditCard.visible}' } } + .new_card{ "ng-show" => 'CreditCard.visible', "ng-class" => '{visible: CreditCard.visible}' } %h3= t(:add_new_credit_card) = render 'new_card_form' - .authorised_shops{ ng: { controller: 'AuthorisedShopsCtrl', hide: 'CreditCard.visible || savedCreditCards.length == 0' } } + .authorised_shops{ "ng-controller" => 'AuthorisedShopsCtrl', "ng-hide" => 'CreditCard.visible || savedCreditCards.length == 0' } %h3 = t('.authorised_shops') = render 'authorised_shops' diff --git a/app/views/spree/users/_new_card_form.html.haml b/app/views/spree/users/_new_card_form.html.haml index 3d17afbf6a..3b9e1f8903 100644 --- a/app/views/spree/users/_new_card_form.html.haml +++ b/app/views/spree/users/_new_card_form.html.haml @@ -4,24 +4,14 @@ %label = t(:first_name) -# Changing name not permitted by default (in checkout) - can be enabled by setting an allow_name_change variable in $scope - %input#first_name{ type: :text, - name: 'first_name', - required: true, - ng: { model: "secrets.first_name", - disabled: "!allow_name_change", - value: "order.bill_address.firstname"} } - %small.error{ ng: { show: 'new_card_form.$submitted && new_card_form.first_name.$error.required' } }= t(:error_required) + %input#first_name{ "type" => :text, "name" => 'first_name', "required" => true, "ng-model" => "secrets.first_name", "ng-disabled" => "!allow_name_change", "ng-value" => "order.bill_address.firstname" } + %small.error{ "ng-show" => 'new_card_form.$submitted && new_card_form.first_name.$error.required' }= t(:error_required) .small-6.columns %label = t(:last_name) - %input#last_name{type: :text, - name: "last_name", - required: true, - ng: { model: "secrets.last_name", - disabled: "!allow_name_change", - value: "order.bill_address.lastname" } } - %small.error{ ng: { show: 'new_card_form.$submitted && new_card_form.last_name.$error.required' } }= t(:error_required) + %input#last_name{ "type" => :text, "name" => "last_name", "required" => true, "ng-model" => "secrets.last_name", "ng-disabled" => "!allow_name_change", "ng-value" => "order.bill_address.lastname" } + %small.error{ "ng-show" => 'new_card_form.$submitted && new_card_form.last_name.$error.required' }= t(:error_required) .row .small-12.columns diff --git a/app/views/spree/users/_orders.html.haml b/app/views/spree/users/_orders.html.haml index a8c34b22f1..ef750fe04c 100644 --- a/app/views/spree/users/_orders.html.haml +++ b/app/views/spree/users/_orders.html.haml @@ -1,10 +1,10 @@ %script{ type: "text/ng-template", id: "account/orders.html" } .orders{"ng-controller" => "OrdersCtrl", "ng-cloak" => true} - .my-open-orders{ ng: { show: 'Orders.changeable.length > 0' } } + .my-open-orders{ "ng-show" => 'Orders.changeable.length > 0' } %h3= t('.open_orders') = render 'open_orders' - .past-orders{ ng: { show: 'pastOrders.length > 0' } } + .past-orders{ "ng-show" => 'pastOrders.length > 0' } %h3= t('.past_orders') = render 'past_orders' .message{"ng-if" => "Orders.all.length == 0", "ng-bind" => "::'you_have_no_orders_yet' | t"} diff --git a/app/views/spree/users/_saved_cards.html.haml b/app/views/spree/users/_saved_cards.html.haml index 853642762b..ea1c2472e6 100644 --- a/app/views/spree/users/_saved_cards.html.haml +++ b/app/views/spree/users/_saved_cards.html.haml @@ -5,12 +5,12 @@ %th= t(:card_expiry_date) %th= t('.default?') %th= t('.delete?') - %tr.card{ id: "card{{ card.id }}", ng: { repeat: "card in savedCreditCards" } } - %td.brand{ ng: { bind: '::card.brand' } } - %td.number{ ng: { bind: '::card.number' } } - %td.expiry{ ng: { bind: '::card.expiry' } } + %tr.card{ "id" => "card{{ card.id }}", "ng-repeat" => "card in savedCreditCards" } + %td.brand{ "ng-bind" => '::card.brand' } + %td.number{ "ng-bind" => '::card.number' } + %td.expiry{ "ng-bind" => '::card.expiry' } %td.is-default - %input{ type: 'radio', name: 'default_card', ng: { model: 'card.is_default', click: 'confirmSetDefault(card, $event)', value: "true"} } + %input{ "type" => 'radio', "name" => 'default_card', "ng-model" => 'card.is_default', "ng-click" => 'confirmSetDefault(card, $event)', "ng-value" => "true" } %td.actions %button.tiny.alert.no-margin{ "ng-click": "deleteCard(card.id)" } = t(:delete) diff --git a/engines/web/app/views/web/angular_templates/cookies_banner.html.haml b/engines/web/app/views/web/angular_templates/cookies_banner.html.haml index 2343051cd7..90cfe16b09 100644 --- a/engines/web/app/views/web/angular_templates/cookies_banner.html.haml +++ b/engines/web/app/views/web/angular_templates/cookies_banner.html.haml @@ -11,5 +11,5 @@ {{ 'legal.cookies_banner.cookies_policy_link' | t}} .large-3.columns - %button{ng: { controller:"CookiesBannerCtrl", click: "acceptCookies()" }} + %button{ "ng-controller" => "CookiesBannerCtrl", "ng-click" => "acceptCookies()" } {{ 'legal.cookies_banner.cookies_accept_button' | t}} diff --git a/engines/web/app/views/web/angular_templates/cookies_policy.html.haml b/engines/web/app/views/web/angular_templates/cookies_policy.html.haml index c53fa93bed..56b62ab23b 100644 --- a/engines/web/app/views/web/angular_templates/cookies_policy.html.haml +++ b/engines/web/app/views/web/angular_templates/cookies_policy.html.haml @@ -12,7 +12,7 @@ %p {{ 'legal.cookies_policy.essential_cookies_desc' | t }} -%table{ng: { controller:"CookiesPolicyModalCtrl"}} +%table{ "ng-controller" => "CookiesPolicyModalCtrl" } = render_cookie_entry( "_ofn_session_id", "legal.cookies_policy.cookie_session_desc" ) = render_cookie_entry( "cookies_consent", "legal.cookies_policy.cookie_consent_desc" ) = render_cookie_entry( "remember_spree_user_token", "legal.cookies_policy.cookie_remember_me_desc" ) @@ -52,7 +52,7 @@ %p {{ 'legal.cookies_policy.statistics_cookies_matomo_desc_html' | t }} - %table{ng: { controller:"CookiesPolicyModalCtrl"}} + %table{ "ng-controller" => "CookiesPolicyModalCtrl" } = render_cookie_entry( "_pk_ref, _pk_cvar, _pk_id and _pk_ses", "legal.cookies_policy.cookie_matomo_basics_desc" ) = render_cookie_entry( "_pk_hsr, _pk_cvar, _pk_id and _pk_ses", "legal.cookies_policy.cookie_matomo_heatmap_desc" ) = render_cookie_entry( "piwik_ignore, _pk_cvar, _pk_id and _pk_ses", "legal.cookies_policy.cookie_matomo_ignore_desc" ) From cf7e0eb2ccb94906ba1a11adf38b8b593fe37a11 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 09:28:49 +0000 Subject: [PATCH 013/374] Bump haml from 5.2.2 to 6.3.0 Bumps [haml](https://github.com/haml/haml) from 5.2.2 to 6.3.0. - [Release notes](https://github.com/haml/haml/releases) - [Changelog](https://github.com/haml/haml/blob/main/CHANGELOG.md) - [Commits](https://github.com/haml/haml/compare/v5.2.2...v6.3.0) --- updated-dependencies: - dependency-name: haml dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1ad8fc4062..f331f79523 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -326,8 +326,9 @@ GEM good_migrations (0.2.1) activerecord (>= 3.1) railties (>= 3.1) - haml (5.2.2) - temple (>= 0.8.0) + haml (6.3.0) + temple (>= 0.8.2) + thor tilt hashdiff (1.1.0) hashery (2.1.2) From 7a767ab037830fa37ad52ba9c146cbe601dc9454 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 8 Feb 2024 17:02:30 +1100 Subject: [PATCH 014/374] Make haml aware of custom boolean attributes --- config/initializers/haml.rb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 config/initializers/haml.rb diff --git a/config/initializers/haml.rb b/config/initializers/haml.rb new file mode 100644 index 0000000000..ec536959f1 --- /dev/null +++ b/config/initializers/haml.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +# Haml 6 treats only a small set of standard boolean attributes as such. +# Other attributes are added in full. But AngularJS distinguishes between +#
+# and +#
+# +# The latter raises errors. +# +# Adding to these attributes is officially supported: +# - https://github.com/haml/haml/releases/tag/v6.2.2 +# +Haml::BOOLEAN_ATTRIBUTES.push( + *%w[ + mailto + new-tag-rule-dialog + ng-cloak + ng-transclude + offcanvas + ofn-disable-enter + question-mark-with-tooltip-animation + scroll-after-load + textangular-links-target-blank + ] +) From 2cf8a6dcb9053da85e864c6f11af482f2b8dec74 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Mon, 19 Feb 2024 12:00:05 +1100 Subject: [PATCH 015/374] Skip haml-up spec with newer versions --- spec/lib/haml_up_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/haml_up_spec.rb b/spec/lib/haml_up_spec.rb index c95b8cc8d5..392e5b5550 100644 --- a/spec/lib/haml_up_spec.rb +++ b/spec/lib/haml_up_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require 'haml_up' -describe HamlUp do +describe HamlUp, skip: !Gem::Dependency.new("", "~> 5.2").match?("", Haml::VERSION) do describe "#rewrite_template" do it "preserves a simple template" do original = "%p This is a paragraph" From 66c6994d78bf08f307aa7130618fe79cdc12c775 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Mon, 19 Feb 2024 13:23:43 +1100 Subject: [PATCH 016/374] Fix typo in spec --- spec/system/admin/enterprises_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/admin/enterprises_spec.rb b/spec/system/admin/enterprises_spec.rb index 69c52cf6b1..1759c540e3 100644 --- a/spec/system/admin/enterprises_spec.rb +++ b/spec/system/admin/enterprises_spec.rb @@ -149,7 +149,7 @@ describe ' within(".permalink") do link_path = "#{main_app.root_url}#{@enterprise.permalink}/shop" - link = find_link(link) + link = find_link(link_path) expect(link[:href]).to eq link_path expect(link[:target]).to eq '_blank' end From e2ec3a642ccdb47ce3f07a780f2cac4d3967465a Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 22 Feb 2024 14:14:29 +1100 Subject: [PATCH 017/374] Style flatten tree logic --- lib/haml_up.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/haml_up.rb b/lib/haml_up.rb index d4eb20fb76..62d29be414 100644 --- a/lib/haml_up.rb +++ b/lib/haml_up.rb @@ -58,9 +58,9 @@ class HamlUp end def flatten_tree(parent) - parent.children.map do |child| - [child] + flatten_tree(child) - end.flatten + parent.children.flat_map do |child| + [child, *flatten_tree(child)] + end end def parse_attributes(string) From 1ad58b214bfe3ceb1dddd09bab5ca2a5782d26fb Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 22 Feb 2024 14:47:58 +1100 Subject: [PATCH 018/374] Write symbols instead of hash rockets in HAML --- lib/haml_up.rb | 10 +++++++++- spec/lib/haml_up_spec.rb | 10 +++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/lib/haml_up.rb b/lib/haml_up.rb index 62d29be414..2ecc619960 100644 --- a/lib/haml_up.rb +++ b/lib/haml_up.rb @@ -102,7 +102,15 @@ class HamlUp entries = hash.map do |key, value| value = stringify(value) if value.is_a? Hash - "#{key.inspect} => #{value}" + # We prefer the Ruby 1.9 hash syntax with symbols followed by a colon + # like this: + # + # %button{ disabled: true, "ng-class": "primary-button" } + # + # Symbols start with `:` which we slice off. It gets appended below. + key = key.to_sym.inspect.slice(1..-1) + + "#{key}: #{value}" end "{ #{entries.join(', ')} }" diff --git a/spec/lib/haml_up_spec.rb b/spec/lib/haml_up_spec.rb index 392e5b5550..0df7c56642 100644 --- a/spec/lib/haml_up_spec.rb +++ b/spec/lib/haml_up_spec.rb @@ -14,7 +14,7 @@ describe HamlUp, skip: !Gem::Dependency.new("", "~> 5.2").match?("", Haml::VERSI it "rewrites non-standard attribute hashes" do original = "%p{ng: {click: 'action', show: 'condition'}} label" template = call(original) - expect(template).to eq "%p{ \"ng-click\" => 'action', \"ng-show\" => 'condition' } label" + expect(template).to eq "%p{ \"ng-click\": 'action', \"ng-show\": 'condition' } label" end it "preserves standard attribute hashes" do @@ -26,18 +26,18 @@ describe HamlUp, skip: !Gem::Dependency.new("", "~> 5.2").match?("", Haml::VERSI it "preserves standard attribute hashes while rewriting others" do original = "%p{data: {click: 'standard'}, ng: {click: 'not'}} label" template = call(original) - expect(template).to eq "%p{ \"data\" => {click: 'standard'}, \"ng-click\" => 'not' } label" + expect(template).to eq "%p{ data: {click: 'standard'}, \"ng-click\": 'not' } label" end it "rewrites multi-line attributes" do original = <<~HAML %li{ ng: { class: "{active: selector.active}" } } - %a{ "tooltip" => "{{selector.object.value}}", "tooltip-placement" => "bottom", + %a{ tooltip: "{{selector.object.value}}", "tooltip-placement": "bottom", ng: { transclude: true, class: "{active: selector.active, 'has-tip': selector.object.value}" } } HAML expected = <<~HAML - %li{ "ng-class" => "{active: selector.active}" } - %a{ "tooltip" => "{{selector.object.value}}", "tooltip-placement" => "bottom", "ng-transclude" => true, "ng-class" => "{active: selector.active, 'has-tip': selector.object.value}" } + %li{ "ng-class": "{active: selector.active}" } + %a{ tooltip: "{{selector.object.value}}", "tooltip-placement": "bottom", "ng-transclude": true, "ng-class": "{active: selector.active, 'has-tip': selector.object.value}" } HAML template = call(original) expect(template).to eq expected From ba516412714d0f69f803c2d374d329f271b949d1 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 22 Feb 2024 15:00:08 +1100 Subject: [PATCH 019/374] Symbolise hash keys in HAML files This was done by the haml-up script. --- .../templates/active_selector.html.haml | 4 +- .../templates/admin/alert_row.html.haml | 8 +- .../admin/columns_dropdown.html.haml | 10 +- .../templates/admin/confirm_dialog.html.haml | 8 +- .../admin/edit_address_dialog.html.haml | 22 ++--- .../templates/admin/info_dialog.html.haml | 6 +- .../admin/modals/bulk_invoice.html.haml | 10 +- .../admin/modals/image_upload.html.haml | 6 +- .../admin/new_customer_dialog.html.haml | 10 +- .../admin/new_tag_rule_dialog.html.haml | 4 +- .../admin/order_cycles_selector.html.haml | 10 +- .../templates/admin/panel.html.haml | 4 +- .../admin/panels/enterprise_package.html.haml | 44 ++++----- .../panels/enterprise_producer.html.haml | 18 ++-- .../admin/panels/enterprise_status.html.haml | 18 ++-- .../templates/admin/save_bar.html.haml | 8 +- .../templates/admin/schedule_dialog.html.haml | 22 ++--- .../javascripts/templates/admin/tag.html.haml | 6 +- .../admin/tag_autocomplete.html.haml | 8 +- .../tag_rules/discount_order_input.html.haml | 2 +- .../filter_order_cycles_input.html.haml | 6 +- .../filter_payment_methods_input.html.haml | 6 +- .../tag_rules/filter_products_input.html.haml | 6 +- .../filter_shipping_methods_input.html.haml | 6 +- .../admin/tag_rules/tag_rule.html.haml | 16 +-- .../templates/admin/tags_input.html.haml | 4 +- .../templates/bulk_buy_modal.html.haml | 12 +-- .../templates/filter_selector.html.haml | 2 +- .../templates/help-modal.html.haml | 2 +- .../templates/partials/hub_details.html.haml | 2 +- .../templates/price_breakdown.html.haml | 4 +- .../question_mark_with_tooltip.html.haml | 4 +- ...ultiple_checked_select_component.html.haml | 2 +- .../admin/_terms_of_service_banner.html.haml | 2 +- app/views/admin/customers/index.html.haml | 34 +++---- .../admin/enterprise_fees/index.html.haml | 14 +-- .../admin/enterprise_groups/_form.html.haml | 2 +- .../enterprise_groups/_form_about.html.haml | 2 +- .../enterprise_groups/_form_address.html.haml | 2 +- .../enterprise_groups/_form_images.html.haml | 2 +- .../_form_primary_details.html.haml | 2 +- .../enterprise_groups/_form_users.html.haml | 2 +- .../enterprise_groups/_form_web.html.haml | 2 +- .../enterprise_relationships/_form.html.haml | 2 +- .../_search_input.html.haml | 4 +- .../enterprises/_change_type_form.html.haml | 18 ++-- .../_enterprise_user_index.html.haml | 50 +++++----- app/views/admin/enterprises/_form.html.haml | 6 +- .../admin/enterprises/_ng_form.html.haml | 4 +- .../admin/enterprises/form/_address.html.haml | 2 +- .../form/_business_details.html.haml | 10 +- .../form/_connected_apps.html.haml | 4 +- .../admin/enterprises/form/_images.html.haml | 8 +- .../enterprises/form/_permalink.html.haml | 8 +- .../form/_primary_details.html.haml | 2 +- .../form/_shop_preferences.html.haml | 8 +- .../enterprises/form/_tag_rules.html.haml | 16 +-- .../admin/enterprises/form/_users.html.haml | 16 +-- .../form/tag_rules/_default_rules.html.haml | 4 +- app/views/admin/enterprises/new.html.haml | 2 +- .../order_cycles/_exchange_form.html.haml | 6 +- .../admin/order_cycles/_filters.html.haml | 8 +- .../admin/order_cycles/_header.html.haml | 32 +++--- .../order_cycles/_loading_flash.html.haml | 6 +- .../_name_and_timing_form.html.haml | 2 +- app/views/admin/order_cycles/_row.html.haml | 50 +++++----- .../admin/order_cycles/_show_more.html.haml | 6 +- .../admin/order_cycles/_simple_form.html.haml | 4 +- app/views/admin/order_cycles/edit.html.haml | 12 +-- .../admin/order_cycles/incoming.html.haml | 8 +- app/views/admin/order_cycles/index.html.haml | 8 +- app/views/admin/order_cycles/new.html.haml | 4 +- .../admin/order_cycles/outgoing.html.haml | 10 +- .../product_import/_entries_table.html.haml | 6 +- .../product_import/_errors_list.html.haml | 6 +- .../product_import/_import_options.html.haml | 2 +- .../product_import/_import_review.html.haml | 52 +++++----- .../product_import/_save_results.html.haml | 30 +++--- .../product_import/_upload_form.html.haml | 2 +- .../admin/product_import/import.html.haml | 24 ++--- .../admin/products_v3/_no_products.html.haml | 2 +- app/views/admin/products_v3/_sort.html.haml | 2 +- app/views/admin/reports/show.html.haml | 2 +- app/views/admin/shared/_side_menu.html.haml | 4 +- .../shared/_stimulus_pagination.html.haml | 10 +- .../admin/shared/_views_dropdown.html.haml | 2 +- .../admin/subscriptions/_address.html.haml | 98 +++++++++---------- .../subscriptions/_autocomplete.html.haml | 6 +- .../admin/subscriptions/_controls.html.haml | 4 +- .../admin/subscriptions/_details.html.haml | 42 ++++---- .../admin/subscriptions/_filters.html.haml | 6 +- app/views/admin/subscriptions/_form.html.haml | 32 +++--- .../subscriptions/_loading_flash.html.haml | 2 +- .../admin/subscriptions/_no_results.html.haml | 6 +- .../_order_update_issues_dialog.html.haml | 14 +-- .../subscriptions/_orders_panel.html.haml | 16 +-- .../admin/subscriptions/_products.html.haml | 2 +- .../subscriptions/_products_panel.html.haml | 10 +- .../admin/subscriptions/_review.html.haml | 10 +- .../_subscription_line_items.html.haml | 10 +- .../admin/subscriptions/_table.html.haml | 56 +++++------ .../subscriptions/_wizard_progress.html.haml | 2 +- app/views/admin/subscriptions/edit.html.haml | 2 +- app/views/admin/subscriptions/index.html.haml | 2 +- app/views/admin/subscriptions/new.html.haml | 2 +- .../variant_overrides/_controls.html.haml | 16 +-- .../variant_overrides/_filters.html.haml | 18 ++-- .../_hidden_products.html.haml | 18 ++-- .../_loading_flash.html.haml | 2 +- .../variant_overrides/_new_products.html.haml | 18 ++-- .../_new_products_alert.html.haml | 4 +- .../variant_overrides/_no_results.html.haml | 14 +-- .../variant_overrides/_products.html.haml | 54 +++++----- .../_products_product.html.haml | 22 ++--- .../_products_variants.html.haml | 46 ++++----- .../variant_overrides/_show_more.html.haml | 6 +- .../admin/variant_overrides/index.html.haml | 4 +- app/views/enterprises/shop.html.haml | 6 +- app/views/layouts/_login_modal.html.haml | 12 +-- app/views/producers/_skinny.html.haml | 4 +- app/views/registration/_modal.html.haml | 6 +- app/views/registration/authenticate.html.haml | 12 +-- app/views/registration/steps/_about.html.haml | 22 ++--- .../registration/steps/_contact.html.haml | 14 +-- .../registration/steps/_details.html.haml | 36 +++---- .../registration/steps/_images.html.haml | 16 +-- .../steps/_introduction.html.haml | 4 +- .../steps/_limit_reached.html.haml | 2 +- .../steps/_location_map.html.haml | 12 +-- app/views/registration/steps/_logo.html.haml | 6 +- app/views/registration/steps/_promo.html.haml | 6 +- .../registration/steps/_social.html.haml | 14 +-- app/views/registration/steps/_steps.html.haml | 2 +- app/views/registration/steps/_type.html.haml | 16 +-- app/views/shared/menu/_alert.html.haml | 2 +- app/views/shared/menu/_cart_sidebar.html.haml | 14 +-- app/views/shared/menu/_mobile_menu.html.haml | 2 +- .../shared/menu/_offcanvas_menu.html.haml | 2 +- app/views/shop/products/_filters.html.haml | 4 +- app/views/shop/products/_form.html.haml | 12 +-- app/views/shop/products/_search_feedback.haml | 4 +- app/views/shop/products/_searchbar.haml | 6 +- .../_shop_variant_no_group_buy.html.haml | 18 ++-- .../_shop_variant_with_group_buy.html.haml | 12 +-- app/views/shop/products/_summary.html.haml | 2 +- app/views/shopping_shared/_tabs.html.haml | 2 +- app/views/shops/_hubs.html.haml | 10 +- app/views/shops/_skinny.html.haml | 14 +-- .../spree/admin/orders/_filters.html.haml | 2 +- app/views/spree/admin/orders/_note.html.haml | 4 +- app/views/spree/admin/orders/_table.html.haml | 2 +- .../admin/orders/bulk_management.html.haml | 50 +++++----- .../payment_methods/_providers.html.haml | 2 +- .../payment_methods/_stripe_connect.html.haml | 20 ++-- .../spree/admin/products/index.html.haml | 2 +- .../admin/products/index/_filters.html.haml | 8 +- .../admin/products/index/_products.html.haml | 2 +- .../products/index/_products_head.html.haml | 28 +++--- .../index/_products_variant.html.haml | 2 +- app/views/spree/admin/products/new.html.haml | 2 +- .../spree/admin/shared/_order_links.html.haml | 4 +- .../admin/shared/_status_message.html.haml | 2 +- app/views/spree/orders/_bought.html.haml | 12 +-- .../orders/form/_update_buttons.html.haml | 4 +- .../spree/users/_authorised_shops.html.haml | 6 +- app/views/spree/users/_cards.html.haml | 10 +- .../spree/users/_new_card_form.html.haml | 8 +- app/views/spree/users/_orders.html.haml | 4 +- app/views/spree/users/_saved_cards.html.haml | 10 +- .../cookies_banner.html.haml | 2 +- .../cookies_policy.html.haml | 4 +- 171 files changed, 928 insertions(+), 928 deletions(-) diff --git a/app/assets/javascripts/templates/active_selector.html.haml b/app/assets/javascripts/templates/active_selector.html.haml index 3dba975f27..c7ddfc3577 100644 --- a/app/assets/javascripts/templates/active_selector.html.haml +++ b/app/assets/javascripts/templates/active_selector.html.haml @@ -1,2 +1,2 @@ -%li{ "ng-class" => "{active: selector.active}" } - %a{ "tooltip" => "{{selector.object.value}}", "tooltip-placement" => "bottom", "ng-transclude" => true, "ng-class" => "{active: selector.active, 'has-tip': selector.object.value}" } +%li{ "ng-class": "{active: selector.active}" } + %a{ tooltip: "{{selector.object.value}}", "tooltip-placement": "bottom", "ng-transclude": true, "ng-class": "{active: selector.active, 'has-tip': selector.object.value}" } diff --git a/app/assets/javascripts/templates/admin/alert_row.html.haml b/app/assets/javascripts/templates/admin/alert_row.html.haml index d2323ace55..52df4db4e2 100644 --- a/app/assets/javascripts/templates/admin/alert_row.html.haml +++ b/app/assets/javascripts/templates/admin/alert_row.html.haml @@ -1,8 +1,8 @@ -.sixteen.columns.alpha.omega.alert-row{ "ng-show" => '!dismissed' } +.sixteen.columns.alpha.omega.alert-row{ "ng-show": '!dismissed' } .fifteen.columns.pad.alpha - %span.message.text-big{ "ng-bind" => 'message' } + %span.message.text-big{ "ng-bind": 'message' }     - %input{ "type" => 'button', "ng-value" => "buttonText", "ng-show" => 'buttonText && buttonAction', "ng-click" => "buttonAction()" } + %input{ type: 'button', "ng-value": "buttonText", "ng-show": 'buttonText && buttonAction', "ng-click": "buttonAction()" } .one.column.omega.pad.text-center - %a.close{ "href" => "#", "ng-click" => "dismiss()" } + %a.close{ href: "#", "ng-click": "dismiss()" } × diff --git a/app/assets/javascripts/templates/admin/columns_dropdown.html.haml b/app/assets/javascripts/templates/admin/columns_dropdown.html.haml index fabdb56c91..61f42974db 100644 --- a/app/assets/javascripts/templates/admin/columns_dropdown.html.haml +++ b/app/assets/javascripts/templates/admin/columns_dropdown.html.haml @@ -1,13 +1,13 @@ -.ofn-drop-down.ofn-drop-down-v2.right#columns-dropdown{ "ng-controller" => 'ColumnsDropdownCtrl' } +.ofn-drop-down.ofn-drop-down-v2.right#columns-dropdown{ "ng-controller": 'ColumnsDropdownCtrl' } .ofn-drop-down-label = "  #{t('admin.columns')}".html_safe %span{ 'ng-class' => "expanded && 'icon-caret-up' || !expanded && 'icon-caret-down'" } %div.menu{ 'ng-show' => "expanded" } .menu_items - .menu_item{ "ng-repeat" => "column in columns", "ng-click" => "toggle(column);" } - %input.redesigned-input{ "type" => "checkbox", "ng-checked" => "column.visible" } + .menu_item{ "ng-repeat": "column in columns", "ng-click": "toggle(column);" } + %input.redesigned-input{ type: "checkbox", "ng-checked": "column.visible" } {{ column.name }} %hr %div.menu_item.text-center - %input.fullwidth.orange{ "type" => "button", "ng-value" => "saved() ? 'Saved': 'Saving'", "ng-show" => "saved() || saving", "ng-disabled" => "saved()" } - %input.fullwidth.red{ "type" => "button", "value" => t('admin.column_save_as_default').html_safe, "ng-show" => "!saved() && !saving", "ng-click" => "saveColumnPreferences(action)" } + %input.fullwidth.orange{ type: "button", "ng-value": "saved() ? 'Saved': 'Saving'", "ng-show": "saved() || saving", "ng-disabled": "saved()" } + %input.fullwidth.red{ type: "button", value: t('admin.column_save_as_default').html_safe, "ng-show": "!saved() && !saving", "ng-click": "saveColumnPreferences(action)" } diff --git a/app/assets/javascripts/templates/admin/confirm_dialog.html.haml b/app/assets/javascripts/templates/admin/confirm_dialog.html.haml index fc1b169213..36d29a522b 100644 --- a/app/assets/javascripts/templates/admin/confirm_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/confirm_dialog.html.haml @@ -1,8 +1,8 @@ -#confirm-dialog{ "ng-class" => "dialog_class" } +#confirm-dialog{ "ng-class": "dialog_class" } .message.clearfix.margin-bottom-30 .icon.text-center %i.icon-question-sign - .text{ "ng-bind" => "::message" } + .text{ "ng-bind": "::message" } .action-buttons.text-center - %button.cancel{ "ng-click" => "close()", "ng-bind" => "::cancelText" } - %button.confirm.red{ "ng-click" => "confirm()", "ng-bind" => "::confirmText" } + %button.cancel{ "ng-click": "close()", "ng-bind": "::cancelText" } + %button.confirm.red{ "ng-click": "confirm()", "ng-bind": "::confirmText" } diff --git a/app/assets/javascripts/templates/admin/edit_address_dialog.html.haml b/app/assets/javascripts/templates/admin/edit_address_dialog.html.haml index 2d7eeba793..7a8ddd4216 100644 --- a/app/assets/javascripts/templates/admin/edit_address_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/edit_address_dialog.html.haml @@ -1,12 +1,12 @@ #edit-address-dialog %h2 {{ addressType === 'bill_address' ? "#{t('admin.customers.index.edit_bill_address')}" : "#{t('admin.customers.index.edit_ship_address')}" }} - %form{ "name" => 'edit_address_form', "novalidate" => true, "ng-submit" => 'updateAddress()' } + %form{ name: 'edit_address_form', novalidate: true, "ng-submit": 'updateAddress()' } .row {{ 'admin.customers.index.required_fileds' | t }} ( %span.required * ) - .error{ "ng-repeat" => "error in errors", "ng-bind" => "error" } + .error{ "ng-repeat": "error in errors", "ng-bind": "error" } %table.no-borders %tr @@ -14,55 +14,55 @@ {{ 'first_name' | t }} %span.required * %td - %input{ "type" => 'text', "name" => 'firstname', "required" => true, "ng-model" => 'address.firstname' } + %input{ type: 'text', name: 'firstname', required: true, "ng-model": 'address.firstname' } %tr %td {{ 'last_name' | t }} %span.required * %td - %input{ "type" => 'text', "name" => 'lastname', "required" => true, "ng-model" => 'address.lastname' } + %input{ type: 'text', name: 'lastname', required: true, "ng-model": 'address.lastname' } %tr %td {{ 'address' | t }} %span.required * %td - %input{ "type" => 'text', "name" => 'address1', "required" => true, "ng-model" => 'address.address1' } + %input{ type: 'text', name: 'address1', required: true, "ng-model": 'address.address1' } %tr %td {{ 'address2' | t }} %td - %input{ "type" => 'text', "name" => 'address2', "ng-model" => 'address.address2' } + %input{ type: 'text', name: 'address2', "ng-model": 'address.address2' } %tr %td {{ 'city' | t }} %span.required * %td - %input{ "type" => 'text', "name" => 'city', "required" => true, "ng-model" => 'address.city' } + %input{ type: 'text', name: 'city', required: true, "ng-model": 'address.city' } %tr %td {{ 'postcode' | t }} %span.required * %td - %input{ "type" => 'text', "name" => 'zipcode', "required" => true, "ng-model" => 'address.zipcode' } + %input{ type: 'text', name: 'zipcode', required: true, "ng-model": 'address.zipcode' } %tr %td {{ 'country' | t }} %span.required * %td - %input.ofn-select2.fullwidth#country_id{ "type" => 'number', "name" => 'country_id', "required" => true, "placeholder" => "{{ 'admin.customers.index.select_country' | t }}", "data" => 'availableCountries', "ng-model" => 'address.country_id' } + %input.ofn-select2.fullwidth#country_id{ type: 'number', name: 'country_id', required: true, placeholder: "{{ 'admin.customers.index.select_country' | t }}", data: 'availableCountries', "ng-model": 'address.country_id' } %tr %td {{ 'state' | t }} %span.required * %td - %input.ofn-select2.fullwidth#state_id{ "type" => 'number', "name" => 'state_id', "required" => true, "placeholder" => "{{ 'admin.customers.index.select_state' | t }}", "data" => 'states', "ng-model" => 'address.state_id' } + %input.ofn-select2.fullwidth#state_id{ type: 'number', name: 'state_id', required: true, placeholder: "{{ 'admin.customers.index.select_state' | t }}", data: 'states', "ng-model": 'address.state_id' } %tr %td {{ 'phone' | t }} %span.required * %td - %input{ "type" => 'text', "name" => 'phone', "required" => true, "ng-model" => 'address.phone' } + %input{ type: 'text', name: 'phone', required: true, "ng-model": 'address.phone' } .text-center %input.button.red.icon-plus{ type: 'submit', value: t('admin.customers.index.update_address')} diff --git a/app/assets/javascripts/templates/admin/info_dialog.html.haml b/app/assets/javascripts/templates/admin/info_dialog.html.haml index 17d443e87b..3e474c5501 100644 --- a/app/assets/javascripts/templates/admin/info_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/info_dialog.html.haml @@ -1,9 +1,9 @@ -#info-dialog{ "ng-class" => "dialog_class" } +#info-dialog{ "ng-class": "dialog_class" } .message.clearfix.margin-bottom-30 .icon.text-center - %i{ "ng-class" => "icon_class" } + %i{ "ng-class": "icon_class" } .text {{ message }} .action-buttons.text-center - %button{ "ng-click" => "close()" } + %button{ "ng-click": "close()" } = t(:ok) diff --git a/app/assets/javascripts/templates/admin/modals/bulk_invoice.html.haml b/app/assets/javascripts/templates/admin/modals/bulk_invoice.html.haml index 8cb89d7976..c2a026d19e 100644 --- a/app/assets/javascripts/templates/admin/modals/bulk_invoice.html.haml +++ b/app/assets/javascripts/templates/admin/modals/bulk_invoice.html.haml @@ -1,15 +1,15 @@ %h4.modal-title = t('js.admin.orders.index.compiling_invoices') -%p.message{ "ng-show" => 'message' } +%p.message{ "ng-show": 'message' } {{message}} -%p.error{ "ng-show" => 'error' } +%p.error{ "ng-show": 'error' } {{error}} -%img.spinner{ "src" => image_path("/spinning-circles.svg"), "ng-show" => "loading" } -%p{ "ng-show" => "loading" } +%img.spinner{ src: image_path("/spinning-circles.svg"), "ng-show": "loading" } +%p{ "ng-show": "loading" } = t('js.admin.orders.index.please_wait') -%a.button{ "target" => '_blank', "ng-click" => 'showBulkInvoice()', "ng-href" => '/admin/orders/invoices/{{invoice_id}}', "ng-show" => "!loading && !error" } +%a.button{ target: '_blank', "ng-click": 'showBulkInvoice()', "ng-href": '/admin/orders/invoices/{{invoice_id}}', "ng-show": "!loading && !error" } = t('js.admin.orders.index.view_file') diff --git a/app/assets/javascripts/templates/admin/modals/image_upload.html.haml b/app/assets/javascripts/templates/admin/modals/image_upload.html.haml index a1b5141d89..ebc198b178 100644 --- a/app/assets/javascripts/templates/admin/modals/image_upload.html.haml +++ b/app/assets/javascripts/templates/admin/modals/image_upload.html.haml @@ -1,10 +1,10 @@ %a.close-reveal-modal{"ng-click" => "$close()"} %i.fa.fa-times-circle{'aria-hidden' => "true"} -%form#image_upload{ "name" => 'form', "novalidate" => true, "enctype" => 'multipart/form-data', "multipart" => true, "ng-controller" => "ProductImageCtrl" } +%form#image_upload{ name: 'form', novalidate: true, enctype: 'multipart/form-data', multipart: true, "ng-controller": "ProductImageCtrl" } %div.image-preview - %img.spinner{ "src" => image_path("/spinning-circles.svg"), "ng-hide" => "!imageUploader.isUploading" } - %img.preview{ "ng-src" => "{{imagePreview}}", "ng-class" => "{'faded': imageUploader.isUploading}" } + %img.spinner{ src: image_path("/spinning-circles.svg"), "ng-hide": "!imageUploader.isUploading" } + %img.preview{ "ng-src": "{{imagePreview}}", "ng-class": "{'faded': imageUploader.isUploading}" } %label{for: 'image-upload', class: 'button'} {{ 'admin.products.index.upload_an_image' | t }} %input#image-upload{hidden: true, type: 'file', 'nv-file-select' => true, uploader: "imageUploader"} diff --git a/app/assets/javascripts/templates/admin/new_customer_dialog.html.haml b/app/assets/javascripts/templates/admin/new_customer_dialog.html.haml index cc68790124..8914e21f08 100644 --- a/app/assets/javascripts/templates/admin/new_customer_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/new_customer_dialog.html.haml @@ -2,14 +2,14 @@ .text-normal.margin-bottom-30.text-center {{ 'js.admin.customers.index.add_a_new_customer_for' | t:{ shop_name: CurrentShop.shop.name } }} - %form{ "name" => 'new_customer_form', "novalidate" => true, "ng-submit" => "addCustomer()" } + %form{ name: 'new_customer_form', novalidate: true, "ng-submit": "addCustomer()" } .text-center.margin-bottom-30 - %input.fullwidth{ "type" => 'email', "name" => 'email', "required" => true, "placeholder" => "{{ 'js.admin.customers.index.customer_placeholder' | t }}", "ng-model" => "email" } - %div{ "ng-show" => "submitted && new_customer_form.$pristine" } - .error{ "ng-show" => "(new_customer_form.email.$error.email || new_customer_form.email.$error.required)" } + %input.fullwidth{ type: 'email', name: 'email', required: true, placeholder: "{{ 'js.admin.customers.index.customer_placeholder' | t }}", "ng-model": "email" } + %div{ "ng-show": "submitted && new_customer_form.$pristine" } + .error{ "ng-show": "(new_customer_form.email.$error.email || new_customer_form.email.$error.required)" } {{ 'js.admin.customers.index.valid_email_error' | t }} - .error{ "ng-repeat" => "error in errors", "ng-bind" => "error" } + .error{ "ng-repeat": "error in errors", "ng-bind": "error" } .text-center %input.button.red.icon-plus{ type: 'submit', value: "{{ 'js.admin.customers.index.add_customer' | t }}" } diff --git a/app/assets/javascripts/templates/admin/new_tag_rule_dialog.html.haml b/app/assets/javascripts/templates/admin/new_tag_rule_dialog.html.haml index 9030ee074b..cc43116af1 100644 --- a/app/assets/javascripts/templates/admin/new_tag_rule_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/new_tag_rule_dialog.html.haml @@ -4,7 +4,7 @@ .text-center.margin-bottom-30 -# %select.fullwidth{ 'select2-min-search' => 5, 'ng-model' => 'newRuleType', 'ng-options' => 'ruleType.id as ruleType.name for ruleType in availableRuleTypes' } - %input.ofn-select2.fullwidth{ "id" => 'rule_type_selector', "data" => "ruleTypes", "min-search" => "5", "ng-model" => "ruleType" } + %input.ofn-select2.fullwidth{ id: 'rule_type_selector', data: "ruleTypes", "min-search": "5", "ng-model": "ruleType" } .text-center - %input.button.red.icon-plus{ "type" => 'button', "value" => "{{ 'js.admin.new_tag_rule_dialog.add_rule' | t }}", "ng-click" => 'addRule(tagGroup, ruleType)' } + %input.button.red.icon-plus{ type: 'button', value: "{{ 'js.admin.new_tag_rule_dialog.add_rule' | t }}", "ng-click": 'addRule(tagGroup, ruleType)' } diff --git a/app/assets/javascripts/templates/admin/order_cycles_selector.html.haml b/app/assets/javascripts/templates/admin/order_cycles_selector.html.haml index a26f155f7c..e39cc7ca8b 100644 --- a/app/assets/javascripts/templates/admin/order_cycles_selector.html.haml +++ b/app/assets/javascripts/templates/admin/order_cycles_selector.html.haml @@ -3,16 +3,16 @@ %td#available-order-cycles {{ 'js.admin.order_cycles.schedules.available' | t }} .order-cycles - .order-cycle{ "ng-repeat" => 'orderCycle in orderCycles | available:selectedOrderCycles as availableOrderCycles', "ng-click" => 'selections.available = orderCycle', "ng-dblclick" => 'add(orderCycle)', "ng-class" => '{selected: selections.available == orderCycle}' } + .order-cycle{ "ng-repeat": 'orderCycle in orderCycles | available:selectedOrderCycles as availableOrderCycles', "ng-click": 'selections.available = orderCycle', "ng-dblclick": 'add(orderCycle)', "ng-class": '{selected: selections.available == orderCycle}' } {{ orderCycle.name }} %td#add-remove-buttons - %a.add.button{ "href" => 'javascript:void(0)', "ng-click" => 'add()' } + %a.add.button{ href: 'javascript:void(0)', "ng-click": 'add()' } %i.icon-chevron-right - %a.remove.button{ "href" => 'javascript:void(0)', "ng-click" => 'remove()' } + %a.remove.button{ href: 'javascript:void(0)', "ng-click": 'remove()' } %i.icon-chevron-left %td#selected-order-cycles {{ 'js.admin.order_cycles.schedules.selected' | t }} .order-cycles - .order-cycle{ "ng-repeat" => 'orderCycle in selectedOrderCycles', "ng-click" => 'selections.selected = orderCycle', "ng-dblclick" => 'remove(orderCycle)', "ng-class" => '{selected: selections.selected == orderCycle}' } + .order-cycle{ "ng-repeat": 'orderCycle in selectedOrderCycles', "ng-click": 'selections.selected = orderCycle', "ng-dblclick": 'remove(orderCycle)', "ng-class": '{selected: selections.selected == orderCycle}' } {{ orderCycle.name }} -.error{ "ng-repeat" => "error in errors", "ng-bind" => "error" } +.error{ "ng-repeat": "error in errors", "ng-bind": "error" } diff --git a/app/assets/javascripts/templates/admin/panel.html.haml b/app/assets/javascripts/templates/admin/panel.html.haml index 514a943264..54b9fa5c39 100644 --- a/app/assets/javascripts/templates/admin/panel.html.haml +++ b/app/assets/javascripts/templates/admin/panel.html.haml @@ -1,2 +1,2 @@ -%td{ "colspan" => "{{columnCount}}", "ng-if" => "template" } - .panel{ "ng-include" => "template" } +%td{ colspan: "{{columnCount}}", "ng-if": "template" } + .panel{ "ng-include": "template" } diff --git a/app/assets/javascripts/templates/admin/panels/enterprise_package.html.haml b/app/assets/javascripts/templates/admin/panels/enterprise_package.html.haml index c882b3bf2a..0c3a737a90 100644 --- a/app/assets/javascripts/templates/admin/panels/enterprise_package.html.haml +++ b/app/assets/javascripts/templates/admin/panels/enterprise_package.html.haml @@ -1,7 +1,7 @@ -.row.enterprise_package_panel{ "ng-controller" => 'indexPackagePanelCtrl' } +.row.enterprise_package_panel{ "ng-controller": 'indexPackagePanelCtrl' } .alpha.eight.columns - %div{ "ng-if" => "!enterprise.is_primary_producer", "ng-switch" => "enterprise.sells" } - .info{ "ng-switch-when" => "none" } + %div{ "ng-if": "!enterprise.is_primary_producer", "ng-switch": "enterprise.sells" } + .info{ "ng-switch-when": "none" } %h3 {{ 'js.admin.panels.enterprise_package.hub_profile' | t }} @@ -15,7 +15,7 @@ %p {{ 'js.admin.panels.enterprise_package.hub_profile_text2' | t }} - .info{ "ng-switch-when" => "any" } + .info{ "ng-switch-when": "any" } %h3 {{ 'js.admin.panels.enterprise_package.hub_shop' | t }} @@ -28,7 +28,7 @@ %p {{ 'js.admin.panels.enterprise_package.hub_shop_text3' | t }} - .info{ "ng-switch-default" => true } + .info{ "ng-switch-default": true } %h3 {{ 'js.admin.panels.enterprise_package.choose_package' | t }} %i.icon-arrow-right @@ -40,8 +40,8 @@ %p {{ 'js.admin.panels.enterprise_package.choose_package_text2' | t }} - %div{ "ng-if" => "enterprise.is_primary_producer", "ng-switch" => "enterprise.sells" } - .info{ "ng-switch-when" => "none" } + %div{ "ng-if": "enterprise.is_primary_producer", "ng-switch": "enterprise.sells" } + .info{ "ng-switch-when": "none" } %h3 {{ 'js.admin.panels.enterprise_package.profile_only' | t }} @@ -58,7 +58,7 @@ %p {{ 'js.admin.panels.enterprise_package.profile_only_text3' | t }} - .info{ "ng-switch-when" => "own" } + .info{ "ng-switch-when": "own" } %h3 {{ 'js.admin.panels.enterprise_package.producer_shop' | t }} @@ -68,7 +68,7 @@ %p {{ 'js.admin.panels.enterprise_package.producer_shop_text2' | t }} - .info{ "ng-switch-when" => "any" } + .info{ "ng-switch-when": "any" } %h3 {{ 'js.admin.panels.enterprise_package.producer_hub' | t }} @@ -81,7 +81,7 @@ %p {{ 'js.admin.panels.enterprise_package.producer_hub_text3' | t }} - .info{ "ng-switch-default" => true } + .info{ "ng-switch-default": true } %h3 {{ 'js.admin.panels.enterprise_package.choose_package' | t }} %i.icon-arrow-right @@ -93,9 +93,9 @@ %p {{ 'js.admin.panels.enterprise_package.choose_package_text2' | t }} - .omega.eight.columns{ "ng-switch" => "enterprise.is_primary_producer" } - %div{ "ng-switch-when" => "false" } - %a.button.selector.hub-profile{ "ng-click" => "enterprise.owned && (enterprise.sells='none')", "ng-class" => "{selected: enterprise.sells=='none', disabled: !enterprise.owned}" } + .omega.eight.columns{ "ng-switch": "enterprise.is_primary_producer" } + %div{ "ng-switch-when": "false" } + %a.button.selector.hub-profile{ "ng-click": "enterprise.owned && (enterprise.sells='none')", "ng-class": "{selected: enterprise.sells=='none', disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_package.profile_only' | t }} @@ -103,15 +103,15 @@ {{ 'js.admin.panels.enterprise_package.get_listing' | t }} .bottom {{ 'js.admin.panels.enterprise_package.always_free' | t }} - %a.button.selector.hub{ "ng-click" => "enterprise.owned && (enterprise.sells='any')", "ng-class" => "{selected: enterprise.sells=='any', disabled: !enterprise.owned}" } + %a.button.selector.hub{ "ng-click": "enterprise.owned && (enterprise.sells='any')", "ng-class": "{selected: enterprise.sells=='any', disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_package.hub_shop' | t }} %p {{ 'js.admin.panels.enterprise_package.sell_produce_others' | t }} - %div{ "ng-switch-when" => "true" } - %a.button.selector.producer-profile{ "ng-click" => "enterprise.owned && (enterprise.sells='none')", "ng-class" => "{selected: enterprise.sells=='none', disabled: !enterprise.owned}" } + %div{ "ng-switch-when": "true" } + %a.button.selector.producer-profile{ "ng-click": "enterprise.owned && (enterprise.sells='none')", "ng-class": "{selected: enterprise.sells=='none', disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_package.profile_only' | t }} @@ -119,27 +119,27 @@ {{ 'js.admin.panels.enterprise_package.get_listing' | t }} .bottom {{ 'js.admin.panels.enterprise_package.always_free' | t }} - %a.button.selector.producer-shop{ "ng-click" => "enterprise.owned && (enterprise.sells='own')", "ng-class" => "{selected: enterprise.sells=='own', disabled: !enterprise.owned}" } + %a.button.selector.producer-shop{ "ng-click": "enterprise.owned && (enterprise.sells='own')", "ng-class": "{selected: enterprise.sells=='own', disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_package.producer_shop' | t }} %p {{ 'js.admin.panels.enterprise_package.sell_own_produce' | t }} - %a.button.selector.producer-hub{ "ng-click" => "enterprise.owned && (enterprise.sells='any')", "ng-class" => "{selected: enterprise.sells=='any', disabled: !enterprise.owned}" } + %a.button.selector.producer-hub{ "ng-click": "enterprise.owned && (enterprise.sells='any')", "ng-class": "{selected: enterprise.sells=='any', disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_package.producer_hub' | t }} %p {{ 'js.admin.panels.enterprise_package.sell_both' | t }} - %a.button.update.fullwidth{ "ng-show" => "enterprise.owned", "ng-class" => "{disabled: saved() && !saving, saving: saving}", "ng-click" => "save()" } - %span{ "ng-hide" => "saved() || saving" } + %a.button.update.fullwidth{ "ng-show": "enterprise.owned", "ng-class": "{disabled: saved() && !saving, saving: saving}", "ng-click": "save()" } + %span{ "ng-hide": "saved() || saving" } {{ 'js.admin.panels.save' | t }} %i.icon-save - %span{ "ng-show" => "saved() && !saving" } + %span{ "ng-show": "saved() && !saving" } {{ 'js.admin.panels.saved' | t }} %i.icon-ok-sign - %span{ "ng-show" => "saving" } + %span{ "ng-show": "saving" } {{ 'js.admin.panels.saving' | t }} %i.icon-refresh diff --git a/app/assets/javascripts/templates/admin/panels/enterprise_producer.html.haml b/app/assets/javascripts/templates/admin/panels/enterprise_producer.html.haml index ec868ebf86..f85ecc2a09 100644 --- a/app/assets/javascripts/templates/admin/panels/enterprise_producer.html.haml +++ b/app/assets/javascripts/templates/admin/panels/enterprise_producer.html.haml @@ -1,6 +1,6 @@ -.row.enterprise_producer_panel{ "ng-controller" => 'indexProducerPanelCtrl' } +.row.enterprise_producer_panel{ "ng-controller": 'indexProducerPanelCtrl' } .alpha.eight.columns - .info{ "ng-show" => "enterprise.is_primary_producer==true" } + .info{ "ng-show": "enterprise.is_primary_producer==true" } %h3 {{ 'js.admin.panels.enterprise_producer.producer' | t }} %p @@ -8,7 +8,7 @@ %p {{ 'js.admin.panels.enterprise_producer.producer_text2' | t }} - .info{ "ng-show" => "enterprise.is_primary_producer==false" } + .info{ "ng-show": "enterprise.is_primary_producer==false" } %h3 {{ 'js.admin.panels.enterprise_producer.non_producer' | t }} %p @@ -17,7 +17,7 @@ {{ 'js.admin.panels.enterprise_producer.non_producer_text2' | t }} .omega.eight.columns - %a.button.selector.producer{ "ng-click" => 'enterprise.owned && changeToProducer()', "ng-class" => "{selected: enterprise.is_primary_producer==true, disabled: !enterprise.owned}" } + %a.button.selector.producer{ "ng-click": 'enterprise.owned && changeToProducer()', "ng-class": "{selected: enterprise.is_primary_producer==true, disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_producer.producer' | t }} @@ -26,7 +26,7 @@ .bottom {{ 'js.admin.panels.enterprise_producer.producer_example' | t }} - %a.button.selector.non-producer{ "ng-click" => 'enterprise.owned && changeToNonProducer()', "ng-class" => "{selected: enterprise.is_primary_producer==false, disabled: !enterprise.owned}" } + %a.button.selector.non-producer{ "ng-click": 'enterprise.owned && changeToNonProducer()', "ng-class": "{selected: enterprise.is_primary_producer==false, disabled: !enterprise.owned}" } .top %h3 {{ 'js.admin.panels.enterprise_producer.non_producer' | t }} @@ -35,13 +35,13 @@ .bottom {{ 'js.admin.panels.enterprise_producer.non_producer_example' | t }} - %a.button.update.fullwidth{ "ng-show" => "enterprise.owned", "ng-class" => "{disabled: saved() && !saving, saving: saving}", "ng-click" => "save()" } - %span{ "ng-hide" => "saved() || saving" } + %a.button.update.fullwidth{ "ng-show": "enterprise.owned", "ng-class": "{disabled: saved() && !saving, saving: saving}", "ng-click": "save()" } + %span{ "ng-hide": "saved() || saving" } {{ 'js.admin.panels.save' | t }} %i.icon-save - %span{ "ng-show" => "saved() && !saving" } + %span{ "ng-show": "saved() && !saving" } {{ 'js.admin.panels.saved' | t }} %i.icon-ok-sign - %span{ "ng-show" => "saving" } + %span{ "ng-show": "saving" } {{ 'js.admin.panels.saving' | t }} %i.icon-refresh diff --git a/app/assets/javascripts/templates/admin/panels/enterprise_status.html.haml b/app/assets/javascripts/templates/admin/panels/enterprise_status.html.haml index 325b19f237..3e0a2d396e 100644 --- a/app/assets/javascripts/templates/admin/panels/enterprise_status.html.haml +++ b/app/assets/javascripts/templates/admin/panels/enterprise_status.html.haml @@ -1,10 +1,10 @@ -.row.enterprise_status_panel{ "ng-controller" => 'indexStatusPanelCtrl' } +.row.enterprise_status_panel{ "ng-controller": 'indexStatusPanelCtrl' } .alpha.omega.sixteen.columns - %h4.status-ok.text-center{ "ng-show" => "issues.length == 0 && warnings.length == 0" } + %h4.status-ok.text-center{ "ng-show": "issues.length == 0 && warnings.length == 0" } %i.icon-ok-sign {{ 'js.admin.panels.enterprise_status.status_title' | t:{ name: object.name } }} - %table{ "ng-show" => "issues.length > 0 || warnings.length > 0" } + %table{ "ng-show": "issues.length > 0 || warnings.length > 0" } %thead %th.severity {{ 'js.admin.panels.enterprise_status.severity' | t }} @@ -12,17 +12,17 @@ {{ 'js.admin.panels.enterprise_status.description' | t }} %th.resolve {{ 'js.admin.panels.enterprise_status.resolve' | t }} - %tr{ "ng-repeat" => "issue in issues" } + %tr{ "ng-repeat": "issue in issues" } %td.severity %i.icon-warning-sign.issue %td.description - %span{ "ng-bind" => "::issue.description" } + %span{ "ng-bind": "::issue.description" } %td.resolve - %div{ "ng-bind-html" => "issue.link" } - %tr{ "ng-repeat" => "warning in warnings" } + %div{ "ng-bind-html": "issue.link" } + %tr{ "ng-repeat": "warning in warnings" } %td.severity %i.icon-warning-sign.warning %td.description - %span{ "ng-bind" => "::warning.description" } + %span{ "ng-bind": "::warning.description" } %td.resolve - %div{ "ng-bind-html" => "warning.link" } + %div{ "ng-bind-html": "warning.link" } diff --git a/app/assets/javascripts/templates/admin/save_bar.html.haml b/app/assets/javascripts/templates/admin/save_bar.html.haml index fee020f9c6..2a33901459 100644 --- a/app/assets/javascripts/templates/admin/save_bar.html.haml +++ b/app/assets/javascripts/templates/admin/save_bar.html.haml @@ -1,9 +1,9 @@ -#save-bar.animate-show{ "ng-show" => 'dirty || persist || StatusMessage.active()' } +#save-bar.animate-show{ "ng-show": 'dirty || persist || StatusMessage.active()' } .container .seven.columns.alpha - %h5#status-message{ "ng-show" => "StatusMessage.invalidMessage == ''", "ng-style" => 'StatusMessage.statusMessage.style' } + %h5#status-message{ "ng-show": "StatusMessage.invalidMessage == ''", "ng-style": 'StatusMessage.statusMessage.style' } {{ StatusMessage.statusMessage.text || " " }} - %h5#status-message{ "style" => 'color: #C85136', "ng-show" => "StatusMessage.invalidMessage !== ''" } + %h5#status-message{ style: 'color: #C85136', "ng-show": "StatusMessage.invalidMessage !== ''" } {{ StatusMessage.invalidMessage || " " }} - .nine.columns.omega.text-right{ "ng-transclude" => true } + .nine.columns.omega.text-right{ "ng-transclude": true } diff --git a/app/assets/javascripts/templates/admin/schedule_dialog.html.haml b/app/assets/javascripts/templates/admin/schedule_dialog.html.haml index 03d2acd354..928cf3da90 100644 --- a/app/assets/javascripts/templates/admin/schedule_dialog.html.haml +++ b/app/assets/javascripts/templates/admin/schedule_dialog.html.haml @@ -1,24 +1,24 @@ #schedule-dialog .text-normal.margin-bottom-30.text-center - %span{ "ng-hide" => 'schedule.id' } + %span{ "ng-hide": 'schedule.id' } {{ 'js.admin.order_cycles.schedules.adding_a_new_schedule' | t }} - %span{ "ng-show" => 'schedule.id' } + %span{ "ng-show": 'schedule.id' } {{ 'js.admin.order_cycles.schedules.updating_a_schedule' | t }} - %form{ "name" => 'schedule_form', "novalidate" => true, "ng-submit" => "submit()" } + %form{ name: 'schedule_form', novalidate: true, "ng-submit": "submit()" } .text-center.margin-bottom-20 - %input.fullwidth{ "type" => 'text', "name" => 'name', "required" => true, "placeholder" => "{{ 'js.admin.order_cycles.schedules.schedule_name_placeholder' | t }}", "ng-model" => "schedule.name" } - %div{ "ng-show" => "submitted && schedule_form.$pristine" } - .error{ "ng-show" => "(schedule_form.name.$error.required)" } + %input.fullwidth{ type: 'text', name: 'name', required: true, placeholder: "{{ 'js.admin.order_cycles.schedules.schedule_name_placeholder' | t }}", "ng-model": "schedule.name" } + %div{ "ng-show": "submitted && schedule_form.$pristine" } + .error{ "ng-show": "(schedule_form.name.$error.required)" } {{ 'js.admin.order_cycles.schedules.name_required_error' | t }} .order-cycles-selector.text-center.margin-bottom-30 .text-center - %input.button{ "type" => 'submit', "value" => "{{ 'js.admin.order_cycles.schedules.create_schedule' | t }}", "ng-hide" => 'schedule.id' } - %input.button{ "type" => 'submit', "value" => "{{ 'js.admin.order_cycles.schedules.update_schedule' | t }}", "ng-show" => 'schedule.id' } - %span{ "ng-show" => 'schedule.id' } or - %input.button.red{ "type" => 'button', "value" => "{{ 'js.admin.order_cycles.schedules.delete_schedule' | t }}", "ng-show" => 'schedule.id', "ng-click" => 'delete()' } - %input.button{ "type" => 'button', "value" => "{{ 'actions.cancel' | t }}", "ng-click" => 'close()' } + %input.button{ type: 'submit', value: "{{ 'js.admin.order_cycles.schedules.create_schedule' | t }}", "ng-hide": 'schedule.id' } + %input.button{ type: 'submit', value: "{{ 'js.admin.order_cycles.schedules.update_schedule' | t }}", "ng-show": 'schedule.id' } + %span{ "ng-show": 'schedule.id' } or + %input.button.red{ type: 'button', value: "{{ 'js.admin.order_cycles.schedules.delete_schedule' | t }}", "ng-show": 'schedule.id', "ng-click": 'delete()' } + %input.button{ type: 'button', value: "{{ 'actions.cancel' | t }}", "ng-click": 'close()' } diff --git a/app/assets/javascripts/templates/admin/tag.html.haml b/app/assets/javascripts/templates/admin/tag.html.haml index e093262c67..a9db76671a 100644 --- a/app/assets/javascripts/templates/admin/tag.html.haml +++ b/app/assets/javascripts/templates/admin/tag.html.haml @@ -1,8 +1,8 @@ .tag-template %div - %span.tag-with-rules{ "ofn-with-tip" => "{{ 'admin.tag_has_rules' | t:{num: data.rules} }}", "ng-if" => "data.rules" } + %span.tag-with-rules{ "ofn-with-tip": "{{ 'admin.tag_has_rules' | t:{num: data.rules} }}", "ng-if": "data.rules" } {{$getDisplayText()}} - %span{ "ng-if" => "!data.rules" } + %span{ "ng-if": "!data.rules" } {{$getDisplayText()}} - %a.remove-button{ "ng-click" => "$removeTag()" } + %a.remove-button{ "ng-click": "$removeTag()" } ✖ diff --git a/app/assets/javascripts/templates/admin/tag_autocomplete.html.haml b/app/assets/javascripts/templates/admin/tag_autocomplete.html.haml index 536aaf1177..39b321128c 100644 --- a/app/assets/javascripts/templates/admin/tag_autocomplete.html.haml +++ b/app/assets/javascripts/templates/admin/tag_autocomplete.html.haml @@ -1,11 +1,11 @@ .autocomplete-template - %span.tag-with-rules{ "ng-if" => "data.rules" } + %span.tag-with-rules{ "ng-if": "data.rules" } {{$getDisplayText()}} - %span.tag-with-rules{ "ng-if" => "data.rules == 1" } + %span.tag-with-rules{ "ng-if": "data.rules == 1" } — {{ 'admin.has_one_rule' | t }} - %span.tag-with-rules{ "ng-if" => "data.rules > 1" } + %span.tag-with-rules{ "ng-if": "data.rules > 1" } — {{ 'admin.has_n_rules' | t:{ num: data.rules } }} - %span{ "ng-if" => "!data.rules" } + %span{ "ng-if": "!data.rules" } {{$getDisplayText()}} diff --git a/app/assets/javascripts/templates/admin/tag_rules/discount_order_input.html.haml b/app/assets/javascripts/templates/admin/tag_rules/discount_order_input.html.haml index 657593b0d3..ac087096ad 100644 --- a/app/assets/javascripts/templates/admin/tag_rules/discount_order_input.html.haml +++ b/app/assets/javascripts/templates/admin/tag_rules/discount_order_input.html.haml @@ -1,3 +1,3 @@ %div - %input{ "type" => "number", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_calculator_attributes_preferred_flat_percent", "min" => -100, "max" => 100, "invert-number" => true, "ng-model" => "rule.calculator.preferred_flat_percent" } + %input{ type: "number", id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_calculator_attributes_preferred_flat_percent", min: -100, max: 100, "invert-number": true, "ng-model": "rule.calculator.preferred_flat_percent" } %span.text-normal % diff --git a/app/assets/javascripts/templates/admin/tag_rules/filter_order_cycles_input.html.haml b/app/assets/javascripts/templates/admin/tag_rules/filter_order_cycles_input.html.haml index 5a7d497cbd..43458b40c6 100644 --- a/app/assets/javascripts/templates/admin/tag_rules/filter_order_cycles_input.html.haml +++ b/app/assets/javascripts/templates/admin/tag_rules/filter_order_cycles_input.html.haml @@ -1,5 +1,5 @@ %div - %input.fullwidth.light.ofn-select2{ "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_order_cycles_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_order_cycles_visibility]", "data" => 'visibilityOptions', "min-search" => 5, "ng-model" => "rule.preferred_matched_order_cycles_visibility", "ng-if" => "!rule.is_default" } - %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_order_cycles_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_order_cycles_visibility]", "ng-value" => "'hidden'", "ng-if" => "rule.is_default" } - %span.text-normal{ "ng-if" => "rule.is_default" } + %input.fullwidth.light.ofn-select2{ id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_order_cycles_visibility", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_order_cycles_visibility]", data: 'visibilityOptions', "min-search": 5, "ng-model": "rule.preferred_matched_order_cycles_visibility", "ng-if": "!rule.is_default" } + %input{ type: "hidden", id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_order_cycles_visibility", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_order_cycles_visibility]", "ng-value": "'hidden'", "ng-if": "rule.is_default" } + %span.text-normal{ "ng-if": "rule.is_default" } =t(:not_visible) diff --git a/app/assets/javascripts/templates/admin/tag_rules/filter_payment_methods_input.html.haml b/app/assets/javascripts/templates/admin/tag_rules/filter_payment_methods_input.html.haml index 4c5b3a0c98..013e606987 100644 --- a/app/assets/javascripts/templates/admin/tag_rules/filter_payment_methods_input.html.haml +++ b/app/assets/javascripts/templates/admin/tag_rules/filter_payment_methods_input.html.haml @@ -1,5 +1,5 @@ %div - %input.fullwidth.light.ofn-select2{ "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_payment_methods_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_payment_methods_visibility]", "data" => 'visibilityOptions', "min-search" => 5, "ng-model" => "rule.preferred_matched_payment_methods_visibility", "ng-if" => "!rule.is_default" } - %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_payment_methods_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_payment_methods_visibility]", "ng-value" => "'hidden'", "ng-if" => "rule.is_default" } - %span.text-normal{ "ng-if" => "rule.is_default" } + %input.fullwidth.light.ofn-select2{ id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_payment_methods_visibility", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_payment_methods_visibility]", data: 'visibilityOptions', "min-search": 5, "ng-model": "rule.preferred_matched_payment_methods_visibility", "ng-if": "!rule.is_default" } + %input{ type: "hidden", id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_payment_methods_visibility", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_payment_methods_visibility]", "ng-value": "'hidden'", "ng-if": "rule.is_default" } + %span.text-normal{ "ng-if": "rule.is_default" } = t(:not_visible) diff --git a/app/assets/javascripts/templates/admin/tag_rules/filter_products_input.html.haml b/app/assets/javascripts/templates/admin/tag_rules/filter_products_input.html.haml index 4d9f806cfc..302b5fb85b 100644 --- a/app/assets/javascripts/templates/admin/tag_rules/filter_products_input.html.haml +++ b/app/assets/javascripts/templates/admin/tag_rules/filter_products_input.html.haml @@ -1,5 +1,5 @@ %div - %input.fullwidth.light.ofn-select2{ "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_variants_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_variants_visibility]", "data" => 'visibilityOptions', "min-search" => 5, "ng-model" => "rule.preferred_matched_variants_visibility", "ng-if" => "!rule.is_default" } - %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_variants_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_variants_visibility]", "ng-value" => "'hidden'", "ng-if" => "rule.is_default" } - %span.text-normal{ "ng-if" => "rule.is_default" } + %input.fullwidth.light.ofn-select2{ id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_variants_visibility", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_variants_visibility]", data: 'visibilityOptions', "min-search": 5, "ng-model": "rule.preferred_matched_variants_visibility", "ng-if": "!rule.is_default" } + %input{ type: "hidden", id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_variants_visibility", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_variants_visibility]", "ng-value": "'hidden'", "ng-if": "rule.is_default" } + %span.text-normal{ "ng-if": "rule.is_default" } = t(:not_visible) diff --git a/app/assets/javascripts/templates/admin/tag_rules/filter_shipping_methods_input.html.haml b/app/assets/javascripts/templates/admin/tag_rules/filter_shipping_methods_input.html.haml index 8b2ad933e6..ab6a5aeb80 100644 --- a/app/assets/javascripts/templates/admin/tag_rules/filter_shipping_methods_input.html.haml +++ b/app/assets/javascripts/templates/admin/tag_rules/filter_shipping_methods_input.html.haml @@ -1,6 +1,6 @@ %div - %input.fullwidth.light.ofn-select2{ "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_shipping_methods_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_shipping_methods_visibility]", "data" => 'visibilityOptions', "min-search" => 5, "ng-model" => "rule.preferred_matched_shipping_methods_visibility", "ng-if" => "!rule.is_default" } - %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_shipping_methods_visibility", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_shipping_methods_visibility]", "ng-value" => "'hidden'", "ng-if" => "rule.is_default" } - %span.text-normal{ "ng-if" => "rule.is_default" } + %input.fullwidth.light.ofn-select2{ id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_shipping_methods_visibility", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_shipping_methods_visibility]", data: 'visibilityOptions', "min-search": 5, "ng-model": "rule.preferred_matched_shipping_methods_visibility", "ng-if": "!rule.is_default" } + %input{ type: "hidden", id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_matched_shipping_methods_visibility", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_matched_shipping_methods_visibility]", "ng-value": "'hidden'", "ng-if": "rule.is_default" } + %span.text-normal{ "ng-if": "rule.is_default" } = t(:not_visible) diff --git a/app/assets/javascripts/templates/admin/tag_rules/tag_rule.html.haml b/app/assets/javascripts/templates/admin/tag_rules/tag_rule.html.haml index 7bd21b5892..598eafe972 100644 --- a/app/assets/javascripts/templates/admin/tag_rules/tag_rule.html.haml +++ b/app/assets/javascripts/templates/admin/tag_rules/tag_rule.html.haml @@ -6,27 +6,27 @@ %col.actions{ width: "10%" } %tr %td - %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_id", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][id]", "ng-value" => "rule.id" } + %input{ type: "hidden", id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_id", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][id]", "ng-value": "rule.id" } - %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_type", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][type]", "ng-value" => "rule.type" } + %input{ type: "hidden", id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_type", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][type]", "ng-value": "rule.type" } - %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_priority", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][priority]", "ng-value" => "tagGroup.startIndex + $index" } + %input{ type: "hidden", id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_priority", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][priority]", "ng-value": "tagGroup.startIndex + $index" } - %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_is_default", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][is_default]", "ng-value" => "rule.is_default" } + %input{ type: "hidden", id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_is_default", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][is_default]", "ng-value": "rule.is_default" } - %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_customer_tags", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_customer_tags]", "ng-value" => "rule.preferred_customer_tags" } + %input{ type: "hidden", id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_customer_tags", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_customer_tags]", "ng-value": "rule.preferred_customer_tags" } - %input{ "type" => "hidden", "id" => "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_{{opt[rule.type].taggable}}_tags", "name" => "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_{{opt[rule.type].taggable}}_tags]", "ng-value" => "opt[rule.type].tagListFor(rule)" } + %input{ type: "hidden", id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_preferred_{{opt[rule.type].taggable}}_tags", name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][preferred_{{opt[rule.type].taggable}}_tags]", "ng-value": "opt[rule.type].tagListFor(rule)" } %span.text-normal {{ opt[rule.type].textTop }} %td %tags-with-translation{ object: "rule", max: 1, "tags-attr" => "{{opt[rule.type].tagsAttr}}", "tag-list-attr" => "{{opt[rule.type].tagListAttr}}" } %td.actions{ rowspan: 2 } - %a{ "class" => "delete-tag-rule icon-trash no-text", "ng-click" => "deleteTagRule(tagGroup || defaultTagGroup, rule)" } + %a{ class: "delete-tag-rule icon-trash no-text", "ng-click": "deleteTagRule(tagGroup || defaultTagGroup, rule)" } %tr %td %span.text-normal {{ opt[rule.type].textBottom }} %td - %div{ "ng-include" => "opt[rule.type].inputTemplate" } + %div{ "ng-include": "opt[rule.type].inputTemplate" } %hr diff --git a/app/assets/javascripts/templates/admin/tags_input.html.haml b/app/assets/javascripts/templates/admin/tags_input.html.haml index cce7d34333..d74c4d7de0 100644 --- a/app/assets/javascripts/templates/admin/tags_input.html.haml +++ b/app/assets/javascripts/templates/admin/tags_input.html.haml @@ -1,2 +1,2 @@ -%tags-input{ "template" => 'admin/tag.html', "placeholder" => t('admin.order_cycles.form.add_a_tag'), "ng-model" => 'object[tagsAttr]', "ng-class" => "{'limit-reached': limitReached}", "on-tag-added" => 'tagAdded($tag)', "on-tag-removed" => 'tagRemoved()' } - %auto-complete{ "source" => "findTags({query: $query})", "template" => "admin/tag_autocomplete.html", "min-length" => "0", "load-on-focus" => "true", "load-on-empty" => "true", "max-results-to-show" => "32", "ng-if" => "findTags" } +%tags-input{ template: 'admin/tag.html', placeholder: t('admin.order_cycles.form.add_a_tag'), "ng-model": 'object[tagsAttr]', "ng-class": "{'limit-reached': limitReached}", "on-tag-added": 'tagAdded($tag)', "on-tag-removed": 'tagRemoved()' } + %auto-complete{ source: "findTags({query: $query})", template: "admin/tag_autocomplete.html", "min-length": "0", "load-on-focus": "true", "load-on-empty": "true", "max-results-to-show": "32", "ng-if": "findTags" } diff --git a/app/assets/javascripts/templates/bulk_buy_modal.html.haml b/app/assets/javascripts/templates/bulk_buy_modal.html.haml index 4782f43f8e..7788285342 100644 --- a/app/assets/javascripts/templates/bulk_buy_modal.html.haml +++ b/app/assets/javascripts/templates/bulk_buy_modal.html.haml @@ -22,22 +22,22 @@ .variant-bulk-buy-quantity-label {{ "js.shopfront.bulk_buy_modal.min_quantity" | t }} %div - %button.bulk-buy-add.variant-quantity{ "type" => "button", "ng-click" => "add(-1)", "ng-disabled" => "!canAdd(-1)" }> + %button.bulk-buy-add.variant-quantity{ type: "button", "ng-click": "add(-1)", "ng-disabled": "!canAdd(-1)" }> -# U+FF0D Fullwidth Hyphen-Minus - - %input.bulk-buy.variant-quantity{ "type" => "number", "min" => "0", "max" => "{{ available() }}", "ng-model" => "variant.line_item.quantity", "ng-max" => "Infinity" }> - %button.bulk-buy-add.variant-quantity{ "type" => "button", "ng-click" => "add(1)", "ng-disabled" => "!canAdd(1)" } + %input.bulk-buy.variant-quantity{ type: "number", min: "0", max: "{{ available() }}", "ng-model": "variant.line_item.quantity", "ng-max": "Infinity" }> + %button.bulk-buy-add.variant-quantity{ type: "button", "ng-click": "add(1)", "ng-disabled": "!canAdd(1)" } -# U+FF0B Fullwidth Plus Sign + .columns.small-12.medium-6 .variant-bulk-buy-quantity-label {{ "js.shopfront.bulk_buy_modal.max_quantity" | t }} %div - %button.bulk-buy-add.variant-quantity{ "type" => "button", "ng-click" => "addMax(-1)", "ng-disabled" => "!canAddMax(-1)" }> + %button.bulk-buy-add.variant-quantity{ type: "button", "ng-click": "addMax(-1)", "ng-disabled": "!canAddMax(-1)" }> -# U+FF0D Fullwidth Hyphen-Minus - - %input.bulk-buy.variant-quantity{ "type" => "number", "min" => "0", "max" => "{{ available() }}", "ng-model" => "variant.line_item.max_quantity", "ng-max" => "Infinity" }> - %button.bulk-buy-add.variant-quantity{ "type" => "button", "ng-click" => "addMax(1)", "ng-disabled" => "!canAddMax(1)" } + %input.bulk-buy.variant-quantity{ type: "number", min: "0", max: "{{ available() }}", "ng-model": "variant.line_item.max_quantity", "ng-max": "Infinity" }> + %button.bulk-buy-add.variant-quantity{ type: "button", "ng-click": "addMax(1)", "ng-disabled": "!canAddMax(1)" } -# U+FF0B Fullwidth Plus Sign + diff --git a/app/assets/javascripts/templates/filter_selector.html.haml b/app/assets/javascripts/templates/filter_selector.html.haml index 5b46571408..81559e4004 100644 --- a/app/assets/javascripts/templates/filter_selector.html.haml +++ b/app/assets/javascripts/templates/filter_selector.html.haml @@ -1,3 +1,3 @@ %ul - %active-selector{ "ng-repeat" => "selector in allSelectors", "ng-show" => "ifDefined(selector.fits, true)" } + %active-selector{ "ng-repeat": "selector in allSelectors", "ng-show": "ifDefined(selector.fits, true)" } %span{"ng-bind" => "::selector.object.name"} diff --git a/app/assets/javascripts/templates/help-modal.html.haml b/app/assets/javascripts/templates/help-modal.html.haml index 00c78fba30..0d7c3ad1e6 100644 --- a/app/assets/javascripts/templates/help-modal.html.haml +++ b/app/assets/javascripts/templates/help-modal.html.haml @@ -5,5 +5,5 @@ .small-12.columns.text-center {{ helpText }} .row.text-center - %button.primary.small{ "ng-click" => '$close()' } + %button.primary.small{ "ng-click": '$close()' } = t(:ok) diff --git a/app/assets/javascripts/templates/partials/hub_details.html.haml b/app/assets/javascripts/templates/partials/hub_details.html.haml index c5d4a0304f..0f58547413 100644 --- a/app/assets/javascripts/templates/partials/hub_details.html.haml +++ b/app/assets/javascripts/templates/partials/hub_details.html.haml @@ -1,4 +1,4 @@ -.row.pad-top{ "ng-if" => 'enterprise.is_distributor' } +.row.pad-top{ "ng-if": 'enterprise.is_distributor' } .cta-container.small-12.columns .row .small-4.columns diff --git a/app/assets/javascripts/templates/price_breakdown.html.haml b/app/assets/javascripts/templates/price_breakdown.html.haml index 8267e39d68..6c3cf06029 100644 --- a/app/assets/javascripts/templates/price_breakdown.html.haml +++ b/app/assets/javascripts/templates/price_breakdown.html.haml @@ -1,6 +1,6 @@ -.joyride-tip-guide.price_breakdown{ "ng-class" => "{ in: tt_isOpen, fade: tt_animation }", "ng-show" => "tt_isOpen" } +.joyride-tip-guide.price_breakdown{ "ng-class": "{ in: tt_isOpen, fade: tt_animation }", "ng-show": "tt_isOpen" } %span.joyride-nub.top - .background{ "ng-click" => "tt_isOpen = false" } + .background{ "ng-click": "tt_isOpen = false" } .joyride-content-wrapper %h6 {{ "js.shopfront.price_breakdown" | t }} %ul diff --git a/app/assets/javascripts/templates/shared/question_mark_with_tooltip.html.haml b/app/assets/javascripts/templates/shared/question_mark_with_tooltip.html.haml index 827d2c18f6..0ec169915b 100644 --- a/app/assets/javascripts/templates/shared/question_mark_with_tooltip.html.haml +++ b/app/assets/javascripts/templates/shared/question_mark_with_tooltip.html.haml @@ -1,5 +1,5 @@ -.joyride-tip-guide.question-mark-tooltip{ "class" => "{{ context }}", "ng-class" => "{ in: tt_isOpen, fade: tt_animation }", "ng-show" => "tt_isOpen" } - .background{ "ng-click" => "tt_isOpen = false" } +.joyride-tip-guide.question-mark-tooltip{ class: "{{ context }}", "ng-class": "{ in: tt_isOpen, fade: tt_animation }", "ng-show": "tt_isOpen" } + .background{ "ng-click": "tt_isOpen = false" } .joyride-content-wrapper {{ key | t }} %span.joyride-nub.bottom diff --git a/app/components/multiple_checked_select_component/multiple_checked_select_component.html.haml b/app/components/multiple_checked_select_component/multiple_checked_select_component.html.haml index d4ea4e3958..8dedce27ca 100644 --- a/app/components/multiple_checked_select_component/multiple_checked_select_component.html.haml +++ b/app/components/multiple_checked_select_component/multiple_checked_select_component.html.haml @@ -1,4 +1,4 @@ -.ofn-drop-down.ofn-drop-down-v2{ "data-controller" => "multiple-checked-select" } +.ofn-drop-down.ofn-drop-down-v2{ data: { controller: "multiple-checked-select" } } %div.ofn-drop-down-label{ "data-multiple-checked-select-target": "button" } %span{class: "label"}= t('admin.columns') %span{ class: "icon-caret-down", "data-multiple-checked-select-target": "caret" } diff --git a/app/views/admin/_terms_of_service_banner.html.haml b/app/views/admin/_terms_of_service_banner.html.haml index 4c42aaaab7..3adbba2f93 100644 --- a/app/views/admin/_terms_of_service_banner.html.haml +++ b/app/views/admin/_terms_of_service_banner.html.haml @@ -3,6 +3,6 @@ .column-left %p= t("admin.terms_of_service_have_been_updated_html", tos_link: link_to(t("admin.terms_of_service"), TermsOfServiceFile.current_url, target: "_blank")) .column-right - %button{ "data-reflex" => "click->user#accept_terms_of_services" } + %button{ data: { reflex: "click->user#accept_terms_of_services" } } = t("admin.accept_terms_of_service") diff --git a/app/views/admin/customers/index.html.haml b/app/views/admin/customers/index.html.haml index 59e9b11105..ea65c31108 100644 --- a/app/views/admin/customers/index.html.haml +++ b/app/views/admin/customers/index.html.haml @@ -14,22 +14,22 @@ = admin_inject_shops(@shops, module: 'admin.customers') = admin_inject_available_countries(module: 'admin.customers') -%div{ "ng-controller" => 'customersCtrl' } +%div{ "ng-controller": 'customersCtrl' } .row.filters .sixteen.columns.alpha.omega .filter_select.five.columns.alpha - %label{ "for" => 'quick_search', "ng-class" => '{disabled: !shop_id}' }=t('admin.quick_search') + %label{ for: 'quick_search', "ng-class": '{disabled: !shop_id}' }=t('admin.quick_search') %br - %input.fullwidth{ "type" => "text", "id" => 'quick_search', "placeholder" => t('.search_by_email'), "ng-model" => 'quickSearch', "ng-disabled" => '!shop_id' } + %input.fullwidth{ type: "text", id: 'quick_search', placeholder: t('.search_by_email'), "ng-model": 'quickSearch', "ng-disabled": '!shop_id' } .filter_select.four.columns - %label{ "for" => 'hub_id', "ng-bind" => "shop_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } + %label{ for: 'hub_id', "ng-bind": "shop_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } %br - %input.ofn-select2.fullwidth#shop_id{ "ng-model" => 'shop_id', "name" => 'shop_id', "data" => 'shops', "on-selecting" => 'confirmRefresh' } + %input.ofn-select2.fullwidth#shop_id{ "ng-model": 'shop_id', name: 'shop_id', data: 'shops', "on-selecting": 'confirmRefresh' } .seven.columns.omega   - %hr.divider{ "ng-show" => "!RequestMonitor.loading && filteredCustomers.length > 0" } + %hr.divider{ "ng-show": "!RequestMonitor.loading && filteredCustomers.length > 0" } - .row.controls{ "ng-show" => "!RequestMonitor.loading && filteredCustomers.length > 0" } + .row.controls{ "ng-show": "!RequestMonitor.loading && filteredCustomers.length > 0" } .thirteen.columns.alpha   %columns-dropdown{ action: "#{controller_name}_#{action_name}" } @@ -39,13 +39,13 @@ %h1 = t :loading_customers - .row.margin-bottom-50{ "ng-show" => "!RequestMonitor.loading" } + .row.margin-bottom-50{ "ng-show": "!RequestMonitor.loading" } %form{ name: "customers_form" } %h1#no_results{ 'ng-show' => '!RequestMonitor.loading && filteredCustomers.length == 0' } =t :no_customers_found %save-bar{ dirty: "customers_form.$dirty", persist: "false" } - %input.red{ "type" => "button", "value" => t(:save_changes), "ng-click" => "submitAll(customers_form)" } + %input.red{ type: "button", value: t(:save_changes), "ng-click": "submitAll(customers_form)" } %table.index#customers{ 'ng-show' => '!RequestMonitor.loading && filteredCustomers.length > 0' } %col.email{ width: "20%", 'ng-show' => 'columns.email.visible' } @@ -58,7 +58,7 @@ %col.balance{ width: "10%", 'ng-show' => 'columns.balance.visible' } %col.actions{ width: "10%"} %thead - %tr{ "ng-controller" => "ColumnsCtrl" } + %tr{ "ng-controller": "ColumnsCtrl" } -# %th.bulk -# %input{ :type => "checkbox", :name => 'toggle_bulk', 'ng-click' => 'toggleAllCheckboxes()', 'ng-checked' => "allBoxesChecked()" } %th.email{ 'ng-show' => 'columns.email.visible' } @@ -81,12 +81,12 @@ %span{ 'ng-bind' => '::customer.email' } %span.guest-label{ 'ng-show' => 'customer.user_id == null' }= t('.guest_label') %td.first_name{ 'ng-show' => 'columns.first_name.visible'} - %input{ "type" => 'text', "name" => 'first_name', "obj-for-update" => 'customer', "attr-for-update" => 'first_name', "ng-model" => 'customer.first_name' } + %input{ type: 'text', name: 'first_name', "obj-for-update": 'customer', "attr-for-update": 'first_name', "ng-model": 'customer.first_name' } %td.last_name{ 'ng-show' => 'columns.last_name.visible'} - %input{ "type" => 'text', "name" => 'last_name', "obj-for-update" => 'customer', "attr-for-update" => 'last_name', "ng-model" => 'customer.last_name' } + %input{ type: 'text', name: 'last_name', "obj-for-update": 'customer', "attr-for-update": 'last_name', "ng-model": 'customer.last_name' } %td.code{ 'ng-show' => 'columns.code.visible' } - %input{ "type" => 'text', "name" => 'code', "obj-for-update" => "customer", "attr-for-update" => "code", "ng-model" => 'customer.code', "ng-change" => 'checkForDuplicateCodes()' } - %i.icon-warning-sign{ "ng-if" => 'duplicate' } + %input{ type: 'text', name: 'code', "obj-for-update": "customer", "attr-for-update": "code", "ng-model": 'customer.code', "ng-change": 'checkForDuplicateCodes()' } + %i.icon-warning-sign{ "ng-if": 'duplicate' } = t('.duplicate_code') %td.tags{ 'ng-show' => 'columns.tags.visible' } .tag_watcher{ 'obj-for-update' => "customer", "attr-for-update" => "tag_list"} @@ -101,6 +101,6 @@ %td.actions %a{ 'ng-click' => "deleteCustomer(customer)", :class => "delete-customer icon-trash no-text" } - %div.text-center{ "ng-show" => "filteredCustomers.length > customerLimit" } - %input{ "type" => 'button', "value" => t(:show_more), "ng-click" => 'customerLimit = customerLimit + 20' } - %input{ "type" => 'button', "value" => t(:show_all_with_more, num: '{{ filteredCustomers.length - customerLimit }}'), "ng-click" => 'customerLimit = filteredCustomers.length' } + %div.text-center{ "ng-show": "filteredCustomers.length > customerLimit" } + %input{ type: 'button', value: t(:show_more), "ng-click": 'customerLimit = customerLimit + 20' } + %input{ type: 'button', value: t(:show_all_with_more, num: '{{ filteredCustomers.length - customerLimit }}'), "ng-click": 'customerLimit = filteredCustomers.length' } diff --git a/app/views/admin/enterprise_fees/index.html.haml b/app/views/admin/enterprise_fees/index.html.haml index 65ec1e199a..27b8c64403 100644 --- a/app/views/admin/enterprise_fees/index.html.haml +++ b/app/views/admin/enterprise_fees/index.html.haml @@ -29,20 +29,20 @@ %th.actions %tbody = enterprise_fee_set_form.ng_fields_for :collection do |f| - %tr{ "ng-repeat" => 'enterprise_fee in enterprise_fees | filter:query' } + %tr{ "ng-repeat": 'enterprise_fee in enterprise_fees | filter:query' } %td = f.ng_hidden_field :id - %ofn-select{ "id" => angular_id(:enterprise_id), "data" => 'enterprises', "style" => "width: 90%", "ng-model" => 'enterprise_fee.enterprise_id' } - %input{ "type" => "hidden", "name" => angular_name(:enterprise_id), "ng-value" => "enterprise_fee.enterprise_id" } + %ofn-select{ id: angular_id(:enterprise_id), data: 'enterprises', style: "width: 90%", "ng-model": 'enterprise_fee.enterprise_id' } + %input{ type: "hidden", name: angular_name(:enterprise_id), "ng-value": "enterprise_fee.enterprise_id" } %td= f.ng_select :fee_type, enterprise_fee_type_options, 'enterprise_fee.fee_type' %td= f.ng_text_field :name, { placeholder: t('.name_placeholder') } %td - %ofn-select{ "id" => angular_id(:tax_category_id), "data" => 'tax_categories', "include_blank" => true, "ng-model" => 'enterprise_fee.tax_category_id' } + %ofn-select{ id: angular_id(:tax_category_id), data: 'tax_categories', include_blank: true, "ng-model": 'enterprise_fee.tax_category_id' } %input{ type: "hidden", name: angular_name(:tax_category_id), 'watch-tax-category' => true } - %input{ "type" => "hidden", "name" => angular_name(:inherits_tax_category), "ng-value" => "enterprise_fee.inherits_tax_category" } + %input{ type: "hidden", name: angular_name(:inherits_tax_category), "ng-value": "enterprise_fee.inherits_tax_category" } %td - %ofn-select.calculator_type{ "id" => angular_id(:calculator_type), "value_attr" => 'name', "text_attr" => 'description', "data" => 'calculators', "spree-ensure-calculator-preferences-match-type" => true, "ng-model" => 'enterprise_fee.calculator_type' } - %input{ "type" => "hidden", "name" => angular_name(:calculator_type), "ng-value" => "enterprise_fee.calculator_type" } + %ofn-select.calculator_type{ id: angular_id(:calculator_type), value_attr: 'name', text_attr: 'description', data: 'calculators', "spree-ensure-calculator-preferences-match-type": true, "ng-model": 'enterprise_fee.calculator_type' } + %input{ type: "hidden", name: angular_name(:calculator_type), "ng-value": "enterprise_fee.calculator_type" } %td{'ng-bind-html-unsafe-compiled' => 'enterprise_fee.calculator_settings'} %td.actions{'spree-delete-resource' => "1"} diff --git a/app/views/admin/enterprise_groups/_form.html.haml b/app/views/admin/enterprise_groups/_form.html.haml index a7012cb695..a5a80a9871 100644 --- a/app/views/admin/enterprise_groups/_form.html.haml +++ b/app/views/admin/enterprise_groups/_form.html.haml @@ -1,7 +1,7 @@ = render 'spree/shared/error_messages', target: @enterprise = form_for [main_app, :admin, @enterprise_group] do |f| - .row{ "ng-app" => 'admin.enterprise_groups', "ng-controller" => 'enterpriseGroupCtrl', "data-controller" => 'tabs-and-panels', "data-tabs-and-panels-class-name-value" => "selected" } + .row{ data: { controller: 'tabs-and-panels', "tabs-and-panels-class-name-value": "selected" }, "ng-app": 'admin.enterprise_groups', "ng-controller": 'enterpriseGroupCtrl' } .sixteen.columns.alpha .four.columns.alpha = render 'admin/shared/side_menu' diff --git a/app/views/admin/enterprise_groups/_form_about.html.haml b/app/views/admin/enterprise_groups/_form_about.html.haml index ded00e0155..ce8d03fc37 100644 --- a/app/views/admin/enterprise_groups/_form_about.html.haml +++ b/app/views/admin/enterprise_groups/_form_about.html.haml @@ -1,4 +1,4 @@ -%fieldset.alpha.no-border-bottom#about_panel{ "data-tabs-and-panels-target" => "panel" } +%fieldset.alpha.no-border-bottom#about_panel{ data: { "tabs-and-panels-target": "panel" } } %legend= t('.about') = f.field_container :long_description do %text-angular{'id' => 'enterprise_group_long_description', 'name' => 'enterprise_group[long_description]', 'class' => 'text-angular', "textangular-links-target-blank" => true, diff --git a/app/views/admin/enterprise_groups/_form_address.html.haml b/app/views/admin/enterprise_groups/_form_address.html.haml index 85b3799163..b495151686 100644 --- a/app/views/admin/enterprise_groups/_form_address.html.haml +++ b/app/views/admin/enterprise_groups/_form_address.html.haml @@ -1,5 +1,5 @@ = f.fields_for :address do |af| - %fieldset.alpha.no-border-bottom#contact_panel{ "data-tabs-and-panels-target" => "panel" } + %fieldset.alpha.no-border-bottom#contact_panel{ data: { "tabs-and-panels-target": "panel" } } %legend= t('.contact') .row .alpha.three.columns diff --git a/app/views/admin/enterprise_groups/_form_images.html.haml b/app/views/admin/enterprise_groups/_form_images.html.haml index 706a137cf1..14f9a371d2 100644 --- a/app/views/admin/enterprise_groups/_form_images.html.haml +++ b/app/views/admin/enterprise_groups/_form_images.html.haml @@ -1,4 +1,4 @@ -%fieldset.alpha.no-border-bottom#images_panel{ "data-tabs-and-panels-target" => "panel" } +%fieldset.alpha.no-border-bottom#images_panel{ data: { "tabs-and-panels-target": "panel" } } %legend= t('.images') .row .alpha.three.columns diff --git a/app/views/admin/enterprise_groups/_form_primary_details.html.haml b/app/views/admin/enterprise_groups/_form_primary_details.html.haml index 165fa0f2a9..4ab3aae1b5 100644 --- a/app/views/admin/enterprise_groups/_form_primary_details.html.haml +++ b/app/views/admin/enterprise_groups/_form_primary_details.html.haml @@ -1,4 +1,4 @@ -%fieldset.alpha.no-border-bottom#primary_details_panel{ "data-tabs-and-panels-target" => "panel default" } +%fieldset.alpha.no-border-bottom#primary_details_panel{ data: { "tabs-and-panels-target": "panel default" } } %legend= t('.primary_details') = f.field_container :name do = f.label :name diff --git a/app/views/admin/enterprise_groups/_form_users.html.haml b/app/views/admin/enterprise_groups/_form_users.html.haml index ca3c460c5b..27ac13f5c1 100644 --- a/app/views/admin/enterprise_groups/_form_users.html.haml +++ b/app/views/admin/enterprise_groups/_form_users.html.haml @@ -1,4 +1,4 @@ -%fieldset.alpha.no-border-bottom#users_panel{ "data-tabs-and-panels-target" => "panel" } +%fieldset.alpha.no-border-bottom#users_panel{ data: { "tabs-and-panels-target": "panel" } } %legend= t('.users') .row .three.columns.alpha diff --git a/app/views/admin/enterprise_groups/_form_web.html.haml b/app/views/admin/enterprise_groups/_form_web.html.haml index d2cc7e50ff..200c708669 100644 --- a/app/views/admin/enterprise_groups/_form_web.html.haml +++ b/app/views/admin/enterprise_groups/_form_web.html.haml @@ -1,4 +1,4 @@ -%fieldset.alpha.no-border-bottom#web_panel{ "data-tabs-and-panels-target" => "panel" } +%fieldset.alpha.no-border-bottom#web_panel{ data: { "tabs-and-panels-target": "panel" } } %legend= t('.web') .row .alpha.three.columns diff --git a/app/views/admin/enterprise_relationships/_form.html.haml b/app/views/admin/enterprise_relationships/_form.html.haml index f5c1651a35..484bfe0cf4 100644 --- a/app/views/admin/enterprise_relationships/_form.html.haml +++ b/app/views/admin/enterprise_relationships/_form.html.haml @@ -8,7 +8,7 @@ %select.select2.fullwidth{id: "enterprise_relationship_child_id", "ng-model" => "child_id", "ng-options" => "e.id as e.name for e in Enterprises.all_enterprises"} %td %label - %input{ "type" => "checkbox", "ng-checked" => "allPermissionsChecked()", "ng-click" => "checkAllPermissions()" } + %input{ type: "checkbox", "ng-checked": "allPermissionsChecked()", "ng-click": "checkAllPermissions()" } = t 'admin_enterprise_relationships_everything' %div{"ng-repeat" => "permission in EnterpriseRelationships.all_permissions"} %label diff --git a/app/views/admin/enterprise_relationships/_search_input.html.haml b/app/views/admin/enterprise_relationships/_search_input.html.haml index d3c9f1b940..b7f60be8c6 100644 --- a/app/views/admin/enterprise_relationships/_search_input.html.haml +++ b/app/views/admin/enterprise_relationships/_search_input.html.haml @@ -1,5 +1,5 @@ %input.search{"ng-model" => "query", "placeholder" => t(:admin_enterprise_relationships_seach_placeholder)} -%label{ "ng-repeat" => "permission in EnterpriseRelationships.all_permissions" } - %input{ "type" => "checkbox", "ng-click" => "$parent.query = toggleKeyword($parent.query, permission)" } +%label{ "ng-repeat": "permission in EnterpriseRelationships.all_permissions" } + %input{ type: "checkbox", "ng-click": "$parent.query = toggleKeyword($parent.query, permission)" } {{ EnterpriseRelationships.permission_presentation(permission) }} diff --git a/app/views/admin/enterprises/_change_type_form.html.haml b/app/views/admin/enterprises/_change_type_form.html.haml index 00562f25e1..685ac3980d 100644 --- a/app/views/admin/enterprises/_change_type_form.html.haml +++ b/app/views/admin/enterprises/_change_type_form.html.haml @@ -3,13 +3,13 @@ = form_for @enterprise, url: main_app.register_admin_enterprise_path(@enterprise), html: { name: "change_type", id: "change_type", novalidate: true, "ng-app" => "admin.enterprises", "ng-controller"=> 'changeTypeFormCtrl' } do |change_type_form| -# Have to use hidden:'true' on this input rather than type:'hidden' as the latter seems to break ngPattern and therefore validation - %input{ "hidden" => "true", "name" => "sells", "ng-required" => true, "ng-pattern" => "/^(none|own|any)$/", "ng-model" => 'sells', "ng-value" => "sells" } + %input{ hidden: "true", name: "sells", "ng-required": true, "ng-pattern": "/^(none|own|any)$/", "ng-model": 'sells', "ng-value": "sells" } .row .options.container - if @enterprise.is_primary_producer .basic_producer.option.six.columns.alpha - %a.full-width.button.selector{ "ng-click" => "sells='none'", "ng-class" => "{selected: sells=='none'}" } + %a.full-width.button.selector{ "ng-click": "sells='none'", "ng-class": "{selected: sells=='none'}" } .top %h3= t('.producer_profile') %p= t('.connect_ofn') @@ -18,7 +18,7 @@ = t('.producer_description_text') .producer_shop.option.six.columns - %a.full-width.button.selector{ "ng-click" => "sells='own'", "ng-class" => "{selected: sells=='own'}" } + %a.full-width.button.selector{ "ng-click": "sells='own'", "ng-class": "{selected: sells=='own'}" } .top %h3= t('.producer_shop') %p= t('.sell_your_produce') @@ -29,7 +29,7 @@ = t('.producer_shop_description_text2') .full_hub.option.six.columns.omega - %a.full-width.button.selector{ "ng-click" => "sells='any'", "ng-class" => "{selected: sells=='any'}" } + %a.full-width.button.selector{ "ng-click": "sells='any'", "ng-class": "{selected: sells=='any'}" } .top %h3= t('.producer_hub') %p= t('.producer_hub_text') @@ -40,7 +40,7 @@ .two.columns.alpha   .shop_profile.option.six.columns - %a.full-width.button.selector{ "ng-click" => "sells='none'", "ng-class" => "{selected: sells=='none'}" } + %a.full-width.button.selector{ "ng-click": "sells='none'", "ng-class": "{selected: sells=='none'}" } .top %h3= t('.profile') %p= t('.get_listing') @@ -49,7 +49,7 @@ = t('.profile_description_text') .full_hub.option.six.columns - %a.full-width.button.selector{ "ng-click" => "sells='any'", "ng-class" => "{selected: sells=='any'}" } + %a.full-width.button.selector{ "ng-click": "sells='any'", "ng-class": "{selected: sells=='any'}" } .top %h3= t('.hub_shop') %p= t('.hub_shop_text') @@ -60,11 +60,11 @@ .row .sixteen.columns.alpha - %span.error{ "ng-show" => "(change_type.sells.$error.required || change_type.sells.$error.pattern) && submitted" } + %span.error{ "ng-show": "(change_type.sells.$error.required || change_type.sells.$error.pattern) && submitted" } = t('.choose_option') - if @enterprise.sells == 'unspecified' - %input.button.big{ "type" => 'submit', "value" => t(:select_continue), "ng-click" => "submit(change_type)" } + %input.button.big{ type: 'submit', value: t(:select_continue), "ng-click": "submit(change_type)" } - else - %input.button.big{ "type" => 'submit', "value" => t('.change_now'), "ng-click" => "submit(change_type)" } + %input.button.big{ type: 'submit', value: t('.change_now'), "ng-click": "submit(change_type)" } %br   %hr diff --git a/app/views/admin/enterprises/_enterprise_user_index.html.haml b/app/views/admin/enterprises/_enterprise_user_index.html.haml index ecfe3db753..030bc07de1 100644 --- a/app/views/admin/enterprises/_enterprise_user_index.html.haml +++ b/app/views/admin/enterprises/_enterprise_user_index.html.haml @@ -1,4 +1,4 @@ -%div{ "ng-controller" => 'enterprisesCtrl' } +%div{ "ng-controller": 'enterprisesCtrl' } .row{ 'ng-hide' => '!loaded' } .controls{ :class => "sixteen columns alpha", :style => "margin-bottom: 15px;" } .four.columns.alpha @@ -15,32 +15,32 @@ .row{ :class => "sixteen columns alpha", 'ng-show' => 'loaded && filteredEnterprises.length == 0'} %h1#no_results= t('.no_enterprises_found') - .row{ "ng-show" => "loaded && filteredEnterprises.length > 0" } + .row{ "ng-show": "loaded && filteredEnterprises.length > 0" } %table.index#enterprises - %col.name{ "width" => "28%", "ng-show" => 'columns.name.visible' } - %col.producer{ "width" => "18%", "ng-show" => 'columns.producer.visible' } - %col.package{ "width" => "18%", "ng-show" => 'columns.package.visible' } - %col.status{ "width" => "18%", "ng-show" => 'columns.status.visible' } - %col.manage{ "width" => "18%", "ng-show" => 'columns.manage.visible' } + %col.name{ width: "28%", "ng-show": 'columns.name.visible' } + %col.producer{ width: "18%", "ng-show": 'columns.producer.visible' } + %col.package{ width: "18%", "ng-show": 'columns.package.visible' } + %col.status{ width: "18%", "ng-show": 'columns.status.visible' } + %col.manage{ width: "18%", "ng-show": 'columns.manage.visible' } %thead - %tr{ "ng-controller" => "ColumnsCtrl" } - %th.name{ "ng-show" => 'columns.name.visible' }=t('admin.name') - %th.producer{ "ng-show" => 'columns.producer.visible' }=t('.producer?') - %th.package{ "ng-show" => 'columns.package.visible' }=t('.package') - %th.status{ "ng-show" => 'columns.status.visible' }=t('.status') - %th.manage{ "ng-show" => 'columns.manage.visible' }=t('.manage') - %tbody.panel-ctrl{ "id" => "e_{{enterprise.id}}", "object" => "enterprise", "ng-repeat" => "enterprise in filteredEnterprises = ( allEnterprises | filter:{ name: quickSearch } )" } - %tr.enterprise{ "ng-class-even" => "'even'", "ng-class-odd" => "'odd'" } - %td.name{ "ng-show" => 'columns.name.visible' } - %span{ "ng-bind" => "::enterprise.name" } - %td.producer.panel-toggle.text-center{ "name" => "producer", "ng-show" => 'columns.producer.visible', "ng-class" => "{error: enterprise.producerError}" } - %h5{ "ng-bind" => "enterprise.producer" } - %td.package.panel-toggle.text-center{ "name" => "package", "ng-show" => 'columns.package.visible', "ng-class" => "{error: enterprise.packageError}" } - %h5{ "ng-bind" => "enterprise.package" } - %td.status.panel-toggle.text-center{ "name" => "status", "ng-show" => 'columns.status.visible' } - %i.icon-status{ "ng-class" => "enterprise.status" } - %td.manage{ "ng-show" => 'columns.manage.visible' } - %a.button.fullwidth{ "ng-href" => '{{::enterprise.edit_path}}' } + %tr{ "ng-controller": "ColumnsCtrl" } + %th.name{ "ng-show": 'columns.name.visible' }=t('admin.name') + %th.producer{ "ng-show": 'columns.producer.visible' }=t('.producer?') + %th.package{ "ng-show": 'columns.package.visible' }=t('.package') + %th.status{ "ng-show": 'columns.status.visible' }=t('.status') + %th.manage{ "ng-show": 'columns.manage.visible' }=t('.manage') + %tbody.panel-ctrl{ id: "e_{{enterprise.id}}", object: "enterprise", "ng-repeat": "enterprise in filteredEnterprises = ( allEnterprises | filter:{ name: quickSearch } )" } + %tr.enterprise{ "ng-class-even": "'even'", "ng-class-odd": "'odd'" } + %td.name{ "ng-show": 'columns.name.visible' } + %span{ "ng-bind": "::enterprise.name" } + %td.producer.panel-toggle.text-center{ name: "producer", "ng-show": 'columns.producer.visible', "ng-class": "{error: enterprise.producerError}" } + %h5{ "ng-bind": "enterprise.producer" } + %td.package.panel-toggle.text-center{ name: "package", "ng-show": 'columns.package.visible', "ng-class": "{error: enterprise.packageError}" } + %h5{ "ng-bind": "enterprise.package" } + %td.status.panel-toggle.text-center{ name: "status", "ng-show": 'columns.status.visible' } + %i.icon-status{ "ng-class": "enterprise.status" } + %td.manage{ "ng-show": 'columns.manage.visible' } + %a.button.fullwidth{ "ng-href": '{{::enterprise.edit_path}}' } = t('.manage_link') %i.icon-arrow-right diff --git a/app/views/admin/enterprises/_form.html.haml b/app/views/admin/enterprises/_form.html.haml index a4e6bdba4f..dcaae1a149 100644 --- a/app/views/admin/enterprises/_form.html.haml +++ b/app/views/admin/enterprises/_form.html.haml @@ -1,15 +1,15 @@ - enterprise_side_menu_items(@enterprise).each do |item| - case item[:name] - when 'primary_details' - %fieldset.alpha.no-border-bottom{ "id" => "#{item[:name]}_panel", "data-controller" => "primary-details", "data-primary-details-primary-producer-value" => @enterprise.is_primary_producer.to_s, "data-primary-details-enterprise-sells-value" => @enterprise.sells, "data-tabs-and-panels-target" => "panel default" } + %fieldset.alpha.no-border-bottom{ id: "#{item[:name]}_panel", data: { controller: "primary-details", "primary-details-primary-producer-value": @enterprise.is_primary_producer.to_s, "primary-details-enterprise-sells-value": @enterprise.sells, "tabs-and-panels-target": "panel default" }} %legend= t(".#{ item[:name] }.legend") = render "admin/enterprises/form/#{ item[:form_name] || item[:name] }", f: f - when 'enterprise_permissions' - %fieldset.alpha.no-border-bottom{ "id" => "#{item[:name]}_panel", "data-tabs-and-panels-target" => "panel" } + %fieldset.alpha.no-border-bottom{ id: "#{item[:name]}_panel", data: { "tabs-and-panels-target": "panel" }} %legend= t(".#{ item[:name] }.legend") - else - %fieldset.alpha.no-border-bottom{ "id" => "#{item[:name]}_panel", "data-tabs-and-panels-target" => "panel" } + %fieldset.alpha.no-border-bottom{ id: "#{item[:name]}_panel", data: { "tabs-and-panels-target": "panel" }} %legend= t(".#{ item[:form_name] || item[:name] }.legend") = render "admin/enterprises/form/#{ item[:form_name] || item[:name] }", f: f diff --git a/app/views/admin/enterprises/_ng_form.html.haml b/app/views/admin/enterprises/_ng_form.html.haml index 5371ae54de..3ea83f8fbd 100644 --- a/app/views/admin/enterprises/_ng_form.html.haml +++ b/app/views/admin/enterprises/_ng_form.html.haml @@ -8,8 +8,8 @@ "ng-cloak" => true } do |f| %save-bar{ dirty: "enterprise_form.$dirty", persist: "true" } - %input.red{ "type" => "button", "value" => t(:update), "ng-click" => "submit()", "ng-disabled" => "!enterprise_form.$dirty" } - %input{ "type" => "button", "ng-value" => "enterprise_form.$dirty ? '#{t(:cancel)}' : '#{t(:close)}'", "ng-click" => "cancel('#{main_app.admin_enterprises_path}')" } + %input.red{ type: "button", value: t(:update), "ng-click": "submit()", "ng-disabled": "!enterprise_form.$dirty" } + %input{ type: "button", "ng-value": "enterprise_form.$dirty ? '#{t(:cancel)}' : '#{t(:close)}'", "ng-click": "cancel('#{main_app.admin_enterprises_path}')" } .row{ data: { controller: "tabs-and-panels", "tabs-and-panels-class-name-value": "selected" }} diff --git a/app/views/admin/enterprises/form/_address.html.haml b/app/views/admin/enterprises/form/_address.html.haml index cf48d0cbd8..9d76513a3d 100644 --- a/app/views/admin/enterprises/form/_address.html.haml +++ b/app/views/admin/enterprises/form/_address.html.haml @@ -34,7 +34,7 @@ %span.required * .four.columns = af.select :state_id, @enterprise.address.country.states.map { |s| [s.name, s.id] }, {}, { "data-controller": "tom-select", "data-dependent-select-target": "select", class: "primary" } - .four.columns.omega{ "data-controller" => "primary-details" } + .four.columns.omega{ data: { controller: "primary-details" }} = af.select :country_id, available_countries.map { |c| [c.name, c.id] }, {}, { "data-controller": "tom-select", "data-dependent-select-target": "source", "data-action": "dependent-select#handleSelectChange", class: "primary" } .row .three.columns.alpha diff --git a/app/views/admin/enterprises/form/_business_details.html.haml b/app/views/admin/enterprises/form/_business_details.html.haml index 8433dd8ed2..30bef3ba2f 100644 --- a/app/views/admin/enterprises/form/_business_details.html.haml +++ b/app/views/admin/enterprises/form/_business_details.html.haml @@ -31,22 +31,22 @@ = f.label :invoice_text, t('.invoice_text') .omega.eight.columns = f.text_area :invoice_text, style: "width: 100%; height: 100px;" -.row{ "data-controller" => 'terms-and-conditions', "data-terms-and-conditions-message-value" => t('js.admin.enterprises.form.images.immediate_terms_and_conditions_removal_warning') } +.row{ data: { controller: 'terms-and-conditions', "terms-and-conditions-message-value": t('js.admin.enterprises.form.images.immediate_terms_and_conditions_removal_warning') } } .alpha.three.columns = f.label :terms_and_conditions, t('.terms_and_conditions') %i.text-big.icon-question-sign{ "data-controller": "help-modal-link", "data-action": "click->help-modal-link#open", "data-help-modal-link-target-value": "terms_and_conditions_info_modal" } - .omega.eight.columns#terms_and_conditions{ "data-reflex-root" => '#terms_and_conditions' } + .omega.eight.columns#terms_and_conditions{data: { 'reflex-root': '#terms_and_conditions' } } - if @enterprise.terms_and_conditions.attached? = link_to "#{@enterprise.terms_and_conditions.blob.filename} #{ t('.uploaded_on') } #{@enterprise.terms_and_conditions.blob.created_at}", url_for(@enterprise.terms_and_conditions), target: '_blank' %div - %a.icon-trash{ "href" => '#', "data-action" => 'click->terms-and-conditions#remove', "data-terms-and-conditions-message-value" => t('js.admin.enterprises.form.images.immediate_terms_and_conditions_removal_warning'), "data-enterprise-id" => @enterprise.id } + %a.icon-trash{ href: '#', data: { action: 'click->terms-and-conditions#remove', "terms-and-conditions-message-value": t('js.admin.enterprises.form.images.immediate_terms_and_conditions_removal_warning'), 'enterprise-id': @enterprise.id}} = t('.remove_terms_and_conditions') .pad-top %div - .button.small{ "data-controller" => 'help-modal-link', "data-action" => 'click->help-modal-link#open', "data-help-modal-link-target-value" => "terms_and_conditions_warning_modal" } + .button.small{ data: { controller: 'help-modal-link', action: 'click->help-modal-link#open', "help-modal-link-target-value": "terms_and_conditions_warning_modal" } } = t('.upload') - %span{ "data-terms-and-conditions-target" => "filename" } + %span{ data: { "terms-and-conditions-target": "filename" } } = f.file_field :terms_and_conditions, accept: 'application/pdf', style: 'display: none;', data: { "terms-and-conditions-target": "fileinput" } = render HelpModalComponent.new(id: "terms_and_conditions_warning_modal", close_button: false ) do diff --git a/app/views/admin/enterprises/form/_connected_apps.html.haml b/app/views/admin/enterprises/form/_connected_apps.html.haml index 0f3d5beac0..c60a7da1a1 100644 --- a/app/views/admin/enterprises/form/_connected_apps.html.haml +++ b/app/views/admin/enterprises/form/_connected_apps.html.haml @@ -6,7 +6,7 @@ %p= t ".tagline" %div - if enterprise.connected_apps.empty? - %button{ "data-reflex" => "click->Admin::ConnectedApp#create", "data-enterprise_id" => enterprise.id } + %button{ data: {reflex: "click->Admin::ConnectedApp#create", enterprise_id: enterprise.id} } = t ".enable" - elsif enterprise.connected_apps.connecting.present? %button{ disabled: true } @@ -14,7 +14,7 @@   = t ".loading" - else - %button{ "data-reflex" => "click->Admin::ConnectedApp#destroy", "data-enterprise_id" => enterprise.id } + %button{ data: {reflex: "click->Admin::ConnectedApp#destroy", enterprise_id: enterprise.id} } = t ".disable" .connected-app__connection diff --git a/app/views/admin/enterprises/form/_images.html.haml b/app/views/admin/enterprises/form/_images.html.haml index cd466e1d65..de1ab19c9f 100644 --- a/app/views/admin/enterprises/form/_images.html.haml +++ b/app/views/admin/enterprises/form/_images.html.haml @@ -4,10 +4,10 @@ %br = t('.logo_size') .omega.eight.columns - %img{ "class" => 'image-field-group__preview-image', "ng-src" => '{{ Enterprise.logo.thumb }}', "ng-if" => 'Enterprise.logo' } + %img{ class: 'image-field-group__preview-image', "ng-src": '{{ Enterprise.logo.thumb }}', "ng-if": 'Enterprise.logo' } %br = f.file_field :logo - %a.button.red{ "href" => '', "ng-click" => 'removeLogo()', "ng-if" => 'Enterprise.logo' } + %a.button.red{ href: '', "ng-click": 'removeLogo()', "ng-if": 'Enterprise.logo' } = t('.remove_logo') .row.page-admin-enterprises-form__promo-image-field-group.image-field-group @@ -21,7 +21,7 @@ = t('.promo_image_note3') .omega.eight.columns - %img{ "class" => 'image-field-group__preview-image', "ng-src" => '{{ Enterprise.promo_image.large }}', "ng-if" => 'Enterprise.promo_image' } + %img{ class: 'image-field-group__preview-image', "ng-src": '{{ Enterprise.promo_image.large }}', "ng-if": 'Enterprise.promo_image' } = f.file_field :promo_image - %a.button.red{ "href" => '', "ng-click" => 'removePromoImage()', "ng-if" => 'Enterprise.promo_image' } + %a.button.red{ href: '', "ng-click": 'removePromoImage()', "ng-if": 'Enterprise.promo_image' } = t('.remove_promo_image') diff --git a/app/views/admin/enterprises/form/_permalink.html.haml b/app/views/admin/enterprises/form/_permalink.html.haml index dabc9098c0..5c2a43a7b0 100644 --- a/app/views/admin/enterprises/form/_permalink.html.haml +++ b/app/views/admin/enterprises/form/_permalink.html.haml @@ -1,4 +1,4 @@ -.permalink#permalink{ "data-controller" => 'permalink', "data-permalink-initial-permalink-value" => @enterprise.permalink, "data-permalink-url-value" => check_permalink_enterprises_url } +.permalink#permalink{ data: { controller: 'permalink', permalink: { 'initial-permalink-value': @enterprise.permalink, 'url-value': check_permalink_enterprises_url } }} - unless @enterprise.sells == 'none' .row .three.columns.alpha @@ -7,12 +7,12 @@ .eight.columns = text_field_tag "enterprise[permalink]", @enterprise.permalink, data: { action: "input->permalink#validate", "permalink-target": "permalinkField" } .two.columns.omega - %div{ "style" => "width: 30px; height: 30px;", "class" => "hidden", "data-permalink-target" => "spinner" } + %div{ style: "width: 30px; height: 30px;", class: "hidden", data: { "permalink-target": "spinner" } } = render partial: "components/admin_spinner" - %span.available.hidden{ "data-permalink-target" => "available" } + %span.available.hidden{data: { "permalink-target": "available" }} = t('available') %i.icon-ok-sign - %span.unavailable.hidden{ "data-permalink-target" => "unavailable" } + %span.unavailable.hidden{data: { "permalink-target": "unavailable" }} = t('js.unavailable') %i.icon-remove-sign diff --git a/app/views/admin/enterprises/form/_primary_details.html.haml b/app/views/admin/enterprises/form/_primary_details.html.haml index dff31486cd..04609e9b58 100644 --- a/app/views/admin/enterprises/form/_primary_details.html.haml +++ b/app/views/admin/enterprises/form/_primary_details.html.haml @@ -32,7 +32,7 @@ .four.columns.omega = f.radio_button :sells, "any", 'ng-model' => 'Enterprise.sells', data: {action: "change->primary-details#enterpriseSellsChanged"} = f.label :sells, t('.any'), value: "any" - %span{ "style" => "width: 30px; height: 30px;", "class" => "hidden", "data-primary-details-target" => "spinner" } + %span{ style: "width: 30px; height: 30px;", class: "hidden", data: { "primary-details-target": "spinner" } } = render partial: "components/admin_spinner" .row .three.columns.alpha diff --git a/app/views/admin/enterprises/form/_shop_preferences.html.haml b/app/views/admin/enterprises/form/_shop_preferences.html.haml index 569b775871..616d631509 100644 --- a/app/views/admin/enterprises/form/_shop_preferences.html.haml +++ b/app/views/admin/enterprises/form/_shop_preferences.html.haml @@ -23,13 +23,13 @@ = radio_button :enterprise, :preferred_shopfront_product_sorting_method, :by_category, { 'ng-model' => 'Enterprise.preferred_shopfront_product_sorting_method' } = label :enterprise, :preferred_shopfront_product_sorting_method_by_category, t('.shopfront_sort_by_category') .eight.columns.omega - %textarea.fullwidth{ "id" => 'enterprise_preferred_shopfront_taxon_order', "name" => 'enterprise[preferred_shopfront_taxon_order]', "rows" => 6, "ofn-taxon-autocomplete" => '', "multiple-selection" => 'true', "placeholder" => t('.shopfront_sort_by_category_placeholder'), "ng-model" => 'Enterprise.preferred_shopfront_taxon_order', "ng-readonly" => "Enterprise.preferred_shopfront_product_sorting_method != 'by_category'" } + %textarea.fullwidth{ id: 'enterprise_preferred_shopfront_taxon_order', name: 'enterprise[preferred_shopfront_taxon_order]', rows: 6, "ofn-taxon-autocomplete": '', "multiple-selection": 'true', placeholder: t('.shopfront_sort_by_category_placeholder'), "ng-model": 'Enterprise.preferred_shopfront_taxon_order', "ng-readonly": "Enterprise.preferred_shopfront_product_sorting_method != 'by_category'" } .row .three.columns.alpha = radio_button :enterprise, :preferred_shopfront_product_sorting_method, :by_producer, { 'ng-model' => 'Enterprise.preferred_shopfront_product_sorting_method' } = label :enterprise, :preferred_shopfront_product_sorting_method_by_producer, t('.shopfront_sort_by_producer') .eight.columns.omega - %textarea.fullwidth{ "id" => 'enterprise_preferred_shopfront_producer_order', "name" => 'enterprise[preferred_shopfront_producer_order]', "rows" => 6, "ofn-producer-autocomplete" => '', "multiple-selection" => 'true', "placeholder" => t('.shopfront_sort_by_producer_placeholder'), "ng-model" => 'Enterprise.preferred_shopfront_producer_order', "ng-readonly" => "Enterprise.preferred_shopfront_product_sorting_method != 'by_producer'" } + %textarea.fullwidth{ id: 'enterprise_preferred_shopfront_producer_order', name: 'enterprise[preferred_shopfront_producer_order]', rows: 6, "ofn-producer-autocomplete": '', "multiple-selection": 'true', placeholder: t('.shopfront_sort_by_producer_placeholder'), "ng-model": 'Enterprise.preferred_shopfront_producer_order', "ng-readonly": "Enterprise.preferred_shopfront_product_sorting_method != 'by_producer'" } .row .three.columns.alpha @@ -52,7 +52,7 @@ = f.radio_button :require_login, true, "ng-model" => "Enterprise.require_login", "ng-value" => "true" = f.label :require_login, t('.shopfront_requires_login_true'), value: :true -.row{ "ng-if" => "!Enterprise.require_login" } +.row{ "ng-if": "!Enterprise.require_login" } .three.columns.alpha %label= t '.allow_guest_orders' %div{'ofn-with-tip' => t('.allow_guest_orders_tip')} @@ -63,7 +63,7 @@ .five.columns.omega = f.radio_button :allow_guest_orders, false, "ng-model" => "Enterprise.allow_guest_orders", "ng-value" => "false" = f.label :allow_guest_orders, t('.allow_guest_orders_false'), value: :false - .row.warning{ "ng-show" => 'Enterprise.allow_guest_orders && Enterprise.allow_order_changes' } + .row.warning{ "ng-show": 'Enterprise.allow_guest_orders && Enterprise.allow_order_changes' } .eight.columns.alpha.omega %i.icon-warning-sign = t '.recommend_require_login' diff --git a/app/views/admin/enterprises/form/_tag_rules.html.haml b/app/views/admin/enterprises/form/_tag_rules.html.haml index a51f924a54..875d09a8b8 100644 --- a/app/views/admin/enterprises/form/_tag_rules.html.haml +++ b/app/views/admin/enterprises/form/_tag_rules.html.haml @@ -1,11 +1,11 @@ -.row{ "ng-controller" => "TagRulesCtrl" } +.row{ "ng-controller": "TagRulesCtrl" } .eleven.columns.alpha.omega - %ofn-sortable{ "axis" => "y", "handle" => ".header", "items" => '.customer_tag', "position" => "tagGroup.position", "after-sort" => "updateRuleCounts()" } - .no_tags{ "ng-show" => "tagGroups.length == 0" } + %ofn-sortable{ axis: "y", handle: ".header", items: '.customer_tag', position: "tagGroup.position", "after-sort": "updateRuleCounts()" } + .no_tags{ "ng-show": "tagGroups.length == 0" } = t('.no_tags_yet') = render 'admin/enterprises/form/tag_rules/default_rules' -# = render 'customer_tags' - .customer_tag{ "id" => "tg_{{tagGroup.position}}", "ng-repeat" => "tagGroup in tagGroups" } + .customer_tag{ id: "tg_{{tagGroup.position}}", "ng-repeat": "tagGroup in tagGroups" } .header %table %colgroup @@ -16,12 +16,12 @@ %h5 = t('.for_customers_tagged') %td - %tags-with-translation{ "object" => "tagGroup", "max" => 1, "on-tag-added" => "updateTagsRulesFor(tagGroup)", "on-tag-removed" => "updateTagsRulesFor(tagGroup)" } + %tags-with-translation{ object: "tagGroup", max: 1, "on-tag-added": "updateTagsRulesFor(tagGroup)", "on-tag-removed": "updateTagsRulesFor(tagGroup)" } - .no_rules{ "ng-show" => "tagGroup.rules.length == 0" } + .no_rules{ "ng-show": "tagGroup.rules.length == 0" } = t('.no_rules_yet') - .tag_rule{ "ng-repeat" => "rule in tagGroup.rules" } + .tag_rule{ "ng-repeat": "rule in tagGroup.rules" } .add_rule.text-center %input.button.icon-plus{ type: 'button', value: t('.add_new_rule'), "add-new-rule-to" => "addNewRuleTo", "tag-group" => "tagGroup", "new-tag-rule-dialog" => true } .add_tag - %input.button.red.icon-plus{ "type" => 'button', "value" => t('.add_new_tag'), "ng-click" => 'addNewTag()' } + %input.button.red.icon-plus{ type: 'button', value: t('.add_new_tag'), "ng-click": 'addNewTag()' } diff --git a/app/views/admin/enterprises/form/_users.html.haml b/app/views/admin/enterprises/form/_users.html.haml index c652a3da3f..4951d09f8e 100644 --- a/app/views/admin/enterprises/form/_users.html.haml +++ b/app/views/admin/enterprises/form/_users.html.haml @@ -21,8 +21,8 @@ = render partial: 'admin/shared/whats_this_tooltip', locals: {tooltip_text: t('.contact_tip')} .eight.columns.omega - if full_permissions - %select.select2.fullwidth{ "id" => 'receives_notifications_dropdown', "name" => 'receives_notifications', "ng-model" => 'receivesNotifications', "ng-init" => "receivesNotifications = '#{@enterprise.contact.id}'" } - %option{ "value" => '{{user.id}}', "ng-repeat" => 'user in Enterprise.users', "ng-selected" => "user.id == #{@enterprise.contact.id}", "ng-hide" => '!user.confirmed' } + %select.select2.fullwidth{ id: 'receives_notifications_dropdown', name: 'receives_notifications', "ng-model": 'receivesNotifications', "ng-init": "receivesNotifications = '#{@enterprise.contact.id}'" } + %option{ value: '{{user.id}}', "ng-repeat": 'user in Enterprise.users', "ng-selected": "user.id == #{@enterprise.contact.id}", "ng-hide": '!user.confirmed' } {{user.email}} - else = @enterprise.contact.email @@ -41,16 +41,16 @@ - # Ignore this input in the submit = hidden_field_tag :ignored, nil, class: "select2 fullwidth", 'user-select' => 'newManager', 'ng-model' => 'newManager' %td.actions - %tr.animate-repeat{ "id" => "manager-{{manager.id}}", "ng-repeat" => 'manager in Enterprise.users' } + %tr.animate-repeat{ id: "manager-{{manager.id}}", "ng-repeat": 'manager in Enterprise.users' } %td = hidden_field_tag "enterprise[user_ids][]", nil, multiple: true, 'ng-value' => 'manager.id' {{ manager.email }} - %i.confirmation.confirmed.fa.fa-check-circle{ "ofn-with-tip" => t('.email_confirmed'), "ng-show" => 'manager.confirmed' } - %i.confirmation.unconfirmed.fa.fa-exclamation-triangle{ "ofn-with-tip" => t('.email_not_confirmed'), "ng-show" => '!manager.confirmed' } - %i.role.contact.fa.fa-envelope-o{ "ofn-with-tip" => t('.contact'), "ng-show" => 'manager.id == receivesNotifications' } - %i.role.owner.fa.fa-star{ "ofn-with-tip" => t('.owner'), "ng-show" => 'manager.id == Enterprise.owner.id' } + %i.confirmation.confirmed.fa.fa-check-circle{ "ofn-with-tip": t('.email_confirmed'), "ng-show": 'manager.confirmed' } + %i.confirmation.unconfirmed.fa.fa-exclamation-triangle{ "ofn-with-tip": t('.email_not_confirmed'), "ng-show": '!manager.confirmed' } + %i.role.contact.fa.fa-envelope-o{ "ofn-with-tip": t('.contact'), "ng-show": 'manager.id == receivesNotifications' } + %i.role.owner.fa.fa-star{ "ofn-with-tip": t('.owner'), "ng-show": 'manager.id == Enterprise.owner.id' } %td.actions - %a{ "class" => "icon-trash no-text", "ng-click" => 'removeManager(manager)', "ng-class" => "{disabled: manager.id == Enterprise.owner.id || manager.id == receivesNotifications}" } + %a{ class: "icon-trash no-text", "ng-click": 'removeManager(manager)', "ng-class": "{disabled: manager.id == Enterprise.owner.id || manager.id == receivesNotifications}" } - else - @enterprise.users.each do |manager| diff --git a/app/views/admin/enterprises/form/tag_rules/_default_rules.html.haml b/app/views/admin/enterprises/form/tag_rules/_default_rules.html.haml index 76ad01e45f..9bdb7570c6 100644 --- a/app/views/admin/enterprises/form/tag_rules/_default_rules.html.haml +++ b/app/views/admin/enterprises/form/tag_rules/_default_rules.html.haml @@ -8,9 +8,9 @@ %h5 = t('.by_default') %i.text-big.icon-question-sign{ "data-controller": "help-modal-link", "data-action": "click->help-modal-link#open", "data-help-modal-link-target-value": "tag_rule_help_modal" } - .no_rules{ "ng-show" => "defaultTagGroup.rules.length == 0" } + .no_rules{ "ng-show": "defaultTagGroup.rules.length == 0" } = t('.no_rules_yet') - .tag_rule{ "ng-repeat" => "rule in defaultTagGroup.rules" } + .tag_rule{ "ng-repeat": "rule in defaultTagGroup.rules" } .add_rule.text-center %input.button.icon-plus{ type: 'button', value: t('.add_new_button'), "add-new-rule-to" => "addNewRuleTo", "tag-group" => "defaultTagGroup", "new-tag-rule-dialog" => true } diff --git a/app/views/admin/enterprises/new.html.haml b/app/views/admin/enterprises/new.html.haml index c149a805b6..a035288a55 100644 --- a/app/views/admin/enterprises/new.html.haml +++ b/app/views/admin/enterprises/new.html.haml @@ -16,5 +16,5 @@ = form_for [main_app, :admin, @enterprise], html: { "nav-check" => '', "nav-callback" => '' } do |f| .row - .twelve.columns.fullwidth_inputs{ "ng-controller" => "NewEnterpriseController" } + .twelve.columns.fullwidth_inputs{ "ng-controller": "NewEnterpriseController" } = render 'new_form', f: f, scope: 'admin.enterprises.form' diff --git a/app/views/admin/order_cycles/_exchange_form.html.haml b/app/views/admin/order_cycles/_exchange_form.html.haml index 6d06bdd4bc..2eba9bc1ae 100644 --- a/app/views/admin/order_cycles/_exchange_form.html.haml +++ b/app/views/admin/order_cycles/_exchange_form.html.haml @@ -1,4 +1,4 @@ -%tr{ "ng-class" => "'#{type} #{type}-{{ exchange.enterprise_id }}'" } +%tr{ "ng-class": "'#{type} #{type}-{{ exchange.enterprise_id }}'" } %td{:class => "#{type}_name"} {{ enterprises[exchange.enterprise_id].name }} %td.products.panel-toggle.text-center{ name: "products" } {{ exchangeSelectedVariants(exchange) }} / {{ exchangeTotalVariants(exchange) }} @@ -7,7 +7,7 @@ %td.receival-details = text_field_tag 'order_cycle_incoming_exchange_{{ $index }}_receival_instructions', '', 'id' => 'order_cycle_incoming_exchange_{{ $index }}_receival_instructions', 'placeholder' => t('.receival_instructions_placeholder'), 'ng-model' => 'exchange.receival_instructions' - if type == 'distributor' - %td.tags.panel-toggle.text-center{ "name" => "tags", "ng-if" => 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } + %td.tags.panel-toggle.text-center{ name: "tags", "ng-if": 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } {{ exchange.tags.length }} %td.collection-details = text_field_tag 'order_cycle_outgoing_exchange_{{ $index }}_pickup_time', '', 'ng-init' => 'setPickupTimeFieldDirty($index, exchange.pickup_time)', 'id' => 'order_cycle_outgoing_exchange_{{ $index }}_pickup_time', 'required' => 'required', 'placeholder' => t('.pickup_time_placeholder'), 'ng-model' => 'exchange.pickup_time', 'ng-disabled' => '!enterprises[exchange.enterprise_id].managed && !order_cycle.viewing_as_coordinator', 'maxlength' => 35 @@ -16,7 +16,7 @@ = text_field_tag 'order_cycle_outgoing_exchange_{{ $index }}_pickup_instructions', '', 'id' => 'order_cycle_outgoing_exchange_{{ $index }}_pickup_instructions', 'placeholder' => t('.pickup_instructions_placeholder'), 'ng-model' => 'exchange.pickup_instructions', 'ng-disabled' => '!enterprises[exchange.enterprise_id].managed && !order_cycle.viewing_as_coordinator' %span.icon-question-sign{'ofn-with-tip' => t('.pickup_instructions_tip')} %td.fees - %ol{ "ng-show" => 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } + %ol{ "ng-show": 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } %li{'ng-repeat' => 'enterprise_fee in exchange.enterprise_fees'} = select_tag 'order_cycle_{{ exchangeDirection(exchange) }}_exchange_{{ $parent.$index }}_enterprise_fees_{{ $index }}_enterprise_id', nil, {'id' => 'order_cycle_{{ exchangeDirection(exchange) }}_exchange_{{ $parent.$index }}_enterprise_fees_{{ $index }}_enterprise_id', 'ng-model' => 'enterprise_fee.enterprise_id', 'ng-options' => 'enterprise.id as enterprise.name for enterprise in enterprisesWithFees()'} diff --git a/app/views/admin/order_cycles/_filters.html.haml b/app/views/admin/order_cycles/_filters.html.haml index 776a0d4bda..2013aed9f3 100644 --- a/app/views/admin/order_cycles/_filters.html.haml +++ b/app/views/admin/order_cycles/_filters.html.haml @@ -2,20 +2,20 @@ .filter.four.columns.alpha %label{ :for => 'query' }=t('admin.quick_search') %br - %input.fullwidth{ "type" => "text", "id" => 'query', "placeholder" => t(".search_by_order_cycle_name"), "ng-model" => 'query' } + %input.fullwidth{ type: "text", id: 'query', placeholder: t(".search_by_order_cycle_name"), "ng-model": 'query' } .filter_select.four.columns %label{ :for => 'involving_filter' }=t('.involving') %br - %input.ofn-select2.fullwidth{ "id" => 'involving_filter', "type" => 'number', "blank" => "{id: 0, name: '#{j t(".any_enterprise")}'}", "data" => 'enterprises', "ng-model" => 'involvingFilter' } + %input.ofn-select2.fullwidth{ id: 'involving_filter', type: 'number', blank: "{id: 0, name: '#{j t(".any_enterprise")}'}", data: 'enterprises', "ng-model": 'involvingFilter' } - if subscriptions_enabled? .filter_select.four.columns %label{ :for => 'schedule_filter' }=t('admin.order_cycles.index.schedule') %br - %input.ofn-select2.fullwidth{ "id" => 'schedule_filter', "type" => 'number', "blank" => "{id: 0, name: '#{j t(".any_schedule")}'}", "data" => 'schedules', "ng-model" => 'scheduleFilter' } + %input.ofn-select2.fullwidth{ id: 'schedule_filter', type: 'number', blank: "{id: 0, name: '#{j t(".any_schedule")}'}", data: 'schedules', "ng-model": 'scheduleFilter' } .one.columns   - else .five.columns   .filter_clear.three.columns.omega %label{ :for => 'clear_all_filters' } %br - %input.red.fullwidth{ "type" => 'button', "id" => 'clear_all_filters', "value" => "#{t('admin.clear_all')}", "ng-click" => "resetSelectFilters()" } + %input.red.fullwidth{ type: 'button', id: 'clear_all_filters', value: "#{t('admin.clear_all')}", "ng-click": "resetSelectFilters()" } diff --git a/app/views/admin/order_cycles/_header.html.haml b/app/views/admin/order_cycles/_header.html.haml index 756bc2cb5c..981726f631 100644 --- a/app/views/admin/order_cycles/_header.html.haml +++ b/app/views/admin/order_cycles/_header.html.haml @@ -1,35 +1,35 @@ %colgroup - %col{ "ng-show" => 'columns.name.visible' } - %col{ "ng-show" => 'columns.schedules.visible' } - %col{ "style" => 'width: 20%;', "ng-show" => 'columns.open.visible' } - %col{ "style" => 'width: 20%;', "ng-show" => 'columns.close.visible' } + %col{ "ng-show": 'columns.name.visible' } + %col{ "ng-show": 'columns.schedules.visible' } + %col{ style: 'width: 20%;', "ng-show": 'columns.open.visible' } + %col{ style: 'width: 20%;', "ng-show": 'columns.close.visible' } - unless simple_index - %col{ "ng-show" => 'columns.producers.visible' } - %col{ "ng-show" => 'columns.coordinator.visible' } - %col{ "ng-show" => 'columns.shops.visible' } - %col{ "ng-show" => 'columns.products.visible' } + %col{ "ng-show": 'columns.producers.visible' } + %col{ "ng-show": 'columns.coordinator.visible' } + %col{ "ng-show": 'columns.shops.visible' } + %col{ "ng-show": 'columns.products.visible' } %col{ style: 'width: 5%;' } %col{ style: 'width: 5%;' } %col{ style: 'width: 5%;' } %thead %tr - %th{ "ng-show" => 'columns.name.visible' } + %th{ "ng-show": 'columns.name.visible' } =t :name - %th{ "ng-show" => 'columns.schedules.visible' } + %th{ "ng-show": 'columns.schedules.visible' } =t('admin.order_cycles.index.schedules') - %th{ "ng-show" => 'columns.open.visible' } + %th{ "ng-show": 'columns.open.visible' } =t :open - %th{ "ng-show" => 'columns.close.visible' } + %th{ "ng-show": 'columns.close.visible' } =t :close - unless simple_index - %th{ "ng-show" => 'columns.producers.visible' } + %th{ "ng-show": 'columns.producers.visible' } =t :label_producers - %th{ "ng-show" => 'columns.coordinator.visible' } + %th{ "ng-show": 'columns.coordinator.visible' } =t :coordinator - %th{ "ng-show" => 'columns.shops.visible' } + %th{ "ng-show": 'columns.shops.visible' } =t :label_shops - %th{ "ng-show" => 'columns.products.visible' } + %th{ "ng-show": 'columns.products.visible' } =t :products %th.actions %th.actions diff --git a/app/views/admin/order_cycles/_loading_flash.html.haml b/app/views/admin/order_cycles/_loading_flash.html.haml index 231ba6a695..8d670b5d6e 100644 --- a/app/views/admin/order_cycles/_loading_flash.html.haml +++ b/app/views/admin/order_cycles/_loading_flash.html.haml @@ -1,6 +1,6 @@ -%div.sixteen.columns.alpha.omega#loading{ "ng-cloak" => true, "ng-if" => 'RequestMonitor.loading' } +%div.sixteen.columns.alpha.omega#loading{ "ng-cloak": true, "ng-if": 'RequestMonitor.loading' } = render partial: "components/admin_spinner" - %h1{ "ng-hide" => 'orderCycles.length > 0' } + %h1{ "ng-hide": 'orderCycles.length > 0' } = t('.loading_order_cycles') - %h1{ "ng-show" => 'orderCycles.length > 0' } + %h1{ "ng-show": 'orderCycles.length > 0' } = t('.loading') diff --git a/app/views/admin/order_cycles/_name_and_timing_form.html.haml b/app/views/admin/order_cycles/_name_and_timing_form.html.haml index f66080923f..e3bc8df191 100644 --- a/app/views/admin/order_cycles/_name_and_timing_form.html.haml +++ b/app/views/admin/order_cycles/_name_and_timing_form.html.haml @@ -35,6 +35,6 @@ = f.label :schedule_ids, t('admin.order_cycles.index.schedules') .six.columns - if viewing_as_coordinator_of?(@order_cycle) - %input.fullwidth.ofn-select2#schedule_ids{ "name" => 'order_cycle[schedule_ids]', "data" => 'schedules', "multiple" => 'true', "placeholder" => t('admin.please_select'), "filter" => '{viewing_as_coordinator: true}', "ng-model" => 'order_cycle.schedule_ids' } + %input.fullwidth.ofn-select2#schedule_ids{ name: 'order_cycle[schedule_ids]', data: 'schedules', multiple: 'true', placeholder: t('admin.please_select'), filter: '{viewing_as_coordinator: true}', "ng-model": 'order_cycle.schedule_ids' } - else %schedule-list{ 'order-cycle' => 'order_cycle' } diff --git a/app/views/admin/order_cycles/_row.html.haml b/app/views/admin/order_cycles/_row.html.haml index 2d2f90a98a..f331e4ca83 100644 --- a/app/views/admin/order_cycles/_row.html.haml +++ b/app/views/admin/order_cycles/_row.html.haml @@ -1,39 +1,39 @@ -%tr{ "class" => "order-cycle-{{orderCycle.id}} {{orderCycle.status}}", "ng-repeat" => 'orderCycle in orderCycles | schedule:scheduleFilter | involving:involvingFilter | filter:{name: query} track by orderCycle.id' } - %td.name{ "ng-show" => 'columns.name.visible' } - %input{ "id" => 'oc{{::orderCycle.id}}_name', "name" => 'oc{{::orderCycle.id}}[name]', "type" => 'text', "ng-model" => 'orderCycle.name', "ng-disabled" => '!orderCycle.viewing_as_coordinator' } - %td.schedules{ "ng-show" => 'columns.schedules.visible' } - %span{ "ng-repeat" => 'schedule in orderCycle.schedules' } +%tr{ class: "order-cycle-{{orderCycle.id}} {{orderCycle.status}}", "ng-repeat": 'orderCycle in orderCycles | schedule:scheduleFilter | involving:involvingFilter | filter:{name: query} track by orderCycle.id' } + %td.name{ "ng-show": 'columns.name.visible' } + %input{ id: 'oc{{::orderCycle.id}}_name', name: 'oc{{::orderCycle.id}}[name]', type: 'text', "ng-model": 'orderCycle.name', "ng-disabled": '!orderCycle.viewing_as_coordinator' } + %td.schedules{ "ng-show": 'columns.schedules.visible' } + %span{ "ng-repeat": 'schedule in orderCycle.schedules' } %a{ 'schedule-dialog' => true, 'schedule-id' => '{{schedule.id}}' } {{ schedule.name + ($last ? '' : ',') }} - %span{ "ng-show" => 'orderCycle.schedules.length == 0' } None - %td.orders_open_at{ "ng-show" => 'columns.open.visible' } - %input.datetimepicker{ "id" => 'oc{{::orderCycle.id}}_orders_open_at', "name" => 'oc{{::orderCycle.id}}[orders_open_at]', "type" => 'text', "change-warning" => 'orderCycle', "ng-if" => 'orderCycle.viewing_as_coordinator', "ng-model" => 'orderCycle.orders_open_at', "data-controller" => "flatpickr", "data-flatpickr-enable-time-value" => true } - %input{ "id" => 'oc{{::orderCycle.id}}_orders_open_at', "name" => 'oc{{::orderCycle.id}}[orders_open_at]', "type" => 'text', "disabled" => true, "ng-if" => '!orderCycle.viewing_as_coordinator', "ng-model" => 'orderCycle.orders_open_at' } - %td.orders_close_at{ "ng-show" => 'columns.close.visible' } - %input.datetimepicker{ "id" => 'oc{{::orderCycle.id}}_orders_close_at', "name" => 'oc{{::orderCycle.id}}[orders_close_at]', "type" => 'text', "change-warning" => 'orderCycle', "ng-if" => 'orderCycle.viewing_as_coordinator', "ng-model" => 'orderCycle.orders_close_at', "data-controller" => "flatpickr", "data-flatpickr-enable-time-value" => true } - %input{ "id" => 'oc{{::orderCycle.id}}_orders_close_at', "name" => 'oc{{::orderCycle.id}}[orders_close_at]', "type" => 'text', "disabled" => true, "ng-if" => '!orderCycle.viewing_as_coordinator', "ng-model" => 'orderCycle.orders_close_at' } + %span{ "ng-show": 'orderCycle.schedules.length == 0' } None + %td.orders_open_at{ "ng-show": 'columns.open.visible' } + %input.datetimepicker{ id: 'oc{{::orderCycle.id}}_orders_open_at', name: 'oc{{::orderCycle.id}}[orders_open_at]', type: 'text', data: { controller: "flatpickr", "flatpickr-enable-time-value": true }, "change-warning": 'orderCycle', "ng-if": 'orderCycle.viewing_as_coordinator', "ng-model": 'orderCycle.orders_open_at' } + %input{ id: 'oc{{::orderCycle.id}}_orders_open_at', name: 'oc{{::orderCycle.id}}[orders_open_at]', type: 'text', disabled: true, "ng-if": '!orderCycle.viewing_as_coordinator', "ng-model": 'orderCycle.orders_open_at' } + %td.orders_close_at{ "ng-show": 'columns.close.visible' } + %input.datetimepicker{ id: 'oc{{::orderCycle.id}}_orders_close_at', name: 'oc{{::orderCycle.id}}[orders_close_at]', type: 'text', data: { controller: "flatpickr", "flatpickr-enable-time-value": true }, "change-warning": 'orderCycle', "ng-if": 'orderCycle.viewing_as_coordinator', "ng-model": 'orderCycle.orders_close_at' } + %input{ id: 'oc{{::orderCycle.id}}_orders_close_at', name: 'oc{{::orderCycle.id}}[orders_close_at]', type: 'text', disabled: true, "ng-if": '!orderCycle.viewing_as_coordinator', "ng-model": 'orderCycle.orders_close_at' } - unless simple_index - %td.producers{ "ng-show" => 'columns.producers.visible' } - %span{ "ofn-with-tip" => '{{ orderCycle.producerNames }}', "ng-show" => 'orderCycle.producers.length > 3' } + %td.producers{ "ng-show": 'columns.producers.visible' } + %span{ "ofn-with-tip": '{{ orderCycle.producerNames }}', "ng-show": 'orderCycle.producers.length > 3' } {{ orderCycle.producers.length }} = t('.suppliers') - %span{ "ng-hide" => 'orderCycle.producers.length > 3', "ng-bind" => 'orderCycle.producerNames' } - %td.coordinator{ "ng-show" => 'columns.coordinator.visible', "ng-bind-html" => 'orderCycle.coordinator.name' } - %td.shops{ "ng-show" => 'columns.shops.visible' } - %span{ "ofn-with-tip" => '{{ orderCycle.shopNames }}', "ng-show" => 'orderCycle.shops.length > 3' } + %span{ "ng-hide": 'orderCycle.producers.length > 3', "ng-bind": 'orderCycle.producerNames' } + %td.coordinator{ "ng-show": 'columns.coordinator.visible', "ng-bind-html": 'orderCycle.coordinator.name' } + %td.shops{ "ng-show": 'columns.shops.visible' } + %span{ "ofn-with-tip": '{{ orderCycle.shopNames }}', "ng-show": 'orderCycle.shops.length > 3' } {{ orderCycle.shops.length }} = t('.distributors') - %span{ "ng-hide" => 'orderCycle.shops.length > 3', "ng-bind" => 'orderCycle.shopNames' } + %span{ "ng-hide": 'orderCycle.shops.length > 3', "ng-bind": 'orderCycle.shopNames' } - %td.products{ "ng-show" => 'columns.products.visible' } + %td.products{ "ng-show": 'columns.products.visible' } %span {{orderCycle.variant_count}} = t('.variants') %td.actions - %a.edit-order-cycle.icon-edit.no-text{ "ofn-with-tip" => t(:edit), "ng-href" => '{{orderCycle.edit_path}}' } - %td.actions{ "ng-if" => 'orderCycle.viewing_as_coordinator' } - %a.clone-order-cycle.icon-copy.no-text{ "ofn-with-tip" => t(:clone), "ng-href" => '{{orderCycle.clone_path}}' } - %td.actions{ "ng-if" => 'orderCycle.deletable && orderCycle.viewing_as_coordinator' } - %a.delete-order-cycle.icon-trash.no-text{ "ofn-with-tip" => t(:remove), "ng-href" => '{{orderCycle.delete_path}}', "data-method" => 'delete', "data-confirm" => t(:are_you_sure), "data-ujs-navigate" => "false" } + %a.edit-order-cycle.icon-edit.no-text{ "ofn-with-tip": t(:edit), "ng-href": '{{orderCycle.edit_path}}' } + %td.actions{ "ng-if": 'orderCycle.viewing_as_coordinator' } + %a.clone-order-cycle.icon-copy.no-text{ "ofn-with-tip": t(:clone), "ng-href": '{{orderCycle.clone_path}}' } + %td.actions{ "ng-if": 'orderCycle.deletable && orderCycle.viewing_as_coordinator' } + %a.delete-order-cycle.icon-trash.no-text{ data: { method: 'delete', confirm: t(:are_you_sure), "ujs-navigate": "false" }, "ofn-with-tip": t(:remove), "ng-href": '{{orderCycle.delete_path}}' } diff --git a/app/views/admin/order_cycles/_show_more.html.haml b/app/views/admin/order_cycles/_show_more.html.haml index bbf4c1d512..80b7de3628 100644 --- a/app/views/admin/order_cycles/_show_more.html.haml +++ b/app/views/admin/order_cycles/_show_more.html.haml @@ -1,4 +1,4 @@ -.text-center.margin-bottom-50{ "ng-hide" => "RequestMonitor.loading" } - %input{ "type" => 'button', "value" => "#{t('admin.show_n_more', num: '30')} #{t(:days)}", "ng-click" => 'showMore(30)' } +.text-center.margin-bottom-50{ "ng-hide": "RequestMonitor.loading" } + %input{ type: 'button', value: "#{t('admin.show_n_more', num: '30')} #{t(:days)}", "ng-click": 'showMore(30)' } - %input{ "type" => 'button', "value" => "#{t('admin.show_n_more', num: '90')} #{t(:days)}", "ng-click" => 'showMore(90)' } + %input{ type: 'button', value: "#{t('admin.show_n_more', num: '90')} #{t(:days)}", "ng-click": 'showMore(90)' } diff --git a/app/views/admin/order_cycles/_simple_form.html.haml b/app/views/admin/order_cycles/_simple_form.html.haml index c9a0369def..ff3fa25c6f 100644 --- a/app/views/admin/order_cycles/_simple_form.html.haml +++ b/app/views/admin/order_cycles/_simple_form.html.haml @@ -15,9 +15,9 @@ = label_tag t('.products') %table.exchanges - %tbody{ "ng-repeat" => "exchange in order_cycle.incoming_exchanges" } + %tbody{ "ng-repeat": "exchange in order_cycle.incoming_exchanges" } %tr.products - %td{ "ng-include" => "'admin/panels/exchange_products_simple.html'" } + %td{ "ng-include": "'admin/panels/exchange_products_simple.html'" } %br = label_tag t('.tags') diff --git a/app/views/admin/order_cycles/edit.html.haml b/app/views/admin/order_cycles/edit.html.haml index 0c7943e3a9..f6f3bc6f49 100644 --- a/app/views/admin/order_cycles/edit.html.haml +++ b/app/views/admin/order_cycles/edit.html.haml @@ -6,7 +6,7 @@ - url = main_app.notify_producers_admin_order_cycle_path - confirm_msg = "#{t('.notify_producers_tip')} #{t(:are_you_sure)}" - %a.button.icon-email.with-tip{ "href" => url, "data-powertip" => t('.notify_producers_tip'), "data-method" => :post, "data-ujs-navigate" => "false", "data-confirm" => confirm_msg } + %a.button.icon-email.with-tip{ href: url, data: { method: :post, "ujs-navigate": "false", confirm: confirm_msg }, 'data-powertip': t('.notify_producers_tip') } = mails_sent ? t('.re_notify_producers') : t(:notify_producers) - if mails_sent .badge.icon-ok.success @@ -19,13 +19,13 @@ = form_for [main_app, :admin, @order_cycle], :url => '', :html => {:class => 'ng order_cycle', 'ng-app' => 'admin.orderCycles', 'ng-controller' => ng_controller, name: 'order_cycle_form'} do |f| %save-bar{ dirty: "order_cycle_form.$dirty", persist: "true" } - %input.red{ "type" => "button", "value" => t('.save'), "ng-click" => "submit($event, null)", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input.red{ type: "button", value: t('.save'), "ng-click": "submit($event, null)", "ng-disabled": "!order_cycle_form.$dirty || order_cycle_form.$invalid" } - if @order_cycle.simple? - %input.red{ "type" => "button", "value" => t('.save_and_back_to_list'), "ng-click" => "submit($event, '#{main_app.admin_order_cycles_path}')", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input.red{ type: "button", value: t('.save_and_back_to_list'), "ng-click": "submit($event, '#{main_app.admin_order_cycles_path}')", "ng-disabled": "!order_cycle_form.$dirty || order_cycle_form.$invalid" } - else - %input.red{ "type" => "button", "value" => t('.save_and_next'), "ng-click" => "submit($event, '#{main_app.admin_order_cycle_incoming_path(@order_cycle)}')", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } - %input{ "type" => "button", "value" => t('.next'), "ng-click" => "cancel('#{main_app.admin_order_cycle_incoming_path(@order_cycle)}')", "ng-disabled" => "order_cycle_form.$dirty" } - %input{ "type" => "button", "ng-value" => "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", "ng-click" => "cancel('#{main_app.admin_order_cycles_path}')" } + %input.red{ type: "button", value: t('.save_and_next'), "ng-click": "submit($event, '#{main_app.admin_order_cycle_incoming_path(@order_cycle)}')", "ng-disabled": "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input{ type: "button", value: t('.next'), "ng-click": "cancel('#{main_app.admin_order_cycle_incoming_path(@order_cycle)}')", "ng-disabled": "order_cycle_form.$dirty" } + %input{ type: "button", "ng-value": "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", "ng-click": "cancel('#{main_app.admin_order_cycles_path}')" } - if @order_cycle.simple? = render 'simple_form', f: f diff --git a/app/views/admin/order_cycles/incoming.html.haml b/app/views/admin/order_cycles/incoming.html.haml index 5dddf71c3d..d4dbc1806b 100644 --- a/app/views/admin/order_cycles/incoming.html.haml +++ b/app/views/admin/order_cycles/incoming.html.haml @@ -9,10 +9,10 @@ = render 'wizard_progress' %save-bar{ dirty: "order_cycle_form.$dirty", persist: "true" } - %input.red{ "type" => "button", "value" => t('.save'), "ng-click" => "submit($event, null)", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } - %input.red{ "type" => "button", "value" => t('.save_and_next'), "ng-click" => "submit($event, '#{main_app.admin_order_cycle_outgoing_path(@order_cycle)}')", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } - %input{ "type" => "button", "value" => t('.next'), "ng-click" => "cancel('#{main_app.admin_order_cycle_outgoing_path(@order_cycle)}')", "ng-disabled" => "order_cycle_form.$dirty" } - %input{ "type" => "button", "ng-value" => "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", "ng-click" => "cancel('#{main_app.admin_order_cycles_path}')" } + %input.red{ type: "button", value: t('.save'), "ng-click": "submit($event, null)", "ng-disabled": "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input.red{ type: "button", value: t('.save_and_next'), "ng-click": "submit($event, '#{main_app.admin_order_cycle_outgoing_path(@order_cycle)}')", "ng-disabled": "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input{ type: "button", value: t('.next'), "ng-click": "cancel('#{main_app.admin_order_cycle_outgoing_path(@order_cycle)}')", "ng-disabled": "order_cycle_form.$dirty" } + %input{ type: "button", "ng-value": "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", "ng-click": "cancel('#{main_app.admin_order_cycles_path}')" } %fieldset.no-border-bottom %legend{ align: 'center'}= t('.incoming') diff --git a/app/views/admin/order_cycles/index.html.haml b/app/views/admin/order_cycles/index.html.haml index e03e39cf1b..db6c544286 100644 --- a/app/views/admin/order_cycles/index.html.haml +++ b/app/views/admin/order_cycles/index.html.haml @@ -14,19 +14,19 @@ = admin_inject_column_preferences module: 'admin.orderCycles' -%div{ "ng-controller" => 'OrderCyclesCtrl' } +%div{ "ng-controller": 'OrderCyclesCtrl' } = render 'admin/order_cycles/filters' %hr.divider - .row.controls{ "ng-show" => "orderCycles.length > 0" } + .row.controls{ "ng-show": "orderCycles.length > 0" } .thirteen.columns.alpha   %columns-dropdown{ action: "#{controller_name}_#{action_name}" } %form{ name: 'order_cycles_form' } %save-bar{ dirty: "order_cycles_form.$dirty", persist: "false" } - %input.red{ "type" => "button", "value" => t(:save_changes), "ng-click" => "saveAll()", "ng-disabled" => "!order_cycles_form.$dirty" } - %table.index#listing_order_cycles{ "ng-show" => 'orderCycles.length > 0' } + %input.red{ type: "button", value: t(:save_changes), "ng-click": "saveAll()", "ng-disabled": "!order_cycles_form.$dirty" } + %table.index#listing_order_cycles{ "ng-show": 'orderCycles.length > 0' } = render 'admin/order_cycles/header' #, simple_index: simple_index %tbody = render 'admin/order_cycles/row' #, simple_index: simple_index diff --git a/app/views/admin/order_cycles/new.html.haml b/app/views/admin/order_cycles/new.html.haml index c01459082f..6dd1c0b22b 100644 --- a/app/views/admin/order_cycles/new.html.haml +++ b/app/views/admin/order_cycles/new.html.haml @@ -9,8 +9,8 @@ %save-bar{ dirty: "order_cycle_form.$dirty", persist: "true" } - if @order_cycle.simple? - custom_redirect_path = main_app.admin_order_cycles_path - %input.red{ "type" => "button", "value" => t('.create'), "ng-click" => "submit($event, '#{custom_redirect_path}')", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } - %input{ "type" => "button", "ng-value" => "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", "ng-click" => "cancel('#{main_app.admin_order_cycles_path}')" } + %input.red{ type: "button", value: t('.create'), "ng-click": "submit($event, '#{custom_redirect_path}')", "ng-disabled": "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input{ type: "button", "ng-value": "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", "ng-click": "cancel('#{main_app.admin_order_cycles_path}')" } - if @order_cycle.simple? = render 'simple_form', f: f diff --git a/app/views/admin/order_cycles/outgoing.html.haml b/app/views/admin/order_cycles/outgoing.html.haml index 4d1ead94c5..4812d36f7d 100644 --- a/app/views/admin/order_cycles/outgoing.html.haml +++ b/app/views/admin/order_cycles/outgoing.html.haml @@ -9,10 +9,10 @@ = render 'wizard_progress' %save-bar{ dirty: "order_cycle_form.$dirty", persist: "true" } - %input.red{ "type" => "button", "value" => t('.save'), "ng-click" => "submit($event, null)", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } - %input.red{ "type" => "button", "value" => t('.save_and_next'), "ng-click" => "submit($event, '#{main_app.admin_order_cycle_checkout_options_path(@order_cycle)}')", "ng-disabled" => "!order_cycle_form.$dirty || order_cycle_form.$invalid" } - %input{ "type" => "button", "value" => t('.next'), "ng-click" => "cancel('#{main_app.admin_order_cycle_checkout_options_path(@order_cycle)}')", "ng-disabled" => "order_cycle_form.$dirty" } - %input{ "type" => "button", "ng-value" => "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", "ng-click" => "cancel('#{main_app.admin_order_cycles_path}')" } + %input.red{ type: "button", value: t('.save'), "ng-click": "submit($event, null)", "ng-disabled": "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input.red{ type: "button", value: t('.save_and_next'), "ng-click": "submit($event, '#{main_app.admin_order_cycle_checkout_options_path(@order_cycle)}')", "ng-disabled": "!order_cycle_form.$dirty || order_cycle_form.$invalid" } + %input{ type: "button", value: t('.next'), "ng-click": "cancel('#{main_app.admin_order_cycle_checkout_options_path(@order_cycle)}')", "ng-disabled": "order_cycle_form.$dirty" } + %input{ type: "button", "ng-value": "order_cycle_form.$dirty ? '#{t('.cancel')}' : '#{t('.back_to_list')}'", "ng-click": "cancel('#{main_app.admin_order_cycles_path}')" } %fieldset.no-border-bottom %legend{ align: 'center'}= t('.outgoing') @@ -27,7 +27,7 @@ %a{href: '#', 'ng-click' => "OrderCycle.toggleAllProducts('outgoing')"} %span{'ng-show' => "OrderCycle.showProducts['outgoing']"}= t(:collapse_all) %span{'ng-hide' => "OrderCycle.showProducts['outgoing']"}= t(:expand_all) - %th{ "ng-if" => 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } + %th{ "ng-if": 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } = t('.tags') %th= t('.delivery_details') %th= t('.fees') diff --git a/app/views/admin/product_import/_entries_table.html.haml b/app/views/admin/product_import/_entries_table.html.haml index 315ad80882..09be2df666 100644 --- a/app/views/admin/product_import/_entries_table.html.haml +++ b/app/views/admin/product_import/_entries_table.html.haml @@ -5,10 +5,10 @@ %th #{t('admin.product_import.import.line')} - @importer.table_headings.each do |heading| %th= heading - %tr{ "ng-repeat" => "(line_number, entry) in (entries | entriesFilterValid:'#{entries}')" } + %tr{ "ng-repeat": "(line_number, entry) in (entries | entriesFilterValid:'#{entries}')" } %td - %i{ "ng-class" => "{'fa fa-warning error': (count(entry.errors) > 0), 'fa fa-check-circle success': (count(entry.errors) == 0)}" } + %i{ "ng-class": "{'fa fa-warning error': (count(entry.errors) > 0), 'fa fa-check-circle success': (count(entry.errors) == 0)}" } %td {{line_number}} - %td{ "ng-repeat" => "(attribute, value) in entry.attributes", "ng-class" => "{'invalid': attribute_invalid(attribute, line_number)}" } + %td{ "ng-repeat": "(attribute, value) in entry.attributes", "ng-class": "{'invalid': attribute_invalid(attribute, line_number)}" } {{value}} diff --git a/app/views/admin/product_import/_errors_list.html.haml b/app/views/admin/product_import/_errors_list.html.haml index f19274fe1b..644f798bb1 100644 --- a/app/views/admin/product_import/_errors_list.html.haml +++ b/app/views/admin/product_import/_errors_list.html.haml @@ -1,9 +1,9 @@ -%div.import-errors{ "ng-controller" => 'ImportFeedbackCtrl', "ng-repeat" => "(line_number, entry ) in (entries | entriesFilterValid:'invalid')" } +%div.import-errors{ "ng-controller": 'ImportFeedbackCtrl', "ng-repeat": "(line_number, entry ) in (entries | entriesFilterValid:'invalid')" } %p.line %strong #{t('admin.product_import.import.item_line')} {{line_number}}: %span {{entry.attributes.name}} - %span{ "ng-if" => "entry.attributes.display_name" } + %span{ "ng-if": "entry.attributes.display_name" } ( {{entry.attributes.display_name}} ) - %p.error{ "ng-repeat" => "(attribute, error) in entry.errors", "ng-show" => "ignore_fields.indexOf(attribute) < 0" } + %p.error{ "ng-repeat": "(attribute, error) in entry.errors", "ng-show": "ignore_fields.indexOf(attribute) < 0" }  -  {{error}} diff --git a/app/views/admin/product_import/_import_options.html.haml b/app/views/admin/product_import/_import_options.html.haml index 96222d9f6f..6e6144ffc9 100644 --- a/app/views/admin/product_import/_import_options.html.haml +++ b/app/views/admin/product_import/_import_options.html.haml @@ -4,7 +4,7 @@ - @importer.enterprises_index.each do |name, attrs| - if name and attrs[:id] and @importer.permission_by_id?(attrs[:id]) %div.panel-section.import-settings - %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active}' } + %div.panel-header{ "ng-click": 'togglePanel()', "ng-class": '{active: active}' } %div.header-icon.success %i.fa.fa-check-circle %div.header-description diff --git a/app/views/admin/product_import/_import_review.html.haml b/app/views/admin/product_import/_import_review.html.haml index a63601eaee..c6ff771a60 100644 --- a/app/views/admin/product_import/_import_review.html.haml +++ b/app/views/admin/product_import/_import_review.html.haml @@ -1,7 +1,7 @@ %h5= t('admin.product_import.import.validation_overview') %br -%div{ "ng-controller" => 'ImportFeedbackCtrl' } +%div{ "ng-controller": 'ImportFeedbackCtrl' } - if @importer.product_field_errors? .alert-box.warning @@ -9,10 +9,10 @@ %em= @non_updatable_fields.keys.join(', ') + "." = t('.fields_ignored') - %div.panel-section{ "ng-controller" => 'DropdownPanelsCtrl' } - %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active && count((entries | entriesFilterValid:"all"))}' } + %div.panel-section{ "ng-controller": 'DropdownPanelsCtrl' } + %div.panel-header{ "ng-click": 'togglePanel()', "ng-class": '{active: active && count((entries | entriesFilterValid:"all"))}' } %div.header-caret - %i{ "ng-class" => "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide" => 'count((entries | entriesFilterValid:"all")) == 0' } + %i{ "ng-class": "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide": 'count((entries | entriesFilterValid:"all")) == 0' } %div.header-icon.success %i.fa.fa-info-circle.info %div.header-count @@ -20,13 +20,13 @@ {{ count((entries | entriesFilterValid:"all")) }} %div.header-description = t('admin.product_import.import.entries_found') - %div.panel-content{ "ng-hide" => '!active || count((entries | entriesFilterValid:"all")) == 0' } + %div.panel-content{ "ng-hide": '!active || count((entries | entriesFilterValid:"all")) == 0' } = render 'entries_table', entries: 'all' - %div.panel-section{ "ng-controller" => 'DropdownPanelsCtrl', "ng-hide" => 'count((entries | entriesFilterValid:"invalid")) == 0' } - %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active && count((entries | entriesFilterValid:"invalid"))}' } + %div.panel-section{ "ng-controller": 'DropdownPanelsCtrl', "ng-hide": 'count((entries | entriesFilterValid:"invalid")) == 0' } + %div.panel-header{ "ng-click": 'togglePanel()', "ng-class": '{active: active && count((entries | entriesFilterValid:"invalid"))}' } %div.header-caret - %i{ "ng-class" => "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide" => 'count((entries | entriesFilterValid:"invalid")) == 0' } + %i{ "ng-class": "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide": 'count((entries | entriesFilterValid:"invalid")) == 0' } %div.header-icon.error %i.fa.fa-warning %div.header-count @@ -34,15 +34,15 @@ {{ count((entries | entriesFilterValid:"invalid")) }} %div.header-description = t('admin.product_import.import.entries_with_errors') - %div.panel-content{ "ng-hide" => '!active || count((entries | entriesFilterValid:"invalid")) == 0' } + %div.panel-content{ "ng-hide": '!active || count((entries | entriesFilterValid:"invalid")) == 0' } = render 'errors_list' %br = render 'entries_table', entries: 'invalid' - %div.panel-section{ "ng-controller" => 'DropdownPanelsCtrl', "ng-hide" => 'count((entries | entriesFilterValid:"create_product")) == 0' } - %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active && count((entries | entriesFilterValid:"create_product"))}' } + %div.panel-section{ "ng-controller": 'DropdownPanelsCtrl', "ng-hide": 'count((entries | entriesFilterValid:"create_product")) == 0' } + %div.panel-header{ "ng-click": 'togglePanel()', "ng-class": '{active: active && count((entries | entriesFilterValid:"create_product"))}' } %div.header-caret - %i{ "ng-class" => "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide" => 'count((entries | entriesFilterValid:"create_product")) == 0' } + %i{ "ng-class": "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide": 'count((entries | entriesFilterValid:"create_product")) == 0' } %div.header-icon.success %i.fa.fa-check-circle %div.header-count @@ -50,13 +50,13 @@ {{ count((entries | entriesFilterValid:"create_product")) }} %div.header-description = t('admin.product_import.import.products_to_create') - %div.panel-content{ "ng-hide" => '!active || count((entries | entriesFilterValid:"create_product")) == 0' } + %div.panel-content{ "ng-hide": '!active || count((entries | entriesFilterValid:"create_product")) == 0' } = render 'entries_table', entries: 'create_product' - %div.panel-section{ "ng-controller" => 'DropdownPanelsCtrl', "ng-hide" => 'count((entries | entriesFilterValid:"update_product")) == 0' } - %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active && count((entries | entriesFilterValid:"update_product"))}' } + %div.panel-section{ "ng-controller": 'DropdownPanelsCtrl', "ng-hide": 'count((entries | entriesFilterValid:"update_product")) == 0' } + %div.panel-header{ "ng-click": 'togglePanel()', "ng-class": '{active: active && count((entries | entriesFilterValid:"update_product"))}' } %div.header-caret - %i{ "ng-class" => "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide" => 'count((entries | entriesFilterValid:"update_product")) == 0' } + %i{ "ng-class": "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide": 'count((entries | entriesFilterValid:"update_product")) == 0' } %div.header-icon.success %i.fa.fa-check-circle %div.header-count @@ -64,13 +64,13 @@ {{ count((entries | entriesFilterValid:"update_product")) }} %div.header-description = t('admin.product_import.import.products_to_update') - %div.panel-content{ "ng-hide" => '!active || count((entries | entriesFilterValid:"update_product")) == 0' } + %div.panel-content{ "ng-hide": '!active || count((entries | entriesFilterValid:"update_product")) == 0' } = render 'entries_table', entries: 'update_product' - %div.panel-section{ "ng-controller" => 'DropdownPanelsCtrl', "ng-hide" => 'count((entries | entriesFilterValid:"create_inventory")) == 0' } - %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active && count((entries | entriesFilterValid:"create_inventory"))}' } + %div.panel-section{ "ng-controller": 'DropdownPanelsCtrl', "ng-hide": 'count((entries | entriesFilterValid:"create_inventory")) == 0' } + %div.panel-header{ "ng-click": 'togglePanel()', "ng-class": '{active: active && count((entries | entriesFilterValid:"create_inventory"))}' } %div.header-caret - %i{ "ng-class" => "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide" => 'count((entries | entriesFilterValid:"create_inventory")) == 0' } + %i{ "ng-class": "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide": 'count((entries | entriesFilterValid:"create_inventory")) == 0' } %div.header-icon.success %i.fa.fa-check-circle %div.header-count @@ -78,13 +78,13 @@ {{ count((entries | entriesFilterValid:"create_inventory")) }} %div.header-description = t('admin.product_import.import.inventory_to_create') - %div.panel-content{ "ng-hide" => '!active || count((entries | entriesFilterValid:"create_inventory")) == 0' } + %div.panel-content{ "ng-hide": '!active || count((entries | entriesFilterValid:"create_inventory")) == 0' } = render 'entries_table', entries: 'create_inventory' - %div.panel-section{ "ng-controller" => 'DropdownPanelsCtrl', "ng-hide" => 'count((entries | entriesFilterValid:"update_inventory")) == 0' } - %div.panel-header{ "ng-click" => 'togglePanel()', "ng-class" => '{active: active && count((entries | entriesFilterValid:"update_inventory"))}' } + %div.panel-section{ "ng-controller": 'DropdownPanelsCtrl', "ng-hide": 'count((entries | entriesFilterValid:"update_inventory")) == 0' } + %div.panel-header{ "ng-click": 'togglePanel()', "ng-class": '{active: active && count((entries | entriesFilterValid:"update_inventory"))}' } %div.header-caret - %i{ "ng-class" => "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide" => 'count((entries | entriesFilterValid:"update_inventory")) == 0' } + %i{ "ng-class": "{'icon-chevron-down': active, 'icon-chevron-right': !active}", "ng-hide": 'count((entries | entriesFilterValid:"update_inventory")) == 0' } %div.header-icon.success %i.fa.fa-check-circle %div.header-count @@ -92,10 +92,10 @@ {{ count((entries | entriesFilterValid:"update_inventory")) }} %div.header-description = t('admin.product_import.import.inventory_to_update') - %div.panel-content{ "ng-hide" => '!active || count((entries | entriesFilterValid:"update_inventory")) == 0' } + %div.panel-content{ "ng-hide": '!active || count((entries | entriesFilterValid:"update_inventory")) == 0' } = render 'entries_table', entries: 'update_inventory' - %div.panel-section{ "ng-controller" => 'ImportOptionsFormCtrl', "ng-hide" => 'resetTotal == 0' } + %div.panel-section{ "ng-controller": 'ImportOptionsFormCtrl', "ng-hide": 'resetTotal == 0' } %div.panel-header %div.header-caret %div.header-icon.info diff --git a/app/views/admin/product_import/_save_results.html.haml b/app/views/admin/product_import/_save_results.html.haml index 3228e2d8aa..87af4141cf 100644 --- a/app/views/admin/product_import/_save_results.html.haml +++ b/app/views/admin/product_import/_save_results.html.haml @@ -4,31 +4,31 @@ %div.post-save-results - %p{ "ng-show" => 'updates.products_created' } - %i.fa{ "ng-class" => "{'fa-info-circle': updates.products_created == 0, 'fa-check-circle': updates.products_created > 0}" } + %p{ "ng-show": 'updates.products_created' } + %i.fa{ "ng-class": "{'fa-info-circle': updates.products_created == 0, 'fa-check-circle': updates.products_created > 0}" } %strong.created-count {{ updates.products_created }} = t('.products_created') - %p{ "ng-show" => 'updates.products_updated' } - %i.fa{ "ng-class" => "{'fa-info-circle': updates.products_updated == 0, 'fa-check-circle': updates.products_updated > 0}" } + %p{ "ng-show": 'updates.products_updated' } + %i.fa{ "ng-class": "{'fa-info-circle': updates.products_updated == 0, 'fa-check-circle': updates.products_updated > 0}" } %strong.updated-count {{ updates.products_updated }} = t('.products_updated') - %p{ "ng-show" => 'updates.inventory_created' } - %i.fa{ "ng-class" => "{'fa-info-circle': updates.inventory_created == 0, 'fa-check-circle': updates.inventory_created > 0}" } + %p{ "ng-show": 'updates.inventory_created' } + %i.fa{ "ng-class": "{'fa-info-circle': updates.inventory_created == 0, 'fa-check-circle': updates.inventory_created > 0}" } %strong.inv-created-count {{ updates.inventory_created }} = t('.inventory_created') - %p{ "ng-show" => 'updates.inventory_updated' } - %i.fa{ "ng-class" => "{'fa-info-circle': updates.inventory_updated == 0, 'fa-check-circle': updates.inventory_updated > 0}" } + %p{ "ng-show": 'updates.inventory_updated' } + %i.fa{ "ng-class": "{'fa-info-circle': updates.inventory_updated == 0, 'fa-check-circle': updates.inventory_updated > 0}" } %strong.inv-updated-count {{ updates.inventory_updated }} = t('.inventory_updated') - %p{ "ng-show" => 'updates.products_reset' } + %p{ "ng-show": 'updates.products_reset' } %i.fa.fa-info-circle %strong.reset-count {{ updates.products_reset }} @@ -39,24 +39,24 @@ %br - %p{ "ng-show" => 'update_errors.length == 0' } + %p{ "ng-show": 'update_errors.length == 0' } = t('.all_saved') - %div{ "ng-show" => 'update_errors.length > 0' } + %div{ "ng-show": 'update_errors.length > 0' } %p {{ updated_total }} #{t('.some_saved')} %br %h5= t('.save_errors') - %p.save-error{ "ng-repeat" => 'error in update_errors' } + %p.save-error{ "ng-repeat": 'error in update_errors' }  -  {{ error }} %br - %div{ "ng-show" => 'updated_total > 0' } - %a.button.view{ "href" => main_app.admin_inventory_path, "ng-show" => 'updates.inventory_created > 0 || updates.inventory_updated > 0' } + %div{ "ng-show": 'updated_total > 0' } + %a.button.view{ href: main_app.admin_inventory_path, "ng-show": 'updates.inventory_created > 0 || updates.inventory_updated > 0' } = t('.view_inventory') - %a.button.view{ "href" => admin_products_path, "ng-show" => 'updates.products_created > 0 || updates.products_updated > 0' } + %a.button.view{ href: admin_products_path, "ng-show": 'updates.products_created > 0 || updates.products_updated > 0' } = t('.view_products') %a.button{href: main_app.admin_product_import_path} diff --git a/app/views/admin/product_import/_upload_form.html.haml b/app/views/admin/product_import/_upload_form.html.haml index 32fe7c7dd6..7477789f82 100644 --- a/app/views/admin/product_import/_upload_form.html.haml +++ b/app/views/admin/product_import/_upload_form.html.haml @@ -1,4 +1,4 @@ -%div{ "ng-app" => 'admin.productImport', "ng-controller" => 'ImportOptionsFormCtrl', "ng-init" => "initForm()" } +%div{ "ng-app": 'admin.productImport', "ng-controller": 'ImportOptionsFormCtrl', "ng-init": "initForm()" } = form_tag main_app.admin_product_import_path, multipart: true, class: 'product-import' do diff --git a/app/views/admin/product_import/import.html.haml b/app/views/admin/product_import/import.html.haml index c3c4f9b63a..658d05abb1 100644 --- a/app/views/admin/product_import/import.html.haml +++ b/app/views/admin/product_import/import.html.haml @@ -4,7 +4,7 @@ = render partial: 'ams_data' = render partial: 'spree/admin/shared/product_sub_menu' -.import-wrapper{ "ng-app" => 'admin.productImport', "ng-controller" => 'ImportFormCtrl' } +.import-wrapper{ "ng-app": 'admin.productImport', "ng-controller": 'ImportFormCtrl' } - if @importer.item_count == 0 %h5 @@ -13,14 +13,14 @@ = t('.none_to_save') %br - else - .settings-section{ "ng-show" => 'step == "settings"' } + .settings-section{ "ng-show": 'step == "settings"' } = render 'import_options' if @importer.table_headings %br - %a.button.proceed{ "href" => '', "ng-click" => 'confirmSettings()' } + %a.button.proceed{ href: '', "ng-click": 'confirmSettings()' } = t('.import') %a.button{href: main_app.admin_product_import_path} #{t('admin.cancel')} - .progress-interface{ "ng-show" => 'step == "import"' } + .progress-interface{ "ng-show": 'step == "import"' } %span.filename = @original_filename %span.percentage @@ -34,12 +34,12 @@ = render 'import_review' if @importer.table_headings - %div{ "ng-controller" => 'ImportFeedbackCtrl', "ng-show" => 'count((entries | entriesFilterValid:"valid")) > 0' } - %div{ "ng-if" => 'count((entries | entriesFilterValid:"invalid")) > 0' } + %div{ "ng-controller": 'ImportFeedbackCtrl', "ng-show": 'count((entries | entriesFilterValid:"valid")) > 0' } + %div{ "ng-if": 'count((entries | entriesFilterValid:"invalid")) > 0' } %br %h5= t('admin.product_import.import.some_invalid_entries') %p= t('admin.product_import.import.fix_before_import') - %div{ "ng-show" => 'count((entries | entriesFilterValid:"invalid")) == 0' } + %div{ "ng-show": 'count((entries | entriesFilterValid:"invalid")) == 0' } %br %h5= t('.no_errors') %p= t('.save_all_imported?') @@ -47,22 +47,22 @@ = hidden_field_tag :filepath, @filepath = hidden_field_tag "settings[import_into]", @import_into - %a.button.proceed{ "href" => '', "ng-show" => 'count((entries | entriesFilterValid:"invalid")) == 0', "ng-click" => 'acceptResults()' } + %a.button.proceed{ href: '', "ng-show": 'count((entries | entriesFilterValid:"invalid")) == 0', "ng-click": 'acceptResults()' } = t('.save') %a.button{href: main_app.admin_product_import_path}= t('admin.cancel') - %div{ "ng-controller" => 'ImportFeedbackCtrl', "ng-show" => 'count((entries | entriesFilterValid:"valid")) == 0' } + %div{ "ng-controller": 'ImportFeedbackCtrl', "ng-show": 'count((entries | entriesFilterValid:"valid")) == 0' } %br %a.button{href: main_app.admin_product_import_path}= t('admin.cancel') - .progress-interface{ "ng-show" => 'step == "save"' } + .progress-interface{ "ng-show": 'step == "save"' } %span.filename #{t('.save_imported')} ({{ percentage.save }}) .progress-bar{} - %span.progress-track{ "ng-style" => "{'width': percentage.save }" } + %span.progress-track{ "ng-style": "{'width': percentage.save }" } %p.red {{ exception }} - .save-results{ "ng-show" => 'step == "complete"' } + .save-results{ "ng-show": 'step == "complete"' } = render 'save_results' diff --git a/app/views/admin/products_v3/_no_products.html.haml b/app/views/admin/products_v3/_no_products.html.haml index 0fb24ba20d..4cb82d2eb5 100644 --- a/app/views/admin/products_v3/_no_products.html.haml +++ b/app/views/admin/products_v3/_no_products.html.haml @@ -1,6 +1,6 @@ - if search_term.present? || producer_id.present? || category_id.present? = t('.no_products_found_for_search') - %a{ "href" => "#", "class" => "button disruptive relaxed", "data-reflex" => "click->products#clear_search" } + %a{ href: "#", class: "button disruptive relaxed", data: { reflex: "click->products#clear_search" } } = t("admin.products_v3.sort.pagination.clear_search") - else = t('.no_products_found') diff --git a/app/views/admin/products_v3/_sort.html.haml b/app/views/admin/products_v3/_sort.html.haml index 90c13fbfb3..b89d926cef 100644 --- a/app/views/admin/products_v3/_sort.html.haml +++ b/app/views/admin/products_v3/_sort.html.haml @@ -2,7 +2,7 @@ %div = t(".pagination.total_html", total: pagy.count, from: pagy.from, to: pagy.to) - if search_term.present? || producer_id.present? || category_id.present? - %a{ "href" => "#", "class" => "button disruptive", "data-reflex" => "click->products#clear_search" } + %a{ href: "#", class: "button disruptive", data: { reflex: "click->products#clear_search" } } = t(".pagination.clear_search") %form.with-dropdown = t(".pagination.per_page.show") diff --git a/app/views/admin/reports/show.html.haml b/app/views/admin/reports/show.html.haml index 656a56c9d8..42f7ec8e05 100644 --- a/app/views/admin/reports/show.html.haml +++ b/app/views/admin/reports/show.html.haml @@ -27,5 +27,5 @@ = t(@error, link: link_to(t(".report_link_label"), @error_url)) if @error -#report-table{ "data-controller" => "scoped-channel", "data-scoped-channel-id-value" => request.uuid } +#report-table{ data: { controller: "scoped-channel", "scoped-channel-id-value": request.uuid } } = @table diff --git a/app/views/admin/shared/_side_menu.html.haml b/app/views/admin/shared/_side_menu.html.haml index c0ed67af4c..e900c233a8 100644 --- a/app/views/admin/shared/_side_menu.html.haml +++ b/app/views/admin/shared/_side_menu.html.haml @@ -2,12 +2,12 @@ - if @enterprise - enterprise_side_menu_items(@enterprise).each do |item| - next if !item[:show] - %a.menu_item{ "href" => item[:href] || "##{item[:name]}_panel", "class" => item[:selected], "data-action" => "tabs-and-panels#activate", "data-tabs-and-panels-target" => "tab", "data-test" => "link_for_#{item[:name]}" } + %a.menu_item{ href: item[:href] || "##{item[:name]}_panel", data: { action: "tabs-and-panels#activate", "tabs-and-panels-target": "tab", test: "link_for_#{item[:name]}" }, class: item[:selected] } %i{ class: item[:icon_class] } %span= t(".enterprise.#{item[:name] }") - else - enterprise_group_side_menu_items.each do |item| - %a.menu_item{ "href" => "##{item[:name]}_panel", "class" => item[:selected], "data-action" => "tabs-and-panels#activate", "data-tabs-and-panels-target" => "tab", "data-test" => "link_for_#{item[:name]}" } + %a.menu_item{ href: "##{item[:name]}_panel", class: item[:selected], data: { action: "tabs-and-panels#activate", "tabs-and-panels-target": "tab", test: "link_for_#{item[:name]}" } } %i{ class: item[:icon_class] } %span= t(".enterprise_group.#{item[:name] }") diff --git a/app/views/admin/shared/_stimulus_pagination.html.haml b/app/views/admin/shared/_stimulus_pagination.html.haml index bb7c008bb4..e7b4b9960a 100644 --- a/app/views/admin/shared/_stimulus_pagination.html.haml +++ b/app/views/admin/shared/_stimulus_pagination.html.haml @@ -2,9 +2,9 @@ .pagination{ "data-controller": "search" } - if pagy.prev - %button.page.prev{ "data-action" => 'click->search#changePage', "data-page" => pagy.prev } + %button.page.prev{ data: { action: 'click->search#changePage', page: pagy.prev } } - if feature?(:admin_style_v3, spree_current_user) - %i.icon-chevron-left{ "data-action" => 'click->search#changePage', "data-page" => pagy.prev } + %i.icon-chevron-left{ data: { action: 'click->search#changePage', page: pagy.prev } } - else != pagy_t('pagy.nav.prev') - else @@ -12,7 +12,7 @@ - pagy.series.each do |item| # series example: [1, :gap, 7, 8, "9", 10, 11, :gap, 36] - if item.is_a?(Integer) # page link - %button.page{ "data-action" => 'click->search#changePage', "data-page" => item }= item + %button.page{ data: { action: 'click->search#changePage', page: item } }= item - elsif item.is_a?(String) # current page %button.page.current.active= item @@ -21,9 +21,9 @@ %span.page.gap.pagination-ellipsis!= pagy_t('pagy.nav.gap') - if pagy.next - %button.page.next{ "data-action" => 'click->search#changePage', "data-page" => pagy.next } + %button.page.next{ data: { action: 'click->search#changePage', page: pagy.next } } - if feature?(:admin_style_v3, spree_current_user) - %i.icon-chevron-right{ "data-action" => 'click->search#changePage', "data-page" => pagy.next } + %i.icon-chevron-right{ data: { action: 'click->search#changePage', page: pagy.next } } - else != pagy_t('pagy.nav.next') - else diff --git a/app/views/admin/shared/_views_dropdown.html.haml b/app/views/admin/shared/_views_dropdown.html.haml index e560addd9a..8e1f299fa8 100644 --- a/app/views/admin/shared/_views_dropdown.html.haml +++ b/app/views/admin/shared/_views_dropdown.html.haml @@ -2,6 +2,6 @@ %span{ :class => 'icon-eye-open' }= "  #{t('admin.viewing', current_view_name: '{{ currentView().name }}')}".html_safe %span{ 'ng-class' => "expanded && 'icon-caret-up' || !expanded && 'icon-caret-down'" } %div.menu{ 'ng-show' => "expanded" } - %div.menu_item{ "close-on-click" => true, "ng-repeat" => "(viewKey, view) in views", "toggle-view" => true } + %div.menu_item{ "close-on-click": true, "ng-repeat": "(viewKey, view) in views", "toggle-view": true } %span.check %span.name {{ view.name }} diff --git a/app/views/admin/subscriptions/_address.html.haml b/app/views/admin/subscriptions/_address.html.haml index e82277f77c..4ec9516941 100644 --- a/app/views/admin/subscriptions/_address.html.haml +++ b/app/views/admin/subscriptions/_address.html.haml @@ -4,48 +4,48 @@ %legend{ align: 'center'}= t(:bill_address) .field %label{ for: 'bill_address_firstname'}= t(:first_name) - %input.fullwidth#bill_address_firstname{ "name" => 'bill_address_firstname', "type" => 'text', "required" => true, "ng-model" => "subscription.bill_address.firstname" } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_firstname.$error.required' }= t(:error_required) - .error{ "ng-repeat" => "error in errors['bill_address.firstname']", "ng-show" => 'subscription_address_form.bill_address_firstname.$pristine' } {{ error }} + %input.fullwidth#bill_address_firstname{ name: 'bill_address_firstname', type: 'text', required: true, "ng-model": "subscription.bill_address.firstname" } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.bill_address_firstname.$error.required' }= t(:error_required) + .error{ "ng-repeat": "error in errors['bill_address.firstname']", "ng-show": 'subscription_address_form.bill_address_firstname.$pristine' } {{ error }} .field %label{ for: 'bill_address_lastname'}= t(:last_name) - %input.fullwidth#bill_address_lastname{ "name" => 'bill_address_lastname', "type" => 'text', "required" => true, "ng-model" => "subscription.bill_address.lastname" } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_lastname.$error.required' }= t(:error_required) - .error{ "ng-repeat" => "error in errors['bill_address.lastname']", "ng-show" => 'subscription_address_form.bill_address_lastname.$pristine' } {{ error }} + %input.fullwidth#bill_address_lastname{ name: 'bill_address_lastname', type: 'text', required: true, "ng-model": "subscription.bill_address.lastname" } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.bill_address_lastname.$error.required' }= t(:error_required) + .error{ "ng-repeat": "error in errors['bill_address.lastname']", "ng-show": 'subscription_address_form.bill_address_lastname.$pristine' } {{ error }} .field %label{ for: 'bill_address_address1'}= t(:address) - %input.fullwidth#bill_address_address1{ "name" => 'bill_address_address1', "type" => 'text', "required" => true, "ng-model" => "subscription.bill_address.address1" } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_address1.$error.required' }= t(:error_required) - .error{ "ng-repeat" => "error in errors['bill_address.address1']", "ng-show" => 'subscription_address_form.bill_address_address1.$pristine' } {{ error }} + %input.fullwidth#bill_address_address1{ name: 'bill_address_address1', type: 'text', required: true, "ng-model": "subscription.bill_address.address1" } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.bill_address_address1.$error.required' }= t(:error_required) + .error{ "ng-repeat": "error in errors['bill_address.address1']", "ng-show": 'subscription_address_form.bill_address_address1.$pristine' } {{ error }} .field %label{ for: 'bill_address_city'}= t(:suburb) - %input.fullwidth#bill_address_city{ "name" => 'bill_address_city', "type" => 'text', "required" => true, "ng-model" => "subscription.bill_address.city" } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_city.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.bill_address.city', "ng-show" => 'subscription_address_form.bill_address_city.$pristine' } {{ error }} + %input.fullwidth#bill_address_city{ name: 'bill_address_city', type: 'text', required: true, "ng-model": "subscription.bill_address.city" } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.bill_address_city.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.bill_address.city', "ng-show": 'subscription_address_form.bill_address_city.$pristine' } {{ error }} .field %label{ for: "bill_address_zipcode"}= t(:postcode) - %input.fullwidth#bill_address_zipcode{ "name" => 'bill_address_zipcode', "type" => 'text', "required" => true, "ng-model" => "subscription.bill_address.zipcode" } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_zipcode.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.bill_address.zipcode', "ng-show" => 'subscription_address_form.bill_address_zipcode.$pristine' } {{ error }} + %input.fullwidth#bill_address_zipcode{ name: 'bill_address_zipcode', type: 'text', required: true, "ng-model": "subscription.bill_address.zipcode" } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.bill_address_zipcode.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.bill_address.zipcode', "ng-show": 'subscription_address_form.bill_address_zipcode.$pristine' } {{ error }} .field %label{ for: "bill_address_phone"}= t(:phone) - %input.fullwidth#bill_address_phone{ "name" => 'bill_address_phone', "type" => 'text', "required" => true, "ng-model" => "subscription.bill_address.phone" } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_phone.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.bill_address.phone', "ng-show" => 'subscription_address_form.bill_address_phone.$pristine' } {{ error }} + %input.fullwidth#bill_address_phone{ name: 'bill_address_phone', type: 'text', required: true, "ng-model": "subscription.bill_address.phone" } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.bill_address_phone.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.bill_address.phone', "ng-show": 'subscription_address_form.bill_address_phone.$pristine' } {{ error }} .field %label{ for: "bill_address_country_id"}= t(:country) - %input.ofn-select2.fullwidth#bill_address_country_id{ "name" => 'bill_address_country_id', "type" => 'number', "data" => 'countries', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.bill_address.country_id' } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_country_id.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.bill_address.country', "ng-show" => 'subscription_address_form.bill_address_country_id.$pristine' } {{ error }} + %input.ofn-select2.fullwidth#bill_address_country_id{ name: 'bill_address_country_id', type: 'number', data: 'countries', required: true, placeholder: t('admin.choose'), "ng-model": 'subscription.bill_address.country_id' } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.bill_address_country_id.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.bill_address.country', "ng-show": 'subscription_address_form.bill_address_country_id.$pristine' } {{ error }} .field %label{ for: "bill_address_state_id"}= t(:state) - %input.ofn-select2.fullwidth#bill_address_state_id{ "name" => 'bill_address_state_id', "type" => 'number', "data" => 'billStates', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.bill_address.state_id' } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.bill_address_state_id.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.bill_address.state', "ng-show" => 'subscription_address_form.bill_address_state_id.$pristine' } {{ error }} + %input.ofn-select2.fullwidth#bill_address_state_id{ name: 'bill_address_state_id', type: 'number', data: 'billStates', required: true, placeholder: t('admin.choose'), "ng-model": 'subscription.bill_address.state_id' } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.bill_address_state_id.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.bill_address.state', "ng-show": 'subscription_address_form.bill_address_state_id.$pristine' } {{ error }} .two.columns - %a.button.red.fullwidth{ "href" => 'javascript:void(0)', "ng-click" => 'shipAddressFromBilling()' } + %a.button.red.fullwidth{ href: 'javascript:void(0)', "ng-click": 'shipAddressFromBilling()' } = t('copy') %i.icon-chevron-right .seven.columns.omega @@ -53,41 +53,41 @@ %legend{ align: 'center'}= t(:ship_address) .field %label{ for: 'ship_address_firstname'}= t(:first_name) - %input.fullwidth#ship_address_firstname{ "name" => 'ship_address_firstname', "type" => 'text', "required" => true, "ng-model" => "subscription.ship_address.firstname" } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_firstname.$error.required' }= t(:error_required) - .error{ "ng-repeat" => "error in errors['ship_address.firstname']", "ng-show" => 'subscription_address_form.ship_address_firstname.$pristine' } {{ error }} + %input.fullwidth#ship_address_firstname{ name: 'ship_address_firstname', type: 'text', required: true, "ng-model": "subscription.ship_address.firstname" } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.ship_address_firstname.$error.required' }= t(:error_required) + .error{ "ng-repeat": "error in errors['ship_address.firstname']", "ng-show": 'subscription_address_form.ship_address_firstname.$pristine' } {{ error }} .field %label{ for: 'ship_address_lastname'}= t(:last_name) - %input.fullwidth#ship_address_lastname{ "name" => 'ship_address_lastname', "type" => 'text', "required" => true, "ng-model" => "subscription.ship_address.lastname" } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_lastname.$error.required' }= t(:error_required) - .error{ "ng-repeat" => "error in errors['ship_address.lastname']", "ng-show" => 'subscription_address_form.ship_address_lastname.$pristine' } {{ error }} + %input.fullwidth#ship_address_lastname{ name: 'ship_address_lastname', type: 'text', required: true, "ng-model": "subscription.ship_address.lastname" } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.ship_address_lastname.$error.required' }= t(:error_required) + .error{ "ng-repeat": "error in errors['ship_address.lastname']", "ng-show": 'subscription_address_form.ship_address_lastname.$pristine' } {{ error }} .field %label{ for: 'ship_address_address1'}= t(:address) - %input.fullwidth#ship_address_address1{ "name" => 'ship_address_address1', "type" => 'text', "required" => true, "ng-model" => "subscription.ship_address.address1" } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_address1.$error.required' }= t(:error_required) - .error{ "ng-repeat" => "error in errors['ship_address.address1']", "ng-show" => 'subscription_address_form.ship_address_address1.$pristine' } {{ error }} + %input.fullwidth#ship_address_address1{ name: 'ship_address_address1', type: 'text', required: true, "ng-model": "subscription.ship_address.address1" } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.ship_address_address1.$error.required' }= t(:error_required) + .error{ "ng-repeat": "error in errors['ship_address.address1']", "ng-show": 'subscription_address_form.ship_address_address1.$pristine' } {{ error }} .field %label{ for: 'ship_address_city'}= t(:suburb) - %input.fullwidth#ship_address_city{ "name" => 'ship_address_city', "type" => 'text', "required" => true, "ng-model" => "subscription.ship_address.city" } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_city.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.ship_address.city', "ng-show" => 'subscription_address_form.ship_address_city.$pristine' } {{ error }} + %input.fullwidth#ship_address_city{ name: 'ship_address_city', type: 'text', required: true, "ng-model": "subscription.ship_address.city" } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.ship_address_city.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.ship_address.city', "ng-show": 'subscription_address_form.ship_address_city.$pristine' } {{ error }} .field %label{ for: "ship_address_zipcode"}= t(:postcode) - %input.fullwidth#ship_address_zipcode{ "name" => 'ship_address_zipcode', "type" => 'text', "required" => true, "ng-model" => "subscription.ship_address.zipcode" } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_zipcode.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.ship_address.zipcode', "ng-show" => 'subscription_address_form.ship_address_zipcode.$pristine' } {{ error }} + %input.fullwidth#ship_address_zipcode{ name: 'ship_address_zipcode', type: 'text', required: true, "ng-model": "subscription.ship_address.zipcode" } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.ship_address_zipcode.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.ship_address.zipcode', "ng-show": 'subscription_address_form.ship_address_zipcode.$pristine' } {{ error }} .field %label{ for: "ship_address_phone"}= t(:phone) - %input.fullwidth#ship_address_phone{ "name" => 'ship_address_phone', "type" => 'text', "required" => true, "ng-model" => "subscription.ship_address.phone" } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_phone.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.ship_address.phone', "ng-show" => 'subscription_address_form.ship_address_phone.$pristine' } {{ error }} + %input.fullwidth#ship_address_phone{ name: 'ship_address_phone', type: 'text', required: true, "ng-model": "subscription.ship_address.phone" } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.ship_address_phone.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.ship_address.phone', "ng-show": 'subscription_address_form.ship_address_phone.$pristine' } {{ error }} .field %label{ for: "ship_address_country_id"}= t(:country) - %input.ofn-select2.fullwidth#ship_address_country_id{ "name" => 'ship_address_country_id', "type" => 'number', "data" => 'countries', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.ship_address.country_id' } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_country_id.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.ship_address.country', "ng-show" => 'subscription_address_form.ship_address_country_id.$pristine' } {{ error }} + %input.ofn-select2.fullwidth#ship_address_country_id{ name: 'ship_address_country_id', type: 'number', data: 'countries', required: true, placeholder: t('admin.choose'), "ng-model": 'subscription.ship_address.country_id' } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.ship_address_country_id.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.ship_address.country', "ng-show": 'subscription_address_form.ship_address_country_id.$pristine' } {{ error }} .field %label{ for: "ship_address_state_id"}= t(:state) - %input.ofn-select2.fullwidth#ship_address_state_id{ "name" => 'ship_address_state_id', "type" => 'number', "data" => 'shipStates', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.ship_address.state_id' } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_address_form.ship_address_state_id.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.ship_address.state', "ng-show" => 'subscription_address_form.ship_address_state_id.$pristine' } {{ error }} + %input.ofn-select2.fullwidth#ship_address_state_id{ name: 'ship_address_state_id', type: 'number', data: 'shipStates', required: true, placeholder: t('admin.choose'), "ng-model": 'subscription.ship_address.state_id' } + .error{ "ng-show": 'subscription_form.$submitted && subscription_address_form.ship_address_state_id.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.ship_address.state', "ng-show": 'subscription_address_form.ship_address_state_id.$pristine' } {{ error }} diff --git a/app/views/admin/subscriptions/_autocomplete.html.haml b/app/views/admin/subscriptions/_autocomplete.html.haml index 04121afe8e..91a699ff2d 100644 --- a/app/views/admin/subscriptions/_autocomplete.html.haml +++ b/app/views/admin/subscriptions/_autocomplete.html.haml @@ -9,12 +9,12 @@ %td.vertical-align-top .field = label_tag :add_variant_id, t('.name_or_sku') - %input#add_variant_id.variant_autocomplete.fullwidth{ "type" => 'number', "ng-model" => 'newItem.variant_id' } + %input#add_variant_id.variant_autocomplete.fullwidth{ type: 'number', "ng-model": 'newItem.variant_id' } %td.vertical-align-top .field = label_tag :add_quantity, t('.quantity') - %input#add_quantity.fullwidth{ "type" => 'number', "min" => 1, "ng-model" => 'newItem.quantity' } + %input#add_quantity.fullwidth{ type: 'number', min: 1, "ng-model": 'newItem.quantity' } %td .actions - %a.icon-plus.button.fullwidth{ "href" => 'javascript:void(0)', "ng-click" => 'addSubscriptionLineItem()' } + %a.icon-plus.button.fullwidth{ href: 'javascript:void(0)', "ng-click": 'addSubscriptionLineItem()' } = t('.add') diff --git a/app/views/admin/subscriptions/_controls.html.haml b/app/views/admin/subscriptions/_controls.html.haml index b78a6ffce9..ae94e78d54 100644 --- a/app/views/admin/subscriptions/_controls.html.haml +++ b/app/views/admin/subscriptions/_controls.html.haml @@ -1,5 +1,5 @@ -%hr.divider.sixteen.columns.alpha.omega{ "ng-show" => 'shop_id && subscriptions.length > 0' } -.controls.sixteen.columns.alpha.omega{ "ng-show" => 'shop_id && subscriptions.length > 0' } +%hr.divider.sixteen.columns.alpha.omega{ "ng-show": 'shop_id && subscriptions.length > 0' } +.controls.sixteen.columns.alpha.omega{ "ng-show": 'shop_id && subscriptions.length > 0' } .twelve.columns.alpha   .four.columns.omega diff --git a/app/views/admin/subscriptions/_details.html.haml b/app/views/admin/subscriptions/_details.html.haml index 819bdf30e0..e9df22b24e 100644 --- a/app/views/admin/subscriptions/_details.html.haml +++ b/app/views/admin/subscriptions/_details.html.haml @@ -3,42 +3,42 @@ .row .seven.columns.alpha.field %label{ for: 'customer_id'}= t('admin.customer') - %input.ofn-select2.fullwidth#customer_id{ "name" => 'customer_id', "type" => 'number', "data" => 'customers', "text" => 'email', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.customer_id', "ng-disabled" => 'subscription.id' } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_details_form.customer_id.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.customer', "ng-show" => 'subscription_details_form.customer_id.$pristine' } {{ error }} + %input.ofn-select2.fullwidth#customer_id{ name: 'customer_id', type: 'number', data: 'customers', text: 'email', required: true, placeholder: t('admin.choose'), "ng-model": 'subscription.customer_id', "ng-disabled": 'subscription.id' } + .error{ "ng-show": 'subscription_form.$submitted && subscription_details_form.customer_id.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.customer', "ng-show": 'subscription_details_form.customer_id.$pristine' } {{ error }} .two.columns   .seven.columns.omega.field %label{ for: 'schedule_id'}= t('admin.schedule') - %input.ofn-select2.fullwidth#schedule_id{ "name" => 'schedule_id', "type" => 'number', "data" => 'schedules', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.schedule_id', "ng-disabled" => 'subscription.id' } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_details_form.schedule_id.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.schedule', "ng-show" => 'subscription_details_form.schedule_id.$pristine' } {{ error }} + %input.ofn-select2.fullwidth#schedule_id{ name: 'schedule_id', type: 'number', data: 'schedules', required: true, placeholder: t('admin.choose'), "ng-model": 'subscription.schedule_id', "ng-disabled": 'subscription.id' } + .error{ "ng-show": 'subscription_form.$submitted && subscription_details_form.schedule_id.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.schedule', "ng-show": 'subscription_details_form.schedule_id.$pristine' } {{ error }} .row .seven.columns.alpha.field %label{ for: 'payment_method_id'} = t('admin.payment_method') - %span.with-tip.icon-question-sign{ "data-powertip" => "#{t('.allowed_payment_method_types_tip')}" } - %input.ofn-select2.fullwidth#payment_method_id{ "name" => 'payment_method_id', "type" => 'number', "data" => 'paymentMethods', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.payment_method_id' } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_details_form.payment_method_id.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.payment_method', "ng-show" => 'subscription_details_form.payment_method_id.$pristine' } {{ error }} - .error{ "ng-show" => 'cardRequired && customer.$promise && customer.$resolved && !customer.allow_charges' }= t('.charges_not_allowed') - .error{ "ng-show" => 'cardRequired && customer.$promise && customer.$resolved && customer.allow_charges && !customer.default_card_present' }= t('.no_default_card') - .error{ "ng-repeat" => 'error in errors.credit_card', "ng-show" => 'subscription_details_form.payment_method_id.$pristine' } {{ error }} + %span.with-tip.icon-question-sign{ data: { powertip: "#{t('.allowed_payment_method_types_tip')}" } } + %input.ofn-select2.fullwidth#payment_method_id{ name: 'payment_method_id', type: 'number', data: 'paymentMethods', required: true, placeholder: t('admin.choose'), "ng-model": 'subscription.payment_method_id' } + .error{ "ng-show": 'subscription_form.$submitted && subscription_details_form.payment_method_id.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.payment_method', "ng-show": 'subscription_details_form.payment_method_id.$pristine' } {{ error }} + .error{ "ng-show": 'cardRequired && customer.$promise && customer.$resolved && !customer.allow_charges' }= t('.charges_not_allowed') + .error{ "ng-show": 'cardRequired && customer.$promise && customer.$resolved && customer.allow_charges && !customer.default_card_present' }= t('.no_default_card') + .error{ "ng-repeat": 'error in errors.credit_card', "ng-show": 'subscription_details_form.payment_method_id.$pristine' } {{ error }} .two.columns   .seven.columns.omega.field %label{ for: 'shipping_method_id'}= t('admin.shipping_method') - %input.ofn-select2.fullwidth#shipping_method_id{ "name" => 'shipping_method_id', "type" => 'number', "data" => 'shippingMethods', "required" => true, "placeholder" => t('admin.choose'), "ng-model" => 'subscription.shipping_method_id' } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_details_form.shipping_method_id.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.shipping_method', "ng-show" => 'subscription_details_form.shipping_method_id.$pristine' } {{ error }} + %input.ofn-select2.fullwidth#shipping_method_id{ name: 'shipping_method_id', type: 'number', data: 'shippingMethods', required: true, placeholder: t('admin.choose'), "ng-model": 'subscription.shipping_method_id' } + .error{ "ng-show": 'subscription_form.$submitted && subscription_details_form.shipping_method_id.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.shipping_method', "ng-show": 'subscription_details_form.shipping_method_id.$pristine' } {{ error }} .row .seven.columns.alpha.field %label{ for: 'begins_at'}= t('admin.begins_at') - %input.fullwidth#begins_at{ "name" => 'begins_at', "type" => 'text', "placeholder" => "#{t('.begins_at_placeholder')}", "required" => true, "data-controller" => "flatpickr", "ng-model" => 'subscription.begins_at' } - .error{ "ng-show" => 'subscription_form.$submitted && subscription_details_form.begins_at.$error.required' }= t(:error_required) - .error{ "ng-repeat" => 'error in errors.begins_at', "ng-show" => 'subscription_details_form.begins_at.$pristine' } {{ error }} + %input.fullwidth#begins_at{ name: 'begins_at', type: 'text', placeholder: "#{t('.begins_at_placeholder')}", data: { controller: "flatpickr" }, required: true, "ng-model": 'subscription.begins_at' } + .error{ "ng-show": 'subscription_form.$submitted && subscription_details_form.begins_at.$error.required' }= t(:error_required) + .error{ "ng-repeat": 'error in errors.begins_at', "ng-show": 'subscription_details_form.begins_at.$pristine' } {{ error }} .two.columns   .seven.columns.omega.field %label{ for: 'ends_at'}= t('admin.ends_at') - %input.fullwidth#ends_at{ "name" => 'ends_at', "type" => 'text', "placeholder" => "#{t('.ends_at_placeholder')}", "data-controller" => "flatpickr", "ng-model" => 'subscription.ends_at' } - .error{ "ng-repeat" => 'error in errors.ends_at', "ng-show" => 'subscription_details_form.ends_at.$pristine' } {{ error }} + %input.fullwidth#ends_at{ name: 'ends_at', type: 'text', placeholder: "#{t('.ends_at_placeholder')}", data: { controller: "flatpickr" }, "ng-model": 'subscription.ends_at' } + .error{ "ng-repeat": 'error in errors.ends_at', "ng-show": 'subscription_details_form.ends_at.$pristine' } {{ error }} diff --git a/app/views/admin/subscriptions/_filters.html.haml b/app/views/admin/subscriptions/_filters.html.haml index a3f5cc54b9..d931c06d2e 100644 --- a/app/views/admin/subscriptions/_filters.html.haml +++ b/app/views/admin/subscriptions/_filters.html.haml @@ -1,11 +1,11 @@ .row.filters .sixteen.columns.alpha.omega .filter_select.five.columns.alpha - %label{ "for" => 'query', "ng-class" => '{disabled: !shop_id}' }=t('admin.quick_search') + %label{ for: 'query', "ng-class": '{disabled: !shop_id}' }=t('admin.quick_search') %br - %input.fullwidth{ "type" => "text", "id" => 'query', "placeholder" => "#{t('.query_placeholder')}", "ng-model" => 'query', "ng-disabled" => '!shop_id' } + %input.fullwidth{ type: "text", id: 'query', placeholder: "#{t('.query_placeholder')}", "ng-model": 'query', "ng-disabled": '!shop_id' } .filter_select.four.columns - %label{ "for" => 'shop_id', "ng-bind" => "shop_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } + %label{ for: 'shop_id', "ng-bind": "shop_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } %br %input.ofn-select2.fullwidth#shop_id{ 'ng-model' => 'shop_id', name: 'shop_id', data: 'shops' } .seven.columns.omega   diff --git a/app/views/admin/subscriptions/_form.html.haml b/app/views/admin/subscriptions/_form.html.haml index df6f438459..84592a3bfb 100644 --- a/app/views/admin/subscriptions/_form.html.haml +++ b/app/views/admin/subscriptions/_form.html.haml @@ -1,27 +1,27 @@ -%form.margin-bottom-50{ "name" => 'subscription_form', "novalidate" => true, "ng-submit" => 'save()' } +%form.margin-bottom-50{ name: 'subscription_form', novalidate: true, "ng-submit": 'save()' } %save-bar{ persist: 'true' } - %div{ "ng-hide" => 'subscription.id' } - %a.button{ "href" => main_app.admin_subscriptions_path, "ng-show" => "['details','review'].indexOf(view) >= 0" }= t(:cancel) - %input{ "type" => "button", "value" => t(:back), "ng-click" => 'back()', "ng-show" => '!!backCallbacks[view]' } - %input.red{ "type" => "button", "value" => t(:next), "ng-click" => 'next()', "ng-show" => '!!nextCallbacks[view]' } - %input.red{ "type" => "submit", "value" => t('.create'), "ng-show" => "view == 'review'" } - %div{ "ng-show" => 'subscription.id' } + %div{ "ng-hide": 'subscription.id' } + %a.button{ href: main_app.admin_subscriptions_path, "ng-show": "['details','review'].indexOf(view) >= 0" }= t(:cancel) + %input{ type: "button", value: t(:back), "ng-click": 'back()', "ng-show": '!!backCallbacks[view]' } + %input.red{ type: "button", value: t(:next), "ng-click": 'next()', "ng-show": '!!nextCallbacks[view]' } + %input.red{ type: "submit", value: t('.create'), "ng-show": "view == 'review'" } + %div{ "ng-show": 'subscription.id' } %a.button{ href: main_app.admin_subscriptions_path }= t(:close) - %input.red{ "type" => "button", "value" => t(:review), "ng-click" => "setView('review')", "ng-show" => "view != 'review'" } - %input.red{ "type" => "submit", "value" => t(:save_changes), "ng-disabled" => 'subscription_form.$pristine' } + %input.red{ type: "button", value: t(:review), "ng-click": "setView('review')", "ng-show": "view != 'review'" } + %input.red{ type: "submit", value: t(:save_changes), "ng-disabled": 'subscription_form.$pristine' } - .details{ "ng-show" => "view == 'details'" } - %ng-form{ "name" => 'subscription_details_form', "ng-controller" => 'DetailsController' } + .details{ "ng-show": "view == 'details'" } + %ng-form{ name: 'subscription_details_form', "ng-controller": 'DetailsController' } = render 'details' - .address{ "ng-show" => "view == 'address'" } - %ng-form{ "name" => 'subscription_address_form', "ng-controller" => 'AddressController' } + .address{ "ng-show": "view == 'address'" } + %ng-form{ name: 'subscription_address_form', "ng-controller": 'AddressController' } = render 'address' - .products{ "ng-show" => "view == 'products'" } - %ng-form{ "name" => 'subscription_products_form', "ng-controller" => 'ProductsController' } + .products{ "ng-show": "view == 'products'" } + %ng-form{ name: 'subscription_products_form', "ng-controller": 'ProductsController' } = render :partial => "spree/admin/variants/autocomplete", :formats => :js = render 'products' - .review{ "ng-show" => "view == 'review'", "ng-controller" => 'ReviewController' } + .review{ "ng-show": "view == 'review'", "ng-controller": 'ReviewController' } = render 'review' diff --git a/app/views/admin/subscriptions/_loading_flash.html.haml b/app/views/admin/subscriptions/_loading_flash.html.haml index a24350ec06..2a53e71505 100644 --- a/app/views/admin/subscriptions/_loading_flash.html.haml +++ b/app/views/admin/subscriptions/_loading_flash.html.haml @@ -1,4 +1,4 @@ -%div.sixteen.columns.alpha.omega#loading{ "ng-cloak" => true, "ng-if" => 'shop_id && RequestMonitor.loading' } +%div.sixteen.columns.alpha.omega#loading{ "ng-cloak": true, "ng-if": 'shop_id && RequestMonitor.loading' } = render partial: "components/admin_spinner" %h1 = t('.loading') diff --git a/app/views/admin/subscriptions/_no_results.html.haml b/app/views/admin/subscriptions/_no_results.html.haml index e444bebc55..b7d461519b 100644 --- a/app/views/admin/subscriptions/_no_results.html.haml +++ b/app/views/admin/subscriptions/_no_results.html.haml @@ -1,7 +1,7 @@ -%div.margin-top-30.text-center{ "ng-show" => 'shop_id && !RequestMonitor.loading && filteredSubscriptions.length == 0' } - .no-results{ "ng-show" => '!filtersApplied()' } +%div.margin-top-30.text-center{ "ng-show": 'shop_id && !RequestMonitor.loading && filteredSubscriptions.length == 0' } + .no-results{ "ng-show": '!filtersApplied()' } %h1.margin-bottom-20=t('.no_subscriptions') %span.text-big=t('.why_dont_you_add_one') - .no-results{ "ng-show" => 'filtersApplied()' } + .no-results{ "ng-show": 'filtersApplied()' } %h1=t('.no_matching_subscriptions') diff --git a/app/views/admin/subscriptions/_order_update_issues_dialog.html.haml b/app/views/admin/subscriptions/_order_update_issues_dialog.html.haml index 9ced6a19c5..e7e1a0b203 100644 --- a/app/views/admin/subscriptions/_order_update_issues_dialog.html.haml +++ b/app/views/admin/subscriptions/_order_update_issues_dialog.html.haml @@ -2,7 +2,7 @@ #order_update_issues_dialog .message.clearfix.margin-bottom-30 .text=t("admin.subscriptions.order_update_issues_msg") - %div{ "ng-controller" => 'OrderUpdateIssuesController' } + %div{ "ng-controller": 'OrderUpdateIssuesController' } %table %col{ style: 'width: 30%' } %col{ style: 'width: 30%' } @@ -12,14 +12,14 @@ %th= t('admin.order_cycle') %th= t('admin.subscriptions.issue') %tbody - %tr.proxy_order{ "id" => "ppo_{{proxyOrder.id}}", "ng-repeat" => 'proxyOrder in options.proxyOrders' } + %tr.proxy_order{ id: "ppo_{{proxyOrder.id}}", "ng-repeat": 'proxyOrder in options.proxyOrders' } %td - %a{ "href" => '{{::proxyOrder.edit_path}}', "target" => '_blank', "ng-bind" => '::proxyOrder.number' } + %a{ href: '{{::proxyOrder.edit_path}}', target: '_blank', "ng-bind": '::proxyOrder.number' } %td - %div{ "ng-bind" => "::orderCycleName(proxyOrder.order_cycle_id)" } - %div{ "ng-bind" => "::orderCycleCloses(proxyOrder.order_cycle_id)" } - %td.text-center{ "ng-bind" => "proxyOrder.update_issues.join(', ')" } + %div{ "ng-bind": "::orderCycleName(proxyOrder.order_cycle_id)" } + %div{ "ng-bind": "::orderCycleCloses(proxyOrder.order_cycle_id)" } + %td.text-center{ "ng-bind": "proxyOrder.update_issues.join(', ')" } .action-buttons.text-center - %button{ "ng-click" => "close()" } + %button{ "ng-click": "close()" } OK diff --git a/app/views/admin/subscriptions/_orders_panel.html.haml b/app/views/admin/subscriptions/_orders_panel.html.haml index 67acb26ee3..fdf858e2fa 100644 --- a/app/views/admin/subscriptions/_orders_panel.html.haml +++ b/app/views/admin/subscriptions/_orders_panel.html.haml @@ -1,5 +1,5 @@ %script{ type: "text/ng-template", id: "admin/panels/proxy_orders.html" } - %form.margin-top-30{ "name" => 'subscription_form', "ng-controller" => 'OrdersPanelController' } + %form.margin-top-30{ name: 'subscription_form', "ng-controller": 'OrdersPanelController' } .row.subscription-orders .fourteen.columns.offset-by-one %table @@ -13,14 +13,14 @@ %th= t('total') %th.actions %tbody - %tr.proxy_order{ "id" => "po_{{proxyOrder.id}}", "ng-repeat" => 'proxyOrder in subscription.not_closed_proxy_orders' } + %tr.proxy_order{ id: "po_{{proxyOrder.id}}", "ng-repeat": 'proxyOrder in subscription.not_closed_proxy_orders' } %td - %div{ "ng-bind" => "::orderCycleName(proxyOrder.order_cycle_id)" } - %div{ "ng-bind" => "::orderCycleCloses(proxyOrder.order_cycle_id)" } + %div{ "ng-bind": "::orderCycleName(proxyOrder.order_cycle_id)" } + %div{ "ng-bind": "::orderCycleCloses(proxyOrder.order_cycle_id)" } %td.text-center - %span.state{ "ng-class" => "proxyOrder.state", "ng-bind" => 'stateText(proxyOrder.state)' } - %td.text-center{ "ng-bind" => '(proxyOrder.total || subscription.estimatedTotal()) | localizeCurrency' } + %span.state{ "ng-class": "proxyOrder.state", "ng-bind": 'stateText(proxyOrder.state)' } + %td.text-center{ "ng-bind": '(proxyOrder.total || subscription.estimatedTotal()) | localizeCurrency' } %td.actions %a.edit-order.icon-edit.no-text{ href: '{{::proxyOrder.edit_path}}', target: '_blank', 'ofn-with-tip' => t(:edit_order), confirm_order_edit: true } - %a.cancel-order.icon-remove.no-text{ "href" => 'javascript:void(0)', "ofn-with-tip" => t(:cancel_order), "ng-hide" => "proxyOrder.state == 'canceled'", "ng-click" => "cancelOrder(proxyOrder)" } - %a.resume-order.icon-resume.no-text{ "href" => 'javascript:void(0)', "ofn-with-tip" => t(:resume_order), "ng-show" => "proxyOrder.state == 'canceled'", "ng-click" => "resumeOrder(proxyOrder)" } + %a.cancel-order.icon-remove.no-text{ href: 'javascript:void(0)', "ofn-with-tip": t(:cancel_order), "ng-hide": "proxyOrder.state == 'canceled'", "ng-click": "cancelOrder(proxyOrder)" } + %a.resume-order.icon-resume.no-text{ href: 'javascript:void(0)', "ofn-with-tip": t(:resume_order), "ng-show": "proxyOrder.state == 'canceled'", "ng-click": "resumeOrder(proxyOrder)" } diff --git a/app/views/admin/subscriptions/_products.html.haml b/app/views/admin/subscriptions/_products.html.haml index 569ad38c37..44e62b7c9c 100644 --- a/app/views/admin/subscriptions/_products.html.haml +++ b/app/views/admin/subscriptions/_products.html.haml @@ -1,3 +1,3 @@ -%div{ "ng-controller" => 'SubscriptionLineItemsController' } +%div{ "ng-controller": 'SubscriptionLineItemsController' } = render 'autocomplete' = render 'subscription_line_items' diff --git a/app/views/admin/subscriptions/_products_panel.html.haml b/app/views/admin/subscriptions/_products_panel.html.haml index bfb5fbe428..4781a3a007 100644 --- a/app/views/admin/subscriptions/_products_panel.html.haml +++ b/app/views/admin/subscriptions/_products_panel.html.haml @@ -1,15 +1,15 @@ = render :partial => "spree/admin/variants/autocomplete", :formats => :js %script{ type: "text/ng-template", id: "admin/panels/subscription_products.html" } - %form{ "name" => 'subscription_form', "ng-controller" => 'ProductsPanelController' } + %form{ name: 'subscription_form', "ng-controller": 'ProductsPanelController' } %div{ style: 'width: 90%; margin: auto;' } = render 'products' - %a.button.update.fullwidth{ "ng-class" => "{disabled: saved() && !saving, saving: saving}", "ng-click" => "save()" } - %span{ "ng-hide" => "saved() || saving" } + %a.button.update.fullwidth{ "ng-class": "{disabled: saved() && !saving, saving: saving}", "ng-click": "save()" } + %span{ "ng-hide": "saved() || saving" } = t('.save') %i.icon-save - %span{ "ng-show" => "saved() && !saving" } + %span{ "ng-show": "saved() && !saving" } = t('.saved') %i.icon-ok-sign - %span{ "ng-show" => "saving" } + %span{ "ng-show": "saving" } = t('.saving') %i.icon-refresh diff --git a/app/views/admin/subscriptions/_review.html.haml b/app/views/admin/subscriptions/_review.html.haml index 3dd5a97543..3bf765df77 100644 --- a/app/views/admin/subscriptions/_review.html.haml +++ b/app/views/admin/subscriptions/_review.html.haml @@ -6,7 +6,7 @@ .five.columns.alpha %h3= t('.details') .eleven.columns.omega - %input#edit-details{ "type" => "button", "value" => t(:edit), "ng-click" => "setView('details')" } + %input#edit-details{ type: "button", value: t(:edit), "ng-click": "setView('details')" } .row .five.columns.alpha %strong= t('admin.customer') @@ -35,7 +35,7 @@ .five.columns.alpha %h3= t('.address') .eleven.columns.omega - %input#edit-address{ "type" => "button", "value" => t(:edit), "ng-click" => "setView('address')" } + %input#edit-address{ type: "button", value: t(:edit), "ng-click": "setView('address')" } .row .five.columns.alpha %strong= t('admin.bill_address') @@ -53,7 +53,7 @@ .five.columns.alpha %h3= t('.products') .eleven.columns.omega - %input#edit-products{ "type" => "button", "value" => t(:edit), "ng-click" => "setView('products')" } + %input#edit-products{ type: "button", value: t(:edit), "ng-click": "setView('products')" } .row %table#subscription-line-items.admin-subscription-review-subscription-line-items %colgroup @@ -69,10 +69,10 @@ %th.total %span= t(:total) %tbody - %tr.item{ "id" => "sli_{{$index}}", "ng-repeat" => "item in subscription.subscription_line_items | filter:{ _destroy: '!true' }", "ng-class-even" => 'even', "ng-class-odd" => 'odd' } + %tr.item{ id: "sli_{{$index}}", "ng-repeat": "item in subscription.subscription_line_items | filter:{ _destroy: '!true' }", "ng-class-even": 'even', "ng-class-odd": 'odd' } %td .description {{ item.description }} - .not-in-open-and-upcoming-order-cycles-warning{ "ng-if" => '!item.in_open_and_upcoming_order_cycles' } + .not-in-open-and-upcoming-order-cycles-warning{ "ng-if": '!item.in_open_and_upcoming_order_cycles' } = t(".no_open_or_upcoming_order_cycle") %td.price.align-center {{ item.price_estimate | localizeCurrency }} %td.quantity {{ item.quantity }} diff --git a/app/views/admin/subscriptions/_subscription_line_items.html.haml b/app/views/admin/subscriptions/_subscription_line_items.html.haml index 1423c1f490..78afd26803 100644 --- a/app/views/admin/subscriptions/_subscription_line_items.html.haml +++ b/app/views/admin/subscriptions/_subscription_line_items.html.haml @@ -14,17 +14,17 @@ %span= t(:total) %th.orders-actions.actions %tbody - %tr.item{ "id" => "sli_{{$index}}", "ng-repeat" => "item in subscription.subscription_line_items | filter:{ _destroy: '!true' }", "ng-class-even" => 'even', "ng-class-odd" => 'odd' } + %tr.item{ id: "sli_{{$index}}", "ng-repeat": "item in subscription.subscription_line_items | filter:{ _destroy: '!true' }", "ng-class-even": 'even', "ng-class-odd": 'odd' } %td .description {{ item.description }} - .not-in-open-and-upcoming-order-cycles-warning{ "ng-if" => '!item.in_open_and_upcoming_order_cycles' } + .not-in-open-and-upcoming-order-cycles-warning{ "ng-if": '!item.in_open_and_upcoming_order_cycles' } = t(".not_in_open_and_upcoming_order_cycles_warning") %td.price.align-center {{ item.price_estimate | localizeCurrency }} %td.quantity - %input{ "name" => 'quantity', "type" => 'number', "min" => 0, "ng-model" => 'item.quantity' } + %input{ name: 'quantity', type: 'number', min: 0, "ng-model": 'item.quantity' } %td.total.align-center {{ (item.price_estimate * item.quantity) | localizeCurrency }} %td.actions - %a.delete-item.icon-trash.no-text{ "href" => "javascript:void(0)", "ng-click" => 'removeSubscriptionLineItem(item)' } + %a.delete-item.icon-trash.no-text{ href: "javascript:void(0)", "ng-click": 'removeSubscriptionLineItem(item)' } %tbody#subtotal.no-border-top %tr#subtotal-row %td{:colspan => "3"} @@ -34,7 +34,7 @@ %td.total.align-center %span#order_subtotal {{ subscription.estimatedSubtotal() | localizeCurrency }} %td.actions - %tbody#fees.no-border-top{ "ng-show" => "subscription.estimatedFees() > 0" } + %tbody#fees.no-border-top{ "ng-show": "subscription.estimatedFees() > 0" } %tr#fees-row %td{:colspan => "3"} %b diff --git a/app/views/admin/subscriptions/_table.html.haml b/app/views/admin/subscriptions/_table.html.haml index 507fa4331e..d009af9065 100644 --- a/app/views/admin/subscriptions/_table.html.haml +++ b/app/views/admin/subscriptions/_table.html.haml @@ -1,7 +1,7 @@ = render 'products_panel' = render 'orders_panel' -%table.index#subscriptions{ "ng-cloak" => true, "ng-show" => 'shop_id && !RequestMonitor.loading && filteredSubscriptions.length > 0' } +%table.index#subscriptions{ "ng-cloak": true, "ng-show": 'shop_id && !RequestMonitor.loading && filteredSubscriptions.length > 0' } %col.customer{ width: "20%", 'ng-show' => 'columns.customer.visible' } %col.schedule{ width: "20%", 'ng-show' => 'columns.schedule.visible' } %col.items{ width: "10%", 'ng-show' => 'columns.items.visible' } @@ -16,47 +16,47 @@ %tr -# %th.bulk -# %input{ :type => "checkbox", :name => 'toggle_bulk', 'ng-click' => 'toggleAllCheckboxes()', 'ng-checked' => "allBoxesChecked()" } - %th.customer{ "ng-show" => 'columns.customer.visible' } + %th.customer{ "ng-show": 'columns.customer.visible' } = t('admin.customer') - %th.schedule{ "ng-show" => 'columns.schedule.visible' } + %th.schedule{ "ng-show": 'columns.schedule.visible' } = t('admin.schedule') - %th.items{ "ng-show" => 'columns.items.visible' } + %th.items{ "ng-show": 'columns.items.visible' } = t('admin.items') - %th.orders{ "ng-show" => 'columns.orders.visible' } + %th.orders{ "ng-show": 'columns.orders.visible' } = t('orders') - %th.status{ "ng-show" => 'columns.state.visible' } + %th.status{ "ng-show": 'columns.state.visible' } = t('admin.status_state') - %th.begins_on{ "ng-show" => 'columns.begins_on.visible' } + %th.begins_on{ "ng-show": 'columns.begins_on.visible' } = t('admin.begins_on') - %th.ends_on{ "ng-show" => 'columns.ends_on.visible' } + %th.ends_on{ "ng-show": 'columns.ends_on.visible' } = t('admin.ends_on') - %th.payment_method{ "ng-show" => 'columns.payment_method.visible' } + %th.payment_method{ "ng-show": 'columns.payment_method.visible' } = t('admin.payment_method') - %th.shipping_method{ "ng-show" => 'columns.shipping_method.visible' } + %th.shipping_method{ "ng-show": 'columns.shipping_method.visible' } = t('admin.shipping_method') %th.actions   - %tbody.panel-ctrl{ "object" => 'subscription', "ng-repeat" => "subscription in subscriptions | filter:query as filteredSubscriptions track by subscription.id" } - %tr.subscription{ "id" => "so_{{subscription.id}}", "ng-class-even" => "'even'", "ng-class-odd" => "'odd'" } - %td.customer{ "ng-show" => 'columns.customer.visible' } + %tbody.panel-ctrl{ object: 'subscription', "ng-repeat": "subscription in subscriptions | filter:query as filteredSubscriptions track by subscription.id" } + %tr.subscription{ id: "so_{{subscription.id}}", "ng-class-even": "'even'", "ng-class-odd": "'odd'" } + %td.customer{ "ng-show": 'columns.customer.visible' } %span{ "ng-bind": '::subscription.customer_email' } %br %span{ "ng-bind": '::subscription.customer_full_name' } - %td.schedule{ "ng-show" => 'columns.schedule.visible', "ng-bind" => '::subscription.schedule_name' } - %td.items.panel-toggle{ "name" => 'products', "ng-show" => 'columns.items.visible' } - %h5{ "ng-bind" => 'itemCount(subscription)' } - %td.orders.panel-toggle{ "name" => 'orders', "ng-show" => 'columns.orders.visible' } - %h5{ "ng-bind" => 'subscription.not_closed_proxy_orders.length' } - %td.status{ "ng-show" => 'columns.state.visible' } - %span.state{ "ng-class" => "subscription.state", "ng-bind" => "'spree.subscription_state.' + subscription.state | t" } - %td.begins_on{ "ng-show" => 'columns.begins_on.visible', "ng-bind" => '::subscription.begins_at' } - %td.ends_on{ "ng-show" => 'columns.ends_on.visible', "ng-bind" => '::subscription.ends_at' } - %td.payment_method{ "ng-show" => 'columns.payment_method.visible', "ng-bind" => '::paymentMethodsByID[subscription.payment_method_id].name' } - %td.shipping_method{ "ng-show" => 'columns.shipping_method.visible', "ng-bind" => '::shippingMethodsByID[subscription.shipping_method_id].name' } + %td.schedule{ "ng-show": 'columns.schedule.visible', "ng-bind": '::subscription.schedule_name' } + %td.items.panel-toggle{ name: 'products', "ng-show": 'columns.items.visible' } + %h5{ "ng-bind": 'itemCount(subscription)' } + %td.orders.panel-toggle{ name: 'orders', "ng-show": 'columns.orders.visible' } + %h5{ "ng-bind": 'subscription.not_closed_proxy_orders.length' } + %td.status{ "ng-show": 'columns.state.visible' } + %span.state{ "ng-class": "subscription.state", "ng-bind": "'spree.subscription_state.' + subscription.state | t" } + %td.begins_on{ "ng-show": 'columns.begins_on.visible', "ng-bind": '::subscription.begins_at' } + %td.ends_on{ "ng-show": 'columns.ends_on.visible', "ng-bind": '::subscription.ends_at' } + %td.payment_method{ "ng-show": 'columns.payment_method.visible', "ng-bind": '::paymentMethodsByID[subscription.payment_method_id].name' } + %td.shipping_method{ "ng-show": 'columns.shipping_method.visible', "ng-bind": '::shippingMethodsByID[subscription.shipping_method_id].name' } %td.actions - %a.edit-subscription.icon-edit.no-text{ "ofn-with-tip" => t('.edit_subscription'), "ng-href" => '{{subscription.edit_path}}' } - %a.pause-subscription.icon-pause.no-text{ "ofn-with-tip" => t('.pause_subscription'), "href" => 'javascript:void(0)', "ng-click" => 'subscription.pause()', "ng-hide" => '!!subscription.paused_at' } - %a.unpause-subscription.icon-play.no-text{ "ofn-with-tip" => t('.unpause_subscription'), "href" => 'javascript:void(0)', "ng-click" => 'subscription.unpause()', "ng-show" => '!!subscription.paused_at' } - %a.cancel-subscription.icon-remove.no-text{ "ofn-with-tip" => t('.cancel_subscription'), "href" => 'javascript:void(0)', "ng-click" => 'subscription.cancel()', "ng-hide" => '!!subscription.canceled_at' } + %a.edit-subscription.icon-edit.no-text{ "ofn-with-tip": t('.edit_subscription'), "ng-href": '{{subscription.edit_path}}' } + %a.pause-subscription.icon-pause.no-text{ "ofn-with-tip": t('.pause_subscription'), href: 'javascript:void(0)', "ng-click": 'subscription.pause()', "ng-hide": '!!subscription.paused_at' } + %a.unpause-subscription.icon-play.no-text{ "ofn-with-tip": t('.unpause_subscription'), href: 'javascript:void(0)', "ng-click": 'subscription.unpause()', "ng-show": '!!subscription.paused_at' } + %a.cancel-subscription.icon-remove.no-text{ "ofn-with-tip": t('.cancel_subscription'), href: 'javascript:void(0)', "ng-click": 'subscription.cancel()', "ng-hide": '!!subscription.canceled_at' } %tr.panel-row{ object: "subscription", panels: "{products: 'subscription_products', orders: 'proxy_orders'}" } diff --git a/app/views/admin/subscriptions/_wizard_progress.html.haml b/app/views/admin/subscriptions/_wizard_progress.html.haml index b07660ef9c..cc58445dd8 100644 --- a/app/views/admin/subscriptions/_wizard_progress.html.haml +++ b/app/views/admin/subscriptions/_wizard_progress.html.haml @@ -1,3 +1,3 @@ %ul.wizard-progress - %li{ "ng-repeat" => "step in ['details','address','products','review']", "ng-class" => '{current: view==step}' } + %li{ "ng-repeat": "step in ['details','address','products','review']", "ng-class": '{current: view==step}' } {{ stepTitleFor(step) }} diff --git a/app/views/admin/subscriptions/edit.html.haml b/app/views/admin/subscriptions/edit.html.haml index 13706651d8..361c42556d 100644 --- a/app/views/admin/subscriptions/edit.html.haml +++ b/app/views/admin/subscriptions/edit.html.haml @@ -4,7 +4,7 @@ -# - content_for :page_actions do -# %li= button_link_to "Back to subscriptions list", main_app.admin_subscriptions_path, icon: 'icon-arrow-left' -%div{ "ng-app" => 'admin.subscriptions', "ng-controller" => 'SubscriptionController', "ng-cloak" => true } +%div{ "ng-app": 'admin.subscriptions', "ng-controller": 'SubscriptionController', "ng-cloak": true } = render 'data' = render 'order_update_issues_dialog' = render 'form' diff --git a/app/views/admin/subscriptions/index.html.haml b/app/views/admin/subscriptions/index.html.haml index 464acf0530..7b48edb4b6 100644 --- a/app/views/admin/subscriptions/index.html.haml +++ b/app/views/admin/subscriptions/index.html.haml @@ -15,7 +15,7 @@ = render 'data' = render 'order_update_issues_dialog' -%div.margin-bottom-50{ "ng-controller" => 'SubscriptionsController' } +%div.margin-bottom-50{ "ng-controller": 'SubscriptionsController' } %save-bar{ dirty: "false", persist: "false" } = render 'filters' = render 'controls' diff --git a/app/views/admin/subscriptions/new.html.haml b/app/views/admin/subscriptions/new.html.haml index 288926d83f..aab6173ec6 100644 --- a/app/views/admin/subscriptions/new.html.haml +++ b/app/views/admin/subscriptions/new.html.haml @@ -6,7 +6,7 @@ -# - content_for :page_actions do -# %li= button_link_to "Back to subscriptions list", main_app.admin_subscriptions_path, icon: 'icon-arrow-left' -%div{ "ng-app" => 'admin.subscriptions', "ng-controller" => 'SubscriptionController', "ng-cloak" => true } +%div{ "ng-app": 'admin.subscriptions', "ng-controller": 'SubscriptionController', "ng-cloak": true } = render 'data' = render 'wizard_progress' = render 'order_update_issues_dialog' diff --git a/app/views/admin/variant_overrides/_controls.html.haml b/app/views/admin/variant_overrides/_controls.html.haml index b7411c850e..c401717644 100644 --- a/app/views/admin/variant_overrides/_controls.html.haml +++ b/app/views/admin/variant_overrides/_controls.html.haml @@ -1,15 +1,15 @@ -%hr.divider.sixteen.columns.alpha.omega{ "ng-show" => 'hub_id && products.length > 0' } -.controls.sixteen.columns.alpha.omega{ "ng-show" => 'hub_id && products.length > 0' } +%hr.divider.sixteen.columns.alpha.omega{ "ng-show": 'hub_id && products.length > 0' } +.controls.sixteen.columns.alpha.omega{ "ng-show": 'hub_id && products.length > 0' } .eight.columns.alpha = render 'admin/shared/bulk_actions_dropdown' = render 'admin/shared/views_dropdown' - %span.text-big.with-tip.icon-question-sign{ "ng-show" => 'views.inventory.visible', "data-powertip" => "#{t('admin.variant_overrides.index.inventory_powertip')}" } - %span.text-big.with-tip.icon-question-sign{ "ng-show" => 'views.hidden.visible', "data-powertip" => "#{t('admin.variant_overrides.index.hidden_powertip')}" } - %span.text-big.with-tip.icon-question-sign{ "ng-show" => 'views.new.visible', "data-powertip" => "#{t('admin.variant_overrides.index.new_powertip')}" } + %span.text-big.with-tip.icon-question-sign{ data: { powertip: "#{t('admin.variant_overrides.index.inventory_powertip')}" }, "ng-show": 'views.inventory.visible' } + %span.text-big.with-tip.icon-question-sign{ data: { powertip: "#{t('admin.variant_overrides.index.hidden_powertip')}" }, "ng-show": 'views.hidden.visible' } + %span.text-big.with-tip.icon-question-sign{ data: { powertip: "#{t('admin.variant_overrides.index.new_powertip')}" }, "ng-show": 'views.new.visible' } .four.columns   - .four.columns.omega{ "ng-show" => 'views.new.visible' } - %button.fullwidth{ "type" => 'button', "ng-click" => "selectView('inventory')" } + .four.columns.omega{ "ng-show": 'views.new.visible' } + %button.fullwidth{ type: 'button', "ng-click": "selectView('inventory')" } %i.icon-chevron-left = t('.back_to_my_inventory') - .four.columns.omega{ "ng-show" => 'views.inventory.visible' } + .four.columns.omega{ "ng-show": 'views.inventory.visible' } %columns-dropdown{ action: "#{controller_name}_#{action_name}" } diff --git a/app/views/admin/variant_overrides/_filters.html.haml b/app/views/admin/variant_overrides/_filters.html.haml index a8cb0f744b..3bb7d538b5 100644 --- a/app/views/admin/variant_overrides/_filters.html.haml +++ b/app/views/admin/variant_overrides/_filters.html.haml @@ -1,20 +1,20 @@ .filters.sixteen.columns.alpha.omega .filter.four.columns.alpha - %label{ "for" => 'query', "ng-class" => '{disabled: !hub_id}' }=t('admin.quick_search') + %label{ for: 'query', "ng-class": '{disabled: !hub_id}' }=t('admin.quick_search') %br - %input.fullwidth{ "type" => "text", "id" => 'query', "ng-model" => 'query', "ng-disabled" => '!hub_id' } + %input.fullwidth{ type: "text", id: 'query', "ng-model": 'query', "ng-disabled": '!hub_id' } .filter_select.three.columns - %label{ "for" => 'hub_id', "ng-bind" => "hub_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } + %label{ for: 'hub_id', "ng-bind": "hub_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } %br - %select.select2.fullwidth#hub_id{ "name" => 'hub_id', "ng-model" => 'hub_id', "ng-options" => 'hub.id as hub.name for (id, hub) in hubs' } + %select.select2.fullwidth#hub_id{ name: 'hub_id', "ng-model": 'hub_id', "ng-options": 'hub.id as hub.name for (id, hub) in hubs' } .filter_select.three.columns - %label{ "for" => 'producer_filter', "ng-class" => '{disabled: !hub_id}' }=t('admin.producer') + %label{ for: 'producer_filter', "ng-class": '{disabled: !hub_id}' }=t('admin.producer') %br - %input.ofn-select2.fullwidth{ "id" => 'producer_filter', "type" => 'number', "data" => 'producers', "blank" => "{id: 0, name: '#{t(:all)}'}", "ng-model" => 'producerFilter', "ng-disabled" => '!hub_id' } + %input.ofn-select2.fullwidth{ id: 'producer_filter', type: 'number', data: 'producers', blank: "{id: 0, name: '#{t(:all)}'}", "ng-model": 'producerFilter', "ng-disabled": '!hub_id' } .filter_select.three.columns - %label{ "for" => 'import_date_filter', "ng-class" => '{disabled: !hub_id}' } #{t('admin.variant_overrides.index.import_date')} + %label{ for: 'import_date_filter', "ng-class": '{disabled: !hub_id}' } #{t('admin.variant_overrides.index.import_date')} %br - %select.fullwidth{ "id" => 'import_date_filter', "ofn-select2-min-search" => 5, "ng-model" => 'importDateFilter', "ng-options" => 'date.id as date.name for date in import_dates', "ng-disabled" => '!hub_id', "ng-init" => "import_dates = #{@import_dates}" } + %select.fullwidth{ id: 'import_date_filter', "ofn-select2-min-search": 5, "ng-model": 'importDateFilter', "ng-options": 'date.id as date.name for date in import_dates', "ng-disabled": '!hub_id', "ng-init": "import_dates = #{@import_dates}" } %options{value: '0', selected: 'selected'} #{t(:all)} -# .filter_select{ :class => "three columns" } -# %label{ :for => 'distributor_filter' }Hub @@ -27,4 +27,4 @@ .filter_clear.three.columns.omega %label{ :for => 'clear_all_filters' } %br - %input.red.fullwidth{ "type" => 'button', "id" => 'clear_all_filters', "value" => "#{t('admin.clear_all')}", "ng-click" => "resetSelectFilters()", "ng-disabled" => '!hub_id' } + %input.red.fullwidth{ type: 'button', id: 'clear_all_filters', value: "#{t('admin.clear_all')}", "ng-click": "resetSelectFilters()", "ng-disabled": '!hub_id' } diff --git a/app/views/admin/variant_overrides/_hidden_products.html.haml b/app/views/admin/variant_overrides/_hidden_products.html.haml index 440b2040e0..9871cdcb72 100644 --- a/app/views/admin/variant_overrides/_hidden_products.html.haml +++ b/app/views/admin/variant_overrides/_hidden_products.html.haml @@ -1,5 +1,5 @@ -%div{ "ng-show" => 'views.hidden.visible' } - %table#hidden-products{ "ng-show" => 'filteredProducts.length > 0' } +%div{ "ng-show": 'views.hidden.visible' } + %table#hidden-products{ "ng-show": 'filteredProducts.length > 0' } %col.producer{ width: "20%" } %col.product{ width: "20%" } %col.variant{ width: "20%" } @@ -10,13 +10,13 @@ %th.product=t('admin.product') %th.variant=t('admin.variant') %th.add=t('admin.variant_overrides.index.add') - %tbody{ "ng-repeat" => 'product in filteredProducts | limitTo:productLimit' } - %tr{ "id" => "v_{{variant.id}}", "ng-repeat" => 'variant in product.variants | inventoryVariants:hub_id:views' } - %td.producer{ "ng-bind" => '::producersByID[product.producer_id].name' } - %td.product{ "ng-bind" => '::product.name' } + %tbody{ "ng-repeat": 'product in filteredProducts | limitTo:productLimit' } + %tr{ id: "v_{{variant.id}}", "ng-repeat": 'variant in product.variants | inventoryVariants:hub_id:views' } + %td.producer{ "ng-bind": '::producersByID[product.producer_id].name' } + %td.product{ "ng-bind": '::product.name' } %td.variant - %span{ "ng-bind" => '::variant.display_name || ""' } - .variant-override-unit{ "ng-bind" => '::variant.unit_to_display' } + %span{ "ng-bind": '::variant.display_name || ""' } + .variant-override-unit{ "ng-bind": '::variant.unit_to_display' } %td.add - %button.fullwidth.icon-plus{ "ng-click" => "setVisibility(hub_id,variant.id,true)" } + %button.fullwidth.icon-plus{ "ng-click": "setVisibility(hub_id,variant.id,true)" } = t('admin.variant_overrides.index.add') diff --git a/app/views/admin/variant_overrides/_loading_flash.html.haml b/app/views/admin/variant_overrides/_loading_flash.html.haml index fdf2bb76d2..5765159f61 100644 --- a/app/views/admin/variant_overrides/_loading_flash.html.haml +++ b/app/views/admin/variant_overrides/_loading_flash.html.haml @@ -1,4 +1,4 @@ -%div.sixteen.columns.alpha.omega#loading{ "ng-cloak" => true, "ng-if" => 'hub_id && products.length == 0 && RequestMonitor.loading' } +%div.sixteen.columns.alpha.omega#loading{ "ng-cloak": true, "ng-if": 'hub_id && products.length == 0 && RequestMonitor.loading' } = render partial: "components/admin_spinner" %h1 = t('.loading_inventory') diff --git a/app/views/admin/variant_overrides/_new_products.html.haml b/app/views/admin/variant_overrides/_new_products.html.haml index 88cfd798a4..fb727c84e1 100644 --- a/app/views/admin/variant_overrides/_new_products.html.haml +++ b/app/views/admin/variant_overrides/_new_products.html.haml @@ -1,4 +1,4 @@ -%table#new-products{ "ng-show" => 'views.new.visible && filteredProducts.length > 0' } +%table#new-products{ "ng-show": 'views.new.visible && filteredProducts.length > 0' } %col.producer{ width: "20%" } %col.product{ width: "20%" } %col.variant{ width: "20%" } @@ -11,16 +11,16 @@ %th.variant=t('admin.variant') %th.add=t('admin.variant_overrides.index.add') %th.hide=t('admin.variant_overrides.index.hide') - %tbody{ "ng-repeat" => 'product in filteredProducts | limitTo:productLimit' } - %tr{ "id" => "v_{{variant.id}}", "ng-repeat" => 'variant in product.variants | inventoryVariants:hub_id:views' } - %td.producer{ "ng-bind-html" => '::producersByID[product.producer_id].name' } - %td.product{ "ng-bind" => '::product.name' } + %tbody{ "ng-repeat": 'product in filteredProducts | limitTo:productLimit' } + %tr{ id: "v_{{variant.id}}", "ng-repeat": 'variant in product.variants | inventoryVariants:hub_id:views' } + %td.producer{ "ng-bind-html": '::producersByID[product.producer_id].name' } + %td.product{ "ng-bind": '::product.name' } %td.variant - %span{ "ng-bind" => '::variant.display_name || ""' } - .variant-override-unit{ "ng-bind" => '::variant.unit_to_display' } + %span{ "ng-bind": '::variant.display_name || ""' } + .variant-override-unit{ "ng-bind": '::variant.unit_to_display' } %td.add - %button.fullwidth.icon-plus{ "ng-click" => "setVisibility(hub_id,variant.id,true)" } + %button.fullwidth.icon-plus{ "ng-click": "setVisibility(hub_id,variant.id,true)" } = t('admin.variant_overrides.index.add') %td.hide - %button.fullwidth.icon-remove{ "ng-click" => "setVisibility(hub_id,variant.id,false)" } + %button.fullwidth.icon-remove{ "ng-click": "setVisibility(hub_id,variant.id,false)" } = t('admin.variant_overrides.index.hide') diff --git a/app/views/admin/variant_overrides/_new_products_alert.html.haml b/app/views/admin/variant_overrides/_new_products_alert.html.haml index f36aee06f3..2f352e92ca 100644 --- a/app/views/admin/variant_overrides/_new_products_alert.html.haml +++ b/app/views/admin/variant_overrides/_new_products_alert.html.haml @@ -1,3 +1,3 @@ -%div{ "ng-show" => '(newProductCount = (products | hubPermissions:hubPermissions:hub_id | newInventoryProducts:hub_id).length) > 0 && !views.new.visible && !alertDismissed' } +%div{ "ng-show": '(newProductCount = (products | hubPermissions:hubPermissions:hub_id | newInventoryProducts:hub_id).length) > 0 && !views.new.visible && !alertDismissed' } %hr.divider.sixteen.columns.alpha.omega - %alert-row{ "message" => "#{t('admin.variant_overrides.index.new_products_alert_message', new_product_count: '{{ newProductCount }}')}", "dismissed" => "alertDismissed", "button-text" => "#{t('admin.variant_overrides.index.review_now')}", "button-action" => "selectView('new')" } + %alert-row{ message: "#{t('admin.variant_overrides.index.new_products_alert_message', new_product_count: '{{ newProductCount }}')}", dismissed: "alertDismissed", "button-text": "#{t('admin.variant_overrides.index.review_now')}", "button-action": "selectView('new')" } diff --git a/app/views/admin/variant_overrides/_no_results.html.haml b/app/views/admin/variant_overrides/_no_results.html.haml index 3267673102..274424b32a 100644 --- a/app/views/admin/variant_overrides/_no_results.html.haml +++ b/app/views/admin/variant_overrides/_no_results.html.haml @@ -1,7 +1,7 @@ -%div.text-big.no-results{ "ng-show" => 'hub_id && products.length > 0 && filteredProducts.length == 0' } - %span{ "ng-show" => 'views.inventory.visible && !filtersApplied()' }=t('admin.variant_overrides.index.currently_empty') - %span{ "ng-show" => 'views.inventory.visible && filtersApplied()' }=t('admin.variant_overrides.index.no_matching_products') - %span{ "ng-show" => 'views.hidden.visible && !filtersApplied()' }=t('admin.variant_overrides.index.no_hidden_products') - %span{ "ng-show" => 'views.hidden.visible && filtersApplied()' }=t('admin.variant_overrides.index.no_matching_hidden_products') - %span{ "ng-show" => 'views.new.visible && !filtersApplied()' }=t('admin.variant_overrides.index.no_new_products') - %span{ "ng-show" => 'views.new.visible && filtersApplied()' }=t('admin.variant_overrides.index.no_matching_new_products') +%div.text-big.no-results{ "ng-show": 'hub_id && products.length > 0 && filteredProducts.length == 0' } + %span{ "ng-show": 'views.inventory.visible && !filtersApplied()' }=t('admin.variant_overrides.index.currently_empty') + %span{ "ng-show": 'views.inventory.visible && filtersApplied()' }=t('admin.variant_overrides.index.no_matching_products') + %span{ "ng-show": 'views.hidden.visible && !filtersApplied()' }=t('admin.variant_overrides.index.no_hidden_products') + %span{ "ng-show": 'views.hidden.visible && filtersApplied()' }=t('admin.variant_overrides.index.no_matching_hidden_products') + %span{ "ng-show": 'views.new.visible && !filtersApplied()' }=t('admin.variant_overrides.index.no_new_products') + %span{ "ng-show": 'views.new.visible && filtersApplied()' }=t('admin.variant_overrides.index.no_matching_new_products') diff --git a/app/views/admin/variant_overrides/_products.html.haml b/app/views/admin/variant_overrides/_products.html.haml index d50a99e9b5..a54960da50 100644 --- a/app/views/admin/variant_overrides/_products.html.haml +++ b/app/views/admin/variant_overrides/_products.html.haml @@ -1,32 +1,32 @@ -%form{ "name" => 'variant_overrides_form', "ng-show" => "views.inventory.visible" } +%form{ name: 'variant_overrides_form', "ng-show": "views.inventory.visible" } %save-bar{ dirty: "customers_form.$dirty", persist: "false" } - %input.red{ "type" => "button", "value" => t(:save_changes), "ng-click" => "update()", "ng-disabled" => "!variant_overrides_form.$dirty" } + %input.red{ type: "button", value: t(:save_changes), "ng-click": "update()", "ng-disabled": "!variant_overrides_form.$dirty" } %table.index.bulk#variant-overrides - %col.producer{ "width" => "20%", "ng-show" => 'columns.producer.visible' } - %col.product{ "width" => "20%", "ng-show" => 'columns.product.visible' } - %col.sku{ "width" => "20%", "ng-show" => 'columns.sku.visible' } - %col.price{ "width" => "10%", "ng-show" => 'columns.price.visible' } - %col.on_hand{ "width" => "10%", "ng-show" => 'columns.on_hand.visible' } - %col.on_demand{ "width" => "10%", "ng-show" => 'columns.on_demand.visible' } - %col.reset{ "width" => "1%", "ng-show" => 'columns.reset.visible' } - %col.reset{ "width" => "15%", "ng-show" => 'columns.reset.visible' } - %col.inheritance{ "width" => "5%", "ng-show" => 'columns.inheritance.visible' } - %col.tags{ "width" => "30%", "ng-show" => 'columns.tags.visible' } - %col.visibility{ "width" => "10%", "ng-show" => 'columns.visibility.visible' } - %col.visibility{ "width" => "10%", "ng-show" => 'columns.import_date.visible' } + %col.producer{ width: "20%", "ng-show": 'columns.producer.visible' } + %col.product{ width: "20%", "ng-show": 'columns.product.visible' } + %col.sku{ width: "20%", "ng-show": 'columns.sku.visible' } + %col.price{ width: "10%", "ng-show": 'columns.price.visible' } + %col.on_hand{ width: "10%", "ng-show": 'columns.on_hand.visible' } + %col.on_demand{ width: "10%", "ng-show": 'columns.on_demand.visible' } + %col.reset{ width: "1%", "ng-show": 'columns.reset.visible' } + %col.reset{ width: "15%", "ng-show": 'columns.reset.visible' } + %col.inheritance{ width: "5%", "ng-show": 'columns.inheritance.visible' } + %col.tags{ width: "30%", "ng-show": 'columns.tags.visible' } + %col.visibility{ width: "10%", "ng-show": 'columns.visibility.visible' } + %col.visibility{ width: "10%", "ng-show": 'columns.import_date.visible' } %thead - %tr{ "ng-controller" => "ColumnsCtrl" } - %th.producer{ "ng-show" => 'columns.producer.visible' }=t('admin.producer') - %th.product{ "ng-show" => 'columns.product.visible' }=t('admin.product') - %th.sku{ "ng-show" => 'columns.sku.visible' }=t('admin.sku') - %th.price{ "ng-show" => 'columns.price.visible' }=t('admin.price') - %th.on_hand{ "ng-show" => 'columns.on_hand.visible' }=t('admin.on_hand') - %th.on_demand{ "ng-show" => 'columns.on_demand.visible' }=t('admin.on_demand?') - %th.reset{ "colspan" => 2, "ng-show" => 'columns.reset.visible' }=t('admin.variant_overrides.index.enable_reset?') - %th.inheritance{ "ng-show" => 'columns.inheritance.visible' }=t('admin.variant_overrides.index.inherit?') - %th.tags{ "ng-show" => 'columns.tags.visible' }=t('admin.tags') - %th.visibility{ "ng-show" => 'columns.visibility.visible' }=t('admin.variant_overrides.index.hide') - %th.import_date{ "ng-show" => 'columns.import_date.visible' }=t('admin.variant_overrides.index.import_date') - %tbody{ "ng-repeat" => 'product in filteredProducts = (products | hubPermissions:hubPermissions:hub_id | inventoryProducts:hub_id:views | attrFilter:{producer_id:producerFilter} | importDate:hub_id:importDateFilter | filter:query) | limitTo:productLimit' } + %tr{ "ng-controller": "ColumnsCtrl" } + %th.producer{ "ng-show": 'columns.producer.visible' }=t('admin.producer') + %th.product{ "ng-show": 'columns.product.visible' }=t('admin.product') + %th.sku{ "ng-show": 'columns.sku.visible' }=t('admin.sku') + %th.price{ "ng-show": 'columns.price.visible' }=t('admin.price') + %th.on_hand{ "ng-show": 'columns.on_hand.visible' }=t('admin.on_hand') + %th.on_demand{ "ng-show": 'columns.on_demand.visible' }=t('admin.on_demand?') + %th.reset{ colspan: 2, "ng-show": 'columns.reset.visible' }=t('admin.variant_overrides.index.enable_reset?') + %th.inheritance{ "ng-show": 'columns.inheritance.visible' }=t('admin.variant_overrides.index.inherit?') + %th.tags{ "ng-show": 'columns.tags.visible' }=t('admin.tags') + %th.visibility{ "ng-show": 'columns.visibility.visible' }=t('admin.variant_overrides.index.hide') + %th.import_date{ "ng-show": 'columns.import_date.visible' }=t('admin.variant_overrides.index.import_date') + %tbody{ "ng-repeat": 'product in filteredProducts = (products | hubPermissions:hubPermissions:hub_id | inventoryProducts:hub_id:views | attrFilter:{producer_id:producerFilter} | importDate:hub_id:importDateFilter | filter:query) | limitTo:productLimit' } = render 'admin/variant_overrides/products_product' = render 'admin/variant_overrides/products_variants' diff --git a/app/views/admin/variant_overrides/_products_product.html.haml b/app/views/admin/variant_overrides/_products_product.html.haml index 070abddd87..188f332e26 100644 --- a/app/views/admin/variant_overrides/_products_product.html.haml +++ b/app/views/admin/variant_overrides/_products_product.html.haml @@ -1,12 +1,12 @@ %tr.product.even - %td.producer{ "ng-show" => 'columns.producer.visible', "ng-bind-html" => '::producersByID[product.producer_id].name' } - %td.product{ "ng-show" => 'columns.product.visible', "ng-bind" => '::product.name' } - %td.sku{ "ng-show" => 'columns.sku.visible' } - %td.price{ "ng-show" => 'columns.price.visible' } - %td.on_hand{ "ng-show" => 'columns.on_hand.visible' } - %td.on_demand{ "ng-show" => 'columns.on_demand.visible' } - %td.reset{ "colspan" => 2, "ng-show" => 'columns.reset.visible' } - %td.inheritance{ "ng-show" => 'columns.inheritance.visible' } - %td.tags{ "ng-show" => 'columns.tags.visible' } - %td.visibility{ "ng-show" => 'columns.visibility.visible' } - %td.import_date{ "ng-show" => 'columns.import_date.visible' } + %td.producer{ "ng-show": 'columns.producer.visible', "ng-bind-html": '::producersByID[product.producer_id].name' } + %td.product{ "ng-show": 'columns.product.visible', "ng-bind": '::product.name' } + %td.sku{ "ng-show": 'columns.sku.visible' } + %td.price{ "ng-show": 'columns.price.visible' } + %td.on_hand{ "ng-show": 'columns.on_hand.visible' } + %td.on_demand{ "ng-show": 'columns.on_demand.visible' } + %td.reset{ colspan: 2, "ng-show": 'columns.reset.visible' } + %td.inheritance{ "ng-show": 'columns.inheritance.visible' } + %td.tags{ "ng-show": 'columns.tags.visible' } + %td.visibility{ "ng-show": 'columns.visibility.visible' } + %td.import_date{ "ng-show": 'columns.import_date.visible' } diff --git a/app/views/admin/variant_overrides/_products_variants.html.haml b/app/views/admin/variant_overrides/_products_variants.html.haml index 8245745a5c..43decfe33f 100644 --- a/app/views/admin/variant_overrides/_products_variants.html.haml +++ b/app/views/admin/variant_overrides/_products_variants.html.haml @@ -1,27 +1,27 @@ -%tr.variant{ "id" => "v_{{variant.id}}", "ng-repeat" => 'variant in product.variants | inventoryVariants:hub_id:views' } - %td.producer{ "ng-show" => 'columns.producer.visible' } - %td.product{ "ng-show" => 'columns.product.visible' } - %span{ "ng-bind" => '::variant.display_name || ""' } - .variant-override-unit{ "ng-bind" => '::variant.unit_to_display' } - %td.sku{ "ng-show" => 'columns.sku.visible' } - %input{ "name" => 'variant-overrides-{{ variant.id }}-sku', "type" => 'text', "placeholder" => '{{ variant.sku }}', "ofn-track-variant-override" => 'sku', "ng-model" => 'variantOverrides[hub_id][variant.id].sku' } - %td.price{ "ng-show" => 'columns.price.visible' } - %input{ "name" => 'variant-overrides-{{ variant.id }}-price', "type" => 'text', "placeholder" => '{{ variant.price }}', "ofn-track-variant-override" => 'price', "ng-model" => 'variantOverrides[hub_id][variant.id].price' } - %td.on_hand{ "ng-show" => 'columns.on_hand.visible' } - %input{ "name" => 'variant-overrides-{{ variant.id }}-count_on_hand', "type" => 'text', "placeholder" => '{{ countOnHandPlaceholder(variant, hub_id) }}', "ofn-track-variant-override" => 'count_on_hand', "ng-model" => 'variantOverrides[hub_id][variant.id].count_on_hand', "ng-readonly" => 'variantOverrides[hub_id][variant.id].on_demand != false' } - %td.on_demand{ "ng-show" => 'columns.on_demand.visible' } - %select{ "name" => 'variant-overrides-{{ variant.id }}-on_demand', "ofn-track-variant-override" => 'on_demand', "ng-model" => 'variantOverrides[hub_id][variant.id].on_demand', "ng-change" => 'updateCountOnHand(variant, hub_id)', "ng-options" => 'option.value as option.description for option in onDemandOptions' } - %td.reset{ "ng-show" => 'columns.reset.visible' } - %input{ "name" => 'variant-overrides-{{ variant.id }}-resettable', "type" => 'checkbox', "placeholder" => '{{ variant.resettable }}', "ofn-track-variant-override" => 'resettable', "ng-model" => 'variantOverrides[hub_id][variant.id].resettable' } - %td.reset{ "ng-show" => 'columns.reset.visible' } - %input{ "name" => 'variant-overrides-{{ variant.id }}-default_stock', "type" => 'text', "placeholder" => '{{ variant.default_stock ? variant.default_stock : ("admin.variant_overrides.index.default_stock" | t)}}', "ofn-track-variant-override" => 'default_stock', "ng-model" => 'variantOverrides[hub_id][variant.id].default_stock' } - %td.inheritance{ "ng-show" => 'columns.inheritance.visible' } - %input.field{ "type" => 'checkbox', "name" => 'variant-overrides-{{ variant.id }}-inherit', "track-inheritance" => true, "ng-model" => 'inherit' } - %td.tags{ "ng-show" => 'columns.tags.visible' } +%tr.variant{ id: "v_{{variant.id}}", "ng-repeat": 'variant in product.variants | inventoryVariants:hub_id:views' } + %td.producer{ "ng-show": 'columns.producer.visible' } + %td.product{ "ng-show": 'columns.product.visible' } + %span{ "ng-bind": '::variant.display_name || ""' } + .variant-override-unit{ "ng-bind": '::variant.unit_to_display' } + %td.sku{ "ng-show": 'columns.sku.visible' } + %input{ name: 'variant-overrides-{{ variant.id }}-sku', type: 'text', placeholder: '{{ variant.sku }}', "ofn-track-variant-override": 'sku', "ng-model": 'variantOverrides[hub_id][variant.id].sku' } + %td.price{ "ng-show": 'columns.price.visible' } + %input{ name: 'variant-overrides-{{ variant.id }}-price', type: 'text', placeholder: '{{ variant.price }}', "ofn-track-variant-override": 'price', "ng-model": 'variantOverrides[hub_id][variant.id].price' } + %td.on_hand{ "ng-show": 'columns.on_hand.visible' } + %input{ name: 'variant-overrides-{{ variant.id }}-count_on_hand', type: 'text', placeholder: '{{ countOnHandPlaceholder(variant, hub_id) }}', "ofn-track-variant-override": 'count_on_hand', "ng-model": 'variantOverrides[hub_id][variant.id].count_on_hand', "ng-readonly": 'variantOverrides[hub_id][variant.id].on_demand != false' } + %td.on_demand{ "ng-show": 'columns.on_demand.visible' } + %select{ name: 'variant-overrides-{{ variant.id }}-on_demand', "ofn-track-variant-override": 'on_demand', "ng-model": 'variantOverrides[hub_id][variant.id].on_demand', "ng-change": 'updateCountOnHand(variant, hub_id)', "ng-options": 'option.value as option.description for option in onDemandOptions' } + %td.reset{ "ng-show": 'columns.reset.visible' } + %input{ name: 'variant-overrides-{{ variant.id }}-resettable', type: 'checkbox', placeholder: '{{ variant.resettable }}', "ofn-track-variant-override": 'resettable', "ng-model": 'variantOverrides[hub_id][variant.id].resettable' } + %td.reset{ "ng-show": 'columns.reset.visible' } + %input{ name: 'variant-overrides-{{ variant.id }}-default_stock', type: 'text', placeholder: '{{ variant.default_stock ? variant.default_stock : ("admin.variant_overrides.index.default_stock" | t)}}', "ofn-track-variant-override": 'default_stock', "ng-model": 'variantOverrides[hub_id][variant.id].default_stock' } + %td.inheritance{ "ng-show": 'columns.inheritance.visible' } + %input.field{ type: 'checkbox', name: 'variant-overrides-{{ variant.id }}-inherit', "track-inheritance": true, "ng-model": 'inherit' } + %td.tags{ "ng-show": 'columns.tags.visible' } .tag_watcher{ 'track-tag-list' => true } %tags_with_translation{ object: 'variantOverrides[hub_id][variant.id]', form: 'variant_overrides_form' } - %td.visibility{ "ng-show" => 'columns.visibility.visible' } - %button.icon-remove.fullwidth{ "type" => 'button', "ng-click" => "setVisibility(hub_id,variant.id,false)" } + %td.visibility{ "ng-show": 'columns.visibility.visible' } + %button.icon-remove.fullwidth{ type: 'button', "ng-click": "setVisibility(hub_id,variant.id,false)" } = t('admin.variant_overrides.index.hide') - %td.import_date{ "ng-show" => 'columns.import_date.visible' } + %td.import_date{ "ng-show": 'columns.import_date.visible' } %span {{variantOverrides[hub_id][variant.id].import_date | date:"MMMM dd, yyyy HH:mm"}} diff --git a/app/views/admin/variant_overrides/_show_more.html.haml b/app/views/admin/variant_overrides/_show_more.html.haml index 5fb2359afd..e232a512c2 100644 --- a/app/views/admin/variant_overrides/_show_more.html.haml +++ b/app/views/admin/variant_overrides/_show_more.html.haml @@ -1,4 +1,4 @@ -.text-center{ "ng-show" => "filteredProducts.length > productLimit" } - %input{ "type" => 'button', "value" => t(:show_more), "ng-click" => 'productLimit = productLimit + 10' } +.text-center{ "ng-show": "filteredProducts.length > productLimit" } + %input{ type: 'button', value: t(:show_more), "ng-click": 'productLimit = productLimit + 10' } - %input{ "type" => 'button', "value" => "#{t(:show_all)} ({{ filteredProducts.length - productLimit }} More)", "ng-click" => 'productLimit = filteredProducts.length' } + %input{ type: 'button', value: "#{t(:show_all)} ({{ filteredProducts.length - productLimit }} More)", "ng-click": 'productLimit = filteredProducts.length' } diff --git a/app/views/admin/variant_overrides/index.html.haml b/app/views/admin/variant_overrides/index.html.haml index f64615ab3c..adfcc8f71c 100644 --- a/app/views/admin/variant_overrides/index.html.haml +++ b/app/views/admin/variant_overrides/index.html.haml @@ -1,13 +1,13 @@ = render 'admin/variant_overrides/header' = render 'admin/variant_overrides/data' -.margin-bottom-50{ "ng-app" => 'admin.variantOverrides', "ng-controller" => 'AdminVariantOverridesCtrl', "ng-init" => 'initialise()' } +.margin-bottom-50{ "ng-app": 'admin.variantOverrides', "ng-controller": 'AdminVariantOverridesCtrl', "ng-init": 'initialise()' } = render 'admin/variant_overrides/filters' = render 'admin/variant_overrides/new_products_alert' = render 'admin/variant_overrides/loading_flash' = render 'admin/variant_overrides/controls' = render 'admin/variant_overrides/no_results' - %div{ "ng-cloak" => true, "ng-show" => 'hub_id && filteredProducts.length > 0' } + %div{ "ng-cloak": true, "ng-show": 'hub_id && filteredProducts.length > 0' } = render 'admin/variant_overrides/new_products' = render 'admin/variant_overrides/hidden_products' = render 'admin/variant_overrides/products' diff --git a/app/views/enterprises/shop.html.haml b/app/views/enterprises/shop.html.haml index 13239b7208..81949bf49a 100644 --- a/app/views/enterprises/shop.html.haml +++ b/app/views/enterprises/shop.html.haml @@ -17,9 +17,9 @@ - if @shopfront_layout == 'embedded' = render partial: 'shop/blocked_cookies' - .alert-box.changeable-orders-alert.info.animate-show{ "ng-show" => "alert.visible && alert.html", "ng-cloak" => true } - %span{ "ng-bind-html" => "alert.html" } - %a.close{ "ng-click" => "alert.close()" } × + .alert-box.changeable-orders-alert.info.animate-show{ "ng-show": "alert.visible && alert.html", "ng-cloak": true } + %span{ "ng-bind-html": "alert.html" } + %a.close{ "ng-click": "alert.close()" } × - content_for :order_cycle_form do = render partial: "change_order_cycle" diff --git a/app/views/layouts/_login_modal.html.haml b/app/views/layouts/_login_modal.html.haml index 68d89a6b7e..b5fda75568 100644 --- a/app/views/layouts/_login_modal.html.haml +++ b/app/views/layouts/_login_modal.html.haml @@ -5,19 +5,19 @@ %div{ "data-controller": "tabs" } %dl.tabs %dd - %a{ "data-tabs-target" => "tab", "data-action" => "tabs#select" }= t(:label_login) + %a{ data: { "tabs-target": "tab", "action": "tabs#select" } }= t(:label_login) %dd - %a{ "data-tabs-target" => "tab", "data-action" => "tabs#select" }= t(:label_signup) + %a{ data: { "tabs-target": "tab", "action": "tabs#select" } }= t(:label_signup) %dd - %a{ "data-tabs-target" => "tab", "data-action" => "tabs#select" }= t(:forgot_password) + %a{ data: { "tabs-target": "tab", "action": "tabs#select" } }= t(:forgot_password) .tabs-content .content.active - %div{ "data-tabs-target" => "content" } + %div{ data: { "tabs-target": "content" } } = render "layouts/login_tab" - %div{ "data-tabs-target" => "content" } + %div{ data: { "tabs-target": "content" } } = render "layouts/signup_tab" - %div{ "data-tabs-target" => "content" } + %div{ data: { "tabs-target": "content" } } = render "layouts/forgot_tab" %a.close-reveal-modal{ "data-action": "click->login-modal#close" } diff --git a/app/views/producers/_skinny.html.haml b/app/views/producers/_skinny.html.haml index d4a3a53357..644a3805b9 100644 --- a/app/views/producers/_skinny.html.haml +++ b/app/views/producers/_skinny.html.haml @@ -4,14 +4,14 @@ .row.vertical-align-middle .columns.small-12 %a.is_distributor{"ng-href" => "{{::producer.path}}", "ng-attr-target" => "{{ embedded_layout ? '_blank' : undefined}}", "data-is-link" => "true"} - %i{ "ng-class" => "::producer.producer_icon_font" } + %i{ "ng-class": "::producer.producer_icon_font" } %span.margin-top %strong{"ng-bind" => "::producer.name"} %span.producer-name{"ng-if" => "::!producer.is_distributor" } .row.vertical-align-middle .columns.small-12 - %i{ "ng-class" => "::producer.producer_icon_font" } + %i{ "ng-class": "::producer.producer_icon_font" } %span.margin-top %strong{"ng-bind" => "::producer.name"} diff --git a/app/views/registration/_modal.html.haml b/app/views/registration/_modal.html.haml index a91a3ac8c7..798c1f23f9 100644 --- a/app/views/registration/_modal.html.haml +++ b/app/views/registration/_modal.html.haml @@ -1,10 +1,10 @@ %script{ type: "text/ng-template", id: "registration.html" } %div#registration-modal{"ng-controller" => "RegistrationCtrl"} - %div{ "ng-show" => "currentStep() == 'introduction'" } + %div{ "ng-show": "currentStep() == 'introduction'" } %ng-include{ src: "'registration/introduction.html'" } - %div{ "ng-repeat" => 'step in steps', "ng-show" => "currentStep() == step" } + %div{ "ng-repeat": 'step in steps', "ng-show": "currentStep() == step" } %ng-include{ src: "'registration/'+ step + '.html'" } - %div{ "ng-show" => "currentStep() == 'finished'" } + %div{ "ng-show": "currentStep() == 'finished'" } %ng-include{ src: "'registration/finished.html'" } %a.close-reveal-modal{"ng-click" => "$close()"} diff --git a/app/views/registration/authenticate.html.haml b/app/views/registration/authenticate.html.haml index 6b6b5aa618..4b62d71c7c 100644 --- a/app/views/registration/authenticate.html.haml +++ b/app/views/registration/authenticate.html.haml @@ -9,19 +9,19 @@ %div{ "data-controller": "tabs" } %dl.tabs %dd - %a{ "data-tabs-target" => "tab", "data-action" => "tabs#select" }= t(:label_signup) + %a{ data: { "tabs-target": "tab", "action": "tabs#select" } }= t(:label_signup) %dd - %a{ "data-tabs-target" => "tab", "data-action" => "tabs#select" }= t(:label_login) + %a{ data: { "tabs-target": "tab", "action": "tabs#select" } }= t(:label_login) %dd - %a{ "data-tabs-target" => "tab", "data-action" => "tabs#select" }= t(:forgot_password) + %a{ data: { "tabs-target": "tab", "action": "tabs#select" } }= t(:forgot_password) .tabs-content .content.active - %div{ "data-tabs-target" => "content" } + %div{ data: { "tabs-target": "content" } } = render "layouts/signup_tab" - %div{ "data-tabs-target" => "content" } + %div{ data: { "tabs-target": "content" } } = render "layouts/login_tab" - %div{ "data-tabs-target" => "content" } + %div{ data: { "tabs-target": "content" } } = render "layouts/forgot_tab" %a.close-reveal-modal{ "data-action": "click->login-modal#returnHome" } diff --git a/app/views/registration/steps/_about.html.haml b/app/views/registration/steps/_about.html.haml index 413e78f10b..9a18dbd55a 100644 --- a/app/views/registration/steps/_about.html.haml +++ b/app/views/registration/steps/_about.html.haml @@ -7,49 +7,49 @@ %h2= t(".headline") %h5 = t(".message") - %span{ "ng-class" => "{brick: !enterprise.is_primary_producer, turquoise: enterprise.is_primary_producer}" } + %span{ "ng-class": "{brick: !enterprise.is_primary_producer, turquoise: enterprise.is_primary_producer}" } {{ enterprise.name }} - %form{ "name" => 'about', "novalidate" => true, "ng-controller" => "RegistrationFormCtrl", "ng-submit" => "selectIfValid('images', about)" } + %form{ name: 'about', novalidate: true, "ng-controller": "RegistrationFormCtrl", "ng-submit": "selectIfValid('images', about)" } .row .small-12.columns - .alert-box.info{ "ofn-inline-alert" => true, "ng-show" => "visible" } + .alert-box.info{ "ofn-inline-alert": true, "ng-show": "visible" } %h6{ "ng-bind" => "'registration.steps.about.success' | t:{enterprise: enterprise.name}" } %span= t(".registration_exit_message") - %a.close{ "ng-click" => "close()" } × + %a.close{ "ng-click": "close()" } × .small-12.large-8.columns .row .small-12.columns .field %label{ for: 'enterprise_description' }= t(".enterprise_description") - %input.chunky{ "id" => 'enterprise_description', "placeholder" => "{{'registration.steps.about.enterprise_description_placeholder' | t}}", "ng-model" => 'enterprise.description' } + %input.chunky{ id: 'enterprise_description', placeholder: "{{'registration.steps.about.enterprise_description_placeholder' | t}}", "ng-model": 'enterprise.description' } .row .small-12.columns .field %label{ for: 'enterprise_long_desc' }= t(".enterprise_long_desc") - %textarea.chunky{ "id" => 'enterprise_long_desc', "rows" => 6, "placeholder" => "{{'registration.steps.about.enterprise_long_desc_placeholder' | t}}", "ng-model" => 'enterprise.long_description' } + %textarea.chunky{ id: 'enterprise_long_desc', rows: 6, placeholder: "{{'registration.steps.about.enterprise_long_desc_placeholder' | t}}", "ng-model": 'enterprise.long_description' } %small{ "ng-bind" => "'registration.steps.about.enterprise_long_desc_length' | t:{num: enterprise.long_description.length}" } .small-12.large-4.columns .row .small-12.columns .field %label{ for: 'enterprise_abn' }= t(".enterprise_abn")+":" - %input.chunky{ "id" => 'enterprise_abn', "placeholder" => "{{'registration.steps.about.enterprise_abn_placeholder' | t}}", "ng-model" => 'enterprise.abn' } + %input.chunky{ id: 'enterprise_abn', placeholder: "{{'registration.steps.about.enterprise_abn_placeholder' | t}}", "ng-model": 'enterprise.abn' } .row .small-12.columns .field %label{ for: 'enterprise_acn' }= t(".enterprise_acn")+":" - %input.chunky{ "id" => 'enterprise_acn', "placeholder" => "{{'registration.steps.about.enterprise_acn_placeholder' | t}}", "ng-model" => 'enterprise.acn' } + %input.chunky{ id: 'enterprise_acn', placeholder: "{{'registration.steps.about.enterprise_acn_placeholder' | t}}", "ng-model": 'enterprise.acn' } .row .small-12.columns .field %label{ for: 'enterprise_charges_sales_tax' }= t(:charges_sales_tax) - %input{ "id" => 'enterprise_charges_sales_tax_true', "type" => 'radio', "name" => 'charges_sales_tax', "value" => 'true', "required" => true, "ng-model" => 'enterprise.charges_sales_tax' } + %input{ id: 'enterprise_charges_sales_tax_true', type: 'radio', name: 'charges_sales_tax', value: 'true', required: true, "ng-model": 'enterprise.charges_sales_tax' } %label{ for: 'enterprise_charges_sales_tax_true' } {{'say_yes' | t}} - %input{ "id" => 'enterprise_charges_sales_tax_false', "type" => 'radio', "name" => 'charges_sales_tax', "value" => 'false', "required" => true, "ng-model" => 'enterprise.charges_sales_tax' } + %input{ id: 'enterprise_charges_sales_tax_false', type: 'radio', name: 'charges_sales_tax', value: 'false', required: true, "ng-model": 'enterprise.charges_sales_tax' } %label{ for: 'enterprise_charges_sales_tax_false' } {{'say_no' | t}} - %span.error.small-12.columns{ "ng-show" => "about.charges_sales_tax.$error.required && submitted" } + %span.error.small-12.columns{ "ng-show": "about.charges_sales_tax.$error.required && submitted" } = t(".enterprise_tax_required") .row.buttons.pad-top diff --git a/app/views/registration/steps/_contact.html.haml b/app/views/registration/steps/_contact.html.haml index 944d4cb696..2dea91fef5 100644 --- a/app/views/registration/steps/_contact.html.haml +++ b/app/views/registration/steps/_contact.html.haml @@ -7,30 +7,30 @@ %h2= t('registration.steps.introduction.registration_greeting') %h5{ "ng-bind" => "'registration.steps.contact.who_is_managing_enterprise' | t:{enterprise: enterprise.name}" } - %form{ "name" => 'contact', "novalidate" => true, "ng-controller" => "RegistrationFormCtrl", "ng-submit" => "selectIfValid('type',contact)" } + %form{ name: 'contact', novalidate: true, "ng-controller": "RegistrationFormCtrl", "ng-submit": "selectIfValid('type',contact)" } .row.content .small-12.medium-12.large-7.columns .row .small-12.columns.field %label{ for: 'enterprise_contact' }= t(".contact_field") - %input.chunky.small-12.columns{ "id" => 'enterprise_contact', "name" => 'contact_name', "required" => true, "placeholder" => "{{'registration.steps.contact.contact_field_placeholder' | t}}", "ng-model" => 'enterprise.contact_name' } - %span.error.small-12.columns{ "ng-show" => "contact.contact_name.$error.required && submitted" } + %input.chunky.small-12.columns{ id: 'enterprise_contact', name: 'contact_name', required: true, placeholder: "{{'registration.steps.contact.contact_field_placeholder' | t}}", "ng-model": 'enterprise.contact_name' } + %span.error.small-12.columns{ "ng-show": "contact.contact_name.$error.required && submitted" } = t(".contact_field_required") .row .small-12.columns.field %label{ for: 'enterprise_email_address' }= t("admin.enterprises.form.contact.email_address")+":" - %input.chunky.small-12.columns{ "id" => 'enterprise_email_address', "name" => 'email_address', "type" => 'email', "placeholder" => t('admin.enterprises.form.contact.email_address_placeholder'), "ng-model" => 'enterprise.email_address' } + %input.chunky.small-12.columns{ id: 'enterprise_email_address', name: 'email_address', type: 'email', placeholder: t('admin.enterprises.form.contact.email_address_placeholder'), "ng-model": 'enterprise.email_address' } .row .small-12.columns.field %label{ for: 'enterprise_phone' }= t(".phone_field")+":" - %input.chunky.small-12.columns{ "id" => 'enterprise_phone', "name" => 'phone', "placeholder" => "{{'registration.steps.contact.phone_field_placeholder' | t}}", "ng-model" => 'enterprise.phone' } + %input.chunky.small-12.columns{ id: 'enterprise_phone', name: 'phone', placeholder: "{{'registration.steps.contact.phone_field_placeholder' | t}}", "ng-model": 'enterprise.phone' } .row .small-12.columns.field %label{ "for" => 'enterprise_whatsapp_phone', 'data-toggle' => "tooltip", 'title' => "{{'registration.steps.contact.whatsapp_phone_tooltip' | t}}" }= t(".whatsapp_phone_field")+":" - %input.chunky.small-12.columns{ "id" => 'enterprise_whatsapp_phone', "name" => 'whatsapp_phone', "placeholder" => "{{'registration.steps.contact.whatsapp_phone_field_placeholder' | t}}", "ng-model" => 'enterprise.whatsapp_phone' } + %input.chunky.small-12.columns{ id: 'enterprise_whatsapp_phone', name: 'whatsapp_phone', placeholder: "{{'registration.steps.contact.whatsapp_phone_field_placeholder' | t}}", "ng-model": 'enterprise.whatsapp_phone' } .small-12.medium-12.large-5.hide-for-small-only .row.buttons .small-12.columns - %input.button.secondary{ "type" => "button", "value" => "{{'back' | t}}", "ng-click" => "select('details')" } + %input.button.secondary{ type: "button", value: "{{'back' | t}}", "ng-click": "select('details')" } %input.button.primary.right{ type: "submit", value: "{{'continue' | t}}" } diff --git a/app/views/registration/steps/_details.html.haml b/app/views/registration/steps/_details.html.haml index 51d6356f5a..45fb0e56b7 100644 --- a/app/views/registration/steps/_details.html.haml +++ b/app/views/registration/steps/_details.html.haml @@ -5,56 +5,56 @@ .small-12.columns %header %h2= t('.headline') - %h5{ "ng-if" => "::enterprise.type != 'own'" }= t(".enterprise") - %h5{ "ng-if" => "::enterprise.type == 'own'" }= t(".producer") - %form{ "name" => 'details', "novalidate" => true, "ng-controller" => "RegistrationFormCtrl", "ng-submit" => "selectIfValid('contact',details)" } + %h5{ "ng-if": "::enterprise.type != 'own'" }= t(".enterprise") + %h5{ "ng-if": "::enterprise.type == 'own'" }= t(".producer") + %form{ name: 'details', novalidate: true, "ng-controller": "RegistrationFormCtrl", "ng-submit": "selectIfValid('contact',details)" } .row .small-12.medium-9.large-12.columns.end .field - %label{ "for" => 'enterprise_name', "ng-if" => "::enterprise.type != 'own'" }= t(".enterprise_name_field") - %label{ "for" => 'enterprise_name', "ng-if" => "::enterprise.type == 'own'" }= t(".producer_name_field") - %input.chunky{ "id" => 'enterprise_name', "name" => 'name', "placeholder" => "{{'registration.steps.details.producer_name_field_placeholder' | t}}", "required" => true, "ng-model" => 'enterprise.name' } - %span.error{ "ng-show" => "details.name.$error.required && submitted" } + %label{ for: 'enterprise_name', "ng-if": "::enterprise.type != 'own'" }= t(".enterprise_name_field") + %label{ for: 'enterprise_name', "ng-if": "::enterprise.type == 'own'" }= t(".producer_name_field") + %input.chunky{ id: 'enterprise_name', name: 'name', placeholder: "{{'registration.steps.details.producer_name_field_placeholder' | t}}", required: true, "ng-model": 'enterprise.name' } + %span.error{ "ng-show": "details.name.$error.required && submitted" } = t(".producer_name_field_error") .row .small-12.medium-9.large-6.columns .field %label{ for: 'enterprise_address' }= t(".address1_field") - %input.chunky{ "id" => 'enterprise_address', "name" => 'address1', "required" => true, "placeholder" => "{{'registration.steps.details.address1_field_placeholder' | t}}", "ng-model" => 'enterprise.address.address1' } - %span.error{ "ng-show" => "details.address1.$error.required && submitted" } + %input.chunky{ id: 'enterprise_address', name: 'address1', required: true, placeholder: "{{'registration.steps.details.address1_field_placeholder' | t}}", "ng-model": 'enterprise.address.address1' } + %span.error{ "ng-show": "details.address1.$error.required && submitted" } = t(".address1_field_error") .field %label{ for: 'enterprise_address2' }= t(".address2_field") - %input.chunky{ "id" => 'enterprise_address2', "name" => 'address2', "required" => false, "placeholder" => "", "ng-model" => 'enterprise.address.address2' } + %input.chunky{ id: 'enterprise_address2', name: 'address2', required: false, placeholder: "", "ng-model": 'enterprise.address.address2' } .small-12.medium-9.large-6.columns.end .row .small-12.medium-8.large-8.columns .field %label{ for: 'enterprise_city' }= t('.suburb_field') - %input.chunky{ "id" => 'enterprise_city', "name" => 'city', "required" => true, "placeholder" => "{{'registration.steps.details.suburb_field_placeholder' | t}}", "ng-model" => 'enterprise.address.city' } - %span.error{ "ng-show" => "details.city.$error.required && submitted" } + %input.chunky{ id: 'enterprise_city', name: 'city', required: true, placeholder: "{{'registration.steps.details.suburb_field_placeholder' | t}}", "ng-model": 'enterprise.address.city' } + %span.error{ "ng-show": "details.city.$error.required && submitted" } = t(".suburb_field_error") .small-12.medium-4.large-4.columns .field %label{ for: 'enterprise_zipcode' }= t(".postcode_field") - %input.chunky{ "id" => 'enterprise_zipcode', "name" => 'zipcode', "required" => true, "placeholder" => "{{'registration.steps.details.postcode_field_placeholder' | t}}", "ng-model" => 'enterprise.address.zipcode' } - %span.error{ "ng-show" => "details.zipcode.$error.required && submitted" } + %input.chunky{ id: 'enterprise_zipcode', name: 'zipcode', required: true, placeholder: "{{'registration.steps.details.postcode_field_placeholder' | t}}", "ng-model": 'enterprise.address.zipcode' } + %span.error{ "ng-show": "details.zipcode.$error.required && submitted" } = t(".postcode_field_error") .row .small-12.medium-8.large-8.columns .field %label{ for: 'enterprise_country' }= t(".country_field") - %select.chunky{ "id" => 'enterprise_country', "name" => 'country', "required" => true, "ng-init" => "setDefaultCountry(#{DefaultCountry.id})", "ng-model" => 'enterprise.country', "ng-options" => 'c as c.name for c in countries' } - %span.error{ "ng-show" => "details.country.$error.required && submitted" } + %select.chunky{ id: 'enterprise_country', name: 'country', required: true, "ng-init": "setDefaultCountry(#{DefaultCountry.id})", "ng-model": 'enterprise.country', "ng-options": 'c as c.name for c in countries' } + %span.error{ "ng-show": "details.country.$error.required && submitted" } = t(".country_field_error") .small-12.medium-4.large-4.columns .field %label{ for: 'enterprise_state' }= t(".state_field") - %select.chunky{ "id" => 'enterprise_state', "name" => 'state', "ng-model" => 'enterprise.address.state_id', "ng-options" => 's.id as s.abbr for s in enterprise.country.states', "ng-show" => 'countryHasStates()', "ng-required" => 'countryHasStates()' } - %span.error{ "ng-show" => "details.state.$error.required && submitted" } + %select.chunky{ id: 'enterprise_state', name: 'state', "ng-model": 'enterprise.address.state_id', "ng-options": 's.id as s.abbr for s in enterprise.country.states', "ng-show": 'countryHasStates()', "ng-required": 'countryHasStates()' } + %span.error{ "ng-show": "details.state.$error.required && submitted" } = t(".state_field_error") = render 'registration/steps/location_map' if using_google_maps? diff --git a/app/views/registration/steps/_images.html.haml b/app/views/registration/steps/_images.html.haml index a26756d440..9df31aaf96 100644 --- a/app/views/registration/steps/_images.html.haml +++ b/app/views/registration/steps/_images.html.haml @@ -1,5 +1,5 @@ %script{ type: "text/ng-template", id: "registration/images.html" } - .container#registration-images{ "nv-file-drop" => true, "uploader" => "imageUploader", "options" => "{ alias: imageStep }", "ng-controller" => "EnterpriseImageCtrl" } + .container#registration-images{ "nv-file-drop": true, uploader: "imageUploader", options: "{ alias: imageStep }", "ng-controller": "EnterpriseImageCtrl" } %ng-include{ src: "'registration/steps.html'" } .row .small-12.columns @@ -7,17 +7,17 @@ %h2= t(".headline") %h5= t(".description") - %form{ "name" => 'images', "novalidate" => true, "ng-controller" => "RegistrationFormCtrl", "ng-submit" => "select('social')" } - .row{ "ng-repeat" => 'image_step in imageSteps', "ng-show" => "imageStep == image_step" } + %form{ name: 'images', novalidate: true, "ng-controller": "RegistrationFormCtrl", "ng-submit": "select('social')" } + .row{ "ng-repeat": 'image_step in imageSteps', "ng-show": "imageStep == image_step" } %ng-include{ src: "'registration/'+ image_step + '.html'" } - .row.buttons.pad-top{ "ng-if" => "imageStep == 'logo'" } + .row.buttons.pad-top{ "ng-if": "imageStep == 'logo'" } .small-12.columns - %input.button.secondary{ "type" => "button", "value" => t(".back"), "ng-click" => "select('about')" } + %input.button.secondary{ type: "button", value: t(".back"), "ng-click": "select('about')" }   - %input.button.primary.right{ "type" => "button", "value" => t(".continue"), "ng-click" => "imageSelect('promo')" } + %input.button.primary.right{ type: "button", value: t(".continue"), "ng-click": "imageSelect('promo')" } - .row.buttons.pad-top{ "ng-if" => "imageStep == 'promo'" } + .row.buttons.pad-top{ "ng-if": "imageStep == 'promo'" } .small-12.columns - %input.button.secondary{ "type" => "button", "value" => t(".back"), "ng-click" => "imageSelect('logo')" } + %input.button.secondary{ type: "button", value: t(".back"), "ng-click": "imageSelect('logo')" } %input.button.primary.right{ type: "submit", value: t(".continue") } diff --git a/app/views/registration/steps/_introduction.html.haml b/app/views/registration/steps/_introduction.html.haml index dc41abe2e9..9b7286864b 100644 --- a/app/views/registration/steps/_introduction.html.haml +++ b/app/views/registration/steps/_introduction.html.haml @@ -44,8 +44,8 @@ #{t(:enterprise_tos_message)} = link_to_platform_terms %p.tos-checkbox - %input{ "type" => 'checkbox', "name" => 'accept_terms', "id" => 'accept_terms', "ng-model" => "tos_accepted" } + %input{ type: 'checkbox', name: 'accept_terms', id: 'accept_terms', "ng-model": "tos_accepted" } %label{for: "accept_terms"} #{t(:enterprise_tos_agree)} .small-12.medium-6.columns - %input.button.primary.left{ "type" => "button", "value" => "{{'registration.steps.introduction.registration_action' | t}}", "ng-click" => "select('details')", "ng-disabled" => "tos_required && !tos_accepted", "ng-model" => "tos_accepted" } + %input.button.primary.left{ type: "button", value: "{{'registration.steps.introduction.registration_action' | t}}", "ng-click": "select('details')", "ng-disabled": "tos_required && !tos_accepted", "ng-model": "tos_accepted" } diff --git a/app/views/registration/steps/_limit_reached.html.haml b/app/views/registration/steps/_limit_reached.html.haml index ee5140b769..6f07dd80b9 100644 --- a/app/views/registration/steps/_limit_reached.html.haml +++ b/app/views/registration/steps/_limit_reached.html.haml @@ -14,4 +14,4 @@ .row .small-12.columns %hr - %input.button.primary{ "type" => "button", "value" => "{{'registration.steps.limit_reached.action' | t}}", "ng-click" => "close()" } + %input.button.primary{ type: "button", value: "{{'registration.steps.limit_reached.action' | t}}", "ng-click": "close()" } diff --git a/app/views/registration/steps/_location_map.html.haml b/app/views/registration/steps/_location_map.html.haml index 031edbec98..280ca55541 100644 --- a/app/views/registration/steps/_location_map.html.haml +++ b/app/views/registration/steps/_location_map.html.haml @@ -1,19 +1,19 @@ %div .center - %input.button.primary{ "type" => "button", "value" => "{{'registration.steps.details.locate_address' | t}}", "ng-click" => "locateAddress()" } - .center{ "ng-if" => "latLong" } + %input.button.primary{ type: "button", value: "{{'registration.steps.details.locate_address' | t}}", "ng-click": "locateAddress()" } + .center{ "ng-if": "latLong" } %strong {{'registration.steps.details.drag_pin' | t}} .small-12.medium-9.large-12.columns.end - .map-container--registration{ "id" => "registration-map", "ng-if" => "!!map" } + .map-container--registration{ id: "registration-map", "ng-if": "!!map" } %ui-gmap-google-map{ center: "map.center", zoom: "map.zoom"} %ui-gmap-marker{idKey: 1, coords: "latLong", options: '{ draggable: true}'} - .center{ "ng-if" => "latLong" } + .center{ "ng-if": "latLong" } .field - %input{ "type" => 'checkbox', "id" => 'confirm_address', "name" => 'confirm_address', "ng-click" => 'toggleAddressConfirmed()' } + %input{ type: 'checkbox', id: 'confirm_address', name: 'confirm_address', "ng-click": 'toggleAddressConfirmed()' } %label{ for: 'confirm_address' } {{'registration.steps.details.confirm_address' | t}} - .small-12.medium-9.large-12.columns.end{ "ng-if" => "latLong" } + .small-12.medium-9.large-12.columns.end{ "ng-if": "latLong" } .field %strong {{'registration.steps.details.drag_map_marker' | t}} diff --git a/app/views/registration/steps/_logo.html.haml b/app/views/registration/steps/_logo.html.haml index 34695a0e70..e79ba39fd1 100644 --- a/app/views/registration/steps/_logo.html.haml +++ b/app/views/registration/steps/_logo.html.haml @@ -37,10 +37,10 @@ .row.pad-top .small-12.columns.center #image-placeholder.logo - %img{ "ng-show" => "imageSrc() && !imageUploader.isUploading", "ng-src" => '{{ imageSrc() }}' } - .message{ "ng-hide" => "imageSrc() || imageUploader.isUploading" } + %img{ "ng-show": "imageSrc() && !imageUploader.isUploading", "ng-src": '{{ imageSrc() }}' } + .message{ "ng-hide": "imageSrc() || imageUploader.isUploading" } = t(".logo_placeholder") - .loading{ "ng-hide" => "!imageUploader.isUploading" } + .loading{ "ng-hide": "!imageUploader.isUploading" } = render partial: "components/spinner" %br/ = t("registration.steps.images.uploading") diff --git a/app/views/registration/steps/_promo.html.haml b/app/views/registration/steps/_promo.html.haml index b9c06b54b3..2b9ef89616 100644 --- a/app/views/registration/steps/_promo.html.haml +++ b/app/views/registration/steps/_promo.html.haml @@ -35,10 +35,10 @@ .row.pad-top .small-12.columns.center #image-placeholder.promo - %img{ "ng-show" => "imageSrc() && !imageUploader.isUploading", "ng-src" => '{{ imageSrc() }}' } - .message{ "ng-hide" => "imageSrc() || imageUploader.isUploading" } + %img{ "ng-show": "imageSrc() && !imageUploader.isUploading", "ng-src": '{{ imageSrc() }}' } + .message{ "ng-hide": "imageSrc() || imageUploader.isUploading" } = t(".promo_image_placeholder") - .loading{ "ng-hide" => "!imageUploader.isUploading" } + .loading{ "ng-hide": "!imageUploader.isUploading" } = render partial: "components/spinner" %br/ = t("registration.steps.images.uploading") diff --git a/app/views/registration/steps/_social.html.haml b/app/views/registration/steps/_social.html.haml index cf143cbec2..180d79019b 100644 --- a/app/views/registration/steps/_social.html.haml +++ b/app/views/registration/steps/_social.html.haml @@ -8,38 +8,38 @@ %h2= t(".enterprise_final_step") %h5{ "ng-bind" => "'registration.steps.social.enterprise_social_text' | t:{enterprise: enterprise.name}" } - %form{ "name" => 'social', "novalidate" => true, "ng-controller" => "RegistrationFormCtrl", "ng-submit" => "update('finished',social)" } + %form{ name: 'social', novalidate: true, "ng-controller": "RegistrationFormCtrl", "ng-submit": "update('finished',social)" } .row.content .small-12.large-7.columns .row .small-12.columns .field %label{ for: 'enterprise_website' }= t(".website")+":" - %input.chunky{ "id" => 'enterprise_website', "placeholder" => "{{'registration.steps.social.website_placeholder' | t}}", "ng-model" => 'enterprise.website' } + %input.chunky{ id: 'enterprise_website', placeholder: "{{'registration.steps.social.website_placeholder' | t}}", "ng-model": 'enterprise.website' } .row .small-12.columns .field %label{ for: 'enterprise_facebook' }= t(".facebook")+":" - %input.chunky{ "id" => 'enterprise_facebook', "placeholder" => "{{'registration.steps.social.facebook_placeholder' | t}}", "ng-model" => 'enterprise.facebook' } + %input.chunky{ id: 'enterprise_facebook', placeholder: "{{'registration.steps.social.facebook_placeholder' | t}}", "ng-model": 'enterprise.facebook' } .row .small-12.columns .field %label{ for: 'enterprise_linkedin' }= t(".linkedin")+":" - %input.chunky{ "id" => 'enterprise_linkedin', "placeholder" => "{{'registration.steps.social.linkedin_placeholder' | t}}", "ng-model" => 'enterprise.linkedin' } + %input.chunky{ id: 'enterprise_linkedin', placeholder: "{{'registration.steps.social.linkedin_placeholder' | t}}", "ng-model": 'enterprise.linkedin' } .small-12.large-5.columns .row .small-12.columns .field %label{ for: 'enterprise_twitter' }= t(".twitter")+":" - %input.chunky{ "id" => 'enterprise_twitter', "placeholder" => "{{'registration.steps.social.twitter_placeholder' | t}}", "ng-model" => 'enterprise.twitter' } + %input.chunky{ id: 'enterprise_twitter', placeholder: "{{'registration.steps.social.twitter_placeholder' | t}}", "ng-model": 'enterprise.twitter' } .row .small-12.columns .field %label{ for: 'enterprise_instagram' }= t(".instagram")+":" - %input.chunky{ "id" => 'enterprise_instagram', "placeholder" => "{{'registration.steps.social.instagram_placeholder' | t}}", "ng-model" => 'enterprise.instagram' } + %input.chunky{ id: 'enterprise_instagram', placeholder: "{{'registration.steps.social.instagram_placeholder' | t}}", "ng-model": 'enterprise.instagram' } %span.error.small-12.columns#instagram-error{ style: "display: none" } .row.buttons .small-12.columns - %input.button.secondary{ "type" => "button", "value" => "{{'back' | t}}", "ng-click" => "select('images')" } + %input.button.secondary{ type: "button", value: "{{'back' | t}}", "ng-click": "select('images')" } %input.button.primary.right{ type: "submit", value: "{{'continue' | t}}" } diff --git a/app/views/registration/steps/_steps.html.haml b/app/views/registration/steps/_steps.html.haml index 611154fe76..44bd076de9 100644 --- a/app/views/registration/steps/_steps.html.haml +++ b/app/views/registration/steps/_steps.html.haml @@ -1,5 +1,5 @@ %script{ type: "text/ng-template", id: "registration/steps.html" } .row#progress-bar - .small-12.medium-2.columns.item{ "ng-repeat" => 'step in steps', "ng-class" => "{active: (currentStep() == step),'show-for-medium-up': (currentStep() != step)}" } + .small-12.medium-2.columns.item{ "ng-repeat": 'step in steps', "ng-class": "{active: (currentStep() == step),'show-for-medium-up': (currentStep() != step)}" } {{ $index+1 + ". " + ('registration.steps.' + step + '.title' | t) }} diff --git a/app/views/registration/steps/_type.html.haml b/app/views/registration/steps/_type.html.haml index 7a4ec8d8d5..654ddedded 100644 --- a/app/views/registration/steps/_type.html.haml +++ b/app/views/registration/steps/_type.html.haml @@ -10,24 +10,24 @@ %h4 = t(".question") - %form{ "name" => 'type', "novalidate" => true, "ng-controller" => "RegistrationFormCtrl", "ng-submit" => "create(type)" } - .row#enterprise-types{ "data-equalizer" => true, "ng-if" => "::enterprise.type != 'own'" } + %form{ name: 'type', novalidate: true, "ng-controller": "RegistrationFormCtrl", "ng-submit": "create(type)" } + .row#enterprise-types{ "data-equalizer": true, "ng-if": "::enterprise.type != 'own'" } .small-12.columns.field .row .small-12.medium-6.large-6.columns{ 'data-equalizer-watch' => true } - %a.btnpanel#producer-panel{ "href" => "#", "ng-click" => "enterprise.is_primary_producer = true", "ng-class" => "{selected: enterprise.is_primary_producer}" } + %a.btnpanel#producer-panel{ href: "#", "ng-click": "enterprise.is_primary_producer = true", "ng-class": "{selected: enterprise.is_primary_producer}" } %i.ofn-i_059-producer %h4= t(".yes_producer") .small-12.medium-6.large-6.columns{ 'data-equalizer-watch' => true } - %a.btnpanel#hub-panel{ "href" => "#", "ng-click" => "enterprise.is_primary_producer = false", "ng-class" => "{selected: enterprise.is_primary_producer == false}" } + %a.btnpanel#hub-panel{ href: "#", "ng-click": "enterprise.is_primary_producer = false", "ng-class": "{selected: enterprise.is_primary_producer == false}" } %i.ofn-i_063-hub %h4= t(".no_producer") .row .small-12.columns - %input.chunky{ "id" => 'enterprise_is_primary_producer', "name" => 'is_primary_producer', "type" => "hidden", "required" => true, "ng-model" => 'enterprise.is_primary_producer' } - %span.error{ "ng-show" => "type.is_primary_producer.$error.required && submitted" } + %input.chunky{ id: 'enterprise_is_primary_producer', name: 'is_primary_producer', type: "hidden", required: true, "ng-model": 'enterprise.is_primary_producer' } + %span.error{ "ng-show": "type.is_primary_producer.$error.required && submitted" } = t(".producer_field_error") .row .small-12.columns @@ -44,5 +44,5 @@ .row.buttons .small-12.columns - %input.button.secondary{ "type" => "button", "value" => "{{'back' | t}}", "ng-click" => "select('contact')" } - %input.button.primary.right{ "type" => "submit", "value" => t(".create_profile"), "ng-disabled" => 'isDisabled' } + %input.button.secondary{ type: "button", value: "{{'back' | t}}", "ng-click": "select('contact')" } + %input.button.primary.right{ type: "submit", value: t(".create_profile"), "ng-disabled": 'isDisabled' } diff --git a/app/views/shared/menu/_alert.html.haml b/app/views/shared/menu/_alert.html.haml index 077505ad84..787c1258cc 100644 --- a/app/views/shared/menu/_alert.html.haml +++ b/app/views/shared/menu/_alert.html.haml @@ -1,4 +1,4 @@ .text-center.page-alert.fixed{ "ofn-page-alert" => true } .alert-box = render 'shared/page_alert' - %a.close{ "ng-click" => "close()" } × + %a.close{ "ng-click": "close()" } × diff --git a/app/views/shared/menu/_cart_sidebar.html.haml b/app/views/shared/menu/_cart_sidebar.html.haml index ca68af1e30..16c057888f 100644 --- a/app/views/shared/menu/_cart_sidebar.html.haml +++ b/app/views/shared/menu/_cart_sidebar.html.haml @@ -1,5 +1,5 @@ -.expanding-sidebar.cart-sidebar{ "ng-controller" => 'CartCtrl', "ng-class" => "{'shown': showCartSidebar}" } - .background{ "ng-click" => 'toggleCartSidebar()' } +.expanding-sidebar.cart-sidebar{ "ng-controller": 'CartCtrl', "ng-class": "{'shown': showCartSidebar}" } + .background{ "ng-click": 'toggleCartSidebar()' } .sidebar = cache_with_locale "cart-header" do .cart-header @@ -7,7 +7,7 @@ = t('.items_in_cart_singular', num: "{{ Cart.total_item_count() }}") %span.title{"ng-show" => "Cart.line_items.length > 1"} = t('.items_in_cart_plural', num: "{{ Cart.total_item_count() }}") - %a.close{ "ng-click" => 'toggleCartSidebar()' } + %a.close{ "ng-click": 'toggleCartSidebar()' } = t('.close') %i.ofn-i_009-close @@ -40,7 +40,7 @@ %p = t('.cart_empty') - %a.go-shopping.button.large.bright{ "ng-show" => "#{show_shopping_cta?}", "ng-href" => "{{ CurrentHub.hub.id ? '#{main_app.shop_path}' : '#{main_app.shops_path}' }}" } + %a.go-shopping.button.large.bright{ "ng-show": "#{show_shopping_cta?}", "ng-href": "{{ CurrentHub.hub.id ? '#{main_app.shop_path}' : '#{main_app.shops_path}' }}" } = t('.take_me_shopping') .sidebar-footer{"ng-show" => "Cart.line_items.length > 0"} @@ -52,8 +52,8 @@ %div.fullwidth %a.edit-cart.button.large.dark.left{href: main_app.cart_path, "ng-disabled" => "Cart.dirty || Cart.empty()", "ng-class" => "{ dirty: Cart.dirty }"} - %div{ "ng-if" => "Cart.dirty" }= t(:cart_updating) - %div{ "ng-if" => "!Cart.dirty && Cart.empty()" }= t(:cart_empty) - %div{ "ng-if" => "!Cart.dirty && !Cart.empty()" }= t('.edit_cart') + %div{ "ng-if": "Cart.dirty" }= t(:cart_updating) + %div{ "ng-if": "!Cart.dirty && Cart.empty()" }= t(:cart_empty) + %div{ "ng-if": "!Cart.dirty && !Cart.empty()" }= t('.edit_cart') %a.checkout.button.large.bright.right{href: main_app.checkout_path, "ng-disabled" => "Cart.dirty || Cart.empty()"} = t '.checkout' diff --git a/app/views/shared/menu/_mobile_menu.html.haml b/app/views/shared/menu/_mobile_menu.html.haml index 6b178a40cf..544cb65631 100644 --- a/app/views/shared/menu/_mobile_menu.html.haml +++ b/app/views/shared/menu/_mobile_menu.html.haml @@ -14,7 +14,7 @@ %section.right{"ng-cloak" => true} %span.cart-span{"ng-class" => "{ dirty: Cart.dirty || Cart.empty(), 'pure-dirty': Cart.dirty }"} - %a.icon{ "ng-click" => 'toggleCartSidebar()' } + %a.icon{ "ng-click": 'toggleCartSidebar()' } %span = t '.cart' %span.count diff --git a/app/views/shared/menu/_offcanvas_menu.html.haml b/app/views/shared/menu/_offcanvas_menu.html.haml index d29f4d59b5..967c854acd 100644 --- a/app/views/shared/menu/_offcanvas_menu.html.haml +++ b/app/views/shared/menu/_offcanvas_menu.html.haml @@ -1,4 +1,4 @@ -%aside.left-off-canvas-menu.show-for-medium-down{ "ng-controller" => "OffcanvasCtrl" } +%aside.left-off-canvas-menu.show-for-medium-down{ "ng-controller": "OffcanvasCtrl" } %ul.off-canvas-list = cache_with_locale [ContentConfig.cache_key, @white_label_logo] do %li.ofn-logo diff --git a/app/views/shop/products/_filters.html.haml b/app/views/shop/products/_filters.html.haml index 1fa168ac58..8a929af886 100644 --- a/app/views/shop/products/_filters.html.haml +++ b/app/views/shop/products/_filters.html.haml @@ -1,6 +1,6 @@ = cache_with_locale do - .filter-shopfront.taxon-selectors{ "ng-show" => 'supplied_taxons != null' } + .filter-shopfront.taxon-selectors{ "ng-show": 'supplied_taxons != null' } %filter-selector{ 'selector-set' => "taxonSelectors", objects: "supplied_taxons", "active-selectors" => "activeTaxons"} - .filter-shopfront.property-selectors{ "ng-show" => 'supplied_properties != null' } + .filter-shopfront.property-selectors{ "ng-show": 'supplied_properties != null' } %filter-selector{ 'selector-set' => "propertySelectors", objects: "supplied_properties", "active-selectors" => "activeProperties"} diff --git a/app/views/shop/products/_form.html.haml b/app/views/shop/products/_form.html.haml index f82909ed36..b40ea8255b 100644 --- a/app/views/shop/products/_form.html.haml +++ b/app/views/shop/products/_form.html.haml @@ -31,22 +31,22 @@ .sticky-shop-filters-container.thin-scroll-bar.hide-for-medium-down.large-2.columns %h5.filter-header = t(:products_filter_by) - %span{ "ng-show" => 'filtersCount()' } + %span{ "ng-show": 'filtersCount()' } = "({{ filtersCount() }} #{t(:products_filter_selected)})" = render partial: "shop/products/filters" - .expanding-sidebar.shop-filters-sidebar.hide-for-large-up{ "ng-show" => 'showFilterSidebar', "ng-class" => "{'shown': showFilterSidebar}" } - .background{ "ng-click" => 'toggleFilterSidebar()' } + .expanding-sidebar.shop-filters-sidebar.hide-for-large-up{ "ng-show": 'showFilterSidebar', "ng-class": "{'shown': showFilterSidebar}" } + .background{ "ng-click": 'toggleFilterSidebar()' } .sidebar %h5 = t(:products_filter_by) - %span{ "ng-show" => 'filtersCount()' } + %span{ "ng-show": 'filtersCount()' } = "({{ filtersCount() }} #{t(:products_filter_selected)})" = render partial: "shop/products/filters" .sidebar-footer - %button.large.dark.left{ "type" => 'button', "ng-click" => 'clearFilters()' } + %button.large.dark.left{ type: 'button', "ng-click": 'clearFilters()' } = t(:products_filter_clear) - %button.large.bright.right{ "type" => 'button', "ng-click" => 'toggleFilterSidebar()' } + %button.large.bright.right{ type: 'button', "ng-click": 'toggleFilterSidebar()' } = t(:products_filter_done) diff --git a/app/views/shop/products/_search_feedback.haml b/app/views/shop/products/_search_feedback.haml index 6b605476a6..eb71015376 100644 --- a/app/views/shop/products/_search_feedback.haml +++ b/app/views/shop/products/_search_feedback.haml @@ -10,7 +10,7 @@ %span.filter-label = t :products_results_for - %span{ "ng-hide" => "!query" } + %span{ "ng-hide": "!query" } %span.applied-search {{ query }} = render partial: 'shop/products/applied_filters_feedback' @@ -21,5 +21,5 @@ %p.no-results = t :products_no_results_html, query: "{{query}}".html_safe = render partial: 'shop/products/applied_filters_feedback' - %button.clear-search{ "type" => 'button', "ng-click" => 'clearAll()' } + %button.clear-search{ type: 'button', "ng-click": 'clearAll()' } = t :products_clear_search diff --git a/app/views/shop/products/_searchbar.haml b/app/views/shop/products/_searchbar.haml index 9f133a7dc6..d1f2b65879 100644 --- a/app/views/shop/products/_searchbar.haml +++ b/app/views/shop/products/_searchbar.haml @@ -8,11 +8,11 @@ placeholder: t(:products_search), "ng-debounce" => "200", "disable-enter-with-blur" => true} - %a.clear{ "type" => 'button', "focus-search" => true, "ng-show" => 'query', "ng-click" => 'clearQuery()' } + %a.clear{ type: 'button', "focus-search": true, "ng-show": 'query', "ng-click": 'clearQuery()' } = image_pack_tag "icn-close.png" .hide-for-large-up - %button{ "type" => 'button', "ng-click" => 'toggleFilterSidebar()' } + %button{ type: 'button', "ng-click": 'toggleFilterSidebar()' } = t(:products_filter_heading) - %span{ "ng-show" => 'filtersCount()' } + %span{ "ng-show": 'filtersCount()' } ({{ filtersCount() }}) diff --git a/app/views/shop/products/_shop_variant_no_group_buy.html.haml b/app/views/shop/products/_shop_variant_no_group_buy.html.haml index 2b5c47494d..20fbb09901 100644 --- a/app/views/shop/products/_shop_variant_no_group_buy.html.haml +++ b/app/views/shop/products/_shop_variant_no_group_buy.html.haml @@ -1,20 +1,20 @@ = cache_with_locale do .small-5.medium-3.large-3.columns.variant-quantity-column.text-right{"ng-if" => "::!variant.product.group_buy"} - .variant-quantity-inputs{ "ng-if" => "variant.line_item.quantity == 0" } - %button.add-variant{ "type" => "button", "ng-click" => "add(1)", "ng-disabled" => "!canAdd(1)" } + .variant-quantity-inputs{ "ng-if": "variant.line_item.quantity == 0" } + %button.add-variant{ type: "button", "ng-click": "add(1)", "ng-disabled": "!canAdd(1)" } {{ "js.shopfront.variant.add_to_cart" | t }} - .variant-quantity-inputs{ "ng-if" => "variant.line_item.quantity != 0" } - %button.variant-quantity{ "type" => "button", "ng-click" => "add(-1)", "ng-disabled" => "!canAdd(-1)" }> + .variant-quantity-inputs{ "ng-if": "variant.line_item.quantity != 0" } + %button.variant-quantity{ type: "button", "ng-click": "add(-1)", "ng-disabled": "!canAdd(-1)" }> -# U+FF0D Fullwidth Hyphen-Minus - - %input.variant-quantity{ "type" => "number", "min" => "0", "max" => "{{ available() }}", "ng-model" => "variant.line_item.quantity", "ng-max" => "Infinity" }> - %button.variant-quantity{ "type" => "button", "ng-click" => "add(1)", "ng-disabled" => "!canAdd(1)" } + %input.variant-quantity{ type: "number", min: "0", max: "{{ available() }}", "ng-model": "variant.line_item.quantity", "ng-max": "Infinity" }> + %button.variant-quantity{ type: "button", "ng-click": "add(1)", "ng-disabled": "!canAdd(1)" } -# U+FF0B Fullwidth Plus Sign + - .variant-remaining-stock{ "ng-if" => "displayRemainingInStock()" } + .variant-remaining-stock{ "ng-if": "displayRemainingInStock()" } {{ "js.shopfront.variant.remaining_in_stock" | t:{quantity: available()} }} - .variant-quantity-display{ "ng-class" => "{visible: variant.line_item.quantity}" } + .variant-quantity-display{ "ng-class": "{visible: variant.line_item.quantity}" } {{ "js.shopfront.variant.quantity_in_cart" | t:{quantity: variant.line_item.quantity || 0} }} - %input{ "type" => :hidden, "name" => "variants[{{::variant.id}}]", "ng-model" => "variant.line_item.quantity" } + %input{ type: :hidden, name: "variants[{{::variant.id}}]", "ng-model": "variant.line_item.quantity" } diff --git a/app/views/shop/products/_shop_variant_with_group_buy.html.haml b/app/views/shop/products/_shop_variant_with_group_buy.html.haml index 1a4cfdc796..50b4812e5c 100644 --- a/app/views/shop/products/_shop_variant_with_group_buy.html.haml +++ b/app/views/shop/products/_shop_variant_with_group_buy.html.haml @@ -1,14 +1,14 @@ = cache_with_locale do .small-5.medium-3.large-3.columns.variant-quantity-column.text-right{"ng-if" => "::variant.product.group_buy"} - %button.add-variant{ "type" => "button", "ng-if" => "!variant.line_item.quantity", "ng-click" => "addBulk(1)", "ng-disabled" => "!canAdd(1)" } + %button.add-variant{ type: "button", "ng-if": "!variant.line_item.quantity", "ng-click": "addBulk(1)", "ng-disabled": "!canAdd(1)" } {{ "js.shopfront.variant.add_to_cart" | t }} - %button.bulk-buy.variant-quantity{ "type" => "button", "ng-if" => "variant.line_item.quantity", "ng-click" => "addBulk(0)" }> + %button.bulk-buy.variant-quantity{ type: "button", "ng-if": "variant.line_item.quantity", "ng-click": "addBulk(0)" }> {{ variant.line_item.quantity }} - %button.bulk-buy.variant-quantity{ "type" => "button", "ng-if" => "variant.line_item.quantity", "ng-click" => "addBulk(0)" } + %button.bulk-buy.variant-quantity{ type: "button", "ng-if": "variant.line_item.quantity", "ng-click": "addBulk(0)" } {{ variant.line_item.max_quantity || "-" }} %br - .variant-quantity-display{ "ng-class" => "{visible: variant.line_item.quantity}" } + .variant-quantity-display{ "ng-class": "{visible: variant.line_item.quantity}" } {{ "js.shopfront.variant.in_cart" | t }} - %input{ "type" => :hidden, "name" => "variants[{{::variant.id}}]", "ng-model" => "variant.line_item.quantity" } - %input{ "type" => :hidden, "name" => "variants[{{::variant.id}}]", "ng-model" => "variant.line_item.max_quantity" } + %input{ type: :hidden, name: "variants[{{::variant.id}}]", "ng-model": "variant.line_item.quantity" } + %input{ type: :hidden, name: "variants[{{::variant.id}}]", "ng-model": "variant.line_item.max_quantity" } diff --git a/app/views/shop/products/_summary.html.haml b/app/views/shop/products/_summary.html.haml index 0ee5f45f81..8163d6e903 100644 --- a/app/views/shop/products/_summary.html.haml +++ b/app/views/shop/products/_summary.html.haml @@ -10,7 +10,7 @@ %h3 %a{"ng-click" => "triggerProductModal()", href: 'javascript:void(0)'} %span{"ng-bind" => "::product.name"} - .product-description{ "data-controller" => "add-blank-to-link", "ng-bind-html" => "::product.description_html", "ng-click" => "triggerProductModal()", "ng-show" => "product.description_html.length" } + .product-description{ "data-controller": "add-blank-to-link", "ng-bind-html": "::product.description_html", "ng-click": "triggerProductModal()", "ng-show": "product.description_html.length" } %div{ "ng-switch" => "enterprise.visible" } .product-producer = t :products_from diff --git a/app/views/shopping_shared/_tabs.html.haml b/app/views/shopping_shared/_tabs.html.haml index 998fb72069..92d288a9f9 100644 --- a/app/views/shopping_shared/_tabs.html.haml +++ b/app/views/shopping_shared/_tabs.html.haml @@ -6,7 +6,7 @@ .columns.small-12.large-8 - shop_tabs.each do |tab| .page - %a{ "href" => "##{tab[:name]}_panel", "class" => ("selected" if tab[:default]), "data-action" => "tabs-and-panels#activate", "data-tabs-and-panels-target" => "tab" }=tab[:title] + %a{ href: "##{tab[:name]}_panel", data: { action: "tabs-and-panels#activate", "tabs-and-panels-target": "tab" }, class: ("selected" if tab[:default]) }=tab[:title] .columns.large-4.show-for-large-up = render partial: "shopping_shared/order_cycles" - shop_tabs.each do |tab| diff --git a/app/views/shops/_hubs.html.haml b/app/views/shops/_hubs.html.haml index e31265d5b5..5b9e1d3792 100644 --- a/app/views/shops/_hubs.html.haml +++ b/app/views/shops/_hubs.html.haml @@ -27,12 +27,12 @@ %a{href: "", "ng-click" => "showDistanceMatches()"} = t :hubs_distance_filter, location: "{{ nameMatchesFiltered[0].name }}" .more-controls - %span{ "ng-show" => "closed_shops_loading", "ng-cloak" => true } + %span{ "ng-show": "closed_shops_loading", "ng-cloak": true } = render partial: "components/spinner" - %span{ "ng-if" => "!show_closed", "ng-cloak" => true } - %a.button{ "href" => "", "ng-click" => "showClosedShops()" } + %span{ "ng-if": "!show_closed", "ng-cloak": true } + %a.button{ href: "", "ng-click": "showClosedShops()" } = t '.show_closed_shops' - %span{ "ng-if" => "show_closed", "ng-cloak" => true } - %a.button{ "href" => "", "ng-click" => "hideClosedShops()" } + %span{ "ng-if": "show_closed", "ng-cloak": true } + %a.button{ href: "", "ng-click": "hideClosedShops()" } = t '.hide_closed_shops' %a.button{href: main_app.map_path}= t '.show_on_map' diff --git a/app/views/shops/_skinny.html.haml b/app/views/shops/_skinny.html.haml index 8eae040429..2599bd7881 100644 --- a/app/views/shops/_skinny.html.haml +++ b/app/views/shops/_skinny.html.haml @@ -2,7 +2,7 @@ .row.active_table_row{"ng-if" => "hub.is_distributor", "ng-click" => "toggle($event)", "ng-class" => "{'closed' : !open(), 'is_distributor' : producer.is_distributor}"} .columns.small-12.medium-5.large-5.skinny-head %a.hub{"ng-href" => "{{::hub.path}}", "ng-attr-target" => "{{ embedded_layout ? '_blank' : undefined}}", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-change-hub" => "hub", "data-is-link" => "true"} - %i{ "ng-class" => "::hub.icon_font" } + %i{ "ng-class": "::hub.icon_font" } %span.margin-top.hub-name-listing{"ng-bind" => "::hub.name | truncate:40"} .columns.small-4.medium-2.large-2 @@ -13,9 +13,9 @@ .columns.small-5.medium-3.large-3.text-right.no-wrap.flex.flex-align-center.flex-justify-end{"ng-if" => "::hub.active"} %a.hub.open_closed.flex.flex-align-center{"ng-href" => "{{::hub.path}}", "ng-attr-target" => "{{ embedded_layout ? '_blank' : undefined}}", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-change-hub" => "hub"} - %span{ "ng-if" => "::current()" } + %span{ "ng-if": "::current()" } %em= t :hubs_shopping_here - %span{ "ng-if" => "::!current()" } + %span{ "ng-if": "::!current()" } %span{"ng-bind" => "::hub.orders_close_at | sensible_timeframe"} %i.ofn-i_068-shop-reversed.show-for-medium-up %span{style: "margin-left: 0.5rem;"} @@ -23,9 +23,9 @@ .columns.small-5.medium-3.large-3.text-right.no-wrap.flex.flex-align-center.flex-justify-end{"ng-if" => "::!hub.active"} %a.hub.open_closed.flex{"ng-href" => "{{::hub.path}}", "ng-attr-target" => "{{ embedded_layout ? '_blank' : undefined}}", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-change-hub" => "hub"} - %span{ "ng-if" => "::current()" } + %span{ "ng-if": "::current()" } %em= t :hubs_shopping_here - %span{ "ng-if" => "::!current()" } + %span{ "ng-if": "::!current()" } = t :hubs_orders_closed %i.ofn-i_068-shop-reversed.show-for-medium-up %span{style: "margin-left: 0.5rem;"} @@ -34,7 +34,7 @@ .row.active_table_row{"ng-if" => "!hub.is_distributor", "ng-class" => "closed"} .columns.small-12.medium-6.large-5.skinny-head %a.hub{"ng-click" => "openModal(hub)", "ng-class" => "{primary: hub.active, secondary: !hub.active}"} - %i{ "ng-class" => "hub.icon_font" } + %i{ "ng-class": "hub.icon_font" } %span.hub-name-listing{"ng-bind" => "::hub.name | truncate:40"} .columns.small-4.medium-2.large-2 @@ -43,5 +43,5 @@ %span.ellipsed{"ng-bind" => "::hub.address.state_name"} .columns.small-6.medium-3.large-4.text-right.no-wrap.flex.flex-align-center.flex-justify-end - %span{ "ng-if" => "::!current()" } + %span{ "ng-if": "::!current()" } %em= t :hubs_profile_only diff --git a/app/views/spree/admin/orders/_filters.html.haml b/app/views/spree/admin/orders/_filters.html.haml index 53dae3f8ae..fcf14a4441 100644 --- a/app/views/spree/admin/orders/_filters.html.haml +++ b/app/views/spree/admin/orders/_filters.html.haml @@ -7,7 +7,7 @@ .field-block.alpha.four.columns .date-range-filter.field = label_tag nil, t(:date_range) - .date-range-fields{ "data-controller" => "flatpickr", "data-flatpickr-mode-value" => "range" } + .date-range-fields{ data: { controller: "flatpickr", "flatpickr-mode-value": "range" } } = text_field_tag nil, nil, class: "datepicker", data: { "flatpickr-target": "instance", action: "flatpickr_clear@window->flatpickr#clear" } = text_field_tag "q[completed_at_gteq]", nil, "ng-model": "q.completed_at_gteq", data: { "flatpickr-target": "start" }, style: "display: none" = text_field_tag "q[completed_at_lteq]", nil, "ng-model": "q.completed_at_lteq", data: { "flatpickr-target": "end" }, style: "display: none" diff --git a/app/views/spree/admin/orders/_note.html.haml b/app/views/spree/admin/orders/_note.html.haml index fafc0a6821..fb46907191 100644 --- a/app/views/spree/admin/orders/_note.html.haml +++ b/app/views/spree/admin/orders/_note.html.haml @@ -1,10 +1,10 @@ %table.index.edit-note-table %tr.edit-note.hidden.total - %td{ "colspan" => "5", "style" => "position: relative;", "data-controller" => "input-char-count" } + %td{ colspan: "5", data: { controller: "input-char-count" }, style: "position: relative;" } %label = t(".note_label") = text_field_tag :note, @order.note, { maxLength: 280, data: { "input-char-count-target": "input" } } - %span.edit-note-count{ "style" => "position: absolute; right: 7px; top: 7px; font-size: 11px;", "data-input-char-count-target" => "count" } + %span.edit-note-count{ data: { "input-char-count-target": "count" }, style: "position: absolute; right: 7px; top: 7px; font-size: 11px;" } %td.actions = link_to '', '', class: 'save-note icon_link icon-ok no-text with-tip', data: { action: 'save' }, title: I18n.t('actions.save') diff --git a/app/views/spree/admin/orders/_table.html.haml b/app/views/spree/admin/orders/_table.html.haml index 5a35ab7c59..237e309106 100644 --- a/app/views/spree/admin/orders/_table.html.haml +++ b/app/views/spree/admin/orders/_table.html.haml @@ -10,7 +10,7 @@ %thead %tr %th - %input#selectAll{ "type" => 'checkbox', "data-checked-target" => "all", "data-action" => "change->checked#toggleAll" } + %input#selectAll{ type: 'checkbox', data: { "checked-target": "all", action: "change->checked#toggleAll" } } %th = t(:products_distributor) diff --git a/app/views/spree/admin/orders/bulk_management.html.haml b/app/views/spree/admin/orders/bulk_management.html.haml index 67ce532a65..15053c326f 100644 --- a/app/views/spree/admin/orders/bulk_management.html.haml +++ b/app/views/spree/admin/orders/bulk_management.html.haml @@ -12,41 +12,41 @@ = admin_inject_column_preferences module: 'admin.lineItems' = admin_inject_available_units -%div{ "id" => "table-filter", "ng-controller" => 'LineItemsCtrl' } +%div{ id: "table-filter", "ng-controller": 'LineItemsCtrl' } %fieldset %save-bar{ dirty: "bulk_order_form.$dirty", persist: "false" } - %input.red{ "type" => "button", "value" => "Save Changes", "ng-click" => "submit()", "ng-disabled" => "!bulk_order_form.$dirty" } + %input.red{ type: "button", value: "Save Changes", "ng-click": "submit()", "ng-disabled": "!bulk_order_form.$dirty" } %legend{ align: 'center'}= t(:search) %div{ :class => "sixteen columns alpha" } .quick_search.three.columns.alpha %label{ for: 'quick_filter' } %br - %input.quick-search.fullwidth{ "name" => "quick_filter", "type" => 'text', "placeholder" => t('admin.quick_search'), "ng-keypress" => "$event.keyCode === 13 && fetchResults()", "ng-model" => 'query' } + %input.quick-search.fullwidth{ name: "quick_filter", type: 'text', placeholder: t('admin.quick_search'), "ng-keypress": "$event.keyCode === 13 && fetchResults()", "ng-model": 'query' } .one.columns   .filter_select{ :class => "three columns" } %label{ :for => 'supplier_filter' } = t("admin.producer") %br - %input#supplier_filter.ofn-select2.fullwidth{ "type" => 'number', "min-search" => 5, "data" => 'suppliers', "placeholder" => "#{t(:all)}", "blank" => "{ id: '', name: '#{t(:all)}' }", "on-selecting" => "confirmRefresh", "ng-model" => 'supplierFilter' } + %input#supplier_filter.ofn-select2.fullwidth{ type: 'number', "min-search": 5, data: 'suppliers', placeholder: "#{t(:all)}", blank: "{ id: '', name: '#{t(:all)}' }", "on-selecting": "confirmRefresh", "ng-model": 'supplierFilter' } .filter_select{ :class => "three columns" } %label{ :for => 'distributor_filter' } = t("admin.shop") %br - %input#distributor_filter.ofn-select2.fullwidth{ "type" => 'number', "min-search" => 5, "data" => 'distributors', "placeholder" => "#{t(:all)}", "blank" => "{ id: '', name: '#{t(:all)}' }", "on-selecting" => "confirmRefresh", "ng-model" => 'distributorFilter' } + %input#distributor_filter.ofn-select2.fullwidth{ type: 'number', "min-search": 5, data: 'distributors', placeholder: "#{t(:all)}", blank: "{ id: '', name: '#{t(:all)}' }", "on-selecting": "confirmRefresh", "ng-model": 'distributorFilter' } .filter_select{ :class => "three columns" } %label{ :for => 'order_cycle_filter' } = t("admin.order_cycle") %br - %input#order_cycle_filter.ofn-select2.fullwidth{ "type" => 'number', "min-search" => 5, "data" => 'orderCycles', "placeholder" => "#{t(:all)}", "blank" => "{ id: '', name: '#{t(:all)}' }", "on-selecting" => "confirmRefresh", "ng-model" => 'orderCycleFilter' } + %input#order_cycle_filter.ofn-select2.fullwidth{ type: 'number', "min-search": 5, data: 'orderCycles', placeholder: "#{t(:all)}", blank: "{ id: '', name: '#{t(:all)}' }", "on-selecting": "confirmRefresh", "ng-model": 'orderCycleFilter' } .date_filter{class: "three columns"} %label = t("date_range") %br - %div{ "data-controller" => "flatpickr", "data-flatpickr-mode-value" => "range", "data-flatpickr-default-date" => "{{ [startDate, endDate] }}" } - %input.datepicker.fullwidth{ "class" => "datepicker", "data-flatpickr-target" => "instance" } - %input{ "type" => "text", "id" => 'start_date_filter', "ng-model" => "startDate", "style" => "display: none;", "data-flatpickr-target" => "start" } - %input{ "type" => "text", "id" => 'end_date_filter', "ng-model" => "endDate", "style" => "display: none;", "data-flatpickr-target" => "end" } + %div{ data: { controller: "flatpickr", "flatpickr-mode-value": "range", "flatpickr-default-date": "{{ [startDate, endDate] }}" } } + %input.datepicker.fullwidth{ class: "datepicker", data: { "flatpickr-target": "instance" } } + %input{ type: "text", id: 'start_date_filter', 'ng-model': "startDate", data: { "flatpickr-target": "start" }, style: "display: none;" } + %input{ type: "text", id: 'end_date_filter', 'ng-model': "endDate", data: { "flatpickr-target": "end" }, style: "display: none;" } .clearfix .actions.filter-actions @@ -55,9 +55,9 @@ %a.button{'ng-click' => 'resetSelectFilters()', "id": "clear_filters_button" } = t(:clear_filters) - %hr.divider.sixteen.columns.alpha.omega{ "ng-show" => 'unitsVariantSelected()' } + %hr.divider.sixteen.columns.alpha.omega{ "ng-show": 'unitsVariantSelected()' } - %div.sixteen.columns.alpha.omega#group_buy_calculation{ "ng-show" => 'unitsVariantSelected()', "ng-cloak" => true } + %div.sixteen.columns.alpha.omega#group_buy_calculation{ "ng-show": 'unitsVariantSelected()', "ng-cloak": true } .one.columns.alpha .shared_resource.four.columns.alpha %input{ type: 'checkbox', :id => 'shared_resource', 'ng-model' => 'sharedResource'} @@ -102,7 +102,7 @@ %hr.divider.sixteen.columns.alpha.omega .clear - %div{ "style" => "display: flex; justify-content: flex-start; column-gap: 10px; margin-bottom: 15px", "ng-hide" => 'RequestMonitor.loading || line_items.length == 0' } + %div{ style: "display: flex; justify-content: flex-start; column-gap: 10px; margin-bottom: 15px", "ng-hide": 'RequestMonitor.loading || line_items.length == 0' } -# This -20px is a hack to make the dropdowns align properly %div{ style: "margin-right: -20px;" } = render 'admin/shared/bulk_actions_dropdown' @@ -118,15 +118,15 @@ %h1 = t("admin.orders.bulk_management.loading") - %div{ "class" => "sixteen columns alpha", "ng-show" => '!RequestMonitor.loading && filteredLineItems.length == 0', "ng-cloak" => true } + %div{ class: "sixteen columns alpha", "ng-show": '!RequestMonitor.loading && filteredLineItems.length == 0', "ng-cloak": true } %h1#no_results = t("admin.orders.bulk_management.no_results") - .margin-bottom-50{ "ng-hide" => 'RequestMonitor.loading || filteredLineItems.length == 0', "ng-cloak" => true } + .margin-bottom-50{ "ng-hide": 'RequestMonitor.loading || filteredLineItems.length == 0', "ng-cloak": true } %form{ name: 'bulk_order_form' } - %table.index#listing_orders.bulk{ "class" => "sixteen columns alpha", "ng-show" => "initialized" } + %table.index#listing_orders.bulk{ class: "sixteen columns alpha", "ng-show": "initialized" } %thead - %tr{ "ng-controller" => "ColumnsCtrl" } + %tr{ "ng-controller": "ColumnsCtrl" } %th.bulk %input{ :type => "checkbox", :name => 'toggle_bulk', 'ng-click' => 'toggleAllCheckboxes()', 'ng-checked' => "allBoxesChecked()" } %th.order_no{ 'ng-show' => 'columns.order_no.visible' } @@ -166,7 +166,7 @@ = "#{t('admin.price')} (#{Spree::Money.currency_symbol})" %th.actions - %tr.line_item{ "ng-repeat" => "line_item in filteredLineItems = ( line_items | orderBy:sorting.predicate:sorting.reverse )", "ng-class-even" => "'even'", "ng-class-odd" => "'odd'", "ng-attr-id" => "li_{{line_item.id}}" } + %tr.line_item{ "ng-repeat": "line_item in filteredLineItems = ( line_items | orderBy:sorting.predicate:sorting.reverse )", "ng-class-even": "'even'", "ng-class-odd": "'odd'", "ng-attr-id": "li_{{line_item.id}}" } %td.bulk %input{ :type => "checkbox", :name => 'bulk', 'ng-model' => 'line_item.checked', 'ignore-dirty' => true } %td.order_no{ 'ng-show' => 'columns.order_no.visible' } {{ line_item.order.number }} @@ -180,17 +180,17 @@ %td.variant{ 'ng-show' => 'columns.variant.visible' } %a{ :href => '#', 'ng-click' => "setSelectedUnitsVariant(line_item.units_product,line_item.units_variant)" } {{ line_item.units_variant.full_name }} %td.quantity{ 'ng-show' => 'columns.quantity.visible' } - %input.show-dirty{ "type" => 'number', "name" => 'quantity', "id" => 'quantity', "min" => 1, "step" => 1, "ng-model" => "line_item.quantity", "ng-change" => "updateOnQuantity(line_item)", "ng-required" => "true", "ng-class" => '{"update-error": line_item.errors.quantity}' } - %span.error{ "ng-bind" => 'line_item.errors.quantity' } + %input.show-dirty{ type: 'number', name: 'quantity', id: 'quantity', min: 1, step: 1, "ng-model": "line_item.quantity", "ng-change": "updateOnQuantity(line_item)", "ng-required": "true", "ng-class": '{"update-error": line_item.errors.quantity}' } + %span.error{ "ng-bind": 'line_item.errors.quantity' } %td.max{ 'ng-show' => 'columns.max.visible' } {{ line_item.max_quantity }} %td.final_weight_volume{ 'ng-show' => 'columns.final_weight_volume.visible' } - %input.show-dirty{ "type" => 'number', "step" => 'any', "name" => 'final_weight_volume', "id" => 'final_weight_volume', "min" => 0, "ng-pattern" => '/[0-9]*[.]?[0-9]+/', "ng-model" => "line_item.final_weight_volume", "ng-readonly" => "unitValueLessThanZero(line_item)", "ng-change" => "weightAdjustedPrice(line_item)", "ng-required" => "true", "ng-class" => '{"update-error": line_item.errors.final_weight_volume}' } - %span.error{ "ng-bind" => 'line_item.errors.final_weight_volume' } + %input.show-dirty{ type: 'number', step: 'any', name: 'final_weight_volume', id: 'final_weight_volume', min: 0, "ng-pattern": '/[0-9]*[.]?[0-9]+/', "ng-model": "line_item.final_weight_volume", "ng-readonly": "unitValueLessThanZero(line_item)", "ng-change": "weightAdjustedPrice(line_item)", "ng-required": "true", "ng-class": '{"update-error": line_item.errors.final_weight_volume}' } + %span.error{ "ng-bind": 'line_item.errors.final_weight_volume' } %td.price{ 'ng-show' => 'columns.price.visible' } - %input.show-dirty{ "type" => 'text', "name" => 'price', "id" => 'price', "ng-value" => 'line_item.price * line_item.quantity | currency:""', "ng-readonly" => "true", "ng-class" => '{"update-error": line_item.errors.price}' } - %span.error{ "ng-bind" => 'line_item.errors.price' } + %input.show-dirty{ type: 'text', name: 'price', id: 'price', "ng-value": 'line_item.price * line_item.quantity | currency:""', "ng-readonly": "true", "ng-class": '{"update-error": line_item.errors.price}' } + %span.error{ "ng-bind": 'line_item.errors.price' } %td.actions - %a{ "class" => "edit-order icon-edit no-text", "confirm-link-click" => 'confirmRefresh()', "ng-href" => "/admin/orders/{{line_item.order.number}}/edit" } + %a{ class: "edit-order icon-edit no-text", "confirm-link-click": 'confirmRefresh()', "ng-href": "/admin/orders/{{line_item.order.number}}/edit" } %td.actions %a{ 'ng-click' => "deleteLineItem(line_item)", :class => "delete-line-item icon-trash no-text" } diff --git a/app/views/spree/admin/payment_methods/_providers.html.haml b/app/views/spree/admin/payment_methods/_providers.html.haml index 7080f6c739..15bd4ef979 100644 --- a/app/views/spree/admin/payment_methods/_providers.html.haml +++ b/app/views/spree/admin/payment_methods/_providers.html.haml @@ -1,4 +1,4 @@ -#provider-settings{ "ng-controller" => "ProvidersCtrl" } +#provider-settings{ "ng-controller": "ProvidersCtrl" } .row .alpha.four.columns = label :payment_method, :type, t('.provider') diff --git a/app/views/spree/admin/payment_methods/_stripe_connect.html.haml b/app/views/spree/admin/payment_methods/_stripe_connect.html.haml index 77dbfa0b79..28f1ad8f66 100644 --- a/app/views/spree/admin/payment_methods/_stripe_connect.html.haml +++ b/app/views/spree/admin/payment_methods/_stripe_connect.html.haml @@ -1,37 +1,37 @@ %fieldset.no-border-bottom#gateway_fields %legend{ align: "center"} = t(:provider_settings) - .preference-settings{ "ng-controller" => "StripeController" } + .preference-settings{ "ng-controller": "StripeController" } = fields_for :payment_method, @payment_method do |payment_method_form| .row .alpha.four.columns = payment_method_form.label :stripe_account_owner .omega.twelve.columns - if @stripe_account_holder.nil? || spree_current_user.enterprises.include?(@stripe_account_holder) - %input.ofn-select2.fullwidth#payment_method_preferred_enterprise_id{ "type" => 'number', "name" => 'payment_method[preferred_enterprise_id]', "placeholder" => t(".enterprise_select_placeholder"), "data" => 'shops', "ng-model" => 'paymentMethod.preferred_enterprise_id' } + %input.ofn-select2.fullwidth#payment_method_preferred_enterprise_id{ type: 'number', name: 'payment_method[preferred_enterprise_id]', placeholder: t(".enterprise_select_placeholder"), data: 'shops', "ng-model": 'paymentMethod.preferred_enterprise_id' } - else %strong= Enterprise.find_by(id: @payment_method)&.name - #stripe-account-status{ "ng-show" => "paymentMethod.preferred_enterprise_id" } - .alert-box.warning{ "ng-hide" => "stripe_account.status" } + #stripe-account-status{ "ng-show": "paymentMethod.preferred_enterprise_id" } + .alert-box.warning{ "ng-hide": "stripe_account.status" } = t(".loading_account_information_msg") - .alert-box.error{ "ng-show" => "stripe_account.status == 'stripe_disabled'" } + .alert-box.error{ "ng-show": "stripe_account.status == 'stripe_disabled'" } = t(".stripe_disabled_msg") - .alert-box.error{ "ng-show" => "stripe_account.status == 'request_failed'" } + .alert-box.error{ "ng-show": "stripe_account.status == 'request_failed'" } = t(".request_failed_msg") - .alert-box.error{ "ng-show" => "stripe_account.status == 'account_missing'" } + .alert-box.error{ "ng-show": "stripe_account.status == 'account_missing'" } = t(".account_missing_msg") - %a.button{ "target" => 'blank', "ng-href" => "{{current_enterprise_stripe_path()}}" } + %a.button{ target: 'blank', "ng-href": "{{current_enterprise_stripe_path()}}" } = t(".connect_one") %i.icon-chevron-right - .alert-box.error{ "ng-show" => "stripe_account.status == 'access_revoked'" } + .alert-box.error{ "ng-show": "stripe_account.status == 'access_revoked'" } = t(".access_revoked_msg") - .alert-box.ok{ "ng-show" => "stripe_account.status == 'connected'" } + .alert-box.ok{ "ng-show": "stripe_account.status == 'connected'" } .status %strong= t(".status") + ":" = t(".connected") diff --git a/app/views/spree/admin/products/index.html.haml b/app/views/spree/admin/products/index.html.haml index c237419b00..b78c73cb4f 100644 --- a/app/views/spree/admin/products/index.html.haml +++ b/app/views/spree/admin/products/index.html.haml @@ -2,7 +2,7 @@ = render 'spree/admin/products/index/data' = admin_inject_available_units -%div{ "ng-app" => 'ofn.admin', "ng-controller" => 'AdminProductEditCtrl', "ng-init" => 'initialise()' } +%div{ "ng-app": 'ofn.admin', "ng-controller": 'AdminProductEditCtrl', "ng-init": 'initialise()' } = render 'spree/admin/products/index/filters' %div{ 'ng-cloak' => true } diff --git a/app/views/spree/admin/products/index/_filters.html.haml b/app/views/spree/admin/products/index/_filters.html.haml index 042e12827e..57615eb09e 100644 --- a/app/views/spree/admin/products/index/_filters.html.haml +++ b/app/views/spree/admin/products/index/_filters.html.haml @@ -5,20 +5,20 @@ .quick_search.three.columns.alpha %label{ for: 'quick_filter' } %br - %input.quick-search.fullwidth{ "name" => "quick_filter", "type" => 'text', "placeholder" => t('admin.quick_search'), "ng-keypress" => "$event.keyCode === 13 && fetchProducts()", "ng-model" => 'q.query' } + %input.quick-search.fullwidth{ name: "quick_filter", type: 'text', placeholder: t('admin.quick_search'), "ng-keypress": "$event.keyCode === 13 && fetchProducts()", "ng-model": 'q.query' } .one.columns   .filter_select.three.columns %label{ for: 'producer_filter' }= t 'producer' %br - %select.fullwidth{ "id" => 'producer_filter', "ofn-select2-min-search" => 5, "ng-model" => 'q.producerFilter', "ng-options" => 'producer.id as producer.name for producer in producers' } + %select.fullwidth{ id: 'producer_filter', "ofn-select2-min-search": 5, "ng-model": 'q.producerFilter', "ng-options": 'producer.id as producer.name for producer in producers' } .filter_select.three.columns %label{ for: 'category_filter' }= t 'category' %br - %select.fullwidth{ "id" => 'category_filter', "ofn-select2-min-search" => 5, "ng-model" => 'q.categoryFilter', "ng-options" => 'taxon.id as taxon.name for taxon in taxons' } + %select.fullwidth{ id: 'category_filter', "ofn-select2-min-search": 5, "ng-model": 'q.categoryFilter', "ng-options": 'taxon.id as taxon.name for taxon in taxons' } .filter_select.three.columns %label{ for: 'import_filter' }= t 'import_date' %br - %select.fullwidth{ "id" => 'import_date_filter', "ofn-select2-min-search" => 5, "ng-model" => 'q.importDateFilter', "ng-init" => "importDates = #{@import_dates}; showLatestImport = #{@show_latest_import}", "ng-options" => 'date.id as date.name for date in importDates' } + %select.fullwidth{ id: 'import_date_filter', "ofn-select2-min-search": 5, "ng-model": 'q.importDateFilter', "ng-init": "importDates = #{@import_dates}; showLatestImport = #{@show_latest_import}", "ng-options": 'date.id as date.name for date in importDates' } .filter_clear.three.columns.omega %label{ for: 'clear_all_filters' } diff --git a/app/views/spree/admin/products/index/_products.html.haml b/app/views/spree/admin/products/index/_products.html.haml index 0acc890b82..58b1c4133e 100644 --- a/app/views/spree/admin/products/index/_products.html.haml +++ b/app/views/spree/admin/products/index/_products.html.haml @@ -1,7 +1,7 @@ %div.sixteen.columns.alpha{ 'ng-hide' => 'RequestMonitor.loading || products.length == 0' } %form{ name: 'bulk_product_form', autocomplete: "off" } %save-bar{ dirty: "bulk_product_form.$dirty", persist: "false" } - %input.red{ "type" => "button", "value" => t(:save_changes), "ng-click" => "submitProducts()", "ng-disabled" => "!bulk_product_form.$dirty" } + %input.red{ type: "button", value: t(:save_changes), "ng-click": "submitProducts()", "ng-disabled": "!bulk_product_form.$dirty" } %input{ type: "button", value: t(:close), 'ng-click' => "cancel('#{admin_products_path}')" } %table.index#listing_products.bulk diff --git a/app/views/spree/admin/products/index/_products_head.html.haml b/app/views/spree/admin/products/index/_products_head.html.haml index fafb59859b..9e6d7e7065 100644 --- a/app/views/spree/admin/products/index/_products_head.html.haml +++ b/app/views/spree/admin/products/index/_products_head.html.haml @@ -1,24 +1,24 @@ %colgroup %col.actions - %col.image{ "ng-show" => 'columns.image.visible' } - %col.producer{ "ng-show" => 'columns.producer.visible' } - %col.sku{ "ng-show" => 'columns.sku.visible' } - %col.name{ "ng-show" => 'columns.name.visible' } - %col.unit{ "ng-show" => 'columns.unit.visible' } - %col.display_as{ "ng-show" => 'columns.unit.visible' } - %col.price{ "ng-show" => 'columns.price.visible' } - %col.on_hand{ "ng-show" => 'columns.on_hand.visible' } - %col.on_demand{ "ng-show" => 'columns.on_demand.visible' } - %col.category{ "ng-show" => 'columns.category.visible' } - %col.tax_category{ "ng-show" => 'columns.tax_category.visible' } - %col.inherits_properties{ "ng-show" => 'columns.inherits_properties.visible' } - %col.import_date{ "ng-show" => 'columns.import_date.visible' } + %col.image{ "ng-show": 'columns.image.visible' } + %col.producer{ "ng-show": 'columns.producer.visible' } + %col.sku{ "ng-show": 'columns.sku.visible' } + %col.name{ "ng-show": 'columns.name.visible' } + %col.unit{ "ng-show": 'columns.unit.visible' } + %col.display_as{ "ng-show": 'columns.unit.visible' } + %col.price{ "ng-show": 'columns.price.visible' } + %col.on_hand{ "ng-show": 'columns.on_hand.visible' } + %col.on_demand{ "ng-show": 'columns.on_demand.visible' } + %col.category{ "ng-show": 'columns.category.visible' } + %col.tax_category{ "ng-show": 'columns.tax_category.visible' } + %col.inherits_properties{ "ng-show": 'columns.inherits_properties.visible' } + %col.import_date{ "ng-show": 'columns.import_date.visible' } %col.actions %col.actions %col.actions %thead - %tr{ "ng-controller" => "ColumnsCtrl" } + %tr{ "ng-controller": "ColumnsCtrl" } %th.left-actions %a{ 'ng-click' => 'toggleShowAllVariants()', :style => 'color: red; cursor: pointer' } = t(:expand_all) diff --git a/app/views/spree/admin/products/index/_products_variant.html.haml b/app/views/spree/admin/products/index/_products_variant.html.haml index fcb6a4030b..e66499f7c9 100644 --- a/app/views/spree/admin/products/index/_products_variant.html.haml +++ b/app/views/spree/admin/products/index/_products_variant.html.haml @@ -22,7 +22,7 @@ %input.field{ 'ng-model' => 'variant.on_demand', :name => 'variant_on_demand', 'ofn-track-variant' => 'on_demand', :type => 'checkbox' } %td{ 'ng-show' => 'columns.category.visible' } %td{ 'ng-show' => 'columns.tax_category.visible' } - %select.select2{ "name" => 'variant_tax_category_id', "ofn-track-variant" => 'tax_category_id', "ng-model" => 'variant.tax_category_id', "ng-options" => 'tax_category.id as tax_category.name for tax_category in tax_categories' } + %select.select2{ name: 'variant_tax_category_id', "ofn-track-variant": 'tax_category_id', "ng-model": 'variant.tax_category_id', "ng-options": 'tax_category.id as tax_category.name for tax_category in tax_categories' } %option{ value: '' }= t(:none) %td{ 'ng-show' => 'columns.inherits_properties.visible' } %td{ 'ng-show' => 'columns.import_date.visible' } diff --git a/app/views/spree/admin/products/new.html.haml b/app/views/spree/admin/products/new.html.haml index 3a64d197bf..db7968a1da 100644 --- a/app/views/spree/admin/products/new.html.haml +++ b/app/views/spree/admin/products/new.html.haml @@ -54,7 +54,7 @@ %br/ = f.text_field :price, { "class": "fullwidth", "ng-model": "product.price", "ng-value": "'#{@product.price}'" } = f.error_message_on :price - .four.columns{ "ng-app" => 'ofn.admin' } + .four.columns{ "ng-app": 'ofn.admin' } = f.field_container :unit_price do %div{style: "display: flex"} = f.label :unit_price, t(".unit_price") diff --git a/app/views/spree/admin/shared/_order_links.html.haml b/app/views/spree/admin/shared/_order_links.html.haml index d955650d12..41508a2ad2 100644 --- a/app/views/spree/admin/shared/_order_links.html.haml +++ b/app/views/spree/admin/shared/_order_links.html.haml @@ -7,12 +7,12 @@ %div.menu.hidden{"data-dropdown-target": "menu"} - order_links(@order).each do |link| - if link[:name] == t(:ship_order) - %a.menu_item{ "href" => link[:url], "target" => link[:target] || "_self", "data-modal-link-target-value" => dom_id(@order, :ship), "data-action" => "click->modal-link#open", "data-controller" => "modal-link" } + %a.menu_item{ href: link[:url], target: link[:target] || "_self", data: { "modal-link-target-value": dom_id(@order, :ship), "action": "click->modal-link#open", "controller": "modal-link" } } %span %i{ class: link[:icon] } %span=link[:name] - else - %a.menu_item{ "href" => link[:url], "target" => link[:target] || "_self", "data-method" => link[:method], "data-ujs-navigate" => link[:method] ? "false" : "undefined", "data-confirm" => link[:confirm] } + %a.menu_item{ href: link[:url], target: link[:target] || "_self", data: { method: link[:method], "ujs-navigate": link[:method] ? "false" : "undefined", confirm: link[:confirm] } } %span %i{ class: link[:icon] } %span=link[:name] diff --git a/app/views/spree/admin/shared/_status_message.html.haml b/app/views/spree/admin/shared/_status_message.html.haml index 01f236fd3f..5f0ce5824b 100644 --- a/app/views/spree/admin/shared/_status_message.html.haml +++ b/app/views/spree/admin/shared/_status_message.html.haml @@ -1,2 +1,2 @@ -%h6{ "id" => "status-message", "ng-style" => 'StatusMessage.statusMessage.style' } +%h6{ id: "status-message", "ng-style": 'StatusMessage.statusMessage.style' } {{ StatusMessage.statusMessage.text || " " }} diff --git a/app/views/spree/orders/_bought.html.haml b/app/views/spree/orders/_bought.html.haml index 67a6665658..5d80edbb05 100644 --- a/app/views/spree/orders/_bought.html.haml +++ b/app/views/spree/orders/_bought.html.haml @@ -1,18 +1,18 @@ -%tbody{ "ng-controller" => 'EditBoughtOrderController' } +%tbody{ "ng-controller": 'EditBoughtOrderController' } %tr - %td.toggle-bought{ "colspan" => 2, "ng-click" => 'showBought=!showBought' } + %td.toggle-bought{ colspan: 2, "ng-click": 'showBought=!showBought' } %h5.brick - %i{ "ng-class" => "{ 'ofn-i_007-caret-right': !showBought, 'ofn-i_005-caret-down': showBought}" } + %i{ "ng-class": "{ 'ofn-i_007-caret-right': !showBought, 'ofn-i_005-caret-down': showBought}" } = t(:orders_bought_items_notice, count: @order.finalised_line_items.to_a.sum(&:quantity)) %td.text-right{ colspan: 3 } - %a.edit-finalised.button.radius.expand.small{ "href" => changeable_orders_link_path, "ng-class" => "{secondary: !showBought, primary: showBought}" } + %a.edit-finalised.button.radius.expand.small{ href: changeable_orders_link_path, "ng-class": "{secondary: !showBought, primary: showBought}" } = t(:orders_bought_edit_button) %i.ofn-i_007-caret-right - @order.finalised_line_items.each do |line_item| - variant = line_item.variant - %tr.bought.line-item{ "class" => "line-item-#{line_item.id} variant-#{variant.id}", "ng-show" => 'showBought' } + %tr.bought.line-item{ class: "line-item-#{line_item.id} variant-#{variant.id}", "ng-show": 'showBought' } %td.cart-item-description %div.item-thumb-image @@ -31,5 +31,5 @@ = line_item.display_amount_with_adjustments.to_html unless line_item.quantity.nil? %td.bought-item-delete.text-center - %a{ "ng-click" => "removeEnabled && deleteLineItem(#{line_item.id})" } + %a{ "ng-click": "removeEnabled && deleteLineItem(#{line_item.id})" } %i.ofn-i_026-trash diff --git a/app/views/spree/orders/form/_update_buttons.html.haml b/app/views/spree/orders/form/_update_buttons.html.haml index 633ecf5b1d..be58dbbd4b 100644 --- a/app/views/spree/orders/form/_update_buttons.html.haml +++ b/app/views/spree/orders/form/_update_buttons.html.haml @@ -23,5 +23,5 @@ .columns.small-12.medium-3 = button_tag :class => 'button primary expand', :id => 'update-button', "ng-disabled" => 'update_order_form.$pristine' do %i.ofn-i_051-check-big - %span{ "ng-show" => 'update_order_form.$dirty' }= t(:save_changes) - %span{ "ng-hide" => 'update_order_form.$dirty' }= t(:order_saved) + %span{ "ng-show": 'update_order_form.$dirty' }= t(:save_changes) + %span{ "ng-hide": 'update_order_form.$dirty' }= t(:order_saved) diff --git a/app/views/spree/users/_authorised_shops.html.haml b/app/views/spree/users/_authorised_shops.html.haml index c965c9e50e..4e83917699 100644 --- a/app/views/spree/users/_authorised_shops.html.haml +++ b/app/views/spree/users/_authorised_shops.html.haml @@ -5,7 +5,7 @@ %tr %th= t(".shop_name") %th= t(".allow_charges?") - %tr.customer{ "id" => "customer{{ customer.id }}", "ng-repeat" => "customer in customers" } - %td.shop{ "ng-bind" => 'shopsByID[customer.enterprise_id].name' } + %tr.customer{ id: "customer{{ customer.id }}", "ng-repeat": "customer in customers" } + %td.shop{ "ng-bind": 'shopsByID[customer.enterprise_id].name' } %td.allow_charges{ tooltip: "{{ hasOneDefaultSavedCards() ? null : \'" + t('.no_default_saved_cards_tooltip') + "\' }}" } - %input{ "type" => 'checkbox', "name" => 'allow_charges', "ng-model" => 'customer.allow_charges', "ng-change" => 'customer.update()', "ng-disabled" => "!hasOneDefaultSavedCards()", "ng-true-value" => "true", "ng-false-value" => "false" } + %input{ type: 'checkbox', name: 'allow_charges', "ng-model": 'customer.allow_charges', "ng-change": 'customer.update()', "ng-disabled": "!hasOneDefaultSavedCards()", "ng-true-value": "true", "ng-false-value": "false" } diff --git a/app/views/spree/users/_cards.html.haml b/app/views/spree/users/_cards.html.haml index 4a61c8f7ec..25ef6c87eb 100644 --- a/app/views/spree/users/_cards.html.haml +++ b/app/views/spree/users/_cards.html.haml @@ -7,18 +7,18 @@ %button.button.secondary.tiny.help-btn{ "data-controller": "help-modal-link", "data-action": "click->help-modal-link#open", "data-help-modal-link-target-value": "saved_cards_modal" } %i.ofn-i_013-help - .saved_cards{ "ng-show" => 'savedCreditCards.length > 0' } + .saved_cards{ "ng-show": 'savedCreditCards.length > 0' } = render 'saved_cards' - .no_cards{ "ng-hide" => 'savedCreditCards.length > 0' } + .no_cards{ "ng-hide": 'savedCreditCards.length > 0' } = t(:you_have_no_saved_cards) - %button.button.primary{ "ng-click" => 'showForm()', "ng-hide" => 'CreditCard.visible' } + %button.button.primary{ "ng-click": 'showForm()', "ng-hide": 'CreditCard.visible' } = t(:add_a_card) .small-12.medium-6.columns - .new_card{ "ng-show" => 'CreditCard.visible', "ng-class" => '{visible: CreditCard.visible}' } + .new_card{ "ng-show": 'CreditCard.visible', "ng-class": '{visible: CreditCard.visible}' } %h3= t(:add_new_credit_card) = render 'new_card_form' - .authorised_shops{ "ng-controller" => 'AuthorisedShopsCtrl', "ng-hide" => 'CreditCard.visible || savedCreditCards.length == 0' } + .authorised_shops{ "ng-controller": 'AuthorisedShopsCtrl', "ng-hide": 'CreditCard.visible || savedCreditCards.length == 0' } %h3 = t('.authorised_shops') = render 'authorised_shops' diff --git a/app/views/spree/users/_new_card_form.html.haml b/app/views/spree/users/_new_card_form.html.haml index 3b9e1f8903..72bfafd14f 100644 --- a/app/views/spree/users/_new_card_form.html.haml +++ b/app/views/spree/users/_new_card_form.html.haml @@ -4,14 +4,14 @@ %label = t(:first_name) -# Changing name not permitted by default (in checkout) - can be enabled by setting an allow_name_change variable in $scope - %input#first_name{ "type" => :text, "name" => 'first_name', "required" => true, "ng-model" => "secrets.first_name", "ng-disabled" => "!allow_name_change", "ng-value" => "order.bill_address.firstname" } - %small.error{ "ng-show" => 'new_card_form.$submitted && new_card_form.first_name.$error.required' }= t(:error_required) + %input#first_name{ type: :text, name: 'first_name', required: true, "ng-model": "secrets.first_name", "ng-disabled": "!allow_name_change", "ng-value": "order.bill_address.firstname" } + %small.error{ "ng-show": 'new_card_form.$submitted && new_card_form.first_name.$error.required' }= t(:error_required) .small-6.columns %label = t(:last_name) - %input#last_name{ "type" => :text, "name" => "last_name", "required" => true, "ng-model" => "secrets.last_name", "ng-disabled" => "!allow_name_change", "ng-value" => "order.bill_address.lastname" } - %small.error{ "ng-show" => 'new_card_form.$submitted && new_card_form.last_name.$error.required' }= t(:error_required) + %input#last_name{ type: :text, name: "last_name", required: true, "ng-model": "secrets.last_name", "ng-disabled": "!allow_name_change", "ng-value": "order.bill_address.lastname" } + %small.error{ "ng-show": 'new_card_form.$submitted && new_card_form.last_name.$error.required' }= t(:error_required) .row .small-12.columns diff --git a/app/views/spree/users/_orders.html.haml b/app/views/spree/users/_orders.html.haml index ef750fe04c..db548000ee 100644 --- a/app/views/spree/users/_orders.html.haml +++ b/app/views/spree/users/_orders.html.haml @@ -1,10 +1,10 @@ %script{ type: "text/ng-template", id: "account/orders.html" } .orders{"ng-controller" => "OrdersCtrl", "ng-cloak" => true} - .my-open-orders{ "ng-show" => 'Orders.changeable.length > 0' } + .my-open-orders{ "ng-show": 'Orders.changeable.length > 0' } %h3= t('.open_orders') = render 'open_orders' - .past-orders{ "ng-show" => 'pastOrders.length > 0' } + .past-orders{ "ng-show": 'pastOrders.length > 0' } %h3= t('.past_orders') = render 'past_orders' .message{"ng-if" => "Orders.all.length == 0", "ng-bind" => "::'you_have_no_orders_yet' | t"} diff --git a/app/views/spree/users/_saved_cards.html.haml b/app/views/spree/users/_saved_cards.html.haml index ea1c2472e6..035d0849b1 100644 --- a/app/views/spree/users/_saved_cards.html.haml +++ b/app/views/spree/users/_saved_cards.html.haml @@ -5,12 +5,12 @@ %th= t(:card_expiry_date) %th= t('.default?') %th= t('.delete?') - %tr.card{ "id" => "card{{ card.id }}", "ng-repeat" => "card in savedCreditCards" } - %td.brand{ "ng-bind" => '::card.brand' } - %td.number{ "ng-bind" => '::card.number' } - %td.expiry{ "ng-bind" => '::card.expiry' } + %tr.card{ id: "card{{ card.id }}", "ng-repeat": "card in savedCreditCards" } + %td.brand{ "ng-bind": '::card.brand' } + %td.number{ "ng-bind": '::card.number' } + %td.expiry{ "ng-bind": '::card.expiry' } %td.is-default - %input{ "type" => 'radio', "name" => 'default_card', "ng-model" => 'card.is_default', "ng-click" => 'confirmSetDefault(card, $event)', "ng-value" => "true" } + %input{ type: 'radio', name: 'default_card', "ng-model": 'card.is_default', "ng-click": 'confirmSetDefault(card, $event)', "ng-value": "true" } %td.actions %button.tiny.alert.no-margin{ "ng-click": "deleteCard(card.id)" } = t(:delete) diff --git a/engines/web/app/views/web/angular_templates/cookies_banner.html.haml b/engines/web/app/views/web/angular_templates/cookies_banner.html.haml index 90cfe16b09..04b4b4ba20 100644 --- a/engines/web/app/views/web/angular_templates/cookies_banner.html.haml +++ b/engines/web/app/views/web/angular_templates/cookies_banner.html.haml @@ -11,5 +11,5 @@ {{ 'legal.cookies_banner.cookies_policy_link' | t}} .large-3.columns - %button{ "ng-controller" => "CookiesBannerCtrl", "ng-click" => "acceptCookies()" } + %button{ "ng-controller": "CookiesBannerCtrl", "ng-click": "acceptCookies()" } {{ 'legal.cookies_banner.cookies_accept_button' | t}} diff --git a/engines/web/app/views/web/angular_templates/cookies_policy.html.haml b/engines/web/app/views/web/angular_templates/cookies_policy.html.haml index 56b62ab23b..ab52054b24 100644 --- a/engines/web/app/views/web/angular_templates/cookies_policy.html.haml +++ b/engines/web/app/views/web/angular_templates/cookies_policy.html.haml @@ -12,7 +12,7 @@ %p {{ 'legal.cookies_policy.essential_cookies_desc' | t }} -%table{ "ng-controller" => "CookiesPolicyModalCtrl" } +%table{ "ng-controller": "CookiesPolicyModalCtrl" } = render_cookie_entry( "_ofn_session_id", "legal.cookies_policy.cookie_session_desc" ) = render_cookie_entry( "cookies_consent", "legal.cookies_policy.cookie_consent_desc" ) = render_cookie_entry( "remember_spree_user_token", "legal.cookies_policy.cookie_remember_me_desc" ) @@ -52,7 +52,7 @@ %p {{ 'legal.cookies_policy.statistics_cookies_matomo_desc_html' | t }} - %table{ "ng-controller" => "CookiesPolicyModalCtrl" } + %table{ "ng-controller": "CookiesPolicyModalCtrl" } = render_cookie_entry( "_pk_ref, _pk_cvar, _pk_id and _pk_ses", "legal.cookies_policy.cookie_matomo_basics_desc" ) = render_cookie_entry( "_pk_hsr, _pk_cvar, _pk_id and _pk_ses", "legal.cookies_policy.cookie_matomo_heatmap_desc" ) = render_cookie_entry( "piwik_ignore, _pk_cvar, _pk_id and _pk_ses", "legal.cookies_policy.cookie_matomo_ignore_desc" ) From 335c2475ab59462b5f59ca8f5007c500626f76b4 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Thu, 22 Feb 2024 20:09:43 +0100 Subject: [PATCH 020/374] hide alternative invoice checkbox if invoices feature is enabled --- app/views/admin/invoice_settings/edit.html.haml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/admin/invoice_settings/edit.html.haml b/app/views/admin/invoice_settings/edit.html.haml index 0647c38920..ec5e7e6e65 100644 --- a/app/views/admin/invoice_settings/edit.html.haml +++ b/app/views/admin/invoice_settings/edit.html.haml @@ -10,10 +10,11 @@ = check_box_tag 'preferences[enable_invoices?]', '1', Spree::Config[:enable_invoices?] = label_tag nil, t('.enable_invoices?') - .field.align-center - = hidden_field_tag 'preferences[invoice_style2?]', '0' - = check_box_tag 'preferences[invoice_style2?]', '1', Spree::Config[:invoice_style2?] - = label_tag nil, t('.invoice_style2?') + - if ! OpenFoodNetwork::FeatureToggle.enabled?(:invoices, spree_current_user) + .field.align-center + = hidden_field_tag 'preferences[invoice_style2?]', '0' + = check_box_tag 'preferences[invoice_style2?]', '1', Spree::Config[:invoice_style2?] + = label_tag nil, t('.invoice_style2?') .field.align-center = hidden_field_tag 'preferences[enterprise_number_required_on_invoices?]', '0' From 6e73558e66b6d1f2e6ea960f8cd7ecf4079ddba7 Mon Sep 17 00:00:00 2001 From: Filipe <49817236+filipefurtad0@users.noreply.github.com> Date: Fri, 23 Feb 2024 11:28:18 +0000 Subject: [PATCH 021/374] Update README.md Removes reference to Zenhub on the README.md from the main project repo. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index df29a3db1a..bd855e097d 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ We also have a [Super Admin Guide][super-admin-guide] to help with configuration ## Testing -If you'd like to help out with testing, please introduce yourself on the #testing channel on [Slack][slack-invite] and download the [ZenHub browser extension][zenhub] to view the development pipeline. Also, do have a look in our [Welcome New QAs board][welcome-qa] for some good first issues, both on manual and automated testing (RSpec/Capybara). +If you'd like to help out with testing, please introduce yourself on the #testing channel on [Slack][slack-invite]. Also, do have a look in our [Welcome New QAs board][welcome-qa] for some good first issues, both on manual and automated testing (RSpec/Capybara). We use [BrowserStack](https://www.browserstack.com/) as a manual testing tool. BrowserStack provides open source projects with unlimited and free of charge accounts. A big thanks to them! @@ -53,4 +53,3 @@ Copyright (c) 2012 - 2024 Open Food Foundation, released under the AGPL licence. [super-admin-guide]: https://ofn-user-guide.gitbook.io/ofn-super-admin-guide [welcome-dev]: https://github.com/orgs/openfoodfoundation/projects/5 [welcome-qa]: https://github.com/orgs/openfoodfoundation/projects/6 -[zenhub]: https://www.zenhub.com/extension From 884d6f15ff9893228d8c7daa166a22e8f015882b Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Sun, 25 Feb 2024 16:27:40 +0100 Subject: [PATCH 022/374] Replace a divs controller by an html details one - checked_controller close details element on checkboxes - dropdown_controller.js is to rebuild controller from many divs to be hidden and visible to an html detail elmnt one - details html element styling --- .../controllers/checked_controller.js | 8 ++++ .../controllers/dropdown_controller.js | 41 ++++++------------- app/webpacker/css/admin/dropdown.scss | 20 +++++++++ .../css/admin_v3/components/dropdown.scss | 20 +++++++++ 4 files changed, 61 insertions(+), 28 deletions(-) diff --git a/app/webpacker/controllers/checked_controller.js b/app/webpacker/controllers/checked_controller.js index 6317635fa4..acca8ec0dd 100644 --- a/app/webpacker/controllers/checked_controller.js +++ b/app/webpacker/controllers/checked_controller.js @@ -41,6 +41,13 @@ export default class extends Controller { return this.countValue === this.checkboxTargets.length; } + #closeDetails(elmnt) { + if (elmnt.getElementsByTagName('details').length == 0) + return; + + Array.from(elmnt.getElementsByTagName('details')).forEach((element) => element.open = false); + } + #toggleDisabled() { if (!this.hasDisableTarget) { return; @@ -48,6 +55,7 @@ export default class extends Controller { if (this.#checkedCount() === 0) { this.disableTargets.forEach((element) => element.classList.add("disabled")); + this.disableTargets.forEach(this.#closeDetails); } else { this.disableTargets.forEach((element) => element.classList.remove("disabled")); } diff --git a/app/webpacker/controllers/dropdown_controller.js b/app/webpacker/controllers/dropdown_controller.js index 19a3dc8b7a..844289e12c 100644 --- a/app/webpacker/controllers/dropdown_controller.js +++ b/app/webpacker/controllers/dropdown_controller.js @@ -1,44 +1,29 @@ import { Controller } from "stimulus"; export default class extends Controller { - static targets = ["arrow", "menu"]; connect() { - this.collapsedClasses = this.arrowTarget.dataset.collapsedClass.split(" "); - this.expandedClasses = this.arrowTarget.dataset.expandedClass.split(" "); - this.#hide(); - document.addEventListener("click", this.#onBodyClick.bind(this)); + document.body.addEventListener("click", this.#close.bind(this)); + this.element.addEventListener("click", this.#stopPropagation.bind(this)); } disconnect() { - document.removeEventListener("click", this.#onBodyClick); + document.removeEventListener("click", this.#close); + document.removeEventListener("click", this.#stopPropagation); } - toggle() { - if (this.element.classList.contains("disabled")) { - return; - } - if (this.menuTarget.classList.contains("hidden")) { - this.#show(); - } else { - this.#hide(); - } + closeOnMenu(event) { + this.#close(); + this.#stopPropagation(event); } - #onBodyClick(event) { - if (!this.element.contains(event.target)) { - this.#hide(); - } + // private + + #close(event) { + this.element.open = false; } - #show() { - this.menuTarget.classList.remove("hidden"); - this.arrowTarget.classList.remove(...this.collapsedClasses); - this.arrowTarget.classList.add(...this.expandedClasses); - } - #hide() { - this.menuTarget.classList.add("hidden"); - this.arrowTarget.classList.remove(...this.expandedClasses); - this.arrowTarget.classList.add(...this.collapsedClasses); + #stopPropagation(event) { + event.stopPropagation(); } } diff --git a/app/webpacker/css/admin/dropdown.scss b/app/webpacker/css/admin/dropdown.scss index 64c98e7ddf..443d8b46e3 100644 --- a/app/webpacker/css/admin/dropdown.scss +++ b/app/webpacker/css/admin/dropdown.scss @@ -47,6 +47,7 @@ &.disabled { opacity: 0.5; + pointer-events: none; &:hover { cursor: default; @@ -179,6 +180,25 @@ background-color: #ededed; } } + + > details > summary { + display: inline-block; + list-style: none; + width: auto; + text-transform: uppercase; + font-size: 85%; + font-weight: 600; + } + + > details > summary:after { + content: "\f0d7"; + font-family: FontAwesome; + } + + > details[open] > summary:after { + content: "\f0d8"; + font-family: FontAwesome; + } } .ofn-drop-down-v2 { diff --git a/app/webpacker/css/admin_v3/components/dropdown.scss b/app/webpacker/css/admin_v3/components/dropdown.scss index 6a93884aeb..bf2a36c75b 100644 --- a/app/webpacker/css/admin_v3/components/dropdown.scss +++ b/app/webpacker/css/admin_v3/components/dropdown.scss @@ -47,6 +47,7 @@ &.disabled { opacity: 0.5; + pointer-events: none; &:hover { cursor: default; @@ -179,6 +180,25 @@ background-color: #ededed; } } + + > details > summary { + display: inline-block; + list-style: none; + width: auto; + text-transform: uppercase; + font-size: 85%; + font-weight: 600; + } + + > details > summary:after { + content: "\f0d7"; + font-family: FontAwesome; + } + + > details[open] > summary:after { + content: "\f0d8"; + font-family: FontAwesome; + } } .ofn-drop-down-v2 { From 428b9b273c6148bd23a82e99caba351292576449 Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Sun, 25 Feb 2024 16:33:29 +0100 Subject: [PATCH 023/374] Replace old dropdown controller by new one - menu items line are unchanged only beggining of file modified --- .../admin/orders/_bulk_actions.html.haml | 35 +++++++++---------- .../spree/admin/shared/_order_links.html.haml | 35 ++++++++++--------- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/app/views/spree/admin/orders/_bulk_actions.html.haml b/app/views/spree/admin/orders/_bulk_actions.html.haml index 7616334c1f..74c032ed55 100644 --- a/app/views/spree/admin/orders/_bulk_actions.html.haml +++ b/app/views/spree/admin/orders/_bulk_actions.html.haml @@ -3,23 +3,22 @@ %span{ "data-controller": "checked-feedback", "data-checked-feedback-translation-value": "spree.admin.orders.index.selected" } = t("spree.admin.orders.index.selected", count: 0) - %div.plain.ofn-drop-down.disabled{ "data-checked-target": "disable", "data-controller": "dropdown", "data-action": "click->dropdown#toggle" } - %span{ class: 'icon-reorder' } - ="#{t('admin.actions')}".html_safe - %span - %i{ "data-dropdown-target": "arrow", "data-expanded-class": "icon-caret-up", "data-collapsed-class": "icon-caret-down" } - - %div.menu{ "data-dropdown-target": "menu" } - %div.menu_item - %span.name{ "data-controller": "modal-link", "data-action": "click->modal-link#open", "data-modal-link-target-value": "resend_confirmation" } - = t('spree.admin.orders.index.resend_confirmation') - - if Spree::Config[:enable_invoices?] + %div.plain.ofn-drop-down.disabled{ "data-checked-target": "disable" } + %details{"data-controller": "dropdown"} + %summary + %span.icon-reorder + ="#{t('admin.actions')}".html_safe + %div.menu{"data-action": "click->dropdown#closeOnMenu"} %div.menu_item - %span.name{ "data-controller": "modal-link", "data-action": "click->modal-link#open", "data-modal-link-target-value": "send_invoice" } - = t('spree.admin.orders.index.send_invoice') + %span.name{ "data-controller": "modal-link", "data-action": "click->modal-link#open", "data-modal-link-target-value": "resend_confirmation" } + = t('spree.admin.orders.index.resend_confirmation') + - if Spree::Config[:enable_invoices?] + %div.menu_item + %span.name{ "data-controller": "modal-link", "data-action": "click->modal-link#open", "data-modal-link-target-value": "send_invoice" } + = t('spree.admin.orders.index.send_invoice') + %div.menu_item + %span.name{ "data-controller": "bulk-actions", "data-action": "click->bulk-actions#perform", "data-bulk-actions-reflex-value": "Admin::Orders#bulk_invoice" } + = t('spree.admin.orders.index.print_invoices') %div.menu_item - %span.name{ "data-controller": "bulk-actions", "data-action": "click->bulk-actions#perform", "data-bulk-actions-reflex-value": "Admin::Orders#bulk_invoice" } - = t('spree.admin.orders.index.print_invoices') - %div.menu_item - %span.name{ "data-controller": "modal-link", "data-action": "click->modal-link#open", "data-modal-link-target-value": "cancel_orders" } - = t('spree.admin.orders.index.cancel_orders') + %span.name{ "data-controller": "modal-link", "data-action": "click->modal-link#open", "data-modal-link-target-value": "cancel_orders" } + = t('spree.admin.orders.index.cancel_orders') diff --git a/app/views/spree/admin/shared/_order_links.html.haml b/app/views/spree/admin/shared/_order_links.html.haml index 41508a2ad2..9af75fffd8 100644 --- a/app/views/spree/admin/shared/_order_links.html.haml +++ b/app/views/spree/admin/shared/_order_links.html.haml @@ -1,20 +1,21 @@ %li.links-dropdown#links-dropdown - .ofn-drop-down{"data-controller": "dropdown", "data-action": "click->dropdown#toggle" } - %span - %i.icon-check - = I18n.t 'admin.actions' - %i{ "data-dropdown-target": "arrow", "data-expanded-class": "icon-caret-up", "data-collapsed-class": "icon-caret-down" } - %div.menu.hidden{"data-dropdown-target": "menu"} - - order_links(@order).each do |link| - - if link[:name] == t(:ship_order) - %a.menu_item{ href: link[:url], target: link[:target] || "_self", data: { "modal-link-target-value": dom_id(@order, :ship), "action": "click->modal-link#open", "controller": "modal-link" } } - %span - %i{ class: link[:icon] } - %span=link[:name] - - else - %a.menu_item{ href: link[:url], target: link[:target] || "_self", data: { method: link[:method], "ujs-navigate": link[:method] ? "false" : "undefined", confirm: link[:confirm] } } - %span - %i{ class: link[:icon] } - %span=link[:name] + .ofn-drop-down + %details{"data-controller": "dropdown"} + %summary + %span + %i.icon-check + = I18n.t 'admin.actions' + %div.menu{"data-action": "click->dropdown#closeOnMenu"} + - order_links(@order).each do |link| + - if link[:name] == t(:ship_order) + %a.menu_item{ href: link[:url], target: link[:target] || "_self", data: { "modal-link-target-value": dom_id(@order, :ship), "action": "click->modal-link#open", "controller": "modal-link" } } + %span + %i{ class: link[:icon] } + %span=link[:name] + - else + %a.menu_item{ href: link[:url], target: link[:target] || "_self", data: { method: link[:method], "ujs-navigate": link[:method] ? "false" : "undefined", confirm: link[:confirm] } } + %span + %i{ class: link[:icon] } + %span=link[:name] = render 'spree/admin/shared/custom-confirm' From b08623df232e54024985d4178bb671142413540d Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Sun, 25 Feb 2024 16:40:44 +0100 Subject: [PATCH 024/374] Sytem specs + controller spec - controller spec is lighter since it is based on an html element --- .../stimulus/dropdown_controller_test.js | 62 ++++++------------- spec/system/admin/order_spec.rb | 4 +- spec/system/admin/orders_spec.rb | 5 +- 3 files changed, 23 insertions(+), 48 deletions(-) diff --git a/spec/javascripts/stimulus/dropdown_controller_test.js b/spec/javascripts/stimulus/dropdown_controller_test.js index 2f1bceaf4d..9e8c60c5ed 100644 --- a/spec/javascripts/stimulus/dropdown_controller_test.js +++ b/spec/javascripts/stimulus/dropdown_controller_test.js @@ -13,13 +13,20 @@ describe("Dropdown controller", () => { describe("Controller", () => { beforeEach(() => { - document.body.innerHTML = `
- - - - + document.body.innerHTML = `
+
`; }); @@ -27,48 +34,15 @@ describe("Dropdown controller", () => { document.body.innerHTML = ""; }); - it("hide menu by default", () => { - const menu = document.getElementById("menu"); - expect(menu.classList.contains("hidden")).toBe(true); - }); - - it("show menu when toggle and add/remove class on arrow", () => { - const dropdown = document.getElementById("dropdown"); - const arrow = document.getElementById("arrow"); - const menu = document.getElementById("menu"); - expect(menu.classList.contains("hidden")).toBe(true); - expect(arrow.classList.contains("expandedClass")).toBe(false); - expect(arrow.classList.contains("expandedClass2")).toBe(false); - expect(arrow.classList.contains("collapsedClass")).toBe(true); - - dropdown.click(); - - expect(menu.classList.contains("hidden")).toBe(false); - expect(arrow.classList.contains("expandedClass")).toBe(true); - expect(arrow.classList.contains("expandedCLass2")).toBe(true); - expect(arrow.classList.contains("collapsedClass")).toBe(false); - }); - it ("hide menu when click outside", () => { const dropdown = document.getElementById("dropdown"); const menu = document.getElementById("menu"); - dropdown.click(); - expect(menu.classList.contains("hidden")).toBe(false); - + //open the details + dropdown.toggleAttribute('open') + //click elsewhere document.body.click(); - expect(menu.classList.contains("hidden")).toBe(true); - }); - - it ("do not display menu when disabled", () => { - const dropdown = document.getElementById("dropdown"); - const container = document.getElementById("container"); - const menu = document.getElementById("menu"); - container.classList.add("disabled"); - - dropdown.click(); - - expect(menu.classList.contains("hidden")).toBe(true); + expect(dropdown.open).toBe(false); }); }); }); diff --git a/spec/system/admin/order_spec.rb b/spec/system/admin/order_spec.rb index 8ec2dc5867..b4de995c69 100644 --- a/spec/system/admin/order_spec.rb +++ b/spec/system/admin/order_spec.rb @@ -719,7 +719,7 @@ describe ' it "should not display links but a js alert" do visit spree.edit_admin_order_path(order) - find("#links-dropdown .ofn-drop-down").click + find("#links-dropdown .ofn-drop-down details").click expect(page).to have_link "Send Invoice", href: "#" expect(page).to have_link "Print Invoice", href: "#" @@ -729,7 +729,7 @@ describe ' expect(message) .to eq "#{distributor1.name} must have a valid ABN before invoices can be used." - find("#links-dropdown .ofn-drop-down").click + find("#links-dropdown .ofn-drop-down details").click message = accept_prompt do click_link "Send Invoice" end diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index b9f29d296b..22bd0b7841 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -497,8 +497,9 @@ describe ' expect(page.find( "#listing_orders tbody tr td:first-child input[type=checkbox]" )).to_not be_checked - # disables print invoices button - page.find("span.icon-reorder", text: "ACTIONS").click + # disables print invoices button not clickable + expect { find("span.icon-reorder", text: "ACTIONS").click } + .to raise_error(Capybara::Cuprite::MouseEventFailed) expect(page).to_not have_content "Print Invoices" end end From f8c0edd68bef490ca0f715b170b3864c163af445 Mon Sep 17 00:00:00 2001 From: Feruz Oripov Date: Mon, 26 Feb 2024 23:05:25 +0500 Subject: [PATCH 025/374] Update CompleteOrdersWithBalanceQuery --- app/controllers/spree/users_controller.rb | 2 +- ...b => complete_orders_with_balance_query.rb} | 4 ++-- app/queries/outstanding_balance.rb | 2 +- app/serializers/api/order_serializer.rb | 2 +- ...complete_orders_with_balance_query_spec.rb} | 18 ++++++++---------- 5 files changed, 13 insertions(+), 15 deletions(-) rename app/queries/{complete_orders_with_balance.rb => complete_orders_with_balance_query.rb} (88%) rename spec/queries/{complete_orders_with_balance_spec.rb => complete_orders_with_balance_query_spec.rb} (73%) diff --git a/app/controllers/spree/users_controller.rb b/app/controllers/spree/users_controller.rb index 60b7b33e26..4feff9bf7a 100644 --- a/app/controllers/spree/users_controller.rb +++ b/app/controllers/spree/users_controller.rb @@ -79,7 +79,7 @@ module Spree private def orders_collection - CompleteOrdersWithBalance.new(@user).query + CompleteOrdersWithBalanceQuery.new(@user).call end def load_object diff --git a/app/queries/complete_orders_with_balance.rb b/app/queries/complete_orders_with_balance_query.rb similarity index 88% rename from app/queries/complete_orders_with_balance.rb rename to app/queries/complete_orders_with_balance_query.rb index 57223e5c6e..665e2d2838 100644 --- a/app/queries/complete_orders_with_balance.rb +++ b/app/queries/complete_orders_with_balance_query.rb @@ -1,12 +1,12 @@ # frozen_string_literal: true # Fetches complete orders of the specified user including their balance as a computed column -class CompleteOrdersWithBalance +class CompleteOrdersWithBalanceQuery def initialize(user) @user = user end - def query + def call OutstandingBalance.new(sorted_finalized_orders).query end diff --git a/app/queries/outstanding_balance.rb b/app/queries/outstanding_balance.rb index 637451b25c..b157739b29 100644 --- a/app/queries/outstanding_balance.rb +++ b/app/queries/outstanding_balance.rb @@ -7,7 +7,7 @@ # Alternatively, you can get the SQL by calling #statement, which is suitable for more complex # cases. # -# See CompleteOrdersWithBalance or CustomersWithBalance as examples. +# See CompleteOrdersWithBalanceQuery or CustomersWithBalance as examples. # # Note this query object and `app/models/concerns/balance.rb` should implement the same behavior # until we find a better way. If you change one, please, change the other too. diff --git a/app/serializers/api/order_serializer.rb b/app/serializers/api/order_serializer.rb index 067d23b76d..900d2aeaa0 100644 --- a/app/serializers/api/order_serializer.rb +++ b/app/serializers/api/order_serializer.rb @@ -9,7 +9,7 @@ module Api has_many :payments, serializer: Api::PaymentSerializer - # This method relies on `balance_value` as a computed DB column. See `CompleteOrdersWithBalance` + # This method relies on `balance_value` as a computed DB column. See `CompleteOrdersWithBalanceQuery` # for reference. def outstanding_balance -object.balance_value diff --git a/spec/queries/complete_orders_with_balance_spec.rb b/spec/queries/complete_orders_with_balance_query_spec.rb similarity index 73% rename from spec/queries/complete_orders_with_balance_spec.rb rename to spec/queries/complete_orders_with_balance_query_spec.rb index a587153766..f0988bc532 100644 --- a/spec/queries/complete_orders_with_balance_spec.rb +++ b/spec/queries/complete_orders_with_balance_query_spec.rb @@ -2,10 +2,10 @@ require 'spec_helper' -describe CompleteOrdersWithBalance do - let(:complete_orders_with_balance) { described_class.new(user) } +describe CompleteOrdersWithBalanceQuery do + let(:result) { described_class.new(user).call } - describe '#query' do + describe '#call' do let(:user) { order.user } let(:outstanding_balance) { instance_double(OutstandingBalance) } @@ -28,17 +28,16 @@ describe CompleteOrdersWithBalance do allow(OutstandingBalance).to receive(:new).and_return(outstanding_balance) expect(outstanding_balance).to receive(:query) - complete_orders_with_balance.query + result end it 'returns complete orders including their balance' do - order = complete_orders_with_balance.query.first + order = result.first expect(order[:balance_value]).to eq(-1.0) end it 'sorts them by their completed_at with the most recent first' do - orders = complete_orders_with_balance.query - expect(orders.pluck(:id)).to eq([other_order.id, order.id]) + expect(result.pluck(:id)).to eq([other_order.id, order.id]) end end @@ -49,12 +48,11 @@ describe CompleteOrdersWithBalance do allow(OutstandingBalance).to receive(:new).and_return(outstanding_balance) expect(outstanding_balance).to receive(:query) - complete_orders_with_balance.query + result end it 'returns an empty array' do - order = complete_orders_with_balance.query - expect(order).to be_empty + expect(result).to be_empty end end end From d4f37a3daabd88a01780b4c5331226dcbb0b7389 Mon Sep 17 00:00:00 2001 From: Feruz Oripov Date: Mon, 26 Feb 2024 23:08:21 +0500 Subject: [PATCH 026/374] Update CompleteVisibleOrdersQuery --- ...le_orders.rb => complete_visible_orders_query.rb} | 4 ++-- lib/reporting/line_items.rb | 2 +- lib/reporting/reports/bulk_coop/base.rb | 2 +- ...spec.rb => complete_visible_orders_query_spec.rb} | 12 ++++++------ 4 files changed, 10 insertions(+), 10 deletions(-) rename app/queries/{complete_visible_orders.rb => complete_visible_orders_query.rb} (83%) rename spec/queries/{complete_visible_orders_spec.rb => complete_visible_orders_query_spec.rb} (72%) diff --git a/app/queries/complete_visible_orders.rb b/app/queries/complete_visible_orders_query.rb similarity index 83% rename from app/queries/complete_visible_orders.rb rename to app/queries/complete_visible_orders_query.rb index 10eabe4f6d..22e427fec6 100644 --- a/app/queries/complete_visible_orders.rb +++ b/app/queries/complete_visible_orders_query.rb @@ -1,11 +1,11 @@ # frozen_string_literal: true -class CompleteVisibleOrders +class CompleteVisibleOrdersQuery def initialize(order_permissions) @order_permissions = order_permissions end - def query + def call order_permissions.visible_orders.complete end diff --git a/lib/reporting/line_items.rb b/lib/reporting/line_items.rb index a949e02dce..fe56194417 100644 --- a/lib/reporting/line_items.rb +++ b/lib/reporting/line_items.rb @@ -7,7 +7,7 @@ module Reporting @order_permissions = order_permissions @params = params complete_not_canceled_visible_orders = - CompleteVisibleOrders.new(order_permissions).query.not_state(:canceled) + CompleteVisibleOrdersQuery.new(order_permissions).call.not_state(:canceled) @orders_relation = orders_relation || complete_not_canceled_visible_orders end diff --git a/lib/reporting/reports/bulk_coop/base.rb b/lib/reporting/reports/bulk_coop/base.rb index bf48a6a9d8..5bb079d923 100644 --- a/lib/reporting/reports/bulk_coop/base.rb +++ b/lib/reporting/reports/bulk_coop/base.rb @@ -35,7 +35,7 @@ module Reporting @report_line_items ||= Reporting::LineItems.new( order_permissions, @params, - CompleteVisibleOrders.new(order_permissions).query + CompleteVisibleOrdersQuery.new(order_permissions).call ) end diff --git a/spec/queries/complete_visible_orders_spec.rb b/spec/queries/complete_visible_orders_query_spec.rb similarity index 72% rename from spec/queries/complete_visible_orders_spec.rb rename to spec/queries/complete_visible_orders_query_spec.rb index 2018674338..982c567e1f 100644 --- a/spec/queries/complete_visible_orders_spec.rb +++ b/spec/queries/complete_visible_orders_query_spec.rb @@ -2,11 +2,11 @@ require 'spec_helper' -describe CompleteVisibleOrders do - subject(:complete_visible_orders) { described_class.new(order_permissions) } +describe CompleteVisibleOrdersQuery do + subject(:result) { described_class.new(order_permissions).call } let(:filter_canceled) { false } - describe '#query' do + describe '#call' do let(:user) { create(:user) } let(:enterprise) { create(:enterprise) } let(:order_permissions) { Permissions::Order.new(user, filter_canceled) } @@ -20,7 +20,7 @@ describe CompleteVisibleOrders do let(:cart_order) { create(:order, distributor: enterprise) } it 'does not return it' do - expect(complete_visible_orders.query).not_to include(cart_order) + expect(result).not_to include(cart_order) end end @@ -28,13 +28,13 @@ describe CompleteVisibleOrders do let(:complete_order) { create(:order, completed_at: 1.day.ago, distributor: enterprise) } it 'does not return it' do - expect(complete_visible_orders.query).to include(complete_order) + expect(result).to include(complete_order) end end it 'calls #visible_orders' do expect(order_permissions).to receive(:visible_orders).and_call_original - complete_visible_orders.query + result end end end From 81f40a99d9debf2c8ab65a4d12aa470f83294087 Mon Sep 17 00:00:00 2001 From: Feruz Oripov Date: Mon, 26 Feb 2024 23:25:33 +0500 Subject: [PATCH 027/374] Update CustomersWithBalanceQuery --- app/controllers/admin/customers_controller.rb | 2 +- .../api/v1/customers_controller.rb | 4 +- ...nce.rb => customers_with_balance_query.rb} | 4 +- app/queries/outstanding_balance.rb | 2 +- .../admin/customer_with_balance_serializer.rb | 2 +- .../admin/customers_controller_spec.rb | 8 +- .../order_cycle_management_report_spec.rb | 2 - spec/queries/customers_with_balance_spec.rb | 92 ++++++++++--------- 8 files changed, 58 insertions(+), 58 deletions(-) rename app/queries/{customers_with_balance.rb => customers_with_balance_query.rb} (95%) diff --git a/app/controllers/admin/customers_controller.rb b/app/controllers/admin/customers_controller.rb index 9751e9c6bb..ff5c43ab63 100644 --- a/app/controllers/admin/customers_controller.rb +++ b/app/controllers/admin/customers_controller.rb @@ -70,7 +70,7 @@ module Admin def collection if json_request? && params[:enterprise_id].present? - CustomersWithBalance.new(customers).query. + CustomersWithBalanceQuery.new(customers).call. includes( :enterprise, { bill_address: [:state, :country] }, diff --git a/app/controllers/api/v1/customers_controller.rb b/app/controllers/api/v1/customers_controller.rb index 3f488251e7..0fe756efc5 100644 --- a/app/controllers/api/v1/customers_controller.rb +++ b/app/controllers/api/v1/customers_controller.rb @@ -59,7 +59,7 @@ module Api def customer @customer ||= if action_name == "show" - CustomersWithBalance.new(Customer.where(id: params[:id])).query.first! + CustomersWithBalanceQuery.new(Customer.where(id: params[:id])).call.first! else Customer.find(params[:id]) end @@ -74,7 +74,7 @@ module Api customers = customers.where(enterprise_id: params[:enterprise_id]) if params[:enterprise_id] if @extra_customer_fields.include?(:balance) - customers = CustomersWithBalance.new(customers).query + customers = CustomersWithBalanceQuery.new(customers).call end customers.ransack(params[:q]).result.order(:id) diff --git a/app/queries/customers_with_balance.rb b/app/queries/customers_with_balance_query.rb similarity index 95% rename from app/queries/customers_with_balance.rb rename to app/queries/customers_with_balance_query.rb index 623190ff4c..aa02f37e65 100644 --- a/app/queries/customers_with_balance.rb +++ b/app/queries/customers_with_balance_query.rb @@ -2,12 +2,12 @@ # Adds an aggregated 'balance_value' to each customer based on their order history # -class CustomersWithBalance +class CustomersWithBalanceQuery def initialize(customers) @customers = customers end - def query + def call @customers. joins(left_join_complete_orders). group("customers.id"). diff --git a/app/queries/outstanding_balance.rb b/app/queries/outstanding_balance.rb index b157739b29..023c23a928 100644 --- a/app/queries/outstanding_balance.rb +++ b/app/queries/outstanding_balance.rb @@ -7,7 +7,7 @@ # Alternatively, you can get the SQL by calling #statement, which is suitable for more complex # cases. # -# See CompleteOrdersWithBalanceQuery or CustomersWithBalance as examples. +# See CompleteOrdersWithBalanceQuery or CustomersWithBalanceQuery as examples. # # Note this query object and `app/models/concerns/balance.rb` should implement the same behavior # until we find a better way. If you change one, please, change the other too. diff --git a/app/serializers/api/admin/customer_with_balance_serializer.rb b/app/serializers/api/admin/customer_with_balance_serializer.rb index fb043dda76..69f740ac9d 100644 --- a/app/serializers/api/admin/customer_with_balance_serializer.rb +++ b/app/serializers/api/admin/customer_with_balance_serializer.rb @@ -3,7 +3,7 @@ module Api module Admin # This serializer relies on `object` to respond to `#balance_value`. That's done in - # `CustomersWithBalance` due to the fact that ActiveRecord maps the DB result set's columns to + # `CustomersWithBalanceQuery` due to the fact that ActiveRecord maps the DB result set's columns to # instance methods. This way, the `balance_value` alias on that class ends up being # `object.balance_value` here. class CustomerWithBalanceSerializer < CustomerSerializer diff --git a/spec/controllers/admin/customers_controller_spec.rb b/spec/controllers/admin/customers_controller_spec.rb index 1ef7e91e3e..96667f2d65 100644 --- a/spec/controllers/admin/customers_controller_spec.rb +++ b/spec/controllers/admin/customers_controller_spec.rb @@ -44,12 +44,12 @@ module Admin get :index, params: end - it 'calls CustomersWithBalance' do - customers_with_balance = instance_double(CustomersWithBalance) - allow(CustomersWithBalance) + it 'calls CustomersWithBalanceQuery' do + customers_with_balance = instance_double(CustomersWithBalanceQuery) + allow(CustomersWithBalanceQuery) .to receive(:new).with(customers) { customers_with_balance } - expect(customers_with_balance).to receive(:query) { Customer.none } + expect(customers_with_balance).to receive(:call) { Customer.none } get :index, params: end diff --git a/spec/lib/reports/order_cycle_management_report_spec.rb b/spec/lib/reports/order_cycle_management_report_spec.rb index 6b88cdc4e9..47c5c1fbdc 100644 --- a/spec/lib/reports/order_cycle_management_report_spec.rb +++ b/spec/lib/reports/order_cycle_management_report_spec.rb @@ -17,8 +17,6 @@ module Reporting end describe "fetching orders" do - let(:customers_with_balance) { instance_double(CustomersWithBalance) } - it 'calls the OutstandingBalance query object' do outstanding_balance = instance_double(OutstandingBalance, query: Spree::Order.none) expect(OutstandingBalance).to receive(:new).and_return(outstanding_balance) diff --git a/spec/queries/customers_with_balance_spec.rb b/spec/queries/customers_with_balance_spec.rb index 7a600e9412..e886350e5f 100644 --- a/spec/queries/customers_with_balance_spec.rb +++ b/spec/queries/customers_with_balance_spec.rb @@ -2,97 +2,99 @@ require 'spec_helper' -describe CustomersWithBalance do - subject(:customers_with_balance) { described_class.new(Customer.where(id: customer)) } +describe CustomersWithBalanceQuery do + subject(:result) { described_class.new(Customer.where(id: customers)).call } - describe '#query' do - let(:customer) { create(:customer) } + describe '#call' do + let(:customers) { create(:customer) } let(:total) { 200.00 } let(:order_total) { 100.00 } let(:outstanding_balance) { instance_double(OutstandingBalance) } - it 'calls CustomersWithBalance#statement' do + it 'calls OutstandingBalance#statement' do allow(OutstandingBalance).to receive(:new).and_return(outstanding_balance) expect(outstanding_balance).to receive(:statement) - customers_with_balance.query + result end describe 'arguments' do context 'with customers collection' do + let(:customers) { create_pair(:customer) } + it 'returns balance' do - customers = create_pair(:customer) - query = described_class.new(Customer.where(id: customers)).query - expect(query.pluck(:id).sort).to eq([customers.first.id, customers.second.id].sort) - expect(query.map(&:balance_value)).to eq([0, 0]) + expect(result.pluck(:id).sort).to eq([customers.first.id, customers.second.id].sort) + expect(result.map(&:balance_value)).to eq([0, 0]) end end context 'with empty customers collection' do + let(:customers) { Customer.none } + it 'returns empty customers collection' do - expect(described_class.new(Customer.none).query).to eq([]) + expect(result).to eq([]) end end end context 'when orders are in cart state' do before do - create(:order, customer:, total: order_total, payment_total: 0, state: 'cart') - create(:order, customer:, total: order_total, payment_total: 0, state: 'cart') + create(:order, customer: customers, total: order_total, payment_total: 0, state: 'cart') + create(:order, customer: customers, total: order_total, payment_total: 0, state: 'cart') end it 'returns the customer balance' do - customer = customers_with_balance.query.first + customer = result.first expect(customer.balance_value).to eq(0) end end context 'when orders are in address state' do before do - create(:order, customer:, total: order_total, payment_total: 0, state: 'address') - create(:order, customer:, total: order_total, payment_total: 50, state: 'address') + create(:order, customer: customers, total: order_total, payment_total: 0, state: 'address') + create(:order, customer: customers, total: order_total, payment_total: 50, state: 'address') end it 'returns the customer balance' do - customer = customers_with_balance.query.first + customer = result.first expect(customer.balance_value).to eq(0) end end context 'when orders are in delivery state' do before do - create(:order, customer:, total: order_total, payment_total: 0, state: 'delivery') - create(:order, customer:, total: order_total, payment_total: 50, state: 'delivery') + create(:order, customer: customers, total: order_total, payment_total: 0, state: 'delivery') + create(:order, customer: customers, total: order_total, payment_total: 50, state: 'delivery') end it 'returns the customer balance' do - customer = customers_with_balance.query.first + customer = result.first expect(customer.balance_value).to eq(0) end end context 'when orders are in payment state' do before do - create(:order, customer:, total: order_total, payment_total: 0, state: 'payment') - create(:order, customer:, total: order_total, payment_total: 50, state: 'payment') + create(:order, customer: customers, total: order_total, payment_total: 0, state: 'payment') + create(:order, customer: customers, total: order_total, payment_total: 50, state: 'payment') end it 'returns the customer balance' do - customer = customers_with_balance.query.first + customer = result.first expect(customer.balance_value).to eq(0) end end context 'when no orders where paid' do before do - order = create(:order, customer:, total: order_total, payment_total: 0) + order = create(:order, customer: customers, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') - order = create(:order, customer:, total: order_total, payment_total: 0) + order = create(:order, customer: customers, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') end it 'returns the customer balance' do - customer = customers_with_balance.query.first + customer = result.first expect(customer.balance_value).to eq(-total) end end @@ -101,14 +103,14 @@ describe CustomersWithBalance do let(:payment_total) { order_total } before do - order = create(:order, customer:, total: order_total, payment_total: 0) + order = create(:order, customer: customers, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') - order = create(:order, customer:, total: order_total, payment_total:) + order = create(:order, customer: customers, total: order_total, payment_total:) order.update_attribute(:state, 'complete') end it 'returns the customer balance' do - customer = customers_with_balance.query.first + customer = result.first expect(customer.balance_value).to eq(payment_total - total) end end @@ -118,11 +120,11 @@ describe CustomersWithBalance do let(:non_canceled_orders_total) { order_total } before do - order = create(:order, customer:, total: order_total, payment_total: 0) + order = create(:order, customer: customers, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') create( :order, - customer:, + customer: customers, total: order_total, payment_total: order_total, state: 'canceled' @@ -130,7 +132,7 @@ describe CustomersWithBalance do end it 'returns the customer balance' do - customer = customers_with_balance.query.first + customer = result.first expect(customer.balance_value).to eq(payment_total - non_canceled_orders_total) end end @@ -139,14 +141,14 @@ describe CustomersWithBalance do let(:payment_total) { order_total } before do - order = create(:order, customer:, total: order_total, payment_total: 0) + order = create(:order, customer: customers, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') - order = create(:order, customer:, total: order_total, payment_total:) + order = create(:order, customer: customers, total: order_total, payment_total:) order.update_attribute(:state, 'resumed') end it 'returns the customer balance' do - customer = customers_with_balance.query.first + customer = result.first expect(customer.balance_value).to eq(payment_total - total) end end @@ -155,14 +157,14 @@ describe CustomersWithBalance do let(:payment_total) { order_total } before do - order = create(:order, customer:, total: order_total, payment_total: 0) + order = create(:order, customer: customers, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') - order = create(:order, customer:, total: order_total, payment_total:) + order = create(:order, customer: customers, total: order_total, payment_total:) order.update_attribute(:state, 'payment') end it 'returns the customer balance' do - customer = customers_with_balance.query.first + customer = result.first expect(customer.balance_value).to eq(payment_total - total) end end @@ -171,14 +173,14 @@ describe CustomersWithBalance do let(:payment_total) { order_total } before do - order = create(:order, customer:, total: order_total, payment_total: 0) + order = create(:order, customer: customers, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') - order = create(:order, customer:, total: order_total, payment_total:) + order = create(:order, customer: customers, total: order_total, payment_total:) order.update_attribute(:state, 'awaiting_return') end it 'returns the customer balance' do - customer = customers_with_balance.query.first + customer = result.first expect(customer.balance_value).to eq(payment_total - total) end end @@ -188,21 +190,21 @@ describe CustomersWithBalance do let(:non_returned_orders_total) { order_total } before do - order = create(:order, customer:, total: order_total, payment_total: 0) + order = create(:order, customer: customers, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') - order = create(:order, customer:, total: order_total, payment_total:) + order = create(:order, customer: customers, total: order_total, payment_total:) order.update_attribute(:state, 'returned') end it 'returns the customer balance' do - customer = customers_with_balance.query.first + customer = result.first expect(customer.balance_value).to eq(payment_total - non_returned_orders_total) end end context 'when there are no orders' do it 'returns the customer balance' do - customer = customers_with_balance.query.first + customer = result.first expect(customer.balance_value).to eq(0) end end From ff6830f95486646b7f0280486c5b015e0f6d16aa Mon Sep 17 00:00:00 2001 From: Feruz Oripov Date: Mon, 26 Feb 2024 23:37:11 +0500 Subject: [PATCH 028/374] Update OutstandingBalanceQuery --- .../complete_orders_with_balance_query.rb | 2 +- app/queries/customers_with_balance_query.rb | 2 +- ...alance.rb => outstanding_balance_query.rb} | 4 +-- .../reports/order_cycle_management/base.rb | 2 +- .../spree/users_controller_spec.rb | 8 ++--- .../order_cycle_management_report_spec.rb | 6 ++-- ...complete_orders_with_balance_query_spec.rb | 14 ++++---- ...b => customers_with_balance_query_spec.rb} | 6 ++-- ...c.rb => outstanding_balance_query_spec.rb} | 33 ++++++++++--------- 9 files changed, 39 insertions(+), 38 deletions(-) rename app/queries/{outstanding_balance.rb => outstanding_balance_query.rb} (97%) rename spec/queries/{customers_with_balance_spec.rb => customers_with_balance_query_spec.rb} (97%) rename spec/queries/{outstanding_balance_spec.rb => outstanding_balance_query_spec.rb} (88%) diff --git a/app/queries/complete_orders_with_balance_query.rb b/app/queries/complete_orders_with_balance_query.rb index 665e2d2838..c6507f45bb 100644 --- a/app/queries/complete_orders_with_balance_query.rb +++ b/app/queries/complete_orders_with_balance_query.rb @@ -7,7 +7,7 @@ class CompleteOrdersWithBalanceQuery end def call - OutstandingBalance.new(sorted_finalized_orders).query + OutstandingBalanceQuery.new(sorted_finalized_orders).call end private diff --git a/app/queries/customers_with_balance_query.rb b/app/queries/customers_with_balance_query.rb index aa02f37e65..a33b109540 100644 --- a/app/queries/customers_with_balance_query.rb +++ b/app/queries/customers_with_balance_query.rb @@ -32,6 +32,6 @@ class CustomersWithBalanceQuery end def outstanding_balance_sum - "SUM(#{OutstandingBalance.new.statement})::float" + "SUM(#{OutstandingBalanceQuery.new.statement})::float" end end diff --git a/app/queries/outstanding_balance.rb b/app/queries/outstanding_balance_query.rb similarity index 97% rename from app/queries/outstanding_balance.rb rename to app/queries/outstanding_balance_query.rb index 023c23a928..a0685800fa 100644 --- a/app/queries/outstanding_balance.rb +++ b/app/queries/outstanding_balance_query.rb @@ -11,7 +11,7 @@ # # Note this query object and `app/models/concerns/balance.rb` should implement the same behavior # until we find a better way. If you change one, please, change the other too. -class OutstandingBalance +class OutstandingBalanceQuery # All the states of a finished order but that shouldn't count towards the balance (the customer # didn't get the order for whatever reason). Note it does not include complete FINALIZED_NON_SUCCESSFUL_STATES = %w(canceled returned).freeze @@ -22,7 +22,7 @@ class OutstandingBalance @relation = relation end - def query + def call relation.select("#{statement} AS balance_value") end diff --git a/lib/reporting/reports/order_cycle_management/base.rb b/lib/reporting/reports/order_cycle_management/base.rb index e20e13ab25..d62cd3de33 100644 --- a/lib/reporting/reports/order_cycle_management/base.rb +++ b/lib/reporting/reports/order_cycle_management/base.rb @@ -29,7 +29,7 @@ module Reporting def orders search_result = search.result.order(:completed_at) - orders = OutstandingBalance.new(search_result).query.select('spree_orders.*') + orders = OutstandingBalanceQuery.new(search_result).call.select('spree_orders.*') filter(orders) end diff --git a/spec/controllers/spree/users_controller_spec.rb b/spec/controllers/spree/users_controller_spec.rb index 8f6455055c..c61d64d886 100644 --- a/spec/controllers/spree/users_controller_spec.rb +++ b/spec/controllers/spree/users_controller_spec.rb @@ -23,7 +23,7 @@ describe Spree::UsersController, type: :controller do let(:orders) { assigns(:orders) } let(:shops) { Enterprise.where(id: orders.pluck(:distributor_id)) } - let(:outstanding_balance) { instance_double(OutstandingBalance) } + let(:outstanding_balance_query) { instance_double(OutstandingBalanceQuery) } before do allow(controller).to receive(:spree_current_user) { u1 } @@ -47,9 +47,9 @@ describe Spree::UsersController, type: :controller do expect(orders).not_to include d1o3 end - it 'calls OutstandingBalance' do - allow(OutstandingBalance).to receive(:new).and_return(outstanding_balance) - expect(outstanding_balance).to receive(:query) { Spree::Order.none } + it 'calls OutstandingBalanceQuery' do + allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance_query) + expect(outstanding_balance_query).to receive(:call) { Spree::Order.none } spree_get :show end diff --git a/spec/lib/reports/order_cycle_management_report_spec.rb b/spec/lib/reports/order_cycle_management_report_spec.rb index 47c5c1fbdc..72d6c44831 100644 --- a/spec/lib/reports/order_cycle_management_report_spec.rb +++ b/spec/lib/reports/order_cycle_management_report_spec.rb @@ -17,9 +17,9 @@ module Reporting end describe "fetching orders" do - it 'calls the OutstandingBalance query object' do - outstanding_balance = instance_double(OutstandingBalance, query: Spree::Order.none) - expect(OutstandingBalance).to receive(:new).and_return(outstanding_balance) + it 'calls the OutstandingBalanceQuery query object' do + outstanding_balance = instance_double(OutstandingBalanceQuery, call: Spree::Order.none) + expect(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) subject.orders end diff --git a/spec/queries/complete_orders_with_balance_query_spec.rb b/spec/queries/complete_orders_with_balance_query_spec.rb index f0988bc532..ba9fb6e6a2 100644 --- a/spec/queries/complete_orders_with_balance_query_spec.rb +++ b/spec/queries/complete_orders_with_balance_query_spec.rb @@ -7,7 +7,7 @@ describe CompleteOrdersWithBalanceQuery do describe '#call' do let(:user) { order.user } - let(:outstanding_balance) { instance_double(OutstandingBalance) } + let(:outstanding_balance) { instance_double(OutstandingBalanceQuery) } context 'when the user has complete orders' do let(:order) do @@ -24,9 +24,9 @@ describe CompleteOrdersWithBalanceQuery do ) end - it 'calls OutstandingBalance#query' do - allow(OutstandingBalance).to receive(:new).and_return(outstanding_balance) - expect(outstanding_balance).to receive(:query) + it 'calls OutstandingBalanceQuery#call' do + allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) + expect(outstanding_balance).to receive(:call) result end @@ -44,9 +44,9 @@ describe CompleteOrdersWithBalanceQuery do context 'when the user has no complete orders' do let(:order) { create(:order) } - it 'calls OutstandingBalance' do - allow(OutstandingBalance).to receive(:new).and_return(outstanding_balance) - expect(outstanding_balance).to receive(:query) + it 'calls OutstandingBalanceQuery' do + allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) + expect(outstanding_balance).to receive(:call) result end diff --git a/spec/queries/customers_with_balance_spec.rb b/spec/queries/customers_with_balance_query_spec.rb similarity index 97% rename from spec/queries/customers_with_balance_spec.rb rename to spec/queries/customers_with_balance_query_spec.rb index e886350e5f..76208eb32a 100644 --- a/spec/queries/customers_with_balance_spec.rb +++ b/spec/queries/customers_with_balance_query_spec.rb @@ -9,10 +9,10 @@ describe CustomersWithBalanceQuery do let(:customers) { create(:customer) } let(:total) { 200.00 } let(:order_total) { 100.00 } - let(:outstanding_balance) { instance_double(OutstandingBalance) } + let(:outstanding_balance) { instance_double(OutstandingBalanceQuery) } - it 'calls OutstandingBalance#statement' do - allow(OutstandingBalance).to receive(:new).and_return(outstanding_balance) + it 'calls OutstandingBalanceQuery#statement' do + allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) expect(outstanding_balance).to receive(:statement) result diff --git a/spec/queries/outstanding_balance_spec.rb b/spec/queries/outstanding_balance_query_spec.rb similarity index 88% rename from spec/queries/outstanding_balance_spec.rb rename to spec/queries/outstanding_balance_query_spec.rb index 91b80f4c82..2af9a2c611 100644 --- a/spec/queries/outstanding_balance_spec.rb +++ b/spec/queries/outstanding_balance_query_spec.rb @@ -2,14 +2,15 @@ require 'spec_helper' -describe OutstandingBalance do - subject(:outstanding_balance) { described_class.new(relation) } +describe OutstandingBalanceQuery do + subject { described_class.new(relation) } + let(:result) { subject.call } describe '#statement' do let(:relation) { Spree::Order.none } it 'returns the CASE statement necessary to compute the order balance' do - normalized_sql_statement = normalize(outstanding_balance.statement) + normalized_sql_statement = normalize(subject.statement) expect(normalized_sql_statement).to eq(normalize(<<-SQL)) CASE WHEN "spree_orders"."state" IN ('canceled', 'returned') THEN "spree_orders"."payment_total" @@ -23,7 +24,7 @@ describe OutstandingBalance do end end - describe '#query' do + describe '#call' do let(:relation) { Spree::Order.all } let(:total) { 200.00 } let(:order_total) { 100.00 } @@ -35,7 +36,7 @@ describe OutstandingBalance do end it 'returns the order balance' do - order = outstanding_balance.query.first + order = result.first expect(order.balance_value).to eq(-order_total) end end @@ -47,7 +48,7 @@ describe OutstandingBalance do end it 'returns the order balance' do - order = outstanding_balance.query.first + order = result.first expect(order.balance_value).to eq(-order_total) end end @@ -59,7 +60,7 @@ describe OutstandingBalance do end it 'returns the order balance' do - order = outstanding_balance.query.first + order = result.first expect(order.balance_value).to eq(-order_total) end end @@ -71,7 +72,7 @@ describe OutstandingBalance do end it 'returns the order balance' do - order = outstanding_balance.query.first + order = result.first expect(order.balance_value).to eq(-order_total) end end @@ -85,7 +86,7 @@ describe OutstandingBalance do end it 'returns the customer balance' do - order = outstanding_balance.query.first + order = result.first expect(order.balance_value).to eq(-order_total) end end @@ -101,7 +102,7 @@ describe OutstandingBalance do end it 'returns the customer balance' do - order = outstanding_balance.query.first + order = result.first expect(order.balance_value).to eq(payment_total - 200.0) end end @@ -117,7 +118,7 @@ describe OutstandingBalance do end it 'returns the customer balance' do - order = outstanding_balance.query.first + order = result.first expect(order.balance_value).to eq(payment_total) end end @@ -133,7 +134,7 @@ describe OutstandingBalance do end it 'returns the customer balance' do - order = outstanding_balance.query.first + order = result.first expect(order.balance_value).to eq(payment_total - 200.0) end end @@ -149,7 +150,7 @@ describe OutstandingBalance do end it 'returns the customer balance' do - order = outstanding_balance.query.first + order = result.first expect(order.balance_value).to eq(payment_total - 200.0) end end @@ -165,7 +166,7 @@ describe OutstandingBalance do end it 'returns the customer balance' do - order = outstanding_balance.query.first + order = result.first expect(order.balance_value).to eq(payment_total - 200.0) end end @@ -182,14 +183,14 @@ describe OutstandingBalance do end it 'returns the customer balance' do - order = outstanding_balance.query.first + order = result.first expect(order.balance_value).to eq(payment_total) end end context 'when there are no orders' do it 'returns the order balance' do - orders = outstanding_balance.query + orders = result expect(orders).to be_empty end end From ef17fd7d8001eeec424e323378082299ed862216 Mon Sep 17 00:00:00 2001 From: Feruz Oripov Date: Mon, 26 Feb 2024 23:41:48 +0500 Subject: [PATCH 029/374] Cleanup --- app/controllers/spree/users_controller.rb | 2 +- ....rb => payments_requiring_action_query.rb} | 4 +-- ...complete_orders_with_balance_query_spec.rb | 12 +++---- .../complete_visible_orders_query_spec.rb | 8 ++--- .../customers_with_balance_query_spec.rb | 34 +++++++++---------- ...> payments_requiring_action_query_spec.rb} | 10 +++--- 6 files changed, 35 insertions(+), 35 deletions(-) rename app/queries/{payments_requiring_action.rb => payments_requiring_action_query.rb} (83%) rename spec/queries/{payments_requiring_action_spec.rb => payments_requiring_action_query_spec.rb} (70%) diff --git a/app/controllers/spree/users_controller.rb b/app/controllers/spree/users_controller.rb index 4feff9bf7a..ad4e9082ae 100644 --- a/app/controllers/spree/users_controller.rb +++ b/app/controllers/spree/users_controller.rb @@ -16,7 +16,7 @@ module Spree before_action :set_locale def show - @payments_requiring_action = PaymentsRequiringAction.new(spree_current_user).query + @payments_requiring_action = PaymentsRequiringActionQuery.new(spree_current_user).call @orders = orders_collection.includes(:line_items) customers = spree_current_user.customers diff --git a/app/queries/payments_requiring_action.rb b/app/queries/payments_requiring_action_query.rb similarity index 83% rename from app/queries/payments_requiring_action.rb rename to app/queries/payments_requiring_action_query.rb index ffe705e955..a680b94ddc 100644 --- a/app/queries/payments_requiring_action.rb +++ b/app/queries/payments_requiring_action_query.rb @@ -1,11 +1,11 @@ # frozen_string_literal: true -class PaymentsRequiringAction +class PaymentsRequiringActionQuery def initialize(user) @user = user end - def query + def call Spree::Payment.joins(:order).where("spree_orders.user_id = ?", user.id). requires_authorization end diff --git a/spec/queries/complete_orders_with_balance_query_spec.rb b/spec/queries/complete_orders_with_balance_query_spec.rb index ba9fb6e6a2..77deb34bec 100644 --- a/spec/queries/complete_orders_with_balance_query_spec.rb +++ b/spec/queries/complete_orders_with_balance_query_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe CompleteOrdersWithBalanceQuery do - let(:result) { described_class.new(user).call } + subject { described_class.new(user).call } describe '#call' do let(:user) { order.user } @@ -28,16 +28,16 @@ describe CompleteOrdersWithBalanceQuery do allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) expect(outstanding_balance).to receive(:call) - result + subject end it 'returns complete orders including their balance' do - order = result.first + order = subject.first expect(order[:balance_value]).to eq(-1.0) end it 'sorts them by their completed_at with the most recent first' do - expect(result.pluck(:id)).to eq([other_order.id, order.id]) + expect(subject.pluck(:id)).to eq([other_order.id, order.id]) end end @@ -48,11 +48,11 @@ describe CompleteOrdersWithBalanceQuery do allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) expect(outstanding_balance).to receive(:call) - result + subject end it 'returns an empty array' do - expect(result).to be_empty + expect(subject).to be_empty end end end diff --git a/spec/queries/complete_visible_orders_query_spec.rb b/spec/queries/complete_visible_orders_query_spec.rb index 982c567e1f..61ffc5f733 100644 --- a/spec/queries/complete_visible_orders_query_spec.rb +++ b/spec/queries/complete_visible_orders_query_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe CompleteVisibleOrdersQuery do - subject(:result) { described_class.new(order_permissions).call } + subject { described_class.new(order_permissions).call } let(:filter_canceled) { false } describe '#call' do @@ -20,7 +20,7 @@ describe CompleteVisibleOrdersQuery do let(:cart_order) { create(:order, distributor: enterprise) } it 'does not return it' do - expect(result).not_to include(cart_order) + expect(subject).not_to include(cart_order) end end @@ -28,13 +28,13 @@ describe CompleteVisibleOrdersQuery do let(:complete_order) { create(:order, completed_at: 1.day.ago, distributor: enterprise) } it 'does not return it' do - expect(result).to include(complete_order) + expect(subject).to include(complete_order) end end it 'calls #visible_orders' do expect(order_permissions).to receive(:visible_orders).and_call_original - result + subject end end end diff --git a/spec/queries/customers_with_balance_query_spec.rb b/spec/queries/customers_with_balance_query_spec.rb index 76208eb32a..44d24ac14e 100644 --- a/spec/queries/customers_with_balance_query_spec.rb +++ b/spec/queries/customers_with_balance_query_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe CustomersWithBalanceQuery do - subject(:result) { described_class.new(Customer.where(id: customers)).call } + subject { described_class.new(Customer.where(id: customers)).call } describe '#call' do let(:customers) { create(:customer) } @@ -15,7 +15,7 @@ describe CustomersWithBalanceQuery do allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) expect(outstanding_balance).to receive(:statement) - result + subject end describe 'arguments' do @@ -23,8 +23,8 @@ describe CustomersWithBalanceQuery do let(:customers) { create_pair(:customer) } it 'returns balance' do - expect(result.pluck(:id).sort).to eq([customers.first.id, customers.second.id].sort) - expect(result.map(&:balance_value)).to eq([0, 0]) + expect(subject.pluck(:id).sort).to eq([customers.first.id, customers.second.id].sort) + expect(subject.map(&:balance_value)).to eq([0, 0]) end end @@ -32,7 +32,7 @@ describe CustomersWithBalanceQuery do let(:customers) { Customer.none } it 'returns empty customers collection' do - expect(result).to eq([]) + expect(subject).to eq([]) end end end @@ -44,7 +44,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = result.first + customer = subject.first expect(customer.balance_value).to eq(0) end end @@ -56,7 +56,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = result.first + customer = subject.first expect(customer.balance_value).to eq(0) end end @@ -68,7 +68,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = result.first + customer = subject.first expect(customer.balance_value).to eq(0) end end @@ -80,7 +80,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = result.first + customer = subject.first expect(customer.balance_value).to eq(0) end end @@ -94,7 +94,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = result.first + customer = subject.first expect(customer.balance_value).to eq(-total) end end @@ -110,7 +110,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = result.first + customer = subject.first expect(customer.balance_value).to eq(payment_total - total) end end @@ -132,7 +132,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = result.first + customer = subject.first expect(customer.balance_value).to eq(payment_total - non_canceled_orders_total) end end @@ -148,7 +148,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = result.first + customer = subject.first expect(customer.balance_value).to eq(payment_total - total) end end @@ -164,7 +164,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = result.first + customer = subject.first expect(customer.balance_value).to eq(payment_total - total) end end @@ -180,7 +180,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = result.first + customer = subject.first expect(customer.balance_value).to eq(payment_total - total) end end @@ -197,14 +197,14 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = result.first + customer = subject.first expect(customer.balance_value).to eq(payment_total - non_returned_orders_total) end end context 'when there are no orders' do it 'returns the customer balance' do - customer = result.first + customer = subject.first expect(customer.balance_value).to eq(0) end end diff --git a/spec/queries/payments_requiring_action_spec.rb b/spec/queries/payments_requiring_action_query_spec.rb similarity index 70% rename from spec/queries/payments_requiring_action_spec.rb rename to spec/queries/payments_requiring_action_query_spec.rb index 77a9ca0404..8fcde56146 100644 --- a/spec/queries/payments_requiring_action_spec.rb +++ b/spec/queries/payments_requiring_action_query_spec.rb @@ -2,12 +2,12 @@ require 'spec_helper' -describe PaymentsRequiringAction do +describe PaymentsRequiringActionQuery do let(:user) { create(:user) } let(:order) { create(:order, user:) } - subject(:payments_requiring_action) { described_class.new(user) } + subject { described_class.new(user).call } - describe '#query' do + describe '#call' do context "payment has a cvv_response_message" do let(:payment) do create(:payment, @@ -17,7 +17,7 @@ describe PaymentsRequiringAction do end it "finds the payment" do - expect(payments_requiring_action.query.all).to include(payment) + expect(subject.all).to include(payment) end end @@ -27,7 +27,7 @@ describe PaymentsRequiringAction do end it "does not find the payment" do - expect(payments_requiring_action.query.all).to_not include(payment) + expect(subject.all).to_not include(payment) end end end From 67cd6ea6edd52728eb09aaeb6bb5863d39541c06 Mon Sep 17 00:00:00 2001 From: Feruz Oripov Date: Mon, 26 Feb 2024 23:44:58 +0500 Subject: [PATCH 030/374] cops --- app/queries/customers_with_balance_query.rb | 2 +- app/queries/outstanding_balance_query.rb | 2 +- app/queries/payments_requiring_action_query.rb | 2 +- spec/queries/complete_visible_orders_query_spec.rb | 1 + spec/queries/customers_with_balance_query_spec.rb | 3 ++- spec/queries/outstanding_balance_query_spec.rb | 3 ++- spec/queries/payments_requiring_action_query_spec.rb | 5 +++-- 7 files changed, 11 insertions(+), 7 deletions(-) diff --git a/app/queries/customers_with_balance_query.rb b/app/queries/customers_with_balance_query.rb index a33b109540..47d0fabca9 100644 --- a/app/queries/customers_with_balance_query.rb +++ b/app/queries/customers_with_balance_query.rb @@ -20,7 +20,7 @@ class CustomersWithBalanceQuery # The resulting orders are in states that belong after the checkout. Only these can be considered # for a customer's balance. def left_join_complete_orders - <<~SQL + <<~SQL.squish LEFT JOIN spree_orders ON spree_orders.customer_id = customers.id AND #{finalized_states.to_sql} SQL diff --git a/app/queries/outstanding_balance_query.rb b/app/queries/outstanding_balance_query.rb index a0685800fa..c7d37fd62f 100644 --- a/app/queries/outstanding_balance_query.rb +++ b/app/queries/outstanding_balance_query.rb @@ -29,7 +29,7 @@ class OutstandingBalanceQuery # Arel doesn't support CASE statements until v7.1.0 so we'll have to wait with SQL literals # a little longer. See https://github.com/rails/arel/pull/400 for details. def statement - <<~SQL + <<~SQL.squish CASE WHEN "spree_orders"."state" IN #{non_fulfilled_states_group.to_sql} THEN "spree_orders"."payment_total" WHEN "spree_orders"."state" IS NOT NULL THEN "spree_orders"."payment_total" - "spree_orders"."total" ELSE 0 END diff --git a/app/queries/payments_requiring_action_query.rb b/app/queries/payments_requiring_action_query.rb index a680b94ddc..c8fe5eda23 100644 --- a/app/queries/payments_requiring_action_query.rb +++ b/app/queries/payments_requiring_action_query.rb @@ -6,7 +6,7 @@ class PaymentsRequiringActionQuery end def call - Spree::Payment.joins(:order).where("spree_orders.user_id = ?", user.id). + Spree::Payment.joins(:order).where(spree_orders: { user_id: user.id }). requires_authorization end diff --git a/spec/queries/complete_visible_orders_query_spec.rb b/spec/queries/complete_visible_orders_query_spec.rb index 61ffc5f733..40b88b10c8 100644 --- a/spec/queries/complete_visible_orders_query_spec.rb +++ b/spec/queries/complete_visible_orders_query_spec.rb @@ -4,6 +4,7 @@ require 'spec_helper' describe CompleteVisibleOrdersQuery do subject { described_class.new(order_permissions).call } + let(:filter_canceled) { false } describe '#call' do diff --git a/spec/queries/customers_with_balance_query_spec.rb b/spec/queries/customers_with_balance_query_spec.rb index 44d24ac14e..6a5de07211 100644 --- a/spec/queries/customers_with_balance_query_spec.rb +++ b/spec/queries/customers_with_balance_query_spec.rb @@ -64,7 +64,8 @@ describe CustomersWithBalanceQuery do context 'when orders are in delivery state' do before do create(:order, customer: customers, total: order_total, payment_total: 0, state: 'delivery') - create(:order, customer: customers, total: order_total, payment_total: 50, state: 'delivery') + create(:order, customer: customers, total: order_total, payment_total: 50, + state: 'delivery') end it 'returns the customer balance' do diff --git a/spec/queries/outstanding_balance_query_spec.rb b/spec/queries/outstanding_balance_query_spec.rb index 2af9a2c611..dbad29ec06 100644 --- a/spec/queries/outstanding_balance_query_spec.rb +++ b/spec/queries/outstanding_balance_query_spec.rb @@ -4,6 +4,7 @@ require 'spec_helper' describe OutstandingBalanceQuery do subject { described_class.new(relation) } + let(:result) { subject.call } describe '#statement' do @@ -12,7 +13,7 @@ describe OutstandingBalanceQuery do it 'returns the CASE statement necessary to compute the order balance' do normalized_sql_statement = normalize(subject.statement) - expect(normalized_sql_statement).to eq(normalize(<<-SQL)) + expect(normalized_sql_statement).to eq(normalize(<<-SQL.squish)) CASE WHEN "spree_orders"."state" IN ('canceled', 'returned') THEN "spree_orders"."payment_total" WHEN "spree_orders"."state" IS NOT NULL THEN "spree_orders"."payment_total" - "spree_orders"."total" ELSE 0 END diff --git a/spec/queries/payments_requiring_action_query_spec.rb b/spec/queries/payments_requiring_action_query_spec.rb index 8fcde56146..ade23b5528 100644 --- a/spec/queries/payments_requiring_action_query_spec.rb +++ b/spec/queries/payments_requiring_action_query_spec.rb @@ -3,9 +3,10 @@ require 'spec_helper' describe PaymentsRequiringActionQuery do + subject { described_class.new(user).call } + let(:user) { create(:user) } let(:order) { create(:order, user:) } - subject { described_class.new(user).call } describe '#call' do context "payment has a cvv_response_message" do @@ -27,7 +28,7 @@ describe PaymentsRequiringActionQuery do end it "does not find the payment" do - expect(subject.all).to_not include(payment) + expect(subject.all).not_to include(payment) end end end From 3cf75fce72b5e7beac837f8620de369110c2ab07 Mon Sep 17 00:00:00 2001 From: Feruz Oripov Date: Tue, 27 Feb 2024 00:29:59 +0500 Subject: [PATCH 031/374] cops --- ...complete_orders_with_balance_query_spec.rb | 12 +++---- .../complete_visible_orders_query_spec.rb | 8 ++--- .../customers_with_balance_query_spec.rb | 34 +++++++++---------- .../queries/outstanding_balance_query_spec.rb | 6 ++-- .../payments_requiring_action_query_spec.rb | 6 ++-- 5 files changed, 33 insertions(+), 33 deletions(-) diff --git a/spec/queries/complete_orders_with_balance_query_spec.rb b/spec/queries/complete_orders_with_balance_query_spec.rb index 77deb34bec..979efb1f08 100644 --- a/spec/queries/complete_orders_with_balance_query_spec.rb +++ b/spec/queries/complete_orders_with_balance_query_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe CompleteOrdersWithBalanceQuery do - subject { described_class.new(user).call } + subject(:result) { described_class.new(user).call } describe '#call' do let(:user) { order.user } @@ -28,16 +28,16 @@ describe CompleteOrdersWithBalanceQuery do allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) expect(outstanding_balance).to receive(:call) - subject + result end it 'returns complete orders including their balance' do - order = subject.first + order = result.first expect(order[:balance_value]).to eq(-1.0) end it 'sorts them by their completed_at with the most recent first' do - expect(subject.pluck(:id)).to eq([other_order.id, order.id]) + expect(result.pluck(:id)).to eq([other_order.id, order.id]) end end @@ -48,11 +48,11 @@ describe CompleteOrdersWithBalanceQuery do allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) expect(outstanding_balance).to receive(:call) - subject + result end it 'returns an empty array' do - expect(subject).to be_empty + expect(result).to be_empty end end end diff --git a/spec/queries/complete_visible_orders_query_spec.rb b/spec/queries/complete_visible_orders_query_spec.rb index 40b88b10c8..af7d54872f 100644 --- a/spec/queries/complete_visible_orders_query_spec.rb +++ b/spec/queries/complete_visible_orders_query_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe CompleteVisibleOrdersQuery do - subject { described_class.new(order_permissions).call } + subject(:result) { described_class.new(order_permissions).call } let(:filter_canceled) { false } @@ -21,7 +21,7 @@ describe CompleteVisibleOrdersQuery do let(:cart_order) { create(:order, distributor: enterprise) } it 'does not return it' do - expect(subject).not_to include(cart_order) + expect(result).not_to include(cart_order) end end @@ -29,13 +29,13 @@ describe CompleteVisibleOrdersQuery do let(:complete_order) { create(:order, completed_at: 1.day.ago, distributor: enterprise) } it 'does not return it' do - expect(subject).to include(complete_order) + expect(result).to include(complete_order) end end it 'calls #visible_orders' do expect(order_permissions).to receive(:visible_orders).and_call_original - subject + result end end end diff --git a/spec/queries/customers_with_balance_query_spec.rb b/spec/queries/customers_with_balance_query_spec.rb index 6a5de07211..952294b0e6 100644 --- a/spec/queries/customers_with_balance_query_spec.rb +++ b/spec/queries/customers_with_balance_query_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe CustomersWithBalanceQuery do - subject { described_class.new(Customer.where(id: customers)).call } + subject(:result) { described_class.new(Customer.where(id: customers)).call } describe '#call' do let(:customers) { create(:customer) } @@ -15,7 +15,7 @@ describe CustomersWithBalanceQuery do allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) expect(outstanding_balance).to receive(:statement) - subject + result end describe 'arguments' do @@ -23,8 +23,8 @@ describe CustomersWithBalanceQuery do let(:customers) { create_pair(:customer) } it 'returns balance' do - expect(subject.pluck(:id).sort).to eq([customers.first.id, customers.second.id].sort) - expect(subject.map(&:balance_value)).to eq([0, 0]) + expect(result.pluck(:id).sort).to eq([customers.first.id, customers.second.id].sort) + expect(result.map(&:balance_value)).to eq([0, 0]) end end @@ -32,7 +32,7 @@ describe CustomersWithBalanceQuery do let(:customers) { Customer.none } it 'returns empty customers collection' do - expect(subject).to eq([]) + expect(result).to eq([]) end end end @@ -44,7 +44,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = subject.first + customer = result.first expect(customer.balance_value).to eq(0) end end @@ -56,7 +56,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = subject.first + customer = result.first expect(customer.balance_value).to eq(0) end end @@ -69,7 +69,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = subject.first + customer = result.first expect(customer.balance_value).to eq(0) end end @@ -81,7 +81,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = subject.first + customer = result.first expect(customer.balance_value).to eq(0) end end @@ -95,7 +95,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = subject.first + customer = result.first expect(customer.balance_value).to eq(-total) end end @@ -111,7 +111,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = subject.first + customer = result.first expect(customer.balance_value).to eq(payment_total - total) end end @@ -133,7 +133,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = subject.first + customer = result.first expect(customer.balance_value).to eq(payment_total - non_canceled_orders_total) end end @@ -149,7 +149,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = subject.first + customer = result.first expect(customer.balance_value).to eq(payment_total - total) end end @@ -165,7 +165,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = subject.first + customer = result.first expect(customer.balance_value).to eq(payment_total - total) end end @@ -181,7 +181,7 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = subject.first + customer = result.first expect(customer.balance_value).to eq(payment_total - total) end end @@ -198,14 +198,14 @@ describe CustomersWithBalanceQuery do end it 'returns the customer balance' do - customer = subject.first + customer = result.first expect(customer.balance_value).to eq(payment_total - non_returned_orders_total) end end context 'when there are no orders' do it 'returns the customer balance' do - customer = subject.first + customer = result.first expect(customer.balance_value).to eq(0) end end diff --git a/spec/queries/outstanding_balance_query_spec.rb b/spec/queries/outstanding_balance_query_spec.rb index dbad29ec06..feba121359 100644 --- a/spec/queries/outstanding_balance_query_spec.rb +++ b/spec/queries/outstanding_balance_query_spec.rb @@ -3,15 +3,15 @@ require 'spec_helper' describe OutstandingBalanceQuery do - subject { described_class.new(relation) } + subject(:query) { described_class.new(relation) } - let(:result) { subject.call } + let(:result) { query.call } describe '#statement' do let(:relation) { Spree::Order.none } it 'returns the CASE statement necessary to compute the order balance' do - normalized_sql_statement = normalize(subject.statement) + normalized_sql_statement = normalize(query.statement) expect(normalized_sql_statement).to eq(normalize(<<-SQL.squish)) CASE WHEN "spree_orders"."state" IN ('canceled', 'returned') THEN "spree_orders"."payment_total" diff --git a/spec/queries/payments_requiring_action_query_spec.rb b/spec/queries/payments_requiring_action_query_spec.rb index ade23b5528..4101a181ca 100644 --- a/spec/queries/payments_requiring_action_query_spec.rb +++ b/spec/queries/payments_requiring_action_query_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe PaymentsRequiringActionQuery do - subject { described_class.new(user).call } + subject(:result) { described_class.new(user).call } let(:user) { create(:user) } let(:order) { create(:order, user:) } @@ -18,7 +18,7 @@ describe PaymentsRequiringActionQuery do end it "finds the payment" do - expect(subject.all).to include(payment) + expect(result.all).to include(payment) end end @@ -28,7 +28,7 @@ describe PaymentsRequiringActionQuery do end it "does not find the payment" do - expect(subject.all).not_to include(payment) + expect(result.all).not_to include(payment) end end end From c2d8bdd4147f6460a0d0ee9eec421ac246071161 Mon Sep 17 00:00:00 2001 From: Feruz Oripov Date: Tue, 27 Feb 2024 01:01:22 +0500 Subject: [PATCH 032/374] cops --- .../api/admin/customer_with_balance_serializer.rb | 4 ++-- app/serializers/api/order_serializer.rb | 4 ++-- spec/lib/reports/order_cycle_management_report_spec.rb | 3 ++- spec/queries/complete_orders_with_balance_query_spec.rb | 8 ++++++-- spec/queries/outstanding_balance_query_spec.rb | 3 +-- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/app/serializers/api/admin/customer_with_balance_serializer.rb b/app/serializers/api/admin/customer_with_balance_serializer.rb index 69f740ac9d..90f2726a10 100644 --- a/app/serializers/api/admin/customer_with_balance_serializer.rb +++ b/app/serializers/api/admin/customer_with_balance_serializer.rb @@ -3,8 +3,8 @@ module Api module Admin # This serializer relies on `object` to respond to `#balance_value`. That's done in - # `CustomersWithBalanceQuery` due to the fact that ActiveRecord maps the DB result set's columns to - # instance methods. This way, the `balance_value` alias on that class ends up being + # `CustomersWithBalanceQuery` due to the fact that ActiveRecord maps the DB result set's + # columns to instance methods. This way, the `balance_value` alias on that class ends up being # `object.balance_value` here. class CustomerWithBalanceSerializer < CustomerSerializer attributes :balance, :balance_status diff --git a/app/serializers/api/order_serializer.rb b/app/serializers/api/order_serializer.rb index 900d2aeaa0..b8fa04dff2 100644 --- a/app/serializers/api/order_serializer.rb +++ b/app/serializers/api/order_serializer.rb @@ -9,8 +9,8 @@ module Api has_many :payments, serializer: Api::PaymentSerializer - # This method relies on `balance_value` as a computed DB column. See `CompleteOrdersWithBalanceQuery` - # for reference. + # This method relies on `balance_value` as a computed DB column. + # See `CompleteOrdersWithBalanceQuery` for reference. def outstanding_balance -object.balance_value end diff --git a/spec/lib/reports/order_cycle_management_report_spec.rb b/spec/lib/reports/order_cycle_management_report_spec.rb index 72d6c44831..80bed21b3c 100644 --- a/spec/lib/reports/order_cycle_management_report_spec.rb +++ b/spec/lib/reports/order_cycle_management_report_spec.rb @@ -18,7 +18,8 @@ module Reporting describe "fetching orders" do it 'calls the OutstandingBalanceQuery query object' do - outstanding_balance = instance_double(OutstandingBalanceQuery, call: Spree::Order.none) + outstanding_balance = instance_double(OutstandingBalanceQuery, + call: Spree::Order.none) expect(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) subject.orders diff --git a/spec/queries/complete_orders_with_balance_query_spec.rb b/spec/queries/complete_orders_with_balance_query_spec.rb index 979efb1f08..0f7e856865 100644 --- a/spec/queries/complete_orders_with_balance_query_spec.rb +++ b/spec/queries/complete_orders_with_balance_query_spec.rb @@ -26,9 +26,11 @@ describe CompleteOrdersWithBalanceQuery do it 'calls OutstandingBalanceQuery#call' do allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) - expect(outstanding_balance).to receive(:call) + allow(outstanding_balance).to receive(:call) result + + expect(outstanding_balance).to have_received(:call) end it 'returns complete orders including their balance' do @@ -46,9 +48,11 @@ describe CompleteOrdersWithBalanceQuery do it 'calls OutstandingBalanceQuery' do allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) - expect(outstanding_balance).to receive(:call) + allow(outstanding_balance).to receive(:call) result + + expect(outstanding_balance).to have_received(:call) end it 'returns an empty array' do diff --git a/spec/queries/outstanding_balance_query_spec.rb b/spec/queries/outstanding_balance_query_spec.rb index feba121359..77e9acb307 100644 --- a/spec/queries/outstanding_balance_query_spec.rb +++ b/spec/queries/outstanding_balance_query_spec.rb @@ -9,10 +9,9 @@ describe OutstandingBalanceQuery do describe '#statement' do let(:relation) { Spree::Order.none } + let(:normalized_sql_statement) { normalize(query.statement) } it 'returns the CASE statement necessary to compute the order balance' do - normalized_sql_statement = normalize(query.statement) - expect(normalized_sql_statement).to eq(normalize(<<-SQL.squish)) CASE WHEN "spree_orders"."state" IN ('canceled', 'returned') THEN "spree_orders"."payment_total" WHEN "spree_orders"."state" IS NOT NULL THEN "spree_orders"."payment_total" - "spree_orders"."total" From ca13b0154cc94c860a5f756b82cbd7c6c2a0efc4 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Tue, 27 Feb 2024 18:19:42 +0100 Subject: [PATCH 033/374] add for every serialized attribute a coder --- app/models/invoice.rb | 2 +- app/models/report_rendering_options.rb | 2 +- app/models/spree/preference.rb | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/models/invoice.rb b/app/models/invoice.rb index 55524521b2..7cfc71c9a6 100644 --- a/app/models/invoice.rb +++ b/app/models/invoice.rb @@ -4,7 +4,7 @@ class Invoice < ApplicationRecord self.belongs_to_required_by_default = false belongs_to :order, class_name: 'Spree::Order' - serialize :data, Hash + serialize :data, Hash, coder: YAML before_validation :serialize_order after_create :cancel_previous_invoices default_scope { order(created_at: :desc) } diff --git a/app/models/report_rendering_options.rb b/app/models/report_rendering_options.rb index feadbaf7ff..dd69ecf887 100644 --- a/app/models/report_rendering_options.rb +++ b/app/models/report_rendering_options.rb @@ -4,5 +4,5 @@ class ReportRenderingOptions < ApplicationRecord self.belongs_to_required_by_default = false belongs_to :user, class_name: "Spree::User" - serialize :options, Hash + serialize :options, Hash, coder: YAML end diff --git a/app/models/spree/preference.rb b/app/models/spree/preference.rb index ea2c63688c..6f64edf9cf 100644 --- a/app/models/spree/preference.rb +++ b/app/models/spree/preference.rb @@ -2,8 +2,7 @@ module Spree class Preference < ApplicationRecord - serialize :value - + serialize :value, coder: YAML validates :key, presence: true validates :value_type, presence: true From f62b32a3b986480be22c4897c85d065f1e41f6a3 Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Wed, 28 Feb 2024 08:15:34 +0100 Subject: [PATCH 034/374] Requested changes after review - modified css to increase clicking area - modified spec to more straightfoward and more user oriented link --- app/webpacker/css/admin/dropdown.scss | 7 +++++++ app/webpacker/css/admin_v3/components/dropdown.scss | 7 +++++++ spec/system/admin/order_spec.rb | 4 ++-- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/app/webpacker/css/admin/dropdown.scss b/app/webpacker/css/admin/dropdown.scss index 443d8b46e3..c18e90fea0 100644 --- a/app/webpacker/css/admin/dropdown.scss +++ b/app/webpacker/css/admin/dropdown.scss @@ -181,6 +181,11 @@ } } + > details { + margin: -7px -15px; + padding: 7px 15px; + } + > details > summary { display: inline-block; list-style: none; @@ -188,6 +193,8 @@ text-transform: uppercase; font-size: 85%; font-weight: 600; + margin: -8px -15px; + padding: 8px 15px; } > details > summary:after { diff --git a/app/webpacker/css/admin_v3/components/dropdown.scss b/app/webpacker/css/admin_v3/components/dropdown.scss index bf2a36c75b..8a101d1c8d 100644 --- a/app/webpacker/css/admin_v3/components/dropdown.scss +++ b/app/webpacker/css/admin_v3/components/dropdown.scss @@ -181,6 +181,11 @@ } } + > details { + margin: -7px -15px; + padding: 7px 15px; + } + > details > summary { display: inline-block; list-style: none; @@ -188,6 +193,8 @@ text-transform: uppercase; font-size: 85%; font-weight: 600; + margin: -8px -15px; + padding: 8px 15px; } > details > summary:after { diff --git a/spec/system/admin/order_spec.rb b/spec/system/admin/order_spec.rb index b4de995c69..3d6c083d00 100644 --- a/spec/system/admin/order_spec.rb +++ b/spec/system/admin/order_spec.rb @@ -719,7 +719,7 @@ describe ' it "should not display links but a js alert" do visit spree.edit_admin_order_path(order) - find("#links-dropdown .ofn-drop-down details").click + find("summary", text: "ACTIONS").click expect(page).to have_link "Send Invoice", href: "#" expect(page).to have_link "Print Invoice", href: "#" @@ -729,7 +729,7 @@ describe ' expect(message) .to eq "#{distributor1.name} must have a valid ABN before invoices can be used." - find("#links-dropdown .ofn-drop-down details").click + find("summary", text: "ACTIONS").click message = accept_prompt do click_link "Send Invoice" end From 5cfac3d2c7a08a855735a8b731c85f6b6d4b65e0 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 29 Feb 2024 10:10:57 +1100 Subject: [PATCH 035/374] Add comments --- app/webpacker/css/admin/dropdown.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/webpacker/css/admin/dropdown.scss b/app/webpacker/css/admin/dropdown.scss index c18e90fea0..ab3a61d5bb 100644 --- a/app/webpacker/css/admin/dropdown.scss +++ b/app/webpacker/css/admin/dropdown.scss @@ -182,6 +182,7 @@ } > details { + // Override padding on ofn-drop-down-style margin: -7px -15px; padding: 7px 15px; } @@ -193,6 +194,7 @@ text-transform: uppercase; font-size: 85%; font-weight: 600; + // Override padding on ofn-drop-down-style to increase clickable area margin: -8px -15px; padding: 8px 15px; } From bbc460310689a05cf5fefb4b00370d7e02daf04d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Feb 2024 01:38:02 +0000 Subject: [PATCH 036/374] chore(deps): bump rack from 2.2.8 to 2.2.8.1 Bumps [rack](https://github.com/rack/rack) from 2.2.8 to 2.2.8.1. - [Release notes](https://github.com/rack/rack/releases) - [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md) - [Commits](https://github.com/rack/rack/compare/v2.2.8...v2.2.8.1) --- updated-dependencies: - dependency-name: rack dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index ae2f790fdb..f56e1ea051 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -504,7 +504,7 @@ GEM railties (>= 4.2) raabro (1.4.0) racc (1.7.3) - rack (2.2.8) + rack (2.2.8.1) rack-mini-profiler (2.3.4) rack (>= 1.2.0) rack-oauth2 (2.2.1) From 2fff568ef920b6aedeb3fc5043ca85a927b57a0f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Feb 2024 09:57:42 +0000 Subject: [PATCH 037/374] chore(deps): bump jwt from 2.8.0 to 2.8.1 Bumps [jwt](https://github.com/jwt/ruby-jwt) from 2.8.0 to 2.8.1. - [Release notes](https://github.com/jwt/ruby-jwt/releases) - [Changelog](https://github.com/jwt/ruby-jwt/blob/main/CHANGELOG.md) - [Commits](https://github.com/jwt/ruby-jwt/compare/v2.8.0...v2.8.1) --- updated-dependencies: - dependency-name: jwt dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index ae2f790fdb..319c8673fe 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -380,7 +380,7 @@ GEM rspec (>= 2.0, < 4.0) jsonapi-serializer (2.2.0) activesupport (>= 4.2) - jwt (2.8.0) + jwt (2.8.1) base64 knapsack_pro (6.0.4) rake From 58490c26c168698cdc31ade6e174b57a807fb2cc Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 29 Feb 2024 13:17:16 +1100 Subject: [PATCH 038/374] Add rspec-sql gem --- Gemfile | 1 + Gemfile.lock | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index 23e8f60e4b..d4eea771b0 100644 --- a/Gemfile +++ b/Gemfile @@ -161,6 +161,7 @@ group :test, :development do gem 'letter_opener', '>= 1.4.1' gem 'rspec-rails', ">= 3.5.2" gem 'rspec-retry', require: false + gem 'rspec-sql' gem 'rswag' gem 'shoulda-matchers' gem 'stimulus_reflex_testing' diff --git a/Gemfile.lock b/Gemfile.lock index 72b7ce5679..d6767d203c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -626,6 +626,9 @@ GEM rspec-support (~> 3.12) rspec-retry (0.6.2) rspec-core (> 3.3) + rspec-sql (0.0.1) + activesupport + rspec rspec-support (3.12.1) rswag (2.13.0) rswag-api (= 2.13.0) @@ -921,6 +924,7 @@ DEPENDENCIES roo rspec-rails (>= 3.5.2) rspec-retry + rspec-sql rswag rswag-api rswag-ui From 60b86e1d645603b20e369f848552d00a24965a79 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 1 Mar 2024 11:40:39 +1100 Subject: [PATCH 039/374] Replace custom query counter with new gem rspec-sql --- .rubocop_todo.yml | 1 - .../admin/order_cycles_controller_spec.rb | 7 ++- spec/support/query_counter.rb | 48 ------------------- 3 files changed, 3 insertions(+), 53 deletions(-) delete mode 100644 spec/support/query_counter.rb diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 80d792d884..250bf7c60f 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -889,7 +889,6 @@ Style/PreferredHashMethods: Style/RedundantArgument: Exclude: - 'engines/dfc_provider/app/services/authorization_control.rb' - - 'spec/support/query_counter.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). diff --git a/spec/controllers/admin/order_cycles_controller_spec.rb b/spec/controllers/admin/order_cycles_controller_spec.rb index 085992f2d8..6cabb1f332 100644 --- a/spec/controllers/admin/order_cycles_controller_spec.rb +++ b/spec/controllers/admin/order_cycles_controller_spec.rb @@ -132,9 +132,9 @@ module Admin end it do - query_counter = QueryCounter.new - get :show, params: { id: order_cycle.id }, as: :json - expect(query_counter.queries).to eq( + expect { + get :show, params: { id: order_cycle.id }, as: :json + }.to query_database( { select: { enterprise_fees: 3, @@ -151,7 +151,6 @@ module Admin update: { spree_users: 1 } } ) - query_counter.stop end end end diff --git a/spec/support/query_counter.rb b/spec/support/query_counter.rb deleted file mode 100644 index 009c648d03..0000000000 --- a/spec/support/query_counter.rb +++ /dev/null @@ -1,48 +0,0 @@ -# frozen_string_literal: true - -class QueryCounter - QUERY_TYPES = [:delete, :insert, :select, :update].freeze - - attr_reader :queries - - def initialize - @queries = {} - @subscriber = ActiveSupport::Notifications. - subscribe("sql.active_record") do |_name, _started, _finished, _unique_id, payload| - type = get_type(payload[:sql]) - next if QUERY_TYPES.exclude?(type) || pg_query?(payload[:sql]) - - table = get_table(payload[:sql]) - @queries[type] ||= {} - @queries[type][table] ||= 0 - @queries[type][table] += 1 - end - end - - def stop - ActiveSupport::Notifications.unsubscribe("sql.active_record") - end - - private - - def get_table(sql) - sql_parts = sql.split(" ") - case get_type(sql) - when :insert - sql_parts[3] - when :update - sql_parts[1] - else - table_index = sql_parts.index("FROM") - sql_parts[table_index + 1] - end.gsub(/(\\|")/, "").to_sym - end - - def get_type(sql) - sql.split(" ")[0].downcase.to_sym - end - - def pg_query?(sql) - sql.include?("SELECT a.attname") || sql.include?("pg_attribute") - end -end From d761ddabb7a8b28df06f33abd34444a9b85a7313 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Mar 2024 09:35:47 +0000 Subject: [PATCH 040/374] chore(deps-dev): bump rubocop-rspec from 2.26.1 to 2.27.0 Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.26.1 to 2.27.0. - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.26.1...v2.27.0) --- updated-dependencies: - dependency-name: rubocop-rspec dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 72b7ce5679..a0b4c16027 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -653,8 +653,8 @@ GEM rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.30.0) - parser (>= 3.2.1.0) + rubocop-ast (1.31.1) + parser (>= 3.3.0.4) rubocop-capybara (2.20.0) rubocop (~> 1.41) rubocop-factory_bot (2.25.1) @@ -664,7 +664,7 @@ GEM rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) rubocop-ast (>= 1.30.0, < 2.0) - rubocop-rspec (2.26.1) + rubocop-rspec (2.27.0) rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) From 3bf76c81aafaa97b90c32e028d434f309aa0ad91 Mon Sep 17 00:00:00 2001 From: Feruz Oripov Date: Sat, 2 Mar 2024 16:11:26 +0500 Subject: [PATCH 041/374] Update specs --- .../customers_with_balance_query_spec.rb | 51 ++++++++++--------- 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/spec/queries/customers_with_balance_query_spec.rb b/spec/queries/customers_with_balance_query_spec.rb index 952294b0e6..47811e21ce 100644 --- a/spec/queries/customers_with_balance_query_spec.rb +++ b/spec/queries/customers_with_balance_query_spec.rb @@ -6,16 +6,19 @@ describe CustomersWithBalanceQuery do subject(:result) { described_class.new(Customer.where(id: customers)).call } describe '#call' do - let(:customers) { create(:customer) } + let(:customer) { create(:customer) } + let(:customers) { [customer] } let(:total) { 200.00 } let(:order_total) { 100.00 } let(:outstanding_balance) { instance_double(OutstandingBalanceQuery) } it 'calls OutstandingBalanceQuery#statement' do allow(OutstandingBalanceQuery).to receive(:new).and_return(outstanding_balance) - expect(outstanding_balance).to receive(:statement) + allow(outstanding_balance).to receive(:statement) result + + expect(outstanding_balance).to have_received(:statement) end describe 'arguments' do @@ -39,8 +42,8 @@ describe CustomersWithBalanceQuery do context 'when orders are in cart state' do before do - create(:order, customer: customers, total: order_total, payment_total: 0, state: 'cart') - create(:order, customer: customers, total: order_total, payment_total: 0, state: 'cart') + create(:order, customer:, total: order_total, payment_total: 0, state: 'cart') + create(:order, customer:, total: order_total, payment_total: 0, state: 'cart') end it 'returns the customer balance' do @@ -51,8 +54,8 @@ describe CustomersWithBalanceQuery do context 'when orders are in address state' do before do - create(:order, customer: customers, total: order_total, payment_total: 0, state: 'address') - create(:order, customer: customers, total: order_total, payment_total: 50, state: 'address') + create(:order, customer:, total: order_total, payment_total: 0, state: 'address') + create(:order, customer:, total: order_total, payment_total: 50, state: 'address') end it 'returns the customer balance' do @@ -63,8 +66,8 @@ describe CustomersWithBalanceQuery do context 'when orders are in delivery state' do before do - create(:order, customer: customers, total: order_total, payment_total: 0, state: 'delivery') - create(:order, customer: customers, total: order_total, payment_total: 50, + create(:order, customer:, total: order_total, payment_total: 0, state: 'delivery') + create(:order, customer:, total: order_total, payment_total: 50, state: 'delivery') end @@ -76,8 +79,8 @@ describe CustomersWithBalanceQuery do context 'when orders are in payment state' do before do - create(:order, customer: customers, total: order_total, payment_total: 0, state: 'payment') - create(:order, customer: customers, total: order_total, payment_total: 50, state: 'payment') + create(:order, customer:, total: order_total, payment_total: 0, state: 'payment') + create(:order, customer:, total: order_total, payment_total: 50, state: 'payment') end it 'returns the customer balance' do @@ -88,9 +91,9 @@ describe CustomersWithBalanceQuery do context 'when no orders where paid' do before do - order = create(:order, customer: customers, total: order_total, payment_total: 0) + order = create(:order, customer:, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') - order = create(:order, customer: customers, total: order_total, payment_total: 0) + order = create(:order, customer:, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') end @@ -104,9 +107,9 @@ describe CustomersWithBalanceQuery do let(:payment_total) { order_total } before do - order = create(:order, customer: customers, total: order_total, payment_total: 0) + order = create(:order, customer:, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') - order = create(:order, customer: customers, total: order_total, payment_total:) + order = create(:order, customer:, total: order_total, payment_total:) order.update_attribute(:state, 'complete') end @@ -121,11 +124,11 @@ describe CustomersWithBalanceQuery do let(:non_canceled_orders_total) { order_total } before do - order = create(:order, customer: customers, total: order_total, payment_total: 0) + order = create(:order, customer:, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') create( :order, - customer: customers, + customer:, total: order_total, payment_total: order_total, state: 'canceled' @@ -142,9 +145,9 @@ describe CustomersWithBalanceQuery do let(:payment_total) { order_total } before do - order = create(:order, customer: customers, total: order_total, payment_total: 0) + order = create(:order, customer:, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') - order = create(:order, customer: customers, total: order_total, payment_total:) + order = create(:order, customer:, total: order_total, payment_total:) order.update_attribute(:state, 'resumed') end @@ -158,9 +161,9 @@ describe CustomersWithBalanceQuery do let(:payment_total) { order_total } before do - order = create(:order, customer: customers, total: order_total, payment_total: 0) + order = create(:order, customer:, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') - order = create(:order, customer: customers, total: order_total, payment_total:) + order = create(:order, customer:, total: order_total, payment_total:) order.update_attribute(:state, 'payment') end @@ -174,9 +177,9 @@ describe CustomersWithBalanceQuery do let(:payment_total) { order_total } before do - order = create(:order, customer: customers, total: order_total, payment_total: 0) + order = create(:order, customer:, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') - order = create(:order, customer: customers, total: order_total, payment_total:) + order = create(:order, customer:, total: order_total, payment_total:) order.update_attribute(:state, 'awaiting_return') end @@ -191,9 +194,9 @@ describe CustomersWithBalanceQuery do let(:non_returned_orders_total) { order_total } before do - order = create(:order, customer: customers, total: order_total, payment_total: 0) + order = create(:order, customer:, total: order_total, payment_total: 0) order.update_attribute(:state, 'complete') - order = create(:order, customer: customers, total: order_total, payment_total:) + order = create(:order, customer:, total: order_total, payment_total:) order.update_attribute(:state, 'returned') end From 0f0ec729f13603ff8ce18eae5be82be4fc777105 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 09:47:53 +0000 Subject: [PATCH 042/374] chore(deps-dev): bump rubocop-rspec from 2.27.0 to 2.27.1 Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.27.0 to 2.27.1. - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.27.0...v2.27.1) --- updated-dependencies: - dependency-name: rubocop-rspec dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1013d7bdcb..188affa5ab 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -667,7 +667,7 @@ GEM rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) rubocop-ast (>= 1.30.0, < 2.0) - rubocop-rspec (2.27.0) + rubocop-rspec (2.27.1) rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) From 45f4a062636beb2211fa2f5a40842a63dd20f8af Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Mon, 4 Mar 2024 21:04:31 +0100 Subject: [PATCH 043/374] [BO Orders] Update Ent. fees on item qty decreasing --- app/controllers/api/v0/shipments_controller.rb | 2 ++ .../api/v0/shipments_controller_spec.rb | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/app/controllers/api/v0/shipments_controller.rb b/app/controllers/api/v0/shipments_controller.rb index d742f2c29e..cfa01a6d0a 100644 --- a/app/controllers/api/v0/shipments_controller.rb +++ b/app/controllers/api/v0/shipments_controller.rb @@ -85,6 +85,8 @@ module Api @order.contents.remove(variant, quantity, @shipment, restock_item) @shipment.reload if @shipment.persisted? + @order.recreate_all_fees! + render json: @shipment, serializer: Api::ShipmentSerializer, status: :ok end diff --git a/spec/controllers/api/v0/shipments_controller_spec.rb b/spec/controllers/api/v0/shipments_controller_spec.rb index 9ade418913..2c167587e2 100644 --- a/spec/controllers/api/v0/shipments_controller_spec.rb +++ b/spec/controllers/api/v0/shipments_controller_spec.rb @@ -367,13 +367,17 @@ describe Api::V0::ShipmentsController, type: :controller do instance_double(Spree::Order, number: "123", distributor: variant.product.supplier) } let(:contents) { instance_double(Spree::OrderContents) } + let(:fee_order_shipment) { + instance_double(Spree::Shipment) + } before do allow(Spree::Order).to receive(:find_by!) { fee_order } - allow(controller).to receive(:find_and_update_shipment) {} allow(controller).to receive(:refuse_changing_cancelled_orders) {} allow(fee_order).to receive(:contents) { contents } - allow(contents).to receive(:add) {} + allow(contents).to receive_messages(add: {}, remove: {}) + allow(fee_order).to receive_message_chain(:shipments, :find_by!) { fee_order_shipment } + allow(fee_order_shipment).to receive_messages(update: nil, reload: nil, persisted?: nil) allow(fee_order).to receive(:recreate_all_fees!) end @@ -382,6 +386,12 @@ describe Api::V0::ShipmentsController, type: :controller do spree_put :add, params expect(fee_order).to have_received(:recreate_all_fees!) end + + it "recalculates fees for the line item when qty is decreased" do + params[:order_id] = fee_order.number + spree_put :remove, params + expect(fee_order).to have_received(:recreate_all_fees!) + end end end From e95a58f7356dd43e0a5d6f3262900b76e2bfe431 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 20:28:10 +0000 Subject: [PATCH 044/374] chore(deps): bump json-jwt from 1.16.5 to 1.16.6 Bumps [json-jwt](https://github.com/nov/json-jwt) from 1.16.5 to 1.16.6. - [Release notes](https://github.com/nov/json-jwt/releases) - [Changelog](https://github.com/nov/json-jwt/blob/main/CHANGELOG.md) - [Commits](https://github.com/nov/json-jwt/compare/v1.16.5...v1.16.6) --- updated-dependencies: - dependency-name: json-jwt dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1013d7bdcb..8b65928a4e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -175,7 +175,7 @@ GEM bcp47_spec (0.2.1) bcrypt (3.1.19) bigdecimal (3.0.2) - bindata (2.4.15) + bindata (2.5.0) bindex (0.8.1) bootsnap (1.18.3) msgpack (~> 1.2) @@ -359,7 +359,7 @@ GEM railties (>= 3.2.16) json (2.7.1) json-canonicalization (1.0.0) - json-jwt (1.16.5) + json-jwt (1.16.6) activesupport (>= 4.2) aes_key_wrap base64 From 0a70d70118a98445bddb21a168560f83923bd703 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 4 Mar 2024 12:30:42 +1100 Subject: [PATCH 045/374] Add rubocop Capybara/NegationMatcher And remove other config which was actually disabled already. --- .rubocop_rspec_styleguide.yml | 12 ++++---- .rubocop_todo.yml | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 6 deletions(-) diff --git a/.rubocop_rspec_styleguide.yml b/.rubocop_rspec_styleguide.yml index 5dba6ea202..c59ecac4b1 100644 --- a/.rubocop_rspec_styleguide.yml +++ b/.rubocop_rspec_styleguide.yml @@ -10,12 +10,12 @@ RSpec: FactoryBot: Enabled: false +# Enabled rules + +Capybara/NegationMatcher: + Enabled: true + EnforcedStyle: not_to + RSpec/ExpectChange: Enabled: true EnforcedStyle: block - -RSpec/MultipleExpectations: - Max: 5 # Default 1 - -RSpec/MultipleMemoizedHelpers: - Max: 10 # Default 5 diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 250bf7c60f..71ebb824dc 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,6 +6,58 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. +# Offense count: 229 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: EnforcedStyle. +# SupportedStyles: have_no, not_to +Capybara/NegationMatcher: + Exclude: + - 'spec/mailers/producer_mailer_spec.rb' + - 'spec/support/reports_helper.rb' + - 'spec/system/admin/authentication_spec.rb' + - 'spec/system/admin/bulk_order_management_spec.rb' + - 'spec/system/admin/bulk_product_update_spec.rb' + - 'spec/system/admin/customers_spec.rb' + - 'spec/system/admin/enterprise_fees_spec.rb' + - 'spec/system/admin/enterprise_groups_spec.rb' + - 'spec/system/admin/enterprise_roles_spec.rb' + - 'spec/system/admin/enterprises/images_spec.rb' + - 'spec/system/admin/enterprises/index_spec.rb' + - 'spec/system/admin/enterprises_spec.rb' + - 'spec/system/admin/invoice_print_spec.rb' + - 'spec/system/admin/order_cycles/list_spec.rb' + - 'spec/system/admin/order_spec.rb' + - 'spec/system/admin/orders/invoices_spec.rb' + - 'spec/system/admin/orders_spec.rb' + - 'spec/system/admin/overview_spec.rb' + - 'spec/system/admin/product_import_spec.rb' + - 'spec/system/admin/reports/enterprise_fee_summaries_spec.rb' + - 'spec/system/admin/reports_spec.rb' + - 'spec/system/admin/schedules_spec.rb' + - 'spec/system/admin/shipping_methods_spec.rb' + - 'spec/system/admin/subscriptions/crud_spec.rb' + - 'spec/system/admin/tag_rules_spec.rb' + - 'spec/system/admin/users_spec.rb' + - 'spec/system/admin/variant_overrides_spec.rb' + - 'spec/system/consumer/account/cards_spec.rb' + - 'spec/system/consumer/account_spec.rb' + - 'spec/system/consumer/checkout/guest_spec.rb' + - 'spec/system/consumer/cookies_spec.rb' + - 'spec/system/consumer/footer_links_spec.rb' + - 'spec/system/consumer/multilingual_spec.rb' + - 'spec/system/consumer/registration_spec.rb' + - 'spec/system/consumer/shopping/cart_spec.rb' + - 'spec/system/consumer/shopping/checkout_auth_spec.rb' + - 'spec/system/consumer/shopping/checkout_spec.rb' + - 'spec/system/consumer/shopping/embedded_groups_spec.rb' + - 'spec/system/consumer/shopping/orders_spec.rb' + - 'spec/system/consumer/shopping/shopping_spec.rb' + - 'spec/system/consumer/shopping/unit_price_spec.rb' + - 'spec/system/consumer/shops_spec.rb' + - 'spec/system/consumer/user_password_spec.rb' + - 'spec/system/consumer/white_label_spec.rb' + - 'spec/views/admin/products_v3/_filters.html.haml_spec.rb' + # Offense count: 16 # Configuration parameters: AllowedMethods. # AllowedMethods: enums From ea0967e22e692576c2c51bab6d91513251cd7680 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 4 Mar 2024 12:35:12 +1100 Subject: [PATCH 046/374] Safely autocorrect Capybara/NegationMatcher --- .rubocop_todo.yml | 52 ------------ spec/mailers/producer_mailer_spec.rb | 4 +- spec/support/reports_helper.rb | 2 +- spec/system/admin/authentication_spec.rb | 2 +- .../admin/bulk_order_management_spec.rb | 74 ++++++++--------- spec/system/admin/bulk_product_update_spec.rb | 18 ++-- spec/system/admin/customers_spec.rb | 18 ++-- spec/system/admin/enterprise_fees_spec.rb | 2 +- spec/system/admin/enterprise_groups_spec.rb | 2 +- spec/system/admin/enterprise_roles_spec.rb | 2 +- spec/system/admin/enterprises/images_spec.rb | 2 +- spec/system/admin/enterprises/index_spec.rb | 24 +++--- spec/system/admin/enterprises_spec.rb | 6 +- spec/system/admin/invoice_print_spec.rb | 2 +- spec/system/admin/order_cycles/list_spec.rb | 14 ++-- spec/system/admin/order_spec.rb | 2 +- spec/system/admin/orders/invoices_spec.rb | 6 +- spec/system/admin/orders_spec.rb | 8 +- spec/system/admin/overview_spec.rb | 2 +- spec/system/admin/product_import_spec.rb | 82 +++++++++---------- .../reports/enterprise_fee_summaries_spec.rb | 2 +- spec/system/admin/reports_spec.rb | 2 +- spec/system/admin/schedules_spec.rb | 16 ++-- spec/system/admin/shipping_methods_spec.rb | 2 +- spec/system/admin/subscriptions/crud_spec.rb | 24 +++--- spec/system/admin/tag_rules_spec.rb | 6 +- spec/system/admin/users_spec.rb | 2 +- spec/system/admin/variant_overrides_spec.rb | 30 +++---- spec/system/consumer/account/cards_spec.rb | 2 +- spec/system/consumer/account_spec.rb | 2 +- spec/system/consumer/checkout/guest_spec.rb | 2 +- spec/system/consumer/cookies_spec.rb | 16 ++-- spec/system/consumer/footer_links_spec.rb | 2 +- spec/system/consumer/multilingual_spec.rb | 2 +- spec/system/consumer/registration_spec.rb | 6 +- spec/system/consumer/shopping/cart_spec.rb | 16 ++-- .../consumer/shopping/checkout_auth_spec.rb | 2 +- .../system/consumer/shopping/checkout_spec.rb | 6 +- .../consumer/shopping/embedded_groups_spec.rb | 10 +-- spec/system/consumer/shopping/orders_spec.rb | 4 +- .../system/consumer/shopping/shopping_spec.rb | 12 +-- .../consumer/shopping/unit_price_spec.rb | 12 +-- spec/system/consumer/shops_spec.rb | 4 +- spec/system/consumer/user_password_spec.rb | 2 +- spec/system/consumer/white_label_spec.rb | 10 +-- .../products_v3/_filters.html.haml_spec.rb | 4 +- 46 files changed, 235 insertions(+), 287 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 71ebb824dc..250bf7c60f 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,58 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 229 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: have_no, not_to -Capybara/NegationMatcher: - Exclude: - - 'spec/mailers/producer_mailer_spec.rb' - - 'spec/support/reports_helper.rb' - - 'spec/system/admin/authentication_spec.rb' - - 'spec/system/admin/bulk_order_management_spec.rb' - - 'spec/system/admin/bulk_product_update_spec.rb' - - 'spec/system/admin/customers_spec.rb' - - 'spec/system/admin/enterprise_fees_spec.rb' - - 'spec/system/admin/enterprise_groups_spec.rb' - - 'spec/system/admin/enterprise_roles_spec.rb' - - 'spec/system/admin/enterprises/images_spec.rb' - - 'spec/system/admin/enterprises/index_spec.rb' - - 'spec/system/admin/enterprises_spec.rb' - - 'spec/system/admin/invoice_print_spec.rb' - - 'spec/system/admin/order_cycles/list_spec.rb' - - 'spec/system/admin/order_spec.rb' - - 'spec/system/admin/orders/invoices_spec.rb' - - 'spec/system/admin/orders_spec.rb' - - 'spec/system/admin/overview_spec.rb' - - 'spec/system/admin/product_import_spec.rb' - - 'spec/system/admin/reports/enterprise_fee_summaries_spec.rb' - - 'spec/system/admin/reports_spec.rb' - - 'spec/system/admin/schedules_spec.rb' - - 'spec/system/admin/shipping_methods_spec.rb' - - 'spec/system/admin/subscriptions/crud_spec.rb' - - 'spec/system/admin/tag_rules_spec.rb' - - 'spec/system/admin/users_spec.rb' - - 'spec/system/admin/variant_overrides_spec.rb' - - 'spec/system/consumer/account/cards_spec.rb' - - 'spec/system/consumer/account_spec.rb' - - 'spec/system/consumer/checkout/guest_spec.rb' - - 'spec/system/consumer/cookies_spec.rb' - - 'spec/system/consumer/footer_links_spec.rb' - - 'spec/system/consumer/multilingual_spec.rb' - - 'spec/system/consumer/registration_spec.rb' - - 'spec/system/consumer/shopping/cart_spec.rb' - - 'spec/system/consumer/shopping/checkout_auth_spec.rb' - - 'spec/system/consumer/shopping/checkout_spec.rb' - - 'spec/system/consumer/shopping/embedded_groups_spec.rb' - - 'spec/system/consumer/shopping/orders_spec.rb' - - 'spec/system/consumer/shopping/shopping_spec.rb' - - 'spec/system/consumer/shopping/unit_price_spec.rb' - - 'spec/system/consumer/shops_spec.rb' - - 'spec/system/consumer/user_password_spec.rb' - - 'spec/system/consumer/white_label_spec.rb' - - 'spec/views/admin/products_v3/_filters.html.haml_spec.rb' - # Offense count: 16 # Configuration parameters: AllowedMethods. # AllowedMethods: enums diff --git a/spec/mailers/producer_mailer_spec.rb b/spec/mailers/producer_mailer_spec.rb index b69b36c3e9..5f0fa747ed 100644 --- a/spec/mailers/producer_mailer_spec.rb +++ b/spec/mailers/producer_mailer_spec.rb @@ -215,7 +215,7 @@ describe ProducerMailer, type: :mailer do context "products from only one supplier" do it "doesn't display a supplier column" do expect(body_as_html(mail).find(".order-summary")) - .to have_no_selector("th", text: "Supplier") + .not_to have_selector("th", text: "Supplier") end context "when the show customer names to suppliers setting is enabled" do @@ -223,7 +223,7 @@ describe ProducerMailer, type: :mailer do it "doesn't display a supplier column in the summary of orders grouped by customer" do expect(body_as_html(mail).find(".customer-order")) - .to have_no_selector("th", text: "Supplier") + .not_to have_selector("th", text: "Supplier") end end end diff --git a/spec/support/reports_helper.rb b/spec/support/reports_helper.rb index 7e5b2db003..7bcfbbf5b6 100644 --- a/spec/support/reports_helper.rb +++ b/spec/support/reports_helper.rb @@ -5,6 +5,6 @@ module ReportsHelper click_on "Go" expect(page).to have_selector ".loading" perform_enqueued_jobs(only: ReportJob) - expect(page).to have_no_selector ".loading" + expect(page).not_to have_selector ".loading" end end diff --git a/spec/system/admin/authentication_spec.rb b/spec/system/admin/authentication_spec.rb index d83e2a3f7d..426ac758a8 100644 --- a/spec/system/admin/authentication_spec.rb +++ b/spec/system/admin/authentication_spec.rb @@ -18,7 +18,7 @@ describe "Authentication" do click_login_button expect(page).to have_content "DASHBOARD" expect(page).to have_current_path spree.admin_dashboard_path - expect(page).to have_no_content "CONFIGURATION" + expect(page).not_to have_content "CONFIGURATION" end it "viewing my account" do diff --git a/spec/system/admin/bulk_order_management_spec.rb b/spec/system/admin/bulk_order_management_spec.rb index b9b8e2c635..fd42412e38 100644 --- a/spec/system/admin/bulk_order_management_spec.rb +++ b/spec/system/admin/bulk_order_management_spec.rb @@ -58,14 +58,14 @@ describe ' it "displays a list of line items" do expect(page).to have_selector "tr#li_#{li1.id}" expect(page).to have_selector "tr#li_#{li2.id}" - expect(page).to have_no_selector "tr#li_#{li3.id}" + expect(page).not_to have_selector "tr#li_#{li3.id}" end it "displays only line items that are not shipped" do expect(page).to have_selector "tr#li_#{li1.id}" expect(page).to have_selector "tr#li_#{li2.id}" - expect(page).to have_no_selector "tr#li_#{li4.id}" - expect(page).to have_no_selector "tr#li_#{li5.id}" + expect(page).not_to have_selector "tr#li_#{li4.id}" + expect(page).not_to have_selector "tr#li_#{li5.id}" end it "orders by completion date" do @@ -437,7 +437,7 @@ describe ' end it "adds the class 'ng-dirty' to input elements when value is altered" do - expect(page).to have_no_css "input[name='quantity'].ng-dirty" + expect(page).not_to have_css "input[name='quantity'].ng-dirty" fill_in "quantity", with: 2 expect(page).to have_css "input[name='quantity'].ng-dirty" end @@ -453,19 +453,19 @@ describe ' context "when acceptable data is sent to the server" do it "displays an update button which submits pending changes" do - expect(page).to have_no_selector "#save-bar" + expect(page).not_to have_selector "#save-bar" fill_in "quantity", with: 2 expect(page).to have_selector "input[name='quantity'].ng-dirty" expect(page).to have_selector "#save-bar", text: "You have unsaved changes" click_button "Save Changes" expect(page).to have_selector "#save-bar", text: "All changes saved" - expect(page).to have_no_selector "input[name='quantity'].ng-dirty" + expect(page).not_to have_selector "input[name='quantity'].ng-dirty" end end context "when unacceptable data is sent to the server" do it "displays an update button which submits pending changes" do - expect(page).to have_no_selector "#save-bar" + expect(page).not_to have_selector "#save-bar" line_item = order.line_items.first fill_in "quantity", with: line_item.variant.on_hand + line_item.quantity + 10 expect(page).to have_selector "input[name='quantity'].ng-dirty" @@ -565,7 +565,7 @@ describe ' end it "shows all default columns, except the de-selected column" do - expect(page).to have_no_selector "th", text: "PRODUCER" + expect(page).not_to have_selector "th", text: "PRODUCER" expect(page).to have_selector "th", text: "NAME" expect(page).to have_selector "th", text: 'Completed at'.upcase @@ -608,7 +608,7 @@ describe ' select2_select s1.name, from: "supplier_filter" page.find('.filter-actions .button.icon-search').click expect(page).to have_selector "tr#li_#{li1.id}" - expect(page).to have_no_selector "tr#li_#{li2.id}" + expect(page).not_to have_selector "tr#li_#{li2.id}" end it "displays all line items when 'All' is selected from supplier filter" do @@ -617,7 +617,7 @@ describe ' select2_select s1.name, from: "supplier_filter" page.find('.filter-actions .button.icon-search').click expect(page).to have_selector "tr#li_#{li1.id}" - expect(page).to have_no_selector "tr#li_#{li2.id}" + expect(page).not_to have_selector "tr#li_#{li2.id}" select2_select "All", from: "supplier_filter" page.find('.filter-actions .button.icon-search').click expect(page).to have_selector "tr#li_#{li1.id}" @@ -657,7 +657,7 @@ describe ' find(".select2-result-label", text: d1.name.to_s).click page.find('.filter-actions .button.icon-search').click expect(page).to have_selector "tr#li_#{li1.id}" - expect(page).to have_no_selector "tr#li_#{li2.id}" + expect(page).not_to have_selector "tr#li_#{li2.id}" end it "displays all line items when 'All' is selected from distributor filter", retry: 3 do @@ -666,7 +666,7 @@ describe ' find("#s2id_distributor_filter .select2-chosen").click find(".select2-result-label", text: d1.name.to_s).click page.find('.filter-actions .button.icon-search').click - expect(page).to have_no_selector "tr#li_#{li2.id}" + expect(page).not_to have_selector "tr#li_#{li2.id}" # displays orders from all enterprises find("#s2id_distributor_filter .select2-chosen").click find(".select2-result-label", text: "All").click @@ -719,9 +719,9 @@ describe ' with_options: OrderCycle.pluck(:name).unshift("All") select2_select oc1.name, from: "order_cycle_filter" page.find('.filter-actions .button.icon-search').click - expect(page).to have_no_selector "#loading i" + expect(page).not_to have_selector "#loading i" expect(page).to have_selector "tr#li_#{li1.id}" - expect(page).to have_no_selector "tr#li_#{li2.id}" + expect(page).not_to have_selector "tr#li_#{li2.id}" end it "displays all line items when 'All' is selected from order_cycle filter", retry: 3 do @@ -729,7 +729,7 @@ describe ' select2_select oc1.name, from: "order_cycle_filter" page.find('.filter-actions .button.icon-search').click expect(page).to have_selector "tr#li_#{li1.id}" - expect(page).to have_no_selector "tr#li_#{li2.id}" + expect(page).not_to have_selector "tr#li_#{li2.id}" select2_select "All", from: "order_cycle_filter" page.find('.filter-actions .button.icon-search').click displays_default_orders @@ -768,20 +768,20 @@ describe ' click_on_select2 oc1.name, from: "order_cycle_filter" page.find('.filter-actions .button.icon-search').click expect(page).to have_selector "tr#li_#{li1.id}" - expect(page).to have_no_selector "tr#li_#{li2.id}" + expect(page).not_to have_selector "tr#li_#{li2.id}" click_on_select2 d1.name, from: "distributor_filter" click_on_select2 s1.name, from: "supplier_filter" page.find('.filter-actions .button.icon-search').click expect(page).to have_selector "tr#li_#{li1.id}" - expect(page).to have_no_selector "tr#li_#{li2.id}" + expect(page).not_to have_selector "tr#li_#{li2.id}" click_on_select2 d2.name, from: "distributor_filter" click_on_select2 s2.name, from: "supplier_filter" page.find('.filter-actions .button.icon-search').click - expect(page).to have_no_selector "tr#li_#{li1.id}" - expect(page).to have_no_selector "tr#li_#{li2.id}" + expect(page).not_to have_selector "tr#li_#{li1.id}" + expect(page).not_to have_selector "tr#li_#{li2.id}" click_on_select2 oc2.name, from: "order_cycle_filter" page.find('.filter-actions .button.icon-search').click - expect(page).to have_no_selector "tr#li_#{li1.id}" + expect(page).not_to have_selector "tr#li_#{li1.id}" expect(page).to have_selector "tr#li_#{li2.id}" end @@ -793,7 +793,7 @@ describe ' click_on_select2 s1.name, from: "supplier_filter" page.find('.filter-actions .button.icon-search').click expect(page).to have_selector "tr#li_#{li1.id}" - expect(page).to have_no_selector "tr#li_#{li2.id}" + expect(page).not_to have_selector "tr#li_#{li2.id}" page.find('.filter-actions #clear_filters_button').click expect(page).to have_selector "div#s2id_order_cycle_filter a.select2-choice", text: "All" expect(page).to have_selector "div#s2id_supplier_filter a.select2-choice", text: "All" @@ -850,7 +850,7 @@ describe ' expect(page).to have_selector "tr#li_#{li1.id}" expect(page).to have_selector "tr#li_#{li2.id}" expect(page).to have_selector "tr#li_#{li3.id}" - expect(page).to have_no_selector "tr#li_#{li4.id}" + expect(page).not_to have_selector "tr#li_#{li4.id}" find("input.datepicker").click select_dates_from_daterangepicker(from, to) @@ -878,9 +878,9 @@ describe ' # daterange picker should have changed expect(find("input.datepicker").value) .to eq "#{today.prev_day(9).strftime('%F')} to #{today.strftime('%F')}" - expect(page).to have_no_selector "#save-bar" + expect(page).not_to have_selector "#save-bar" within("tr#li_#{li2.id} td.quantity") do - expect(page).to have_no_selector "input[name=quantity].ng-dirty" + expect(page).not_to have_selector "input[name=quantity].ng-dirty" end end @@ -967,8 +967,8 @@ describe ' click_on("OK") end # order 1 should be canceled - expect(page).to have_no_selector "tr#li_#{li1.id}" - expect(page).to have_no_selector "tr#li_#{li11.id}" + expect(page).not_to have_selector "tr#li_#{li1.id}" + expect(page).not_to have_selector "tr#li_#{li11.id}" expect(o1.reload.state).to eq("canceled") # order 2 should not be canceled expect(page).to have_selector "tr#li_#{li2.id}" @@ -992,8 +992,8 @@ describe ' click_on "OK" end - expect(page).to have_no_selector ".modal" - expect(page).to have_no_selector "tr#li_#{li1.id}" + expect(page).not_to have_selector ".modal" + expect(page).not_to have_selector "tr#li_#{li1.id}" expect(page).to have_selector "tr#li_#{li11.id}" expect(o1.reload.state).to eq("complete") end @@ -1195,8 +1195,8 @@ describe ' end it "all line items of the same variant" do - expect(page).to have_no_selector "tr#li_#{li1.id}" - expect(page).to have_no_selector "tr#li_#{li2.id}" + expect(page).not_to have_selector "tr#li_#{li1.id}" + expect(page).not_to have_selector "tr#li_#{li2.id}" expect(page).to have_selector "tr#li_#{li3.id}" expect(page).to have_selector "tr#li_#{li4.id}" expect(page).to have_css("table#listing_orders tbody tr", count: 2) @@ -1211,7 +1211,7 @@ describe ' end it "shows all products and clears group buy box" do - expect(page).to have_no_selector "div#group_buy_calculation" + expect(page).not_to have_selector "div#group_buy_calculation" expect(page).to have_selector "tr#li_#{li1.id}" expect(page).to have_selector "tr#li_#{li2.id}" expect(page).to have_selector "tr#li_#{li3.id}" @@ -1226,10 +1226,10 @@ describe ' end it "shows only variant filtering by email" do - expect(page).to have_no_selector "tr#li_#{li1.id}" - expect(page).to have_no_selector "tr#li_#{li2.id}" + expect(page).not_to have_selector "tr#li_#{li1.id}" + expect(page).not_to have_selector "tr#li_#{li2.id}" expect(page).to have_selector "tr#li_#{li3.id}" - expect(page).to have_no_selector "tr#li_#{li4.id}" + expect(page).not_to have_selector "tr#li_#{li4.id}" end context "clicking 'Clear Filters' button" do @@ -1285,13 +1285,13 @@ describe ' visit_bulk_order_management expect(page).to have_selector "tr#li_#{line_item_distributed.id}" - expect(page).to have_no_selector "tr#li_#{line_item_not_distributed.id}" + expect(page).not_to have_selector "tr#li_#{line_item_not_distributed.id}" end end def visit_bulk_order_management visit spree.admin_bulk_order_management_path - expect(page).to have_no_text 'Loading orders' + expect(page).not_to have_text 'Loading orders' end def displays_default_orders @@ -1304,7 +1304,7 @@ describe ' expect(page).to have_selector "tr#li_#{li.id}" end excluded_line_items.each do |li| - expect(page).to have_no_selector "tr#li_#{li.id}" + expect(page).not_to have_selector "tr#li_#{li.id}" end end end diff --git a/spec/system/admin/bulk_product_update_spec.rb b/spec/system/admin/bulk_product_update_spec.rb index a15d7621b4..9475b3a9cb 100644 --- a/spec/system/admin/bulk_product_update_spec.rb +++ b/spec/system/admin/bulk_product_update_spec.rb @@ -68,9 +68,9 @@ describe ' expect(page).to have_selector "a.view-variants", count: 1 find("a.view-variants").click - expect(page).to have_no_selector "span[name='on_hand']", text: "On demand" + expect(page).not_to have_selector "span[name='on_hand']", text: "On demand" expect(page).to have_field "variant_on_hand", with: "4" - expect(page).to have_no_field "variant_on_hand", with: "" + expect(page).not_to have_field "variant_on_hand", with: "" expect(page).to have_selector "span[name='variant_on_hand']", text: "On demand" end @@ -527,7 +527,7 @@ describe ' sleep 2 # wait for page to initialise - expect(page).to have_no_field "product_name", with: p2.name + expect(page).not_to have_field "product_name", with: p2.name fill_in "product_name", with: "new product1" within "#save-bar" do @@ -708,7 +708,7 @@ describe ' toggle_columns /^.{0,1}Producer$/i - expect(page).to have_no_selector "th", text: "PRODUCER" + expect(page).not_to have_selector "th", text: "PRODUCER" expect(page).to have_selector "th", text: "NAME" expect(page).to have_selector "th", text: "PRICE" expect(page).to have_selector "th", text: "ON HAND" @@ -739,7 +739,7 @@ describe ' # Products are hidden when filtered out expect(page).to have_field "product_name", with: p1.name - expect(page).to have_no_field "product_name", with: p2.name + expect(page).not_to have_field "product_name", with: p2.name # Clearing filters click_button "Clear Filters" @@ -787,7 +787,7 @@ describe ' expect(page).to have_field 'product_name', with: product_supplied.name expect(page).to have_field 'product_name', with: product_supplied_permitted.name - expect(page).to have_no_field 'product_name', with: product_not_supplied.name + expect(page).not_to have_field 'product_name', with: product_not_supplied.name end it "shows only suppliers that I manage or have permission to" do @@ -799,7 +799,7 @@ describe ' with_options: [supplier_managed1.name, supplier_managed2.name, supplier_permitted.name], selected: supplier_managed1.name, ) - expect(page).to have_no_select 'producer_id', with_options: [supplier_unmanaged.name] + expect(page).not_to have_select 'producer_id', with_options: [supplier_unmanaged.name] end it "shows inactive products that I supply" do @@ -910,8 +910,8 @@ describe ' expect(page).to have_css ".spinner" end - expect(page).to have_no_css ".spinner" - expect(page).to have_no_selector "div.reveal-modal" + expect(page).not_to have_css ".spinner" + expect(page).not_to have_selector "div.reveal-modal" within "table#listing_products tr#p_#{product.id}" do # New thumbnail is shown in image column diff --git a/spec/system/admin/customers_spec.rb b/spec/system/admin/customers_spec.rb index 8c82778f86..0cac8bb172 100644 --- a/spec/system/admin/customers_spec.rb +++ b/spec/system/admin/customers_spec.rb @@ -45,9 +45,9 @@ describe 'Customers' do # Loads the right customers; positive assertion first, so DOM content is loaded expect(page).to have_selector "tr#c_#{customer4.id}" - expect(page).to have_no_selector "tr#c_#{customer1.id}" - expect(page).to have_no_selector "tr#c_#{customer2.id}" - expect(page).to have_no_selector "tr#c_#{customer3.id}" + expect(page).not_to have_selector "tr#c_#{customer1.id}" + expect(page).not_to have_selector "tr#c_#{customer2.id}" + expect(page).not_to have_selector "tr#c_#{customer3.id}" # Changing Shops select2_select managed_distributor1.name, from: "shop_id" @@ -55,12 +55,12 @@ describe 'Customers' do # Loads the right customers expect(page).to have_selector "tr#c_#{customer1.id}" expect(page).to have_selector "tr#c_#{customer2.id}" - expect(page).to have_no_selector "tr#c_#{customer3.id}" - expect(page).to have_no_selector "tr#c_#{customer4.id}" + expect(page).not_to have_selector "tr#c_#{customer3.id}" + expect(page).not_to have_selector "tr#c_#{customer4.id}" # Searching fill_in "quick_search", with: customer2.email - expect(page).to have_no_selector "tr#c_#{customer1.id}" + expect(page).not_to have_selector "tr#c_#{customer1.id}" expect(page).to have_selector "tr#c_#{customer2.id}" fill_in "quick_search", with: "" @@ -87,8 +87,8 @@ describe 'Customers' do expect(page).to have_selector "th.email" expect(page).to have_content customer1.email toggle_columns "Email" - expect(page).to have_no_selector "th.email" - expect(page).to have_no_content customer1.email + expect(page).not_to have_selector "th.email" + expect(page).not_to have_content customer1.email # Deleting create(:subscription, customer: customer1) @@ -110,7 +110,7 @@ describe 'Customers' do find("a.delete-customer").click end end - expect(page).to have_no_selector "tr#c_#{customer2.id}" + expect(page).not_to have_selector "tr#c_#{customer2.id}" }.to change{ Customer.count }.by(-1) end diff --git a/spec/system/admin/enterprise_fees_spec.rb b/spec/system/admin/enterprise_fees_spec.rb index a227c0e49e..be3a7c8e5d 100644 --- a/spec/system/admin/enterprise_fees_spec.rb +++ b/spec/system/admin/enterprise_fees_spec.rb @@ -250,7 +250,7 @@ describe ' # Then my enterprise fee should have been deleted visit admin_enterprise_fees_path - expect(page).to have_no_selector "input[value='#{fee.name}']" + expect(page).not_to have_selector "input[value='#{fee.name}']" end context "as an enterprise manager" do diff --git a/spec/system/admin/enterprise_groups_spec.rb b/spec/system/admin/enterprise_groups_spec.rb index f0b2eecc33..d025aa8cc8 100644 --- a/spec/system/admin/enterprise_groups_spec.rb +++ b/spec/system/admin/enterprise_groups_spec.rb @@ -103,7 +103,7 @@ describe ' first("a.delete-resource").click end - expect(page).to have_no_content 'EGEGEG' + expect(page).not_to have_content 'EGEGEG' expect(EnterpriseGroup.all).not_to include eg end diff --git a/spec/system/admin/enterprise_roles_spec.rb b/spec/system/admin/enterprise_roles_spec.rb index 4ce24922cd..2b7be496ca 100644 --- a/spec/system/admin/enterprise_roles_spec.rb +++ b/spec/system/admin/enterprise_roles_spec.rb @@ -140,7 +140,7 @@ create(:enterprise) within 'table.managers' do within "tr#manager-#{user1.id}" do expect(page).to have_css 'i.owner' - expect(page).to have_no_css 'i.contact' + expect(page).not_to have_css 'i.contact' end within "tr#manager-#{user2.id}" do expect(page).to have_css 'i.contact' diff --git a/spec/system/admin/enterprises/images_spec.rb b/spec/system/admin/enterprises/images_spec.rb index 42bc455b92..f5f1ccdb97 100644 --- a/spec/system/admin/enterprises/images_spec.rb +++ b/spec/system/admin/enterprises/images_spec.rb @@ -123,6 +123,6 @@ describe "Managing enterprise images" do end def expect_no_preview_image - expect(page).to have_no_selector(".image-field-group__preview-image") + expect(page).not_to have_selector(".image-field-group__preview-image") end end diff --git a/spec/system/admin/enterprises/index_spec.rb b/spec/system/admin/enterprises/index_spec.rb index f1d78745ec..7e5c7489f9 100644 --- a/spec/system/admin/enterprises/index_spec.rb +++ b/spec/system/admin/enterprises/index_spec.rb @@ -19,8 +19,8 @@ describe 'Enterprises Index' do expect(page).to have_select "sets_enterprise_set_collection_attributes_1_sells" expect(page).to have_content "Settings" expect(page).to have_content "Delete" - expect(page).to have_no_content "Payment Methods" - expect(page).to have_no_content "Shipping Methods" + expect(page).not_to have_content "Payment Methods" + expect(page).not_to have_content "Shipping Methods" expect(page).to have_content "Enterprise Fees" end @@ -149,8 +149,8 @@ describe 'Enterprises Index' do expect(page).to have_selector "td.package", text: 'Profile' end - expect(page).to have_no_content "supplier2.name" - expect(page).to have_no_content "distributor2.name" + expect(page).not_to have_content "supplier2.name" + expect(page).not_to have_content "distributor2.name" expect(find('.js-admin-section-header')).to have_link "New Enterprise" end @@ -164,12 +164,12 @@ describe 'Enterprises Index' do expect(page).to have_selector "a.selector.producer.disabled" find("a.selector.producer.disabled").click expect(page).to have_selector "a.selector.non-producer.selected.disabled" - expect(page).to have_no_selector "a.update" + expect(page).not_to have_selector "a.update" find("td.package").click expect(page).to have_selector "a.selector.hub-profile.disabled" find("a.selector.hub-profile.disabled").click expect(page).to have_selector "a.selector.hub.selected.disabled" - expect(page).to have_no_selector "a.update" + expect(page).not_to have_selector "a.update" end end end @@ -194,13 +194,13 @@ describe 'Enterprises Index' do # Open the producer panel find("td.producer").click - expect(page).to have_no_selector "a.selector.producer.selected" + expect(page).not_to have_selector "a.selector.producer.selected" expect(page).to have_selector "a.selector.non-producer.selected" # Change to a producer find("a.selector.producer").click - expect(page).to have_no_selector "a.selector.non-producer.selected" + expect(page).not_to have_selector "a.selector.non-producer.selected" expect(page).to have_selector "a.selector.producer.selected" expect(page).to have_selector "a.update", text: "SAVE" @@ -212,16 +212,16 @@ describe 'Enterprises Index' do # Open the package panel find("td.package").click - expect(page).to have_no_selector "a.selector.producer-profile.selected" - expect(page).to have_no_selector "a.selector.producer-shop.selected" + expect(page).not_to have_selector "a.selector.producer-profile.selected" + expect(page).not_to have_selector "a.selector.producer-shop.selected" expect(page).to have_selector "a.selector.producer-hub.selected" # Change to a producer-shop find("a.selector.producer-shop").click - expect(page).to have_no_selector "a.selector.producer-profile.selected" + expect(page).not_to have_selector "a.selector.producer-profile.selected" expect(page).to have_selector "a.selector.producer-shop.selected" - expect(page).to have_no_selector "a.selector.producer-hub.selected" + expect(page).not_to have_selector "a.selector.producer-hub.selected" expect(page).to have_selector "a.update", text: "SAVE" # Save selection diff --git a/spec/system/admin/enterprises_spec.rb b/spec/system/admin/enterprises_spec.rb index 69c52cf6b1..388c5a931c 100644 --- a/spec/system/admin/enterprises_spec.rb +++ b/spec/system/admin/enterprises_spec.rb @@ -97,7 +97,7 @@ describe ' expect(page).to have_checked_field "enterprise_require_login_false" expect(page).to have_checked_field "enterprise_allow_guest_orders_true" find(:xpath, '//*[@id="enterprise_require_login_true"]').trigger("click") - expect(page).to have_no_checked_field "enterprise_require_login_false" + expect(page).not_to have_checked_field "enterprise_require_login_false" # expect(page).to have_checked_field "enterprise_enable_subscriptions_false" accept_alert do @@ -105,7 +105,7 @@ describe ' within(".side_menu") { click_link "Users" } end select2_select user.email, from: 'enterprise_owner_id' - expect(page).to have_no_selector '.select2-drop-mask' # Ensure select2 has finished + expect(page).not_to have_selector '.select2-drop-mask' # Ensure select2 has finished accept_alert do click_link "About" @@ -413,7 +413,7 @@ describe ' click_button 'Create' # Then it should show me an error - expect(page).to have_no_content 'Enterprise "zzz" has been successfully created!' + expect(page).not_to have_content 'Enterprise "zzz" has been successfully created!' expect(page).to have_content "#{enterprise_user.email} is not permitted " \ "to own any more enterprises (limit is 1)." end diff --git a/spec/system/admin/invoice_print_spec.rb b/spec/system/admin/invoice_print_spec.rb index 45a6823706..f4f922df03 100644 --- a/spec/system/admin/invoice_print_spec.rb +++ b/spec/system/admin/invoice_print_spec.rb @@ -56,7 +56,7 @@ describe ' login_as_admin visit spree.print_admin_order_path(order, params: url_params) convert_pdf_to_page - expect(page).to have_no_content 'Payment Description at Checkout' + expect(page).not_to have_content 'Payment Description at Checkout' end end diff --git a/spec/system/admin/order_cycles/list_spec.rb b/spec/system/admin/order_cycles/list_spec.rb index 027cbb2ebc..bcc977e5f8 100644 --- a/spec/system/admin/order_cycles/list_spec.rb +++ b/spec/system/admin/order_cycles/list_spec.rb @@ -72,7 +72,7 @@ describe ' end # I can load more order_cycles - expect(page).to have_no_selector "#listing_order_cycles tr.order-cycle-#{oc7.id}" + expect(page).not_to have_selector "#listing_order_cycles tr.order-cycle-#{oc7.id}" click_button "Show 30 more days" expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc7.id}" @@ -81,9 +81,9 @@ describe ' expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc1.id}" expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc2.id}" select2_select oc1.suppliers.first.name, from: "involving_filter" - expect(page).to have_no_selector "#listing_order_cycles tr.order-cycle-#{oc0.id}" + expect(page).not_to have_selector "#listing_order_cycles tr.order-cycle-#{oc0.id}" expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc1.id}" - expect(page).to have_no_selector "#listing_order_cycles tr.order-cycle-#{oc2.id}" + expect(page).not_to have_selector "#listing_order_cycles tr.order-cycle-#{oc2.id}" select2_select "Any Enterprise", from: "involving_filter" expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc0.id}" expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc1.id}" @@ -95,8 +95,8 @@ describe ' expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc2.id}" fill_in "query", with: oc0.name expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc0.id}" - expect(page).to have_no_selector "#listing_order_cycles tr.order-cycle-#{oc1.id}" - expect(page).to have_no_selector "#listing_order_cycles tr.order-cycle-#{oc2.id}" + expect(page).not_to have_selector "#listing_order_cycles tr.order-cycle-#{oc1.id}" + expect(page).not_to have_selector "#listing_order_cycles tr.order-cycle-#{oc2.id}" fill_in "query", with: '' expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc0.id}" expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc1.id}" @@ -108,9 +108,9 @@ describe ' expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc2.id}" expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc3.id}" select2_select schedule1.name, from: "schedule_filter" - expect(page).to have_no_selector "#listing_order_cycles tr.order-cycle-#{oc0.id}" + expect(page).not_to have_selector "#listing_order_cycles tr.order-cycle-#{oc0.id}" expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc1.id}" - expect(page).to have_no_selector "#listing_order_cycles tr.order-cycle-#{oc2.id}" + expect(page).not_to have_selector "#listing_order_cycles tr.order-cycle-#{oc2.id}" expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc3.id}" select2_select 'Any Schedule', from: "schedule_filter" expect(page).to have_selector "#listing_order_cycles tr.order-cycle-#{oc0.id}" diff --git a/spec/system/admin/order_spec.rb b/spec/system/admin/order_spec.rb index 3d6c083d00..82060106d1 100644 --- a/spec/system/admin/order_spec.rb +++ b/spec/system/admin/order_spec.rb @@ -1188,7 +1188,7 @@ describe ' click_link "Create or Update Invoice" # and disappear after clicking - expect(page).to have_no_link "Create or Update Invoice" + expect(page).not_to have_link "Create or Update Invoice" expect(page).to_not have_content "The order has changed since the last invoice update." # creating an invoice, displays a second row diff --git a/spec/system/admin/orders/invoices_spec.rb b/spec/system/admin/orders/invoices_spec.rb index 5527eac11a..f0712f9e5d 100644 --- a/spec/system/admin/orders/invoices_spec.rb +++ b/spec/system/admin/orders/invoices_spec.rb @@ -40,7 +40,7 @@ describe ' expect { click_link "Create or Update Invoice" - expect(page).to have_no_link "Create or Update Invoice" + expect(page).not_to have_link "Create or Update Invoice" }.to change { order.invoices.count }.by(1) invoice = order.invoices.first @@ -72,7 +72,7 @@ describe ' click_link 'Invoices' expect { click_link "Create or Update Invoice" - expect(page).to have_no_link "Create or Update Invoice" + expect(page).not_to have_link "Create or Update Invoice" }.to change { order.reload.invoices.count }.by(0) .and change { latest_invoice.reload.presenter.note }.from("").to(new_note) @@ -89,7 +89,7 @@ describe ' click_link 'Invoices' expect { click_link "Create or Update Invoice" - expect(page).to have_no_link "Create or Update Invoice" + expect(page).not_to have_link "Create or Update Invoice" }.to change { order.reload.invoices.count }.by(1) expect(latest_invoice.reload.cancelled).to eq true diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index 22bd0b7841..6693aeaed6 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -281,7 +281,7 @@ describe ' # And the same orders are displayed when sorting by name: find("th a", text: "NAME").click - expect(page).to have_no_content order_empty.number + expect(page).not_to have_content order_empty.number expect(page).to have_content order_not_empty.number expect(page).to have_content order_not_empty_no_address.number end @@ -899,15 +899,15 @@ describe ' visit spree.admin_orders_path expect(page).to have_content complete_order.number expect(page).to have_content empty_complete_order.number - expect(page).to have_no_content incomplete_order.number - expect(page).to have_no_content empty_order.number + expect(page).not_to have_content incomplete_order.number + expect(page).not_to have_content empty_order.number uncheck 'Only show complete orders' page.find('button[type=submit]').click expect(page).to have_content complete_order.number expect(page).to have_content incomplete_order.number - expect(page).to have_no_content empty_order.number + expect(page).not_to have_content empty_order.number end end diff --git a/spec/system/admin/overview_spec.rb b/spec/system/admin/overview_spec.rb index 055ef9d6e5..da77a83e39 100644 --- a/spec/system/admin/overview_spec.rb +++ b/spec/system/admin/overview_spec.rb @@ -53,7 +53,7 @@ describe ' it "does not show a products item" do visit '/admin' - expect(page).to have_no_selector "#products" + expect(page).not_to have_selector "#products" end end end diff --git a/spec/system/admin/product_import_spec.rb b/spec/system/admin/product_import_spec.rb index 8671daa8c7..c6793b29b2 100644 --- a/spec/system/admin/product_import_spec.rb +++ b/spec/system/admin/product_import_spec.rb @@ -78,14 +78,14 @@ describe "Product Import" do proceed_to_validation expect(page).to have_selector '.item-count', text: "2" - expect(page).to have_no_selector '.invalid-count' + expect(page).not_to have_selector '.invalid-count' expect(page).to have_selector '.create-count', text: "2" - expect(page).to have_no_selector '.update-count' + expect(page).not_to have_selector '.update-count' save_data expect(page).to have_selector '.created-count', text: '2' - expect(page).to have_no_selector '.updated-count' + expect(page).not_to have_selector '.updated-count' carrots = Spree::Product.find_by(name: 'Carrots') potatoes = Spree::Product.find_by(name: 'Potatoes') @@ -126,9 +126,9 @@ describe "Product Import" do expect(page).to have_selector '.item-count', text: "4" expect(page).to have_selector '.invalid-count', text: "3" expect(page).to have_selector ".create-count", text: "1" - expect(page).to have_no_selector '.update-count' + expect(page).not_to have_selector '.update-count' - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' end it "displays info about inconsistent variant unit names, within the same product" do @@ -152,7 +152,7 @@ describe "Product Import" do "with the same name" expect(page).to have_content "Imported file contains invalid entries" - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' end it "handles saving of named tax and shipping categories" do @@ -173,12 +173,12 @@ describe "Product Import" do expect(page).to have_selector '.item-count', text: "1" expect(page).to have_selector '.create-count', text: "1" - expect(page).to have_no_selector '.update-count' + expect(page).not_to have_selector '.update-count' save_data expect(page).to have_selector '.created-count', text: '1' - expect(page).to have_no_selector '.updated-count' + expect(page).not_to have_selector '.updated-count' carrots = Spree::Product.find_by(name: 'Carrots') expect(carrots.variants.first.tax_category).to eq tax_category @@ -227,8 +227,8 @@ describe "Product Import" do expect(page).to have_field "product_name", with: carrots.name expect(page).to have_field "product_name", with: potatoes.name - expect(page).to have_no_field "product_name", with: product.name - expect(page).to have_no_field "product_name", with: product2.name + expect(page).not_to have_field "product_name", with: product.name + expect(page).not_to have_field "product_name", with: product2.name end it "can reset product stock to zero for products not present in the CSV" do @@ -316,16 +316,16 @@ describe "Product Import" do proceed_to_validation expect(page).to have_selector '.item-count', text: "3" - expect(page).to have_no_selector '.invalid-count' - expect(page).to have_no_selector '.create-count' - expect(page).to have_no_selector '.update-count' + expect(page).not_to have_selector '.invalid-count' + expect(page).not_to have_selector '.create-count' + expect(page).not_to have_selector '.update-count' expect(page).to have_selector '.inv-create-count', text: "2" expect(page).to have_selector '.inv-update-count', text: "1" save_data - expect(page).to have_no_selector '.created-count' - expect(page).to have_no_selector '.updated-count' + expect(page).not_to have_selector '.created-count' + expect(page).not_to have_selector '.updated-count' expect(page).to have_selector '.inv-created-count', text: '2' expect(page).to have_selector '.inv-updated-count', text: '1' @@ -374,7 +374,7 @@ describe "Product Import" do proceed_to_validation expect(page).to have_selector '.item-count', text: "1" - expect(page).to have_no_selector '.invalid-count' + expect(page).not_to have_selector '.invalid-count' expect(page).to have_selector '.inv-create-count', text: '1' save_data @@ -414,7 +414,7 @@ describe "Product Import" do click_button 'Upload' proceed_to_validation expect(page).to have_selector '.item-count', text: "1" - expect(page).to have_no_selector '.invalid-count' + expect(page).not_to have_selector '.invalid-count' expect(page).to have_selector '.inv-create-count', text: '1' save_data @@ -452,7 +452,7 @@ describe "Product Import" do expect(page).to have_content "Variant_unit_name must be the same for products " \ "with the same name" expect(page).to have_content "Imported file contains invalid entries" - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' visit main_app.admin_inventory_path @@ -482,7 +482,7 @@ describe "Product Import" do expect(page).to have_content "line 4: Cabbage - Units incorrect value" expect(page).to have_content "line 3: Beans - Units incorrect value" expect(page).to have_content "Imported file contains invalid entries" - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' expect(page).not_to have_content "line 2: Aubergine" end @@ -509,7 +509,7 @@ describe "Product Import" do expect(page).to have_content "line 4: Cabbage - Price incorrect value" expect(page).to have_content "line 3: Beans - Price can't be blank" expect(page).to have_content "Imported file contains invalid entries" - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' expect(page).not_to have_content "line 2: Aubergine" end end @@ -541,7 +541,7 @@ describe "Product Import" do expect(page) .to have_content "line 5: Aubergine - On_hand incorrect value - On_demand incorrect value" expect(page).to have_content "Imported file contains invalid entries" - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' expect(page).not_to have_content "line 2: Beans" expect(page).not_to have_content "line 3: Sprouts" end @@ -577,7 +577,7 @@ describe "Product Import" do expect(page).to have_content "line 5: Aubergine ( Bag ) - On_hand incorrect value - " \ "On_demand incorrect value" expect(page).to have_content "Imported file contains invalid entries" - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' expect(page).not_to have_content "line 2: Beans" expect(page).not_to have_content "line 3: Potatoes" end @@ -611,7 +611,7 @@ describe "Product Import" do expect(page).to have_content "line 5: Aubergine ( Bag ) - On_hand incorrect value - " \ "On_demand incorrect value" expect(page).to have_content "Imported file contains invalid entries" - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' expect(page).not_to have_content "line 2: Beans" expect(page).not_to have_content "line 3: Sprouts" end @@ -640,7 +640,7 @@ describe "Product Import" do expect(page).to have_content "line 3: Sprouts - Count_on_hand must be blank if on demand" expect(page).to have_content "line 4: Cabbage - Count_on_hand must be blank if on demand" expect(page).to have_content "Imported file contains invalid entries" - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' end it "imports lines with all allowed units" do @@ -663,14 +663,14 @@ describe "Product Import" do proceed_to_validation expect(page).to have_selector '.item-count', text: "2" - expect(page).to have_no_selector '.invalid-count' + expect(page).not_to have_selector '.invalid-count' expect(page).to have_selector '.create-count', text: "2" - expect(page).to have_no_selector '.update-count' + expect(page).not_to have_selector '.update-count' save_data expect(page).to have_selector '.created-count', text: '2' - expect(page).to have_no_selector '.updated-count' + expect(page).not_to have_selector '.updated-count' visit spree.admin_products_path @@ -699,14 +699,14 @@ describe "Product Import" do proceed_to_validation expect(page).to have_selector '.item-count', text: "1" - expect(page).to have_no_selector '.invalid-count' + expect(page).not_to have_selector '.invalid-count' expect(page).to have_selector '.create-count', text: "1" - expect(page).to have_no_selector '.update-count' + expect(page).not_to have_selector '.update-count' save_data expect(page).to have_selector '.created-count', text: '1' - expect(page).to have_no_selector '.updated-count' + expect(page).not_to have_selector '.updated-count' expect(page).to have_content "GO TO PRODUCTS PAGE" expect(page).to have_content "UPLOAD ANOTHER FILE" @@ -739,10 +739,10 @@ describe "Product Import" do expect(page).to have_selector '.item-count', text: "1" expect(page).to have_selector '.invalid-count', text: "1" - expect(page).to have_no_selector ".create-count" - expect(page).to have_no_selector '.update-count' + expect(page).not_to have_selector ".create-count" + expect(page).not_to have_selector '.update-count' - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' end context 'when using other language than English' do @@ -800,7 +800,7 @@ describe "Product Import" do click_button 'Upload' expect(page).to have_content "Importer could not process file: invalid filetype" - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' expect(page).to have_content "Select a spreadsheet to upload" File.delete('/tmp/test.txt') end @@ -820,9 +820,9 @@ describe "Product Import" do attach_file 'file', '/tmp/test.csv' click_button 'Upload' - expect(page).to have_no_selector '.create-count' - expect(page).to have_no_selector '.update-count' - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector '.create-count' + expect(page).not_to have_selector '.update-count' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' File.delete('/tmp/test.csv') end @@ -837,9 +837,9 @@ describe "Product Import" do attach_file 'file', '/tmp/test.csv' click_button 'Upload' - expect(page).to have_no_selector '.create-count' - expect(page).to have_no_selector '.update-count' - expect(page).to have_no_selector 'input[type=submit][value="Save"]' + expect(page).not_to have_selector '.create-count' + expect(page).not_to have_selector '.update-count' + expect(page).not_to have_selector 'input[type=submit][value="Save"]' expect(flash_message).to match("Product Import encountered a malformed CSV: %s" % '') File.delete('/tmp/test.csv') @@ -874,7 +874,7 @@ describe "Product Import" do expect(page).to have_selector '.create-count', text: "1" expect(page.body).to have_content 'you do not have permission' - expect(page).to have_no_selector 'a.button.proceed' + expect(page).not_to have_selector 'a.button.proceed' end end diff --git a/spec/system/admin/reports/enterprise_fee_summaries_spec.rb b/spec/system/admin/reports/enterprise_fee_summaries_spec.rb index 1b8339ba26..5e44a321ab 100644 --- a/spec/system/admin/reports/enterprise_fee_summaries_spec.rb +++ b/spec/system/admin/reports/enterprise_fee_summaries_spec.rb @@ -44,7 +44,7 @@ describe "enterprise fee summaries" do let(:current_user) { create(:user) } it "does not allow access to the report" do - expect(page).to have_no_link('Enterprise Fee Summary') + expect(page).not_to have_link('Enterprise Fee Summary') visit main_app.admin_report_path(report_type: 'enterprise_fee_summary') expect(page).to have_content('Unauthorized') end diff --git a/spec/system/admin/reports_spec.rb b/spec/system/admin/reports_spec.rb index 33b74e85b2..472ce6a333 100644 --- a/spec/system/admin/reports_spec.rb +++ b/spec/system/admin/reports_spec.rb @@ -122,7 +122,7 @@ describe ' page.has_selector? ".loading" end - expect(page).to have_no_selector ".loading" + expect(page).not_to have_selector ".loading" end end diff --git a/spec/system/admin/schedules_spec.rb b/spec/system/admin/schedules_spec.rb index 8913d9af18..8832f34d66 100644 --- a/spec/system/admin/schedules_spec.rb +++ b/spec/system/admin/schedules_spec.rb @@ -39,13 +39,13 @@ describe 'Schedules' do expect(page).to have_selector '#available-order-cycles .order-cycle', text: oc1.name expect(page).to have_selector '#available-order-cycles .order-cycle', text: oc2.name expect(page).to have_selector '#available-order-cycles .order-cycle', text: oc3.name - expect(page).to have_no_selector '#available-order-cycles .order-cycle', text: oc4.name + expect(page).not_to have_selector '#available-order-cycles .order-cycle', text: oc4.name expect(page).to have_selector '#available-order-cycles .order-cycle', text: oc5.name fill_in 'name', with: "Fortnightly" find("#available-order-cycles .order-cycle", text: oc1.name).click find("#add-remove-buttons a.add").click # Selection of an order cycles limits available options to those with the same coordinator - expect(page).to have_no_selector '#available-order-cycles .order-cycle', text: oc5.name + expect(page).not_to have_selector '#available-order-cycles .order-cycle', text: oc5.name find("#available-order-cycles .order-cycle", text: oc3.name).click find("#add-remove-buttons a.add").click click_button "Create Schedule" @@ -61,7 +61,7 @@ describe 'Schedules' do within ".order-cycle-#{oc2.id} td.schedules" do expect(page).to have_selector "a", text: "Weekly" - expect(page).to have_no_selector "a", text: "Fortnightly" + expect(page).not_to have_selector "a", text: "Fortnightly" end within ".order-cycle-#{oc3.id} td.schedules" do @@ -100,11 +100,11 @@ describe 'Schedules' do within ".order-cycle-#{oc2.id} td.schedules" do expect(page).to have_selector "a", text: "Weekly" - expect(page).to have_no_selector "a", text: "Fortnightly" + expect(page).not_to have_selector "a", text: "Fortnightly" end within ".order-cycle-#{oc3.id} td.schedules" do - expect(page).to have_no_selector "a", text: "Weekly" + expect(page).not_to have_selector "a", text: "Weekly" expect(page).to have_selector "a", text: "Fortnightly" end end @@ -128,15 +128,15 @@ describe 'Schedules' do expect(save_bar).to have_content "Deleted schedule: 'Weekly'" within ".order-cycle-#{oc1.id} td.schedules" do - expect(page).to have_no_selector "a", text: "Weekly" + expect(page).not_to have_selector "a", text: "Weekly" end within ".order-cycle-#{oc2.id} td.schedules" do - expect(page).to have_no_selector "a", text: "Weekly" + expect(page).not_to have_selector "a", text: "Weekly" end within ".order-cycle-#{oc3.id} td.schedules" do - expect(page).to have_no_selector "a", text: "Weekly" + expect(page).not_to have_selector "a", text: "Weekly" end expect(Schedule.find_by(id: weekly_schedule.id)).to be_nil diff --git a/spec/system/admin/shipping_methods_spec.rb b/spec/system/admin/shipping_methods_spec.rb index 6b05c91085..2bcc1f142c 100644 --- a/spec/system/admin/shipping_methods_spec.rb +++ b/spec/system/admin/shipping_methods_spec.rb @@ -35,7 +35,7 @@ describe 'shipping methods' do check "shipping_method_shipping_categories_" click_button 'Create' - expect(page).to have_no_button 'Create' + expect(page).not_to have_button 'Create' # Then the shipping method should have its distributor set expect(flash_message).to include "Carrier Pidgeon", "successfully created!" diff --git a/spec/system/admin/subscriptions/crud_spec.rb b/spec/system/admin/subscriptions/crud_spec.rb index d35a90c4d5..57dc122521 100644 --- a/spec/system/admin/subscriptions/crud_spec.rb +++ b/spec/system/admin/subscriptions/crud_spec.rb @@ -49,8 +49,8 @@ describe 'Subscriptions' do # Loads the right subscriptions expect(page).to have_selector "tr#so_#{subscription2.id}" - expect(page).to have_no_selector "tr#so_#{subscription.id}" - expect(page).to have_no_selector "tr#so_#{subscription_unmanaged.id}" + expect(page).not_to have_selector "tr#so_#{subscription.id}" + expect(page).not_to have_selector "tr#so_#{subscription_unmanaged.id}" within "tr#so_#{subscription2.id}" do expect(page).to have_selector "td.customer", text: subscription2.customer.email end @@ -60,8 +60,8 @@ describe 'Subscriptions' do # Loads the right subscriptions expect(page).to have_selector "tr#so_#{subscription.id}" - expect(page).to have_no_selector "tr#so_#{subscription2.id}" - expect(page).to have_no_selector "tr#so_#{subscription_unmanaged.id}" + expect(page).not_to have_selector "tr#so_#{subscription2.id}" + expect(page).not_to have_selector "tr#so_#{subscription_unmanaged.id}" within "tr#so_#{subscription.id}" do expect(page).to have_selector "td.customer", text: subscription.customer.email end @@ -72,23 +72,23 @@ describe 'Subscriptions' do # Using the Quick Search: no result fill_in 'query', with: 'blah blah blah' - expect(page).to have_no_selector "tr#so_#{subscription.id}" - expect(page).to have_no_selector "tr#so_#{other_subscription.id}" + expect(page).not_to have_selector "tr#so_#{subscription.id}" + expect(page).not_to have_selector "tr#so_#{other_subscription.id}" # Using the Quick Search: filter by email fill_in 'query', with: other_subscription.customer.email expect(page).to have_selector "tr#so_#{other_subscription.id}" - expect(page).to have_no_selector "tr#so_#{subscription.id}" + expect(page).not_to have_selector "tr#so_#{subscription.id}" # Using the Quick Search: filter by first_name fill_in 'query', with: other_subscription.customer.first_name expect(page).to have_selector "tr#so_#{other_subscription.id}" - expect(page).to have_no_selector "tr#so_#{subscription.id}" + expect(page).not_to have_selector "tr#so_#{subscription.id}" # Using the Quick Search: filter by last_name fill_in 'query', with: other_subscription.customer.last_name expect(page).to have_selector "tr#so_#{other_subscription.id}" - expect(page).to have_no_selector "tr#so_#{subscription.id}" + expect(page).not_to have_selector "tr#so_#{subscription.id}" # Using the Quick Search: reset filter fill_in 'query', with: '' @@ -99,8 +99,8 @@ describe 'Subscriptions' do expect(page).to have_selector "th.customer" expect(page).to have_content subscription.customer.email toggle_columns "Customer" - expect(page).to have_no_selector "th.customer" - expect(page).to have_no_content subscription.customer.email + expect(page).not_to have_selector "th.customer" + expect(page).not_to have_content subscription.customer.email # Viewing Products open_subscription_products_panel @@ -124,7 +124,7 @@ describe 'Subscriptions' do proxy_order = subscription.proxy_orders.first within "tr#po_#{proxy_order.id}" do - expect(page).to have_no_content 'CANCELLED' + expect(page).not_to have_content 'CANCELLED' accept_alert 'Are you sure?' do find("a.cancel-order").click end diff --git a/spec/system/admin/tag_rules_spec.rb b/spec/system/admin/tag_rules_spec.rb index 611dcff1df..72603632a6 100644 --- a/spec/system/admin/tag_rules_spec.rb +++ b/spec/system/admin/tag_rules_spec.rb @@ -16,7 +16,7 @@ describe 'Tag Rules' do it "allows creation of rules of each type" do # Creating a new tag expect(page).to have_content 'No tags apply to this enterprise yet' - expect(page).to have_no_selector '.customer_tag' + expect(page).not_to have_selector '.customer_tag' click_button '+ Add A New Tag' fill_in_tag "volunteer" @@ -271,13 +271,13 @@ describe 'Tag Rules' do first("a.delete-tag-rule").click end end - expect(page).to have_no_selector "#tr_1" + expect(page).not_to have_selector "#tr_1" accept_alert do within "#tr_0" do first("a.delete-tag-rule").click end end - expect(page).to have_no_selector "#tr_0" + expect(page).not_to have_selector "#tr_0" end.to change{ TagRule.count }.by(-2) # After deleting tags, the form is dirty and we need to confirm leaving diff --git a/spec/system/admin/users_spec.rb b/spec/system/admin/users_spec.rb index 5d1e7b0163..5d3a6f9046 100644 --- a/spec/system/admin/users_spec.rb +++ b/spec/system/admin/users_spec.rb @@ -135,7 +135,7 @@ describe "Managing users" do visit spree.new_admin_user_path # shows no confirmation message to start with - expect(page).to have_no_text "Email confirmation is pending" + expect(page).not_to have_text "Email confirmation is pending" fill_in "Email", with: "user1@example.org" fill_in "Password", with: "user1Secret" diff --git a/spec/system/admin/variant_overrides_spec.rb b/spec/system/admin/variant_overrides_spec.rb index 1cf3e7669d..2da4bf705a 100644 --- a/spec/system/admin/variant_overrides_spec.rb +++ b/spec/system/admin/variant_overrides_spec.rb @@ -105,7 +105,7 @@ describe " expect(page).to have_selector "#v_#{variant_related.id}" select2_select producer.name, from: 'producer_filter' expect(page).to have_selector "#v_#{variant.id}" - expect(page).to have_no_selector "#v_#{variant_related.id}" + expect(page).not_to have_selector "#v_#{variant_related.id}" select2_select 'All', from: 'producer_filter' # Filters based on the quick search box @@ -113,7 +113,7 @@ describe " expect(page).to have_selector "#v_#{variant_related.id}" fill_in 'query', with: product.name expect(page).to have_selector "#v_#{variant.id}" - expect(page).to have_no_selector "#v_#{variant_related.id}" + expect(page).not_to have_selector "#v_#{variant_related.id}" fill_in 'query', with: '' # Clears the filters @@ -121,8 +121,8 @@ describe " expect(page).to have_selector "tr#v_#{variant_related.id}" select2_select producer.name, from: 'producer_filter' fill_in 'query', with: product_related.name - expect(page).to have_no_selector "tr#v_#{variant.id}" - expect(page).to have_no_selector "tr#v_#{variant_related.id}" + expect(page).not_to have_selector "tr#v_#{variant.id}" + expect(page).not_to have_selector "tr#v_#{variant_related.id}" click_button 'Clear All' expect(page).to have_selector "tr#v_#{variant.id}" expect(page).to have_selector "tr#v_#{variant_related.id}" @@ -134,17 +134,17 @@ describe " within "tr#v_#{variant.id}" do click_button 'Hide' end - expect(page).to have_no_selector "tr#v_#{variant.id}" + expect(page).not_to have_selector "tr#v_#{variant.id}" expect(page).to have_selector "tr#v_#{variant_related.id}" first("div#views-dropdown").click first("div#views-dropdown div.menu div.menu_item", text: "Hidden Products").click expect(page).to have_selector "tr#v_#{variant.id}" - expect(page).to have_no_selector "tr#v_#{variant_related.id}" + expect(page).not_to have_selector "tr#v_#{variant_related.id}" within "tr#v_#{variant.id}" do click_button 'Add' end - expect(page).to have_no_selector "tr#v_#{variant.id}" - expect(page).to have_no_selector "tr#v_#{variant_related.id}" + expect(page).not_to have_selector "tr#v_#{variant.id}" + expect(page).not_to have_selector "tr#v_#{variant_related.id}" first("div#views-dropdown").click first("div#views-dropdown div.menu div.menu_item", text: "Inventory Products").click expect(page).to have_selector "tr#v_#{variant.id}" @@ -434,7 +434,7 @@ describe " # It does not save the changes. click_button 'Save Changes' expect(page).to have_content 'must be specified because forcing limited stock' - expect(page).to have_no_content 'Changes saved.' + expect(page).not_to have_content 'Changes saved.' vo.reload expect(vo.count_on_hand).to eq(1111) @@ -485,8 +485,8 @@ describe " it "alerts the user to the presence of new products, and allows them to be added " \ "or hidden" do - expect(page).to have_no_selector "table#variant-overrides tr#v_#{variant1.id}" - expect(page).to have_no_selector "table#variant-overrides tr#v_#{variant2.id}" + expect(page).not_to have_selector "table#variant-overrides tr#v_#{variant1.id}" + expect(page).not_to have_selector "table#variant-overrides tr#v_#{variant2.id}" expect(page).to have_selector '.alert-row span.message', text: "There are 1 new products available to add to your " \ @@ -502,17 +502,17 @@ describe " within "table#new-products tr#v_#{variant2.id}" do click_button 'Hide' end - expect(page).to have_no_selector "table#new-products tr#v_#{variant1.id}" - expect(page).to have_no_selector "table#new-products tr#v_#{variant2.id}" + expect(page).not_to have_selector "table#new-products tr#v_#{variant1.id}" + expect(page).not_to have_selector "table#new-products tr#v_#{variant2.id}" click_button "Back to my inventory" expect(page).to have_selector "table#variant-overrides tr#v_#{variant1.id}" - expect(page).to have_no_selector "table#variant-overrides tr#v_#{variant2.id}" + expect(page).not_to have_selector "table#variant-overrides tr#v_#{variant2.id}" first("div#views-dropdown").click first("div#views-dropdown div.menu div.menu_item", text: "Hidden Products").click - expect(page).to have_no_selector "table#hidden-products tr#v_#{variant1.id}" + expect(page).not_to have_selector "table#hidden-products tr#v_#{variant1.id}" expect(page).to have_selector "table#hidden-products tr#v_#{variant2.id}" end end diff --git a/spec/system/consumer/account/cards_spec.rb b/spec/system/consumer/account/cards_spec.rb index e0a6457a66..6271125544 100644 --- a/spec/system/consumer/account/cards_spec.rb +++ b/spec/system/consumer/account/cards_spec.rb @@ -90,7 +90,7 @@ describe "Credit Cards" do expect(page).to have_content( format("Your card has been removed (number: %s)", "x-#{default_card.last_digits}") ) - expect(page).to have_no_selector ".card#card#{default_card.id}" + expect(page).not_to have_selector ".card#card#{default_card.id}" # Allows authorisation of card use by shops within "tr#customer#{customer.id}" do diff --git a/spec/system/consumer/account_spec.rb b/spec/system/consumer/account_spec.rb index 9134c9e7d1..d50ced38a0 100644 --- a/spec/system/consumer/account_spec.rb +++ b/spec/system/consumer/account_spec.rb @@ -45,7 +45,7 @@ describe ' visit "/account" # No distributors allow changes to orders - expect(page).to have_no_content 'Open Orders' + expect(page).not_to have_content 'Open Orders' expect(page).to have_content 'Past Orders' diff --git a/spec/system/consumer/checkout/guest_spec.rb b/spec/system/consumer/checkout/guest_spec.rb index 572213eedd..9b5687ef08 100644 --- a/spec/system/consumer/checkout/guest_spec.rb +++ b/spec/system/consumer/checkout/guest_spec.rb @@ -79,7 +79,7 @@ describe "As a consumer, I want to checkout my order" do it "should display the checkout login page" do expect(page).to have_content("Ok, ready to checkout?") expect(page).to have_content("Login") - expect(page).to have_no_content("Checkout as guest") + expect(page).not_to have_content("Checkout as guest") end it "should show the login modal when clicking the login button" do diff --git a/spec/system/consumer/cookies_spec.rb b/spec/system/consumer/cookies_spec.rb index bf0fb1d44d..405043739e 100644 --- a/spec/system/consumer/cookies_spec.rb +++ b/spec/system/consumer/cookies_spec.rb @@ -64,9 +64,9 @@ describe "Cookies", caching: true do scenario "it is not showing" do Spree::Config[:cookies_consent_banner_toggle] = false visit root_path - expect(page).to have_no_content 'This site uses cookies in order to make your navigation ' \ - 'frictionless and secure, and to help us understand how ' \ - 'you use it in order to improve the features we offer.' + expect(page).not_to have_content 'This site uses cookies in order to make your navigation ' \ + 'frictionless and secure, and to help us understand how ' \ + 'you use it in order to improve the features we offer.' end end end @@ -91,8 +91,8 @@ describe "Cookies", caching: true do scenario "does not show Matomo cookies details and does not show Matomo optout text" do Spree::Config[:cookies_policy_matomo_section] = false visit_cookies_policy_page - expect(page).to have_no_content matomo_description_text - expect(page).to have_no_content matomo_opt_out_iframe + expect(page).not_to have_content matomo_description_text + expect(page).not_to have_content matomo_opt_out_iframe end end @@ -120,8 +120,8 @@ describe "Cookies", caching: true do Spree::Config[:cookies_policy_matomo_section] = true Spree::Config[:matomo_url] = "" visit_cookies_policy_page - expect(page).to have_no_content matomo_opt_out_iframe - expect(page).to have_no_selector("iframe") + expect(page).not_to have_content matomo_opt_out_iframe + expect(page).not_to have_selector("iframe") end end end @@ -136,7 +136,7 @@ describe "Cookies", caching: true do end def expect_not_visible_cookies_banner - expect(page).to have_no_css("button", text: accept_cookies_button_text) + expect(page).not_to have_css("button", text: accept_cookies_button_text) end def accept_cookies_button_text diff --git a/spec/system/consumer/footer_links_spec.rb b/spec/system/consumer/footer_links_spec.rb index bc052a615a..af61a4bba9 100644 --- a/spec/system/consumer/footer_links_spec.rb +++ b/spec/system/consumer/footer_links_spec.rb @@ -44,7 +44,7 @@ describe "Footer Links" do it "not showing if it is empty" do Spree::Config[:privacy_policy_url] = nil visit root_path - expect(page).to have_no_link "privacy policy" + expect(page).not_to have_link "privacy policy" end it "showing configured privacy policy link" do diff --git a/spec/system/consumer/multilingual_spec.rb b/spec/system/consumer/multilingual_spec.rb index 1020d81601..48edc6e685 100644 --- a/spec/system/consumer/multilingual_spec.rb +++ b/spec/system/consumer/multilingual_spec.rb @@ -102,7 +102,7 @@ describe 'Multilingual' do it "hides the dropdown language menu" do visit root_path - expect(page).to have_no_css 'ul.right li.language-switcher.has-dropdown' + expect(page).not_to have_css 'ul.right li.language-switcher.has-dropdown' end end diff --git a/spec/system/consumer/registration_spec.rb b/spec/system/consumer/registration_spec.rb index f2081bbb14..90abf8adbb 100644 --- a/spec/system/consumer/registration_spec.rb +++ b/spec/system/consumer/registration_spec.rb @@ -101,7 +101,7 @@ describe "Registration" do # Images # Upload logo image attach_file "image-select", Rails.root.join("spec/fixtures/files/logo.png"), visible: false - expect(page).to have_no_css('#image-placeholder .loading') + expect(page).not_to have_css('#image-placeholder .loading') expect(page.find('#image-placeholder img')['src']).to_not be_empty # Move from logo page @@ -110,7 +110,7 @@ describe "Registration" do # Upload promo image attach_file "image-select", Rails.root.join("spec/fixtures/files/promo.png"), visible: false - expect(page).to have_no_css('#image-placeholder .loading') + expect(page).not_to have_css('#image-placeholder .loading') expect(page.find('#image-placeholder img')['src']).to_not be_empty # Move from promo page @@ -255,7 +255,7 @@ describe "Registration" do expect(page).to have_selector "input.button.primary[disabled]" check "accept_terms" - expect(page).to have_no_selector "input.button.primary[disabled]" + expect(page).not_to have_selector "input.button.primary[disabled]" click_button "Let's get started!" expect(find("div#progress-bar")).to be_visible diff --git a/spec/system/consumer/shopping/cart_spec.rb b/spec/system/consumer/shopping/cart_spec.rb index 1b6b6d13a5..bbeb6fb747 100644 --- a/spec/system/consumer/shopping/cart_spec.rb +++ b/spec/system/consumer/shopping/cart_spec.rb @@ -49,9 +49,9 @@ describe "full-page cart" do click_link "Continue shopping" - expect(page).to have_no_link "Continue shopping" + expect(page).not_to have_link "Continue shopping" expect(page).to have_link "Shop" - expect(page).to have_no_content distributor.preferred_shopfront_message + expect(page).not_to have_content distributor.preferred_shopfront_message end end @@ -59,7 +59,7 @@ describe "full-page cart" do it "does not link to the product page" do add_product_to_cart order, product_with_fee, quantity: 2 visit main_app.cart_path - expect(page).to have_no_selector '.item-thumb-image a' + expect(page).not_to have_selector '.item-thumb-image a' end end @@ -132,7 +132,7 @@ describe "full-page cart" do it "hides admin and handlings row" do expect(page).to have_selector('#cart-detail') - expect(page).to have_no_content('Admin & Handling') + expect(page).not_to have_content('Admin & Handling') expect(page).to have_selector '.cart-item-price', text: with_currency(0.86) expect(page).to have_selector '.order-total.grand-total', text: with_currency(1.72) # price * 3 @@ -293,8 +293,8 @@ describe "full-page cart" do item1 = prev_order1.line_items.first item2 = prev_order2.line_items.first - expect(page).to have_no_content item1.variant.name - expect(page).to have_no_content item2.variant.name + expect(page).not_to have_content item1.variant.name + expect(page).not_to have_content item2.variant.name expect(page).to have_link 'Edit confirmed items', href: spree.account_path find("td.toggle-bought").click @@ -302,13 +302,13 @@ describe "full-page cart" do expect(page).to have_content item1.variant.name expect(page).to have_content item2.variant.name page.find(".line-item-#{item1.id} td.bought-item-delete a").click - expect(page).to have_no_content item1.variant.name + expect(page).not_to have_content item1.variant.name expect(page).to have_content item2.variant.name visit main_app.cart_path find("td.toggle-bought").click - expect(page).to have_no_content item1.variant.name + expect(page).not_to have_content item1.variant.name expect(page).to have_content item2.variant.name end diff --git a/spec/system/consumer/shopping/checkout_auth_spec.rb b/spec/system/consumer/shopping/checkout_auth_spec.rb index 088eb85e73..0b12d7ff0d 100644 --- a/spec/system/consumer/shopping/checkout_auth_spec.rb +++ b/spec/system/consumer/shopping/checkout_auth_spec.rb @@ -34,7 +34,7 @@ describe "As a consumer I want to check out my cart" do login_as user visit checkout_path within "section[role='main']" do - expect(page).to have_no_content "Login" + expect(page).not_to have_content "Login" expect(page).to have_checkout_details end end diff --git a/spec/system/consumer/shopping/checkout_spec.rb b/spec/system/consumer/shopping/checkout_spec.rb index b897468232..8c12d8c91c 100644 --- a/spec/system/consumer/shopping/checkout_spec.rb +++ b/spec/system/consumer/shopping/checkout_spec.rb @@ -148,13 +148,13 @@ describe "As a consumer I want to check out my cart" do end it "shows only applicable content" do - expect(page).to have_no_content("You have an order for this order cycle already.") + expect(page).not_to have_content("You have an order for this order cycle already.") - expect(page).to have_no_link("Terms and Conditions") + expect(page).not_to have_link("Terms and Conditions") # We always have this link in the footer. within "#checkout_form" do - expect(page).to have_no_link("Terms of service") + expect(page).not_to have_link("Terms of service") end end end diff --git a/spec/system/consumer/shopping/embedded_groups_spec.rb b/spec/system/consumer/shopping/embedded_groups_spec.rb index 4b3db6ea9c..f157b2cd69 100644 --- a/spec/system/consumer/shopping/embedded_groups_spec.rb +++ b/spec/system/consumer/shopping/embedded_groups_spec.rb @@ -49,8 +49,8 @@ describe "Using embedded shopfront functionality" do it "doesn't display contact details when embedded" do on_embedded_page do within 'div#group-page' do - expect(page).to have_no_selector 'div.contact-container' - expect(page).to have_no_content group.address.address1.to_s + expect(page).not_to have_selector 'div.contact-container' + expect(page).not_to have_content group.address.address1.to_s end end end @@ -58,9 +58,9 @@ describe "Using embedded shopfront functionality" do it "does not display the header when embedded" do on_embedded_page do within 'div#group-page' do - expect(page).to have_no_selector 'header' - expect(page).to have_no_selector 'img.group-logo' - expect(page).to have_no_selector 'h2.group-name' + expect(page).not_to have_selector 'header' + expect(page).not_to have_selector 'img.group-logo' + expect(page).not_to have_selector 'h2.group-name' end end end diff --git a/spec/system/consumer/shopping/orders_spec.rb b/spec/system/consumer/shopping/orders_spec.rb index 3dca930692..5d599f8df3 100644 --- a/spec/system/consumer/shopping/orders_spec.rb +++ b/spec/system/consumer/shopping/orders_spec.rb @@ -142,7 +142,7 @@ describe "Order Management" do expect(find("tr.variant-#{item1.variant.id}")).to have_content item1.product.name expect(find("tr.variant-#{item2.variant.id}")).to have_content item2.product.name expect(find("tr.variant-#{item3.variant.id}")).to have_content item3.product.name - expect(page).to have_no_button 'Save Changes' + expect(page).not_to have_button 'Save Changes' end end @@ -155,7 +155,7 @@ describe "Order Management" do visit order_path(order) expect(page).to have_button 'Order Saved', disabled: true - expect(page).to have_no_button 'Save Changes' + expect(page).not_to have_button 'Save Changes' # Changing the quantity of an item within "tr.variant-#{item1.variant.id}" do diff --git a/spec/system/consumer/shopping/shopping_spec.rb b/spec/system/consumer/shopping/shopping_spec.rb index 1be05bc9b6..76ac389892 100644 --- a/spec/system/consumer/shopping/shopping_spec.rb +++ b/spec/system/consumer/shopping/shopping_spec.rb @@ -531,7 +531,7 @@ describe "As a consumer I want to shop with a distributor" do # Update amount in cart within_variant(variant) do expect(page).to have_button "Add", disabled: true - expect(page).to have_no_content "in cart" + expect(page).not_to have_content "in cart" end within_variant(variant2) do expect(page).to have_button "Add", disabled: false @@ -578,7 +578,7 @@ describe "As a consumer I want to shop with a distributor" do # Update amount in cart within_variant(variant) do expect(page).to have_button "Add", disabled: true - expect(page).to have_no_content "in cart" + expect(page).not_to have_content "in cart" end # Update amount available in product list @@ -703,7 +703,7 @@ describe "As a consumer I want to shop with a distributor" do visit shop_path expect(page).to have_content "Only approved customers can access this shop." expect(page).to have_content "login to proceed" - expect(page).to have_no_content product.name + expect(page).not_to have_content product.name expect(page).not_to have_selector "ordercycle" end end @@ -721,7 +721,7 @@ describe "As a consumer I want to shop with a distributor" do visit shop_path expect(page).to have_content "Only approved customers can access this shop." expect(page).to have_content "please contact #{distributor.name}" - expect(page).to have_no_content product.name + expect(page).not_to have_content product.name expect(page).not_to have_selector "ordercycle" end end @@ -773,7 +773,7 @@ describe "As a consumer I want to shop with a distributor" do end def shows_products_without_customer_warning - expect(page).to have_no_content "This shop is for customers only." + expect(page).not_to have_content "This shop is for customers only." expect(page).to have_content product.name end @@ -789,7 +789,7 @@ describe "As a consumer I want to shop with a distributor" do expect(page).to have_selector "#variant-#{variant.id}.out-of-stock" within_variant(variant) do expect(page).to have_button "Add", disabled: true - expect(page).to have_no_content "in cart" + expect(page).not_to have_content "in cart" end end end diff --git a/spec/system/consumer/shopping/unit_price_spec.rb b/spec/system/consumer/shopping/unit_price_spec.rb index ff881cf073..de195c1159 100644 --- a/spec/system/consumer/shopping/unit_price_spec.rb +++ b/spec/system/consumer/shopping/unit_price_spec.rb @@ -48,9 +48,9 @@ describe "As a consumer, I want to check unit price information for a product" d page.find("body").click expect(page).not_to have_selector '.joyride-tip-guide.question-mark-tooltip' - expect(page).to have_no_content('This is the unit price of this product. ' \ - 'It allows you to compare the price of products ' \ - 'independent of packaging sizes & weights.') + expect(page).not_to have_content('This is the unit price of this product. ' \ + 'It allows you to compare the price of products ' \ + 'independent of packaging sizes & weights.') end end @@ -72,9 +72,9 @@ describe "As a consumer, I want to check unit price information for a product" d end page.find("body").click expect(page).not_to have_selector '.joyride-tip-guide.question-mark-tooltip' - expect(page).to have_no_content('This is the unit price of this product. ' \ - 'It allows you to compare the price of products ' \ - 'independent of packaging sizes & weights.') + expect(page).not_to have_content('This is the unit price of this product. ' \ + 'It allows you to compare the price of products ' \ + 'independent of packaging sizes & weights.') end end end diff --git a/spec/system/consumer/shops_spec.rb b/spec/system/consumer/shops_spec.rb index c67e5969fe..037e7b470f 100644 --- a/spec/system/consumer/shops_spec.rb +++ b/spec/system/consumer/shops_spec.rb @@ -74,8 +74,8 @@ describe 'Shops' do end it "does not show hubs that are not in an order cycle" do - expect(page).to have_no_selector 'hub.inactive' - expect(page).to have_no_selector 'hub', text: d2.name + expect(page).not_to have_selector 'hub.inactive' + expect(page).not_to have_selector 'hub', text: d2.name end it "does not show profiles" do diff --git a/spec/system/consumer/user_password_spec.rb b/spec/system/consumer/user_password_spec.rb index 0f07a53eab..8d6ea91577 100644 --- a/spec/system/consumer/user_password_spec.rb +++ b/spec/system/consumer/user_password_spec.rb @@ -25,7 +25,7 @@ describe "User password confirm/reset page" do fill_in "Password Confirmation", with: "my secret" click_button - expect(page).to have_no_text "Reset password token has expired" + expect(page).not_to have_text "Reset password token has expired" expect(page).to be_logged_in_as user end diff --git a/spec/system/consumer/white_label_spec.rb b/spec/system/consumer/white_label_spec.rb index 1956872ecc..756dca658c 100644 --- a/spec/system/consumer/white_label_spec.rb +++ b/spec/system/consumer/white_label_spec.rb @@ -115,7 +115,7 @@ describe 'White label setting' do end it "hides the OFN navigation" do - expect(page).to have_no_selector ofn_navigation + expect(page).not_to have_selector ofn_navigation end it_behaves_like "hides the OFN navigation for mobile view as well" @@ -153,7 +153,7 @@ describe 'White label setting' do end it "hides the OFN navigation" do - expect(page).to have_no_selector ofn_navigation + expect(page).not_to have_selector ofn_navigation end it_behaves_like "hides the OFN navigation for mobile view as well" @@ -167,7 +167,7 @@ describe 'White label setting' do it "hides the OFN navigation" do expect(page).to have_content "Checkout now" expect(page).to have_content "Order ready for " - expect(page).to have_no_selector ofn_navigation + expect(page).not_to have_selector ofn_navigation end it_behaves_like "hides the OFN navigation for mobile view as well" @@ -186,7 +186,7 @@ describe 'White label setting' do end it "hides the OFN navigation" do - expect(page).to have_no_selector ofn_navigation + expect(page).not_to have_selector ofn_navigation end end end @@ -247,7 +247,7 @@ describe 'White label setting' do it "hides the groups tab" do visit main_app.enterprise_shop_path(distributor) - expect(page).to have_no_selector "a[href='#groups']" + expect(page).not_to have_selector "a[href='#groups']" end end diff --git a/spec/views/admin/products_v3/_filters.html.haml_spec.rb b/spec/views/admin/products_v3/_filters.html.haml_spec.rb index fa2943502a..b9ae7725c2 100644 --- a/spec/views/admin/products_v3/_filters.html.haml_spec.rb +++ b/spec/views/admin/products_v3/_filters.html.haml_spec.rb @@ -38,7 +38,7 @@ describe "admin/products_v3/_filters.html.haml" do ], ) - is_expected.to have_no_content "Producers" - is_expected.to have_no_select "producer_id" + is_expected.not_to have_content "Producers" + is_expected.not_to have_select "producer_id" end end From 3e0d54f5f8de8eed8064b7286fa6ceafd2f56420 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 4 Mar 2024 12:54:23 +1100 Subject: [PATCH 047/374] Fix Layout/LineLength Ha, `not_to have` is one character longer.. --- spec/system/consumer/cookies_spec.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spec/system/consumer/cookies_spec.rb b/spec/system/consumer/cookies_spec.rb index 405043739e..7685ab1cfa 100644 --- a/spec/system/consumer/cookies_spec.rb +++ b/spec/system/consumer/cookies_spec.rb @@ -64,9 +64,11 @@ describe "Cookies", caching: true do scenario "it is not showing" do Spree::Config[:cookies_consent_banner_toggle] = false visit root_path - expect(page).not_to have_content 'This site uses cookies in order to make your navigation ' \ - 'frictionless and secure, and to help us understand how ' \ - 'you use it in order to improve the features we offer.' + expect(page).not_to have_content( + 'This site uses cookies in order to make your navigation ' \ + 'frictionless and secure, and to help us understand how ' \ + 'you use it in order to improve the features we offer.' + ) end end end From 8f31d8799f1572098a3e52b4c987fae171847b53 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 21 Feb 2024 10:41:22 +1100 Subject: [PATCH 048/374] Adjust column widths Table layout is tricky. I had originally hoped that the table would allow us to use min/max width. But that simply doesn't work with `table-layout: fixed`. So we need to set preconfigured widths. Now I think that table layout doesn't bring any benefit, so I think we should consider switching to flexbox or grid. ButI'll wait until all elements are in place before trying anything new. --- app/views/admin/products_v3/_table.html.haml | 23 ++++++++++---------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 46de4db20d..443a72535a 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -6,17 +6,18 @@ } } do |form| = render(partial: "admin/shared/flashes", locals: { flashes: }) if defined? flashes %table.products - %col{ width:"4%" } - %col{ width:"15%" } - %col{ width:"5%", style: "max-width:5em" } - %col{ width:"8%" } - %col{ width:"5%", style: "max-width:5em"} - %col{ width:"8%", style: "max-width:5em"} - %col{ width:"10%" }= # producer - %col{ width:"10%" } - %col{ width:"5%" } - %col{ width:"5%", style: "max-width:5em" } - %col{ width:"5%", style: "max-width:5em" } + %colgroup + %col{ width:"56" }= # Img (size + padding) + %col= # (grow to fill) Name + %col{ width:"8%"} + %col{ width:"8%"} + %col{ width:"8%"} + %col{ width:"10%"} + %col{ width:"15%"}= # Producer + %col{ width:"8%"} + %col{ width:"8%"} + %col{ width:"8%"} + %col{ width:"8%"}= # Actions %thead %tr %td.form-actions-wrapper{ colspan: 11 } From a1135f7db76063a6e48e9f347afba7c3e1e67e81 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 20 Feb 2024 17:45:08 +1100 Subject: [PATCH 049/374] Move unit scale to separate column This is because it's going to move from product to variant soon, as part of Product Refactor. --- app/views/admin/products_v3/_product_row.html.haml | 2 ++ app/views/admin/products_v3/_table.html.haml | 8 +++++--- app/views/admin/products_v3/_variant_row.html.haml | 2 ++ config/locales/en.yml | 1 + 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index 3e6f5f6bb7..a0da1bd52e 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -18,6 +18,8 @@ -# empty %td.align-right -# empty +%td.align-right + -# empty %td.align-left .content= product.supplier&.name %td.align-left diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 443a72535a..fe3eebe782 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -11,7 +11,8 @@ %col= # (grow to fill) Name %col{ width:"8%"} %col{ width:"8%"} - %col{ width:"8%"} + %col{ width:"5%"} + %col{ width:"5%"} %col{ width:"10%"} %col{ width:"15%"}= # Producer %col{ width:"8%"} @@ -20,7 +21,7 @@ %col{ width:"8%"}= # Actions %thead %tr - %td.form-actions-wrapper{ colspan: 11 } + %td.form-actions-wrapper{ colspan: 12 } .form-actions-wrapper2 %fieldset.form-actions{ class: ("hidden" unless defined?(error_counts)), 'data-bulk-form-target': "actions" } .container @@ -41,6 +42,7 @@ %th.align-left= # image %th.align-left.with-input= t('admin.products_page.columns.name') %th.align-left.with-input= t('admin.products_page.columns.sku') + %th.align-right= t('admin.products_page.columns.unit_scale') %th.align-right= t('admin.products_page.columns.unit') %th.align-left.with-input= t('admin.products_page.columns.price') %th.align-left.with-input= t('admin.products_page.columns.on_hand') @@ -69,7 +71,7 @@ %tr{ 'data-nested-form-target': "target" } %tr.condensed %td - %td{ colspan: 10 } + %td{ colspan: 11 } %button.secondary.condensed.naked.icon-plus{ 'data-action': "nested-form#add", 'aria-label': t('.new_variant') } =t('.new_variant') diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index e7d1100d4c..566bbab0e3 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -7,6 +7,8 @@ %td.field = f.text_field :sku, 'aria-label': t('admin.products_page.columns.sku') = error_message_on variant, :sku +%td + -# empty - if variant.persisted? %td.align-right .content= variant.unit_to_display diff --git a/config/locales/en.yml b/config/locales/en.yml index 8d88ce2cd7..f66f12910d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -559,6 +559,7 @@ en: colums: Columns columns: name: Name + unit_scale: Unit scale unit: Unit price: Price producer: Producer From ea0067946d58fbde68cdeb92e80557199a68b048 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 21 Feb 2024 13:25:01 +1100 Subject: [PATCH 050/374] Generate variant unit options in Ruby This re-implements Angular JS function VariantUnitManager.variantUnitOptions() Well.. almost. See next commit. --- app/services/weights_and_measures.rb | 37 +++++++++++++--- spec/services/weights_and_measures_spec.rb | 51 +++++++++++++++++++++- 2 files changed, 82 insertions(+), 6 deletions(-) diff --git a/app/services/weights_and_measures.rb b/app/services/weights_and_measures.rb index 7fd8528fe7..7d9aa19b3d 100644 --- a/app/services/weights_and_measures.rb +++ b/app/services/weights_and_measures.rb @@ -20,6 +20,37 @@ class WeightsAndMeasures scales[product_scale.to_f]['system'] end + # @returns enumerable with label and value for select + def self.variant_unit_options + available_units_sorted.flat_map do |measurement, measurement_info| + measurement_info.filter_map do |scale, unit_info| + scale_clean = + ActiveSupport::NumberHelper.number_to_rounded(scale, precision: nil, + strip_insignificant_zeros: true) + [ + "#{I18n.t(measurement)} (#{unit_info['name']})", # Label (eg "Weight (g)") + "#{measurement}_#{scale_clean}", # Scale ID (eg "weight_1") + ] + end + end << + [ + I18n.t('items'), + 'items' + ] + end + + def self.available_units + Spree::Config.available_units.split(",") + end + + def self.available_units_sorted + self::UNITS.transform_values do |measurement_info| + measurement_info.filter do |_scale, unit_info| + available_units.include?(unit_info['name']) + end.sort.to_h # sort by unit (hash key) + end + end + private UNITS = { @@ -49,7 +80,7 @@ class WeightsAndMeasures return @units[@variant.product.variant_unit] if ignore_available_units @units[@variant.product.variant_unit]&.reject { |_scale, unit_info| - available_units.exclude?(unit_info['name']) + self.class.available_units.exclude?(unit_info['name']) } end @@ -67,8 +98,4 @@ class WeightsAndMeasures largest_unit end - - def available_units - Spree::Config.available_units.split(",") - end end diff --git a/spec/services/weights_and_measures_spec.rb b/spec/services/weights_and_measures_spec.rb index d84c2c5b66..6748b3c034 100644 --- a/spec/services/weights_and_measures_spec.rb +++ b/spec/services/weights_and_measures_spec.rb @@ -55,7 +55,56 @@ describe WeightsAndMeasures do end end - describe "#scale_for_unit_value" do + describe "#variant_unit_options" do + let(:available_units) { "mg,g,kg,T,mL,cL,dL,L,kL,lb,oz,gal" } + subject { WeightsAndMeasures.variant_unit_options } + + before do + allow(Spree::Config).to receive(:available_units).and_return(available_units) + end + + it "returns options for each unit" do + expected_array = [ + ["Weight (mg)", "weight_0.001"], + ["Weight (g)", "weight_1"], + ["Weight (oz)", "weight_28.35"], + ["Weight (lb)", "weight_453.6"], + ["Weight (kg)", "weight_1000"], + ["Weight (T)", "weight_1000000"], + ["Volume (mL)", "volume_0.001"], + ["Volume (cL)", "volume_0.01"], + ["Volume (dL)", "volume_0.1"], + ["Volume (L)", "volume_1"], + ["Volume (gal)", "volume_4.54609"], + ["Volume (kL)", "volume_1000"], + ["Items", "items"], + ] + pending "imperial measurements are duplicated" + expect(subject).to match_array expected_array # diff each element + expect(subject).to eq expected_array # test ordering also + end + + describe "filtering available units" do + let(:available_units) { "g,kg,mL,L,lb,oz" } + + it "returns options for available units only" do + expected_array = [ + ["Weight (g)", "weight_1"], + ["Weight (oz)", "weight_28.35"], + ["Weight (lb)", "weight_453.6"], + ["Weight (kg)", "weight_1000"], + ["Volume (mL)", "volume_0.001"], + ["Volume (L)", "volume_1"], + ["Items", "items"], + ] + pending "imperial measurements are duplicated" + expect(subject).to match_array expected_array # diff each element + expect(subject).to eq expected_array # test ordering also + end + end + end + + describe "#scales_for_unit_value" do context "weight" do before do allow(product).to receive(:variant_unit) { "weight" } From 2ef9e34f281cc5e884bb7d9bfa67484f4c28b485 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 21 Feb 2024 15:18:42 +1100 Subject: [PATCH 051/374] Re-arrange imperial units Who would have guessed it was this complicated. Fingers crossed this doesn't break any other functionality... --- app/services/weights_and_measures.rb | 13 ++++++++++--- spec/services/weights_and_measures_spec.rb | 7 +++++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/app/services/weights_and_measures.rb b/app/services/weights_and_measures.rb index 7d9aa19b3d..059075b7f8 100644 --- a/app/services/weights_and_measures.rb +++ b/app/services/weights_and_measures.rb @@ -45,9 +45,16 @@ class WeightsAndMeasures def self.available_units_sorted self::UNITS.transform_values do |measurement_info| + # Filter to only include available units measurement_info.filter do |_scale, unit_info| available_units.include?(unit_info['name']) - end.sort.to_h # sort by unit (hash key) + end. + # Remove duplicates by name + uniq do |_scale, unit_info| + unit_info['name'] + end. + # Sort by unit number + sort.to_h end end @@ -60,10 +67,10 @@ class WeightsAndMeasures 1000.0 => { 'name' => 'kg', 'system' => 'metric' }, 1_000_000.0 => { 'name' => 'T', 'system' => 'metric' }, - 28.349523125 => { 'name' => 'oz', 'system' => 'imperial' }, 28.35 => { 'name' => 'oz', 'system' => 'imperial' }, - 453.59237 => { 'name' => 'lb', 'system' => 'imperial' }, + 28.349523125 => { 'name' => 'oz', 'system' => 'imperial' }, 453.6 => { 'name' => 'lb', 'system' => 'imperial' }, + 453.59237 => { 'name' => 'lb', 'system' => 'imperial' }, }, 'volume' => { 0.001 => { 'name' => 'mL', 'system' => 'metric' }, diff --git a/spec/services/weights_and_measures_spec.rb b/spec/services/weights_and_measures_spec.rb index 6748b3c034..59877062ec 100644 --- a/spec/services/weights_and_measures_spec.rb +++ b/spec/services/weights_and_measures_spec.rb @@ -30,6 +30,11 @@ describe WeightsAndMeasures do allow(product).to receive(:variant_unit_scale) { 28.35 } expect(subject.system).to eq("imperial") end + + it "when precise scale is for an imperial unit" do + allow(product).to receive(:variant_unit_scale) { 28.349523125 } + expect(subject.system).to eq("imperial") + end end context "volume" do @@ -79,7 +84,6 @@ describe WeightsAndMeasures do ["Volume (kL)", "volume_1000"], ["Items", "items"], ] - pending "imperial measurements are duplicated" expect(subject).to match_array expected_array # diff each element expect(subject).to eq expected_array # test ordering also end @@ -97,7 +101,6 @@ describe WeightsAndMeasures do ["Volume (L)", "volume_1"], ["Items", "items"], ] - pending "imperial measurements are duplicated" expect(subject).to match_array expected_array # diff each element expect(subject).to eq expected_array # test ordering also end From 958288b2232f6084a182efb8a43207d3156b41cf Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 21 Feb 2024 16:03:10 +1100 Subject: [PATCH 052/374] Move input styles to form stylesheet A better way to arrange it, and as a bonus it makes the selectors simpler, yay! --- app/views/admin/products_v3/_table.html.haml | 3 ++- app/webpacker/css/admin/products_v3.scss | 23 +++++--------------- app/webpacker/css/admin_v3/shared/forms.scss | 11 ++++++++++ 3 files changed, 19 insertions(+), 18 deletions(-) diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index fe3eebe782..28fe3a6d55 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -53,7 +53,8 @@ %th.align-right= t('admin.products_page.columns.actions') - products.each_with_index do |product, product_index| = form.fields_for("products", product, index: product_index) do |product_form| - %tbody.relaxed{ data: { 'record-id': product_form.object.id, controller: "nested-form", + %tbody.relaxed.naked_inputs{ data: { 'record-id': product_form.object.id, + controller: "nested-form", action: 'nested-form:add->bulk-form#registerElements' } } %tr = render partial: 'product_row', locals: { product:, f: product_form } diff --git a/app/webpacker/css/admin/products_v3.scss b/app/webpacker/css/admin/products_v3.scss index 731f487dba..9d53342edf 100644 --- a/app/webpacker/css/admin/products_v3.scss +++ b/app/webpacker/css/admin/products_v3.scss @@ -73,7 +73,7 @@ } // Row hover - tr:hover { + tbody tr:hover { td { background-color: $light-grey; position: relative; @@ -89,6 +89,11 @@ } } + // "Naked" inputs. Row hover helps reveal them. + input:not([type="checkbox"]) { + background-color: $color-tbl-cell-bg; + } + // Reveal naked button text when any part of row is hovered button.naked { color: $color-link; @@ -163,22 +168,6 @@ label { margin: 0; } - - // "Naked" inputs. Row hover helps reveal them. - tbody { - input:not([type="checkbox"]) { - background-color: $color-tbl-cell-bg; - height: auto; - font-size: inherit; - font-weight: inherit; - } - - :not(.field_with_errors) > { - input:not([type="checkbox"]):not(:focus):not(.changed):not([disabled]) { - border-color: transparent; - } - } - } } #no-products { diff --git a/app/webpacker/css/admin_v3/shared/forms.scss b/app/webpacker/css/admin_v3/shared/forms.scss index b6dfa00240..90423ca0f2 100644 --- a/app/webpacker/css/admin_v3/shared/forms.scss +++ b/app/webpacker/css/admin_v3/shared/forms.scss @@ -23,6 +23,17 @@ fieldset { font-size: 14px; line-height: 22px; + + // Appears just like other text on the page. + // See table.products tr:hover for example of revealing them + .naked_inputs & { + background-color: inherit; + height: auto; + font-size: inherit; + font-weight: inherit; + border-color: transparent; + } + &:focus { outline: none; border-color: $color-txt-hover-brd; From 8f0e9c9f5c16180a888862e979adb75eeffe5323 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 21 Feb 2024 16:20:31 +1100 Subject: [PATCH 053/374] Remove unnecessary selector I can't see any reason that fieldsets, which are containers, should share styles with inputs. Maybe font styles, but everything looks fine still. --- app/webpacker/css/admin_v3/shared/forms.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/webpacker/css/admin_v3/shared/forms.scss b/app/webpacker/css/admin_v3/shared/forms.scss index 90423ca0f2..c802a29c97 100644 --- a/app/webpacker/css/admin_v3/shared/forms.scss +++ b/app/webpacker/css/admin_v3/shared/forms.scss @@ -13,8 +13,7 @@ input[type="date"], input[type="datetime"], input[type="time"], input[type="number"], -textarea, -fieldset { +textarea { @include border-radius($border-radius); padding: ($vpadding-txt - 1px) ($hpadding-txt - 1px); // Minus 1px for border border: 1px solid $lighter-grey; From 4b2406c9c20779a51484ac3cac94eaa548081883 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 27 Feb 2024 16:16:29 +1100 Subject: [PATCH 054/374] Add unit scale dropdown --- app/models/spree/product.rb | 16 ++++++++++++++++ app/services/permitted_attributes/product.rb | 3 ++- .../admin/products_v3/_product_row.html.haml | 8 +++----- app/views/admin/products_v3/_table.html.haml | 2 +- spec/reflexes/products_reflex_spec.rb | 3 +++ 5 files changed, 25 insertions(+), 7 deletions(-) diff --git a/app/models/spree/product.rb b/app/models/spree/product.rb index 4c9840a8fb..fcc133aa8d 100755 --- a/app/models/spree/product.rb +++ b/app/models/spree/product.rb @@ -287,6 +287,22 @@ module Spree variants << variant end + # Format as per WeightsAndMeasures (todo: re-orgnaise maybe after product/variant refactor) + def variant_unit_with_scale + scale_clean = ActiveSupport::NumberHelper.number_to_rounded(variant_unit_scale, + precision: nil, + strip_insignificant_zeros: true) + [variant_unit, scale_clean].compact_blank.join("_") + end + + def variant_unit_with_scale=(variant_unit_with_scale) + values = variant_unit_with_scale.split("_") + assign_attributes( + variant_unit: values[0], + variant_unit_scale: values[1] || nil + ) + end + private def update_units diff --git a/app/services/permitted_attributes/product.rb b/app/services/permitted_attributes/product.rb index 96b9e18cf8..1adc8ff7d9 100644 --- a/app/services/permitted_attributes/product.rb +++ b/app/services/permitted_attributes/product.rb @@ -5,7 +5,8 @@ module PermittedAttributes def self.attributes [ :id, :name, :description, :supplier_id, :price, - :variant_unit, :variant_unit_scale, :unit_value, :unit_description, :variant_unit_name, + :variant_unit, :variant_unit_scale, :variant_unit_with_scale, :unit_value, + :unit_description, :variant_unit_name, :display_as, :sku, :group_buy, :group_buy_unit_size, :taxon_ids, :primary_taxon_id, :tax_category_id, :meta_keywords, :notes, :inherits_properties, diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index a0da1bd52e..a5c2a4abcc 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -9,11 +9,9 @@ %td.field = f.text_field :sku, 'aria-label': t('admin.products_page.columns.sku') = error_message_on product, :sku -%td.align-right - .content - = product.variant_unit.upcase_first - / TODO: properly handle custom unit names - = WeightsAndMeasures::UNITS[product.variant_unit] && "(" + WeightsAndMeasures::UNITS[product.variant_unit][product.variant_unit_scale]["name"] + ")" +%td.field + = f.select :variant_unit_with_scale, + options_for_select(WeightsAndMeasures.variant_unit_options, product.variant_unit_with_scale) %td.align-right -# empty %td.align-right diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 28fe3a6d55..3aa9df9ab6 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -42,7 +42,7 @@ %th.align-left= # image %th.align-left.with-input= t('admin.products_page.columns.name') %th.align-left.with-input= t('admin.products_page.columns.sku') - %th.align-right= t('admin.products_page.columns.unit_scale') + %th.align-left.with-input= t('admin.products_page.columns.unit_scale') %th.align-right= t('admin.products_page.columns.unit') %th.align-left.with-input= t('admin.products_page.columns.price') %th.align-left.with-input= t('admin.products_page.columns.on_hand') diff --git a/spec/reflexes/products_reflex_spec.rb b/spec/reflexes/products_reflex_spec.rb index 72bab6b015..491f718c2d 100644 --- a/spec/reflexes/products_reflex_spec.rb +++ b/spec/reflexes/products_reflex_spec.rb @@ -77,6 +77,7 @@ describe ProductsReflex, type: :reflex, feature: :admin_style_v3 do "0" => { "id" => product_a.id.to_s, "name" => "Pommes", + "variant_unit_with_scale" => "volume_0.001", # 1mL "variants_attributes" => { "0" => { "id" => variant_a1.id.to_s, @@ -95,6 +96,8 @@ describe ProductsReflex, type: :reflex, feature: :admin_style_v3 do product_a.reload variant_a1.reload }.to change{ product_a.name }.to("Pommes") + .and change{ product_a.variant_unit }.to("volume") + .and change{ product_a.variant_unit_scale }.to(0.001) .and change{ variant_a1.display_name }.to("Large box") .and change{ variant_a1.sku }.to("POM-01") .and change{ variant_a1.price }.to(10.25) From 822054b748797802c206aa55c268e10d57aa0918 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 29 Feb 2024 14:30:56 +1100 Subject: [PATCH 055/374] Use capybara helper to find field This is more flexible and can find a field based on name, id or aria-label --- spec/support/request/web_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/support/request/web_helper.rb b/spec/support/request/web_helper.rb index 01a4796f4e..42d7cb65b6 100644 --- a/spec/support/request/web_helper.rb +++ b/spec/support/request/web_helper.rb @@ -91,14 +91,14 @@ module WebHelper end def tomselect_multiselect(value, options) - tomselect_wrapper = page.find("[name='#{options[:from]}']").sibling(".ts-wrapper") + tomselect_wrapper = page.find_field(options[:from]).sibling(".ts-wrapper") tomselect_wrapper.find(".ts-control").click tomselect_wrapper.find(:css, '.ts-dropdown.multi .ts-dropdown-content .option', text: value).click end def tomselect_search_and_select(value, options) - tomselect_wrapper = page.find("[name='#{options[:from]}']").sibling(".ts-wrapper") + tomselect_wrapper = page.find_field(options[:from]).sibling(".ts-wrapper") tomselect_wrapper.find(".ts-control").click # Use send_keys as setting the value directly doesn't trigger the search tomselect_wrapper.find(:css, '.ts-dropdown input.dropdown-input').send_keys(value) @@ -106,7 +106,7 @@ module WebHelper end def tomselect_select(value, options) - tomselect_wrapper = page.find("[name='#{options[:from]}']").sibling(".ts-wrapper") + tomselect_wrapper = page.find_field(options[:from]).sibling(".ts-wrapper") tomselect_wrapper.find(".ts-control").click tomselect_wrapper.find(:css, '.ts-dropdown .ts-dropdown-content .option', text: value).click From 864b876a9a9d3b9086df221e69c18efdefa51e3c Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 27 Feb 2024 17:04:45 +1100 Subject: [PATCH 056/374] Add tom-select with naked style The rem units are converted to em to make the padding relative to the chevron size. This means different font sizes will Just Work. --- .../admin/products_v3/_product_row.html.haml | 6 ++- app/webpacker/css/admin/products_v3.scss | 6 ++- .../css/admin_v3/components/tom_select.scss | 48 ++++++++++++++++--- .../system/admin/products_v3/products_spec.rb | 8 +++- 4 files changed, 58 insertions(+), 10 deletions(-) diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index a5c2a4abcc..42a062a5ce 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -11,7 +11,11 @@ = error_message_on product, :sku %td.field = f.select :variant_unit_with_scale, - options_for_select(WeightsAndMeasures.variant_unit_options, product.variant_unit_with_scale) + options_for_select(WeightsAndMeasures.variant_unit_options, product.variant_unit_with_scale), + {}, + class: "fullwidth no-input", + 'aria-label': t('admin.products_page.columns.unit_scale'), + data: { "controller": "tom-select", "tom-select-options-value": '{ "plugins": [] }' } %td.align-right -# empty %td.align-right diff --git a/app/webpacker/css/admin/products_v3.scss b/app/webpacker/css/admin/products_v3.scss index 9d53342edf..b231f1ec2b 100644 --- a/app/webpacker/css/admin/products_v3.scss +++ b/app/webpacker/css/admin/products_v3.scss @@ -90,7 +90,7 @@ } // "Naked" inputs. Row hover helps reveal them. - input:not([type="checkbox"]) { + input:not([type="checkbox"]), .ts-control { background-color: $color-tbl-cell-bg; } @@ -168,6 +168,10 @@ label { margin: 0; } + + .ts-control { + z-index: 0; // Avoid hovering over thead + } } #no-products { diff --git a/app/webpacker/css/admin_v3/components/tom_select.scss b/app/webpacker/css/admin_v3/components/tom_select.scss index dae7f18fd8..f323b8818a 100644 --- a/app/webpacker/css/admin_v3/components/tom_select.scss +++ b/app/webpacker/css/admin_v3/components/tom_select.scss @@ -77,8 +77,8 @@ content: "\f077"; // chevron-up font-family: FontAwesome; border: none; - top: 0.7rem; - right: 0.7rem; + top: 0.7em; + right: 0.7em; font-size: 13px; } @@ -86,7 +86,7 @@ background-color: $color-body-bg; border: 1px solid $lighter-grey; box-shadow: none; - padding: 0.6rem 0.75rem; + padding: 0.6em 0.75em; &:focus { border: 1px solid $orient; @@ -101,8 +101,8 @@ max-width: 100%; .ts-control { - padding: 0.5rem 0.75rem; - padding-right: 1rem !important; // ts has a clever variable-based rule here, but it doesn't seem to work right. + padding: 0.5em 0.75em; + padding-right: 1em !important; // ts has a clever variable-based rule here, but it doesn't seem to work right. overflow: hidden; // Icon: Override TS icon with icon-chevron-down @@ -113,11 +113,11 @@ top: 1em; } &:not(.rtl)::after { - right: 1.5rem; + right: 1.9em; } .item { - margin-right: 1rem; + margin-right: 1em; // Hide overflow with an ellipsis if a width has been set overflow: hidden; text-overflow: ellipsis; @@ -134,6 +134,11 @@ // 'no-input' mode, like a native select (hide text input). .ts-wrapper.single.no-input { + .ts-control input { + // Hide input, while keeping it focusable for keyboard events. + height: 0; + } + .ts-dropdown { position: absolute; top: 0; // we don't need to see the currently selected option, because it's visible in the dropdown @@ -143,3 +148,32 @@ margin-top: 0; } } + +// Appears just like other text on the page. +// See table.products tr:hover for example of revealing them +.naked_inputs .ts-wrapper { + height: auto; + min-height: 0; + + .ts-control { + padding: ($vpadding-txt - 1px) ($hpadding-txt - 1px); // Minus 1px for border + + height: auto; + min-height: 0; + font-size: inherit; + font-weight: inherit; + border-color: transparent; + line-height: 22px; + background-color: $color-body-bg; + + &::after { + top: 0.8em; + right: 1em; + font-size: 0.75em; + } + + .item { + margin-top: 0; + } + } +} diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 6164d1ecf2..e29328ae04 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -169,7 +169,10 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do on_demand: false } } - let!(:product_a) { create(:simple_product, name: "Apples", sku: "APL-00") } + let!(:product_a) { + create(:simple_product, name: "Apples", sku: "APL-00", + variant_unit: "weight", variant_unit_scale: 1) # Grams + } before do visit admin_products_url end @@ -178,6 +181,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do within row_containing_name("Apples") do fill_in "Name", with: "Pommes" fill_in "SKU", with: "POM-00" + tomselect_select "Volume (mL)", from: "Unit scale" end within row_containing_name("Medium box") do fill_in "Name", with: "Large box" @@ -201,6 +205,8 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do variant_a1.reload }.to change { product_a.name }.to("Pommes") .and change{ product_a.sku }.to("POM-00") + .and change{ product_a.variant_unit }.to("volume") + .and change{ product_a.variant_unit_scale }.to(0.001) .and change{ variant_a1.display_name }.to("Large box") .and change{ variant_a1.sku }.to("POM-01") .and change{ variant_a1.price }.to(10.25) From af748158aaa4b874fd1add287ce3a87ad1102ef7 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 28 Feb 2024 17:28:32 +1100 Subject: [PATCH 057/374] Hide chevron until hover to allow a bit more space for text --- app/webpacker/css/admin_v3/components/tom_select.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/webpacker/css/admin_v3/components/tom_select.scss b/app/webpacker/css/admin_v3/components/tom_select.scss index f323b8818a..f63b63898d 100644 --- a/app/webpacker/css/admin_v3/components/tom_select.scss +++ b/app/webpacker/css/admin_v3/components/tom_select.scss @@ -167,6 +167,7 @@ background-color: $color-body-bg; &::after { + display: none; // hide until hover top: 0.8em; right: 1em; font-size: 0.75em; @@ -174,6 +175,16 @@ .item { margin-top: 0; + margin-right: 0; // full width until hover + } + + &:hover { + &::after { + display: block; + } + .item { + margin-right: 1em; + } } } } From bfd6319cf2d3e2cb2630826ce793df836a21e04e Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 29 Feb 2024 12:20:50 +1100 Subject: [PATCH 058/374] Mark tom-select as changed Thankfully I was able to use basic DOM features, so there's no coupling of the logic with tom-select. It wasn't going to be simple to get tom-select to listen for the 'changed' class on the original select, so I found a simple solution with a CSS sibling selector instead. --- .../controllers/bulk_form_controller.js | 20 ++++++++++++++++- .../css/admin_v3/components/tom_select.scss | 9 ++++++++ .../stimulus/bulk_form_controller_test.js | 22 ++++++++++++++++++- 3 files changed, 49 insertions(+), 2 deletions(-) diff --git a/app/webpacker/controllers/bulk_form_controller.js b/app/webpacker/controllers/bulk_form_controller.js index 98a6063a0e..1f2aa80f0e 100644 --- a/app/webpacker/controllers/bulk_form_controller.js +++ b/app/webpacker/controllers/bulk_form_controller.js @@ -1,6 +1,19 @@ import { Controller } from "stimulus"; -// Manages "changed" state for a form with multiple records +// Manage "changed" state for a form with multiple records +// +// When any elements are changed: +// - the element is marked ".changed" +// - "actions" element appears +// - "changedSummary" element is updated using I18n +// - "disableSelector" elements are disabled +// - The browser will warn if trying to leave the page +// +// Supported element types: +// - input[type=text] and similar +// - input[type=checkbox] +// - select (single) - including tom-select +// export default class BulkFormController extends Controller { static targets = ["actions", "changedSummary"]; static values = { @@ -113,6 +126,11 @@ export default class BulkFormController extends Controller { #isChanged(element) { if (element.type == "checkbox") { return element.defaultChecked !== undefined && element.checked != element.defaultChecked; + + } else if (element.type == "select-one") { + const defaultSelected = Array.from(element.options).find((opt)=>opt.hasAttribute('selected')); + return element.selectedOptions[0] != defaultSelected; + } else { return element.defaultValue !== undefined && element.value != element.defaultValue; } diff --git a/app/webpacker/css/admin_v3/components/tom_select.scss b/app/webpacker/css/admin_v3/components/tom_select.scss index f63b63898d..c616e8d5f4 100644 --- a/app/webpacker/css/admin_v3/components/tom_select.scss +++ b/app/webpacker/css/admin_v3/components/tom_select.scss @@ -188,3 +188,12 @@ } } } + +// Display as "changed" if sibling select is marked as changed. +select.changed + .ts-wrapper { + &.single, &.multi { + .ts-control { + border-color: $color-txt-changed-brd; + } + } +} diff --git a/spec/javascripts/stimulus/bulk_form_controller_test.js b/spec/javascripts/stimulus/bulk_form_controller_test.js index 7571191708..82d83c7271 100644 --- a/spec/javascripts/stimulus/bulk_form_controller_test.js +++ b/spec/javascripts/stimulus/bulk_form_controller_test.js @@ -36,6 +36,10 @@ describe("BulkFormController", () => {
+
@@ -47,7 +51,7 @@ describe("BulkFormController", () => { }); describe("marking changed fields", () => { - it("onInput", () => { + it("input: onInput", () => { input1a.value = 'updated1a'; input1a.dispatchEvent(new Event("input")); // Expect only first field to show changed @@ -59,7 +63,23 @@ describe("BulkFormController", () => { input1a.value = 'initial1a'; input1a.dispatchEvent(new Event("input")); expect(input1a.classList).not.toContain('changed'); + }); + it("select: onInput", () => { + // Select a different option (it's the only way in Jest..) + select1.options[0].selected = true; + select1.options[1].selected = false; + select1.dispatchEvent(new Event("input")); + // Expect select to show changed + expect(input1a.classList).not.toContain('changed'); + expect(input1b.classList).not.toContain('changed'); + expect(select1.classList).toContain('changed'); + + // Change back to original value + select1.options[0].selected = false; + select1.options[1].selected = true; + select1.dispatchEvent(new Event("input")); + expect(select1.classList).not.toContain('changed'); }); it("multiple fields", () => { From b3cf977c96d10c0b0f5f4430ce6ccb091fce0d31 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 29 Feb 2024 15:05:13 +1100 Subject: [PATCH 059/374] Add unit name (items) field --- .../admin/products_v3/_product_row.html.haml | 1 + .../system/admin/products_v3/products_spec.rb | 21 ++++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index 42a062a5ce..9a874d591a 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -16,6 +16,7 @@ class: "fullwidth no-input", 'aria-label': t('admin.products_page.columns.unit_scale'), data: { "controller": "tom-select", "tom-select-options-value": '{ "plugins": [] }' } + = f.text_field :variant_unit_name, 'aria-label': t('items') %td.align-right -# empty %td.align-right diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index e29328ae04..8b61dbaac3 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -236,7 +236,6 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do click_button "Save changes" expect(page).to have_content "Changes saved" - product_a.reload variant_a1.reload }.to change{ variant_a1.on_demand }.to(true) @@ -245,6 +244,26 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do end end + it "saves a custom item unit name" do + within row_containing_name("Apples") do + tomselect_select "Items", from: "Unit scale" + fill_in "Items", with: "box" + end + + expect { + click_button "Save changes" + + expect(page).to have_content "Changes saved" + product_a.reload + }.to change{ product_a.variant_unit }.to("items") + .and change{ product_a.variant_unit_name }.to("box") + + within row_containing_name("Apples") do + pending + expect(page).to have_content "Items (box)" + end + end + it "discards changes and reloads latest data" do within row_containing_name("Apples") do fill_in "Name", with: "Pommes" From e52b8daf508e11ab3530d584d7ed630addc307b3 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 6 Mar 2024 10:36:24 +1100 Subject: [PATCH 060/374] Refactor: DRY --- .../controllers/toggle_control_controller.js | 40 ++++++++++++------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/app/webpacker/controllers/toggle_control_controller.js b/app/webpacker/controllers/toggle_control_controller.js index 7ba2bdb85d..8c65af417f 100644 --- a/app/webpacker/controllers/toggle_control_controller.js +++ b/app/webpacker/controllers/toggle_control_controller.js @@ -1,32 +1,29 @@ import { Controller } from "stimulus"; +// Toggle state of a control based on a condition. +// +// 1. When an action occurs on an element, +// 2. The element's value is inspected, and +// 3. The related control(s) are changed state +// export default class extends Controller { static targets = ["control", "content", "chevron"]; static values = { selector: String }; disableIfPresent(event) { - const input = event.currentTarget; - const disable = !!this.#inputValue(input); // Coerce value to boolean + const present = !!this.#inputValue(event.currentTarget); // Coerce value to boolean - this.controlTargets.forEach((target) => { - target.disabled = disable; - }); - - // Focus when enabled - if (!disable) { - this.controlTargets[0].focus(); - } + this.#toggleDisabled(present); } enableIfPresent(event) { - const input = event.currentTarget; - const enable = !!this.#inputValue(input); + const present = !!this.#inputValue(event.currentTarget); // Coerce value to boolean - this.controlTargets.forEach((target) => { - target.disabled = !enable; - }); + this.#toggleDisabled(!present); } + // Display the "content" target if element has data-toggle-show="true" + // (TODO: why not use the "control" target?) toggleDisplay(event) { const input = event.currentTarget; this.contentTargets.forEach((t) => { @@ -34,6 +31,8 @@ export default class extends Controller { }); } + // Toggle element specified by data-control-toggle-selector-value="" + // (TODO: give a more general name) toggleAdvancedSettings(event) { if (this.hasChevronTarget) { this.chevronTarget.classList.toggle("icon-chevron-down"); @@ -46,6 +45,17 @@ export default class extends Controller { // private + #toggleDisabled(disable) { + this.controlTargets.forEach((target) => { + target.disabled = disable; + }); + + // Focus first when enabled + if (!disable) { + this.controlTargets[0].focus(); + } + } + // Return input's value, but only if it would be submitted by a form // Radio buttons not supported (yet) #inputValue(input) { From 38766f5256a8801f6c01e82124d3701e5212cee1 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 6 Mar 2024 13:00:10 +1100 Subject: [PATCH 061/374] Show variant_unit_name for 'items' --- .../admin/products_v3/_product_row.html.haml | 6 ++-- .../controllers/toggle_control_controller.js | 20 +++++++++++- .../toggle_control_controller_test.js | 31 +++++++++++++++++++ 3 files changed, 53 insertions(+), 4 deletions(-) diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index 9a874d591a..1b4f4c4148 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -9,14 +9,14 @@ %td.field = f.text_field :sku, 'aria-label': t('admin.products_page.columns.sku') = error_message_on product, :sku -%td.field +%td.field{ 'data-controller': 'toggle-control', 'data-toggle-control-match-value': 'items' } = f.select :variant_unit_with_scale, options_for_select(WeightsAndMeasures.variant_unit_options, product.variant_unit_with_scale), {}, class: "fullwidth no-input", 'aria-label': t('admin.products_page.columns.unit_scale'), - data: { "controller": "tom-select", "tom-select-options-value": '{ "plugins": [] }' } - = f.text_field :variant_unit_name, 'aria-label': t('items') + data: { "controller": "tom-select", "tom-select-options-value": '{ "plugins": [] }', action: "change->toggle-control#displayIfMatch"} + = f.text_field :variant_unit_name, 'aria-label': t('items'), 'data-toggle-control-target': 'control', style: (product.variant_unit == "items" ? "" : "display: none") %td.align-right -# empty %td.align-right diff --git a/app/webpacker/controllers/toggle_control_controller.js b/app/webpacker/controllers/toggle_control_controller.js index 8c65af417f..6beea90ec2 100644 --- a/app/webpacker/controllers/toggle_control_controller.js +++ b/app/webpacker/controllers/toggle_control_controller.js @@ -8,7 +8,7 @@ import { Controller } from "stimulus"; // export default class extends Controller { static targets = ["control", "content", "chevron"]; - static values = { selector: String }; + static values = { selector: String, match: String }; disableIfPresent(event) { const present = !!this.#inputValue(event.currentTarget); // Coerce value to boolean @@ -43,6 +43,13 @@ export default class extends Controller { element.style.display = element.style.display === "none" ? "block" : "none"; } + // Display the control if selected value matches value in data-toggle-match="" + displayIfMatch(event) { + const inputValue = this.#inputValue(event.currentTarget); + + this.#toggleDisplay(inputValue == this.matchValue); + } + // private #toggleDisabled(disable) { @@ -56,6 +63,17 @@ export default class extends Controller { } } + #toggleDisplay(show) { + this.controlTargets.forEach((target) => { + target.style.display = (show ? "block" : "none"); + }); + + // Focus first when displayed + if (show) { + this.controlTargets[0].focus(); + } + } + // Return input's value, but only if it would be submitted by a form // Radio buttons not supported (yet) #inputValue(input) { diff --git a/spec/javascripts/stimulus/toggle_control_controller_test.js b/spec/javascripts/stimulus/toggle_control_controller_test.js index 412ec9e7ee..dca6e3df0e 100644 --- a/spec/javascripts/stimulus/toggle_control_controller_test.js +++ b/spec/javascripts/stimulus/toggle_control_controller_test.js @@ -61,6 +61,7 @@ describe("ToggleControlController", () => { }); }); }); + describe("#enableIfPresent", () => { describe("with input", () => { beforeEach(() => { @@ -88,6 +89,35 @@ describe("ToggleControlController", () => { }); }); }); + + describe("#displayIfMatch", () => { + describe("with select", () => { + beforeEach(() => { + document.body.innerHTML = `
+ + +
`; + }); + + it("Shows when match is selected", () => { + select.value = "items" + select.dispatchEvent(new Event("change")); + + expect(control.style.display).toBe("block"); + }); + + it("Hides when match is not selected", () => { + select.value = "weight_1" + select.dispatchEvent(new Event("change")); + + expect(control.style.display).toBe("none"); + }); + }); + }); + describe("#toggleDisplay", () => { beforeEach(() => { document.body.innerHTML = `
@@ -108,6 +138,7 @@ describe("ToggleControlController", () => { expect(content.style.display).toBe("block"); }); }); + describe("#toggleAdvancedSettings", () => { beforeEach(() => { document.body.innerHTML = ` From e8bd8389b519ce1289a133435460d8cd96e2d45e Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 6 Mar 2024 12:50:36 +1100 Subject: [PATCH 062/374] Remove unused parameters They're being silently discarded. I checked, and those classes weren't needed anyway. (theres' no conditions to even show an error in the second case, but nevermind..) --- app/views/spree/admin/taxonomies/_form.html.haml | 2 +- app/views/spree/admin/taxons/_form.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spree/admin/taxonomies/_form.html.haml b/app/views/spree/admin/taxonomies/_form.html.haml index 81927c7c1a..ac60030374 100644 --- a/app/views/spree/admin/taxonomies/_form.html.haml +++ b/app/views/spree/admin/taxonomies/_form.html.haml @@ -3,5 +3,5 @@ = f.label :name, t("spree.name") %span.required * %br/ - = error_message_on :taxonomy, :name, class: 'fullwidth title' + = error_message_on :taxonomy, :name = text_field :taxonomy, :name diff --git a/app/views/spree/admin/taxons/_form.html.haml b/app/views/spree/admin/taxons/_form.html.haml index 0d1bcd0605..621b5eadf8 100644 --- a/app/views/spree/admin/taxons/_form.html.haml +++ b/app/views/spree/admin/taxons/_form.html.haml @@ -4,7 +4,7 @@ = f.label :name, t(".name") %span.required * %br/ - = error_message_on :taxon, :name, class: 'fullwidth title' + = error_message_on :taxon, :name = text_field :taxon, :name, class: 'fullwidth' = f.field_container :permalink_part do = f.label :permalink_part, t(".permalink") From 864b95612a8dab86615377d5cd105acc07348417 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 6 Mar 2024 13:00:55 +1100 Subject: [PATCH 063/374] Show error message on variant_unit_name Now passing options through to the error tag --- app/helpers/spree/admin/base_helper.rb | 4 ++-- app/views/admin/products_v3/_product_row.html.haml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/helpers/spree/admin/base_helper.rb b/app/helpers/spree/admin/base_helper.rb index cf8bb97e6b..652e2a4dd4 100644 --- a/app/helpers/spree/admin/base_helper.rb +++ b/app/helpers/spree/admin/base_helper.rb @@ -12,7 +12,7 @@ module Spree id: "#{model}_#{method}_field") end - def error_message_on(object, method, _options = {}) + def error_message_on(object, method, options = {}) object = convert_to_model(object) obj = object.respond_to?(:errors) ? object : instance_variable_get("@#{object}") @@ -20,7 +20,7 @@ module Spree # rubocop:disable Rails/OutputSafety errors = obj.errors[method].map { |err| h(err) }.join('
').html_safe # rubocop:enable Rails/OutputSafety - content_tag(:span, errors, class: 'formError') + content_tag(:span, errors, class: 'formError', **options) else '' end diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index 1b4f4c4148..39a6e13e07 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -17,6 +17,7 @@ 'aria-label': t('admin.products_page.columns.unit_scale'), data: { "controller": "tom-select", "tom-select-options-value": '{ "plugins": [] }', action: "change->toggle-control#displayIfMatch"} = f.text_field :variant_unit_name, 'aria-label': t('items'), 'data-toggle-control-target': 'control', style: (product.variant_unit == "items" ? "" : "display: none") + = error_message_on product, :variant_unit_name, 'data-toggle-control-target': 'control' %td.align-right -# empty %td.align-right From 133c9c0609e3f5520e47607c517f941961345d14 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 6 Mar 2024 12:56:50 +1100 Subject: [PATCH 064/374] Add descriptions for taxomony tree Better late than never. --- config/locales/en.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index f66f12910d..5843a86b07 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -3880,8 +3880,8 @@ See the %{link} to find out more about %{sitename}'s features and to start using start_date: "Start date" successfully_removed: "Successfully Removed" taxonomy_edit: "Taxonomy edit" - taxonomy_tree_error: "Taxonomy tree error" - taxonomy_tree_instruction: "Taxonomy tree instruction" + taxonomy_tree_error: "There was an error updating the taxonomy tree." + taxonomy_tree_instruction: "Right-click on an item to add, rename, remove or edit." tree: "Tree" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" From cbcf388accae17fc1e2562fcefd7e5a7d1011ebb Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 6 Mar 2024 13:39:08 +1100 Subject: [PATCH 065/374] Ensure gap between fields wrapped over a line --- .../admin/products_v3/_product_row.html.haml | 7 ++++--- app/webpacker/css/admin/products_v3.scss | 15 ++++++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index 39a6e13e07..1d2c68eca3 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -9,15 +9,16 @@ %td.field = f.text_field :sku, 'aria-label': t('admin.products_page.columns.sku') = error_message_on product, :sku -%td.field{ 'data-controller': 'toggle-control', 'data-toggle-control-match-value': 'items' } +%td.multi-field{ 'data-controller': 'toggle-control', 'data-toggle-control-match-value': 'items' } = f.select :variant_unit_with_scale, options_for_select(WeightsAndMeasures.variant_unit_options, product.variant_unit_with_scale), {}, class: "fullwidth no-input", 'aria-label': t('admin.products_page.columns.unit_scale'), data: { "controller": "tom-select", "tom-select-options-value": '{ "plugins": [] }', action: "change->toggle-control#displayIfMatch"} - = f.text_field :variant_unit_name, 'aria-label': t('items'), 'data-toggle-control-target': 'control', style: (product.variant_unit == "items" ? "" : "display: none") - = error_message_on product, :variant_unit_name, 'data-toggle-control-target': 'control' + .field + = f.text_field :variant_unit_name, 'aria-label': t('items'), 'data-toggle-control-target': 'control', style: (product.variant_unit == "items" ? "" : "display: none") + = error_message_on product, :variant_unit_name, 'data-toggle-control-target': 'control' %td.align-right -# empty %td.align-right diff --git a/app/webpacker/css/admin/products_v3.scss b/app/webpacker/css/admin/products_v3.scss index b231f1ec2b..394f3398be 100644 --- a/app/webpacker/css/admin/products_v3.scss +++ b/app/webpacker/css/admin/products_v3.scss @@ -162,7 +162,12 @@ .field { padding: 0; - margin-bottom: 0.75em; + } + .multi-field { + // Allow wrap with small gap + display: flex; + flex-wrap: wrap; + gap: 3px; } label { @@ -362,8 +367,12 @@ border-radius: $border-radius; box-shadow: 0px 0px 8px 0px rgba($near-black, 0.25); - .field:last-child { - margin-bottom: 0; + .field{ + margin-bottom: 0.75em; + + &:last-child { + margin-bottom: 0; + } } input[disabled] { From e770f10f2b1325e9878dbe0538e262e12070b380 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 6 Mar 2024 13:48:13 +1100 Subject: [PATCH 066/374] Tomselect has minimum width --- app/webpacker/css/admin_v3/components/tom_select.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/webpacker/css/admin_v3/components/tom_select.scss b/app/webpacker/css/admin_v3/components/tom_select.scss index c616e8d5f4..4cf8c07070 100644 --- a/app/webpacker/css/admin_v3/components/tom_select.scss +++ b/app/webpacker/css/admin_v3/components/tom_select.scss @@ -42,6 +42,9 @@ background: none; border: none; box-shadow: none; + + min-width: 10em; // Ensure content doesn't wrap too much + // We could consider always stretching to fit with width: max-content; } .ts-dropdown-content { From 8612f7baab394b41761129d7ac430046125f7fe0 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 6 Mar 2024 13:52:00 +1100 Subject: [PATCH 067/374] Only add extra padding on alignment edge Saves a few precious pixels on the other edge. --- app/webpacker/css/admin/products_v3.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/webpacker/css/admin/products_v3.scss b/app/webpacker/css/admin/products_v3.scss index 394f3398be..dff90a7b76 100644 --- a/app/webpacker/css/admin/products_v3.scss +++ b/app/webpacker/css/admin/products_v3.scss @@ -67,8 +67,12 @@ } th.with-input { + // Additional padding to line up with content of input padding-left: $padding-tbl-cell + $hpadding-txt; - padding-right: $padding-tbl-cell + $hpadding-txt; + + &.align-right { + padding-right: $padding-tbl-cell + $hpadding-txt; + } } } From 29d3b347769c84570af6e51c1cfb87142c634347 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 6 Mar 2024 17:12:15 +1100 Subject: [PATCH 068/374] Increase dropdown height --- app/webpacker/css/admin_v3/components/tom_select.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/webpacker/css/admin_v3/components/tom_select.scss b/app/webpacker/css/admin_v3/components/tom_select.scss index 4cf8c07070..ddae48cd71 100644 --- a/app/webpacker/css/admin_v3/components/tom_select.scss +++ b/app/webpacker/css/admin_v3/components/tom_select.scss @@ -54,6 +54,8 @@ @include border-radius($border-radius); box-shadow: $shadow-dropdown; + max-height: 21em; // Show up to 8 items without scrolling + .option { padding: 8px; border-left: 3px solid transparent; From c0db3eb6ffa8077d3e360d33e8db89a96234d406 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Mar 2024 09:35:21 +0000 Subject: [PATCH 069/374] chore(deps): bump i18n from 1.14.1 to 1.14.3 Bumps [i18n](https://github.com/ruby-i18n/i18n) from 1.14.1 to 1.14.3. - [Release notes](https://github.com/ruby-i18n/i18n/releases) - [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/ruby-i18n/i18n/compare/v1.14.1...v1.14.3) --- updated-dependencies: - dependency-name: i18n dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1013d7bdcb..6c7104c14d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -334,8 +334,9 @@ GEM hashie (5.0.0) highline (2.0.3) htmlentities (4.3.4) - i18n (1.14.1) + i18n (1.14.3) concurrent-ruby (~> 1.0) + racc (~> 1.7) i18n-js (3.9.2) i18n (>= 0.6.6) image_processing (1.12.2) From 27d1a9ee09628e25b5afd743c8502af3428494f6 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 7 Mar 2024 10:32:28 +1100 Subject: [PATCH 070/374] Downgrade cable_ready JS to 5.0.1 In order to match the gem version I don't know if I'm using yarn wrong, but it wanted to install a newer version alongside this version, in order to resolve 'cable_ready@^5.0.0'. I manually edited the lockfile and yarn install now works as expected. --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e9ce888e22..39508eb65a 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@floating-ui/dom": "^1.6.3", "@hotwired/turbo": "^8.0.3", "@rails/webpacker": "5.4.4", - "cable_ready": "5.0.2", + "cable_ready": "5.0.1", "debounced": "^0.0.5", "flatpickr": "^4.6.9", "foundation-sites": "^5.5.3", diff --git a/yarn.lock b/yarn.lock index ff946847a1..412c876953 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2421,10 +2421,10 @@ bytes@3.1.2: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== -cable_ready@5.0.2, cable_ready@^5.0.0: - version "5.0.2" - resolved "https://registry.yarnpkg.com/cable_ready/-/cable_ready-5.0.2.tgz#9042bddce487c25710492d9d4b27f01ce0f8f90e" - integrity sha512-2NUDYACXZuLmnw9q32lGwRQqJaAGU+X/XTLS9lQHojw19l4Py7F2HyeJD6nZ1Rucv96oSlrVQr5kAL/jOB+CpQ== +cable_ready@5.0.1, cable_ready@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/cable_ready/-/cable_ready-5.0.1.tgz#1cef5991cf7a064d09971ed7d87c614dec2ee1e1" + integrity sha512-+t9rKTgYwW5XBx113y97qC8MNEtBZZL84Isdec23HWvjMx0icOQsMzHJE75ycjevgjACTeWZqjRcCdtCHxgZ9g== dependencies: morphdom "2.6.1" From 1472749da80c051e1850bc63026ee5c1918211df Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 7 Mar 2024 13:43:07 +1100 Subject: [PATCH 071/374] Add dev script to run rubocop on changed files --- script/rubocop-diff.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 script/rubocop-diff.sh diff --git a/script/rubocop-diff.sh b/script/rubocop-diff.sh new file mode 100755 index 0000000000..32dbef1ca8 --- /dev/null +++ b/script/rubocop-diff.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# +# While you are developing, you can call this script to check all +# changed files. And then you can also tell Git to check before every +# commit by adding this line to your `.git/hooks/pre-commit` file: +# +# ./script/rubocop-diff.sh --cached || exit 1 +# + +rubocop="`dirname $0`/../bin/rubocop" +cached="$1" # may be empty + +if git diff $cached --diff-filter=ACMR HEAD --quiet; then + # nothing changed + exit 0 +fi + +exec git diff $cached --name-only --relative --diff-filter=ACMR HEAD |\ + xargs \ + $rubocop --force-exclusion \ + --fail-level A \ + --format simple \ + --parallel --cache true From 4a423e327512ef0bb712ff546fca708e23ba6a1d Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 7 Mar 2024 16:25:35 +1100 Subject: [PATCH 072/374] Set known default password for sample users This enables us to easily log in as one of the sample users to test functionality as enterprise user or customer instead of admin. --- lib/tasks/sample_data/user_factory.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/sample_data/user_factory.rb b/lib/tasks/sample_data/user_factory.rb index 445c3fd402..bb5268e2b3 100644 --- a/lib/tasks/sample_data/user_factory.rb +++ b/lib/tasks/sample_data/user_factory.rb @@ -30,7 +30,7 @@ module SampleData def create_user(name) email = "#{name.downcase.tr(' ', '.')}@example.org" - password = Spree::User.friendly_token + password = "ofn123" log "- #{email}" user = Spree::User.create_with( password:, From bd6b0ddbf333d58dfc0b0c9ce4ff90aa5a4e137d Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 7 Mar 2024 16:57:54 +1100 Subject: [PATCH 073/374] Enforce RSpec expect(..).not_to over to_not --- .rubocop_rspec_styleguide.yml | 3 + .../admin/customers_controller_spec.rb | 2 +- .../admin/enterprises_controller_spec.rb | 8 +- .../admin/order_cycles_controller_spec.rb | 16 ++-- .../admin/reports_controller_spec.rb | 4 +- .../admin/schedules_controller_spec.rb | 14 ++-- .../admin/subscriptions_controller_spec.rb | 28 +++---- .../terms_of_service_files_controller_spec.rb | 4 +- .../variant_overrides_controller_spec.rb | 4 +- .../api/v0/logos_controller_spec.rb | 2 +- .../api/v0/order_cycles_controller_spec.rb | 16 ++-- .../api/v0/promo_images_controller_spec.rb | 2 +- .../api/v0/shipments_controller_spec.rb | 4 +- .../terms_and_conditions_controller_spec.rb | 2 +- .../api/v0/variants_controller_spec.rb | 2 +- spec/controllers/base_controller_spec.rb | 12 +-- spec/controllers/checkout_controller_spec.rb | 6 +- .../concerns/raising_parameters_spec.rb | 4 +- .../admin/adjustments_controller_spec.rb | 8 +- .../admin/general_settings_controller_spec.rb | 2 +- .../spree/admin/orders/invoices_spec.rb | 2 +- .../payments_controller_refunds_spec.rb | 16 ++-- .../payments/payments_controller_spec.rb | 2 +- .../spree/admin/orders_controller_spec.rb | 4 +- .../spree/admin/products_controller_spec.rb | 4 +- .../spree/admin/search_controller_spec.rb | 2 +- .../spree/admin/tax_rates_controller_spec.rb | 2 +- .../spree/api_keys_controller_spec.rb | 2 +- .../spree/credit_cards_controller_spec.rb | 6 +- .../spree/orders_controller_spec.rb | 2 +- .../spree/users_controller_spec.rb | 2 +- .../webhook_endpoints_controller_spec.rb | 2 +- spec/helpers/bulk_form_builder_spec.rb | 4 +- spec/helpers/injection_helper_spec.rb | 2 +- spec/helpers/shop_helper_spec.rb | 2 +- spec/jobs/order_cycle_closing_job_spec.rb | 4 +- spec/jobs/order_cycle_opened_job_spec.rb | 4 +- spec/jobs/report_job_spec.rb | 6 +- spec/jobs/subscription_confirm_job_spec.rb | 24 +++--- spec/jobs/subscription_placement_job_spec.rb | 18 ++-- .../order_cycle_form_applicator_spec.rb | 22 ++--- .../order_cycle_permissions_spec.rb | 84 +++++++++---------- .../lib/open_food_network/permissions_spec.rb | 2 +- .../scope_variants_to_search_spec.rb | 14 ++-- .../reports/packing/packing_report_spec.rb | 10 +-- .../users_and_enterprises_report_spec.rb | 8 +- spec/lib/stripe/account_connector_spec.rb | 12 +-- .../stripe/payment_intent_validator_spec.rb | 2 +- spec/lib/stripe/webhook_handler_spec.rb | 4 +- .../tasks/data/remove_transient_data_spec.rb | 6 +- spec/mailers/order_mailer_spec.rb | 14 ++-- spec/mailers/producer_mailer_spec.rb | 2 +- spec/mailers/shipment_mailer_spec.rb | 4 +- spec/mailers/subscription_mailer_spec.rb | 24 +++--- spec/mailers/test_mailer_spec.rb | 2 +- ...nvert_stripe_connect_to_stripe_sca_spec.rb | 4 +- .../migrate_admin_tax_amounts_spec.rb | 6 +- spec/models/concerns/order_shipment_spec.rb | 2 +- spec/models/customer_spec.rb | 2 +- spec/models/enterprise_fee_spec.rb | 2 +- spec/models/enterprise_relationship_spec.rb | 18 ++-- spec/models/enterprise_spec.rb | 18 ++-- spec/models/order_cycle_spec.rb | 18 ++-- spec/models/product_importer_spec.rb | 10 +-- spec/models/proxy_order_spec.rb | 4 +- spec/models/report_blob_spec.rb | 2 +- spec/models/spree/ability_spec.rb | 8 +- spec/models/spree/address_spec.rb | 8 +- spec/models/spree/addresses_spec.rb | 2 +- spec/models/spree/adjustment_spec.rb | 6 +- spec/models/spree/credit_card_spec.rb | 12 +-- spec/models/spree/inventory_unit_spec.rb | 4 +- spec/models/spree/line_item_spec.rb | 8 +- spec/models/spree/order/payment_spec.rb | 2 +- spec/models/spree/order/tax_spec.rb | 2 +- spec/models/spree/order_contents_spec.rb | 2 +- spec/models/spree/order_spec.rb | 18 ++-- spec/models/spree/payment_spec.rb | 26 +++--- .../spree/preferences/preferable_spec.rb | 4 +- spec/models/spree/price_spec.rb | 2 +- spec/models/spree/product_property_spec.rb | 2 +- spec/models/spree/product_spec.rb | 10 +-- .../models/spree/return_authorization_spec.rb | 2 +- spec/models/spree/shipment_spec.rb | 6 +- spec/models/spree/shipping_method_spec.rb | 2 +- .../stock/availability_validator_spec.rb | 2 +- spec/models/spree/tax_rate_spec.rb | 4 +- spec/models/spree/user_spec.rb | 14 ++-- spec/models/spree/variant_spec.rb | 10 +-- spec/models/stripe_account_spec.rb | 4 +- spec/models/subscription_spec.rb | 2 +- spec/models/variant_override_spec.rb | 4 +- spec/reflexes/products_reflex_spec.rb | 2 +- spec/requests/admin/images_spec.rb | 2 +- .../omniauth_callbacks_controller_spec.rb | 2 +- spec/requests/spree/admin/overview_spec.rb | 6 +- .../api/admin/enterprise_serializer_spec.rb | 4 +- .../api/admin/exchange_serializer_spec.rb | 14 ++-- .../api/admin/order_cycle_serializer_spec.rb | 2 +- .../checkout/post_checkout_actions_spec.rb | 2 +- .../customer_order_cancellation_spec.rb | 2 +- spec/services/image_importer_spec.rb | 2 +- .../order_available_payment_methods_spec.rb | 6 +- .../order_available_shipping_methods_spec.rb | 6 +- spec/services/order_checkout_restart_spec.rb | 2 +- .../order_cycle_distributed_products_spec.rb | 12 +-- spec/services/order_cycle_form_spec.rb | 16 ++-- .../order_cycle_webhook_service_spec.rb | 4 +- spec/services/order_fees_handler_spec.rb | 2 +- spec/services/order_syncer_spec.rb | 8 +- spec/services/permissions/order_spec.rb | 20 ++--- spec/services/place_proxy_order_spec.rb | 2 +- spec/services/products_renderer_spec.rb | 6 +- spec/services/sets/model_set_spec.rb | 2 +- spec/services/sets/product_set_spec.rb | 8 +- spec/services/tax_rate_updater_spec.rb | 6 +- spec/services/terms_of_service_spec.rb | 2 +- .../voucher_adjustments_service_spec.rb | 4 +- spec/support/ability_helpers.rb | 26 +++--- spec/support/request/authentication_helper.rb | 4 +- spec/support/request/shop_workflow.rb | 2 +- spec/system/admin/adjustments_spec.rb | 4 +- .../admin/bulk_order_management_spec.rb | 6 +- spec/system/admin/customers_spec.rb | 12 +-- spec/system/admin/enterprise_fees_spec.rb | 2 +- .../admin/enterprises/connected_apps_spec.rb | 12 +-- spec/system/admin/enterprises/index_spec.rb | 4 +- .../enterprises/terms_and_conditions_spec.rb | 2 +- spec/system/admin/enterprises_spec.rb | 6 +- spec/system/admin/oidc_settings_spec.rb | 4 +- ...lex_editing_multiple_product_pages_spec.rb | 2 +- spec/system/admin/order_cycles/simple_spec.rb | 8 +- spec/system/admin/order_spec.rb | 36 ++++---- spec/system/admin/orders/invoices_spec.rb | 2 +- spec/system/admin/orders_spec.rb | 48 +++++------ spec/system/admin/product_import_spec.rb | 8 +- spec/system/admin/products_spec.rb | 4 +- .../system/admin/products_v3/products_spec.rb | 38 ++++----- ...ry_fee_with_tax_report_by_producer_spec.rb | 32 +++---- spec/system/admin/subscriptions/crud_spec.rb | 2 +- .../admin/subscriptions/smoke_tests_spec.rb | 4 +- spec/system/admin/tos_banner_spec.rb | 4 +- spec/system/admin/variants_spec.rb | 2 +- spec/system/consumer/account/cards_spec.rb | 6 +- .../account/developer_settings_spec.rb | 4 +- spec/system/consumer/account/payments_spec.rb | 2 +- spec/system/consumer/account/settings_spec.rb | 2 +- .../caching/darkswarm_caching_spec.rb | 10 +-- .../consumer/caching/shops_caching_spec.rb | 2 +- spec/system/consumer/checkout/details_spec.rb | 4 +- spec/system/consumer/checkout/summary_spec.rb | 12 +-- spec/system/consumer/groups_spec.rb | 6 +- spec/system/consumer/registration_spec.rb | 4 +- spec/system/consumer/shopping/cart_spec.rb | 10 +-- spec/system/consumer/shopping/orders_spec.rb | 4 +- .../system/consumer/shopping/shopping_spec.rb | 8 +- spec/system/consumer/shops_spec.rb | 2 +- spec/system/consumer/user_password_spec.rb | 2 +- spec/system/consumer/white_label_spec.rb | 2 +- .../_voucher_section.html.haml_spec.rb | 2 +- .../spree/admin/orders/edit.html.haml_spec.rb | 10 +-- .../admin/orders/index.html.haml_spec.rb | 2 +- .../admin/orders/invoice.html.haml_spec.rb | 2 +- 163 files changed, 616 insertions(+), 613 deletions(-) diff --git a/.rubocop_rspec_styleguide.yml b/.rubocop_rspec_styleguide.yml index c59ecac4b1..aef9fa3ba8 100644 --- a/.rubocop_rspec_styleguide.yml +++ b/.rubocop_rspec_styleguide.yml @@ -19,3 +19,6 @@ Capybara/NegationMatcher: RSpec/ExpectChange: Enabled: true EnforcedStyle: block + +RSpec/NotToNot: + Enabled: true diff --git a/spec/controllers/admin/customers_controller_spec.rb b/spec/controllers/admin/customers_controller_spec.rb index 96667f2d65..f7397e58ab 100644 --- a/spec/controllers/admin/customers_controller_spec.rb +++ b/spec/controllers/admin/customers_controller_spec.rb @@ -182,7 +182,7 @@ module Admin customer: { email: 'new.email@gmail.com' } expect(response).to redirect_to unauthorized_path expect(assigns(:customer)).to eq nil - expect(customer.email).to_not eq 'new.email@gmail.com' + expect(customer.email).not_to eq 'new.email@gmail.com' end end end diff --git a/spec/controllers/admin/enterprises_controller_spec.rb b/spec/controllers/admin/enterprises_controller_spec.rb index d2045aa9f1..9c033da706 100644 --- a/spec/controllers/admin/enterprises_controller_spec.rb +++ b/spec/controllers/admin/enterprises_controller_spec.rb @@ -168,7 +168,7 @@ describe Admin::EnterprisesController, type: :controller do spree_post :update, update_params distributor.reload - expect(distributor.users).to_not include user + expect(distributor.users).not_to include user end it "updates the contact for notifications" do @@ -190,7 +190,7 @@ describe Admin::EnterprisesController, type: :controller do } expect { spree_post :update, params }. - to_not change { distributor.contact } + not_to change { distributor.contact } end it "updates enterprise preferences" do @@ -223,7 +223,7 @@ describe Admin::EnterprisesController, type: :controller do expect(Spree::Property.count).to be 1 expect(ProducerProperty.count).to be 0 property_names = producer.reload.properties.map(&:name) - expect(property_names).to_not include 'a different name' + expect(property_names).not_to include 'a different name' end end @@ -721,7 +721,7 @@ describe Admin::EnterprisesController, type: :controller do it "scopes @collection to enterprises editable by the user" do get :index, format: :json expect(assigns(:collection)).to include enterprise1, enterprise2 - expect(assigns(:collection)).to_not include enterprise3 + expect(assigns(:collection)).not_to include enterprise3 end end end diff --git a/spec/controllers/admin/order_cycles_controller_spec.rb b/spec/controllers/admin/order_cycles_controller_spec.rb index 6cabb1f332..27cfbff2e8 100644 --- a/spec/controllers/admin/order_cycles_controller_spec.rb +++ b/spec/controllers/admin/order_cycles_controller_spec.rb @@ -37,7 +37,7 @@ module Admin context "where ransack conditions are specified" do it "loads order cycles closed within past month, and orders w/o a close_at date" do get :index, as: :json - expect(assigns(:collection)).to_not include oc1, oc2 + expect(assigns(:collection)).not_to include oc1, oc2 expect(assigns(:collection)).to include oc3, oc4 end end @@ -47,7 +47,7 @@ module Admin it "loads order cycles closed after specified date, and orders w/o a close_at date" do get :index, as: :json, params: { q: } - expect(assigns(:collection)).to_not include oc1 + expect(assigns(:collection)).not_to include oc1 expect(assigns(:collection)).to include oc2, oc3, oc4 end @@ -56,7 +56,7 @@ module Admin it "loads order cycles that meet all conditions" do get :index, format: :json, params: { q: } - expect(assigns(:collection)).to_not include oc1, oc2, oc4 + expect(assigns(:collection)).not_to include oc1, oc2, oc4 expect(assigns(:collection)).to include oc3 end end @@ -415,9 +415,9 @@ module Admin } } } oc.reload - expect(oc.name).to_not eq "Updated Order Cycle" - expect(oc.orders_open_at.to_date).to_not eq Date.current - 21.days - expect(oc.orders_close_at.to_date).to_not eq Date.current + 21.days + expect(oc.name).not_to eq "Updated Order Cycle" + expect(oc.orders_open_at.to_date).not_to eq Date.current - 21.days + expect(oc.orders_close_at.to_date).not_to eq Date.current + 21.days end end end @@ -505,8 +505,8 @@ module Admin get :destroy, params: { id: cloned.id } expect(OrderCycle.find_by(id: cloned.id)).to be nil - expect(OrderCycle.find_by(id: oc.id)).to_not be nil - expect(EnterpriseFee.find_by(id: enterprise_fee1.id)).to_not be nil + expect(OrderCycle.find_by(id: oc.id)).not_to be nil + expect(EnterpriseFee.find_by(id: enterprise_fee1.id)).not_to be nil expect(response).to redirect_to admin_order_cycles_path end end diff --git a/spec/controllers/admin/reports_controller_spec.rb b/spec/controllers/admin/reports_controller_spec.rb index 32a44c1b88..318682a8e8 100644 --- a/spec/controllers/admin/reports_controller_spec.rb +++ b/spec/controllers/admin/reports_controller_spec.rb @@ -162,7 +162,7 @@ describe Admin::ReportsController, type: :controller do report_types = assigns(:reports).keys expect(report_types).to include :orders_and_fulfillment, :products_and_inventory, :packing # and others - expect(report_types).to_not include :sales_tax + expect(report_types).not_to include :sales_tax end end @@ -365,7 +365,7 @@ describe Admin::ReportsController, type: :controller do spree_get :show, report_type: :sales_tax, report_subtype: report_type expect(response).to have_http_status(:ok) expect(resulting_orders_prelim).to include(orderA1, orderB1) - expect(resulting_orders_prelim).to_not include(orderA2, orderB2) + expect(resulting_orders_prelim).not_to include(orderA2, orderB2) end end end diff --git a/spec/controllers/admin/schedules_controller_spec.rb b/spec/controllers/admin/schedules_controller_spec.rb index 4bf805c2f6..38b1f12e35 100644 --- a/spec/controllers/admin/schedules_controller_spec.rb +++ b/spec/controllers/admin/schedules_controller_spec.rb @@ -115,7 +115,7 @@ describe Admin::SchedulesController, type: :controller do uncoordinated_order_cycle, uncoordinated_order_cycle3 # coordinated_order_cycle is removed, uncoordinated_order_cycle2 is NOT added - expect(coordinated_schedule.reload.order_cycles).to_not include coordinated_order_cycle, + expect(coordinated_schedule.reload.order_cycles).not_to include coordinated_order_cycle, uncoordinated_order_cycle2 end @@ -145,7 +145,7 @@ describe Admin::SchedulesController, type: :controller do schedule: { name: "my awesome schedule" } expect(response).to redirect_to unauthorized_path expect(assigns(:schedule)).to eq nil - expect(coordinated_schedule.name).to_not eq "my awesome schedule" + expect(coordinated_schedule.name).not_to eq "my awesome schedule" end end end @@ -173,7 +173,7 @@ describe Admin::SchedulesController, type: :controller do context "where no order cycles ids are provided" do it "does not allow me to create the schedule" do - expect { create_schedule params }.to_not change { Schedule.count } + expect { create_schedule params }.not_to change { Schedule.count } end end @@ -187,7 +187,7 @@ describe Admin::SchedulesController, type: :controller do expect { create_schedule params }.to change { Schedule.count }.by(1) schedule = Schedule.last expect(schedule.order_cycles).to include coordinated_order_cycle - expect(schedule.order_cycles).to_not include uncoordinated_order_cycle + expect(schedule.order_cycles).not_to include uncoordinated_order_cycle end it "sync proxy orders" do @@ -205,7 +205,7 @@ describe Admin::SchedulesController, type: :controller do end it "prevents me from creating the schedule" do - expect { create_schedule params }.to_not change { Schedule.count } + expect { create_schedule params }.not_to change { Schedule.count } end end end @@ -257,7 +257,7 @@ describe Admin::SchedulesController, type: :controller do let!(:subscription) { create(:subscription, schedule: coordinated_schedule) } it "returns an error message and prevents me from deleting the schedule" do - expect { spree_delete :destroy, params }.to_not change { Schedule.count } + expect { spree_delete :destroy, params }.not_to change { Schedule.count } json_response = JSON.parse(response.body) expect(json_response["errors"]) .to include 'This schedule cannot be deleted ' \ @@ -270,7 +270,7 @@ describe Admin::SchedulesController, type: :controller do before { params.merge!(id: uncoordinated_schedule.id) } it "prevents me from destroying the schedule" do - expect { spree_delete :destroy, params }.to_not change { Schedule.count } + expect { spree_delete :destroy, params }.not_to change { Schedule.count } end end end diff --git a/spec/controllers/admin/subscriptions_controller_spec.rb b/spec/controllers/admin/subscriptions_controller_spec.rb index 5f807d5110..c00d8ae113 100644 --- a/spec/controllers/admin/subscriptions_controller_spec.rb +++ b/spec/controllers/admin/subscriptions_controller_spec.rb @@ -81,7 +81,7 @@ describe Admin::SubscriptionsController, type: :controller do expect(json_response.count).to be 1 ids = json_response.map{ |so| so['id'] } expect(ids).to include subscription2.id - expect(ids).to_not include subscription.id + expect(ids).not_to include subscription.id end end end @@ -134,7 +134,7 @@ describe Admin::SubscriptionsController, type: :controller do context 'when I submit insufficient params' do it 'returns errors' do - expect{ spree_post :create, params }.to_not change{ Subscription.count } + expect{ spree_post :create, params }.not_to change{ Subscription.count } json_response = JSON.parse(response.body) expect(json_response['errors'].keys).to include 'schedule', 'customer', 'payment_method', 'shipping_method', 'begins_at' @@ -168,7 +168,7 @@ describe Admin::SubscriptionsController, type: :controller do end it 'returns errors' do - expect{ spree_post :create, params }.to_not change{ Subscription.count } + expect{ spree_post :create, params }.not_to change{ Subscription.count } json_response = JSON.parse(response.body) expect(json_response['errors'].keys).to include 'schedule', 'customer', 'payment_method', 'shipping_method', 'ends_at' @@ -197,7 +197,7 @@ describe Admin::SubscriptionsController, type: :controller do context 'where the specified variants are not available from the shop' do it 'returns an error' do - expect{ spree_post :create, params }.to_not change{ Subscription.count } + expect{ spree_post :create, params }.not_to change{ Subscription.count } json_response = JSON.parse(response.body) expect(json_response['errors']['subscription_line_items']) .to eq ["#{variant.product.name} - #{variant.full_name} " \ @@ -343,7 +343,7 @@ describe Admin::SubscriptionsController, type: :controller do end it 'returns errors' do - expect{ spree_post :update, params }.to_not change{ Subscription.count } + expect{ spree_post :update, params }.not_to change{ Subscription.count } json_response = JSON.parse(response.body) expect(json_response['errors'].keys).to include 'payment_method', 'shipping_method' subscription.reload @@ -387,7 +387,7 @@ describe Admin::SubscriptionsController, type: :controller do context 'where the specified variants are not available from the shop' do it 'returns an error' do expect{ spree_post :update, params } - .to_not change{ subscription.subscription_line_items.count } + .not_to change{ subscription.subscription_line_items.count } json_response = JSON.parse(response.body) expect(json_response['errors']['subscription_line_items']) .to eq ["#{product2.name} - #{variant2.full_name} " \ @@ -478,7 +478,7 @@ describe Admin::SubscriptionsController, type: :controller do it 'renders the cancelled subscription as json, and does not cancel the open order' do spree_put :cancel, params json_response = JSON.parse(response.body) - expect(json_response['canceled_at']).to_not be nil + expect(json_response['canceled_at']).not_to be nil expect(json_response['id']).to eq subscription.id expect(subscription.reload.canceled_at).to be_within(5.seconds).of Time.zone.now expect(order.reload.state).to eq 'complete' @@ -498,7 +498,7 @@ describe Admin::SubscriptionsController, type: :controller do it 'renders the cancelled subscription as json, and cancels the open order' do spree_put :cancel, params json_response = JSON.parse(response.body) - expect(json_response['canceled_at']).to_not be nil + expect(json_response['canceled_at']).not_to be nil expect(json_response['id']).to eq subscription.id expect(subscription.reload.canceled_at).to be_within(5.seconds).of Time.zone.now expect(order.reload.state).to eq 'canceled' @@ -512,7 +512,7 @@ describe Admin::SubscriptionsController, type: :controller do it 'renders the cancelled subscription as json' do spree_put :cancel, params json_response = JSON.parse(response.body) - expect(json_response['canceled_at']).to_not be nil + expect(json_response['canceled_at']).not_to be nil expect(json_response['id']).to eq subscription.id expect(subscription.reload.canceled_at).to be_within(5.seconds).of Time.zone.now end @@ -582,7 +582,7 @@ describe Admin::SubscriptionsController, type: :controller do it 'renders the paused subscription as json, and does not cancel the open order' do spree_put :pause, params json_response = JSON.parse(response.body) - expect(json_response['paused_at']).to_not be nil + expect(json_response['paused_at']).not_to be nil expect(json_response['id']).to eq subscription.id expect(subscription.reload.paused_at).to be_within(5.seconds).of Time.zone.now expect(order.reload.state).to eq 'complete' @@ -602,7 +602,7 @@ describe Admin::SubscriptionsController, type: :controller do it 'renders the paused subscription as json, and cancels the open order' do spree_put :pause, params json_response = JSON.parse(response.body) - expect(json_response['paused_at']).to_not be nil + expect(json_response['paused_at']).not_to be nil expect(json_response['id']).to eq subscription.id expect(subscription.reload.paused_at).to be_within(5.seconds).of Time.zone.now expect(order.reload.state).to eq 'canceled' @@ -616,7 +616,7 @@ describe Admin::SubscriptionsController, type: :controller do it 'renders the paused subscription as json' do spree_put :pause, params json_response = JSON.parse(response.body) - expect(json_response['paused_at']).to_not be nil + expect(json_response['paused_at']).not_to be nil expect(json_response['id']).to eq subscription.id expect(subscription.reload.paused_at).to be_within(5.seconds).of Time.zone.now end @@ -708,7 +708,7 @@ describe Admin::SubscriptionsController, type: :controller do expect(json_response['id']).to eq subscription.id expect(subscription.reload.paused_at).to be nil expect(order.reload.state).to eq 'canceled' - expect(proxy_order.reload.canceled_at).to_not be nil + expect(proxy_order.reload.canceled_at).not_to be nil end end end @@ -771,7 +771,7 @@ describe Admin::SubscriptionsController, type: :controller do it "only loads Stripe and Cash payment methods" do controller.send(:load_form_data) expect(assigns(:payment_methods)).to include payment_method, stripe - expect(assigns(:payment_methods)).to_not include paypal + expect(assigns(:payment_methods)).not_to include paypal end end end diff --git a/spec/controllers/admin/terms_of_service_files_controller_spec.rb b/spec/controllers/admin/terms_of_service_files_controller_spec.rb index 2a81cc898b..de6b0ba174 100644 --- a/spec/controllers/admin/terms_of_service_files_controller_spec.rb +++ b/spec/controllers/admin/terms_of_service_files_controller_spec.rb @@ -12,12 +12,12 @@ describe Admin::TermsOfServiceFilesController, type: :controller do it "does not allow deletion" do post :destroy - expect(TermsOfServiceFile).to_not receive(:current) + expect(TermsOfServiceFile).not_to receive(:current) end it "does not allow creation" do post :create - expect(TermsOfServiceFile).to_not receive(:create!) + expect(TermsOfServiceFile).not_to receive(:create!) end end diff --git a/spec/controllers/admin/variant_overrides_controller_spec.rb b/spec/controllers/admin/variant_overrides_controller_spec.rb index f6040d8ba7..4224452fb1 100644 --- a/spec/controllers/admin/variant_overrides_controller_spec.rb +++ b/spec/controllers/admin/variant_overrides_controller_spec.rb @@ -97,7 +97,7 @@ describe Admin::VariantOverridesController, type: :controller do it "allows to update other variant overrides" do put :bulk_update, as: format, params: { variant_overrides: variant_override_params } - expect(response).to_not redirect_to unauthorized_path + expect(response).not_to redirect_to unauthorized_path variant_override.reload expect(variant_override.price).to eq 123.45 end @@ -193,7 +193,7 @@ describe Admin::VariantOverridesController, type: :controller do it "does not reset count_on_hand for variant_overrides not in params" do expect { put :bulk_reset, params: - }.to_not change{ variant_override3.reload.count_on_hand } + }.not_to change{ variant_override3.reload.count_on_hand } end end end diff --git a/spec/controllers/api/v0/logos_controller_spec.rb b/spec/controllers/api/v0/logos_controller_spec.rb index b1bb65b187..3d8c800ba0 100644 --- a/spec/controllers/api/v0/logos_controller_spec.rb +++ b/spec/controllers/api/v0/logos_controller_spec.rb @@ -35,7 +35,7 @@ module Api expect(response.status).to eq 200 expect(json_response["id"]).to eq enterprise.id enterprise.reload - expect(enterprise.logo).to_not be_attached + expect(enterprise.logo).not_to be_attached end context "when logo does not exist" do diff --git a/spec/controllers/api/v0/order_cycles_controller_spec.rb b/spec/controllers/api/v0/order_cycles_controller_spec.rb index dfc6010ec1..7a8aaa0a24 100644 --- a/spec/controllers/api/v0/order_cycles_controller_spec.rb +++ b/spec/controllers/api/v0/order_cycles_controller_spec.rb @@ -57,7 +57,7 @@ module Api q: { ransack_param => "Kangaroo" } expect(product_ids).to include product1.id - expect(product_ids).to_not include product2.id + expect(product_ids).not_to include product2.id end context "with variant overrides" do @@ -84,7 +84,7 @@ module Api it "does not return products where the variant overrides are out of stock" do api_get :products, id: order_cycle.id, distributor: distributor.id - expect(product_ids).to_not include product2.id + expect(product_ids).not_to include product2.id end end @@ -99,7 +99,7 @@ module Api expect(response.status).to eq 200 expect(product_ids).to eq [product1.id, product2.id] - expect(product_ids).to_not include product3.id + expect(product_ids).not_to include product3.id end context "with supplier properties" do @@ -118,7 +118,7 @@ module Api expect(response.status).to eq 200 expect(product_ids).to match_array [product1.id, product2.id] - expect(product_ids).to_not include product3.id + expect(product_ids).not_to include product3.id end end end @@ -129,7 +129,7 @@ module Api q: { primary_taxon_id_in_any: [taxon2.id] } expect(product_ids).to include product2.id, product3.id - expect(product_ids).to_not include product1.id, product4.id + expect(product_ids).not_to include product1.id, product4.id end end @@ -176,7 +176,7 @@ module Api api_get :products, id: order_cycle.id, distributor: distributor.id - expect(product_ids).to_not include product1.id + expect(product_ids).not_to include product1.id end it "does not return variants hidden for this specific customer" do @@ -185,7 +185,7 @@ module Api api_get :products, id: order_cycle.id, distributor: distributor.id - expect(product_ids).to_not include product2.id + expect(product_ids).not_to include product2.id end it "returns hidden variants made visible for this specific customer" do @@ -197,7 +197,7 @@ module Api api_get :products, id: order_cycle.id, distributor: distributor.id - expect(product_ids).to_not include product1.id + expect(product_ids).not_to include product1.id expect(product_ids).to include product3.id end end diff --git a/spec/controllers/api/v0/promo_images_controller_spec.rb b/spec/controllers/api/v0/promo_images_controller_spec.rb index 92fdce4940..76e7288ae1 100644 --- a/spec/controllers/api/v0/promo_images_controller_spec.rb +++ b/spec/controllers/api/v0/promo_images_controller_spec.rb @@ -35,7 +35,7 @@ module Api expect(response.status).to eq 200 expect(json_response["id"]).to eq enterprise.id enterprise.reload - expect(enterprise.promo_image).to_not be_attached + expect(enterprise.promo_image).not_to be_attached end context "when promo image does not exist" do diff --git a/spec/controllers/api/v0/shipments_controller_spec.rb b/spec/controllers/api/v0/shipments_controller_spec.rb index 9ade418913..4e091b4312 100644 --- a/spec/controllers/api/v0/shipments_controller_spec.rb +++ b/spec/controllers/api/v0/shipments_controller_spec.rb @@ -194,14 +194,14 @@ describe Api::V0::ShipmentsController, type: :controller do expect { api_put :add, params.merge(variant_id: existing_variant.to_param) expect(response.status).to eq(422) - }.to_not change { existing_variant.reload.on_hand } + }.not_to change { existing_variant.reload.on_hand } end it "doesn't adjust stock when removing a variant" do expect { api_put :remove, params.merge(variant_id: existing_variant.to_param) expect(response.status).to eq(422) - }.to_not change { existing_variant.reload.on_hand } + }.not_to change { existing_variant.reload.on_hand } end end diff --git a/spec/controllers/api/v0/terms_and_conditions_controller_spec.rb b/spec/controllers/api/v0/terms_and_conditions_controller_spec.rb index d5e7f511f8..53596f7fd3 100644 --- a/spec/controllers/api/v0/terms_and_conditions_controller_spec.rb +++ b/spec/controllers/api/v0/terms_and_conditions_controller_spec.rb @@ -29,7 +29,7 @@ module Api expect(response.status).to eq 200 expect(json_response["id"]).to eq enterprise.id enterprise.reload - expect(enterprise.terms_and_conditions).to_not be_attached + expect(enterprise.terms_and_conditions).not_to be_attached end context "when terms and conditions file does not exist" do diff --git a/spec/controllers/api/v0/variants_controller_spec.rb b/spec/controllers/api/v0/variants_controller_spec.rb index f67fefd7f0..9272b0b522 100644 --- a/spec/controllers/api/v0/variants_controller_spec.rb +++ b/spec/controllers/api/v0/variants_controller_spec.rb @@ -172,7 +172,7 @@ describe Api::V0::VariantsController, type: :controller do variant = product.variants.first spree_delete :destroy, id: variant.to_param - expect(variant.reload).to_not be_deleted + expect(variant.reload).not_to be_deleted expect(assigns(:variant).errors[:product]).to include "must have at least one variant" end end diff --git a/spec/controllers/base_controller_spec.rb b/spec/controllers/base_controller_spec.rb index 17725eb773..5158dd1c3c 100644 --- a/spec/controllers/base_controller_spec.rb +++ b/spec/controllers/base_controller_spec.rb @@ -17,7 +17,7 @@ describe BaseController, type: :controller do it "doesn't change anything without a user" do expect { get :index - }.to_not change { Spree::Order.count } + }.not_to change { Spree::Order.count } end it "creates a new order" do @@ -36,7 +36,7 @@ describe BaseController, type: :controller do expect { get :index - }.to_not change { Spree::Order.count } + }.not_to change { Spree::Order.count } expect(session[:order_id]).to eq last_cart.id end @@ -63,7 +63,7 @@ describe BaseController, type: :controller do expect { get :index - }.to_not change { Spree::Order.count } + }.not_to change { Spree::Order.count } expect(current_cart.line_items.count).to eq 0 end @@ -89,13 +89,13 @@ describe BaseController, type: :controller do get :index }.to change { Spree::Order.count }.by(1) - expect(session[:order_id]).to_not eq just_completed_order.id - expect(session[:order_id]).to_not eq last_cart.id + expect(session[:order_id]).not_to eq just_completed_order.id + expect(session[:order_id]).not_to eq last_cart.id expect(controller.current_order.line_items.count).to eq 0 end it "doesn't load variant overrides without line items" do - expect(VariantOverride).to_not receive(:indexed) + expect(VariantOverride).not_to receive(:indexed) controller.current_order(true) end end diff --git a/spec/controllers/checkout_controller_spec.rb b/spec/controllers/checkout_controller_spec.rb index 355343d0d5..a56d97e549 100644 --- a/spec/controllers/checkout_controller_spec.rb +++ b/spec/controllers/checkout_controller_spec.rb @@ -148,7 +148,7 @@ describe CheckoutController, type: :controller do it "doesn't update default bill address on user" do expect { put :update, params: params.merge(order: { save_bill_address: "0" }) - }.to_not change { + }.not_to change { order.user.reload.bill_address } end @@ -163,7 +163,7 @@ describe CheckoutController, type: :controller do it "doesn't update default ship address on user" do expect { put :update, params: params.merge(order: { save_ship_address: "0" }) - }.to_not change { + }.not_to change { order.user.reload.ship_address } end @@ -196,7 +196,7 @@ describe CheckoutController, type: :controller do end it "doesn't recalculate the voucher adjustment" do - expect(service).to_not receive(:update) + expect(service).not_to receive(:update) put(:update, params:) diff --git a/spec/controllers/concerns/raising_parameters_spec.rb b/spec/controllers/concerns/raising_parameters_spec.rb index cf330221b7..73008f20cf 100644 --- a/spec/controllers/concerns/raising_parameters_spec.rb +++ b/spec/controllers/concerns/raising_parameters_spec.rb @@ -26,7 +26,7 @@ describe RaisingParameters do it "raises no error when all parameters are permitted" do expect { params.require(:data).permit(:id, :admin) - }.to_not raise_error + }.not_to raise_error end it "doesn't change standard parameter objects" do @@ -34,7 +34,7 @@ describe RaisingParameters do expect { original_params.permit(:one) - }.to_not raise_error + }.not_to raise_error end end end diff --git a/spec/controllers/spree/admin/adjustments_controller_spec.rb b/spec/controllers/spree/admin/adjustments_controller_spec.rb index d44c27a08b..a6ae890071 100644 --- a/spec/controllers/spree/admin/adjustments_controller_spec.rb +++ b/spec/controllers/spree/admin/adjustments_controller_spec.rb @@ -27,7 +27,7 @@ module Spree spree_get :index, order_id: order.number expect(assigns(:collection)).to include adjustment1, adjustment2 - expect(assigns(:collection)).to_not include adjustment3 + expect(assigns(:collection)).not_to include adjustment3 end it "displays admin adjustments" do @@ -39,7 +39,7 @@ module Spree it "does not display enterprise fee adjustments" do spree_get :index, order_id: order.number - expect(assigns(:collection)).to_not include adjustment4 + expect(assigns(:collection)).not_to include adjustment4 end end @@ -237,7 +237,7 @@ module Spree expect { spree_post :create, order_id: order.number, adjustment: { label: "Testing", amount: "110" } - }.to_not change { [Adjustment.count, order.reload.total] } + }.not_to change { [Adjustment.count, order.reload.total] } expect(response).to redirect_to spree.admin_order_adjustments_path(order) end @@ -246,7 +246,7 @@ module Spree expect { spree_put :update, order_id: order.number, id: adjustment.id, adjustment: { label: "Testing", amount: "110" } - }.to_not change { [adjustment.reload.amount, order.reload.total] } + }.not_to change { [adjustment.reload.amount, order.reload.total] } expect(response).to redirect_to spree.admin_order_adjustments_path(order) end diff --git a/spec/controllers/spree/admin/general_settings_controller_spec.rb b/spec/controllers/spree/admin/general_settings_controller_spec.rb index 4db32d6183..3fff115d01 100644 --- a/spec/controllers/spree/admin/general_settings_controller_spec.rb +++ b/spec/controllers/spree/admin/general_settings_controller_spec.rb @@ -13,7 +13,7 @@ describe Spree::Admin::GeneralSettingsController, type: :controller do end it "updates available units" do - expect(Spree::Config.available_units).to_not include("lb") + expect(Spree::Config.available_units).not_to include("lb") settings_params = { available_units: { lb: "1" } } spree_put :update, settings_params expect(Spree::Config.available_units).to include("lb") diff --git a/spec/controllers/spree/admin/orders/invoices_spec.rb b/spec/controllers/spree/admin/orders/invoices_spec.rb index 88cfdfc39e..2a7b3b00c1 100644 --- a/spec/controllers/spree/admin/orders/invoices_spec.rb +++ b/spec/controllers/spree/admin/orders/invoices_spec.rb @@ -40,7 +40,7 @@ describe Spree::Admin::OrdersController, type: :controller do it "should allow me to send order invoices" do expect do spree_get :invoice, params - end.to_not change{ Spree::OrderMailer.deliveries.count } + end.not_to change{ Spree::OrderMailer.deliveries.count } expect(response).to redirect_to spree.edit_admin_order_path(order) expect(flash[:error]) .to eq "#{distributor.name} must have a valid ABN before invoices can be used." diff --git a/spec/controllers/spree/admin/orders/payments/payments_controller_refunds_spec.rb b/spec/controllers/spree/admin/orders/payments/payments_controller_refunds_spec.rb index 3dd36c5273..a6ed0be235 100644 --- a/spec/controllers/spree/admin/orders/payments/payments_controller_refunds_spec.rb +++ b/spec/controllers/spree/admin/orders/payments/payments_controller_refunds_spec.rb @@ -49,13 +49,13 @@ describe Spree::Admin::PaymentsController, type: :controller do it "voids the payment" do order.reload - expect(order.payment_total).to_not eq 0 + expect(order.payment_total).not_to eq 0 expect(order.outstanding_balance.to_f).to eq 0 spree_put :fire, params expect(payment.reload.state).to eq 'void' order.reload expect(order.payment_total).to eq 0 - expect(order.outstanding_balance.to_f).to_not eq 0 + expect(order.outstanding_balance.to_f).not_to eq 0 end end @@ -69,12 +69,12 @@ describe Spree::Admin::PaymentsController, type: :controller do it "does not void the payment" do order.reload - expect(order.payment_total).to_not eq 0 + expect(order.payment_total).not_to eq 0 expect(order.outstanding_balance.to_f).to eq 0 spree_put :fire, params expect(payment.reload.state).to eq 'completed' order.reload - expect(order.payment_total).to_not eq 0 + expect(order.payment_total).not_to eq 0 expect(order.outstanding_balance.to_f).to eq 0 expect(flash[:error]).to eq "Bup-bow!" end @@ -92,13 +92,13 @@ describe Spree::Admin::PaymentsController, type: :controller do it "can still void the payment" do order.reload - expect(order.payment_total).to_not eq 0 + expect(order.payment_total).not_to eq 0 expect(order.outstanding_balance.to_f).to eq 0 spree_put :fire, params expect(payment.reload.state).to eq 'void' order.reload expect(order.payment_total).to eq 0 - expect(order.outstanding_balance.to_f).to_not eq 0 + expect(order.outstanding_balance.to_f).not_to eq 0 end end end @@ -115,13 +115,13 @@ describe Spree::Admin::PaymentsController, type: :controller do it "voids the payment" do order.reload - expect(order.payment_total).to_not eq 0 + expect(order.payment_total).not_to eq 0 expect(order.outstanding_balance.to_f).to eq 0 spree_put :fire, params expect(payment.reload.state).to eq 'void' order.reload expect(order.payment_total).to eq 0 - expect(order.outstanding_balance.to_f).to_not eq 0 + expect(order.outstanding_balance.to_f).not_to eq 0 end end end diff --git a/spec/controllers/spree/admin/orders/payments/payments_controller_spec.rb b/spec/controllers/spree/admin/orders/payments/payments_controller_spec.rb index a7a06816d5..6478629e48 100644 --- a/spec/controllers/spree/admin/orders/payments/payments_controller_spec.rb +++ b/spec/controllers/spree/admin/orders/payments/payments_controller_spec.rb @@ -258,7 +258,7 @@ describe Spree::Admin::PaymentsController, type: :controller do it 'does not process the event' do spree_put :fire, params - expect(payment).to_not receive(:unrecognized_event) + expect(payment).not_to receive(:unrecognized_event) expect(flash[:error]).to eq('Could not update the payment') end end diff --git a/spec/controllers/spree/admin/orders_controller_spec.rb b/spec/controllers/spree/admin/orders_controller_spec.rb index 0e27a9dc3c..0dc568430d 100644 --- a/spec/controllers/spree/admin/orders_controller_spec.rb +++ b/spec/controllers/spree/admin/orders_controller_spec.rb @@ -24,7 +24,7 @@ describe Spree::Admin::OrdersController, type: :controller do spree_get :edit, id: order - expect(response.body).to_not match adjustment.label + expect(response.body).not_to match adjustment.label end end end @@ -204,7 +204,7 @@ describe Spree::Admin::OrdersController, type: :controller do order.reload expect(order.all_adjustments.tax.count).to eq 2 - expect(order.all_adjustments.tax).to_not include legacy_tax_adjustment + expect(order.all_adjustments.tax).not_to include legacy_tax_adjustment expect(order.additional_tax_total).to eq 0.5 end end diff --git a/spec/controllers/spree/admin/products_controller_spec.rb b/spec/controllers/spree/admin/products_controller_spec.rb index bc02ae7217..2fcb53ae2a 100644 --- a/spec/controllers/spree/admin/products_controller_spec.rb +++ b/spec/controllers/spree/admin/products_controller_spec.rb @@ -190,7 +190,7 @@ describe Spree::Admin::ProductsController, type: :controller do spree_put :update, id: product, product: { supplier_id: new_producer.id } expect(product.reload.supplier.id).to eq new_producer.id - expect(order_cycle.reload.distributed_variants).to_not include product.variants.first + expect(order_cycle.reload.distributed_variants).not_to include product.variants.first end end @@ -227,7 +227,7 @@ describe Spree::Admin::ProductsController, type: :controller do expect(Spree::Property.count).to be 1 expect(Spree::ProductProperty.count).to be 0 property_names = product.reload.properties.map(&:name) - expect(property_names).to_not include 'a different name' + expect(property_names).not_to include 'a different name' end end diff --git a/spec/controllers/spree/admin/search_controller_spec.rb b/spec/controllers/spree/admin/search_controller_spec.rb index e34e553453..53313e5521 100644 --- a/spec/controllers/spree/admin/search_controller_spec.rb +++ b/spec/controllers/spree/admin/search_controller_spec.rb @@ -18,7 +18,7 @@ describe Spree::Admin::SearchController, type: :controller do it "returns a list of users that I share management of enteprises with" do expect(assigns(:users)).to include owner, manager - expect(assigns(:users)).to_not include random + expect(assigns(:users)).not_to include random end end diff --git a/spec/controllers/spree/admin/tax_rates_controller_spec.rb b/spec/controllers/spree/admin/tax_rates_controller_spec.rb index 27d0c10464..3ce91d9ebf 100644 --- a/spec/controllers/spree/admin/tax_rates_controller_spec.rb +++ b/spec/controllers/spree/admin/tax_rates_controller_spec.rb @@ -27,7 +27,7 @@ module Spree it "updates the record" do expect { spree_put :update, id: tax_rate.id, tax_rate: params - }.to_not change{ Spree::TaxRate.with_deleted.count } + }.not_to change{ Spree::TaxRate.with_deleted.count } expect(response).to redirect_to spree.admin_tax_rates_url expect(tax_rate.reload.name).to eq "Updated Rate" diff --git a/spec/controllers/spree/api_keys_controller_spec.rb b/spec/controllers/spree/api_keys_controller_spec.rb index c39b46e821..99faf43964 100644 --- a/spec/controllers/spree/api_keys_controller_spec.rb +++ b/spec/controllers/spree/api_keys_controller_spec.rb @@ -26,7 +26,7 @@ describe Spree::ApiKeysController, type: :controller, performance: true do expect { spree_post :create, id: other_user.id other_user.reload - }.to_not change { + }.not_to change { other_user.spree_api_key } end diff --git a/spec/controllers/spree/credit_cards_controller_spec.rb b/spec/controllers/spree/credit_cards_controller_spec.rb index 28b33fffab..41e87d975c 100644 --- a/spec/controllers/spree/credit_cards_controller_spec.rb +++ b/spec/controllers/spree/credit_cards_controller_spec.rb @@ -94,7 +94,7 @@ describe Spree::CreditCardsController, type: :controller do { status: 402, body: JSON.generate(error: { message: "Bup-bow..." }) } } it "doesn't save the card locally, and renders a flash error" do - expect{ spree_post :new_from_token, params }.to_not change { Spree::CreditCard.count } + expect{ spree_post :new_from_token, params }.not_to change { Spree::CreditCard.count } json_response = JSON.parse(response.body) flash_message = "There was a problem with your payment information: %s" % 'Bup-bow...' @@ -172,7 +172,7 @@ describe Spree::CreditCardsController, type: :controller do let(:params) { { id: 123 } } it "redirects to /account with a flash error, does not request deletion with Stripe" do - expect(controller).to_not receive(:destroy_at_stripe) + expect(controller).not_to receive(:destroy_at_stripe) spree_delete :destroy, params expect(flash[:error]).to eq 'Sorry, the card could not be removed' expect(response.status).to eq 200 @@ -205,7 +205,7 @@ describe Spree::CreditCardsController, type: :controller do end it "doesn't delete the card" do - expect{ spree_delete :destroy, params }.to_not change { Spree::CreditCard.count } + expect{ spree_delete :destroy, params }.not_to change { Spree::CreditCard.count } expect(flash[:error]).to eq 'Sorry, the card could not be removed' expect(response.status).to eq 422 end diff --git a/spec/controllers/spree/orders_controller_spec.rb b/spec/controllers/spree/orders_controller_spec.rb index 5acb0f5aae..78ed96e16e 100644 --- a/spec/controllers/spree/orders_controller_spec.rb +++ b/spec/controllers/spree/orders_controller_spec.rb @@ -150,7 +150,7 @@ describe Spree::OrdersController, type: :controller do spree_registration_path = '/signup' ofn_registration_path = '/register' get :edit - expect(response.body).to_not match spree_registration_path + expect(response.body).not_to match spree_registration_path expect(response.body).to match ofn_registration_path end end diff --git a/spec/controllers/spree/users_controller_spec.rb b/spec/controllers/spree/users_controller_spec.rb index c61d64d886..ee8de1d00f 100644 --- a/spec/controllers/spree/users_controller_spec.rb +++ b/spec/controllers/spree/users_controller_spec.rb @@ -33,7 +33,7 @@ describe Spree::UsersController, type: :controller do get :show expect(orders).to include d1o1, d1o2 - expect(orders).to_not include d1_order_for_u2, d1o3, d2o1 + expect(orders).not_to include d1_order_for_u2, d1o3, d2o1 expect(shops).to include distributor1 # Doesn't return orders for irrelevant distributors" do diff --git a/spec/controllers/webhook_endpoints_controller_spec.rb b/spec/controllers/webhook_endpoints_controller_spec.rb index c36720edb8..e628710f72 100644 --- a/spec/controllers/webhook_endpoints_controller_spec.rb +++ b/spec/controllers/webhook_endpoints_controller_spec.rb @@ -24,7 +24,7 @@ describe WebhookEndpointsController, type: :controller do it "shows error if parameters not specified" do expect { spree_post :create, { url: "" } - }.to_not change { + }.not_to change { user.webhook_endpoints.count } diff --git a/spec/helpers/bulk_form_builder_spec.rb b/spec/helpers/bulk_form_builder_spec.rb index 00ab150c2c..2c1bbc23c7 100644 --- a/spec/helpers/bulk_form_builder_spec.rb +++ b/spec/helpers/bulk_form_builder_spec.rb @@ -9,7 +9,7 @@ describe BulkFormBuilder do let(:product) { create(:product) } let(:form) { BulkFormBuilder.new(:product, product, self, {}) } - it { expect(form.text_field(:name)).to_not include "changed" } + it { expect(form.text_field(:name)).not_to include "changed" } context "attribute has been changed" do before { product.assign_attributes name: "updated name" } @@ -19,7 +19,7 @@ describe BulkFormBuilder do context "and saved" do before { product.save } - it { expect(form.text_field(:name)).to_not include "changed" } + it { expect(form.text_field(:name)).not_to include "changed" } end end end diff --git a/spec/helpers/injection_helper_spec.rb b/spec/helpers/injection_helper_spec.rb index 75fbb5189c..1c355a5577 100644 --- a/spec/helpers/injection_helper_spec.rb +++ b/spec/helpers/injection_helper_spec.rb @@ -78,6 +78,6 @@ describe InjectionHelper, type: :helper do gateway_customer_profile_id: nil) injected_cards = helper.inject_saved_credit_cards expect(injected_cards).to match "1234" - expect(injected_cards).to_not match "4321" + expect(injected_cards).not_to match "4321" end end diff --git a/spec/helpers/shop_helper_spec.rb b/spec/helpers/shop_helper_spec.rb index 3050f0b131..1c0bd4df7b 100644 --- a/spec/helpers/shop_helper_spec.rb +++ b/spec/helpers/shop_helper_spec.rb @@ -24,7 +24,7 @@ describe ShopHelper, type: :helper do end it "should not return the groups tab" do - expect(helper.shop_tabs).to_not include(name: "groups", show: true, title: "Groups") + expect(helper.shop_tabs).not_to include(name: "groups", show: true, title: "Groups") end end diff --git a/spec/jobs/order_cycle_closing_job_spec.rb b/spec/jobs/order_cycle_closing_job_spec.rb index 1495fd2111..33be226c24 100644 --- a/spec/jobs/order_cycle_closing_job_spec.rb +++ b/spec/jobs/order_cycle_closing_job_spec.rb @@ -15,8 +15,8 @@ describe OrderCycleClosingJob do it "sends notifications for recently closed order cycles with automatic notifications enabled" do expect(OrderCycleNotificationJob).to receive(:perform_later).with(order_cycle1.id) - expect(OrderCycleNotificationJob).to_not receive(:perform_later).with(order_cycle2.id) - expect(OrderCycleNotificationJob).to_not receive(:perform_later).with(order_cycle3.id) + expect(OrderCycleNotificationJob).not_to receive(:perform_later).with(order_cycle2.id) + expect(OrderCycleNotificationJob).not_to receive(:perform_later).with(order_cycle3.id) OrderCycleClosingJob.perform_now end diff --git a/spec/jobs/order_cycle_opened_job_spec.rb b/spec/jobs/order_cycle_opened_job_spec.rb index 948abf5029..e7bb800e0a 100644 --- a/spec/jobs/order_cycle_opened_job_spec.rb +++ b/spec/jobs/order_cycle_opened_job_spec.rb @@ -18,10 +18,10 @@ describe OrderCycleOpenedJob do .to receive(:create_webhook_job).with(oc_opened_now, 'order_cycle.opened') expect(OrderCycleWebhookService) - .to_not receive(:create_webhook_job).with(oc_opened_before, 'order_cycle.opened') + .not_to receive(:create_webhook_job).with(oc_opened_before, 'order_cycle.opened') expect(OrderCycleWebhookService) - .to_not receive(:create_webhook_job).with(oc_opening_soon, 'order_cycle.opened') + .not_to receive(:create_webhook_job).with(oc_opening_soon, 'order_cycle.opened') OrderCycleOpenedJob.perform_now end diff --git a/spec/jobs/report_job_spec.rb b/spec/jobs/report_job_spec.rb index 14807c6578..399cbcbbb6 100644 --- a/spec/jobs/report_job_spec.rb +++ b/spec/jobs/report_job_spec.rb @@ -25,7 +25,7 @@ describe ReportJob do it "enqueues a job for async processing" do expect { ReportJob.perform_later(**report_args) - }.to_not change { ActiveStorage::Blob.count } + }.not_to change { ActiveStorage::Blob.count } expect { perform_enqueued_jobs(only: ReportJob) @@ -76,7 +76,7 @@ describe ReportJob do # rspec-rails: https://github.com/rspec/rspec-rails/issues/2668 ReportJob.perform_later(**report_args) perform_enqueued_jobs(only: ReportJob) - }.to_not enqueue_mail + }.not_to enqueue_mail end it "rescues errors" do @@ -87,7 +87,7 @@ describe ReportJob do expect { perform_enqueued_jobs(only: ReportJob) - }.to_not raise_error + }.not_to raise_error end def expect_csv_report diff --git a/spec/jobs/subscription_confirm_job_spec.rb b/spec/jobs/subscription_confirm_job_spec.rb index ff96e97a60..22f06c0a8d 100644 --- a/spec/jobs/subscription_confirm_job_spec.rb +++ b/spec/jobs/subscription_confirm_job_spec.rb @@ -44,38 +44,38 @@ describe SubscriptionConfirmJob do it "ignores proxy orders where the OC closed more than 1 hour ago" do proxy_order.update!(order_cycle_id: order_cycle2.id) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end it "ignores cancelled proxy orders" do proxy_order.update!(canceled_at: 5.minutes.ago) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end it "ignores proxy orders without a completed order" do proxy_order.order.completed_at = nil proxy_order.order.save! - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end it "ignores proxy orders without an associated order" do proxy_order.update!(order_id: nil) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end it "ignores proxy orders that haven't been placed yet" do proxy_order.update!(placed_at: nil) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end it "ignores proxy orders that have already been confirmed" do proxy_order.update!(confirmed_at: 1.second.ago) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end it "ignores orders that have been cancelled" do proxy_order.order.cancel! - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end end @@ -126,7 +126,7 @@ describe SubscriptionConfirmJob do "or updated_at date is within the last hour" do order_cycles = job.send(:recently_closed_order_cycles) expect(order_cycles).to include order_cycle3, order_cycle4 - expect(order_cycles).to_not include order_cycle1, order_cycle2, order_cycle5 + expect(order_cycles).not_to include order_cycle1, order_cycle2, order_cycle5 end end @@ -215,7 +215,7 @@ describe SubscriptionConfirmJob do it "sends a failed payment email" do expect(job).to receive(:send_failed_payment_email) - expect(job).to_not receive(:send_confirmation_email) + expect(job).not_to receive(:send_confirmation_email) job.send(:confirm_order!, order) end end @@ -231,8 +231,8 @@ describe SubscriptionConfirmJob do it "sends a failed payment email" do expect(job).to receive(:send_failed_payment_email) - expect(job).to_not receive(:send_confirmation_email) - expect(job).to_not receive(:send_payment_authorization_emails) + expect(job).not_to receive(:send_confirmation_email) + expect(job).not_to receive(:send_payment_authorization_emails) job.send(:confirm_order!, order) end end @@ -248,7 +248,7 @@ describe SubscriptionConfirmJob do it "sends only a subscription confirm email, no regular confirmation emails" do expect{ job.send(:confirm_order!, order) } - .to_not have_enqueued_mail(Spree::OrderMailer, :confirm_email_for_customer) + .not_to have_enqueued_mail(Spree::OrderMailer, :confirm_email_for_customer) expect(job).to have_received(:send_confirmation_email).once end diff --git a/spec/jobs/subscription_placement_job_spec.rb b/spec/jobs/subscription_placement_job_spec.rb index db71c53c14..c6bb6c232b 100644 --- a/spec/jobs/subscription_placement_job_spec.rb +++ b/spec/jobs/subscription_placement_job_spec.rb @@ -27,27 +27,27 @@ describe SubscriptionPlacementJob do it "ignores proxy orders where the OC has closed" do expect(job.send(:proxy_orders)).to include proxy_order proxy_order.update!(order_cycle_id: order_cycle2.id) - expect(job.send(:proxy_orders)).to_not include proxy_order + expect(job.send(:proxy_orders)).not_to include proxy_order end it "ignores proxy orders for paused or cancelled subscriptions" do expect(job.send(:proxy_orders)).to include proxy_order subscription.update!(paused_at: 1.minute.ago) - expect(job.send(:proxy_orders)).to_not include proxy_order + expect(job.send(:proxy_orders)).not_to include proxy_order subscription.update!(paused_at: nil) expect(job.send(:proxy_orders)).to include proxy_order subscription.update!(canceled_at: 1.minute.ago) - expect(job.send(:proxy_orders)).to_not include proxy_order + expect(job.send(:proxy_orders)).not_to include proxy_order end it "ignores proxy orders that have been marked as cancelled or placed" do expect(job.send(:proxy_orders)).to include proxy_order proxy_order.update!(canceled_at: 5.minutes.ago) - expect(job.send(:proxy_orders)).to_not include proxy_order + expect(job.send(:proxy_orders)).not_to include proxy_order proxy_order.update!(canceled_at: nil) expect(job.send(:proxy_orders)).to include proxy_order proxy_order.update!(placed_at: 5.minutes.ago) - expect(job.send(:proxy_orders)).to_not include proxy_order + expect(job.send(:proxy_orders)).not_to include proxy_order end end @@ -108,7 +108,7 @@ describe SubscriptionPlacementJob do let!(:exchange_fee) { ExchangeFee.create!(exchange: ex, enterprise_fee: fee) } before do - expect_any_instance_of(Spree::Payment).to_not receive(:process!) + expect_any_instance_of(Spree::Payment).not_to receive(:process!) allow_any_instance_of(PlaceProxyOrder).to receive(:send_placement_email) allow_any_instance_of(PlaceProxyOrder).to receive(:send_empty_email) end @@ -136,7 +136,7 @@ describe SubscriptionPlacementJob do expect(proxy_order.order.total).to eq 0 expect(proxy_order.order.adjustment_total).to eq 0 - expect(service).to_not have_received(:send_placement_email) + expect(service).not_to have_received(:send_placement_email) expect(service).to have_received(:send_empty_email) end end @@ -162,7 +162,7 @@ describe SubscriptionPlacementJob do it "does not enqueue confirmation emails" do expect{ service.call } - .to_not have_enqueued_mail(Spree::OrderMailer, :confirm_email_for_customer) + .not_to have_enqueued_mail(Spree::OrderMailer, :confirm_email_for_customer) expect(service).to have_received(:send_placement_email).once end @@ -171,7 +171,7 @@ describe SubscriptionPlacementJob do before { allow(service).to receive(:move_to_completion).and_raise(StandardError) } it "records an error and does not attempt to send an email" do - expect(service).to_not receive(:send_placement_email) + expect(service).not_to receive(:send_placement_email) expect(summarizer).to receive(:record_and_log_error).once service.call end diff --git a/spec/lib/open_food_network/order_cycle_form_applicator_spec.rb b/spec/lib/open_food_network/order_cycle_form_applicator_spec.rb index c937397dcb..96314aa674 100644 --- a/spec/lib/open_food_network/order_cycle_form_applicator_spec.rb +++ b/spec/lib/open_food_network/order_cycle_form_applicator_spec.rb @@ -185,7 +185,7 @@ module OpenFoodNetwork before { allow(applicator).to receive(:manages_coordinator?) { false } } it "does not destroy any exchanges" do - expect(applicator).to_not receive(:with_permission) + expect(applicator).not_to receive(:with_permission) applicator.send(:destroy_untouched_exchanges) end end @@ -238,26 +238,26 @@ module OpenFoodNetwork expect(ids).to include v1.id # Does not add variants that are not editable - expect(ids).to_not include v2.id + expect(ids).not_to include v2.id # Keeps existing variants, when they are explicitly mentioned in the request expect(ids).to include v3.id # Removes existing variants that are editable, when they are not mentioned in the request - expect(ids).to_not include v4.id + expect(ids).not_to include v4.id # Removes existing variants that are editable, when the request explicitly removes them - expect(ids).to_not include v5.id + expect(ids).not_to include v5.id # Keeps existing variants that are not editable expect(ids).to include v6.id # Removes existing variants that are not in an incoming exchange, # regardless of whether they are not editable - expect(ids).to_not include v7.id, v8.id + expect(ids).not_to include v7.id, v8.id # Does not add variants that are not in an incoming exchange - expect(ids).to_not include v9.id + expect(ids).not_to include v9.id end end @@ -300,7 +300,7 @@ module OpenFoodNetwork expect(ids).to include v1.id # Does not add variants that are not editable - expect(ids).to_not include v2.id + expect(ids).not_to include v2.id # Keeps existing variants, if they are editable and requested expect(ids).to include v3.id @@ -309,13 +309,13 @@ module OpenFoodNetwork expect(ids).to include v4.id # Removes existing variants that are editable, when the request explicitly removes them - expect(ids).to_not include v5.id + expect(ids).not_to include v5.id # Keeps existing variants that are not editable expect(ids).to include v6.id # Removes existing variants that are editable, when they are not mentioned in the request - expect(ids).to_not include v7.id + expect(ids).not_to include v7.id end end @@ -500,8 +500,8 @@ module OpenFoodNetwork exchange.reload expect(exchange.variants).to match_array [variant1, variant3] expect(exchange.enterprise_fees).to match_array [enterprise_fee1, enterprise_fee2] - expect(exchange.pickup_time).to_not eq 'New Pickup Time' - expect(exchange.pickup_instructions).to_not eq 'New Pickup Instructions' + expect(exchange.pickup_time).not_to eq 'New Pickup Time' + expect(exchange.pickup_instructions).not_to eq 'New Pickup Instructions' expect(exchange.tag_list).to eq [] expect(applicator.send(:touched_exchanges)).to eq [exchange] end diff --git a/spec/lib/open_food_network/order_cycle_permissions_spec.rb b/spec/lib/open_food_network/order_cycle_permissions_spec.rb index 6dcfbd4394..d7d3f93c40 100644 --- a/spec/lib/open_food_network/order_cycle_permissions_spec.rb +++ b/spec/lib/open_food_network/order_cycle_permissions_spec.rb @@ -48,7 +48,7 @@ module OpenFoodNetwork it "returns enterprises which have granted P-OC to the coordinator" do enterprises = permissions.visible_enterprises expect(enterprises).to include hub - expect(enterprises).to_not include producer + expect(enterprises).not_to include producer end end @@ -56,7 +56,7 @@ module OpenFoodNetwork before { allow(coordinator).to receive(:sells) { 'own' } } it "returns just the coordinator" do enterprises = permissions.visible_enterprises - expect(enterprises).to_not include hub, producer + expect(enterprises).not_to include hub, producer end end end @@ -83,7 +83,7 @@ module OpenFoodNetwork before { allow(coordinator).to receive(:sells) { 'own' } } it "returns just the coordinator" do enterprises = permissions.visible_enterprises - expect(enterprises).to_not include hub, producer + expect(enterprises).not_to include hub, producer end end end @@ -91,7 +91,7 @@ module OpenFoodNetwork context "where the other enterprises are not in the order cycle" do it "returns just the coordinator" do enterprises = permissions.visible_enterprises - expect(enterprises).to_not include hub, producer + expect(enterprises).not_to include hub, producer end end end @@ -117,7 +117,7 @@ module OpenFoodNetwork it "returns my hub" do enterprises = permissions.visible_enterprises expect(enterprises).to include hub - expect(enterprises).to_not include producer, coordinator + expect(enterprises).not_to include producer, coordinator end context "and has been granted P-OC by a producer" do @@ -143,7 +143,7 @@ module OpenFoodNetwork it "does not return the producer" do enterprises = permissions.visible_enterprises - expect(enterprises).to_not include producer + expect(enterprises).not_to include producer end end end @@ -171,7 +171,7 @@ module OpenFoodNetwork it "does not return the producer" do enterprises = permissions.visible_enterprises - expect(enterprises).to_not include producer + expect(enterprises).not_to include producer end end end @@ -182,7 +182,7 @@ module OpenFoodNetwork it "does not return my hub" do enterprises = permissions.visible_enterprises - expect(enterprises).to_not include hub, producer, coordinator + expect(enterprises).not_to include hub, producer, coordinator end end end @@ -190,7 +190,7 @@ module OpenFoodNetwork context "that has not granted P-OC to the coordinator" do it "does not return my hub" do enterprises = permissions.visible_enterprises - expect(enterprises).to_not include hub, producer, coordinator + expect(enterprises).not_to include hub, producer, coordinator end context "but is already in the order cycle" do @@ -202,7 +202,7 @@ module OpenFoodNetwork it "returns my hub" do enterprises = permissions.visible_enterprises expect(enterprises).to include hub - expect(enterprises).to_not include producer, coordinator + expect(enterprises).not_to include producer, coordinator end context "and distributes variants distributed by an unmanaged & unpermitted producer" do @@ -214,7 +214,7 @@ module OpenFoodNetwork it "returns that producer as well" do enterprises = permissions.visible_enterprises expect(enterprises).to include producer, hub - expect(enterprises).to_not include coordinator + expect(enterprises).not_to include coordinator end end end @@ -241,7 +241,7 @@ module OpenFoodNetwork it "returns my producer" do enterprises = permissions.visible_enterprises expect(enterprises).to include producer - expect(enterprises).to_not include hub, coordinator + expect(enterprises).not_to include hub, coordinator end context "and has been granted P-OC by a hub" do @@ -259,7 +259,7 @@ module OpenFoodNetwork it "returns the hub as well" do enterprises = permissions.visible_enterprises expect(enterprises).to include producer, hub - expect(enterprises).to_not include coordinator + expect(enterprises).not_to include coordinator end end @@ -268,7 +268,7 @@ module OpenFoodNetwork it "does not return the hub" do enterprises = permissions.visible_enterprises - expect(enterprises).to_not include hub + expect(enterprises).not_to include hub end end end @@ -288,7 +288,7 @@ module OpenFoodNetwork it "returns the hub as well" do enterprises = permissions.visible_enterprises expect(enterprises).to include producer, hub - expect(enterprises).to_not include coordinator + expect(enterprises).not_to include coordinator end end @@ -297,7 +297,7 @@ module OpenFoodNetwork it "does not return the hub" do enterprises = permissions.visible_enterprises - expect(enterprises).to_not include hub + expect(enterprises).not_to include hub end end end @@ -308,7 +308,7 @@ module OpenFoodNetwork it "does not return my producer" do enterprises = permissions.visible_enterprises - expect(enterprises).to_not include hub, producer, coordinator + expect(enterprises).not_to include hub, producer, coordinator end end end @@ -316,7 +316,7 @@ module OpenFoodNetwork context "which has not granted P-OC to the coordinator" do it "does not return my producer" do enterprises = permissions.visible_enterprises - expect(enterprises).to_not include producer + expect(enterprises).not_to include producer end context "but is already in the order cycle" do @@ -329,7 +329,7 @@ module OpenFoodNetwork it "returns my producer" do enterprises = permissions.visible_enterprises expect(enterprises).to include producer - expect(enterprises).to_not include hub, coordinator + expect(enterprises).not_to include hub, coordinator end context "and has variants distributed by an outgoing hub" do @@ -346,7 +346,7 @@ module OpenFoodNetwork it "returns that hub as well" do enterprises = permissions.visible_enterprises expect(enterprises).to include producer, hub - expect(enterprises).to_not include coordinator + expect(enterprises).not_to include coordinator end end end @@ -527,7 +527,7 @@ module OpenFoodNetwork it "returns all variants belonging to the sending producer" do visible = permissions.visible_variants_for_incoming_exchanges_from(producer1) expect(visible).to include v1 - expect(visible).to_not include v2 + expect(visible).not_to include v2 end end @@ -541,7 +541,7 @@ module OpenFoodNetwork it "returns all variants belonging to the sending producer" do visible = permissions.visible_variants_for_incoming_exchanges_from(producer1) expect(visible).to include v1 - expect(visible).to_not include v2 + expect(visible).not_to include v2 end end @@ -561,7 +561,7 @@ module OpenFoodNetwork it "returns variants produced by that producer only" do visible = permissions.visible_variants_for_incoming_exchanges_from(producer1) expect(visible).to include v1 - expect(visible).to_not include v2 + expect(visible).not_to include v2 end end @@ -570,7 +570,7 @@ module OpenFoodNetwork it "does not return variants produced by that producer" do visible = permissions.visible_variants_for_incoming_exchanges_from(producer1) - expect(visible).to_not include v1, v2 + expect(visible).not_to include v1, v2 end end end @@ -589,7 +589,7 @@ module OpenFoodNetwork it "returns all variants of any producer which has granted the outgoing hub P-OC" do visible = permissions.visible_variants_for_outgoing_exchanges_to(hub) expect(visible).to include v1 - expect(visible).to_not include v2 + expect(visible).not_to include v2 end context "where the coordinator produces products" do @@ -598,14 +598,14 @@ module OpenFoodNetwork it "returns any variants produced by the coordinator itself for exchanges w/ 'self'" do visible = permissions.visible_variants_for_outgoing_exchanges_to(coordinator) expect(visible).to include v3 - expect(visible).to_not include v1, v2 + expect(visible).not_to include v1, v2 end it "does not return coordinator's variants for exchanges with other hubs, " \ "when permission has not been granted" do visible = permissions.visible_variants_for_outgoing_exchanges_to(hub) expect(visible).to include v1 - expect(visible).to_not include v2, v3 + expect(visible).not_to include v2, v3 end end @@ -637,7 +637,7 @@ module OpenFoodNetwork it "returns all variants of any producer which has granted the outgoing hub P-OC" do visible = permissions.visible_variants_for_outgoing_exchanges_to(hub) expect(visible).to include v1 - expect(visible).to_not include v2 + expect(visible).not_to include v2 end context "where the hub produces products" do @@ -686,7 +686,7 @@ module OpenFoodNetwork it "returns all of my produced variants" do visible = permissions.visible_variants_for_outgoing_exchanges_to(hub) expect(visible).to include v1 - expect(visible).to_not include v2 + expect(visible).not_to include v2 end end @@ -695,7 +695,7 @@ module OpenFoodNetwork it "does not return my variants" do visible = permissions.visible_variants_for_outgoing_exchanges_to(hub) - expect(visible).to_not include v1, v2 + expect(visible).not_to include v1, v2 end end end @@ -726,7 +726,7 @@ module OpenFoodNetwork it "returns those variants that are in the exchange" do visible = permissions.visible_variants_for_outgoing_exchanges_to(hub) - expect(visible).to_not include v1, v3 + expect(visible).not_to include v1, v3 expect(visible).to include v2 end end @@ -752,7 +752,7 @@ module OpenFoodNetwork it "returns all variants belonging to the sending producer" do visible = permissions.editable_variants_for_incoming_exchanges_from(producer1) expect(visible).to include v1 - expect(visible).to_not include v2 + expect(visible).not_to include v2 end end @@ -766,7 +766,7 @@ module OpenFoodNetwork it "returns all variants belonging to the sending producer" do visible = permissions.editable_variants_for_incoming_exchanges_from(producer1) expect(visible).to include v1 - expect(visible).to_not include v2 + expect(visible).not_to include v2 end end @@ -779,7 +779,7 @@ module OpenFoodNetwork it "does not return variants produced by that producer" do visible = permissions.editable_variants_for_incoming_exchanges_from(producer1) - expect(visible).to_not include v1, v2 + expect(visible).not_to include v1, v2 end end end @@ -797,7 +797,7 @@ module OpenFoodNetwork it "returns all variants of any producer which has granted the outgoing hub P-OC" do visible = permissions.editable_variants_for_outgoing_exchanges_to(hub) expect(visible).to include v1 - expect(visible).to_not include v2 + expect(visible).not_to include v2 end context "where the coordinator produces products" do @@ -806,14 +806,14 @@ module OpenFoodNetwork it "returns any variants produced by the coordinator itself for exchanges w/ 'self'" do visible = permissions.editable_variants_for_outgoing_exchanges_to(coordinator) expect(visible).to include v3 - expect(visible).to_not include v1, v2 + expect(visible).not_to include v1, v2 end it "does not return coordinator's variants for exchanges with other hubs, " \ "when permission has not been granted" do visible = permissions.editable_variants_for_outgoing_exchanges_to(hub) expect(visible).to include v1 - expect(visible).to_not include v2, v3 + expect(visible).not_to include v2, v3 end end @@ -844,7 +844,7 @@ module OpenFoodNetwork it "returns all variants of any producer which has granted the outgoing hub P-OC" do visible = permissions.editable_variants_for_outgoing_exchanges_to(hub) expect(visible).to include v1 - expect(visible).to_not include v2 + expect(visible).not_to include v2 end context "where the hub produces products" do @@ -899,7 +899,7 @@ module OpenFoodNetwork it "returns all of my produced variants" do visible = permissions.editable_variants_for_outgoing_exchanges_to(hub) expect(visible).to include v1 - expect(visible).to_not include v2 + expect(visible).not_to include v2 end end @@ -908,7 +908,7 @@ module OpenFoodNetwork it "does not return my variants" do visible = permissions.editable_variants_for_outgoing_exchanges_to(hub) - expect(visible).to_not include v1, v2 + expect(visible).not_to include v1, v2 end end end @@ -918,7 +918,7 @@ module OpenFoodNetwork it "does not return my variants" do visible = permissions.editable_variants_for_outgoing_exchanges_to(hub) - expect(visible).to_not include v1, v2 + expect(visible).not_to include v1, v2 end end end @@ -949,7 +949,7 @@ module OpenFoodNetwork it "does not return my variants" do visible = permissions.editable_variants_for_outgoing_exchanges_to(hub) - expect(visible).to_not include v1, v2, v3 + expect(visible).not_to include v1, v2, v3 end end end diff --git a/spec/lib/open_food_network/permissions_spec.rb b/spec/lib/open_food_network/permissions_spec.rb index 62e9e2aa7a..0f216a90d1 100644 --- a/spec/lib/open_food_network/permissions_spec.rb +++ b/spec/lib/open_food_network/permissions_spec.rb @@ -178,7 +178,7 @@ module OpenFoodNetwork Enterprise.where(id: [hub, producer2]) } - expect(permissions.variant_override_enterprises_per_hub[hub.id]).to_not include producer2.id + expect(permissions.variant_override_enterprises_per_hub[hub.id]).not_to include producer2.id end it "returns itself if self is also a primary producer " \ diff --git a/spec/lib/open_food_network/scope_variants_to_search_spec.rb b/spec/lib/open_food_network/scope_variants_to_search_spec.rb index 1c528a8e45..5c153f4162 100644 --- a/spec/lib/open_food_network/scope_variants_to_search_spec.rb +++ b/spec/lib/open_food_network/scope_variants_to_search_spec.rb @@ -31,7 +31,7 @@ describe OpenFoodNetwork::ScopeVariantsForSearch do it "returns all products whose names or SKUs match the query" do expect(result).to include v1, v2 - expect(result).to_not include v3, v4 + expect(result).not_to include v3, v4 end context "matching both product SKUs and variant SKUs" do @@ -39,7 +39,7 @@ describe OpenFoodNetwork::ScopeVariantsForSearch do it "returns all variants whose SKU or product's SKU match the query" do expect(result).to include v1, v2, v5 - expect(result).to_not include v3, v4 + expect(result).not_to include v3, v4 end end end @@ -49,7 +49,7 @@ describe OpenFoodNetwork::ScopeVariantsForSearch do it "returns all products distributed through that schedule" do expect(result).to include v1, v3 - expect(result).to_not include v2, v4 + expect(result).not_to include v2, v4 end end @@ -58,7 +58,7 @@ describe OpenFoodNetwork::ScopeVariantsForSearch do it "returns all products distributed through that order cycle" do expect(result).to include v2 - expect(result).to_not include v1, v3, v4 + expect(result).not_to include v1, v3, v4 end end @@ -67,7 +67,7 @@ describe OpenFoodNetwork::ScopeVariantsForSearch do it "returns all products distributed through that distributor" do expect(result).to include v4 - expect(result).to_not include v1, v2, v3 + expect(result).not_to include v1, v2, v3 end context "filtering by stock availability" do @@ -127,7 +127,7 @@ describe OpenFoodNetwork::ScopeVariantsForSearch do distributor1_variant_with_override_on_hand_but_not_on_demand, distributor1_variant_with_override_without_stock_level_set_but_producer_in_stock ) - expect(result).to_not include( + expect(result).not_to include( distributor1_variant_not_backorderable_and_not_on_hand, distributor1_variant_with_override_not_on_demand_and_not_on_hand, distributor1_variant_with_override_not_in_stock_but_producer_in_stock, @@ -152,7 +152,7 @@ describe OpenFoodNetwork::ScopeVariantsForSearch do distributor1_variant_with_override_not_on_demand_and_not_on_hand, distributor1_variant_with_override_not_in_stock_but_producer_in_stock ) - expect(result).to_not include( + expect(result).not_to include( distributor2_variant_with_override_in_stock ) end diff --git a/spec/lib/reports/packing/packing_report_spec.rb b/spec/lib/reports/packing/packing_report_spec.rb index c1b12e0bfe..ead8344bcc 100644 --- a/spec/lib/reports/packing/packing_report_spec.rb +++ b/spec/lib/reports/packing/packing_report_spec.rb @@ -42,7 +42,7 @@ describe "Packing Reports" do end it "does not fetch line items for cancelled orders" do - expect(report_contents).to_not include line_item2.product.name + expect(report_contents).not_to include line_item2.product.name end end @@ -103,7 +103,7 @@ describe "Packing Reports" do context "where an order contains items from multiple suppliers" do it "only shows line items the current user supplies" do expect(report_contents).to include line_item2.product.name - expect(report_contents).to_not include line_item3.product.name + expect(report_contents).not_to include line_item3.product.name end end end @@ -126,7 +126,7 @@ describe "Packing Reports" do it "only shows line items distributed by enterprises managed by the current user" do expect(report_contents).to include line_item.product.name - expect(report_contents).to_not include line_item3.product.name + expect(report_contents).not_to include line_item3.product.name end context "filtering results" do @@ -148,7 +148,7 @@ describe "Packing Reports" do it "only shows results from the selected order cycle" do expect(report_contents).to include line_item.product.name - expect(report_contents).to_not include line_item4.product.name + expect(report_contents).not_to include line_item4.product.name end end @@ -157,7 +157,7 @@ describe "Packing Reports" do it "only shows results from the selected supplier" do expect(report_contents).to include line_item.product.name - expect(report_contents).to_not include line_item4.product.name + expect(report_contents).not_to include line_item4.product.name end end end diff --git a/spec/lib/reports/users_and_enterprises_report_spec.rb b/spec/lib/reports/users_and_enterprises_report_spec.rb index 12c4f1bd05..ce0ab369d9 100644 --- a/spec/lib/reports/users_and_enterprises_report_spec.rb +++ b/spec/lib/reports/users_and_enterprises_report_spec.rb @@ -84,7 +84,7 @@ module Reporting it "excludes enterprises that are not explicitly requested" do results = subject.owners_and_enterprises.to_a.map{ |oae| oae["name"] } expect(results).to include enterprise1.name - expect(results).to_not include enterprise2.name + expect(results).not_to include enterprise2.name end end @@ -95,7 +95,7 @@ module Reporting it "excludes enterprises that are not explicitly requested" do results = subject.owners_and_enterprises.to_a.map{ |oae| oae["name"] } expect(results).to include enterprise1.name - expect(results).to_not include enterprise2.name + expect(results).not_to include enterprise2.name end end end @@ -108,7 +108,7 @@ module Reporting it "excludes enterprises that are not explicitly requested" do results = subject.managers_and_enterprises.to_a.map{ |mae| mae["name"] } expect(results).to include enterprise1.name - expect(results).to_not include enterprise2.name + expect(results).not_to include enterprise2.name end end @@ -126,7 +126,7 @@ module Reporting it "excludes enterprises whose managers are not explicitly requested" do results = subject.managers_and_enterprises.to_a.map{ |mae| mae["name"] } expect(results).to include enterprise1.name - expect(results).to_not include enterprise2.name + expect(results).not_to include enterprise2.name end end end diff --git a/spec/lib/stripe/account_connector_spec.rb b/spec/lib/stripe/account_connector_spec.rb index d816292757..b38bf88207 100644 --- a/spec/lib/stripe/account_connector_spec.rb +++ b/spec/lib/stripe/account_connector_spec.rb @@ -27,7 +27,7 @@ module Stripe it "returns false and does not create a new StripeAccount" do expect do expect(connector.create_account).to be false - end.to_not change { StripeAccount.count } + end.not_to change { StripeAccount.count } end end @@ -36,7 +36,7 @@ module Stripe it "raises a StripeError" do expect do expect{ connector.create_account }.to raise_error StripeError - end.to_not change { StripeAccount.count } + end.not_to change { StripeAccount.count } end end @@ -47,7 +47,7 @@ module Stripe it "raises an AccessDenied error" do expect do expect{ connector.create_account }.to raise_error CanCan::AccessDenied - end.to_not change { StripeAccount.count } + end.not_to change { StripeAccount.count } end end @@ -68,7 +68,7 @@ module Stripe expect(OAuth).to receive(:deauthorize).with(stripe_user_id: "some_user_id") expect do expect{ connector.create_account }.to raise_error CanCan::AccessDenied - end.to_not change { StripeAccount.count } + end.not_to change { StripeAccount.count } end end @@ -78,7 +78,7 @@ module Stripe end it "raises no errors" do - expect(OAuth).to_not receive(:deauthorize) + expect(OAuth).not_to receive(:deauthorize) connector.create_account end @@ -94,7 +94,7 @@ module Stripe let(:user) { enterprise.owner } it "raises no errors" do - expect(OAuth).to_not receive(:deauthorize) + expect(OAuth).not_to receive(:deauthorize) connector.create_account end diff --git a/spec/lib/stripe/payment_intent_validator_spec.rb b/spec/lib/stripe/payment_intent_validator_spec.rb index 797b62f9c2..d4d37afa2b 100644 --- a/spec/lib/stripe/payment_intent_validator_spec.rb +++ b/spec/lib/stripe/payment_intent_validator_spec.rb @@ -52,7 +52,7 @@ describe Stripe::PaymentIntentValidator do expect { result = validator.call expect(result).to eq payment_intent_response_body - }.to_not raise_error Stripe::StripeError + }.not_to raise_error Stripe::StripeError end it "captures the payment" do diff --git a/spec/lib/stripe/webhook_handler_spec.rb b/spec/lib/stripe/webhook_handler_spec.rb index d893979507..df835ecf97 100644 --- a/spec/lib/stripe/webhook_handler_spec.rb +++ b/spec/lib/stripe/webhook_handler_spec.rb @@ -48,7 +48,7 @@ module Stripe end it "does not call the handler method, and returns :unknown" do - expect(handler).to_not receive(:some_method) + expect(handler).not_to receive(:some_method) expect(handler.handle).to be :unknown end end @@ -57,7 +57,7 @@ module Stripe describe "deauthorize" do context "when the event has no 'account' attribute" do it "does destroy stripe accounts, returns :ignored" do - expect(handler).to_not receive(:destroy_stripe_accounts_linked_to) + expect(handler).not_to receive(:destroy_stripe_accounts_linked_to) expect(handler.send(:deauthorize)).to be :ignored end end diff --git a/spec/lib/tasks/data/remove_transient_data_spec.rb b/spec/lib/tasks/data/remove_transient_data_spec.rb index a5e6245ebc..af47e06475 100644 --- a/spec/lib/tasks/data/remove_transient_data_spec.rb +++ b/spec/lib/tasks/data/remove_transient_data_spec.rb @@ -55,9 +55,9 @@ describe RemoveTransientData do it 'deletes cart orders and related objects older than retention_period' do RemoveTransientData.new.call - expect{ cart.reload }.to_not raise_error - expect{ line_item.reload }.to_not raise_error - expect{ adjustment.reload }.to_not raise_error + expect{ cart.reload }.not_to raise_error + expect{ line_item.reload }.not_to raise_error + expect{ adjustment.reload }.not_to raise_error expect{ old_cart.reload }.to raise_error ActiveRecord::RecordNotFound expect{ old_line_item.reload }.to raise_error ActiveRecord::RecordNotFound diff --git a/spec/mailers/order_mailer_spec.rb b/spec/mailers/order_mailer_spec.rb index 257b3fc904..0f2c2073e0 100644 --- a/spec/mailers/order_mailer_spec.rb +++ b/spec/mailers/order_mailer_spec.rb @@ -35,14 +35,14 @@ describe Spree::OrderMailer do end it "doesn't aggressively escape double quotes body" do - expect(email.body).to_not include(""") + expect(email.body).not_to include(""") end it "accepts an order id as an alternative to an Order object" do expect(Spree::Order).to receive(:find).with(order.id).and_return(order) expect { described_class.confirm_email_for_customer(order.id).deliver_now - }.to_not raise_error + }.not_to raise_error end it "display the OFN header by default" do @@ -55,7 +55,7 @@ describe Spree::OrderMailer do end it 'does not display the OFN navigation' do - expect(email.body).to_not include(ContentConfig.url_for(:footer_logo)) + expect(email.body).not_to include(ContentConfig.url_for(:footer_logo)) end end end @@ -91,7 +91,7 @@ describe Spree::OrderMailer do expect(Spree::Order).to receive(:find).with(order.id).and_return(order) expect { Spree::OrderMailer.cancel_email(order.id).deliver_now - }.to_not raise_error + }.not_to raise_error end end @@ -115,11 +115,11 @@ describe Spree::OrderMailer do let!(:cancel_email) { Spree::OrderMailer.cancel_email(order) } specify do - expect(confirmation_email.body).to_not include("Ineligible Adjustment") + expect(confirmation_email.body).not_to include("Ineligible Adjustment") end specify do - expect(cancel_email.body).to_not include("Ineligible Adjustment") + expect(cancel_email.body).not_to include("Ineligible Adjustment") end end @@ -241,7 +241,7 @@ describe Spree::OrderMailer do expect(renderer).to receive(:render_to_string).with(order, nil).and_return("invoice") expect { email.deliver_now - }.to_not raise_error + }.not_to raise_error expect(deliveries.count).to eq(1) expect(deliveries.first.attachments.count).to eq(1) expect(deliveries.first.attachments.first.filename).to eq(attachment_filename) diff --git a/spec/mailers/producer_mailer_spec.rb b/spec/mailers/producer_mailer_spec.rb index 5f0fa747ed..b6460e4f6a 100644 --- a/spec/mailers/producer_mailer_spec.rb +++ b/spec/mailers/producer_mailer_spec.rb @@ -147,7 +147,7 @@ describe ProducerMailer, type: :mailer do end it "adds customer names table" do - expect(body_as_html(mail).find(".order-summary.customer-order")).to_not be_nil + expect(body_as_html(mail).find(".order-summary.customer-order")).not_to be_nil end it "displays last name for each order" do diff --git a/spec/mailers/shipment_mailer_spec.rb b/spec/mailers/shipment_mailer_spec.rb index 8710f392e0..f0ea130c64 100644 --- a/spec/mailers/shipment_mailer_spec.rb +++ b/spec/mailers/shipment_mailer_spec.rb @@ -25,14 +25,14 @@ describe Spree::ShipmentMailer do # Regression test for #2196 it "doesn't include out of stock in the email body" do shipment_email = Spree::ShipmentMailer.shipped_email(shipment, delivery: true) - expect(shipment_email.body).to_not include(%{Out of Stock}) + expect(shipment_email.body).not_to include(%{Out of Stock}) end it "shipment_email accepts an shipment id as an alternative to an Shipment object" do expect(Spree::Shipment).to receive(:find).with(shipment.id).and_return(shipment) expect { Spree::ShipmentMailer.shipped_email(shipment.id, delivery: true).deliver_now - }.to_not raise_error + }.not_to raise_error end it "includes the distributor's name in the subject" do diff --git a/spec/mailers/subscription_mailer_spec.rb b/spec/mailers/subscription_mailer_spec.rb index f7d44d31f5..12cad33ece 100644 --- a/spec/mailers/subscription_mailer_spec.rb +++ b/spec/mailers/subscription_mailer_spec.rb @@ -35,7 +35,7 @@ describe SubscriptionMailer, type: :mailer do body = SubscriptionMailer.deliveries.last.body.encoded expect(body).to include "This order was automatically created for you." - expect(body).to_not include "Unfortunately, not all products " \ + expect(body).not_to include "Unfortunately, not all products " \ "that you requested were available." end end @@ -55,7 +55,7 @@ describe SubscriptionMailer, type: :mailer do it "provides link to make changes" do expect(body).to match %r{make changes} - expect(body).to_not match %r{ + expect(body).not_to match %r{ view details of this order } end @@ -64,7 +64,7 @@ describe SubscriptionMailer, type: :mailer do let(:shop) { create(:enterprise, allow_order_changes: false) } it "provides link to view details" do - expect(body).to_not match %r{make changes} + expect(body).not_to match %r{make changes} expect(body) .to match %r{view details of this order} end @@ -75,14 +75,14 @@ describe SubscriptionMailer, type: :mailer do let(:customer) { create(:customer, enterprise: shop, user: nil) } it "does not provide link" do - expect(body).to_not match /#{order_link_href}/ + expect(body).not_to match /#{order_link_href}/ end context "when the distributor does not allow changes to the order" do let(:shop) { create(:enterprise, allow_order_changes: false) } it "does not provide link" do - expect(body).to_not match /#{order_link_href}/ + expect(body).not_to match /#{order_link_href}/ end end end @@ -140,7 +140,7 @@ describe SubscriptionMailer, type: :mailer do let(:customer) { create(:customer, user: nil) } it "does not provide link" do - expect(email.body).to_not match /#{order_link_href}/ + expect(email.body).not_to match /#{order_link_href}/ end end end @@ -167,7 +167,7 @@ describe SubscriptionMailer, type: :mailer do end it 'does not display the OFN navigation' do - expect(email.body).to_not include(ContentConfig.url_for(:footer_logo)) + expect(email.body).not_to include(ContentConfig.url_for(:footer_logo)) end end end @@ -236,7 +236,7 @@ describe SubscriptionMailer, type: :mailer do let(:customer) { create(:customer, user: nil) } it "does not provide link" do - expect(body).to_not match /#{order_link_href}/ + expect(body).not_to match /#{order_link_href}/ end end end @@ -269,7 +269,7 @@ describe SubscriptionMailer, type: :mailer do expect(body).to include("A total of %d subscriptions were marked " \ "for automatic processing." % 37) expect(body).to include 'All were processed successfully.' - expect(body).to_not include 'Details of the issues encountered are provided below.' + expect(body).not_to include 'Details of the issues encountered are provided below.' end it "renders the shop's logo" do @@ -370,7 +370,7 @@ describe SubscriptionMailer, type: :mailer do expect(body).to include order2.number # No error messages reported when non provided - expect(body).to_not include 'No error message provided' + expect(body).not_to include 'No error message provided' end end end @@ -401,7 +401,7 @@ describe SubscriptionMailer, type: :mailer do expect(body).to include("A total of %d subscriptions were marked " \ "for automatic processing." % 37) expect(body).to include 'All were processed successfully.' - expect(body).to_not include 'Details of the issues encountered are provided below.' + expect(body).not_to include 'Details of the issues encountered are provided below.' end end @@ -497,7 +497,7 @@ describe SubscriptionMailer, type: :mailer do expect(body).to include order2.number # No error messages reported when non provided - expect(body).to_not include 'No error message provided' + expect(body).not_to include 'No error message provided' end end end diff --git a/spec/mailers/test_mailer_spec.rb b/spec/mailers/test_mailer_spec.rb index 5771db2f54..181b93164e 100644 --- a/spec/mailers/test_mailer_spec.rb +++ b/spec/mailers/test_mailer_spec.rb @@ -16,6 +16,6 @@ describe Spree::TestMailer do expect(Spree::User).to receive(:find).with(user.id).and_return(user) expect { Spree::TestMailer.test_email(user.id).deliver_now - }.to_not raise_error + }.not_to raise_error end end diff --git a/spec/migrations/convert_stripe_connect_to_stripe_sca_spec.rb b/spec/migrations/convert_stripe_connect_to_stripe_sca_spec.rb index a6cd7c244e..45248ce68c 100644 --- a/spec/migrations/convert_stripe_connect_to_stripe_sca_spec.rb +++ b/spec/migrations/convert_stripe_connect_to_stripe_sca_spec.rb @@ -89,7 +89,7 @@ describe ConvertStripeConnectToStripeSca do distributor_ids: [owner.id] ) - expect { subject.up }.to_not change { stripe.reload.attributes } + expect { subject.up }.not_to change { stripe.reload.attributes } end it "doesn't mess with other payment methods" do @@ -99,6 +99,6 @@ describe ConvertStripeConnectToStripeSca do distributor_ids: [owner.id] ) - expect { subject.up }.to_not change { cash.reload.attributes } + expect { subject.up }.not_to change { cash.reload.attributes } end end diff --git a/spec/migrations/migrate_admin_tax_amounts_spec.rb b/spec/migrations/migrate_admin_tax_amounts_spec.rb index 189bf8fca3..b60c8ae762 100644 --- a/spec/migrations/migrate_admin_tax_amounts_spec.rb +++ b/spec/migrations/migrate_admin_tax_amounts_spec.rb @@ -18,7 +18,7 @@ describe MigrateAdminTaxAmounts do let!(:adjustment_without_tax) { create(:adjustment, included_tax: 0) } it "doesn't move the tax to an adjustment" do - expect { subject.migrate_admin_taxes! }.to_not change { + expect { subject.migrate_admin_taxes! }.not_to change { Spree::Adjustment.count } end @@ -85,7 +85,7 @@ describe MigrateAdminTaxAmounts do let(:order) { nil } it "returns an empty array" do - expect(Spree::TaxRate).to_not receive(:match) + expect(Spree::TaxRate).not_to receive(:match) expect(subject.applicable_rates(adjustment)).to eq [] end @@ -95,7 +95,7 @@ describe MigrateAdminTaxAmounts do let(:distributor) { nil } it "returns an empty array" do - expect(Spree::TaxRate).to_not receive(:match) + expect(Spree::TaxRate).not_to receive(:match) expect(subject.applicable_rates(adjustment)).to eq [] end diff --git a/spec/models/concerns/order_shipment_spec.rb b/spec/models/concerns/order_shipment_spec.rb index 9bf8f8678f..26dbb3937c 100644 --- a/spec/models/concerns/order_shipment_spec.rb +++ b/spec/models/concerns/order_shipment_spec.rb @@ -43,7 +43,7 @@ describe OrderShipment do it "returns nil for empty shipping_method_id" do empty_shipping_method_id = ' ' - expect(shipment.shipping_rates).to_not receive(:find_by) + expect(shipment.shipping_rates).not_to receive(:find_by) .with(shipping_method_id: empty_shipping_method_id) expect(order.select_shipping_method(empty_shipping_method_id)).to be_nil diff --git a/spec/models/customer_spec.rb b/spec/models/customer_spec.rb index a9441b8393..fc5847239c 100644 --- a/spec/models/customer_spec.rb +++ b/spec/models/customer_spec.rb @@ -63,7 +63,7 @@ describe Customer, type: :model do c1 = Customer.create(enterprise:, email: non_existing_email, user: user1) expect(c1.user).to eq user1 expect(c1.email).to eq non_existing_email - expect(c1.email).to_not eq user1.email + expect(c1.email).not_to eq user1.email c2 = Customer.create(enterprise:, email: user2.email) expect(c2.user).to eq user2 diff --git a/spec/models/enterprise_fee_spec.rb b/spec/models/enterprise_fee_spec.rb index cecd9521e5..9a81c0d132 100644 --- a/spec/models/enterprise_fee_spec.rb +++ b/spec/models/enterprise_fee_spec.rb @@ -196,7 +196,7 @@ describe EnterpriseFee do end it "soft-deletes the enterprise fee" do - expect(enterprise_fee.deleted_at).to_not be_nil + expect(enterprise_fee.deleted_at).not_to be_nil end it "can be accessed by old adjustments" do diff --git a/spec/models/enterprise_relationship_spec.rb b/spec/models/enterprise_relationship_spec.rb index bbad680132..d0abff9ebe 100644 --- a/spec/models/enterprise_relationship_spec.rb +++ b/spec/models/enterprise_relationship_spec.rb @@ -196,9 +196,9 @@ describe EnterpriseRelationship do before { er.destroy } it "should set permission_revoked_at to the current time " \ "for all variant overrides of the relationship" do - expect(vo1.reload.permission_revoked_at).to_not be_nil - expect(vo2.reload.permission_revoked_at).to_not be_nil - expect(vo2.reload.permission_revoked_at).to_not be_nil + expect(vo1.reload.permission_revoked_at).not_to be_nil + expect(vo2.reload.permission_revoked_at).not_to be_nil + expect(vo2.reload.permission_revoked_at).not_to be_nil end end end @@ -207,8 +207,8 @@ describe EnterpriseRelationship do before { er.permissions_list = [:add_to_order_cycles]; er.save! } it "should set permission_revoked_at to the current time " \ "for all relevant variant overrides" do - expect(vo1.reload.permission_revoked_at).to_not be_nil - expect(vo2.reload.permission_revoked_at).to_not be_nil + expect(vo1.reload.permission_revoked_at).not_to be_nil + expect(vo2.reload.permission_revoked_at).not_to be_nil end it "should not affect other variant overrides" do @@ -277,7 +277,7 @@ describe EnterpriseRelationship do end it "should not affect other variant overrides" do - expect(vo3.reload.permission_revoked_at).to_not be_nil + expect(vo3.reload.permission_revoked_at).not_to be_nil end end @@ -285,9 +285,9 @@ describe EnterpriseRelationship do before { er.permissions_list = [:add_to_order_cycles, :manage_products]; er.save! } it "should have no effect on existing variant_overrides" do - expect(vo1.reload.permission_revoked_at).to_not be_nil - expect(vo2.reload.permission_revoked_at).to_not be_nil - expect(vo3.reload.permission_revoked_at).to_not be_nil + expect(vo1.reload.permission_revoked_at).not_to be_nil + expect(vo2.reload.permission_revoked_at).not_to be_nil + expect(vo3.reload.permission_revoked_at).not_to be_nil end end end diff --git a/spec/models/enterprise_spec.rb b/spec/models/enterprise_spec.rb index f38a4e8240..8c79d69987 100644 --- a/spec/models/enterprise_spec.rb +++ b/spec/models/enterprise_spec.rb @@ -96,7 +96,7 @@ describe Enterprise do it "adds new owner to list of managers" do expect(e.owner).to eq u1 expect(e.users).to include u1 - expect(e.users).to_not include u2 + expect(e.users).not_to include u2 e.owner = u2 e.save! e.reload @@ -132,14 +132,14 @@ describe Enterprise do it "prevents duplicate names for new records" do e = Enterprise.new name: enterprise.name - expect(e).to_not be_valid + expect(e).not_to be_valid expect(e.errors[:name].first).to include enterprise_name_error(owner.email) end it "prevents duplicate names for existing records" do e = create(:enterprise, name: 'foo') e.name = enterprise.name - expect(e).to_not be_valid + expect(e).not_to be_valid expect(e.errors[:name].first).to include enterprise_name_error(owner.email) end @@ -155,27 +155,27 @@ describe Enterprise do describe "prevent a wrong instagram link pattern" do it "invalidates the instagram attribute https://facebook.com/user" do e = build(:enterprise, instagram: 'https://facebook.com/user') - expect(e).to_not be_valid + expect(e).not_to be_valid end it "invalidates the instagram attribute tagram.com/user" do e = build(:enterprise, instagram: 'tagram.com/user') - expect(e).to_not be_valid + expect(e).not_to be_valid end it "invalidates the instagram attribute https://instagram.com/user/preferences" do e = build(:enterprise, instagram: 'https://instagram.com/user/preferences') - expect(e).to_not be_valid + expect(e).not_to be_valid end it "invalidates the instagram attribute https://www.instagram.com/p/Cpg4McNPyJA/" do e = build(:enterprise, instagram: 'https://www.instagram.com/p/Cpg4McNPyJA/') - expect(e).to_not be_valid + expect(e).not_to be_valid end it "invalidates the instagram attribute https://instagram.com/user-user" do e = build(:enterprise, instagram: 'https://instagram.com/user-user') - expect(e).to_not be_valid + expect(e).not_to be_valid end end @@ -368,7 +368,7 @@ describe Enterprise do it "finds enterprises that have a sells property other than 'unspecified'" do activated_enterprises = Enterprise.activated expect(activated_enterprises).to include active_enterprise - expect(activated_enterprises).to_not include inactive_enterprise + expect(activated_enterprises).not_to include inactive_enterprise end end diff --git a/spec/models/order_cycle_spec.rb b/spec/models/order_cycle_spec.rb index 9ee874dce5..912ff2ec15 100644 --- a/spec/models/order_cycle_spec.rb +++ b/spec/models/order_cycle_spec.rb @@ -15,7 +15,7 @@ describe OrderCycle do it 'should not be valid when open date is after close date' do oc = build(:simple_order_cycle, orders_open_at: Time.zone.now, orders_close_at: 1.minute.ago) - expect(oc).to_not be_valid + expect(oc).not_to be_valid end it "has a coordinator and associated fees" do @@ -246,7 +246,7 @@ describe OrderCycle do it "does not consider soft-deleted variants to be currently distributed in the oc" do p2_v.delete - expect(oc.variants_distributed_by(d1)).to_not include p2_v + expect(oc.variants_distributed_by(d1)).not_to include p2_v end end end @@ -564,12 +564,12 @@ describe OrderCycle do it "it does not reset opened_at if open date is changed to be earlier" do expect{ oc.update!(orders_open_at: 3.days.ago) } - .to_not change { oc.opened_at } + .not_to change { oc.opened_at } end it "it does not reset opened_at if open date does not change" do expect{ oc.update!(orders_close_at: 1.day.from_now) } - .to_not change { oc.opened_at } + .not_to change { oc.opened_at } end end @@ -580,21 +580,21 @@ describe OrderCycle do } it "reset processed_at if close date change in future" do - expect(oc.processed_at).to_not be_nil + expect(oc.processed_at).not_to be_nil oc.update!(orders_close_at: 1.week.from_now) expect(oc.processed_at).to be_nil end it "it does not reset processed_at if close date is changed to be earlier" do - expect(oc.processed_at).to_not be_nil + expect(oc.processed_at).not_to be_nil oc.update!(orders_close_at: 2.days.ago) - expect(oc.processed_at).to_not be_nil + expect(oc.processed_at).not_to be_nil end it "it does not reset processed_at if close date does not change" do - expect(oc.processed_at).to_not be_nil + expect(oc.processed_at).not_to be_nil oc.update!(orders_open_at: 2.weeks.ago) - expect(oc.processed_at).to_not be_nil + expect(oc.processed_at).not_to be_nil end end diff --git a/spec/models/product_importer_spec.rb b/spec/models/product_importer_spec.rb index d63249428e..c96e4b1870 100644 --- a/spec/models/product_importer_spec.rb +++ b/spec/models/product_importer_spec.rb @@ -161,7 +161,7 @@ describe ProductImport::ProductImporter do expect(carrots.variants.first.unit_value).to eq 500 expect(carrots.variant_unit).to eq 'weight' expect(carrots.variant_unit_scale).to eq 1 - expect(carrots.variants.first.on_demand).to_not eq true + expect(carrots.variants.first.on_demand).not_to eq true expect(carrots.variants.first.import_date).to be_within(1.minute).of Time.zone.now potatoes = Spree::Product.find_by(name: 'Potatoes') @@ -171,7 +171,7 @@ describe ProductImport::ProductImporter do expect(potatoes.variants.first.unit_value).to eq 2000 expect(potatoes.variant_unit).to eq 'weight' expect(potatoes.variant_unit_scale).to eq 1000 - expect(potatoes.variants.first.on_demand).to_not eq true + expect(potatoes.variants.first.on_demand).not_to eq true expect(potatoes.variants.first.import_date).to be_within(1.minute).of Time.zone.now pea_soup = Spree::Product.find_by(name: 'Pea Soup') @@ -181,7 +181,7 @@ describe ProductImport::ProductImporter do expect(pea_soup.variants.first.unit_value).to eq 0.75 expect(pea_soup.variant_unit).to eq 'volume' expect(pea_soup.variant_unit_scale).to eq 0.001 - expect(pea_soup.variants.first.on_demand).to_not eq true + expect(pea_soup.variants.first.on_demand).not_to eq true expect(pea_soup.variants.first.import_date).to be_within(1.minute).of Time.zone.now salad = Spree::Product.find_by(name: 'Salad') @@ -191,7 +191,7 @@ describe ProductImport::ProductImporter do expect(salad.variants.first.unit_value).to eq 1 expect(salad.variant_unit).to eq 'items' expect(salad.variant_unit_scale).to eq nil - expect(salad.variants.first.on_demand).to_not eq true + expect(salad.variants.first.on_demand).not_to eq true expect(salad.variants.first.import_date).to be_within(1.minute).of Time.zone.now buns = Spree::Product.find_by(name: 'Hot Cross Buns') @@ -550,7 +550,7 @@ describe ProductImport::ProductImporter do beetroot = Spree::Product.find_by(name: 'Beetroot').variants.first expect(beetroot.price).to eq 3.50 - expect(beetroot.on_demand).to_not eq true + expect(beetroot.on_demand).not_to eq true tomato = Spree::Product.find_by(name: 'Tomato').variants.first expect(tomato.price).to eq 5.50 diff --git a/spec/models/proxy_order_spec.rb b/spec/models/proxy_order_spec.rb index c6ec6bd628..808a762486 100644 --- a/spec/models/proxy_order_spec.rb +++ b/spec/models/proxy_order_spec.rb @@ -205,8 +205,8 @@ describe ProxyOrder, type: :model do end it "returns the existing order" do - expect(OrderFactory).to_not receive(:new) - expect(proxy_order).to_not receive(:save!) + expect(OrderFactory).not_to receive(:new) + expect(proxy_order).not_to receive(:save!) expect(proxy_order.initialise_order!).to eq existing_order end end diff --git a/spec/models/report_blob_spec.rb b/spec/models/report_blob_spec.rb index 1238ae1564..7df91b4344 100644 --- a/spec/models/report_blob_spec.rb +++ b/spec/models/report_blob_spec.rb @@ -9,6 +9,6 @@ describe ReportBlob, type: :model do expect do blob = ReportBlob.create!("customers.html", content) content = blob.result - end.to_not change { content.encoding }.from(Encoding::UTF_8) + end.not_to change { content.encoding }.from(Encoding::UTF_8) end end diff --git a/spec/models/spree/ability_spec.rb b/spec/models/spree/ability_spec.rb index 1ceb168452..4d607aa8ae 100644 --- a/spec/models/spree/ability_spec.rb +++ b/spec/models/spree/ability_spec.rb @@ -55,10 +55,10 @@ describe Spree::Ability do context 'with customer' do it 'should not be able to admin' do - expect(subject).to_not be_able_to :admin, resource - expect(subject).to_not be_able_to :admin, resource_order - expect(subject).to_not be_able_to :admin, resource_product - expect(subject).to_not be_able_to :admin, resource_user + expect(subject).not_to be_able_to :admin, resource + expect(subject).not_to be_able_to :admin, resource_order + expect(subject).not_to be_able_to :admin, resource_product + expect(subject).not_to be_able_to :admin, resource_user end end end diff --git a/spec/models/spree/address_spec.rb b/spec/models/spree/address_spec.rb index 090a113aa6..41d0a28b15 100644 --- a/spec/models/spree/address_spec.rb +++ b/spec/models/spree/address_spec.rb @@ -36,9 +36,9 @@ describe Spree::Address do expect(cloned.state_name).to eq original.state_name expect(cloned.zipcode).to eq original.zipcode - expect(cloned.id).to_not eq original.id - expect(cloned.created_at).to_not eq original.created_at - expect(cloned.updated_at).to_not eq original.updated_at + expect(cloned.id).not_to eq original.id + expect(cloned.created_at).not_to eq original.created_at + expect(cloned.updated_at).not_to eq original.updated_at end end @@ -74,7 +74,7 @@ describe Spree::Address do it "errors when state_name is nil" do address.state_name = nil address.state = nil - expect(address).to_not be_valid + expect(address).not_to be_valid end it "full state name is in state_name and country does contain that state" do diff --git a/spec/models/spree/addresses_spec.rb b/spec/models/spree/addresses_spec.rb index fcb31c1210..1b76aa51ce 100644 --- a/spec/models/spree/addresses_spec.rb +++ b/spec/models/spree/addresses_spec.rb @@ -12,7 +12,7 @@ describe Spree::Address do describe "destroy" do it "can be deleted" do - expect { address.destroy }.to_not raise_error + expect { address.destroy }.not_to raise_error end it "cannot be deleted with associated enterprise" do diff --git a/spec/models/spree/adjustment_spec.rb b/spec/models/spree/adjustment_spec.rb index c85b61360e..f3e08d06fe 100644 --- a/spec/models/spree/adjustment_spec.rb +++ b/spec/models/spree/adjustment_spec.rb @@ -107,7 +107,7 @@ module Spree it "is false when adjustment state is open" do adjustment.state = "open" - expect(adjustment).to_not be_immutable + expect(adjustment).not_to be_immutable end end @@ -119,9 +119,9 @@ module Spree it "is false when adjustment state isn't finalized" do adjustment.state = "closed" - expect(adjustment).to_not be_finalized + expect(adjustment).not_to be_finalized adjustment.state = "open" - expect(adjustment).to_not be_finalized + expect(adjustment).not_to be_finalized end end end diff --git a/spec/models/spree/credit_card_spec.rb b/spec/models/spree/credit_card_spec.rb index 5e6e950565..1a0468ec28 100644 --- a/spec/models/spree/credit_card_spec.rb +++ b/spec/models/spree/credit_card_spec.rb @@ -74,41 +74,41 @@ module Spree context "#valid?" do it "should validate presence of number" do credit_card.attributes = valid_credit_card_attributes.except(:number) - expect(credit_card).to_not be_valid + expect(credit_card).not_to be_valid expect(credit_card.errors[:number]).to eq ["can't be blank"] end it "should validate presence of security code" do credit_card.attributes = valid_credit_card_attributes.except(:verification_value) - expect(credit_card).to_not be_valid + expect(credit_card).not_to be_valid expect(credit_card.errors[:verification_value]).to eq ["can't be blank"] end it "should validate expiration is not in the past" do credit_card.month = 1.month.ago.month credit_card.year = 1.month.ago.year - expect(credit_card).to_not be_valid + expect(credit_card).not_to be_valid expect(credit_card.errors[:base]).to eq ["has expired"] end it "does not run expiration in the past validation if month is not set" do credit_card.month = nil credit_card.year = Time.zone.now.year - expect(credit_card).to_not be_valid + expect(credit_card).not_to be_valid expect(credit_card.errors[:base]).to be_blank end it "does not run expiration in the past validation if year is not set" do credit_card.month = Time.zone.now.month credit_card.year = nil - expect(credit_card).to_not be_valid + expect(credit_card).not_to be_valid expect(credit_card.errors[:base]).to be_blank end it "does not run expiration in the past validation if year and month are empty" do credit_card.year = "" credit_card.month = "" - expect(credit_card).to_not be_valid + expect(credit_card).not_to be_valid expect(credit_card.errors[:card]).to be_blank end diff --git a/spec/models/spree/inventory_unit_spec.rb b/spec/models/spree/inventory_unit_spec.rb index 03eb0e7f61..964e57c4c4 100644 --- a/spec/models/spree/inventory_unit_spec.rb +++ b/spec/models/spree/inventory_unit_spec.rb @@ -29,7 +29,7 @@ describe Spree::InventoryUnit do # Regression for Spree #3066 it "returns modifiable objects" do units = Spree::InventoryUnit.backordered_for_stock_item(stock_item) - expect { units.first.save! }.to_not raise_error + expect { units.first.save! }.not_to raise_error end it "finds inventory units from its stock location " \ @@ -44,7 +44,7 @@ describe Spree::InventoryUnit do other_variant_unit.save! expect(Spree::InventoryUnit.backordered_for_stock_item(stock_item)) - .to_not include(other_variant_unit) + .not_to include(other_variant_unit) end end diff --git a/spec/models/spree/line_item_spec.rb b/spec/models/spree/line_item_spec.rb index 2a1499a288..fbc6f753c5 100644 --- a/spec/models/spree/line_item_spec.rb +++ b/spec/models/spree/line_item_spec.rb @@ -200,7 +200,7 @@ module Spree li3.variant.product.destroy expect(o.line_items.reload.sorted_by_name_and_unit_value).to eq([li6, li5, li4, li3]) - expect(o.line_items.sorted_by_name_and_unit_value.to_sql).to_not match "deleted_at" + expect(o.line_items.sorted_by_name_and_unit_value.to_sql).not_to match "deleted_at" end end @@ -340,7 +340,7 @@ module Spree it "draws stock from the variant override" do expect(vo.reload.count_on_hand).to eq 3 expect{ line_item.increment!(:quantity) } - .to_not change{ Spree::Variant.find(variant.id).on_hand } + .not_to change{ Spree::Variant.find(variant.id).on_hand } expect(vo.reload.count_on_hand).to eq 2 end end @@ -367,7 +367,7 @@ module Spree it "restores stock to the variant override" do expect(vo.reload.count_on_hand).to eq 3 - expect{ line_item.destroy }.to_not change{ Spree::Variant.find(variant.id).on_hand } + expect{ line_item.destroy }.not_to change{ Spree::Variant.find(variant.id).on_hand } expect(vo.reload.count_on_hand).to eq 4 end end @@ -458,7 +458,7 @@ module Spree end it "returns false otherwise" do - expect(li_no_tax).to_not have_tax + expect(li_no_tax).not_to have_tax end end diff --git a/spec/models/spree/order/payment_spec.rb b/spec/models/spree/order/payment_spec.rb index c817d9d846..2eb15a022c 100644 --- a/spec/models/spree/order/payment_spec.rb +++ b/spec/models/spree/order/payment_spec.rb @@ -87,7 +87,7 @@ module Spree expect(zero_order.payment_state).to eq "paid" expect(zero_payment.reload.state).to eq "completed" - expect(zero_payment.captured_at).to_not be_nil + expect(zero_payment.captured_at).not_to be_nil end end diff --git a/spec/models/spree/order/tax_spec.rb b/spec/models/spree/order/tax_spec.rb index b815c24e97..1e1bb80f7c 100644 --- a/spec/models/spree/order/tax_spec.rb +++ b/spec/models/spree/order/tax_spec.rb @@ -159,7 +159,7 @@ module Spree it "removes any legacy tax adjustments on order" do order.create_tax_charge! - expect(order.reload.adjustments).to_not include legacy_tax_adjustment + expect(order.reload.adjustments).not_to include legacy_tax_adjustment end it "re-applies taxes on individual items" do diff --git a/spec/models/spree/order_contents_spec.rb b/spec/models/spree/order_contents_spec.rb index d82ca11af5..4355a4f8a7 100644 --- a/spec/models/spree/order_contents_spec.rb +++ b/spec/models/spree/order_contents_spec.rb @@ -146,7 +146,7 @@ describe Spree::OrderContents do end it "does not update the order's enterprise fees if not complete" do - expect(order).to_not receive(:update_order_fees!) + expect(order).not_to receive(:update_order_fees!) subject.update_item(line_item, { quantity: 3 }) end diff --git a/spec/models/spree/order_spec.rb b/spec/models/spree/order_spec.rb index 2ce5294d59..c4fcc9fff5 100644 --- a/spec/models/spree/order_spec.rb +++ b/spec/models/spree/order_spec.rb @@ -34,7 +34,7 @@ describe Spree::Order do end it "can find a line item matching a given variant" do - expect(order.find_line_item_by_variant(order.line_items.third.variant)).to_not be_nil + expect(order.find_line_item_by_variant(order.line_items.third.variant)).not_to be_nil expect(order.find_line_item_by_variant(build(:variant))).to be_nil end end @@ -107,7 +107,7 @@ describe Spree::Order do context "#create" do it "should assign an order number" do order = Spree::Order.create - expect(order.number).to_not be_nil + expect(order.number).not_to be_nil end end @@ -1012,7 +1012,7 @@ describe Spree::Order do it "returns only orders which have line items" do expect(Spree::Order.not_empty).to include order_with_line_items - expect(Spree::Order.not_empty).to_not include order_without_line_items + expect(Spree::Order.not_empty).not_to include order_without_line_items end end end @@ -1041,19 +1041,19 @@ describe Spree::Order do describe "#customer" do it "is not required for new records" do - is_expected.to_not validate_presence_of(:customer) + is_expected.not_to validate_presence_of(:customer) end it "is not required for new complete orders" do order = Spree::Order.new(state: "complete") - expect(order).to_not validate_presence_of(:customer) + expect(order).not_to validate_presence_of(:customer) end it "is not required for existing orders in cart state" do order = create(:order) - expect(order).to_not validate_presence_of(:customer) + expect(order).not_to validate_presence_of(:customer) end it "is created for existing orders in complete state" do @@ -1070,7 +1070,7 @@ describe Spree::Order do it "does not create a customer" do expect { create(:order, distributor:) - }.to_not change { + }.not_to change { Customer.count } end @@ -1130,7 +1130,7 @@ describe Spree::Order do expect { other_order.update!(state: "complete") - }.to_not change { Customer.count } + }.not_to change { Customer.count } expect(other_order.customer.email).to eq "new@email.org" expect(order.customer).to eq other_order.customer @@ -1334,7 +1334,7 @@ describe Spree::Order do let!(:payment) { create(:payment, order:, payment_method:) } it "does not include the :confirm step" do - expect(order.checkout_steps).to_not include "confirm" + expect(order.checkout_steps).not_to include "confirm" end end diff --git a/spec/models/spree/payment_spec.rb b/spec/models/spree/payment_spec.rb index 2b32af90ff..26edb058ad 100644 --- a/spec/models/spree/payment_spec.rb +++ b/spec/models/spree/payment_spec.rb @@ -145,7 +145,7 @@ describe Spree::Payment do it "should call capture if the payment is already authorized" do expect(payment).to receive(:capture!) - expect(payment).to_not receive(:purchase!) + expect(payment).not_to receive(:purchase!) payment.process_offline! end end @@ -222,7 +222,7 @@ describe Spree::Payment do it "should mark payment as failed" do allow(payment_method).to receive(:authorize).and_return(failed_response) expect(payment).to receive(:failure) - expect(payment).to_not receive(:pend) + expect(payment).not_to receive(:pend) expect { payment.authorize! }.to raise_error(Spree::Core::GatewayError) @@ -313,7 +313,7 @@ describe Spree::Payment do it "should not make payment complete" do allow(payment_method).to receive(:capture).and_return(failed_response) expect(payment).to receive(:failure) - expect(payment).to_not receive(:complete) + expect(payment).not_to receive(:complete) expect { payment.capture! }.to raise_error(Spree::Core::GatewayError) end end @@ -323,9 +323,9 @@ describe Spree::Payment do context "when payment is completed" do it "should do nothing" do payment = build_stubbed(:payment, :completed) - expect(payment).to_not receive(:complete) - expect(payment.payment_method).to_not receive(:capture) - expect(payment.log_entries).to_not receive(:create) + expect(payment).not_to receive(:complete) + expect(payment.payment_method).not_to receive(:capture) + expect(payment.log_entries).not_to receive(:create) payment.capture! end end @@ -382,7 +382,7 @@ describe Spree::Payment do context "if unsuccessful" do it "should not void the payment" do allow(payment_method).to receive(:void).and_return(failed_response) - expect(payment).to_not receive(:void) + expect(payment).not_to receive(:void) expect { payment.void_transaction! }.to raise_error(Spree::Core::GatewayError) end end @@ -391,7 +391,7 @@ describe Spree::Payment do context "if payment is already voided" do it "should not void the payment" do payment = build_stubbed(:payment, payment_method:, state: 'void') - expect(payment.payment_method).to_not receive(:void) + expect(payment.payment_method).not_to receive(:void) payment.void_transaction! end end @@ -570,8 +570,8 @@ describe Spree::Payment do payment = build_stubbed(:payment) payment.state = 'processing' - expect(payment).to_not receive(:authorize!) - expect(payment).to_not receive(:purchase!) + expect(payment).not_to receive(:authorize!) + expect(payment).not_to receive(:purchase!) expect(payment.process!).to be_nil end end @@ -717,7 +717,7 @@ describe Spree::Payment do payment_method.distributors << create(:distributor_enterprise) payment_method.save! - expect(payment_method).to_not receive :create_profile + expect(payment_method).not_to receive :create_profile payment = Spree::Payment.create( amount: 100, order: create(:order), @@ -1012,7 +1012,7 @@ describe Spree::Payment do expect(payment.adjustment.eligible?).to be false expect(payment.adjustment.finalized?).to be true expect(order.all_adjustments.payment_fee.count).to eq 1 - expect(order.all_adjustments.payment_fee.eligible).to_not include payment.adjustment + expect(order.all_adjustments.payment_fee.eligible).not_to include payment.adjustment end end @@ -1031,7 +1031,7 @@ describe Spree::Payment do expect(payment.adjustment.eligible?).to be false expect(payment.adjustment.finalized?).to be true expect(order.all_adjustments.payment_fee.count).to eq 1 - expect(order.all_adjustments.payment_fee.eligible).to_not include payment.adjustment + expect(order.all_adjustments.payment_fee.eligible).not_to include payment.adjustment end end diff --git a/spec/models/spree/preferences/preferable_spec.rb b/spec/models/spree/preferences/preferable_spec.rb index e95e069de0..f350c1a891 100644 --- a/spec/models/spree/preferences/preferable_spec.rb +++ b/spec/models/spree/preferences/preferable_spec.rb @@ -284,7 +284,7 @@ describe Spree::Preferences::Preferable do expect(pref_test.preference_cache_key(:pref_test_pref)).to be_nil pref_test.save - expect(pref_test.preference_cache_key(:pref_test_pref)).to_not be_nil + expect(pref_test.preference_cache_key(:pref_test_pref)).not_to be_nil end it "but returns default values" do @@ -314,7 +314,7 @@ describe Spree::Preferences::Preferable do @pt1 = PrefTest.new(col: 'aaaa') @pt1.id = @pt.id @pt1.save! - expect(@pt1.get_preference(:pref_test_pref)).to_not eq 'lmn' + expect(@pt1.get_preference(:pref_test_pref)).not_to eq 'lmn' expect(@pt1.get_preference(:pref_test_pref)).to eq 'abc' end end diff --git a/spec/models/spree/price_spec.rb b/spec/models/spree/price_spec.rb index 1b4898c2a2..d0fd0ad44f 100644 --- a/spec/models/spree/price_spec.rb +++ b/spec/models/spree/price_spec.rb @@ -21,7 +21,7 @@ module Spree let(:expensive_variant) { build(:variant, price: 10_000_000) } it "saves without error" do - expect{ expensive_variant.save }.to_not raise_error + expect{ expensive_variant.save }.not_to raise_error expect(expensive_variant.persisted?).to be true end end diff --git a/spec/models/spree/product_property_spec.rb b/spec/models/spree/product_property_spec.rb index 4109db924e..c99820f815 100644 --- a/spec/models/spree/product_property_spec.rb +++ b/spec/models/spree/product_property_spec.rb @@ -7,7 +7,7 @@ describe Spree::ProductProperty do it "should validate length of value" do pp = create(:product_property) pp.value = "x" * 256 - expect(pp).to_not be_valid + expect(pp).not_to be_valid end end end diff --git a/spec/models/spree/product_spec.rb b/spec/models/spree/product_spec.rb index d9bed878ce..49fc233147 100644 --- a/spec/models/spree/product_spec.rb +++ b/spec/models/spree/product_spec.rb @@ -25,7 +25,7 @@ module Spree context "#destroy" do it "should set deleted_at value" do product.destroy - expect(product.deleted_at).to_not be_nil + expect(product.deleted_at).not_to be_nil expect(product.variants.all? { |v| !v.deleted_at.nil? }).to be_truthy end end @@ -441,14 +441,14 @@ module Spree distributors = Enterprise.where(id: [distributor1.id, distributor2.id]).to_a expect(Product.in_distributors(distributors)).to include product1, product2, product3 - expect(Product.in_distributors(distributors)).to_not include product4 + expect(Product.in_distributors(distributors)).not_to include product4 end it "returns distributed products for a given array of enterprise ids" do distributors_ids = [distributor1.id, distributor2.id] expect(Product.in_distributors(distributors_ids)).to include product1, product2, product3 - expect(Product.in_distributors(distributors_ids)).to_not include product4 + expect(Product.in_distributors(distributors_ids)).not_to include product4 end end @@ -569,7 +569,7 @@ module Spree it "lists any products with variants that are listed as visible=true" do expect(products.length).to eq(1) expect(products).to include product - expect(products).to_not include new_variant.product, hidden_variant.product + expect(products).not_to include new_variant.product, hidden_variant.product end end @@ -591,7 +591,7 @@ module Spree it 'shows products produced by the enterprise and any producers granting P-OC' do stockable_products = Spree::Product.stockable_by(shop) expect(stockable_products).to include p1, p2 - expect(stockable_products).to_not include p3 + expect(stockable_products).not_to include p3 end end diff --git a/spec/models/spree/return_authorization_spec.rb b/spec/models/spree/return_authorization_spec.rb index fe87f15f0c..68249cedc3 100644 --- a/spec/models/spree/return_authorization_spec.rb +++ b/spec/models/spree/return_authorization_spec.rb @@ -49,7 +49,7 @@ describe Spree::ReturnAuthorization do end it "should not update order state" do - expect{ return_authorization.add_variant(variant.id, 1) }.to_not change{ order.state } + expect{ return_authorization.add_variant(variant.id, 1) }.not_to change{ order.state } end end end diff --git a/spec/models/spree/shipment_spec.rb b/spec/models/spree/shipment_spec.rb index 8a3d4bd195..fc2b31b272 100644 --- a/spec/models/spree/shipment_spec.rb +++ b/spec/models/spree/shipment_spec.rb @@ -124,7 +124,7 @@ describe Spree::Shipment do to receive(:new).with(shipment.order).and_return(mock_estimator) allow(shipment).to receive_messages(shipping_method: nil) expect(shipment.refresh_rates).to eq shipping_rates - expect(shipment.reload.selected_shipping_rate).to_not be_nil + expect(shipment.reload.selected_shipping_rate).not_to be_nil end it 'should not refresh if shipment is shipped' do @@ -347,10 +347,10 @@ describe Spree::Shipment do it "should update shipped_at timestamp" do allow(shipment).to receive(:send_shipped_email) shipment.ship! - expect(shipment.shipped_at).to_not be_nil + expect(shipment.shipped_at).not_to be_nil # Ensure value is persisted shipment.reload - expect(shipment.shipped_at).to_not be_nil + expect(shipment.shipped_at).not_to be_nil end it "should send a shipment email if order.send_shipment_email is true" do diff --git a/spec/models/spree/shipping_method_spec.rb b/spec/models/spree/shipping_method_spec.rb index a7b1235499..839367c8d1 100644 --- a/spec/models/spree/shipping_method_spec.rb +++ b/spec/models/spree/shipping_method_spec.rb @@ -191,7 +191,7 @@ module Spree it "soft-deletes when destroy is called" do shipping_method.destroy - expect(shipping_method.deleted_at).to_not be_blank + expect(shipping_method.deleted_at).not_to be_blank end end diff --git a/spec/models/spree/stock/availability_validator_spec.rb b/spec/models/spree/stock/availability_validator_spec.rb index e2f03027d5..d7e39ed175 100644 --- a/spec/models/spree/stock/availability_validator_spec.rb +++ b/spec/models/spree/stock/availability_validator_spec.rb @@ -75,7 +75,7 @@ module Spree it "is not valid" do line_item.quantity = 999 validator.validate(line_item) - expect(line_item).to_not be_valid + expect(line_item).not_to be_valid end end end diff --git a/spec/models/spree/tax_rate_spec.rb b/spec/models/spree/tax_rate_spec.rb index e22fb9829c..5437ab2182 100644 --- a/spec/models/spree/tax_rate_spec.rb +++ b/spec/models/spree/tax_rate_spec.rb @@ -218,7 +218,7 @@ module Spree it "should apply adjustments for two tax rates to the order" do expect(rate_1).to receive(:adjust) - expect(rate_2).to_not receive(:adjust) + expect(rate_2).not_to receive(:adjust) Spree::TaxRate.adjust(order, line_items) end end @@ -234,7 +234,7 @@ module Spree it "should apply adjustments for two tax rates to the order" do expect(rate_1).to receive(:adjust) - expect(rate_2).to_not receive(:adjust) + expect(rate_2).not_to receive(:adjust) Spree::TaxRate.adjust(order, shipments) end end diff --git a/spec/models/spree/user_spec.rb b/spec/models/spree/user_spec.rb index 8fc144b275..368792f8ed 100644 --- a/spec/models/spree/user_spec.rb +++ b/spec/models/spree/user_spec.rb @@ -52,7 +52,7 @@ describe Spree::User do it "enforces the limit on the number of enterprise owned" do expect(u2.owned_enterprises.reload).to eq [] u2.owned_enterprises << e1 - expect { u2.save! }.to_not raise_error + expect { u2.save! }.not_to raise_error expect do u2.owned_enterprises << e2 u2.save! @@ -92,13 +92,13 @@ describe Spree::User do it "detects emails without @" do user.email = "examplemail.com" - expect(user).to_not be_valid + expect(user).not_to be_valid expect(user.errors.messages[:email]).to include "is invalid" end it "detects backslashes at the end" do user.email = "example@gmail.com\\\\" - expect(user).to_not be_valid + expect(user).not_to be_valid end it "is okay with numbers before the @" do @@ -111,7 +111,7 @@ describe Spree::User do # valid, the network requests slow down tests and could make them flaky. expect_any_instance_of(ValidEmail2::Address).to receive(:valid_mx?).and_call_original user.email = "example@ho020tmail.com" - expect(user).to_not be_valid + expect(user).not_to be_valid end end @@ -164,10 +164,10 @@ describe Spree::User do describe "as an enterprise user" do it "returns a list of users which manage shared enterprises" do expect(u1.known_users).to include u1, u2 - expect(u1.known_users).to_not include u3 + expect(u1.known_users).not_to include u3 expect(u2.known_users).to include u1, u2 - expect(u2.known_users).to_not include u3 - expect(u3.known_users).to_not include u1, u2, u3 + expect(u2.known_users).not_to include u3 + expect(u3.known_users).not_to include u1, u2, u3 end end diff --git a/spec/models/spree/variant_spec.rb b/spec/models/spree/variant_spec.rb index 82317e9571..b2e93e01ba 100644 --- a/spec/models/spree/variant_spec.rb +++ b/spec/models/spree/variant_spec.rb @@ -37,7 +37,7 @@ describe Spree::Variant do expect(variant.tax_category).to eq default expect { variant.tax_category = nil - }.to_not change { + }.not_to change { variant.tax_category } expect(variant).to be_valid @@ -358,7 +358,7 @@ describe Spree::Variant do it "lists any variants that are not listed as visible=false" do expect(variants).to include new_variant, visible_variant - expect(variants).to_not include hidden_variant + expect(variants).not_to include hidden_variant end context "when inventory items exist for other enterprises" do @@ -379,7 +379,7 @@ describe Spree::Variant do it "lists any variants not listed as visible=false only for the relevant enterprise" do expect(variants).to include new_variant, visible_variant - expect(variants).to_not include hidden_variant + expect(variants).not_to include hidden_variant end end end @@ -390,7 +390,7 @@ describe Spree::Variant do it "lists any variants that are listed as visible=true" do expect(variants).to include visible_variant - expect(variants).to_not include new_variant, hidden_variant + expect(variants).not_to include new_variant, hidden_variant end end end @@ -415,7 +415,7 @@ describe Spree::Variant do it 'shows variants produced by the enterprise and any producers granting P-OC' do stockable_variants = Spree::Variant.stockable_by(shop) expect(stockable_variants).to include v1, v2 - expect(stockable_variants).to_not include v3 + expect(stockable_variants).not_to include v3 end end end diff --git a/spec/models/stripe_account_spec.rb b/spec/models/stripe_account_spec.rb index 52506ab31e..1de1df4b50 100644 --- a/spec/models/stripe_account_spec.rb +++ b/spec/models/stripe_account_spec.rb @@ -43,7 +43,7 @@ describe StripeAccount do it "destroys the record" do # returns status 200 - expect(Bugsnag).to_not receive(:notify) # and does not receive Bugsnag notification + expect(Bugsnag).not_to receive(:notify) # and does not receive Bugsnag notification expect { stripe_account.deauthorize_and_destroy }.to change { @@ -58,7 +58,7 @@ describe StripeAccount do } it "Doesn't make a Stripe API disconnection request " do - expect(Stripe::OAuth).to_not receive(:deauthorize) + expect(Stripe::OAuth).not_to receive(:deauthorize) stripe_account.deauthorize_and_destroy expect(StripeAccount.all).not_to include(stripe_account) end diff --git a/spec/models/subscription_spec.rb b/spec/models/subscription_spec.rb index 742e1952f1..29e2d0c22e 100644 --- a/spec/models/subscription_spec.rb +++ b/spec/models/subscription_spec.rb @@ -47,7 +47,7 @@ describe Subscription, type: :model do expect{ subscription.cancel }.to raise_error "Some error" expect(subscription.reload.canceled_at).to be nil expect(proxy_order1).to have_received(:cancel) - expect(proxy_order2).to_not have_received(:cancel) + expect(proxy_order2).not_to have_received(:cancel) end end end diff --git a/spec/models/variant_override_spec.rb b/spec/models/variant_override_spec.rb index 9ff4ba0709..2da715f80a 100644 --- a/spec/models/variant_override_spec.rb +++ b/spec/models/variant_override_spec.rb @@ -20,7 +20,7 @@ describe VariantOverride do } it "ignores variant_overrides with revoked_permissions by default" do - expect(VariantOverride.all).to_not include vo3 + expect(VariantOverride.all).not_to include vo3 expect(VariantOverride.unscoped).to include vo3 end @@ -141,7 +141,7 @@ describe VariantOverride do end it "soft-deletes the price" do - expect(price_object.reload.deleted_at).to_not be_nil + expect(price_object.reload.deleted_at).not_to be_nil end it "can access the soft-deleted price" do diff --git a/spec/reflexes/products_reflex_spec.rb b/spec/reflexes/products_reflex_spec.rb index 72bab6b015..b9cd9c5c28 100644 --- a/spec/reflexes/products_reflex_spec.rb +++ b/spec/reflexes/products_reflex_spec.rb @@ -206,7 +206,7 @@ describe ProductsReflex, type: :reflex, feature: :admin_style_v3 do reflex = run_reflex(:bulk_update, params:) expect(reflex.get(:error_counts)).to eq({ saved: 1, invalid: 2 }) - expect(flash).to_not include success: "Changes saved" + expect(flash).not_to include success: "Changes saved" # # WTF # expect{ reflex(:bulk_update, params:) }.to broadcast( diff --git a/spec/requests/admin/images_spec.rb b/spec/requests/admin/images_spec.rb index 1ab0f05fcf..11d3659482 100644 --- a/spec/requests/admin/images_spec.rb +++ b/spec/requests/admin/images_spec.rb @@ -47,7 +47,7 @@ describe "/admin/products/:product_id/images", type: :request do expect { subject product.reload - }.to_not change{ product.image&.attachment&.filename.to_s } + }.not_to change{ product.image&.attachment&.filename.to_s } pending "error status code" expect(response).to be_unprocessable diff --git a/spec/requests/omniauth_callbacks_controller_spec.rb b/spec/requests/omniauth_callbacks_controller_spec.rb index 0aad02a08c..0bf3147ea2 100644 --- a/spec/requests/omniauth_callbacks_controller_spec.rb +++ b/spec/requests/omniauth_callbacks_controller_spec.rb @@ -43,7 +43,7 @@ describe '/user/spree_user/auth/openid_connect/callback', type: :request do end it 'fails with bad auth data' do - expect { request! }.to_not change { OidcAccount.count } + expect { request! }.not_to change { OidcAccount.count } expect(response.status).to eq(302) end diff --git a/spec/requests/spree/admin/overview_spec.rb b/spec/requests/spree/admin/overview_spec.rb index 14f03d6498..4fc00f5563 100644 --- a/spec/requests/spree/admin/overview_spec.rb +++ b/spec/requests/spree/admin/overview_spec.rb @@ -45,7 +45,7 @@ describe "/admin", type: :request do get "/admin" - expect(response.body).to_not include("Terms of Service have been updated") + expect(response.body).not_to include("Terms of Service have been updated") end end @@ -66,7 +66,7 @@ describe "/admin", type: :request do get "/admin" - expect(response.body).to_not include("Terms of Service have been updated") + expect(response.body).not_to include("Terms of Service have been updated") end end @@ -79,7 +79,7 @@ describe "/admin", type: :request do it "doesn't show accept new ToS banner" do get "/admin" - expect(response.body).to_not include("Terms of Service have been updated") + expect(response.body).not_to include("Terms of Service have been updated") end end end diff --git a/spec/serializers/api/admin/enterprise_serializer_spec.rb b/spec/serializers/api/admin/enterprise_serializer_spec.rb index 80fc821298..7c588bee1c 100644 --- a/spec/serializers/api/admin/enterprise_serializer_spec.rb +++ b/spec/serializers/api/admin/enterprise_serializer_spec.rb @@ -21,7 +21,7 @@ describe Api::Admin::EnterpriseSerializer do it "includes URLs of image versions" do serializer = Api::Admin::EnterpriseSerializer.new(enterprise) - expect(serializer.as_json[:logo]).to_not be_blank + expect(serializer.as_json[:logo]).not_to be_blank expect(serializer.as_json[:logo][:medium]).to match(/logo-black.png/) end end @@ -46,7 +46,7 @@ describe Api::Admin::EnterpriseSerializer do it "includes URLs of image versions" do serializer = Api::Admin::EnterpriseSerializer.new(enterprise) - expect(serializer.as_json[:promo_image]).to_not be_blank + expect(serializer.as_json[:promo_image]).not_to be_blank expect(serializer.as_json[:promo_image][:medium]).to match(/logo-black\.png$/) end end diff --git a/spec/serializers/api/admin/exchange_serializer_spec.rb b/spec/serializers/api/admin/exchange_serializer_spec.rb index 7d55721205..5f12b44cd5 100644 --- a/spec/serializers/api/admin/exchange_serializer_spec.rb +++ b/spec/serializers/api/admin/exchange_serializer_spec.rb @@ -40,7 +40,7 @@ describe Api::Admin::ExchangeSerializer do .with(exchange.order_cycle.coordinator) expect(exchange.variants).to include v1, v2, v3 expect(visible_variants.keys).to include v1.id - expect(visible_variants.keys).to_not include v2.id, v3.id + expect(visible_variants.keys).not_to include v2.id, v3.id end end @@ -54,10 +54,10 @@ describe Api::Admin::ExchangeSerializer do visible_variants = serializer.variants expect(permissions_mock).to have_received(:visible_variants_for_incoming_exchanges_from) .with(exchange.sender) - expect(permitted_variants).to_not have_received(:visible_for) + expect(permitted_variants).not_to have_received(:visible_for) expect(exchange.variants).to include v1, v2, v3 expect(visible_variants.keys).to include v1.id, v2.id - expect(visible_variants.keys).to_not include v3.id + expect(visible_variants.keys).not_to include v3.id end end end @@ -88,10 +88,10 @@ describe Api::Admin::ExchangeSerializer do expect(permissions_mock).to have_received(:visible_variants_for_outgoing_exchanges_to) .with(exchange.receiver) expect(permitted_variants).to have_received(:not_hidden_for).with(exchange.receiver) - expect(permitted_variants).to_not have_received(:visible_for) + expect(permitted_variants).not_to have_received(:visible_for) expect(exchange.variants).to include v1, v2, v3 expect(visible_variants.keys).to include v1.id, v2.id - expect(visible_variants.keys).to_not include v3.id + expect(visible_variants.keys).not_to include v3.id end end @@ -107,10 +107,10 @@ describe Api::Admin::ExchangeSerializer do expect(permissions_mock).to have_received(:visible_variants_for_outgoing_exchanges_to) .with(exchange.receiver) expect(permitted_variants).to have_received(:visible_for).with(exchange.receiver) - expect(permitted_variants).to_not have_received(:not_hidden_for) + expect(permitted_variants).not_to have_received(:not_hidden_for) expect(exchange.variants).to include v1, v2, v3 expect(visible_variants.keys).to include v1.id - expect(visible_variants.keys).to_not include v2.id, v3.id + expect(visible_variants.keys).not_to include v2.id, v3.id end end end diff --git a/spec/serializers/api/admin/order_cycle_serializer_spec.rb b/spec/serializers/api/admin/order_cycle_serializer_spec.rb index b3badb7672..e04e362dc1 100644 --- a/spec/serializers/api/admin/order_cycle_serializer_spec.rb +++ b/spec/serializers/api/admin/order_cycle_serializer_spec.rb @@ -22,7 +22,7 @@ describe Api::Admin::OrderCycleSerializer do variant_ids = from_json(serializer.editable_variants_for_incoming_exchanges).values.flatten expect(variant_ids).to include order_cycle.variants.first.id - expect(distributor_ids).to_not include order_cycle.distributors.first.id.to_s + expect(distributor_ids).not_to include order_cycle.distributors.first.id.to_s end it "serializes the order cycle with editable_variants_for_outgoing_exchanges" do diff --git a/spec/services/checkout/post_checkout_actions_spec.rb b/spec/services/checkout/post_checkout_actions_spec.rb index fb8db90b98..d2859e11aa 100644 --- a/spec/services/checkout/post_checkout_actions_spec.rb +++ b/spec/services/checkout/post_checkout_actions_spec.rb @@ -22,7 +22,7 @@ describe Checkout::PostCheckoutActions do it "sets customer's terms_and_conditions to the current time if terms have been accepted" do params = { order: { terms_and_conditions_accepted: true } } postCheckoutActions.success(params, current_user) - expect(order.customer.terms_and_conditions_accepted_at).to_not be_nil + expect(order.customer.terms_and_conditions_accepted_at).not_to be_nil end end diff --git a/spec/services/customer_order_cancellation_spec.rb b/spec/services/customer_order_cancellation_spec.rb index 8801aee5f5..9c8c6a8508 100644 --- a/spec/services/customer_order_cancellation_spec.rb +++ b/spec/services/customer_order_cancellation_spec.rb @@ -25,7 +25,7 @@ describe CustomerOrderCancellation do CustomerOrderCancellation.new(order).call - expect(Spree::OrderMailer).to_not have_received(:cancel_email_for_shop) + expect(Spree::OrderMailer).not_to have_received(:cancel_email_for_shop) end end end diff --git a/spec/services/image_importer_spec.rb b/spec/services/image_importer_spec.rb index 8fc8e20395..b00796b25a 100644 --- a/spec/services/image_importer_spec.rb +++ b/spec/services/image_importer_spec.rb @@ -14,7 +14,7 @@ describe ImageImporter do Spree::Image.count }.by(1) - expect(product.image).to_not be_nil + expect(product.image).not_to be_nil expect(product.reload.image.attachment_blob.byte_size).to eq 6274 end end diff --git a/spec/services/order_available_payment_methods_spec.rb b/spec/services/order_available_payment_methods_spec.rb index 190a1afcc8..6d9a9e4185 100644 --- a/spec/services/order_available_payment_methods_spec.rb +++ b/spec/services/order_available_payment_methods_spec.rb @@ -129,7 +129,7 @@ describe OrderAvailablePaymentMethods do it "applies default action (hide)" do expect(available_payment_methods).to include untagged_payment_method - expect(available_payment_methods).to_not include tagged_payment_method + expect(available_payment_methods).not_to include tagged_payment_method end end @@ -156,7 +156,7 @@ describe OrderAvailablePaymentMethods do it "applies the default action (hide)" do expect(available_payment_methods).to include untagged_payment_method - expect(available_payment_methods).to_not include tagged_payment_method + expect(available_payment_methods).not_to include tagged_payment_method end end end @@ -195,7 +195,7 @@ describe OrderAvailablePaymentMethods do it "applies the action (hide)" do expect(available_payment_methods).to include untagged_payment_method - expect(available_payment_methods).to_not include tagged_payment_method + expect(available_payment_methods).not_to include tagged_payment_method end end diff --git a/spec/services/order_available_shipping_methods_spec.rb b/spec/services/order_available_shipping_methods_spec.rb index 57b2ff3535..325a5801d2 100644 --- a/spec/services/order_available_shipping_methods_spec.rb +++ b/spec/services/order_available_shipping_methods_spec.rb @@ -114,7 +114,7 @@ describe OrderAvailableShippingMethods do it "applies default action (hide)" do expect(available_shipping_methods).to include untagged_sm - expect(available_shipping_methods).to_not include tagged_sm + expect(available_shipping_methods).not_to include tagged_sm end end @@ -138,7 +138,7 @@ describe OrderAvailableShippingMethods do it "applies the default action (hide)" do expect(available_shipping_methods).to include untagged_sm - expect(available_shipping_methods).to_not include tagged_sm + expect(available_shipping_methods).not_to include tagged_sm end end end @@ -174,7 +174,7 @@ describe OrderAvailableShippingMethods do it "applies the action (hide)" do expect(available_shipping_methods).to include untagged_sm - expect(available_shipping_methods).to_not include tagged_sm + expect(available_shipping_methods).not_to include tagged_sm end end diff --git a/spec/services/order_checkout_restart_spec.rb b/spec/services/order_checkout_restart_spec.rb index 2cc47923bc..c4f10fb5e6 100644 --- a/spec/services/order_checkout_restart_spec.rb +++ b/spec/services/order_checkout_restart_spec.rb @@ -8,7 +8,7 @@ describe OrderCheckoutRestart do describe "#call" do context "when the order is already in the 'cart' state" do it "does nothing" do - expect(order).to_not receive(:restart_checkout!) + expect(order).not_to receive(:restart_checkout!) OrderCheckoutRestart.new(order).call end end diff --git a/spec/services/order_cycle_distributed_products_spec.rb b/spec/services/order_cycle_distributed_products_spec.rb index 9a137f85f3..37edaedbe7 100644 --- a/spec/services/order_cycle_distributed_products_spec.rb +++ b/spec/services/order_cycle_distributed_products_spec.rb @@ -30,7 +30,7 @@ describe OrderCycleDistributedProducts do it "does not return product" do expect(described_class.new(distributor, order_cycle, - customer).products_relation).to_not include product + customer).products_relation).not_to include product end end @@ -42,7 +42,7 @@ describe OrderCycleDistributedProducts do it "does not return product" do expect(described_class.new(distributor, order_cycle, - customer).products_relation).to_not include product + customer).products_relation).not_to include product end end @@ -56,7 +56,7 @@ describe OrderCycleDistributedProducts do it "does not return product when variant is out of stock" do variant.update_attribute(:on_hand, 0) expect(described_class.new(distributor, order_cycle, - customer).products_relation).to_not include product + customer).products_relation).not_to include product end end @@ -67,7 +67,7 @@ describe OrderCycleDistributedProducts do it "does not return product when an override is out of stock" do expect(described_class.new(distributor, order_cycle, - customer).products_relation).to_not include product + customer).products_relation).not_to include product end it "returns product when an override is in stock" do @@ -93,11 +93,11 @@ describe OrderCycleDistributedProducts do it "returns variants in the oc" do expect(variants).to include v1 - expect(variants).to_not include v2 + expect(variants).not_to include v2 end it "does not return variants where override is out of stock" do - expect(variants).to_not include v3 + expect(variants).not_to include v3 end end end diff --git a/spec/services/order_cycle_form_spec.rb b/spec/services/order_cycle_form_spec.rb index faac0fb6b0..6d15344e42 100644 --- a/spec/services/order_cycle_form_spec.rb +++ b/spec/services/order_cycle_form_spec.rb @@ -25,7 +25,7 @@ describe OrderCycleForm do it "returns false" do expect do expect(form.save).to be false - end.to_not change { OrderCycle.count } + end.not_to change { OrderCycle.count } end end end @@ -51,7 +51,7 @@ describe OrderCycleForm do it "returns false" do expect do expect(form.save).to be false - end.to_not change{ order_cycle.reload.name } + end.not_to change{ order_cycle.reload.name } end end @@ -101,7 +101,7 @@ describe OrderCycleForm do it "associates the order cycle to the schedule" do expect(form.save).to be true expect(coordinated_order_cycle.reload.schedules).to include coordinated_schedule2 - expect(coordinated_order_cycle.reload.schedules).to_not include coordinated_schedule + expect(coordinated_order_cycle.reload.schedules).not_to include coordinated_schedule expect(syncer_mock).to have_received(:sync!) end end @@ -112,8 +112,8 @@ describe OrderCycleForm do it "ignores the schedule that I don't own" do expect(form.save).to be true expect(coordinated_order_cycle.reload.schedules).to include coordinated_schedule - expect(coordinated_order_cycle.reload.schedules).to_not include uncoordinated_schedule - expect(syncer_mock).to_not have_received(:sync!) + expect(coordinated_order_cycle.reload.schedules).not_to include uncoordinated_schedule + expect(syncer_mock).not_to have_received(:sync!) end end @@ -123,7 +123,7 @@ describe OrderCycleForm do it "ignores the schedule that I don't own" do expect(form.save).to be true expect(coordinated_order_cycle.reload.schedules).to include coordinated_schedule - expect(syncer_mock).to_not have_received(:sync!) + expect(syncer_mock).not_to have_received(:sync!) end end end @@ -256,7 +256,7 @@ describe OrderCycleForm do supplier.users.first ) - expect{ form.save }.to_not change{ order_cycle.distributor_payment_methods.pluck(:id) } + expect{ form.save }.not_to change{ order_cycle.distributor_payment_methods.pluck(:id) } end end @@ -306,7 +306,7 @@ describe OrderCycleForm do distributor2.users.first ) - expect{ form.save }.to_not change{ + expect{ form.save }.not_to change{ order_cycle.distributor_payment_methods.pluck(:id) } end diff --git a/spec/services/order_cycle_webhook_service_spec.rb b/spec/services/order_cycle_webhook_service_spec.rb index 59ab3a0c1c..4ab08691db 100644 --- a/spec/services/order_cycle_webhook_service_spec.rb +++ b/spec/services/order_cycle_webhook_service_spec.rb @@ -22,7 +22,7 @@ describe OrderCycleWebhookService do coordinator_user.webhook_endpoints.create!(url: "http://coordinator_user_url") expect{ OrderCycleWebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } - .to_not enqueue_job(WebhookDeliveryJob).with("http://coordinator_user_url", any_args) + .not_to enqueue_job(WebhookDeliveryJob).with("http://coordinator_user_url", any_args) end context "coordinator owner has endpoint configured" do @@ -128,7 +128,7 @@ describe OrderCycleWebhookService do it "doesn't create a webhook payload for supplier owner" do expect{ OrderCycleWebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } - .to_not enqueue_job(WebhookDeliveryJob).with("http://supplier_owner_url", any_args) + .not_to enqueue_job(WebhookDeliveryJob).with("http://supplier_owner_url", any_args) end end end diff --git a/spec/services/order_fees_handler_spec.rb b/spec/services/order_fees_handler_spec.rb index 4279d02f00..29ef8428af 100644 --- a/spec/services/order_fees_handler_spec.rb +++ b/spec/services/order_fees_handler_spec.rb @@ -33,7 +33,7 @@ describe OrderFeesHandler do it "skips per-order fee adjustments for orders that don't have an order cycle" do allow(service).to receive(:order_cycle) { nil } - expect(calculator).to_not receive(:create_order_adjustments_for) + expect(calculator).not_to receive(:create_order_adjustments_for) service.create_order_fees! end diff --git a/spec/services/order_syncer_spec.rb b/spec/services/order_syncer_spec.rb index 1c431eb9d2..4251354902 100644 --- a/spec/services/order_syncer_spec.rb +++ b/spec/services/order_syncer_spec.rb @@ -171,7 +171,7 @@ describe OrderSyncer do it "updates all bill_address attrs and ship_address names + phone" do subscription.assign_attributes(params) expect(syncer.sync!).to be true - expect(syncer.order_update_issues.keys).to_not include order.id + expect(syncer.order_update_issues.keys).not_to include order.id order.reload; expect(order.bill_address.firstname).to eq "Bill" expect(order.bill_address.lastname).to eq bill_address_attrs["lastname"] @@ -216,7 +216,7 @@ describe OrderSyncer do it "only updates bill_address attrs" do subscription.assign_attributes(params) expect(syncer.sync!).to be true - expect(syncer.order_update_issues.keys).to_not include order.id + expect(syncer.order_update_issues.keys).not_to include order.id order.reload; expect(order.bill_address.firstname).to eq "Bill" expect(order.bill_address.lastname).to eq bill_address_attrs["lastname"] @@ -278,7 +278,7 @@ describe OrderSyncer do it "does not change the ship address" do subscription.assign_attributes(params) expect(syncer.sync!).to be true - expect(syncer.order_update_issues.keys).to_not include order.id + expect(syncer.order_update_issues.keys).not_to include order.id order.reload; expect(order.ship_address.firstname).to eq bill_address_attrs["firstname"] expect(order.ship_address.lastname).to eq bill_address_attrs["lastname"] @@ -355,7 +355,7 @@ describe OrderSyncer do it "updates ship_address attrs" do subscription.assign_attributes(params) expect(syncer.sync!).to be true - expect(syncer.order_update_issues.keys).to_not include order.id + expect(syncer.order_update_issues.keys).not_to include order.id order.reload; expect(order.ship_address.firstname).to eq "Ship" expect(order.ship_address.lastname).to eq ship_address_attrs["lastname"] diff --git a/spec/services/permissions/order_spec.rb b/spec/services/permissions/order_spec.rb index 0bad56530c..2e3ba313ee 100644 --- a/spec/services/permissions/order_spec.rb +++ b/spec/services/permissions/order_spec.rb @@ -70,9 +70,9 @@ module Permissions it "only returns completed, non-cancelled orders within search filter range" do expect(permissions.visible_orders).to include order_completed - expect(permissions.visible_orders).to_not include order_cancelled - expect(permissions.visible_orders).to_not include order_cart - expect(permissions.visible_orders).to_not include order_from_last_year + expect(permissions.visible_orders).not_to include order_cancelled + expect(permissions.visible_orders).not_to include order_cart + expect(permissions.visible_orders).not_to include order_from_last_year end end end @@ -99,7 +99,7 @@ module Permissions context "which does not contain my products" do it "should not let me see the order" do - expect(permissions.visible_orders).to_not include order + expect(permissions.visible_orders).not_to include order end end end @@ -113,7 +113,7 @@ module Permissions end it "should not let me see the order" do - expect(permissions.visible_orders).to_not include order + expect(permissions.visible_orders).not_to include order end end end @@ -172,7 +172,7 @@ module Permissions it "should let me see the line_items pertaining to variants I produce" do ps = permissions.visible_line_items expect(ps).to include line_item1 - expect(ps).to_not include line_item2 + expect(ps).not_to include line_item2 end end @@ -185,7 +185,7 @@ module Permissions end it "should not let me see the line_items" do - expect(permissions.visible_line_items).to_not include line_item1, line_item2 + expect(permissions.visible_line_items).not_to include line_item1, line_item2 end end @@ -205,10 +205,10 @@ module Permissions it "only returns line items from completed, " \ "non-cancelled orders within search filter range" do expect(permissions.visible_line_items).to include order_completed.line_items.first - expect(permissions.visible_line_items).to_not include order_cancelled.line_items.first - expect(permissions.visible_line_items).to_not include order_cart.line_items.first + expect(permissions.visible_line_items).not_to include order_cancelled.line_items.first + expect(permissions.visible_line_items).not_to include order_cart.line_items.first expect(permissions.visible_line_items) - .to_not include order_from_last_year.line_items.first + .not_to include order_from_last_year.line_items.first end end end diff --git a/spec/services/place_proxy_order_spec.rb b/spec/services/place_proxy_order_spec.rb index 0b83120734..ba6db17353 100644 --- a/spec/services/place_proxy_order_spec.rb +++ b/spec/services/place_proxy_order_spec.rb @@ -57,7 +57,7 @@ describe PlaceProxyOrder do it "records an issue and ignores it" do expect(summarizer).to receive(:record_issue).with(:complete, order).once - expect { subject.call }.to_not change { order.reload.state } + expect { subject.call }.not_to change { order.reload.state } expect(order.payments.first.state).to eq "checkout" expect(ActionMailer::Base.deliveries.count).to be 0 end diff --git a/spec/services/products_renderer_spec.rb b/spec/services/products_renderer_spec.rb index 669f42c896..e14a6832d0 100644 --- a/spec/services/products_renderer_spec.rb +++ b/spec/services/products_renderer_spec.rb @@ -195,13 +195,13 @@ describe ProductsRenderer do it "scopes variants to distribution" do expect(variants[p.id]).to include v1 - expect(variants[p.id]).to_not include v2 + expect(variants[p.id]).not_to include v2 end it "does not render variants that have been hidden by the hub" do # but does render 'new' variants, ie. v1 expect(variants[p.id]).to include v1, v3 - expect(variants[p.id]).to_not include v4 + expect(variants[p.id]).not_to include v4 end context "when hub opts to only see variants in its inventory" do @@ -212,7 +212,7 @@ describe ProductsRenderer do it "doesn't render variants that haven't been explicitly added to inventory for the hub" do # but does render 'new' variants, ie. v1 expect(variants[p.id]).to include v3 - expect(variants[p.id]).to_not include v1, v4 + expect(variants[p.id]).not_to include v1, v4 end end end diff --git a/spec/services/sets/model_set_spec.rb b/spec/services/sets/model_set_spec.rb index c8b22866ce..b783872f9e 100644 --- a/spec/services/sets/model_set_spec.rb +++ b/spec/services/sets/model_set_spec.rb @@ -79,7 +79,7 @@ describe Sets::ModelSet do expect(subject.errors.full_messages).to eq ["Product Name can't be blank"] expect(subject.invalid).to include product_a - expect(subject.invalid).to_not include product_b + expect(subject.invalid).not_to include product_b end end end diff --git a/spec/services/sets/product_set_spec.rb b/spec/services/sets/product_set_spec.rb index e35dfa6d17..88eb990e9d 100644 --- a/spec/services/sets/product_set_spec.rb +++ b/spec/services/sets/product_set_spec.rb @@ -130,7 +130,7 @@ describe Sets::ProductSet do }.to change { product.supplier }.to(producer). and change { order_cycle.distributed_variants.count }.by(-1) - expect(order_cycle.distributed_variants).to_not include product.variants.first + expect(order_cycle.distributed_variants).not_to include product.variants.first end end end @@ -163,7 +163,7 @@ describe Sets::ProductSet do expect { product_set.save product.reload - }.to_not change { product.sku } + }.not_to change { product.sku } expect(product_set.saved_count).to be_zero expect(product_set.invalid.count).to be_positive @@ -173,7 +173,7 @@ describe Sets::ProductSet do expect { product_set.save variant.reload - }.to_not change { variant.sku } + }.not_to change { variant.sku } end it 'assigns the in-memory attributes of the variant' do @@ -239,7 +239,7 @@ describe Sets::ProductSet do let(:variant_attributes) { { sku: "var_sku", display_name: "A" * 256 } } # maximum length include_examples "nothing saved" do - after { expect(variant2.reload.sku).to_not eq "var_sku2" } + after { expect(variant2.reload.sku).not_to eq "var_sku2" } end end end diff --git a/spec/services/tax_rate_updater_spec.rb b/spec/services/tax_rate_updater_spec.rb index 6f030f9108..baa3b6d4a6 100644 --- a/spec/services/tax_rate_updater_spec.rb +++ b/spec/services/tax_rate_updater_spec.rb @@ -12,7 +12,7 @@ describe TaxRateUpdater do describe "#updated_rate" do it "returns a cloned (unsaved) tax rate with the new attributes assigned" do - expect(new_tax_rate).to_not be old_tax_rate + expect(new_tax_rate).not_to be old_tax_rate expect(new_tax_rate.amount).to eq params[:amount] expect(new_tax_rate.id).to be_nil expect(new_tax_rate.calculator.class).to eq old_tax_rate.calculator.class @@ -34,9 +34,9 @@ describe TaxRateUpdater do context "when saving the new tax_rate fails" do it "does not delete the old tax_rate and returns a falsey value" do expect(new_tax_rate).to receive(:save) { false } - expect(old_tax_rate).to_not receive(:destroy) + expect(old_tax_rate).not_to receive(:destroy) - expect(service.transition_rate!).to_not be_truthy + expect(service.transition_rate!).not_to be_truthy end end end diff --git a/spec/services/terms_of_service_spec.rb b/spec/services/terms_of_service_spec.rb index 28ed199546..22151ee0bc 100644 --- a/spec/services/terms_of_service_spec.rb +++ b/spec/services/terms_of_service_spec.rb @@ -37,7 +37,7 @@ describe TermsOfService do it "should always return true" do expect { allow(TermsOfServiceFile).to receive(:exists?) { false } - }.to_not change { + }.not_to change { TermsOfService.tos_accepted?(customer) }.from(true) end diff --git a/spec/services/voucher_adjustments_service_spec.rb b/spec/services/voucher_adjustments_service_spec.rb index 18cd4baa55..87df60558e 100644 --- a/spec/services/voucher_adjustments_service_spec.rb +++ b/spec/services/voucher_adjustments_service_spec.rb @@ -264,7 +264,7 @@ describe VoucherAdjustmentsService do context 'when no order given' do it "doesn't blow up" do - expect { VoucherAdjustmentsService.new(nil).update }.to_not raise_error + expect { VoucherAdjustmentsService.new(nil).update }.not_to raise_error end end @@ -272,7 +272,7 @@ describe VoucherAdjustmentsService do let(:order) { create(:order_with_line_items, line_items_count: 1, distributor: enterprise) } it "doesn't blow up" do - expect { VoucherAdjustmentsService.new(order).update }.to_not raise_error + expect { VoucherAdjustmentsService.new(order).update }.not_to raise_error end end end diff --git a/spec/support/ability_helpers.rb b/spec/support/ability_helpers.rb index c474c8363d..9614525917 100644 --- a/spec/support/ability_helpers.rb +++ b/spec/support/ability_helpers.rb @@ -19,15 +19,15 @@ end shared_examples_for 'access denied' do it 'should not allow read' do - expect(subject).to_not be_able_to(:read, resource) + expect(subject).not_to be_able_to(:read, resource) end it 'should not allow create' do - expect(subject).to_not be_able_to(:create, resource) + expect(subject).not_to be_able_to(:create, resource) end it 'should not allow update' do - expect(subject).to_not be_able_to(:update, resource) + expect(subject).not_to be_able_to(:update, resource) end end @@ -40,7 +40,7 @@ end shared_examples_for 'admin denied' do it 'should not allow admin' do - expect(subject).to_not be_able_to(:admin, resource) + expect(subject).not_to be_able_to(:admin, resource) end end @@ -52,7 +52,7 @@ end shared_examples_for 'no index allowed' do it 'should not allow index' do - expect(subject).to_not be_able_to(:index, resource) + expect(subject).not_to be_able_to(:index, resource) end end @@ -62,25 +62,25 @@ shared_examples_for 'create only' do end it 'should not allow read' do - expect(subject).to_not be_able_to(:read, resource) + expect(subject).not_to be_able_to(:read, resource) end it 'should not allow update' do - expect(subject).to_not be_able_to(:update, resource) + expect(subject).not_to be_able_to(:update, resource) end it 'should not allow index' do - expect(subject).to_not be_able_to(:index, resource) + expect(subject).not_to be_able_to(:index, resource) end end shared_examples_for 'read only' do it 'should not allow create' do - expect(subject).to_not be_able_to(:create, resource) + expect(subject).not_to be_able_to(:create, resource) end it 'should not allow update' do - expect(subject).to_not be_able_to(:update, resource) + expect(subject).not_to be_able_to(:update, resource) end it 'should allow index' do @@ -90,11 +90,11 @@ end shared_examples_for 'update only' do it 'should not allow create' do - expect(subject).to_not be_able_to(:create, resource) + expect(subject).not_to be_able_to(:create, resource) end it 'should not allow read' do - expect(subject).to_not be_able_to(:read, resource) + expect(subject).not_to be_able_to(:read, resource) end it 'should allow update' do @@ -102,7 +102,7 @@ shared_examples_for 'update only' do end it 'should not allow index' do - expect(subject).to_not be_able_to(:index, resource) + expect(subject).not_to be_able_to(:index, resource) end end diff --git a/spec/support/request/authentication_helper.rb b/spec/support/request/authentication_helper.rb index cd76c527c6..804551bbb3 100644 --- a/spec/support/request/authentication_helper.rb +++ b/spec/support/request/authentication_helper.rb @@ -20,7 +20,7 @@ module AuthenticationHelper def expect_logged_in # Ensure page has been reloaded after submitting login form - expect(page).to_not have_selector ".menu #login-link" - expect(page).to_not have_content "Login" + expect(page).not_to have_selector ".menu #login-link" + expect(page).not_to have_content "Login" end end diff --git a/spec/support/request/shop_workflow.rb b/spec/support/request/shop_workflow.rb index 81a3ebdab2..1b34f6ab23 100644 --- a/spec/support/request/shop_workflow.rb +++ b/spec/support/request/shop_workflow.rb @@ -11,7 +11,7 @@ module ShopWorkflow within find_body do # We ignore visibility in case the cart dropdown is not open. within '.cart-sidebar', visible: false do - expect(page).to_not have_link "Updating cart...", visible: false + expect(page).not_to have_link "Updating cart...", visible: false end end end diff --git a/spec/system/admin/adjustments_spec.rb b/spec/system/admin/adjustments_spec.rb index 9f5a3b1f67..cbe5f8f7d5 100644 --- a/spec/system/admin/adjustments_spec.rb +++ b/spec/system/admin/adjustments_spec.rb @@ -178,8 +178,8 @@ describe ' it "displays adjustments" do click_link 'Adjustments' - expect(page).to_not have_selector 'tr a.icon-edit' - expect(page).to_not have_selector 'a.icon-plus', text: 'New Adjustment' + expect(page).not_to have_selector 'tr a.icon-edit' + expect(page).not_to have_selector 'a.icon-plus', text: 'New Adjustment' end end end diff --git a/spec/system/admin/bulk_order_management_spec.rb b/spec/system/admin/bulk_order_management_spec.rb index fd42412e38..e324e0747e 100644 --- a/spec/system/admin/bulk_order_management_spec.rb +++ b/spec/system/admin/bulk_order_management_spec.rb @@ -139,7 +139,7 @@ describe ' expect(page).to have_button("« First", disabled: true) expect(page).to have_button("Previous", disabled: true) expect(page).to have_button("1", disabled: true) - expect(page).to_not have_button("2") + expect(page).not_to have_button("2") expect(page).to have_button("Next", disabled: true) expect(page).to have_button("Last »", disabled: true) select2_select "100 per page", from: "autogen4" # should display all 20 line items @@ -1105,7 +1105,7 @@ describe ' end expect(page).to have_selector "a.delete-line-item", count: 1 expect(o2.reload.state).to eq("canceled") - end.to_not have_enqueued_mail(Spree::OrderMailer, :cancel_email) + end.not_to have_enqueued_mail(Spree::OrderMailer, :cancel_email) end it "the user can confirm + wants to send email confirmation : line item is " \ @@ -1123,7 +1123,7 @@ describe ' it "the user can confirm + uncheck the restock option: line item is then deleted and " \ "order is canceled without retocking" do - expect_any_instance_of(Spree::StockLocation).to_not receive(:restock) + expect_any_instance_of(Spree::StockLocation).not_to receive(:restock) expect do within(".modal") do uncheck("Restock Items: return all items to stock") diff --git a/spec/system/admin/customers_spec.rb b/spec/system/admin/customers_spec.rb index 0cac8bb172..b8ab97768e 100644 --- a/spec/system/admin/customers_spec.rb +++ b/spec/system/admin/customers_spec.rb @@ -102,7 +102,7 @@ describe 'Customers' do text: 'Delete failed: This customer has ' \ 'active subscriptions. Cancel them first.' click_button "OK" - }.to_not change{ Customer.count } + }.not_to change{ Customer.count } expect{ within "tr#c_#{customer2.id}" do @@ -153,8 +153,8 @@ describe 'Customers' do expect(page).to have_content "$-99.00" end within "tr#c_#{customer4.id}" do - expect(page).to_not have_content "CREDIT OWED" - expect(page).to_not have_content "BALANCE DUE" + expect(page).not_to have_content "CREDIT OWED" + expect(page).not_to have_content "BALANCE DUE" expect(page).to have_content "$0.00" end end @@ -370,7 +370,7 @@ describe 'Customers' do first('#bill-address-link').click expect(page).to have_content 'Edit Billing Address' - expect(page).to_not have_content 'Please input all of the required fields' + expect(page).not_to have_content 'Please input all of the required fields' end it 'creates a new shipping address' do @@ -436,7 +436,7 @@ describe 'Customers' do click_button 'Add Customer' expect(page).to have_selector "#new-customer-dialog .error", text: "Please enter a valid email address" - }.to_not change{ Customer.of(managed_distributor1).count } + }.not_to change{ Customer.of(managed_distributor1).count } # When an invalid email with domain is used it's checked by "valid_email2" gem #7886 expect{ @@ -444,7 +444,7 @@ describe 'Customers' do click_button 'Add Customer' expect(page).to have_selector "#new-customer-dialog .error", text: "Email is invalid" - }.to_not change{ Customer.of(managed_distributor1).count } + }.not_to change{ Customer.of(managed_distributor1).count } # When a new valid email is used expect{ diff --git a/spec/system/admin/enterprise_fees_spec.rb b/spec/system/admin/enterprise_fees_spec.rb index be3a7c8e5d..53dbaf2e33 100644 --- a/spec/system/admin/enterprise_fees_spec.rb +++ b/spec/system/admin/enterprise_fees_spec.rb @@ -153,7 +153,7 @@ describe ' # editing to an invalid combination select 'Flat Rate (per order)', from: "#{prefix}_calculator_type" - expect{ click_button 'Update' }.to_not change { fee.reload.calculator_type } + expect{ click_button 'Update' }.not_to change { fee.reload.calculator_type } expect(page).to have_content "Inheriting the tax categeory requires a per-item calculator." end end diff --git a/spec/system/admin/enterprises/connected_apps_spec.rb b/spec/system/admin/enterprises/connected_apps_spec.rb index 2b61f6466f..2be667e904 100644 --- a/spec/system/admin/enterprises/connected_apps_spec.rb +++ b/spec/system/admin/enterprises/connected_apps_spec.rb @@ -16,7 +16,7 @@ describe "Connected Apps", feature: :connected_apps, vcr: true do # removing one day. Flipper.disable(:connected_apps) visit edit_admin_enterprise_path(enterprise) - expect(page).to_not have_content "CONNECTED APPS" + expect(page).not_to have_content "CONNECTED APPS" Flipper.enable(:connected_apps, enterprise.owner) visit edit_admin_enterprise_path(enterprise) @@ -36,18 +36,18 @@ describe "Connected Apps", feature: :connected_apps, vcr: true do expect(page).to have_content "Discover Regenerative" click_button "Allow data sharing" - expect(page).to_not have_button "Allow data sharing" + expect(page).not_to have_button "Allow data sharing" expect(page).to have_button "Loading", disabled: true perform_enqueued_jobs(only: ConnectAppJob) - expect(page).to_not have_button "Loading", disabled: true + expect(page).not_to have_button "Loading", disabled: true expect(page).to have_content "account is connected" expect(page).to have_link "Manage listing" click_button "Stop sharing" expect(page).to have_button "Allow data sharing" - expect(page).to_not have_button "Stop sharing" - expect(page).to_not have_content "account is connected" - expect(page).to_not have_link "Manage listing" + expect(page).not_to have_button "Stop sharing" + expect(page).not_to have_content "account is connected" + expect(page).not_to have_link "Manage listing" end end diff --git a/spec/system/admin/enterprises/index_spec.rb b/spec/system/admin/enterprises/index_spec.rb index 7e5c7489f9..c79780b490 100644 --- a/spec/system/admin/enterprises/index_spec.rb +++ b/spec/system/admin/enterprises/index_spec.rb @@ -93,9 +93,9 @@ describe 'Enterprises Index' do "#{manager.email} is not permitted to own any more enterprises (limit is 1)." ) second_distributor.reload - }.to_not change { second_distributor.owner } + }.not_to change { second_distributor.owner } - expect(second_distributor.owner).to_not eq manager + expect(second_distributor.owner).not_to eq manager end def select_new_owner(user, enterprise) diff --git a/spec/system/admin/enterprises/terms_and_conditions_spec.rb b/spec/system/admin/enterprises/terms_and_conditions_spec.rb index 9b8eace1f2..e8a5f33bd7 100644 --- a/spec/system/admin/enterprises/terms_and_conditions_spec.rb +++ b/spec/system/admin/enterprises/terms_and_conditions_spec.rb @@ -50,7 +50,7 @@ describe "Uploading Terms and Conditions PDF" do click_button "Update" expect(page). to have_content "Enterprise \"#{distributor.name}\" has been successfully updated!" - expect(distributor.reload.terms_and_conditions_blob.created_at).to_not eq run_time + expect(distributor.reload.terms_and_conditions_blob.created_at).not_to eq run_time go_to_business_details expect(page).to have_selector "a[href*='Terms-of-ServiceUK.pdf']" diff --git a/spec/system/admin/enterprises_spec.rb b/spec/system/admin/enterprises_spec.rb index 388c5a931c..2de6304a42 100644 --- a/spec/system/admin/enterprises_spec.rb +++ b/spec/system/admin/enterprises_spec.rb @@ -588,7 +588,7 @@ describe ' expect do click_button "Invite" expect(page).to have_content "Email is invalid" - end.to_not enqueue_job ActionMailer::MailDeliveryJob + end.not_to enqueue_job ActionMailer::MailDeliveryJob end end @@ -600,7 +600,7 @@ describe ' expect do click_button "Invite" expect(page).to have_content "User already exists" - end.to_not enqueue_job ActionMailer::MailDeliveryJob + end.not_to enqueue_job ActionMailer::MailDeliveryJob end end @@ -698,7 +698,7 @@ describe ' end expect(flash_message).to match(/Logo removed/) distributor1.reload - expect(distributor1.white_label_logo).to_not be_attached + expect(distributor1.white_label_logo).not_to be_attached end shared_examples "edit link with" do |url, result| diff --git a/spec/system/admin/oidc_settings_spec.rb b/spec/system/admin/oidc_settings_spec.rb index 160a9ca189..3402bc6797 100644 --- a/spec/system/admin/oidc_settings_spec.rb +++ b/spec/system/admin/oidc_settings_spec.rb @@ -6,7 +6,7 @@ describe "OIDC Settings" do it "requires login" do visit admin_oidc_settings_path expect(page).to have_button "Login" - expect(page).to_not have_button "Link your Les Communs OIDC Account" + expect(page).not_to have_button "Link your Les Communs OIDC Account" end describe "with valid login" do @@ -36,7 +36,7 @@ describe "OIDC Settings" do expect(page).to have_content "Tokens to access connected apps have expired" click_button "Refresh authorisation" - expect(page).to_not have_content "Tokens to access connected apps have expired" + expect(page).not_to have_content "Tokens to access connected apps have expired" end end end diff --git a/spec/system/admin/order_cycles/complex_editing_multiple_product_pages_spec.rb b/spec/system/admin/order_cycles/complex_editing_multiple_product_pages_spec.rb index 0317722eaf..2284bee556 100644 --- a/spec/system/admin/order_cycles/complex_editing_multiple_product_pages_spec.rb +++ b/spec/system/admin/order_cycles/complex_editing_multiple_product_pages_spec.rb @@ -26,7 +26,7 @@ describe ' expect(page).to have_selector ".exchange-product-details" expect(page).to have_content "1 of 2 Variants Loaded" - expect(page).to_not have_content new_product.name + expect(page).not_to have_content new_product.name end it "load all products" do diff --git a/spec/system/admin/order_cycles/simple_spec.rb b/spec/system/admin/order_cycles/simple_spec.rb index 0d2be4f125..087665d92d 100644 --- a/spec/system/admin/order_cycles/simple_spec.rb +++ b/spec/system/admin/order_cycles/simple_spec.rb @@ -207,7 +207,7 @@ describe ' # I should see only the order cycle I am coordinating expect(page).to have_selector "tr.order-cycle-#{oc_user_coordinating.id}" - expect(page).to_not have_selector "tr.order-cycle-#{oc_for_other_user.id}" + expect(page).not_to have_selector "tr.order-cycle-#{oc_for_other_user.id}" toggle_columns "Producers", "Shops" @@ -263,7 +263,7 @@ describe ' click_button 'Save and Next' expect(page).to have_content 'Your order cycle has been updated.' - expect(page).to_not have_content "Loading..." + expect(page).not_to have_content "Loading..." expect(page).to have_select 'new_distributor_id' expect(page).not_to have_select 'new_distributor_id', @@ -578,7 +578,7 @@ describe ' expect(page).to have_selector "tr.supplier-#{supplier_managed.id}" expect(page).to have_selector 'tr.supplier', count: 1 - expect(page).to_not have_content "Loading..." + expect(page).not_to have_content "Loading..." # Open the products list for managed_supplier's incoming exchange within "tr.supplier-#{supplier_managed.id}" do @@ -847,7 +847,7 @@ describe ' accept_alert do first('a.delete-order-cycle').click end - expect(page).to_not have_selector "tr.order-cycle-#{order_cycle.id}" + expect(page).not_to have_selector "tr.order-cycle-#{order_cycle.id}" end private diff --git a/spec/system/admin/order_spec.rb b/spec/system/admin/order_spec.rb index 82060106d1..6462c3cda7 100644 --- a/spec/system/admin/order_spec.rb +++ b/spec/system/admin/order_spec.rb @@ -210,7 +210,7 @@ describe ' end expect(page).to have_content "Cannot add item to canceled order" expect(order.reload.state).to eq("canceled") - end.to_not have_enqueued_mail(Spree::OrderMailer, :cancel_email) + end.not_to have_enqueued_mail(Spree::OrderMailer, :cancel_email) end it "and the items are not restocked when the user uncheck the checkbox to restock items" do @@ -359,7 +359,7 @@ describe ' within("tr.stock-item", text: order.products.first.name) do expect(page).to have_field :quantity, with: max_quantity.to_s end - expect { item.reload }.to_not change { item.quantity } + expect { item.reload }.not_to change { item.quantity } end it "there are infinite items available (variant is on demand)" do @@ -430,7 +430,7 @@ describe ' find("button.add_variant").click end - expect(page).to_not have_selector("table.stock-levels") + expect(page).not_to have_selector("table.stock-levels") expect(page).to have_selector("table.stock-contents") within("tr.stock-item") do @@ -752,7 +752,7 @@ describe ' it "can edit shipping method" do visit spree.edit_admin_order_path(order) - expect(page).to_not have_content different_shipping_method_for_distributor1.name + expect(page).not_to have_content different_shipping_method_for_distributor1.name find('.edit-method').click expect(page).to have_select2('selected_shipping_rate_id', @@ -857,7 +857,7 @@ describe ' it "can edit and delete tracking number" do test_tracking_number = "ABCCBA" - expect(page).to_not have_content test_tracking_number + expect(page).not_to have_content test_tracking_number find('.edit-tracking').click fill_in "tracking", with: test_tracking_number @@ -871,18 +871,18 @@ describe ' # the alert box vanishes and tracking num is still present expect(page).to have_content 'Are you sure?' find('.cancel').click - expect(page).to_not have_content 'Are you sure?' + expect(page).not_to have_content 'Are you sure?' expect(page).to have_content test_tracking_number find('.delete-tracking.icon-trash').click expect(page).to have_content 'Are you sure?' find('.confirm').click - expect(page).to_not have_content test_tracking_number + expect(page).not_to have_content test_tracking_number end it "can edit and delete note" do test_note = "this is a note" - expect(page).to_not have_content test_note + expect(page).not_to have_content test_note find('.edit-note.icon-edit').click fill_in "note", with: test_note @@ -896,13 +896,13 @@ describe ' # the alert box vanishes and note is still present expect(page).to have_content 'Are you sure?' find('.cancel').click - expect(page).to_not have_content 'Are you sure?' + expect(page).not_to have_content 'Are you sure?' expect(page).to have_content test_note find('.delete-note.icon-trash').click expect(page).to have_content 'Are you sure?' find('.confirm').click - expect(page).to_not have_content test_note + expect(page).not_to have_content test_note end it "viewing shipping fees" do @@ -949,7 +949,7 @@ describe ' uncheck 'Send a shipment/pick up notification email to the customer.' expect { find_button("Confirm").click - }.to_not enqueue_job(ActionMailer::MailDeliveryJob) + }.not_to enqueue_job(ActionMailer::MailDeliveryJob) end save_screenshot('~/hello.png') @@ -986,7 +986,7 @@ describe ' uncheck 'Send a shipment/pick up notification email to the customer.' expect { find_button("Confirm").click - }.to_not enqueue_job(ActionMailer::MailDeliveryJob) + }.not_to enqueue_job(ActionMailer::MailDeliveryJob) end expect(order.reload.shipped?).to be true @@ -1012,7 +1012,7 @@ describe ' order.cancel! visit spree.edit_admin_order_path(order) within("tr.stock-item", text: order.products.first.name) do - expect(page).to_not have_selector("a.edit-item") + expect(page).not_to have_selector("a.edit-item") end end end @@ -1035,12 +1035,12 @@ describe ' accept_alert 'Are you sure?' do find("a.delete-resource").click end - expect(page).to_not have_content incomplete_order.products.first.name + expect(page).not_to have_content incomplete_order.products.first.name end # updates the order and verifies the warning disappears click_button 'Update And Recalculate Fees' - expect(page).to_not have_content "Out of Stock".upcase + expect(page).not_to have_content "Out of Stock".upcase end end end @@ -1058,11 +1058,11 @@ describe ' expect(page).to have_selector 'td', text: product.name expect(page).to have_select2 'order_distributor_id', with_options: [distributor1.name] - expect(page).to_not have_select2 'order_distributor_id', with_options: [distributor2.name] + expect(page).not_to have_select2 'order_distributor_id', with_options: [distributor2.name] expect(page).to have_select2 'order_order_cycle_id', with_options: ["#{order_cycle1.name} (open)"] - expect(page).to_not have_select2 'order_order_cycle_id', + expect(page).not_to have_select2 'order_order_cycle_id', with_options: ["#{order_cycle2.name} (open)"] click_button 'Update' @@ -1189,7 +1189,7 @@ describe ' # and disappear after clicking expect(page).not_to have_link "Create or Update Invoice" - expect(page).to_not have_content "The order has changed since the last invoice update." + expect(page).not_to have_content "The order has changed since the last invoice update." # creating an invoice, displays a second row expect(page.find("table").text).to have_content(table_contents) diff --git a/spec/system/admin/orders/invoices_spec.rb b/spec/system/admin/orders/invoices_spec.rb index f0712f9e5d..e57f83f350 100644 --- a/spec/system/admin/orders/invoices_spec.rb +++ b/spec/system/admin/orders/invoices_spec.rb @@ -55,7 +55,7 @@ describe ' context 'order not updated since latest invoice' do it 'should not render new invoice button' do click_link 'Invoices' - expect(page).to_not have_link "Create or Update Invoice" + expect(page).not_to have_link "Create or Update Invoice" end end diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index 6693aeaed6..30cd03ac3c 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -115,7 +115,7 @@ describe ' # Order 2 and 3 should show, but not 4 expect(page).to have_content order2.number expect(page).to have_content order3.number - expect(page).to_not have_content order4.number + expect(page).not_to have_content order4.number end it "filter by distributors" do @@ -126,7 +126,7 @@ describe ' # Order 2 and 4 should show, but not 3 expect(page).to have_content order2.number - expect(page).to_not have_content order3.number + expect(page).not_to have_content order3.number expect(page).to have_content order4.number end @@ -138,7 +138,7 @@ describe ' page.find('.filter-actions .button[type=submit]').click # Order 3 and 4 should show, but not 2 - expect(page).to_not have_content order2.number + expect(page).not_to have_content order2.number expect(page).to have_content order3.number expect(page).to have_content order4.number end @@ -149,9 +149,9 @@ describe ' page.find('.filter-actions .button[type=submit]').click # Order 3 should show, but not 2 and 4 - expect(page).to_not have_content order2.number + expect(page).not_to have_content order2.number expect(page).to have_content order3.number - expect(page).to_not have_content order4.number + expect(page).not_to have_content order4.number end it "filter by customer first and last names" do @@ -161,8 +161,8 @@ describe ' page.find('.filter-actions .button[type=submit]').click # Order 2 should show, but not 3 and 4 expect(page).to have_content order2.number - expect(page).to_not have_content order3.number - expect(page).to_not have_content order4.number + expect(page).not_to have_content order3.number + expect(page).not_to have_content order4.number find("#clear_filters_button").click # filtering by last name @@ -170,8 +170,8 @@ describe ' fill_in "Last name begins with", with: billing_address4.lastname page.find('.filter-actions .button[type=submit]').click # Order 4 should show, but not 2 and 3 - expect(page).to_not have_content order2.number - expect(page).to_not have_content order3.number + expect(page).not_to have_content order2.number + expect(page).not_to have_content order3.number expect(page).to have_content order4.number find("#clear_filters_button").click @@ -194,16 +194,16 @@ describe ' page.find('.filter-actions .button[type=submit]').click # Order 2 should show, but not 3 and 5 expect(page).to have_content order2.number - expect(page).to_not have_content order3.number - expect(page).to_not have_content order4.number + expect(page).not_to have_content order3.number + expect(page).not_to have_content order4.number find("#clear_filters_button").click tomselect_search_and_select "Signed, sealed, delivered", from: 'shipping_method_id' page.find('.filter-actions .button[type=submit]').click # Order 4 should show, but not 2 and 3 - expect(page).to_not have_content order2.number - expect(page).to_not have_content order3.number + expect(page).not_to have_content order2.number + expect(page).not_to have_content order3.number expect(page).to have_content order4.number end @@ -214,8 +214,8 @@ describe ' # Order 2 should show, but not 3 and 4 expect(page).to have_content order2.number - expect(page).to_not have_content order3.number - expect(page).to_not have_content order4.number + expect(page).not_to have_content order3.number + expect(page).not_to have_content order4.number end it "filter by order state" do @@ -236,10 +236,10 @@ describe ' # Order 2 should show, but not 3 and 4 expect(page).to have_content order.number - expect(page).to_not have_content order2.number - expect(page).to_not have_content order3.number - expect(page).to_not have_content order4.number - expect(page).to_not have_content order5.number + expect(page).not_to have_content order2.number + expect(page).not_to have_content order3.number + expect(page).not_to have_content order4.number + expect(page).not_to have_content order5.number end end @@ -496,11 +496,11 @@ describe ' page.find("#listing_orders thead th:first-child input[type=checkbox]").trigger("click") expect(page.find( "#listing_orders tbody tr td:first-child input[type=checkbox]" - )).to_not be_checked + )).not_to be_checked # disables print invoices button not clickable expect { find("span.icon-reorder", text: "ACTIONS").click } .to raise_error(Capybara::Cuprite::MouseEventFailed) - expect(page).to_not have_content "Print Invoices" + expect(page).not_to have_content "Print Invoices" end end @@ -645,7 +645,7 @@ describe ' uncheck "Send a cancellation email to the customer" expect { find_button("Cancel").click # Cancels the cancel action - }.to_not enqueue_job(ActionMailer::MailDeliveryJob).exactly(:twice) + }.not_to enqueue_job(ActionMailer::MailDeliveryJob).exactly(:twice) end page.find("span.icon-reorder", text: "ACTIONS").click @@ -656,7 +656,7 @@ describe ' within ".reveal-modal" do expect { find_button("Confirm").click # Confirms the cancel action - }.to_not enqueue_job(ActionMailer::MailDeliveryJob).exactly(:twice) + }.not_to enqueue_job(ActionMailer::MailDeliveryJob).exactly(:twice) end expect(page).to have_content("CANCELLED", count: 2) @@ -697,7 +697,7 @@ describe ' within ".reveal-modal" do expect { find_button("Confirm").click - }.to_not enqueue_job(ActionMailer::MailDeliveryJob) + }.not_to enqueue_job(ActionMailer::MailDeliveryJob) end end end diff --git a/spec/system/admin/product_import_spec.rb b/spec/system/admin/product_import_spec.rb index c6793b29b2..6cc91970a6 100644 --- a/spec/system/admin/product_import_spec.rb +++ b/spec/system/admin/product_import_spec.rb @@ -278,11 +278,11 @@ describe "Product Import" do proceed_to_validation expect(page).to have_selector '.item-count', text: "3" - expect(page).to_not have_selector '.invalid-count' + expect(page).not_to have_selector '.invalid-count' expect(page).to have_selector '.create-count', text: "3" - expect(page).to_not have_selector '.update-count' - expect(page).to_not have_selector '.inv-create-count' - expect(page).to_not have_selector '.inv-update-count' + expect(page).not_to have_selector '.update-count' + expect(page).not_to have_selector '.inv-create-count' + expect(page).not_to have_selector '.inv-update-count' save_data diff --git a/spec/system/admin/products_spec.rb b/spec/system/admin/products_spec.rb index 12f1cddee5..8f497f086f 100644 --- a/spec/system/admin/products_spec.rb +++ b/spec/system/admin/products_spec.rb @@ -714,13 +714,13 @@ describe ' visit spree.admin_product_images_path(product) expect(page).to have_selector "table.index td img" - expect(product.reload.image).to_not be_nil + expect(product.reload.image).not_to be_nil accept_alert do page.find('a.delete-resource').click end - expect(page).to_not have_selector "table.index td img" + expect(page).not_to have_selector "table.index td img" expect(product.reload.image).to be_nil end diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 6164d1ecf2..e79e7558f2 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -258,7 +258,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect { click_button "Discard changes" product_a.reload - }.to_not change { product_a.name } + }.not_to change { product_a.name } within row_containing_name("Apples") do expect(page).to have_field "Name", with: "Apples" # Changed value wasn't saved @@ -295,7 +295,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_content "1 product could not be saved" expect(page).to have_content "Please review the errors and try again" product_a.reload - }.to_not change { product_a.name } + }.not_to change { product_a.name } # (there's no identifier displayed, so the user must remember which product it is..) within row_containing_name("") do @@ -320,7 +320,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_content("1 product could not be saved") product_a.reload - }.to_not change { product_a.name } + }.not_to change { product_a.name } within row_containing_name("") do fill_in "Name", with: "Pommes" @@ -408,7 +408,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_content "1 product could not be saved" expect(page).to have_content "Please review the errors and try again" variant_a1.reload - }.to_not change { variant_a1.display_name } + }.not_to change { variant_a1.display_name } # New variant within row_containing_name("N" * 256) do @@ -433,7 +433,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do click_button "Save changes" variant_a1.reload - }.to_not change { variant_a1.display_name } + }.not_to change { variant_a1.display_name } within row_containing_name("N" * 256) do fill_in "Name", with: "Nice box" @@ -527,7 +527,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_content "1 product could not be saved" expect(page).to have_content "Please review the errors and try again" variant_a1.reload - }.to_not change { variant_a1.display_name } + }.not_to change { variant_a1.display_name } # New variant within row_containing_name("N" * 256) do @@ -552,7 +552,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do click_button "Save changes" variant_a1.reload - }.to_not change { variant_a1.display_name } + }.not_to change { variant_a1.display_name } within row_containing_name("N" * 256) do fill_in "Name", with: "Nice box" @@ -595,7 +595,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect { click_button "Save changes" product_a.reload - }.to_not change { product_a.name } + }.not_to change { product_a.name } expect(page).not_to have_content("0 product was saved correctly, but") expect(page).to have_content("1 product could not be saved") @@ -699,7 +699,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do within row_containing_name("Medium box") do page.find(".vertical-ellipsis-menu").click - expect(page).to_not have_link "Clone", href: spree.clone_admin_product_path(product_a) + expect(page).not_to have_link "Clone", href: spree.clone_admin_product_path(product_a) end end end @@ -711,7 +711,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do input_content = page.find_all('input[type=text]').map(&:value).join # Products does not include the cloned product. - expect(input_content).to_not match /COPY OF Apples/ + expect(input_content).not_to match /COPY OF Apples/ end within row_containing_name("Apples") do @@ -757,7 +757,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do # to select the default variant within default_variant_selector do page.find(".vertical-ellipsis-menu").click - expect(page).to_not have_css(delete_option_selector) + expect(page).not_to have_css(delete_option_selector) end end @@ -806,7 +806,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do page.find(keep_button_selector).click end - expect(page).to_not have_selector(modal_selector) + expect(page).not_to have_selector(modal_selector) expect(page).to have_selector(product_selector) # Keep Variant @@ -819,7 +819,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do page.find(keep_button_selector).click end - expect(page).to_not have_selector(modal_selector) + expect(page).not_to have_selector(modal_selector) expect(page).to have_selector(variant_selector) end end @@ -839,10 +839,10 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do page.find(delete_button_selector).click end - expect(page).to_not have_selector(modal_selector) + expect(page).not_to have_selector(modal_selector) # Make sure the products loading spinner is hidden wait_for_class('.spinner-overlay', 'hidden') - expect(page).to_not have_selector(variant_selector) + expect(page).not_to have_selector(variant_selector) within success_flash_message_selector do expect(page).to have_content("Successfully deleted the variant") page.find(dismiss_button_selector).click @@ -857,10 +857,10 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do within modal_selector do page.find(delete_button_selector).click end - expect(page).to_not have_selector(modal_selector) + expect(page).not_to have_selector(modal_selector) # Make sure the products loading spinner is hidden wait_for_class('.spinner-overlay', 'hidden') - expect(page).to_not have_selector(product_selector) + expect(page).not_to have_selector(product_selector) within success_flash_message_selector do expect(page).to have_content("Successfully deleted the product") end @@ -881,7 +881,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do page.find(delete_button_selector).click end - expect(page).to_not have_selector(modal_selector) + expect(page).not_to have_selector(modal_selector) sleep(0.5) # delay for loading spinner to complete expect(page).to have_selector(variant_selector) within error_flash_message_selector do @@ -898,7 +898,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do within modal_selector do page.find(delete_button_selector).click end - expect(page).to_not have_selector(modal_selector) + expect(page).not_to have_selector(modal_selector) sleep(0.5) # delay for loading spinner to complete expect(page).to have_selector(product_selector) within error_flash_message_selector do diff --git a/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_producer_spec.rb b/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_producer_spec.rb index b85a67b156..d31796eea4 100644 --- a/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_producer_spec.rb +++ b/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_producer_spec.rb @@ -532,10 +532,10 @@ describe "Enterprise Summary Fee with Tax Report By Producer" do expect(table).to have_content(cost_of_produce2) expect(table).to have_content(summary_row2) - expect(table).to_not have_content(supplier_state_tax1) - expect(table).to_not have_content(supplier_country_tax1) - expect(table).to_not have_content(cost_of_produce1) - expect(table).to_not have_content(summary_row1) + expect(table).not_to have_content(supplier_state_tax1) + expect(table).not_to have_content(supplier_country_tax1) + expect(table).not_to have_content(cost_of_produce1) + expect(table).not_to have_content(summary_row1) end it "should filter by fee name" do @@ -550,19 +550,19 @@ describe "Enterprise Summary Fee with Tax Report By Producer" do expect(table).to have_content(supplier_state_tax1) expect(table).to have_content(supplier_country_tax1) - expect(table).to_not have_content(distributor_state_tax1) - expect(table).to_not have_content(distributor_country_tax1) - expect(table).to_not have_content(coordinator_state_tax1) - expect(table).to_not have_content(coordinator_country_tax1) + expect(table).not_to have_content(distributor_state_tax1) + expect(table).not_to have_content(distributor_country_tax1) + expect(table).not_to have_content(coordinator_state_tax1) + expect(table).not_to have_content(coordinator_country_tax1) expect(table).to have_content(cost_of_produce1) expect(table).to have_content(summary_row1) expect(table).to have_content(supplier_state_tax3) expect(table).to have_content(supplier_country_tax3) - expect(table).to_not have_content(distributor_state_tax3) - expect(table).to_not have_content(distributor_country_tax3) - expect(table).to_not have_content(coordinator_state_tax3) - expect(table).to_not have_content(coordinator_country_tax3) + expect(table).not_to have_content(distributor_state_tax3) + expect(table).not_to have_content(distributor_country_tax3) + expect(table).not_to have_content(coordinator_state_tax3) + expect(table).not_to have_content(coordinator_country_tax3) expect(table).to have_content(cost_of_produce3) expect(table).to have_content(summary_row3) end @@ -577,10 +577,10 @@ describe "Enterprise Summary Fee with Tax Report By Producer" do table = page.find("table.report__table tbody") expect(table).to have_content(supplier_state_tax1) expect(table).to have_content(supplier_country_tax1) - expect(table).to_not have_content(distributor_state_tax1) - expect(table).to_not have_content(distributor_country_tax1) - expect(table).to_not have_content(coordinator_state_tax1) - expect(table).to_not have_content(coordinator_country_tax1) + expect(table).not_to have_content(distributor_state_tax1) + expect(table).not_to have_content(distributor_country_tax1) + expect(table).not_to have_content(coordinator_state_tax1) + expect(table).not_to have_content(coordinator_country_tax1) expect(table).to have_content(cost_of_produce1) expect(table).to have_content(summary_row_after_filtering_by_fee_owner) end diff --git a/spec/system/admin/subscriptions/crud_spec.rb b/spec/system/admin/subscriptions/crud_spec.rb index 57dc122521..8882defc20 100644 --- a/spec/system/admin/subscriptions/crud_spec.rb +++ b/spec/system/admin/subscriptions/crud_spec.rb @@ -371,7 +371,7 @@ describe 'Subscriptions' do expect{ click_button('Create Subscription') expect(page).to have_content 'Please add at least one product' - }.to_not change { Subscription.count } + }.not_to change { Subscription.count } end context 'and adding a new product' do diff --git a/spec/system/admin/subscriptions/smoke_tests_spec.rb b/spec/system/admin/subscriptions/smoke_tests_spec.rb index 48a77da579..348721ac33 100644 --- a/spec/system/admin/subscriptions/smoke_tests_spec.rb +++ b/spec/system/admin/subscriptions/smoke_tests_spec.rb @@ -33,7 +33,7 @@ describe 'Subscriptions' do expect(page).to have_content "Just a few more steps before you can begin" # subscriptions are enabled, instructions are not displayed - expect(page).to_not have_content 'Under "Shop Preferences", / + expect(page).not_to have_content 'Under "Shop Preferences", / enable the Subscriptions option' # other relevant instructions are displayed @@ -54,7 +54,7 @@ describe 'Subscriptions' do end it "the subscriptions tab is not visible" do expect(page).to have_current_path "/admin/orders" - expect(page).to_not have_link "Subscriptions", href: "/admin/subscriptions" + expect(page).not_to have_link "Subscriptions", href: "/admin/subscriptions" end end end diff --git a/spec/system/admin/tos_banner_spec.rb b/spec/system/admin/tos_banner_spec.rb index 902d11071f..8fe256558b 100644 --- a/spec/system/admin/tos_banner_spec.rb +++ b/spec/system/admin/tos_banner_spec.rb @@ -26,11 +26,11 @@ describe 'Terms of Service banner' do click_button "Accept Terms of Service" admin_user.reload end.to change { admin_user.terms_of_service_accepted_at } - expect(page).to_not have_content("Terms of Service have been updated") + expect(page).not_to have_content("Terms of Service have been updated") # Check the banner doesn't show again once ToS has been accepted page.refresh - expect(page).to_not have_content("Terms of Service have been updated") + expect(page).not_to have_content("Terms of Service have been updated") end end diff --git a/spec/system/admin/variants_spec.rb b/spec/system/admin/variants_spec.rb index 0a7e462d03..e8487959c3 100644 --- a/spec/system/admin/variants_spec.rb +++ b/spec/system/admin/variants_spec.rb @@ -167,7 +167,7 @@ describe ' login_as_admin visit spree.edit_admin_product_variant_path(product, variant) - expect(page).to_not have_field "unit_value_human" + expect(page).not_to have_field "unit_value_human" expect(page).to have_field "variant_weight" expect(page).to have_field "variant_unit_description", with: "foo" diff --git a/spec/system/consumer/account/cards_spec.rb b/spec/system/consumer/account/cards_spec.rb index 6271125544..a4228031b6 100644 --- a/spec/system/consumer/account/cards_spec.rb +++ b/spec/system/consumer/account/cards_spec.rb @@ -53,7 +53,7 @@ describe "Credit Cards" do within(".card#card#{non_default_card.id}") do expect(page).to have_content non_default_card.cc_type.capitalize expect(page).to have_content non_default_card.last_digits - expect(find_field('default_card')).to_not be_checked + expect(find_field('default_card')).not_to be_checked end # Allows switching of default card @@ -73,7 +73,7 @@ describe "Credit Cards" do expect(default_card.reload.is_default).to be false within(".card#card#{default_card.id}") do - expect(find_field('default_card')).to_not be_checked + expect(find_field('default_card')).not_to be_checked end expect(non_default_card.reload.is_default).to be true @@ -94,7 +94,7 @@ describe "Credit Cards" do # Allows authorisation of card use by shops within "tr#customer#{customer.id}" do - expect(find_field('allow_charges')).to_not be_checked + expect(find_field('allow_charges')).not_to be_checked find_field('allow_charges').click end expect(page).to have_content 'Changes saved.' diff --git a/spec/system/consumer/account/developer_settings_spec.rb b/spec/system/consumer/account/developer_settings_spec.rb index 078ac6c906..704a4a986e 100644 --- a/spec/system/consumer/account/developer_settings_spec.rb +++ b/spec/system/consumer/account/developer_settings_spec.rb @@ -47,7 +47,7 @@ describe "Developer Settings" do click_button I18n.t(:delete) expect(page.document).to have_content I18n.t('webhook_endpoints.destroy.success') - expect(page).to_not have_content "https://url" + expect(page).not_to have_content "https://url" end end end @@ -59,7 +59,7 @@ describe "Developer Settings" do it "does not show the developer settings tab" do within("#account-tabs") do - expect(page).to_not have_selector("a", text: "DEVELOPER SETTINGS") + expect(page).not_to have_selector("a", text: "DEVELOPER SETTINGS") end end end diff --git a/spec/system/consumer/account/payments_spec.rb b/spec/system/consumer/account/payments_spec.rb index 76399a7d29..b88a3932f5 100644 --- a/spec/system/consumer/account/payments_spec.rb +++ b/spec/system/consumer/account/payments_spec.rb @@ -38,7 +38,7 @@ describe "Payments requiring action" do visit "/account" find("a", text: /Transactions/i).click - expect(page).to_not have_content 'Authorisation Required' + expect(page).not_to have_content 'Authorisation Required' end end end diff --git a/spec/system/consumer/account/settings_spec.rb b/spec/system/consumer/account/settings_spec.rb index 2a6e4c2a6d..d20e870db9 100644 --- a/spec/system/consumer/account/settings_spec.rb +++ b/spec/system/consumer/account/settings_spec.rb @@ -47,7 +47,7 @@ Your email address will be updated once the new email is confirmed." % 'new@emai click_button 'Update' expect(find(".alert-box.success").text.strip).to eq "Account updated!\n×" - expect(user.reload.encrypted_password).to_not eq initial_password + expect(user.reload.encrypted_password).not_to eq initial_password end end end diff --git a/spec/system/consumer/caching/darkswarm_caching_spec.rb b/spec/system/consumer/caching/darkswarm_caching_spec.rb index 908a4e2b16..eea29f8cb2 100644 --- a/spec/system/consumer/caching/darkswarm_caching_spec.rb +++ b/spec/system/consumer/caching/darkswarm_caching_spec.rb @@ -35,8 +35,8 @@ describe "Darkswarm data caching", caching: true do visit shops_path - expect(Spree::Taxon).to_not receive(:all) - expect(Spree::Property).to_not receive(:all) + expect(Spree::Taxon).not_to receive(:all) + expect(Spree::Property).not_to receive(:all) visit shops_path end @@ -66,7 +66,7 @@ describe "Darkswarm data caching", caching: true do visit shops_path # Wait for /shops page to load properly before checking for new timestamps - expect(page).to_not have_selector ".row.filter-box" + expect(page).not_to have_selector ".row.filter-box" taxon_timestamp2 = CacheService.latest_timestamp_by_class(Spree::Taxon) expect_cached "views/#{CacheService::FragmentCaching.ams_all_taxons[0]}" @@ -74,8 +74,8 @@ describe "Darkswarm data caching", caching: true do property_timestamp2 = CacheService.latest_timestamp_by_class(Spree::Property) expect_cached "views/#{CacheService::FragmentCaching.ams_all_properties[0]}" - expect(taxon_timestamp1).to_not eq taxon_timestamp2 - expect(property_timestamp1).to_not eq property_timestamp2 + expect(taxon_timestamp1).not_to eq taxon_timestamp2 + expect(property_timestamp1).not_to eq property_timestamp2 toggle_filters diff --git a/spec/system/consumer/caching/shops_caching_spec.rb b/spec/system/consumer/caching/shops_caching_spec.rb index 50ae90160b..7c84c6c2f8 100644 --- a/spec/system/consumer/caching/shops_caching_spec.rb +++ b/spec/system/consumer/caching/shops_caching_spec.rb @@ -38,7 +38,7 @@ describe "Shops caching", caching: true do visit shops_path - expect(page).to_not have_content "New Name" # Displayed name is unchanged + expect(page).not_to have_content "New Name" # Displayed name is unchanged end # A while later... diff --git a/spec/system/consumer/checkout/details_spec.rb b/spec/system/consumer/checkout/details_spec.rb index d44b0cc2ad..6f83576155 100644 --- a/spec/system/consumer/checkout/details_spec.rb +++ b/spec/system/consumer/checkout/details_spec.rb @@ -152,7 +152,7 @@ describe "As a consumer, I want to checkout my order" do before do expect { proceed_to_payment - }.to_not change { + }.not_to change { user.reload.bill_address } end @@ -206,7 +206,7 @@ describe "As a consumer, I want to checkout my order" do before do expect { proceed_to_payment - }.to_not change { + }.not_to change { user.reload.ship_address } end diff --git a/spec/system/consumer/checkout/summary_spec.rb b/spec/system/consumer/checkout/summary_spec.rb index f36dfa5f22..1b27719717 100644 --- a/spec/system/consumer/checkout/summary_spec.rb +++ b/spec/system/consumer/checkout/summary_spec.rb @@ -131,9 +131,9 @@ describe "As a consumer, I want to checkout my order" do visit checkout_step_path(:summary) within "#checkout" do - expect(page).to_not have_field "order_accept_terms" - expect(page).to_not have_link "Terms and Conditions" - expect(page).to_not have_link "Terms of service" + expect(page).not_to have_field "order_accept_terms" + expect(page).not_to have_link "Terms and Conditions" + expect(page).not_to have_link "Terms of service" end end end @@ -347,7 +347,7 @@ describe "As a consumer, I want to checkout my order" do order.distributor.save visit checkout_step_path(:summary) - expect(page).to_not have_content("You have an order for this order cycle already.") + expect(page).not_to have_content("You have an order for this order cycle already.") end end @@ -393,8 +393,8 @@ describe "As a consumer, I want to checkout my order" do it_behaves_like "order confirmation page", "PAID", "50" do before do - expect(page).to_not have_selector('h5', text: "Credit Owed") - expect(page).to_not have_selector('h5', text: "Balance Due") + expect(page).not_to have_selector('h5', text: "Credit Owed") + expect(page).not_to have_selector('h5', text: "Balance Due") end end end diff --git a/spec/system/consumer/groups_spec.rb b/spec/system/consumer/groups_spec.rb index 289a6256f8..93734d88db 100644 --- a/spec/system/consumer/groups_spec.rb +++ b/spec/system/consumer/groups_spec.rb @@ -110,10 +110,10 @@ describe 'Groups' do it "adjusts visibilities of enterprises depending on their status" do expect(page).to have_css('hub', text: d1.name) - expect(page).to_not have_css('hub.inactive', text: d1.name) + expect(page).not_to have_css('hub.inactive', text: d1.name) expect(page).to have_css('hub', text: d2.name) - expect(page).to_not have_css('hub.inactive', text: d2.name) - expect(page).to_not have_text d3.name + expect(page).not_to have_css('hub.inactive', text: d2.name) + expect(page).not_to have_text d3.name expect(page).to have_css('hub.inactive', text: d4.name) end diff --git a/spec/system/consumer/registration_spec.rb b/spec/system/consumer/registration_spec.rb index 90abf8adbb..e95c69812a 100644 --- a/spec/system/consumer/registration_spec.rb +++ b/spec/system/consumer/registration_spec.rb @@ -102,7 +102,7 @@ describe "Registration" do # Upload logo image attach_file "image-select", Rails.root.join("spec/fixtures/files/logo.png"), visible: false expect(page).not_to have_css('#image-placeholder .loading') - expect(page.find('#image-placeholder img')['src']).to_not be_empty + expect(page.find('#image-placeholder img')['src']).not_to be_empty # Move from logo page click_button "Continue" @@ -111,7 +111,7 @@ describe "Registration" do # Upload promo image attach_file "image-select", Rails.root.join("spec/fixtures/files/promo.png"), visible: false expect(page).not_to have_css('#image-placeholder .loading') - expect(page.find('#image-placeholder img')['src']).to_not be_empty + expect(page.find('#image-placeholder img')['src']).not_to be_empty # Move from promo page click_button "Continue" diff --git a/spec/system/consumer/shopping/cart_spec.rb b/spec/system/consumer/shopping/cart_spec.rb index bbeb6fb747..3cd4150e2a 100644 --- a/spec/system/consumer/shopping/cart_spec.rb +++ b/spec/system/consumer/shopping/cart_spec.rb @@ -246,13 +246,13 @@ describe "full-page cart" do # Quantity field clearly marked as invalid and "Update" button is not highlighted expect(page).to have_selector "#order_line_items_attributes_0_quantity.ng-invalid-stock" - expect(page).to_not have_selector "#update-button.alert" + expect(page).not_to have_selector "#update-button.alert" fill_in "order_line_items_attributes_0_quantity", with: 4 # Quantity field not marked as invalid and "Update" button is # highlighted after correction - expect(page).to_not have_selector( + expect(page).not_to have_selector( "#order_line_items_attributes_0_quantity.ng-invalid-stock" ) expect(page).to have_selector "#update-button.alert" @@ -260,8 +260,8 @@ describe "full-page cart" do click_button 'Update' # "Continue Shopping" and "Checkout" buttons are not disabled after cart is updated - expect(page).to_not have_selector "a.continue-shopping[disabled=disabled]" - expect(page).to_not have_selector "a#checkout-link[disabled=disabled]" + expect(page).not_to have_selector "a.continue-shopping[disabled=disabled]" + expect(page).not_to have_selector "a#checkout-link[disabled=disabled]" end end end @@ -318,7 +318,7 @@ describe "full-page cart" do end it "doesn't throw an error" do - expect{ visit main_app.cart_path }.to_not raise_error + expect{ visit main_app.cart_path }.not_to raise_error end end end diff --git a/spec/system/consumer/shopping/orders_spec.rb b/spec/system/consumer/shopping/orders_spec.rb index 5d599f8df3..0aaf4e4cc7 100644 --- a/spec/system/consumer/shopping/orders_spec.rb +++ b/spec/system/consumer/shopping/orders_spec.rb @@ -44,7 +44,7 @@ describe "Order Management" do it "allows the user to see the details" do # Cannot load the page without token visit order_path(order) - expect(page).to_not be_confirmed_order_page + expect(page).not_to be_confirmed_order_page # Can load the page with token visit order_path(order, order_token: order.token) @@ -87,7 +87,7 @@ describe "Order Management" do it "allows the user to see order details after login" do # Cannot load the page without signing in visit order_path(order) - expect(page).to_not be_confirmed_order_page + expect(page).not_to be_confirmed_order_page # Can load the page after signing in fill_in_and_submit_login_form user diff --git a/spec/system/consumer/shopping/shopping_spec.rb b/spec/system/consumer/shopping/shopping_spec.rb index 76ac389892..07f6e736ea 100644 --- a/spec/system/consumer/shopping/shopping_spec.rb +++ b/spec/system/consumer/shopping/shopping_spec.rb @@ -62,7 +62,7 @@ describe "As a consumer I want to shop with a distributor" do (all_tabs - tabs).each do |tab| it "does not show the #{tab} tab" do within ".tab-buttons" do - expect(page).to_not have_content tab + expect(page).not_to have_content tab end end end @@ -132,8 +132,8 @@ describe "As a consumer I want to shop with a distributor" do end it "does not show the producer modal" do - expect(page).to_not have_link supplier.name - expect(page).to_not have_selector ".reveal-modal" + expect(page).not_to have_link supplier.name + expect(page).not_to have_selector ".reveal-modal" end end end @@ -549,7 +549,7 @@ describe "As a consumer I want to shop with a distributor" do click_add_to_cart variant - expect(page).to_not have_selector '.out-of-stock-modal' + expect(page).not_to have_selector '.out-of-stock-modal' end context "group buy products" do diff --git a/spec/system/consumer/shops_spec.rb b/spec/system/consumer/shops_spec.rb index 037e7b470f..02fccfd130 100644 --- a/spec/system/consumer/shops_spec.rb +++ b/spec/system/consumer/shops_spec.rb @@ -246,7 +246,7 @@ describe 'Shops' do it "does not show the producer modal" do open_enterprise_modal producer - expect(page).to_not have_selector(".reveal-modal") + expect(page).not_to have_selector(".reveal-modal") end end end diff --git a/spec/system/consumer/user_password_spec.rb b/spec/system/consumer/user_password_spec.rb index 8d6ea91577..a744aac85c 100644 --- a/spec/system/consumer/user_password_spec.rb +++ b/spec/system/consumer/user_password_spec.rb @@ -40,7 +40,7 @@ describe "User password confirm/reset page" do click_button expect(page).to have_text "User password cannot be blank. Please enter a password." - expect(page).to_not be_logged_in_as user + expect(page).not_to be_logged_in_as user end end diff --git a/spec/system/consumer/white_label_spec.rb b/spec/system/consumer/white_label_spec.rb index 756dca658c..6fe7645ec6 100644 --- a/spec/system/consumer/white_label_spec.rb +++ b/spec/system/consumer/white_label_spec.rb @@ -381,7 +381,7 @@ describe 'White label setting' do shared_examples "shows the right link on the logo" do it "shows the white label logo link" do within ".nav-logo .ofn-logo" do - expect(page).to_not have_selector "a[href='/']" + expect(page).not_to have_selector "a[href='/']" expect(page).to have_selector "a[href*='https://www.example.com']" end end diff --git a/spec/views/checkout/_voucher_section.html.haml_spec.rb b/spec/views/checkout/_voucher_section.html.haml_spec.rb index 90683f7c57..36aa3e0776 100644 --- a/spec/views/checkout/_voucher_section.html.haml_spec.rb +++ b/spec/views/checkout/_voucher_section.html.haml_spec.rb @@ -40,7 +40,7 @@ describe "checkout/_voucher_section.html.haml" do assign(:order, order) render - expect(rendered).to_not have_content(note) + expect(rendered).not_to have_content(note) end def add_voucher(voucher, order) diff --git a/spec/views/spree/admin/orders/edit.html.haml_spec.rb b/spec/views/spree/admin/orders/edit.html.haml_spec.rb index c1417cf7b2..9376b9188e 100644 --- a/spec/views/spree/admin/orders/edit.html.haml_spec.rb +++ b/spec/views/spree/admin/orders/edit.html.haml_spec.rb @@ -54,8 +54,8 @@ describe "spree/admin/orders/edit.html.haml" do it "doesn't display a table of out of stock line items" do render - expect(rendered).to_not have_content "Out of Stock" - expect(rendered).to_not have_selector ".insufficient-stock-items", + expect(rendered).not_to have_content "Out of Stock" + expect(rendered).not_to have_selector ".insufficient-stock-items", text: out_of_stock_line_item.variant.display_name end end @@ -63,7 +63,7 @@ describe "spree/admin/orders/edit.html.haml" do it "doesn't display closed associated adjustments" do render - expect(rendered).to_not have_content "Associated adjustment closed" + expect(rendered).not_to have_content "Associated adjustment closed" end end @@ -96,14 +96,14 @@ describe "spree/admin/orders/edit.html.haml" do it "doesn't display a table of out of stock line items" do render - expect(rendered).to_not have_content "Out of Stock" + expect(rendered).not_to have_content "Out of Stock" end end it "doesn't display closed associated adjustments" do render - expect(rendered).to_not have_content "Associated adjustment closed" + expect(rendered).not_to have_content "Associated adjustment closed" end end end diff --git a/spec/views/spree/admin/orders/index.html.haml_spec.rb b/spec/views/spree/admin/orders/index.html.haml_spec.rb index eac6b8d5a8..04641e5159 100644 --- a/spec/views/spree/admin/orders/index.html.haml_spec.rb +++ b/spec/views/spree/admin/orders/index.html.haml_spec.rb @@ -38,7 +38,7 @@ describe "spree/admin/orders/index.html.haml" do render - expect(rendered).to_not have_content("Print Invoices") + expect(rendered).not_to have_content("Print Invoices") expect(rendered).to have_content("Resend Confirmation") expect(rendered).to have_content("Cancel Orders") end diff --git a/spec/views/spree/admin/orders/invoice.html.haml_spec.rb b/spec/views/spree/admin/orders/invoice.html.haml_spec.rb index f0aebd480e..c76950e869 100644 --- a/spec/views/spree/admin/orders/invoice.html.haml_spec.rb +++ b/spec/views/spree/admin/orders/invoice.html.haml_spec.rb @@ -82,7 +82,7 @@ describe "spree/admin/orders/invoice.html.haml" do render expect(rendered).to have_content "Shipping: Pickup" - expect(rendered).to_not have_content adas_address_display + expect(rendered).not_to have_content adas_address_display end it "displays order note on invoice when note is given" do From b82496b8a13b0328f6579bf54bce54901ff6e5c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 09:31:25 +0000 Subject: [PATCH 074/374] chore(deps): bump i18n from 1.14.3 to 1.14.4 Bumps [i18n](https://github.com/ruby-i18n/i18n) from 1.14.3 to 1.14.4. - [Release notes](https://github.com/ruby-i18n/i18n/releases) - [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/ruby-i18n/i18n/compare/v1.14.3...v1.14.4) --- updated-dependencies: - dependency-name: i18n dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 6c7104c14d..a92aa704f1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -334,9 +334,8 @@ GEM hashie (5.0.0) highline (2.0.3) htmlentities (4.3.4) - i18n (1.14.3) + i18n (1.14.4) concurrent-ruby (~> 1.0) - racc (~> 1.7) i18n-js (3.9.2) i18n (>= 0.6.6) image_processing (1.12.2) From 7849f30f46063074fff03530515f9cd3d7239d74 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 7 Mar 2024 14:20:16 +0000 Subject: [PATCH 075/374] Update Stripe API recordings for new version --- Gemfile.lock | 2 +- .../saves_the_card_locally.yml | 98 +++--- .../_credit/refunds_the_payment.yml | 166 ++++----- ...t_intent_state_is_not_requires_capture.yml | 90 ++--- .../_purchase/completes_the_purchase.yml | 174 +++++----- ..._error_message_to_help_developer_debug.yml | 96 +++--- .../refunds_the_payment.yml | 232 +++++++------ .../void_the_payment.yml | 156 +++++---- ...stroys_the_record_and_notifies_Bugsnag.yml | 32 +- .../destroys_the_record.yml | 66 ++-- .../returns_true.yml | 166 ++++----- .../returns_false.yml | 134 ++++---- .../returns_failed_response.yml | 62 ++-- ...tus_with_Stripe_PaymentIntentValidator.yml | 92 ++--- .../returns_nil.yml | 62 ++-- .../clones_the_payment_method_only.yml | 142 ++++---- ...th_the_payment_method_and_the_customer.yml | 316 ++++++++++-------- .../raises_an_error.yml | 50 +-- .../deletes_the_credit_card_clone.yml | 92 ++--- ...the_credit_card_clone_and_the_customer.yml | 144 ++++---- ...t_intent_last_payment_error_as_message.yml | 110 +++--- ...t_intent_last_payment_error_as_message.yml | 110 +++--- ...t_intent_last_payment_error_as_message.yml | 110 +++--- ...t_intent_last_payment_error_as_message.yml | 110 +++--- ...t_intent_last_payment_error_as_message.yml | 110 +++--- ...t_intent_last_payment_error_as_message.yml | 110 +++--- ...t_intent_last_payment_error_as_message.yml | 110 +++--- ...t_intent_last_payment_error_as_message.yml | 110 +++--- .../captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../from_Diners_Club/captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../from_Discover/captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../from_JCB/captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../from_Mastercard/captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../from_UnionPay/captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../from_Visa/captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- .../from_Visa_debit_/captures_the_payment.yml | 198 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 98 +++--- ...rd_id_from_the_correct_response_fields.yml | 74 ++-- .../when_request_fails/raises_an_error.yml | 136 ++++---- .../allows_to_refund_the_payment.yml | 230 +++++++------ 61 files changed, 4310 insertions(+), 3822 deletions(-) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml (74%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml (77%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml (79%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml (82%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml (66%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml (78%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml (77%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml (77%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml (77%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml (78%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml (78%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml (77%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml (76%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml (79%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.11.0}/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml (82%) diff --git a/Gemfile.lock b/Gemfile.lock index 6c7104c14d..9a482139db 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -746,7 +746,7 @@ GEM stimulus_reflex (>= 3.3.0) stringex (2.8.6) stringio (3.1.0) - stripe (10.10.0) + stripe (10.11.0) swd (2.0.3) activesupport (>= 3) attr_required (>= 0.0.5) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml similarity index 74% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml index 2b5bca5272..968531e898 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml @@ -8,7 +8,7 @@ http_interactions: string: card[number]=4242424242424242&card[exp_month]=9&card[exp_year]=2024&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: @@ -16,10 +16,10 @@ http_interactions: Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -32,11 +32,11 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:05 GMT + - Thu, 07 Mar 2024 14:16:48 GMT Content-Type: - application/json Content-Length: - - '850' + - '849' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -56,12 +56,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Ftokens; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 606d6e97-76cd-4483-b3b6-80f03f3f68ec + - efe14657-131e-4db9-808f-a87f15eaa01f Original-Request: - - req_W0FTNkXUslyGbo + - req_rSCJvIBuQdlw68 Request-Id: - - req_W0FTNkXUslyGbo + - req_rSCJvIBuQdlw68 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -76,10 +78,10 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "tok_1OoDOzKuuB1fWySnkUeLfdE0", + "id": "tok_1OrhkaKuuB1fWySnM8AzVJqP", "object": "token", "card": { - "id": "card_1OoDOzKuuB1fWySn26fKjH8z", + "id": "card_1OrhkZKuuB1fWySnP2xXtiCk", "object": "card", "address_city": null, "address_country": null, @@ -106,35 +108,35 @@ http_interactions: "tokenization_method": null, "wallet": null }, - "client_ip": "124.188.129.192", - "created": 1708989365, + "client_ip": "176.79.242.165", + "created": 1709821008, "livemode": false, "type": "card", "used": false } - recorded_at: Mon, 26 Feb 2024 23:16:05 GMT + recorded_at: Thu, 07 Mar 2024 14:16:48 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: email=karena_dickinson%40kuhlman.ca&source=tok_1OoDOzKuuB1fWySnkUeLfdE0 + string: email=olevia.schumm%40koeppondricka.com&source=tok_1OrhkaKuuB1fWySnM8AzVJqP headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_W0FTNkXUslyGbo","request_duration_ms":533}}' + - '{"last_request_metrics":{"request_id":"req_rSCJvIBuQdlw68","request_duration_ms":698}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -147,11 +149,11 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:06 GMT + - Thu, 07 Mar 2024 14:16:49 GMT Content-Type: - application/json Content-Length: - - '666' + - '670' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -171,12 +173,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1169b4a3-4493-48e0-96d0-24d1aaa965d2 + - 39a72761-656d-4911-adc2-40f94e6ae427 Original-Request: - - req_DMHZU8xd2ShaRW + - req_9dDtXPOE9Kpo23 Request-Id: - - req_DMHZU8xd2ShaRW + - req_9dDtXPOE9Kpo23 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -191,18 +195,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PdUNukPAyUst7M", + "id": "cus_Ph5wyyVZX7uWCo", "object": "customer", "address": null, "balance": 0, - "created": 1708989366, + "created": 1709821008, "currency": null, - "default_source": "card_1OoDOzKuuB1fWySn26fKjH8z", + "default_source": "card_1OrhkZKuuB1fWySnP2xXtiCk", "delinquent": false, "description": null, "discount": null, - "email": "karena_dickinson@kuhlman.ca", - "invoice_prefix": "FC2002CD", + "email": "olevia.schumm@koeppondricka.com", + "invoice_prefix": "60D0C6C3", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -219,29 +223,29 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 26 Feb 2024 23:16:06 GMT + recorded_at: Thu, 07 Mar 2024 14:16:49 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PdUNukPAyUst7M/sources?limit=1&object=card + uri: https://api.stripe.com/v1/customers/cus_Ph5wyyVZX7uWCo/sources?limit=1&object=card body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DMHZU8xd2ShaRW","request_duration_ms":973}}' + - '{"last_request_metrics":{"request_id":"req_9dDtXPOE9Kpo23","request_duration_ms":1090}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -254,7 +258,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:07 GMT + - Thu, 07 Mar 2024 14:16:50 GMT Content-Type: - application/json Content-Length: @@ -279,8 +283,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_MZVWecwtG9mJav + - req_fQBUTPOEqROOqL Stripe-Version: - '2023-10-16' Vary: @@ -296,7 +302,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1OoDOzKuuB1fWySn26fKjH8z", + "id": "card_1OrhkZKuuB1fWySnP2xXtiCk", "object": "card", "address_city": null, "address_country": null, @@ -308,7 +314,7 @@ http_interactions: "address_zip_check": null, "brand": "Visa", "country": "US", - "customer": "cus_PdUNukPAyUst7M", + "customer": "cus_Ph5wyyVZX7uWCo", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 9, @@ -323,7 +329,7 @@ http_interactions: } ], "has_more": false, - "url": "/v1/customers/cus_PdUNukPAyUst7M/sources" + "url": "/v1/customers/cus_Ph5wyyVZX7uWCo/sources" } - recorded_at: Mon, 26 Feb 2024 23:16:07 GMT + recorded_at: Thu, 07 Mar 2024 14:16:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml index 55f69d9eb6..bcf31312a7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_o2i92svEF6wZ9X","request_duration_ms":396}}' + - '{"last_request_metrics":{"request_id":"req_Ygyk8WK16L1gRK","request_duration_ms":363}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:09 GMT + - Thu, 07 Mar 2024 14:19:33 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3d3d1721-0516-4615-b6d1-dcf32c7fe0b2 + - e6810745-fb00-4f83-af75-6a6973817f82 Original-Request: - - req_FYW1iyKrExg9pI + - req_dZpbuijhJGzFAH Request-Id: - - req_FYW1iyKrExg9pI + - req_dZpbuijhJGzFAH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Ooeff4DenidF2LU", + "id": "acct_1OrhnDQSCN0LLDld", "object": "account", "business_profile": { "annual_revenue": null, @@ -100,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709094188, + "created": 1709821172, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -109,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Ooeff4DenidF2LU/external_accounts" + "url": "/v1/accounts/acct_1OrhnDQSCN0LLDld/external_accounts" }, "future_requirements": { "alternatives": [], @@ -206,7 +208,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Wed, 28 Feb 2024 04:23:09 GMT + recorded_at: Thu, 07 Mar 2024 14:19:33 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -215,22 +217,22 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FYW1iyKrExg9pI","request_duration_ms":1973}}' + - '{"last_request_metrics":{"request_id":"req_dZpbuijhJGzFAH","request_duration_ms":1799}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ooeff4DenidF2LU + - acct_1OrhnDQSCN0LLDld Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -243,7 +245,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:11 GMT + - Thu, 07 Mar 2024 14:19:34 GMT Content-Type: - application/json Content-Length: @@ -267,14 +269,16 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ee331c2c-1b37-4a83-a81b-96388aa9da31 + - ed4c3131-6484-495b-95f2-d70282da3da6 Original-Request: - - req_0zdTS2eXS52wv3 + - req_GMWrNtR4vvIB1h Request-Id: - - req_0zdTS2eXS52wv3 + - req_GMWrNtR4vvIB1h Stripe-Account: - - acct_1Ooeff4DenidF2LU + - acct_1OrhnDQSCN0LLDld Stripe-Should-Retry: - 'false' Stripe-Version: @@ -289,7 +293,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ooefi4DenidF2LU1DyZ34Mm", + "id": "pi_3OrhnFQSCN0LLDld1C0tbXhE", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -303,20 +307,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3Ooefi4DenidF2LU1DyZ34Mm_secret_w379gPpBGChVwBEUepP0qlRB0", + "client_secret": "pi_3OrhnFQSCN0LLDld1C0tbXhE_secret_5YLiS3lolGER5ciJhJXFFXUrw", "confirmation_method": "automatic", - "created": 1709094190, + "created": 1709821173, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ooefi4DenidF2LU1gG37Leq", + "latest_charge": "ch_3OrhnFQSCN0LLDld1q6EpWIy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ooefh4DenidF2LU9tRCdeQl", + "payment_method": "pm_1OrhnFQSCN0LLDldIsZefyEo", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -341,10 +345,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:23:11 GMT + recorded_at: Thu, 07 Mar 2024 14:19:35 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ooefi4DenidF2LU1DyZ34Mm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnFQSCN0LLDld1C0tbXhE body: encoding: US-ASCII string: '' @@ -360,7 +364,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Ooeff4DenidF2LU + - acct_1OrhnDQSCN0LLDld Connection: - close Accept-Encoding: @@ -375,7 +379,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:11 GMT + - Thu, 07 Mar 2024 14:19:35 GMT Content-Type: - application/json Content-Length: @@ -400,10 +404,12 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_dpwxzBlEqboYmG + - req_LzqtUZUE9VW6dM Stripe-Account: - - acct_1Ooeff4DenidF2LU + - acct_1OrhnDQSCN0LLDld Stripe-Version: - '2020-08-27' Vary: @@ -416,7 +422,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ooefi4DenidF2LU1DyZ34Mm", + "id": "pi_3OrhnFQSCN0LLDld1C0tbXhE", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -434,7 +440,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3Ooefi4DenidF2LU1gG37Leq", + "id": "ch_3OrhnFQSCN0LLDld1q6EpWIy", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -442,7 +448,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Ooefi4DenidF2LU1A5YW6L5", + "balance_transaction": "txn_3OrhnFQSCN0LLDld1AMvB9YV", "billing_details": { "address": { "city": null, @@ -458,7 +464,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709094190, + "created": 1709821174, "currency": "aud", "customer": null, "description": null, @@ -478,13 +484,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 60, + "risk_score": 38, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Ooefi4DenidF2LU1DyZ34Mm", - "payment_method": "pm_1Ooefh4DenidF2LU9tRCdeQl", + "payment_intent": "pi_3OrhnFQSCN0LLDld1C0tbXhE", + "payment_method": "pm_1OrhnFQSCN0LLDldIsZefyEo", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -495,7 +501,7 @@ http_interactions: "cvc_check": "pass" }, "country": "US", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -527,14 +533,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT29lZmY0RGVuaWRGMkxVKK_q-q4GMgZJ1VM-2OM6LBb4D48xGlDpdG-HkaSEFwnz19gNCEL6o7LPe7Gh8_xibxWVk8tEJTqByzNe", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JobkRRU0NOMExMRGxkKPeZp68GMgbruyIr0OE6LBboqGQcq-ZYRddqsw6WwrpPH8jFDtjxSpSbxnwzHUGSkMffIJWRyfMPLerE", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3Ooefi4DenidF2LU1gG37Leq/refunds" + "url": "/v1/charges/ch_3OrhnFQSCN0LLDld1q6EpWIy/refunds" }, "review": null, "shipping": null, @@ -549,22 +555,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3Ooefi4DenidF2LU1DyZ34Mm" + "url": "/v1/charges?payment_intent=pi_3OrhnFQSCN0LLDld1C0tbXhE" }, - "client_secret": "pi_3Ooefi4DenidF2LU1DyZ34Mm_secret_w379gPpBGChVwBEUepP0qlRB0", + "client_secret": "pi_3OrhnFQSCN0LLDld1C0tbXhE_secret_5YLiS3lolGER5ciJhJXFFXUrw", "confirmation_method": "automatic", - "created": 1709094190, + "created": 1709821173, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ooefi4DenidF2LU1gG37Leq", + "latest_charge": "ch_3OrhnFQSCN0LLDld1q6EpWIy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ooefh4DenidF2LU9tRCdeQl", + "payment_method": "pm_1OrhnFQSCN0LLDldIsZefyEo", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -589,10 +595,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:23:11 GMT + recorded_at: Thu, 07 Mar 2024 14:19:35 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3Ooefi4DenidF2LU1gG37Leq/refunds + uri: https://api.stripe.com/v1/charges/ch_3OrhnFQSCN0LLDld1q6EpWIy/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -610,7 +616,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Ooeff4DenidF2LU + - acct_1OrhnDQSCN0LLDld Connection: - close Accept-Encoding: @@ -625,7 +631,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:12 GMT + - Thu, 07 Mar 2024 14:19:37 GMT Content-Type: - application/json Content-Length: @@ -650,14 +656,16 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f967618e-2bff-4c64-8875-82306c718be6 + - 9bb79ed5-1241-4a28-95e7-571dda6b0a5e Original-Request: - - req_5Yjwd0ugW4geJy + - req_6P4nadn8rlGh4g Request-Id: - - req_5Yjwd0ugW4geJy + - req_6P4nadn8rlGh4g Stripe-Account: - - acct_1Ooeff4DenidF2LU + - acct_1OrhnDQSCN0LLDld Stripe-Should-Retry: - 'false' Stripe-Version: @@ -672,12 +680,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3Ooefi4DenidF2LU1hzSgbUz", + "id": "re_3OrhnFQSCN0LLDld1xQ6V9BF", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3Ooefi4DenidF2LU1oUen4EE", + "balance_transaction": "txn_3OrhnFQSCN0LLDld1WfC627L", "charge": { - "id": "ch_3Ooefi4DenidF2LU1gG37Leq", + "id": "ch_3OrhnFQSCN0LLDld1q6EpWIy", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -685,7 +693,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Ooefi4DenidF2LU1A5YW6L5", + "balance_transaction": "txn_3OrhnFQSCN0LLDld1AMvB9YV", "billing_details": { "address": { "city": null, @@ -701,7 +709,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709094190, + "created": 1709821174, "currency": "aud", "customer": null, "description": null, @@ -721,13 +729,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 60, + "risk_score": 38, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Ooefi4DenidF2LU1DyZ34Mm", - "payment_method": "pm_1Ooefh4DenidF2LU9tRCdeQl", + "payment_intent": "pi_3OrhnFQSCN0LLDld1C0tbXhE", + "payment_method": "pm_1OrhnFQSCN0LLDldIsZefyEo", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -738,7 +746,7 @@ http_interactions: "cvc_check": "pass" }, "country": "US", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -770,18 +778,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT29lZmY0RGVuaWRGMkxVKLDq-q4GMgYBQPWVApY6LBZIdxWS5NgOoXSKJhVtXOpcQmkL8UTt0n8vbxpQzooi76bsTotoW945k7-i", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JobkRRU0NOMExMRGxkKPiZp68GMgYdkVGaq586LBbzOMT9qY9iDFLIrk97Tf1Vzih8qbqCyXt4FMhNpixylEnzm8LXQW93e0kS", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3Ooefi4DenidF2LU1hzSgbUz", + "id": "re_3OrhnFQSCN0LLDld1xQ6V9BF", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3Ooefi4DenidF2LU1oUen4EE", - "charge": "ch_3Ooefi4DenidF2LU1gG37Leq", - "created": 1709094191, + "balance_transaction": "txn_3OrhnFQSCN0LLDld1WfC627L", + "charge": "ch_3OrhnFQSCN0LLDld1q6EpWIy", + "created": 1709821176, "currency": "aud", "destination_details": { "card": { @@ -792,7 +800,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Ooefi4DenidF2LU1DyZ34Mm", + "payment_intent": "pi_3OrhnFQSCN0LLDld1C0tbXhE", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -802,7 +810,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3Ooefi4DenidF2LU1gG37Leq/refunds" + "url": "/v1/charges/ch_3OrhnFQSCN0LLDld1q6EpWIy/refunds" }, "review": null, "shipping": null, @@ -814,7 +822,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1709094191, + "created": 1709821176, "currency": "aud", "destination_details": { "card": { @@ -825,12 +833,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Ooefi4DenidF2LU1DyZ34Mm", + "payment_intent": "pi_3OrhnFQSCN0LLDld1C0tbXhE", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Wed, 28 Feb 2024 04:23:12 GMT + recorded_at: Thu, 07 Mar 2024 14:19:37 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml similarity index 77% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml index 13c2a0be36..26a32b4ce5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml @@ -8,20 +8,20 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0zdTS2eXS52wv3","request_duration_ms":1375}}' + - '{"last_request_metrics":{"request_id":"req_GMWrNtR4vvIB1h","request_duration_ms":1553}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:13 GMT + - Thu, 07 Mar 2024 14:19:39 GMT Content-Type: - application/json Content-Length: @@ -59,8 +59,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_TC671rsepSNnXC + - req_WQoM9s4npzzwFM Stripe-Version: - '2023-10-16' Vary: @@ -73,7 +75,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoeflKuuB1fWySn43Ej2zjy", + "id": "pm_1OrhnLKuuB1fWySnZx07IdzL", "object": "payment_method", "billing_details": { "address": { @@ -97,7 +99,7 @@ http_interactions: }, "country": "US", "display_brand": "mastercard", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "fingerprint": "BL35fEFVcTTS5wpE", "funding": "credit", @@ -114,35 +116,35 @@ http_interactions: }, "wallet": null }, - "created": 1709094193, + "created": 1709821179, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Wed, 28 Feb 2024 04:23:13 GMT + recorded_at: Thu, 07 Mar 2024 14:19:39 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OoeflKuuB1fWySn43Ej2zjy&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1OrhnLKuuB1fWySnZx07IdzL&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TC671rsepSNnXC","request_duration_ms":342}}' + - '{"last_request_metrics":{"request_id":"req_WQoM9s4npzzwFM","request_duration_ms":466}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -155,7 +157,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:14 GMT + - Thu, 07 Mar 2024 14:19:39 GMT Content-Type: - application/json Content-Length: @@ -179,12 +181,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e62b12fb-ca7d-4731-a40d-3ea1fe68ea4e + - 8c0544c8-07d0-425d-8732-c7177fe5f5e7 Original-Request: - - req_iELWfIGpVGFgJW + - req_bre1PSWvkolkr0 Request-Id: - - req_iELWfIGpVGFgJW + - req_bre1PSWvkolkr0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -199,7 +203,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoeflKuuB1fWySn128KWMQF", + "id": "pi_3OrhnLKuuB1fWySn16uMnfxL", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -213,9 +217,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoeflKuuB1fWySn128KWMQF_secret_AFZlxzNaGKQhJwyoycEnNnXt9", + "client_secret": "pi_3OrhnLKuuB1fWySn16uMnfxL_secret_Imdl0qQega6u3ahtGL12Ullnz", "confirmation_method": "automatic", - "created": 1709094193, + "created": 1709821179, "currency": "aud", "customer": null, "description": null, @@ -226,7 +230,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoeflKuuB1fWySn43Ej2zjy", + "payment_method": "pm_1OrhnLKuuB1fWySnZx07IdzL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -251,29 +255,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:23:14 GMT + recorded_at: Thu, 07 Mar 2024 14:19:39 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoeflKuuB1fWySn128KWMQF + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnLKuuB1fWySn16uMnfxL body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iELWfIGpVGFgJW","request_duration_ms":471}}' + - '{"last_request_metrics":{"request_id":"req_bre1PSWvkolkr0","request_duration_ms":503}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -286,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:14 GMT + - Thu, 07 Mar 2024 14:19:40 GMT Content-Type: - application/json Content-Length: @@ -311,8 +315,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_urrrJYueyeMAx7 + - req_pLPlchMFwozqR0 Stripe-Version: - '2023-10-16' Vary: @@ -325,7 +331,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoeflKuuB1fWySn128KWMQF", + "id": "pi_3OrhnLKuuB1fWySn16uMnfxL", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -339,9 +345,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoeflKuuB1fWySn128KWMQF_secret_AFZlxzNaGKQhJwyoycEnNnXt9", + "client_secret": "pi_3OrhnLKuuB1fWySn16uMnfxL_secret_Imdl0qQega6u3ahtGL12Ullnz", "confirmation_method": "automatic", - "created": 1709094193, + "created": 1709821179, "currency": "aud", "customer": null, "description": null, @@ -352,7 +358,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoeflKuuB1fWySn43Ej2zjy", + "payment_method": "pm_1OrhnLKuuB1fWySnZx07IdzL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -377,5 +383,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:23:14 GMT + recorded_at: Thu, 07 Mar 2024 14:19:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml similarity index 79% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml index 71b0d7ee4e..1986057ba1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml @@ -8,18 +8,20 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_WqsP7HpLdlMDTm","request_duration_ms":714}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -32,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:22:50 GMT + - Thu, 07 Mar 2024 14:19:08 GMT Content-Type: - application/json Content-Length: @@ -57,8 +59,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_C80lOiQ174c6i0 + - req_4F3j1jwfnoJWeO Stripe-Version: - '2023-10-16' Vary: @@ -71,7 +75,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoefOKuuB1fWySnRppMNGu2", + "id": "pm_1OrhmpKuuB1fWySn6b1NU9vH", "object": "payment_method", "billing_details": { "address": { @@ -95,7 +99,7 @@ http_interactions: }, "country": "US", "display_brand": "mastercard", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "fingerprint": "BL35fEFVcTTS5wpE", "funding": "credit", @@ -112,35 +116,35 @@ http_interactions: }, "wallet": null }, - "created": 1709094170, + "created": 1709821147, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Wed, 28 Feb 2024 04:22:50 GMT + recorded_at: Thu, 07 Mar 2024 14:19:08 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OoefOKuuB1fWySnRppMNGu2&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1OrhmpKuuB1fWySn6b1NU9vH&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_C80lOiQ174c6i0","request_duration_ms":534}}' + - '{"last_request_metrics":{"request_id":"req_4F3j1jwfnoJWeO","request_duration_ms":378}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -153,7 +157,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:22:51 GMT + - Thu, 07 Mar 2024 14:19:08 GMT Content-Type: - application/json Content-Length: @@ -177,12 +181,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b22256dd-6a6a-4d2f-8165-1ab4b95b7cce + - acd38dd6-7888-4bdc-9359-09cb0032bbc6 Original-Request: - - req_I48KhbL4d4cHh2 + - req_wB774p5SnF7jhy Request-Id: - - req_I48KhbL4d4cHh2 + - req_wB774p5SnF7jhy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -197,7 +203,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoefPKuuB1fWySn2a1CUhKr", + "id": "pi_3OrhmqKuuB1fWySn2RmKyCOp", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -211,9 +217,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoefPKuuB1fWySn2a1CUhKr_secret_jrv3bAuw620fN4yEQ39dnpTkT", + "client_secret": "pi_3OrhmqKuuB1fWySn2RmKyCOp_secret_OaOy9a8W260ul2rosotYIXmri", "confirmation_method": "automatic", - "created": 1709094171, + "created": 1709821148, "currency": "aud", "customer": null, "description": null, @@ -224,7 +230,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoefOKuuB1fWySnRppMNGu2", + "payment_method": "pm_1OrhmpKuuB1fWySn6b1NU9vH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -249,29 +255,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:22:51 GMT + recorded_at: Thu, 07 Mar 2024 14:19:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoefPKuuB1fWySn2a1CUhKr/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmqKuuB1fWySn2RmKyCOp/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_I48KhbL4d4cHh2","request_duration_ms":444}}' + - '{"last_request_metrics":{"request_id":"req_wB774p5SnF7jhy","request_duration_ms":471}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -284,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:22:52 GMT + - Thu, 07 Mar 2024 14:19:09 GMT Content-Type: - application/json Content-Length: @@ -309,12 +315,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 87c23353-1da7-4401-90d8-782133288905 + - a7620551-afc8-4209-8cdd-2905cee40060 Original-Request: - - req_3MS3zmJh2lqbIp + - req_QJPtIl7TbEqclv Request-Id: - - req_3MS3zmJh2lqbIp + - req_QJPtIl7TbEqclv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -329,7 +337,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoefPKuuB1fWySn2a1CUhKr", + "id": "pi_3OrhmqKuuB1fWySn2RmKyCOp", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -343,20 +351,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoefPKuuB1fWySn2a1CUhKr_secret_jrv3bAuw620fN4yEQ39dnpTkT", + "client_secret": "pi_3OrhmqKuuB1fWySn2RmKyCOp_secret_OaOy9a8W260ul2rosotYIXmri", "confirmation_method": "automatic", - "created": 1709094171, + "created": 1709821148, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoefPKuuB1fWySn2XgChplD", + "latest_charge": "ch_3OrhmqKuuB1fWySn2h1hoeCG", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoefOKuuB1fWySnRppMNGu2", + "payment_method": "pm_1OrhmpKuuB1fWySn6b1NU9vH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -381,29 +389,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:22:52 GMT + recorded_at: Thu, 07 Mar 2024 14:19:09 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoefPKuuB1fWySn2a1CUhKr + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmqKuuB1fWySn2RmKyCOp body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3MS3zmJh2lqbIp","request_duration_ms":985}}' + - '{"last_request_metrics":{"request_id":"req_QJPtIl7TbEqclv","request_duration_ms":1156}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -416,7 +424,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:22:53 GMT + - Thu, 07 Mar 2024 14:19:12 GMT Content-Type: - application/json Content-Length: @@ -441,8 +449,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_XPJt16n7nTK00g + - req_BEo56CdEMUWkav Stripe-Version: - '2023-10-16' Vary: @@ -455,7 +465,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoefPKuuB1fWySn2a1CUhKr", + "id": "pi_3OrhmqKuuB1fWySn2RmKyCOp", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -469,20 +479,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoefPKuuB1fWySn2a1CUhKr_secret_jrv3bAuw620fN4yEQ39dnpTkT", + "client_secret": "pi_3OrhmqKuuB1fWySn2RmKyCOp_secret_OaOy9a8W260ul2rosotYIXmri", "confirmation_method": "automatic", - "created": 1709094171, + "created": 1709821148, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoefPKuuB1fWySn2XgChplD", + "latest_charge": "ch_3OrhmqKuuB1fWySn2h1hoeCG", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoefOKuuB1fWySnRppMNGu2", + "payment_method": "pm_1OrhmpKuuB1fWySn6b1NU9vH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -507,10 +517,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:22:53 GMT + recorded_at: Thu, 07 Mar 2024 14:19:13 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoefPKuuB1fWySn2a1CUhKr/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmqKuuB1fWySn2RmKyCOp/capture body: encoding: UTF-8 string: amount_to_capture=1000 @@ -541,7 +551,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:22:54 GMT + - Thu, 07 Mar 2024 14:19:14 GMT Content-Type: - application/json Content-Length: @@ -566,12 +576,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 924a5a52-a3b7-454d-9525-a4f745643bcc + - 59777b65-bcee-4621-a8ab-a3fd5438ced8 Original-Request: - - req_0mMZdvmaHu1xkb + - req_gqfIac5fu82Hk3 Request-Id: - - req_0mMZdvmaHu1xkb + - req_gqfIac5fu82Hk3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -586,7 +598,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoefPKuuB1fWySn2a1CUhKr", + "id": "pi_3OrhmqKuuB1fWySn2RmKyCOp", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -604,7 +616,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OoefPKuuB1fWySn2XgChplD", + "id": "ch_3OrhmqKuuB1fWySn2h1hoeCG", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -613,7 +625,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OoefPKuuB1fWySn2KbEy5KT", + "balance_transaction": "txn_3OrhmqKuuB1fWySn2wcWkg9q", "billing_details": { "address": { "city": null, @@ -629,7 +641,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709094171, + "created": 1709821149, "currency": "aud", "customer": null, "description": null, @@ -649,25 +661,25 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 24, + "risk_score": 38, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OoefPKuuB1fWySn2a1CUhKr", - "payment_method": "pm_1OoefOKuuB1fWySnRppMNGu2", + "payment_intent": "pi_3OrhmqKuuB1fWySn2RmKyCOp", + "payment_method": "pm_1OrhmpKuuB1fWySn6b1NU9vH", "payment_method_details": { "card": { "amount_authorized": 1000, "brand": "mastercard", - "capture_before": 1709698971, + "capture_before": 1710425949, "checks": { "address_line1_check": null, "address_postal_code_check": null, "cvc_check": "pass" }, "country": "US", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -699,14 +711,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKJ7q-q4GMgbcaqyB9xQ6LBbyuqO6Pzq_DRbuPPU_3KgWARob19ouqfjqfTie9nYDPO4CNF1NF5JvJAg2", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKOKZp68GMgaiCOKW-D46LBaS2OPupRDPIY3ga-8lZ94YpSS1Kp1uq4DPHTVq2aWsmWex9ZjgG-VT3E87", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OoefPKuuB1fWySn2XgChplD/refunds" + "url": "/v1/charges/ch_3OrhmqKuuB1fWySn2h1hoeCG/refunds" }, "review": null, "shipping": null, @@ -721,22 +733,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OoefPKuuB1fWySn2a1CUhKr" + "url": "/v1/charges?payment_intent=pi_3OrhmqKuuB1fWySn2RmKyCOp" }, - "client_secret": "pi_3OoefPKuuB1fWySn2a1CUhKr_secret_jrv3bAuw620fN4yEQ39dnpTkT", + "client_secret": "pi_3OrhmqKuuB1fWySn2RmKyCOp_secret_OaOy9a8W260ul2rosotYIXmri", "confirmation_method": "automatic", - "created": 1709094171, + "created": 1709821148, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoefPKuuB1fWySn2XgChplD", + "latest_charge": "ch_3OrhmqKuuB1fWySn2h1hoeCG", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoefOKuuB1fWySnRppMNGu2", + "payment_method": "pm_1OrhmpKuuB1fWySn6b1NU9vH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -761,5 +773,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:22:54 GMT + recorded_at: Thu, 07 Mar 2024 14:19:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml index 4a1cd05e68..0969d953a6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml @@ -8,20 +8,20 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XPJt16n7nTK00g","request_duration_ms":340}}' + - '{"last_request_metrics":{"request_id":"req_BEo56CdEMUWkav","request_duration_ms":332}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:22:55 GMT + - Thu, 07 Mar 2024 14:19:14 GMT Content-Type: - application/json Content-Length: @@ -59,8 +59,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_PkEIZ0ytajfFi0 + - req_UrgwLrchJNqZ6X Stripe-Version: - '2023-10-16' Vary: @@ -73,7 +75,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoefTKuuB1fWySnZGdqP7aU", + "id": "pm_1OrhmwKuuB1fWySnYjUc3D2k", "object": "payment_method", "billing_details": { "address": { @@ -97,7 +99,7 @@ http_interactions: }, "country": "US", "display_brand": "mastercard", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "fingerprint": "BL35fEFVcTTS5wpE", "funding": "credit", @@ -114,35 +116,35 @@ http_interactions: }, "wallet": null }, - "created": 1709094175, + "created": 1709821154, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Wed, 28 Feb 2024 04:22:55 GMT + recorded_at: Thu, 07 Mar 2024 14:19:14 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OoefTKuuB1fWySnZGdqP7aU&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1OrhmwKuuB1fWySnYjUc3D2k&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PkEIZ0ytajfFi0","request_duration_ms":393}}' + - '{"last_request_metrics":{"request_id":"req_UrgwLrchJNqZ6X","request_duration_ms":535}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -155,7 +157,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:22:55 GMT + - Thu, 07 Mar 2024 14:19:15 GMT Content-Type: - application/json Content-Length: @@ -179,12 +181,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2483ffe7-b417-4399-aa5d-8e07a07f3c4a + - 138e360e-617f-42a6-8c51-b3738af98438 Original-Request: - - req_8qPyCfGouYra9P + - req_0FMX0jlHqDJypX Request-Id: - - req_8qPyCfGouYra9P + - req_0FMX0jlHqDJypX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -199,7 +203,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoefTKuuB1fWySn1nUc8iAF", + "id": "pi_3OrhmxKuuB1fWySn2kkdofEf", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -213,9 +217,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoefTKuuB1fWySn1nUc8iAF_secret_P1PkiljJQA3bUt1qjafq1N30Y", + "client_secret": "pi_3OrhmxKuuB1fWySn2kkdofEf_secret_CsRs7lnutix6HchZSNPoEc86W", "confirmation_method": "automatic", - "created": 1709094175, + "created": 1709821155, "currency": "aud", "customer": null, "description": null, @@ -226,7 +230,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoefTKuuB1fWySnZGdqP7aU", + "payment_method": "pm_1OrhmwKuuB1fWySnYjUc3D2k", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -251,29 +255,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:22:55 GMT + recorded_at: Thu, 07 Mar 2024 14:19:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoefTKuuB1fWySn1nUc8iAF/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmxKuuB1fWySn2kkdofEf/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8qPyCfGouYra9P","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_0FMX0jlHqDJypX","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -286,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:22:56 GMT + - Thu, 07 Mar 2024 14:19:16 GMT Content-Type: - application/json Content-Length: @@ -311,12 +315,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 680027e4-2ed8-4df3-9f5e-41477748d594 + - 16a0eaf8-127a-473f-a24a-565c0cae61be Original-Request: - - req_RZnI8d1lN97iCq + - req_wvOne3JGLQ390F Request-Id: - - req_RZnI8d1lN97iCq + - req_wvOne3JGLQ390F Stripe-Should-Retry: - 'false' Stripe-Version: @@ -331,7 +337,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoefTKuuB1fWySn1nUc8iAF", + "id": "pi_3OrhmxKuuB1fWySn2kkdofEf", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -345,20 +351,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoefTKuuB1fWySn1nUc8iAF_secret_P1PkiljJQA3bUt1qjafq1N30Y", + "client_secret": "pi_3OrhmxKuuB1fWySn2kkdofEf_secret_CsRs7lnutix6HchZSNPoEc86W", "confirmation_method": "automatic", - "created": 1709094175, + "created": 1709821155, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoefTKuuB1fWySn115Vyr1m", + "latest_charge": "ch_3OrhmxKuuB1fWySn2yJmUWW4", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoefTKuuB1fWySnZGdqP7aU", + "payment_method": "pm_1OrhmwKuuB1fWySnYjUc3D2k", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -383,5 +389,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:22:56 GMT + recorded_at: Thu, 07 Mar 2024 14:19:16 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml similarity index 82% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml index e5130bd32f..ed7dc484fe 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RZnI8d1lN97iCq","request_duration_ms":986}}' + - '{"last_request_metrics":{"request_id":"req_wvOne3JGLQ390F","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:22:58 GMT + - Thu, 07 Mar 2024 14:19:19 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 54580d6e-e359-4cb8-bd6f-19755b32a54b + - 2664dca6-bf6f-4a8a-8051-5820f9cbde6a Original-Request: - - req_tvTBJjnxpf5qXy + - req_tSHV4U4jV9emJj Request-Id: - - req_tvTBJjnxpf5qXy + - req_tSHV4U4jV9emJj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OoefV4C2tKH5dGL", + "id": "acct_1Orhn04FrUFBjYOL", "object": "account", "business_profile": { "annual_revenue": null, @@ -100,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709094178, + "created": 1709821159, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -109,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OoefV4C2tKH5dGL/external_accounts" + "url": "/v1/accounts/acct_1Orhn04FrUFBjYOL/external_accounts" }, "future_requirements": { "alternatives": [], @@ -206,7 +208,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Wed, 28 Feb 2024 04:22:58 GMT + recorded_at: Thu, 07 Mar 2024 14:19:19 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -215,20 +217,20 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tvTBJjnxpf5qXy","request_duration_ms":1696}}' + - '{"last_request_metrics":{"request_id":"req_tSHV4U4jV9emJj","request_duration_ms":1753}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -241,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:00 GMT + - Thu, 07 Mar 2024 14:19:21 GMT Content-Type: - application/json Content-Length: @@ -266,8 +268,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_vV7bfcGNN6GDXn + - req_gjJTVa00UBYyO0 Stripe-Version: - '2023-10-16' Vary: @@ -280,7 +284,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoefXKuuB1fWySn407A6STW", + "id": "pm_1Orhn3KuuB1fWySnLQJsYqqW", "object": "payment_method", "billing_details": { "address": { @@ -304,7 +308,7 @@ http_interactions: }, "country": "US", "display_brand": "mastercard", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "fingerprint": "BL35fEFVcTTS5wpE", "funding": "credit", @@ -321,13 +325,13 @@ http_interactions: }, "wallet": null }, - "created": 1709094179, + "created": 1709821161, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Wed, 28 Feb 2024 04:23:00 GMT + recorded_at: Thu, 07 Mar 2024 14:19:22 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -336,22 +340,22 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vV7bfcGNN6GDXn","request_duration_ms":381}}' + - '{"last_request_metrics":{"request_id":"req_gjJTVa00UBYyO0","request_duration_ms":423}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OoefV4C2tKH5dGL + - acct_1Orhn04FrUFBjYOL Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -364,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:01 GMT + - Thu, 07 Mar 2024 14:19:23 GMT Content-Type: - application/json Content-Length: @@ -388,14 +392,16 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2989f409-6a08-4cfa-a4fa-dd10e361ed8c + - 9acee8d8-13f6-441b-9496-8a9ad23077db Original-Request: - - req_t1G1fXjle87ldK + - req_4toJOmUTC0cfV1 Request-Id: - - req_t1G1fXjle87ldK + - req_4toJOmUTC0cfV1 Stripe-Account: - - acct_1OoefV4C2tKH5dGL + - acct_1Orhn04FrUFBjYOL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -410,7 +416,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoefY4C2tKH5dGL1GZJ9p6K", + "id": "pi_3Orhn44FrUFBjYOL0n5bFAAu", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -424,20 +430,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3OoefY4C2tKH5dGL1GZJ9p6K_secret_yTGvOEMPhBORAgEQagwJpXTPI", + "client_secret": "pi_3Orhn44FrUFBjYOL0n5bFAAu_secret_5MHRrTs4GvdzrZO4EddahFOHZ", "confirmation_method": "automatic", - "created": 1709094180, + "created": 1709821162, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoefY4C2tKH5dGL1VlO0lYA", + "latest_charge": "ch_3Orhn44FrUFBjYOL08DhotfJ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoefY4C2tKH5dGL4j5cFhFa", + "payment_method": "pm_1Orhn44FrUFBjYOLqsKTMhRM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -462,31 +468,31 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:23:01 GMT + recorded_at: Thu, 07 Mar 2024 14:19:23 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoefY4C2tKH5dGL1GZJ9p6K + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhn44FrUFBjYOL0n5bFAAu body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t1G1fXjle87ldK","request_duration_ms":1504}}' + - '{"last_request_metrics":{"request_id":"req_4toJOmUTC0cfV1","request_duration_ms":1360}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OoefV4C2tKH5dGL + - acct_1Orhn04FrUFBjYOL Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -499,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:01 GMT + - Thu, 07 Mar 2024 14:19:23 GMT Content-Type: - application/json Content-Length: @@ -524,10 +530,12 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_lZyw7j5pG8K6Cv + - req_ezRhnpKvkGFpfY Stripe-Account: - - acct_1OoefV4C2tKH5dGL + - acct_1Orhn04FrUFBjYOL Stripe-Version: - '2023-10-16' Vary: @@ -540,7 +548,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoefY4C2tKH5dGL1GZJ9p6K", + "id": "pi_3Orhn44FrUFBjYOL0n5bFAAu", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -554,20 +562,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3OoefY4C2tKH5dGL1GZJ9p6K_secret_yTGvOEMPhBORAgEQagwJpXTPI", + "client_secret": "pi_3Orhn44FrUFBjYOL0n5bFAAu_secret_5MHRrTs4GvdzrZO4EddahFOHZ", "confirmation_method": "automatic", - "created": 1709094180, + "created": 1709821162, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoefY4C2tKH5dGL1VlO0lYA", + "latest_charge": "ch_3Orhn44FrUFBjYOL08DhotfJ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoefY4C2tKH5dGL4j5cFhFa", + "payment_method": "pm_1Orhn44FrUFBjYOLqsKTMhRM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -592,10 +600,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:23:01 GMT + recorded_at: Thu, 07 Mar 2024 14:19:23 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoefY4C2tKH5dGL1GZJ9p6K + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhn44FrUFBjYOL0n5bFAAu body: encoding: US-ASCII string: '' @@ -611,7 +619,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OoefV4C2tKH5dGL + - acct_1Orhn04FrUFBjYOL Connection: - close Accept-Encoding: @@ -626,11 +634,11 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:02 GMT + - Thu, 07 Mar 2024 14:19:24 GMT Content-Type: - application/json Content-Length: - - '5159' + - '5160' Connection: - close Access-Control-Allow-Credentials: @@ -651,10 +659,12 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_FH8bGixsjbByLa + - req_0C7GxfipgGbfwr Stripe-Account: - - acct_1OoefV4C2tKH5dGL + - acct_1Orhn04FrUFBjYOL Stripe-Version: - '2020-08-27' Vary: @@ -667,7 +677,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoefY4C2tKH5dGL1GZJ9p6K", + "id": "pi_3Orhn44FrUFBjYOL0n5bFAAu", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -685,7 +695,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OoefY4C2tKH5dGL1VlO0lYA", + "id": "ch_3Orhn44FrUFBjYOL08DhotfJ", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -693,7 +703,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OoefY4C2tKH5dGL13dcK4j1", + "balance_transaction": "txn_3Orhn44FrUFBjYOL0ZzeZX2B", "billing_details": { "address": { "city": null, @@ -709,7 +719,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709094180, + "created": 1709821162, "currency": "aud", "customer": null, "description": null, @@ -729,13 +739,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 7, + "risk_score": 49, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OoefY4C2tKH5dGL1GZJ9p6K", - "payment_method": "pm_1OoefY4C2tKH5dGL4j5cFhFa", + "payment_intent": "pi_3Orhn44FrUFBjYOL0n5bFAAu", + "payment_method": "pm_1Orhn44FrUFBjYOLqsKTMhRM", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -746,7 +756,7 @@ http_interactions: "cvc_check": "pass" }, "country": "US", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -778,14 +788,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT29lZlY0QzJ0S0g1ZEdMKKbq-q4GMgaRkN_RRNQ6LBZz6CQXHZCrsn25QS9Jm5gbb44sYBgtlhvBnbTpsJMQXRa5GaNsE626dU5n", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JobjA0RnJVRkJqWU9MKOyZp68GMgazoaS7MjQ6LBZbpkXMQJX0friCIrAH374RHqC-sQ5J05eEfIk_yRmlGaMAzg5ko_y6qJd4", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OoefY4C2tKH5dGL1VlO0lYA/refunds" + "url": "/v1/charges/ch_3Orhn44FrUFBjYOL08DhotfJ/refunds" }, "review": null, "shipping": null, @@ -800,22 +810,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OoefY4C2tKH5dGL1GZJ9p6K" + "url": "/v1/charges?payment_intent=pi_3Orhn44FrUFBjYOL0n5bFAAu" }, - "client_secret": "pi_3OoefY4C2tKH5dGL1GZJ9p6K_secret_yTGvOEMPhBORAgEQagwJpXTPI", + "client_secret": "pi_3Orhn44FrUFBjYOL0n5bFAAu_secret_5MHRrTs4GvdzrZO4EddahFOHZ", "confirmation_method": "automatic", - "created": 1709094180, + "created": 1709821162, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoefY4C2tKH5dGL1VlO0lYA", + "latest_charge": "ch_3Orhn44FrUFBjYOL08DhotfJ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoefY4C2tKH5dGL4j5cFhFa", + "payment_method": "pm_1Orhn44FrUFBjYOLqsKTMhRM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -840,10 +850,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:23:02 GMT + recorded_at: Thu, 07 Mar 2024 14:19:24 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3OoefY4C2tKH5dGL1VlO0lYA/refunds + uri: https://api.stripe.com/v1/charges/ch_3Orhn44FrUFBjYOL08DhotfJ/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -861,7 +871,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OoefV4C2tKH5dGL + - acct_1Orhn04FrUFBjYOL Connection: - close Accept-Encoding: @@ -876,11 +886,11 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:03 GMT + - Thu, 07 Mar 2024 14:19:26 GMT Content-Type: - application/json Content-Length: - - '4535' + - '4536' Connection: - close Access-Control-Allow-Credentials: @@ -901,14 +911,16 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e3b5a699-fd66-4438-acf5-dbcdd0c0cd8f + - 1d819f46-cc53-41db-920a-4900d72a6a42 Original-Request: - - req_gnYblTnZmxelLp + - req_sbC5GgIk8uyjco Request-Id: - - req_gnYblTnZmxelLp + - req_sbC5GgIk8uyjco Stripe-Account: - - acct_1OoefV4C2tKH5dGL + - acct_1Orhn04FrUFBjYOL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -923,12 +935,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3OoefY4C2tKH5dGL13F5cUVM", + "id": "re_3Orhn44FrUFBjYOL0zl9V2GA", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OoefY4C2tKH5dGL1DQGbKPm", + "balance_transaction": "txn_3Orhn44FrUFBjYOL0Vqrr6WC", "charge": { - "id": "ch_3OoefY4C2tKH5dGL1VlO0lYA", + "id": "ch_3Orhn44FrUFBjYOL08DhotfJ", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -936,7 +948,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OoefY4C2tKH5dGL13dcK4j1", + "balance_transaction": "txn_3Orhn44FrUFBjYOL0ZzeZX2B", "billing_details": { "address": { "city": null, @@ -952,7 +964,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709094180, + "created": 1709821162, "currency": "aud", "customer": null, "description": null, @@ -972,13 +984,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 7, + "risk_score": 49, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OoefY4C2tKH5dGL1GZJ9p6K", - "payment_method": "pm_1OoefY4C2tKH5dGL4j5cFhFa", + "payment_intent": "pi_3Orhn44FrUFBjYOL0n5bFAAu", + "payment_method": "pm_1Orhn44FrUFBjYOLqsKTMhRM", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -989,7 +1001,7 @@ http_interactions: "cvc_check": "pass" }, "country": "US", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -1021,18 +1033,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT29lZlY0QzJ0S0g1ZEdMKKfq-q4GMgaZksVQP2U6LBbzMTFesAxG2bPJiPJrrQg4rFEMLvIeOgyWS0m6-vJl8TTT-s9srkaZHmxm", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JobjA0RnJVRkJqWU9MKO2Zp68GMgYU2NUQm7c6LBarQjBEU8S0QqQLeyAoQeYZbKRF65ZTN-0q_vXjo3MCHZXEP59P3i3_zGXb", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3OoefY4C2tKH5dGL13F5cUVM", + "id": "re_3Orhn44FrUFBjYOL0zl9V2GA", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OoefY4C2tKH5dGL1DQGbKPm", - "charge": "ch_3OoefY4C2tKH5dGL1VlO0lYA", - "created": 1709094182, + "balance_transaction": "txn_3Orhn44FrUFBjYOL0Vqrr6WC", + "charge": "ch_3Orhn44FrUFBjYOL08DhotfJ", + "created": 1709821165, "currency": "aud", "destination_details": { "card": { @@ -1043,7 +1055,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OoefY4C2tKH5dGL1GZJ9p6K", + "payment_intent": "pi_3Orhn44FrUFBjYOL0n5bFAAu", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1053,7 +1065,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3OoefY4C2tKH5dGL1VlO0lYA/refunds" + "url": "/v1/charges/ch_3Orhn44FrUFBjYOL08DhotfJ/refunds" }, "review": null, "shipping": null, @@ -1065,7 +1077,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1709094182, + "created": 1709821165, "currency": "aud", "destination_details": { "card": { @@ -1076,12 +1088,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OoefY4C2tKH5dGL1GZJ9p6K", + "payment_intent": "pi_3Orhn44FrUFBjYOL0n5bFAAu", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Wed, 28 Feb 2024 04:23:03 GMT + recorded_at: Thu, 07 Mar 2024 14:19:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml index ce315fb2b1..7102971158 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lZyw7j5pG8K6Cv","request_duration_ms":296}}' + - '{"last_request_metrics":{"request_id":"req_ezRhnpKvkGFpfY","request_duration_ms":427}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:05 GMT + - Thu, 07 Mar 2024 14:19:27 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1ef2201e-0e24-4640-982d-6568c4052527 + - 4f6eaadf-9168-4403-948d-e5f32478b3a7 Original-Request: - - req_s4ofxXP0G2Y783 + - req_D11AhbLWAfHX3a Request-Id: - - req_s4ofxXP0G2Y783 + - req_D11AhbLWAfHX3a Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Ooefb4DjmilFkgB", + "id": "acct_1Orhn8QNU244dvkv", "object": "account", "business_profile": { "annual_revenue": null, @@ -100,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709094184, + "created": 1709821167, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -109,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Ooefb4DjmilFkgB/external_accounts" + "url": "/v1/accounts/acct_1Orhn8QNU244dvkv/external_accounts" }, "future_requirements": { "alternatives": [], @@ -206,7 +208,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Wed, 28 Feb 2024 04:23:05 GMT + recorded_at: Thu, 07 Mar 2024 14:19:27 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -215,20 +217,20 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_s4ofxXP0G2Y783","request_duration_ms":1698}}' + - '{"last_request_metrics":{"request_id":"req_D11AhbLWAfHX3a","request_duration_ms":1792}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -241,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:06 GMT + - Thu, 07 Mar 2024 14:19:29 GMT Content-Type: - application/json Content-Length: @@ -266,8 +268,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_YRYMRdfcJyCfpc + - req_CmK1q8MEuAOWvn Stripe-Version: - '2023-10-16' Vary: @@ -280,7 +284,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoefeKuuB1fWySn4sV0w7me", + "id": "pm_1OrhnBKuuB1fWySnHwguq9Tt", "object": "payment_method", "billing_details": { "address": { @@ -304,7 +308,7 @@ http_interactions: }, "country": "US", "display_brand": "mastercard", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "fingerprint": "BL35fEFVcTTS5wpE", "funding": "credit", @@ -321,13 +325,13 @@ http_interactions: }, "wallet": null }, - "created": 1709094186, + "created": 1709821169, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Wed, 28 Feb 2024 04:23:06 GMT + recorded_at: Thu, 07 Mar 2024 14:19:29 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -336,22 +340,22 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YRYMRdfcJyCfpc","request_duration_ms":414}}' + - '{"last_request_metrics":{"request_id":"req_CmK1q8MEuAOWvn","request_duration_ms":430}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ooefb4DjmilFkgB + - acct_1Orhn8QNU244dvkv Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -364,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:06 GMT + - Thu, 07 Mar 2024 14:19:30 GMT Content-Type: - application/json Content-Length: @@ -388,14 +392,16 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4709c865-413b-4f63-92de-88ea134ca3fc + - 8bf62231-cea6-404c-944d-5ceaa7268857 Original-Request: - - req_924xRbbZ96ZSGs + - req_jS7TyCpWmj2DJq Request-Id: - - req_924xRbbZ96ZSGs + - req_jS7TyCpWmj2DJq Stripe-Account: - - acct_1Ooefb4DjmilFkgB + - acct_1Orhn8QNU244dvkv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -410,7 +416,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ooefe4DjmilFkgB0MRGxtD7", + "id": "pi_3OrhnCQNU244dvkv0uW6QCnq", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -424,9 +430,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ooefe4DjmilFkgB0MRGxtD7_secret_m61Cyi5MpCkThDwF1HOTfVtTh", + "client_secret": "pi_3OrhnCQNU244dvkv0uW6QCnq_secret_YkHgPK5Yj3OYueUIf7pwEgBKR", "confirmation_method": "automatic", - "created": 1709094186, + "created": 1709821170, "currency": "aud", "customer": null, "description": null, @@ -437,7 +443,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ooefe4DjmilFkgBPSiob94t", + "payment_method": "pm_1OrhnCQNU244dvkvKcghRdaA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -462,31 +468,31 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:23:06 GMT + recorded_at: Thu, 07 Mar 2024 14:19:30 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ooefe4DjmilFkgB0MRGxtD7 + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnCQNU244dvkv0uW6QCnq body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_924xRbbZ96ZSGs","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_jS7TyCpWmj2DJq","request_duration_ms":497}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ooefb4DjmilFkgB + - acct_1Orhn8QNU244dvkv Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -499,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:07 GMT + - Thu, 07 Mar 2024 14:19:30 GMT Content-Type: - application/json Content-Length: @@ -524,10 +530,12 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_o2i92svEF6wZ9X + - req_Ygyk8WK16L1gRK Stripe-Account: - - acct_1Ooefb4DjmilFkgB + - acct_1Orhn8QNU244dvkv Stripe-Version: - '2023-10-16' Vary: @@ -540,7 +548,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ooefe4DjmilFkgB0MRGxtD7", + "id": "pi_3OrhnCQNU244dvkv0uW6QCnq", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -554,9 +562,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ooefe4DjmilFkgB0MRGxtD7_secret_m61Cyi5MpCkThDwF1HOTfVtTh", + "client_secret": "pi_3OrhnCQNU244dvkv0uW6QCnq_secret_YkHgPK5Yj3OYueUIf7pwEgBKR", "confirmation_method": "automatic", - "created": 1709094186, + "created": 1709821170, "currency": "aud", "customer": null, "description": null, @@ -567,7 +575,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ooefe4DjmilFkgBPSiob94t", + "payment_method": "pm_1OrhnCQNU244dvkvKcghRdaA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -592,10 +600,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:23:07 GMT + recorded_at: Thu, 07 Mar 2024 14:19:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ooefe4DjmilFkgB0MRGxtD7/cancel + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnCQNU244dvkv0uW6QCnq/cancel body: encoding: US-ASCII string: '' @@ -613,7 +621,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Ooefb4DjmilFkgB + - acct_1Orhn8QNU244dvkv Connection: - close Accept-Encoding: @@ -628,7 +636,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:23:07 GMT + - Thu, 07 Mar 2024 14:19:31 GMT Content-Type: - application/json Content-Length: @@ -653,14 +661,16 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a75b58f8-d2f4-43b6-aff2-21023fcc77f2 + - 32ffe994-dc2e-46f4-bd99-22bcd252f7c8 Original-Request: - - req_WU2ReDoGdQvhVb + - req_iljDurQDZJSidi Request-Id: - - req_WU2ReDoGdQvhVb + - req_iljDurQDZJSidi Stripe-Account: - - acct_1Ooefb4DjmilFkgB + - acct_1Orhn8QNU244dvkv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -675,7 +685,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ooefe4DjmilFkgB0MRGxtD7", + "id": "pi_3OrhnCQNU244dvkv0uW6QCnq", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -686,7 +696,7 @@ http_interactions: "application": "", "application_fee_amount": null, "automatic_payment_methods": null, - "canceled_at": 1709094187, + "canceled_at": 1709821171, "cancellation_reason": null, "capture_method": "manual", "charges": { @@ -694,11 +704,11 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges?payment_intent=pi_3Ooefe4DjmilFkgB0MRGxtD7" + "url": "/v1/charges?payment_intent=pi_3OrhnCQNU244dvkv0uW6QCnq" }, - "client_secret": "pi_3Ooefe4DjmilFkgB0MRGxtD7_secret_m61Cyi5MpCkThDwF1HOTfVtTh", + "client_secret": "pi_3OrhnCQNU244dvkv0uW6QCnq_secret_YkHgPK5Yj3OYueUIf7pwEgBKR", "confirmation_method": "automatic", - "created": 1709094186, + "created": 1709821170, "currency": "aud", "customer": null, "description": null, @@ -709,7 +719,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ooefe4DjmilFkgBPSiob94t", + "payment_method": "pm_1OrhnCQNU244dvkvKcghRdaA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -734,5 +744,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:23:07 GMT + recorded_at: Thu, 07 Mar 2024 14:19:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml similarity index 66% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml index ed1ae3c092..d36ee0a1c6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml @@ -8,20 +8,20 @@ http_interactions: string: stripe_user_id=&client_id=bogus_client_id headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4LwwjkiCeJTWny","request_duration_ms":281}}' + - '{"last_request_metrics":{"request_id":"req_pLPlchMFwozqR0","request_duration_ms":292}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:26 GMT + - Thu, 07 Mar 2024 14:19:41 GMT Content-Type: - application/json; charset=utf-8 Content-Length: @@ -56,24 +56,22 @@ http_interactions: Referrer-Policy: - strict-origin-when-cross-origin Request-Id: - - req_7fO2Qr9kbyPu69 + - req_gQLkxYDC1gKKlX Set-Cookie: - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Tue, 25 Feb 2025 23:18:26 GMT; secure; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:19:41 GMT; secure; HttpOnly; SameSite=Lax - - cid=ee664136-6838-4c86-a1f9-91a3b3fc5a41; domain=stripe.com; path=/; expires=Sun, - 26 May 2024 23:18:26 GMT; secure; SameSite=Lax - - machine_identifier=Gx4pHleLfZeFAutuct1xCkIgOmKgnG%2BLi1RTjGMAvIPH3d8fqGxaX9Q8JYPdYRWP2lQ%3D; - domain=stripe.com; path=/; expires=Tue, 25 Feb 2025 23:18:26 GMT; secure; + - machine_identifier=tlm2H6WVC9HzqAu9XFvF1MjAjD93y0QC5CIcPT4m%2BPP14OwCbem5rqy4VBtEuGI%2BFtM%3D; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:19:41 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=KGppW1n2ABmK0lVDtoVuQv%2BxCs6ofNCGmRyH2EZwuBa9EWrRDG2m5TexKWodBWTsf5I%3D; - domain=stripe.com; path=/; expires=Tue, 25 Feb 2025 23:18:26 GMT; secure; + - private_machine_identifier=kDif5t85K78RTgvN8VlPeBh7yqO%2Bl9JXhXGVb0DxHesfhCP%2BBMbeUW8D6M0eF6UDVLE%3D; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:19:41 GMT; secure; HttpOnly; SameSite=None - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure - - stripe.csrf=_1RiSdotefTTRKOljC7SPCfweSwVa7kPrPSaruSRLeMaAGkLhHO4AtoI9Yf3yyFZ3jtVCXvCpYh1BaE6AcD9Ijw-AYTZVJxRk_zJWebqcTj3jja84oPHuqVHzVB488Oa49MoUU7TRQ%3D%3D; + - stripe.csrf=0R80VXQSkQozBKt4pvUvRHmS6oG_OJrWCDsTvvwjc1uyjY_dwYMOlJQSCrXTUt7i8F-EaNZas5ngLiE6zEgr2Tw-AYTZVJywET4sahs46Mx67dYumddhqvSYy6q1UsxyPLqJ6FepJA%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -90,5 +88,5 @@ http_interactions: "error": "invalid_client", "error_description": "No such application: 'bogus_client_id'" } - recorded_at: Mon, 26 Feb 2024 23:18:26 GMT + recorded_at: Thu, 07 Mar 2024 14:19:41 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml similarity index 78% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml index 6ef0bdc77c..9e6f8d105c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml @@ -8,20 +8,20 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4LwwjkiCeJTWny","request_duration_ms":281}}' + - '{"last_request_metrics":{"request_id":"req_pLPlchMFwozqR0","request_duration_ms":292}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:28 GMT + - Thu, 07 Mar 2024 14:19:43 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2ec3d890-51fb-4bef-8edc-8a0280fc4d6f + - 1bdb3787-b5e5-4e42-9bf4-a4117e1fcadf Original-Request: - - req_MhARQZfcxlupB0 + - req_gkukxCYZdR2Vxk Request-Id: - - req_MhARQZfcxlupB0 + - req_gkukxCYZdR2Vxk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OoDRHQRupqKVzqU", + "id": "acct_1OrhnN4JnsIexsPK", "object": "account", "business_profile": { "annual_revenue": null, @@ -100,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1708989507, + "created": 1709821182, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -109,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OoDRHQRupqKVzqU/external_accounts" + "url": "/v1/accounts/acct_1OrhnN4JnsIexsPK/external_accounts" }, "future_requirements": { "alternatives": [], @@ -206,29 +208,29 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 26 Feb 2024 23:18:28 GMT + recorded_at: Thu, 07 Mar 2024 14:19:43 GMT - request: method: post uri: https://connect.stripe.com/oauth/deauthorize body: encoding: UTF-8 - string: stripe_user_id=acct_1OoDRHQRupqKVzqU&client_id= + string: stripe_user_id=acct_1OrhnN4JnsIexsPK&client_id= headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MhARQZfcxlupB0","request_duration_ms":1638}}' + - '{"last_request_metrics":{"request_id":"req_gkukxCYZdR2Vxk","request_duration_ms":1856}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -241,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:29 GMT + - Thu, 07 Mar 2024 14:19:44 GMT Content-Type: - application/json Content-Length: @@ -263,24 +265,22 @@ http_interactions: Referrer-Policy: - strict-origin-when-cross-origin Request-Id: - - req_KzegHddQIdmvfb + - req_kAYjNTpAo3eof0 Set-Cookie: - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Tue, 25 Feb 2025 23:18:29 GMT; secure; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:19:43 GMT; secure; HttpOnly; SameSite=Lax - - cid=55982463-3b25-4408-93b2-27bec85dfcfc; domain=stripe.com; path=/; expires=Sun, - 26 May 2024 23:18:29 GMT; secure; SameSite=Lax - - machine_identifier=w54MzMN5c6Eiz4eEDC8wa7rkzspJn4yvGQZMotkt76iaPFhsSLKXI0PWu%2F2P%2BmRTDqU%3D; - domain=stripe.com; path=/; expires=Tue, 25 Feb 2025 23:18:29 GMT; secure; + - machine_identifier=Rx0nrBmP69C0yle3gEESxrCeJozicO0vsDwHdMCz866UQ3LXbrikei6XWfK2YygJdoA%3D; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:19:43 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=8CTJtExCiBX06tvQfQHq3SpwiRP08AVl8vjeuqf8SugPBHIcHu7KZ0Bdl8SyqyqdoO4%3D; - domain=stripe.com; path=/; expires=Tue, 25 Feb 2025 23:18:29 GMT; secure; + - private_machine_identifier=nyPCq0cBAY9abEDP081%2F8Z%2BzRAq3BeWVDVNl%2BlHzDXSBkN%2FaSOAzOV6ojlpNDZadIm0%3D; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:19:43 GMT; secure; HttpOnly; SameSite=None - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure - - stripe.csrf=WWGSDArstUczHDfLq2EbInmbStxGgwxwqsr1SFMfWhQU8oWACZCaedj_xk64p0Qy5ZBtd62ivStoMuUHXRspETw-AYTZVJwuGdncr-p6Z3s2Kp7CqE4cqE8Jy4zw7q7dSD5XzTnalw%3D%3D; + - stripe.csrf=tTdWURXsFql9_yJmdJszPO2v6h28sLmg5LQp-KfymQK4leSgmxFIoh6B9XkB8L5TLm9ordI4UbHRrm4D6Bayfjw-AYTZVJxbMoVVth1hhUeaPhJ3aS6A52vBAtIJosGSBXtD2CAq-w%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -292,7 +292,7 @@ http_interactions: encoding: UTF-8 string: |- { - "stripe_user_id": "acct_1OoDRHQRupqKVzqU" + "stripe_user_id": "acct_1OrhnN4JnsIexsPK" } - recorded_at: Mon, 26 Feb 2024 23:18:29 GMT + recorded_at: Thu, 07 Mar 2024 14:19:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml index d340cf0078..bbe9df36f2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_S5vWMffhsD2jZ1","request_duration_ms":1330}}' + - '{"last_request_metrics":{"request_id":"req_LAqkAvvd5Je20N","request_duration_ms":1465}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:36 GMT + - Thu, 07 Mar 2024 14:19:53 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7544d038-fad8-43ee-86f9-caddc486fecd + - a83a0728-acdd-4477-9f0d-c223454d315e Original-Request: - - req_oFzey3OGumMfZV + - req_dLIBx78tPQC5HU Request-Id: - - req_oFzey3OGumMfZV + - req_dLIBx78tPQC5HU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDRQKuuB1fWySn4AM42kc4", + "id": "pm_1OrhnZKuuB1fWySn5rM3Qvue", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989516, + "created": 1709821193, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:18:36 GMT + recorded_at: Thu, 07 Mar 2024 14:19:54 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OoDRQKuuB1fWySn4AM42kc4&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OrhnZKuuB1fWySn5rM3Qvue&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oFzey3OGumMfZV","request_duration_ms":426}}' + - '{"last_request_metrics":{"request_id":"req_dLIBx78tPQC5HU","request_duration_ms":462}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:36 GMT + - Thu, 07 Mar 2024 14:19:54 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b1a94c75-0f61-4435-9b46-18d579948dd9 + - '0710794b-cb55-4479-b691-7c43dee2670a' Original-Request: - - req_CcG8mNLWRGDXDr + - req_n7ZDUktk6mLhWN Request-Id: - - req_CcG8mNLWRGDXDr + - req_n7ZDUktk6mLhWN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDRQKuuB1fWySn01FSE5yV", + "id": "pi_3OrhnaKuuB1fWySn2CzgbENy", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDRQKuuB1fWySn01FSE5yV_secret_WEQfT3kIi9xm0Z61CLSOOkfnw", + "client_secret": "pi_3OrhnaKuuB1fWySn2CzgbENy_secret_kJOM57jeYqprt6H7fnZA4H4kV", "confirmation_method": "automatic", - "created": 1708989516, + "created": 1709821194, "currency": "aud", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDRQKuuB1fWySn4AM42kc4", + "payment_method": "pm_1OrhnZKuuB1fWySn5rM3Qvue", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:18:36 GMT + recorded_at: Thu, 07 Mar 2024 14:19:54 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDRQKuuB1fWySn01FSE5yV/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnaKuuB1fWySn2CzgbENy/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CcG8mNLWRGDXDr","request_duration_ms":384}}' + - '{"last_request_metrics":{"request_id":"req_n7ZDUktk6mLhWN","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:37 GMT + - Thu, 07 Mar 2024 14:19:55 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 57f9bfb7-bed5-4590-a4e5-ff02c3b54457 + - a6a0cfd4-056c-485e-95cb-404a22d5e99f Original-Request: - - req_2yo7AM38rcYqU3 + - req_0gZv7w8hMon3OC Request-Id: - - req_2yo7AM38rcYqU3 + - req_0gZv7w8hMon3OC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDRQKuuB1fWySn01FSE5yV", + "id": "pi_3OrhnaKuuB1fWySn2CzgbENy", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDRQKuuB1fWySn01FSE5yV_secret_WEQfT3kIi9xm0Z61CLSOOkfnw", + "client_secret": "pi_3OrhnaKuuB1fWySn2CzgbENy_secret_kJOM57jeYqprt6H7fnZA4H4kV", "confirmation_method": "automatic", - "created": 1708989516, + "created": 1709821194, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDRQKuuB1fWySn0dPeuvdJ", + "latest_charge": "ch_3OrhnaKuuB1fWySn2AkVyIBv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDRQKuuB1fWySn4AM42kc4", + "payment_method": "pm_1OrhnZKuuB1fWySn5rM3Qvue", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:18:38 GMT + recorded_at: Thu, 07 Mar 2024 14:19:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDRQKuuB1fWySn01FSE5yV/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnaKuuB1fWySn2CzgbENy/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2yo7AM38rcYqU3","request_duration_ms":1028}}' + - '{"last_request_metrics":{"request_id":"req_0gZv7w8hMon3OC","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:39 GMT + - Thu, 07 Mar 2024 14:19:56 GMT Content-Type: - application/json Content-Length: @@ -448,12 +454,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - aef103c3-ca69-41fc-9250-8594f754a320 + - 7fef3196-6a59-4870-bce4-6f2e95ae72de Original-Request: - - req_yGL8lkFrtz4YGt + - req_EGvkcccMXkcvnM Request-Id: - - req_yGL8lkFrtz4YGt + - req_EGvkcccMXkcvnM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -468,7 +476,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDRQKuuB1fWySn01FSE5yV", + "id": "pi_3OrhnaKuuB1fWySn2CzgbENy", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -482,20 +490,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDRQKuuB1fWySn01FSE5yV_secret_WEQfT3kIi9xm0Z61CLSOOkfnw", + "client_secret": "pi_3OrhnaKuuB1fWySn2CzgbENy_secret_kJOM57jeYqprt6H7fnZA4H4kV", "confirmation_method": "automatic", - "created": 1708989516, + "created": 1709821194, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDRQKuuB1fWySn0dPeuvdJ", + "latest_charge": "ch_3OrhnaKuuB1fWySn2AkVyIBv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDRQKuuB1fWySn4AM42kc4", + "payment_method": "pm_1OrhnZKuuB1fWySn5rM3Qvue", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -520,29 +528,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:18:39 GMT + recorded_at: Thu, 07 Mar 2024 14:19:56 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDRQKuuB1fWySn01FSE5yV + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnaKuuB1fWySn2CzgbENy body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yGL8lkFrtz4YGt","request_duration_ms":1520}}' + - '{"last_request_metrics":{"request_id":"req_EGvkcccMXkcvnM","request_duration_ms":1224}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -555,7 +563,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:39 GMT + - Thu, 07 Mar 2024 14:19:57 GMT Content-Type: - application/json Content-Length: @@ -580,8 +588,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_BvR0PpVZI1wbmF + - req_IcxiGIPEivuMc9 Stripe-Version: - '2023-10-16' Vary: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDRQKuuB1fWySn01FSE5yV", + "id": "pi_3OrhnaKuuB1fWySn2CzgbENy", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDRQKuuB1fWySn01FSE5yV_secret_WEQfT3kIi9xm0Z61CLSOOkfnw", + "client_secret": "pi_3OrhnaKuuB1fWySn2CzgbENy_secret_kJOM57jeYqprt6H7fnZA4H4kV", "confirmation_method": "automatic", - "created": 1708989516, + "created": 1709821194, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDRQKuuB1fWySn0dPeuvdJ", + "latest_charge": "ch_3OrhnaKuuB1fWySn2AkVyIBv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDRQKuuB1fWySn4AM42kc4", + "payment_method": "pm_1OrhnZKuuB1fWySn5rM3Qvue", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,5 +656,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:18:40 GMT + recorded_at: Thu, 07 Mar 2024 14:19:57 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml index e20d0fc2cd..07570b51ad 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3ENCAVgSNLEU8u","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_yDhlGOjXdl6zWV","request_duration_ms":487}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:33 GMT + - Thu, 07 Mar 2024 14:19:49 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 67e3bf04-e17c-4f31-bb33-78920895cf3a + - b3b71c5e-565d-4f9c-a22e-c7bd24fca047 Original-Request: - - req_DaTatZTGGmYDLw + - req_fgMGzwP8VPiWoH Request-Id: - - req_DaTatZTGGmYDLw + - req_fgMGzwP8VPiWoH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDRMKuuB1fWySnPyCI08ej", + "id": "pm_1OrhnVKuuB1fWySnPj81m9Qz", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989513, + "created": 1709821189, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:18:33 GMT + recorded_at: Thu, 07 Mar 2024 14:19:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OoDRMKuuB1fWySnPyCI08ej&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OrhnVKuuB1fWySnPj81m9Qz&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DaTatZTGGmYDLw","request_duration_ms":397}}' + - '{"last_request_metrics":{"request_id":"req_fgMGzwP8VPiWoH","request_duration_ms":471}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:33 GMT + - Thu, 07 Mar 2024 14:19:50 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f5a3a049-8ecb-49ba-877c-498da9a2d613 + - c9b2488c-f248-49d3-9636-be0001b7887d Original-Request: - - req_diqAsQaMOTGX7U + - req_Cwt6yeuOtu6rnj Request-Id: - - req_diqAsQaMOTGX7U + - req_Cwt6yeuOtu6rnj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDRNKuuB1fWySn2aHY3j3K", + "id": "pi_3OrhnWKuuB1fWySn2Y0Qnf9x", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDRNKuuB1fWySn2aHY3j3K_secret_gPr7pHMirBoc1WyLD0ZbgyzDr", + "client_secret": "pi_3OrhnWKuuB1fWySn2Y0Qnf9x_secret_TMpcV4AjZVzkseIH9MWZVxmh0", "confirmation_method": "automatic", - "created": 1708989513, + "created": 1709821190, "currency": "aud", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDRMKuuB1fWySnPyCI08ej", + "payment_method": "pm_1OrhnVKuuB1fWySnPj81m9Qz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:18:33 GMT + recorded_at: Thu, 07 Mar 2024 14:19:50 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDRNKuuB1fWySn2aHY3j3K/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnWKuuB1fWySn2Y0Qnf9x/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_diqAsQaMOTGX7U","request_duration_ms":495}}' + - '{"last_request_metrics":{"request_id":"req_Cwt6yeuOtu6rnj","request_duration_ms":422}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:34 GMT + - Thu, 07 Mar 2024 14:19:51 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 51346a93-ee03-4317-96e4-aecf97c2c06a + - 51773103-a03c-4dc0-a9b7-ac5ab9938212 Original-Request: - - req_lyGde7ZHBIrjUM + - req_oqIqtJTs9v1Ak6 Request-Id: - - req_lyGde7ZHBIrjUM + - req_oqIqtJTs9v1Ak6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDRNKuuB1fWySn2aHY3j3K", + "id": "pi_3OrhnWKuuB1fWySn2Y0Qnf9x", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDRNKuuB1fWySn2aHY3j3K_secret_gPr7pHMirBoc1WyLD0ZbgyzDr", + "client_secret": "pi_3OrhnWKuuB1fWySn2Y0Qnf9x_secret_TMpcV4AjZVzkseIH9MWZVxmh0", "confirmation_method": "automatic", - "created": 1708989513, + "created": 1709821190, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDRNKuuB1fWySn2g3MZFSI", + "latest_charge": "ch_3OrhnWKuuB1fWySn2qeZKSw8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDRMKuuB1fWySnPyCI08ej", + "payment_method": "pm_1OrhnVKuuB1fWySnPj81m9Qz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:18:34 GMT + recorded_at: Thu, 07 Mar 2024 14:19:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDRNKuuB1fWySn2aHY3j3K/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnWKuuB1fWySn2Y0Qnf9x/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lyGde7ZHBIrjUM","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_oqIqtJTs9v1Ak6","request_duration_ms":1207}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:36 GMT + - Thu, 07 Mar 2024 14:19:52 GMT Content-Type: - application/json Content-Length: @@ -448,12 +454,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 35d0fb13-5a0b-4053-bbef-152d6f589a3d + - 8ee23bb7-46c5-47b3-b18e-f94c3515f76b Original-Request: - - req_S5vWMffhsD2jZ1 + - req_LAqkAvvd5Je20N Request-Id: - - req_S5vWMffhsD2jZ1 + - req_LAqkAvvd5Je20N Stripe-Should-Retry: - 'false' Stripe-Version: @@ -468,7 +476,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDRNKuuB1fWySn2aHY3j3K", + "id": "pi_3OrhnWKuuB1fWySn2Y0Qnf9x", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -482,20 +490,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDRNKuuB1fWySn2aHY3j3K_secret_gPr7pHMirBoc1WyLD0ZbgyzDr", + "client_secret": "pi_3OrhnWKuuB1fWySn2Y0Qnf9x_secret_TMpcV4AjZVzkseIH9MWZVxmh0", "confirmation_method": "automatic", - "created": 1708989513, + "created": 1709821190, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDRNKuuB1fWySn2g3MZFSI", + "latest_charge": "ch_3OrhnWKuuB1fWySn2qeZKSw8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDRMKuuB1fWySnPyCI08ej", + "payment_method": "pm_1OrhnVKuuB1fWySnPj81m9Qz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -520,5 +528,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:18:36 GMT + recorded_at: Thu, 07 Mar 2024 14:19:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml similarity index 77% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml index 7242e998af..60d266a7f0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_l95jpFal7tpCXh","request_duration_ms":381}}' + - '{"last_request_metrics":{"request_id":"req_UuyZF6NdZrqP5N","request_duration_ms":378}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:32 GMT + - Thu, 07 Mar 2024 14:19:48 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6c29d490-1aa7-4645-9dc2-9b928e6a2d21 + - 9e52b5f0-ed21-4c6a-8f8c-5a949b6cb0d4 Original-Request: - - req_A0YMPOSD3dL6Ol + - req_NtSx3JaZhHWVgI Request-Id: - - req_A0YMPOSD3dL6Ol + - req_NtSx3JaZhHWVgI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDRLKuuB1fWySnk7w5UxCE", + "id": "pm_1OrhnUKuuB1fWySnXVATFi67", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989512, + "created": 1709821188, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:18:32 GMT + recorded_at: Thu, 07 Mar 2024 14:19:48 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OoDRLKuuB1fWySnk7w5UxCE&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OrhnUKuuB1fWySnXVATFi67&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_A0YMPOSD3dL6Ol","request_duration_ms":521}}' + - '{"last_request_metrics":{"request_id":"req_NtSx3JaZhHWVgI","request_duration_ms":443}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:32 GMT + - Thu, 07 Mar 2024 14:19:49 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1eb5e180-a632-4537-b4d9-c3cf509862fd + - c02a2581-e154-416e-93e5-6f3aa50dcc2e Original-Request: - - req_3ENCAVgSNLEU8u + - req_yDhlGOjXdl6zWV Request-Id: - - req_3ENCAVgSNLEU8u + - req_yDhlGOjXdl6zWV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDRMKuuB1fWySn0Z7GBkCb", + "id": "pi_3OrhnUKuuB1fWySn0TNgd4oG", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDRMKuuB1fWySn0Z7GBkCb_secret_lqJvYKENvmNtKKzFbW5TCLr6C", + "client_secret": "pi_3OrhnUKuuB1fWySn0TNgd4oG_secret_2rR54EEOSONhKqdxCwGmKnrrN", "confirmation_method": "automatic", - "created": 1708989512, + "created": 1709821188, "currency": "aud", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDRLKuuB1fWySnk7w5UxCE", + "payment_method": "pm_1OrhnUKuuB1fWySnXVATFi67", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,5 +260,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:18:32 GMT + recorded_at: Thu, 07 Mar 2024 14:19:49 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml similarity index 77% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml index d6aed7a90c..29dbfb1dc6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ud3GvkZwrHn7hr","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_kvFxQHEU9WACNJ","request_duration_ms":498}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:30 GMT + - Thu, 07 Mar 2024 14:19:46 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - df5ca5c9-dfbd-4662-b345-0117fb0c27e0 + - cae72e17-1ea5-4bca-b638-0256d98f5f68 Original-Request: - - req_HdBvPUyvjHC10F + - req_pk8MAC00CYty2V Request-Id: - - req_HdBvPUyvjHC10F + - req_pk8MAC00CYty2V Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDRKKuuB1fWySnEh1IcuMp", + "id": "pm_1OrhnSKuuB1fWySnmKrfz4tk", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989510, + "created": 1709821186, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:18:30 GMT + recorded_at: Thu, 07 Mar 2024 14:19:46 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OoDRKKuuB1fWySnEh1IcuMp&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OrhnSKuuB1fWySnmKrfz4tk&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HdBvPUyvjHC10F","request_duration_ms":441}}' + - '{"last_request_metrics":{"request_id":"req_pk8MAC00CYty2V","request_duration_ms":547}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:31 GMT + - Thu, 07 Mar 2024 14:19:47 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6260a6d8-22ef-4108-8343-07cde35a054b + - 967c3509-79c1-4d66-8aeb-b04c3bb96553 Original-Request: - - req_sFwoqoFnMRcKoS + - req_jM4W8E76pYHfTP Request-Id: - - req_sFwoqoFnMRcKoS + - req_jM4W8E76pYHfTP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDRLKuuB1fWySn1hFcJ8w2", + "id": "pi_3OrhnTKuuB1fWySn0szPZVyV", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDRLKuuB1fWySn1hFcJ8w2_secret_q6RoUdzpod2WIcu28ehN1ZdlV", + "client_secret": "pi_3OrhnTKuuB1fWySn0szPZVyV_secret_2NxoHwLmQjPN7OyHWnw2qslU3", "confirmation_method": "automatic", - "created": 1708989511, + "created": 1709821187, "currency": "aud", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDRKKuuB1fWySnEh1IcuMp", + "payment_method": "pm_1OrhnSKuuB1fWySnmKrfz4tk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:18:31 GMT + recorded_at: Thu, 07 Mar 2024 14:19:47 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDRLKuuB1fWySn1hFcJ8w2 + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnTKuuB1fWySn0szPZVyV body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sFwoqoFnMRcKoS","request_duration_ms":447}}' + - '{"last_request_metrics":{"request_id":"req_jM4W8E76pYHfTP","request_duration_ms":400}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:31 GMT + - Thu, 07 Mar 2024 14:19:47 GMT Content-Type: - application/json Content-Length: @@ -316,8 +320,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_l95jpFal7tpCXh + - req_UuyZF6NdZrqP5N Stripe-Version: - '2023-10-16' Vary: @@ -330,7 +336,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDRLKuuB1fWySn1hFcJ8w2", + "id": "pi_3OrhnTKuuB1fWySn0szPZVyV", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -344,9 +350,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDRLKuuB1fWySn1hFcJ8w2_secret_q6RoUdzpod2WIcu28ehN1ZdlV", + "client_secret": "pi_3OrhnTKuuB1fWySn0szPZVyV_secret_2NxoHwLmQjPN7OyHWnw2qslU3", "confirmation_method": "automatic", - "created": 1708989511, + "created": 1709821187, "currency": "aud", "customer": null, "description": null, @@ -357,7 +363,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDRKKuuB1fWySnEh1IcuMp", + "payment_method": "pm_1OrhnSKuuB1fWySnmKrfz4tk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -382,5 +388,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:18:31 GMT + recorded_at: Thu, 07 Mar 2024 14:19:47 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml similarity index 77% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml index 495ec548f5..5b8acf4c1c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KzegHddQIdmvfb","request_duration_ms":606}}' + - '{"last_request_metrics":{"request_id":"req_kAYjNTpAo3eof0","request_duration_ms":686}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:29 GMT + - Thu, 07 Mar 2024 14:19:45 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 69031e0e-5fa5-4b61-b0f2-36c9eeb70cf8 + - 283d12af-f2f0-489a-b0cd-56e3f021968b Original-Request: - - req_1YFxL61FVM0ylG + - req_E9YA9tFATtinUk Request-Id: - - req_1YFxL61FVM0ylG + - req_E9YA9tFATtinUk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDRJKuuB1fWySn9WZqskdy", + "id": "pm_1OrhnQKuuB1fWySnnsvGdGma", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989509, + "created": 1709821185, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:18:29 GMT + recorded_at: Thu, 07 Mar 2024 14:19:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OoDRJKuuB1fWySn9WZqskdy&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OrhnQKuuB1fWySnnsvGdGma&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1YFxL61FVM0ylG","request_duration_ms":433}}' + - '{"last_request_metrics":{"request_id":"req_E9YA9tFATtinUk","request_duration_ms":516}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:30 GMT + - Thu, 07 Mar 2024 14:19:45 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a77ee7b9-5892-4322-b33c-6c934f72dfbd + - 53cb0d2a-f3b1-4c0a-8ba4-5a8276ff38fa Original-Request: - - req_Ud3GvkZwrHn7hr + - req_kvFxQHEU9WACNJ Request-Id: - - req_Ud3GvkZwrHn7hr + - req_kvFxQHEU9WACNJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDRKKuuB1fWySn2rxLNNEZ", + "id": "pi_3OrhnRKuuB1fWySn2aw6QugY", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDRKKuuB1fWySn2rxLNNEZ_secret_XU5hRrvBxgnexwsidz9uGQmZf", + "client_secret": "pi_3OrhnRKuuB1fWySn2aw6QugY_secret_KND0j1VcnnukRnxEvkiLnVtfr", "confirmation_method": "automatic", - "created": 1708989510, + "created": 1709821185, "currency": "aud", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDRJKuuB1fWySn9WZqskdy", + "payment_method": "pm_1OrhnQKuuB1fWySnnsvGdGma", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,5 +260,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:18:30 GMT + recorded_at: Thu, 07 Mar 2024 14:19:45 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml index 19cd539979..684c8e9648 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MZVWecwtG9mJav","request_duration_ms":385}}' + - '{"last_request_metrics":{"request_id":"req_fQBUTPOEqROOqL","request_duration_ms":399}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:07 GMT + - Thu, 07 Mar 2024 14:16:50 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d42600f9-7142-4b5c-89a7-2bf77c0cdb91 + - 0faede19-3f25-4b07-aef9-3499ee183d20 Original-Request: - - req_yqckvbWzoXBGP5 + - req_cxLKQLHjPVhypX Request-Id: - - req_yqckvbWzoXBGP5 + - req_cxLKQLHjPVhypX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDP1KuuB1fWySn4TnExuUO", + "id": "pm_1OrhkcKuuB1fWySnwh1w9f92", "object": "payment_method", "billing_details": { "address": { @@ -119,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1708989367, + "created": 1709821010, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:07 GMT + recorded_at: Thu, 07 Mar 2024 14:16:51 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -134,20 +136,20 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yqckvbWzoXBGP5","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_cxLKQLHjPVhypX","request_duration_ms":566}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:09 GMT + - Thu, 07 Mar 2024 14:16:52 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - df9b90f9-3ce2-4546-b340-8c8ce5509db7 + - 6ea18705-dd84-414f-be78-67607e895c80 Original-Request: - - req_ByJHh6CkWvjRnF + - req_vGh8YFScXsocAC Request-Id: - - req_ByJHh6CkWvjRnF + - req_vGh8YFScXsocAC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OoDP1QRmd4V01E9", + "id": "acct_1OrhkdQRNDeCaisZ", "object": "account", "business_profile": { "annual_revenue": null, @@ -226,7 +230,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1708989368, + "created": 1709821012, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -235,7 +239,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OoDP1QRmd4V01E9/external_accounts" + "url": "/v1/accounts/acct_1OrhkdQRNDeCaisZ/external_accounts" }, "future_requirements": { "alternatives": [], @@ -332,29 +336,29 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 26 Feb 2024 23:16:09 GMT + recorded_at: Thu, 07 Mar 2024 14:16:52 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1OoDP1KuuB1fWySn4TnExuUO + uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkcKuuB1fWySnwh1w9f92 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ByJHh6CkWvjRnF","request_duration_ms":1728}}' + - '{"last_request_metrics":{"request_id":"req_vGh8YFScXsocAC","request_duration_ms":1911}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +371,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:09 GMT + - Thu, 07 Mar 2024 14:16:53 GMT Content-Type: - application/json Content-Length: @@ -392,8 +396,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_DonQPjc5BjRzmG + - req_OP3vICRrOlSABQ Stripe-Version: - '2023-10-16' Vary: @@ -406,7 +412,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDP1KuuB1fWySn4TnExuUO", + "id": "pm_1OrhkcKuuB1fWySnwh1w9f92", "object": "payment_method", "billing_details": { "address": { @@ -447,13 +453,13 @@ http_interactions: }, "wallet": null }, - "created": 1708989367, + "created": 1709821010, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:09 GMT + recorded_at: Thu, 07 Mar 2024 14:16:53 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -462,22 +468,22 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DonQPjc5BjRzmG","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_OP3vICRrOlSABQ","request_duration_ms":300}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OoDP1QRmd4V01E9 + - acct_1OrhkdQRNDeCaisZ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -490,7 +496,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:10 GMT + - Thu, 07 Mar 2024 14:16:53 GMT Content-Type: - application/json Content-Length: @@ -514,10 +520,12 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_qo4s5qhtNpP4BE + - req_nAoQLl5LkNFnLL Stripe-Account: - - acct_1OoDP1QRmd4V01E9 + - acct_1OrhkdQRNDeCaisZ Stripe-Version: - '2023-10-16' Vary: @@ -535,31 +543,31 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Mon, 26 Feb 2024 23:16:10 GMT + recorded_at: Thu, 07 Mar 2024 14:16:53 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: payment_method=pm_1OoDP1KuuB1fWySn4TnExuUO + string: payment_method=pm_1OrhkcKuuB1fWySnwh1w9f92 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qo4s5qhtNpP4BE","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_nAoQLl5LkNFnLL","request_duration_ms":303}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OoDP1QRmd4V01E9 + - acct_1OrhkdQRNDeCaisZ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -572,7 +580,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:10 GMT + - Thu, 07 Mar 2024 14:16:53 GMT Content-Type: - application/json Content-Length: @@ -596,14 +604,16 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fbc9ce5c-f5dd-4008-a521-d3a86a0e5ba7 + - 58738b89-23b3-491a-b31d-0703f2c48133 Original-Request: - - req_kn6uYApFH1OQg3 + - req_5hnKdGBtNZ0xdS Request-Id: - - req_kn6uYApFH1OQg3 + - req_5hnKdGBtNZ0xdS Stripe-Account: - - acct_1OoDP1QRmd4V01E9 + - acct_1OrhkdQRNDeCaisZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -618,7 +628,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDP4QRmd4V01E9B2qRFYKx", + "id": "pm_1OrhkfQRNDeCaisZh3JSi8x9", "object": "payment_method", "billing_details": { "address": { @@ -659,11 +669,11 @@ http_interactions: }, "wallet": null }, - "created": 1708989370, + "created": 1709821013, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:10 GMT + recorded_at: Thu, 07 Mar 2024 14:16:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml similarity index 78% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml index 1c90962380..24462d651c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kn6uYApFH1OQg3","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_5hnKdGBtNZ0xdS","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:11 GMT + - Thu, 07 Mar 2024 14:16:54 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 15bf1865-ece2-47ce-ae42-92f3949d070b + - d83ba969-8744-4efc-9020-4ab31fb6bf0f Original-Request: - - req_AYTuBbb8BtPB1C + - req_xvwcpGZDr1U8eC Request-Id: - - req_AYTuBbb8BtPB1C + - req_xvwcpGZDr1U8eC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDP4KuuB1fWySnRSuHiW2X", + "id": "pm_1OrhkgKuuB1fWySntoB8YpdD", "object": "payment_method", "billing_details": { "address": { @@ -119,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1708989370, + "created": 1709821014, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:11 GMT + recorded_at: Thu, 07 Mar 2024 14:16:54 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -134,20 +136,20 @@ http_interactions: string: name=Apple+Customer&email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AYTuBbb8BtPB1C","request_duration_ms":565}}' + - '{"last_request_metrics":{"request_id":"req_xvwcpGZDr1U8eC","request_duration_ms":562}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:11 GMT + - Thu, 07 Mar 2024 14:16:55 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 96cc5473-b89c-46f5-87a4-1f6e45c0fa8f + - 6b754644-f2f5-4b6b-930d-d3e724b7ad4e Original-Request: - - req_O6yHKzQr514fRg + - req_HW8XkBgdAICXUM Request-Id: - - req_O6yHKzQr514fRg + - req_HW8XkBgdAICXUM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PdUNsw15MhudtN", + "id": "cus_Ph5wr3Nazs6Otr", "object": "customer", "address": null, "balance": 0, - "created": 1708989371, + "created": 1709821015, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "50F6A45B", + "invoice_prefix": "9B29FAD1", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -232,29 +236,29 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 26 Feb 2024 23:16:11 GMT + recorded_at: Thu, 07 Mar 2024 14:16:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OoDP4KuuB1fWySnRSuHiW2X/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkgKuuB1fWySntoB8YpdD/attach body: encoding: UTF-8 - string: customer=cus_PdUNsw15MhudtN + string: customer=cus_Ph5wr3Nazs6Otr headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_O6yHKzQr514fRg","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_HW8XkBgdAICXUM","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -267,7 +271,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:12 GMT + - Thu, 07 Mar 2024 14:16:56 GMT Content-Type: - application/json Content-Length: @@ -292,12 +296,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 251f94d1-1e01-4140-858f-622c61c48788 + - fce67017-03bb-431b-94d5-1622e6842845 Original-Request: - - req_KLfAYfeJx2QNQZ + - req_vc5rKC0NG3qbWc Request-Id: - - req_KLfAYfeJx2QNQZ + - req_vc5rKC0NG3qbWc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -312,7 +318,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDP4KuuB1fWySnRSuHiW2X", + "id": "pm_1OrhkgKuuB1fWySntoB8YpdD", "object": "payment_method", "billing_details": { "address": { @@ -353,13 +359,13 @@ http_interactions: }, "wallet": null }, - "created": 1708989370, - "customer": "cus_PdUNsw15MhudtN", + "created": 1709821014, + "customer": "cus_Ph5wr3Nazs6Otr", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:12 GMT + recorded_at: Thu, 07 Mar 2024 14:16:56 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -368,20 +374,20 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KLfAYfeJx2QNQZ","request_duration_ms":633}}' + - '{"last_request_metrics":{"request_id":"req_vc5rKC0NG3qbWc","request_duration_ms":714}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -394,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:13 GMT + - Thu, 07 Mar 2024 14:16:57 GMT Content-Type: - application/json Content-Length: @@ -418,12 +424,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 731c8244-9ee2-413a-adeb-cfe791e108ad + - 59e1cd49-1f98-4721-900e-e699c5cb6acb Original-Request: - - req_WSjNv6uVHshYTe + - req_Rwg4sOjXLHVW8c Request-Id: - - req_WSjNv6uVHshYTe + - req_Rwg4sOjXLHVW8c Stripe-Should-Retry: - 'false' Stripe-Version: @@ -438,7 +446,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OoDP64GcAVqSETF", + "id": "acct_1OrhkiQRW3mEwlwJ", "object": "account", "business_profile": { "annual_revenue": null, @@ -460,7 +468,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1708989373, + "created": 1709821017, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -469,7 +477,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OoDP64GcAVqSETF/external_accounts" + "url": "/v1/accounts/acct_1OrhkiQRW3mEwlwJ/external_accounts" }, "future_requirements": { "alternatives": [], @@ -566,29 +574,29 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 26 Feb 2024 23:16:14 GMT + recorded_at: Thu, 07 Mar 2024 14:16:57 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1OoDP4KuuB1fWySnRSuHiW2X + uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkgKuuB1fWySntoB8YpdD body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WSjNv6uVHshYTe","request_duration_ms":1713}}' + - '{"last_request_metrics":{"request_id":"req_Rwg4sOjXLHVW8c","request_duration_ms":1609}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -601,7 +609,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:14 GMT + - Thu, 07 Mar 2024 14:16:58 GMT Content-Type: - application/json Content-Length: @@ -626,8 +634,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_xu9F71ozltowtt + - req_Xm6femIXiYnhh7 Stripe-Version: - '2023-10-16' Vary: @@ -640,7 +650,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDP4KuuB1fWySnRSuHiW2X", + "id": "pm_1OrhkgKuuB1fWySntoB8YpdD", "object": "payment_method", "billing_details": { "address": { @@ -681,13 +691,13 @@ http_interactions: }, "wallet": null }, - "created": 1708989370, - "customer": "cus_PdUNsw15MhudtN", + "created": 1709821014, + "customer": "cus_Ph5wr3Nazs6Otr", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:14 GMT + recorded_at: Thu, 07 Mar 2024 14:16:58 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -696,22 +706,22 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xu9F71ozltowtt","request_duration_ms":305}}' + - '{"last_request_metrics":{"request_id":"req_Xm6femIXiYnhh7","request_duration_ms":299}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OoDP64GcAVqSETF + - acct_1OrhkiQRW3mEwlwJ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -724,7 +734,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:14 GMT + - Thu, 07 Mar 2024 14:16:58 GMT Content-Type: - application/json Content-Length: @@ -748,10 +758,12 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_NjmKwbLvNF2PMs + - req_W3P2rT5H1EoLZZ Stripe-Account: - - acct_1OoDP64GcAVqSETF + - acct_1OrhkiQRW3mEwlwJ Stripe-Version: - '2023-10-16' Vary: @@ -769,31 +781,31 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Mon, 26 Feb 2024 23:16:14 GMT + recorded_at: Thu, 07 Mar 2024 14:16:58 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: customer=cus_PdUNsw15MhudtN&payment_method=pm_1OoDP4KuuB1fWySnRSuHiW2X + string: customer=cus_Ph5wr3Nazs6Otr&payment_method=pm_1OrhkgKuuB1fWySntoB8YpdD headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NjmKwbLvNF2PMs","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_W3P2rT5H1EoLZZ","request_duration_ms":303}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OoDP64GcAVqSETF + - acct_1OrhkiQRW3mEwlwJ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -806,7 +818,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:14 GMT + - Thu, 07 Mar 2024 14:16:58 GMT Content-Type: - application/json Content-Length: @@ -830,14 +842,16 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 86649db3-183b-4ec6-9ec0-d569d6e45b4d + - 0cdbdb40-c0ff-459d-8d9b-73abfdc2f6b3 Original-Request: - - req_KEvL9iGODGScws + - req_MHzcj1JmK6F0xy Request-Id: - - req_KEvL9iGODGScws + - req_MHzcj1JmK6F0xy Stripe-Account: - - acct_1OoDP64GcAVqSETF + - acct_1OrhkiQRW3mEwlwJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -852,7 +866,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDP84GcAVqSETF2bhHnfxp", + "id": "pm_1OrhkkQRW3mEwlwJbbFs4Xg6", "object": "payment_method", "billing_details": { "address": { @@ -893,13 +907,13 @@ http_interactions: }, "wallet": null }, - "created": 1708989374, + "created": 1709821018, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:14 GMT + recorded_at: Thu, 07 Mar 2024 14:16:58 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -908,22 +922,22 @@ http_interactions: string: email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KEvL9iGODGScws","request_duration_ms":322}}' + - '{"last_request_metrics":{"request_id":"req_MHzcj1JmK6F0xy","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OoDP64GcAVqSETF + - acct_1OrhkiQRW3mEwlwJ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -936,7 +950,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:15 GMT + - Thu, 07 Mar 2024 14:16:59 GMT Content-Type: - application/json Content-Length: @@ -960,14 +974,16 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4fef06e9-8ab6-4350-b6f2-c18195b81fe0 + - 1926b1a9-5e43-467b-97e9-f1831a1e4e87 Original-Request: - - req_sPHgP52CMFhkwe + - req_AwpT73FOYgxGmQ Request-Id: - - req_sPHgP52CMFhkwe + - req_AwpT73FOYgxGmQ Stripe-Account: - - acct_1OoDP64GcAVqSETF + - acct_1OrhkiQRW3mEwlwJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -982,18 +998,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PdUN2nwDg4RLMC", + "id": "cus_Ph5wCJUIuB9Bx4", "object": "customer", "address": null, "balance": 0, - "created": 1708989375, + "created": 1709821018, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "9347D35E", + "invoice_prefix": "2FEFD246", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -1010,31 +1026,31 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 26 Feb 2024 23:16:15 GMT + recorded_at: Thu, 07 Mar 2024 14:16:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OoDP84GcAVqSETF2bhHnfxp/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkkQRW3mEwlwJbbFs4Xg6/attach body: encoding: UTF-8 - string: customer=cus_PdUN2nwDg4RLMC + string: customer=cus_Ph5wCJUIuB9Bx4 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sPHgP52CMFhkwe","request_duration_ms":394}}' + - '{"last_request_metrics":{"request_id":"req_AwpT73FOYgxGmQ","request_duration_ms":389}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OoDP64GcAVqSETF + - acct_1OrhkiQRW3mEwlwJ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1047,7 +1063,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:15 GMT + - Thu, 07 Mar 2024 14:16:59 GMT Content-Type: - application/json Content-Length: @@ -1072,14 +1088,16 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a188b723-97b3-4006-97e4-5831daaeb273 + - 10634149-4cff-4e31-afa5-ec1dae66ff57 Original-Request: - - req_uiAClbGo4GktMK + - req_WnZIRLVsaa2mwY Request-Id: - - req_uiAClbGo4GktMK + - req_WnZIRLVsaa2mwY Stripe-Account: - - acct_1OoDP64GcAVqSETF + - acct_1OrhkiQRW3mEwlwJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1094,7 +1112,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDP84GcAVqSETF2bhHnfxp", + "id": "pm_1OrhkkQRW3mEwlwJbbFs4Xg6", "object": "payment_method", "billing_details": { "address": { @@ -1135,37 +1153,37 @@ http_interactions: }, "wallet": null }, - "created": 1708989374, - "customer": "cus_PdUN2nwDg4RLMC", + "created": 1709821018, + "customer": "cus_Ph5wCJUIuB9Bx4", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:15 GMT + recorded_at: Thu, 07 Mar 2024 14:16:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OoDP84GcAVqSETF2bhHnfxp + uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkkQRW3mEwlwJbbFs4Xg6 body: encoding: UTF-8 string: metadata[ofn-clone]=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uiAClbGo4GktMK","request_duration_ms":373}}' + - '{"last_request_metrics":{"request_id":"req_WnZIRLVsaa2mwY","request_duration_ms":425}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OoDP64GcAVqSETF + - acct_1OrhkiQRW3mEwlwJ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1178,7 +1196,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:16 GMT + - Thu, 07 Mar 2024 14:17:00 GMT Content-Type: - application/json Content-Length: @@ -1203,14 +1221,16 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3cabaca5-7ff3-4c0e-83d2-9129acc5e789 + - 398b0533-d5ab-487a-a732-cd1568ea1105 Original-Request: - - req_3vLQhj4nsp5zf1 + - req_HlxKpkuBKRtyQL Request-Id: - - req_3vLQhj4nsp5zf1 + - req_HlxKpkuBKRtyQL Stripe-Account: - - acct_1OoDP64GcAVqSETF + - acct_1OrhkiQRW3mEwlwJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1225,7 +1245,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDP84GcAVqSETF2bhHnfxp", + "id": "pm_1OrhkkQRW3mEwlwJbbFs4Xg6", "object": "payment_method", "billing_details": { "address": { @@ -1266,13 +1286,13 @@ http_interactions: }, "wallet": null }, - "created": 1708989374, - "customer": "cus_PdUN2nwDg4RLMC", + "created": 1709821018, + "customer": "cus_Ph5wCJUIuB9Bx4", "livemode": false, "metadata": { "ofn-clone": "true" }, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:16 GMT + recorded_at: Thu, 07 Mar 2024 14:17:00 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml similarity index 78% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml index 0030774da8..a1b7043963 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_B0FhYsp0bBTNRp","request_duration_ms":640}}' + - '{"last_request_metrics":{"request_id":"req_OPu7bXqfz0V9aY","request_duration_ms":814}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:20 GMT + - Thu, 07 Mar 2024 14:17:05 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 39ab9bf7-aea4-4b8e-a577-5ddadd144e67 + - b00f6298-c2bd-48a0-89c4-57190042e657 Original-Request: - - req_8AzdCIco8PUIix + - req_Fi5mVfPEq8sEDc Request-Id: - - req_8AzdCIco8PUIix + - req_Fi5mVfPEq8sEDc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPEKuuB1fWySn9FVslQQ3", + "id": "pm_1OrhkrKuuB1fWySn1l8UGBa8", "object": "payment_method", "billing_details": { "address": { @@ -119,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1708989380, + "created": 1709821025, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:20 GMT + recorded_at: Thu, 07 Mar 2024 14:17:05 GMT - request: method: get uri: https://api.stripe.com/v1/customers/non_existing_customer_id @@ -134,20 +136,20 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8AzdCIco8PUIix","request_duration_ms":505}}' + - '{"last_request_metrics":{"request_id":"req_Fi5mVfPEq8sEDc","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:20 GMT + - Thu, 07 Mar 2024 14:17:05 GMT Content-Type: - application/json Content-Length: @@ -185,8 +187,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_O11rogBMRB0GA3 + - req_mWtv7DaALNyOSy Stripe-Version: - '2023-10-16' Vary: @@ -204,9 +208,9 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/resource-missing", "message": "No such customer: 'non_existing_customer_id'", "param": "id", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_O11rogBMRB0GA3?t=1708989380", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_mWtv7DaALNyOSy?t=1709821025", "type": "invalid_request_error" } } - recorded_at: Mon, 26 Feb 2024 23:16:20 GMT + recorded_at: Thu, 07 Mar 2024 14:17:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml similarity index 77% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml index c1e2d0188f..2a1aa4f48c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jagI9P8dKgmSWe","request_duration_ms":398}}' + - '{"last_request_metrics":{"request_id":"req_JRCYthLQKDEkId","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:18 GMT + - Thu, 07 Mar 2024 14:17:03 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0b91afe4-236d-4294-bf8d-93c912ff4988 + - 6576d786-cadc-416d-8e54-2064c4a8c735 Original-Request: - - req_UAGWuxx3yA5Vv4 + - req_Nf65TEWGxgVONK Request-Id: - - req_UAGWuxx3yA5Vv4 + - req_Nf65TEWGxgVONK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPCKuuB1fWySndu16bikJ", + "id": "pm_1OrhkpKuuB1fWySnZNLaiwuw", "object": "payment_method", "billing_details": { "address": { @@ -119,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1708989378, + "created": 1709821023, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:18 GMT + recorded_at: Thu, 07 Mar 2024 14:17:03 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -134,20 +136,20 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UAGWuxx3yA5Vv4","request_duration_ms":444}}' + - '{"last_request_metrics":{"request_id":"req_Nf65TEWGxgVONK","request_duration_ms":471}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:19 GMT + - Thu, 07 Mar 2024 14:17:03 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6d27457a-76ef-46b5-a5c9-de32b1c27b49 + - 43ce9028-1a6d-4f13-8c46-aa6ab86d2876 Original-Request: - - req_0av87H3OplRDPq + - req_WbgJpSleO0Ma28 Request-Id: - - req_0av87H3OplRDPq + - req_WbgJpSleO0Ma28 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PdUNmATwItHxBf", + "id": "cus_Ph5wfvjovdO2Du", "object": "customer", "address": null, "balance": 0, - "created": 1708989379, + "created": 1709821023, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "DDFA35D2", + "invoice_prefix": "BF30F687", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -232,29 +236,29 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 26 Feb 2024 23:16:19 GMT + recorded_at: Thu, 07 Mar 2024 14:17:04 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OoDPCKuuB1fWySndu16bikJ/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkpKuuB1fWySnZNLaiwuw/attach body: encoding: UTF-8 - string: customer=cus_PdUNmATwItHxBf + string: customer=cus_Ph5wfvjovdO2Du headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0av87H3OplRDPq","request_duration_ms":386}}' + - '{"last_request_metrics":{"request_id":"req_WbgJpSleO0Ma28","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -267,7 +271,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:19 GMT + - Thu, 07 Mar 2024 14:17:04 GMT Content-Type: - application/json Content-Length: @@ -292,12 +296,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6b24e01a-4589-4ec7-80fa-e4bd5b3b9260 + - 861d81ac-fd61-4949-a6ef-5f26aa3b26fd Original-Request: - - req_B0FhYsp0bBTNRp + - req_OPu7bXqfz0V9aY Request-Id: - - req_B0FhYsp0bBTNRp + - req_OPu7bXqfz0V9aY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -312,7 +318,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPCKuuB1fWySndu16bikJ", + "id": "pm_1OrhkpKuuB1fWySnZNLaiwuw", "object": "payment_method", "billing_details": { "address": { @@ -353,11 +359,11 @@ http_interactions: }, "wallet": null }, - "created": 1708989378, - "customer": "cus_PdUNmATwItHxBf", + "created": 1709821023, + "customer": "cus_Ph5wfvjovdO2Du", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:19 GMT + recorded_at: Thu, 07 Mar 2024 14:17:04 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml index 1fba9186bf..de884d0bb9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3vLQhj4nsp5zf1","request_duration_ms":443}}' + - '{"last_request_metrics":{"request_id":"req_HlxKpkuBKRtyQL","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:16 GMT + - Thu, 07 Mar 2024 14:17:00 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 877727d0-490b-4119-b299-21862609b98a + - 88481860-3e38-49c8-a975-9116c4758230 Original-Request: - - req_qDda2CdD89FBg7 + - req_hri8FzA2ZQK2uk Request-Id: - - req_qDda2CdD89FBg7 + - req_hri8FzA2ZQK2uk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPAKuuB1fWySnHB5k8Xdr", + "id": "pm_1OrhkmKuuB1fWySnINEG6Bfm", "object": "payment_method", "billing_details": { "address": { @@ -119,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1708989376, + "created": 1709821020, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:16 GMT + recorded_at: Thu, 07 Mar 2024 14:17:00 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -134,20 +136,20 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qDda2CdD89FBg7","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_hri8FzA2ZQK2uk","request_duration_ms":544}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:17 GMT + - Thu, 07 Mar 2024 14:17:01 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d99a3d4a-4cd2-41cf-afd3-1229add56295 + - 6b87ff1c-4eef-4ba6-84a6-517ac7375ad8 Original-Request: - - req_owkriGiaWPLaiF + - req_EpRzQnZOJKBeQc Request-Id: - - req_owkriGiaWPLaiF + - req_EpRzQnZOJKBeQc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PdUNwYjpPCRZ2J", + "id": "cus_Ph5wrHccqtK6h3", "object": "customer", "address": null, "balance": 0, - "created": 1708989376, + "created": 1709821021, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "A72EC627", + "invoice_prefix": "B28D058C", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -232,29 +236,29 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 26 Feb 2024 23:16:17 GMT + recorded_at: Thu, 07 Mar 2024 14:17:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OoDPAKuuB1fWySnHB5k8Xdr/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkmKuuB1fWySnINEG6Bfm/attach body: encoding: UTF-8 - string: customer=cus_PdUNwYjpPCRZ2J + string: customer=cus_Ph5wrHccqtK6h3 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_owkriGiaWPLaiF","request_duration_ms":392}}' + - '{"last_request_metrics":{"request_id":"req_EpRzQnZOJKBeQc","request_duration_ms":403}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -267,7 +271,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:17 GMT + - Thu, 07 Mar 2024 14:17:02 GMT Content-Type: - application/json Content-Length: @@ -292,12 +296,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c1fa6c3a-3cf9-4801-9b8b-d40e2829e81d + - 46e936f2-7be3-4af4-9353-30bca41cdfe4 Original-Request: - - req_u2Xr4QOWypHU8F + - req_g8fRsRd8LSwfDc Request-Id: - - req_u2Xr4QOWypHU8F + - req_g8fRsRd8LSwfDc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -312,7 +318,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPAKuuB1fWySnHB5k8Xdr", + "id": "pm_1OrhkmKuuB1fWySnINEG6Bfm", "object": "payment_method", "billing_details": { "address": { @@ -353,35 +359,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989376, - "customer": "cus_PdUNwYjpPCRZ2J", + "created": 1709821020, + "customer": "cus_Ph5wrHccqtK6h3", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:17 GMT + recorded_at: Thu, 07 Mar 2024 14:17:02 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PdUNwYjpPCRZ2J + uri: https://api.stripe.com/v1/customers/cus_Ph5wrHccqtK6h3 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_u2Xr4QOWypHU8F","request_duration_ms":685}}' + - '{"last_request_metrics":{"request_id":"req_g8fRsRd8LSwfDc","request_duration_ms":715}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -394,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:17 GMT + - Thu, 07 Mar 2024 14:17:02 GMT Content-Type: - application/json Content-Length: @@ -419,8 +425,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_UhmT9op37JI9Qi + - req_bFBI1lZ0UaFXxj Stripe-Version: - '2023-10-16' Vary: @@ -433,18 +441,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PdUNwYjpPCRZ2J", + "id": "cus_Ph5wrHccqtK6h3", "object": "customer", "address": null, "balance": 0, - "created": 1708989376, + "created": 1709821021, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "A72EC627", + "invoice_prefix": "B28D058C", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -461,29 +469,29 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 26 Feb 2024 23:16:17 GMT + recorded_at: Thu, 07 Mar 2024 14:17:02 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_PdUNwYjpPCRZ2J + uri: https://api.stripe.com/v1/customers/cus_Ph5wrHccqtK6h3 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UhmT9op37JI9Qi","request_duration_ms":250}}' + - '{"last_request_metrics":{"request_id":"req_bFBI1lZ0UaFXxj","request_duration_ms":278}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -496,7 +504,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:18 GMT + - Thu, 07 Mar 2024 14:17:02 GMT Content-Type: - application/json Content-Length: @@ -521,8 +529,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_jagI9P8dKgmSWe + - req_JRCYthLQKDEkId Stripe-Version: - '2023-10-16' Vary: @@ -535,9 +545,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PdUNwYjpPCRZ2J", + "id": "cus_Ph5wrHccqtK6h3", "object": "customer", "deleted": true } - recorded_at: Mon, 26 Feb 2024 23:16:18 GMT + recorded_at: Thu, 07 Mar 2024 14:17:02 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index b201989650..28a5689634 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4000000000006975&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AyeNpHCuhODsbo","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_rfNPFIz72cgwGh","request_duration_ms":413}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:57 GMT + - Thu, 07 Mar 2024 14:18:59 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fc8326cc-93c0-4440-aeda-5aa8f9ba07f1 + - 3b7efc98-1bf5-4e69-b58b-969610371cbd Original-Request: - - req_r01okPnDzeMISz + - req_TyHo7lIZqlotEF Request-Id: - - req_r01okPnDzeMISz + - req_TyHo7lIZqlotEF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQnKuuB1fWySnPCAaOv4x", + "id": "pm_1OrhmhKuuB1fWySnZBi6MlPg", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989477, + "created": 1709821139, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:57 GMT + recorded_at: Thu, 07 Mar 2024 14:18:59 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQnKuuB1fWySnPCAaOv4x&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmhKuuB1fWySnZBi6MlPg&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_r01okPnDzeMISz","request_duration_ms":421}}' + - '{"last_request_metrics":{"request_id":"req_TyHo7lIZqlotEF","request_duration_ms":513}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:57 GMT + - Thu, 07 Mar 2024 14:18:59 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4e8d394c-6efc-4f7c-a84d-ec03935a2d97 + - 299faa02-ebe8-430d-98a7-a7b808210ea4 Original-Request: - - req_LTPedcXLyXiFZW + - req_Pk11EipArgbZw2 Request-Id: - - req_LTPedcXLyXiFZW + - req_Pk11EipArgbZw2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQnKuuB1fWySn0MC05wGZ", + "id": "pi_3OrhmhKuuB1fWySn09V4ae9M", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQnKuuB1fWySn0MC05wGZ_secret_VdPIGu9Egxe0MiTPQymTZ2eGg", + "client_secret": "pi_3OrhmhKuuB1fWySn09V4ae9M_secret_rgFVgWqiYy7PTeNAnItnIILJC", "confirmation_method": "automatic", - "created": 1708989477, + "created": 1709821139, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQnKuuB1fWySnPCAaOv4x", + "payment_method": "pm_1OrhmhKuuB1fWySnZBi6MlPg", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:57 GMT + recorded_at: Thu, 07 Mar 2024 14:18:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQnKuuB1fWySn0MC05wGZ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmhKuuB1fWySn09V4ae9M/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LTPedcXLyXiFZW","request_duration_ms":387}}' + - '{"last_request_metrics":{"request_id":"req_Pk11EipArgbZw2","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:58 GMT + - Thu, 07 Mar 2024 14:19:01 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 87b70386-5d72-4cf7-8b89-bfddd2e64d2f + - f9cf7b19-6e12-4ea0-a2a0-ce0b2fbe9e27 Original-Request: - - req_xMAsv16AErIXOO + - req_V60GDQWBm8AR8g Request-Id: - - req_xMAsv16AErIXOO + - req_V60GDQWBm8AR8g Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OoDQnKuuB1fWySn0ndgG85Q", + "charge": "ch_3OrhmhKuuB1fWySn09lXbYQC", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_intent": { - "id": "pi_3OoDQnKuuB1fWySn0MC05wGZ", + "id": "pi_3OrhmhKuuB1fWySn09V4ae9M", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -358,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQnKuuB1fWySn0MC05wGZ_secret_VdPIGu9Egxe0MiTPQymTZ2eGg", + "client_secret": "pi_3OrhmhKuuB1fWySn09V4ae9M_secret_rgFVgWqiYy7PTeNAnItnIILJC", "confirmation_method": "automatic", - "created": 1708989477, + "created": 1709821139, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OoDQnKuuB1fWySn0ndgG85Q", + "charge": "ch_3OrhmhKuuB1fWySn09lXbYQC", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_method": { - "id": "pm_1OoDQnKuuB1fWySnPCAaOv4x", + "id": "pm_1OrhmhKuuB1fWySnZBi6MlPg", "object": "payment_method", "billing_details": { "address": { @@ -413,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1708989477, + "created": 1709821139, "customer": null, "livemode": false, "metadata": { @@ -422,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OoDQnKuuB1fWySn0ndgG85Q", + "latest_charge": "ch_3OrhmhKuuB1fWySn09lXbYQC", "livemode": false, "metadata": { }, @@ -454,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OoDQnKuuB1fWySnPCAaOv4x", + "id": "pm_1OrhmhKuuB1fWySnZBi6MlPg", "object": "payment_method", "billing_details": { "address": { @@ -495,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1708989477, + "created": 1709821139, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_xMAsv16AErIXOO?t=1708989477", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_V60GDQWBm8AR8g?t=1709821140", "type": "card_error" } } - recorded_at: Mon, 26 Feb 2024 23:17:58 GMT + recorded_at: Thu, 07 Mar 2024 14:19:01 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 794eb20c48..1a8a476ba5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4000000000000069&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_it1mYKQGWiiXSo","request_duration_ms":513}}' + - '{"last_request_metrics":{"request_id":"req_XbOe2bOUoSOXGL","request_duration_ms":488}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:51 GMT + - Thu, 07 Mar 2024 14:18:52 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7e0697d6-538a-46f0-99c3-6e859bfff22c + - e77ac492-e8fa-42a7-bce9-d1849ae71628 Original-Request: - - req_dTTrWZI9tkUu6n + - req_NoHzT6FylnVzgc Request-Id: - - req_dTTrWZI9tkUu6n + - req_NoHzT6FylnVzgc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQhKuuB1fWySnEHtv7tdi", + "id": "pm_1OrhmaKuuB1fWySnptkgKegk", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989471, + "created": 1709821132, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:51 GMT + recorded_at: Thu, 07 Mar 2024 14:18:52 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQhKuuB1fWySnEHtv7tdi&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmaKuuB1fWySnptkgKegk&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dTTrWZI9tkUu6n","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_NoHzT6FylnVzgc","request_duration_ms":500}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:52 GMT + - Thu, 07 Mar 2024 14:18:53 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ef65f1a9-2cf8-41f6-8299-0f1e09537578 + - 9d66db80-be05-4cdc-a033-c571309febc9 Original-Request: - - req_xfUXVWjlALxHQl + - req_xDmNadLpglajCJ Request-Id: - - req_xfUXVWjlALxHQl + - req_xDmNadLpglajCJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQhKuuB1fWySn2GJxyGlI", + "id": "pi_3OrhmbKuuB1fWySn25AElHQF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQhKuuB1fWySn2GJxyGlI_secret_63O0gUCHKn59KAqTrhz8JulCR", + "client_secret": "pi_3OrhmbKuuB1fWySn25AElHQF_secret_1hXHSlBvDhq6cAWQf93x5d9Oc", "confirmation_method": "automatic", - "created": 1708989471, + "created": 1709821133, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQhKuuB1fWySnEHtv7tdi", + "payment_method": "pm_1OrhmaKuuB1fWySnptkgKegk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:52 GMT + recorded_at: Thu, 07 Mar 2024 14:18:53 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQhKuuB1fWySn2GJxyGlI/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmbKuuB1fWySn25AElHQF/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xfUXVWjlALxHQl","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_xDmNadLpglajCJ","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:53 GMT + - Thu, 07 Mar 2024 14:18:54 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4c3c72ef-10d2-4773-b515-8520bf48ff33 + - ae60497b-6c99-492e-bd23-8be69b1c16c0 Original-Request: - - req_qELxBmYqT3kUy2 + - req_43fZb8IoPkArZG Request-Id: - - req_qELxBmYqT3kUy2 + - req_43fZb8IoPkArZG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OoDQhKuuB1fWySn2oLhUB42", + "charge": "ch_3OrhmbKuuB1fWySn2CgehSyT", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_intent": { - "id": "pi_3OoDQhKuuB1fWySn2GJxyGlI", + "id": "pi_3OrhmbKuuB1fWySn25AElHQF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -358,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQhKuuB1fWySn2GJxyGlI_secret_63O0gUCHKn59KAqTrhz8JulCR", + "client_secret": "pi_3OrhmbKuuB1fWySn25AElHQF_secret_1hXHSlBvDhq6cAWQf93x5d9Oc", "confirmation_method": "automatic", - "created": 1708989471, + "created": 1709821133, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OoDQhKuuB1fWySn2oLhUB42", + "charge": "ch_3OrhmbKuuB1fWySn2CgehSyT", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_method": { - "id": "pm_1OoDQhKuuB1fWySnEHtv7tdi", + "id": "pm_1OrhmaKuuB1fWySnptkgKegk", "object": "payment_method", "billing_details": { "address": { @@ -413,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1708989471, + "created": 1709821132, "customer": null, "livemode": false, "metadata": { @@ -422,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OoDQhKuuB1fWySn2oLhUB42", + "latest_charge": "ch_3OrhmbKuuB1fWySn2CgehSyT", "livemode": false, "metadata": { }, @@ -454,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OoDQhKuuB1fWySnEHtv7tdi", + "id": "pm_1OrhmaKuuB1fWySnptkgKegk", "object": "payment_method", "billing_details": { "address": { @@ -495,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1708989471, + "created": 1709821132, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_qELxBmYqT3kUy2?t=1708989472", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_43fZb8IoPkArZG?t=1709821133", "type": "card_error" } } - recorded_at: Mon, 26 Feb 2024 23:17:53 GMT + recorded_at: Thu, 07 Mar 2024 14:18:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 7998e5a4b0..e53834ef1a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4000000000000002&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NgVZAfvQo7sWeS","request_duration_ms":285}}' + - '{"last_request_metrics":{"request_id":"req_qjFiOOkOS61qmW","request_duration_ms":399}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:43 GMT + - Thu, 07 Mar 2024 14:18:44 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 93422b41-9d6b-4ca8-bda9-9c37c45c0cb6 + - 10272640-f8bf-4064-bc78-a4b9e009718d Original-Request: - - req_dgAXMr8QqOSEcQ + - req_P7bl4OeymVbO9q Request-Id: - - req_dgAXMr8QqOSEcQ + - req_P7bl4OeymVbO9q Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQZKuuB1fWySnK8H5CQpG", + "id": "pm_1OrhmSKuuB1fWySnJkxMaPYS", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989463, + "created": 1709821124, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:43 GMT + recorded_at: Thu, 07 Mar 2024 14:18:44 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQZKuuB1fWySnK8H5CQpG&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmSKuuB1fWySnJkxMaPYS&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dgAXMr8QqOSEcQ","request_duration_ms":463}}' + - '{"last_request_metrics":{"request_id":"req_P7bl4OeymVbO9q","request_duration_ms":563}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:44 GMT + - Thu, 07 Mar 2024 14:18:44 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3dee6be9-68cb-4987-9734-7ce17ecfe56e + - 7018df3e-8eb3-4502-8ca8-9a4e87033355 Original-Request: - - req_6T95wtszit0CGU + - req_6YoLsPg8kc9HPG Request-Id: - - req_6T95wtszit0CGU + - req_6YoLsPg8kc9HPG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQaKuuB1fWySn27iqFUl4", + "id": "pi_3OrhmSKuuB1fWySn1uPMJSoo", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQaKuuB1fWySn27iqFUl4_secret_Y5TipcsD52eWHfPD5UJtzjdWt", + "client_secret": "pi_3OrhmSKuuB1fWySn1uPMJSoo_secret_XsotrUCQeEKkUqotNpGIrgL1G", "confirmation_method": "automatic", - "created": 1708989464, + "created": 1709821124, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQZKuuB1fWySnK8H5CQpG", + "payment_method": "pm_1OrhmSKuuB1fWySnJkxMaPYS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:44 GMT + recorded_at: Thu, 07 Mar 2024 14:18:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQaKuuB1fWySn27iqFUl4/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmSKuuB1fWySn1uPMJSoo/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6T95wtszit0CGU","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_6YoLsPg8kc9HPG","request_duration_ms":430}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:45 GMT + - Thu, 07 Mar 2024 14:18:45 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c494f9de-dd19-4656-8566-8b6b9a1f2d58 + - 9f99ba61-ed0a-451e-9618-0524cafde338 Original-Request: - - req_dVjN28jJNNozsu + - req_F9JwbpvR91hXeP Request-Id: - - req_dVjN28jJNNozsu + - req_F9JwbpvR91hXeP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OoDQaKuuB1fWySn2aI0aaL3", + "charge": "ch_3OrhmSKuuB1fWySn14x4qVk2", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OoDQaKuuB1fWySn27iqFUl4", + "id": "pi_3OrhmSKuuB1fWySn1uPMJSoo", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -358,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQaKuuB1fWySn27iqFUl4_secret_Y5TipcsD52eWHfPD5UJtzjdWt", + "client_secret": "pi_3OrhmSKuuB1fWySn1uPMJSoo_secret_XsotrUCQeEKkUqotNpGIrgL1G", "confirmation_method": "automatic", - "created": 1708989464, + "created": 1709821124, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OoDQaKuuB1fWySn2aI0aaL3", + "charge": "ch_3OrhmSKuuB1fWySn14x4qVk2", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OoDQZKuuB1fWySnK8H5CQpG", + "id": "pm_1OrhmSKuuB1fWySnJkxMaPYS", "object": "payment_method", "billing_details": { "address": { @@ -413,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1708989463, + "created": 1709821124, "customer": null, "livemode": false, "metadata": { @@ -422,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OoDQaKuuB1fWySn2aI0aaL3", + "latest_charge": "ch_3OrhmSKuuB1fWySn14x4qVk2", "livemode": false, "metadata": { }, @@ -454,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OoDQZKuuB1fWySnK8H5CQpG", + "id": "pm_1OrhmSKuuB1fWySnJkxMaPYS", "object": "payment_method", "billing_details": { "address": { @@ -495,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1708989463, + "created": 1709821124, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_dVjN28jJNNozsu?t=1708989464", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_F9JwbpvR91hXeP?t=1709821125", "type": "card_error" } } - recorded_at: Mon, 26 Feb 2024 23:17:45 GMT + recorded_at: Thu, 07 Mar 2024 14:18:46 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 7a113e3ff1..28ed13fe98 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4000000000000127&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xfUXVWjlALxHQl","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_xDmNadLpglajCJ","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:53 GMT + - Thu, 07 Mar 2024 14:18:55 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0fe8c20d-b24a-4fad-a4f9-f343af72c2e4 + - 3c103a73-dec4-43fe-bbd3-8a13c59d9403 Original-Request: - - req_GWZZ1t7FSzsvKH + - req_XwblbP1HuwFvpc Request-Id: - - req_GWZZ1t7FSzsvKH + - req_XwblbP1HuwFvpc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQjKuuB1fWySnYSitoAtb", + "id": "pm_1OrhmcKuuB1fWySn2KFmD081", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989473, + "created": 1709821134, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:53 GMT + recorded_at: Thu, 07 Mar 2024 14:18:55 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQjKuuB1fWySnYSitoAtb&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmcKuuB1fWySn2KFmD081&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GWZZ1t7FSzsvKH","request_duration_ms":399}}' + - '{"last_request_metrics":{"request_id":"req_XwblbP1HuwFvpc","request_duration_ms":564}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:54 GMT + - Thu, 07 Mar 2024 14:18:55 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d4fa6a4c-80b1-49f6-ab92-a60d869f62e7 + - 25d985e4-5077-43dc-8671-4beec5686a9f Original-Request: - - req_Is4KzsQaINm0Op + - req_Ac6TXrT5BqzQ1A Request-Id: - - req_Is4KzsQaINm0Op + - req_Ac6TXrT5BqzQ1A Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQjKuuB1fWySn2JEHS3Ub", + "id": "pi_3OrhmdKuuB1fWySn0pgk7DHN", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQjKuuB1fWySn2JEHS3Ub_secret_xtZr10uvf2sjtHpmw4DkTXgtG", + "client_secret": "pi_3OrhmdKuuB1fWySn0pgk7DHN_secret_7At8RSXg5ugIGa6N0yE1hIjlX", "confirmation_method": "automatic", - "created": 1708989473, + "created": 1709821135, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQjKuuB1fWySnYSitoAtb", + "payment_method": "pm_1OrhmcKuuB1fWySn2KFmD081", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:54 GMT + recorded_at: Thu, 07 Mar 2024 14:18:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQjKuuB1fWySn2JEHS3Ub/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmdKuuB1fWySn0pgk7DHN/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Is4KzsQaINm0Op","request_duration_ms":380}}' + - '{"last_request_metrics":{"request_id":"req_Ac6TXrT5BqzQ1A","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:54 GMT + - Thu, 07 Mar 2024 14:18:56 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f1cbed8e-1d5c-47c5-90f7-3e6736da9ba0 + - 74b55dd0-e07c-4194-b402-a1f0425eec5c Original-Request: - - req_Ofadt1Vvnp0loi + - req_SAISdfityPGt3i Request-Id: - - req_Ofadt1Vvnp0loi + - req_SAISdfityPGt3i Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OoDQjKuuB1fWySn28LornTi", + "charge": "ch_3OrhmdKuuB1fWySn0Qaj7F92", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_intent": { - "id": "pi_3OoDQjKuuB1fWySn2JEHS3Ub", + "id": "pi_3OrhmdKuuB1fWySn0pgk7DHN", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -358,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQjKuuB1fWySn2JEHS3Ub_secret_xtZr10uvf2sjtHpmw4DkTXgtG", + "client_secret": "pi_3OrhmdKuuB1fWySn0pgk7DHN_secret_7At8RSXg5ugIGa6N0yE1hIjlX", "confirmation_method": "automatic", - "created": 1708989473, + "created": 1709821135, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OoDQjKuuB1fWySn28LornTi", + "charge": "ch_3OrhmdKuuB1fWySn0Qaj7F92", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_method": { - "id": "pm_1OoDQjKuuB1fWySnYSitoAtb", + "id": "pm_1OrhmcKuuB1fWySn2KFmD081", "object": "payment_method", "billing_details": { "address": { @@ -413,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1708989473, + "created": 1709821134, "customer": null, "livemode": false, "metadata": { @@ -422,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OoDQjKuuB1fWySn28LornTi", + "latest_charge": "ch_3OrhmdKuuB1fWySn0Qaj7F92", "livemode": false, "metadata": { }, @@ -454,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OoDQjKuuB1fWySnYSitoAtb", + "id": "pm_1OrhmcKuuB1fWySn2KFmD081", "object": "payment_method", "billing_details": { "address": { @@ -495,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1708989473, + "created": 1709821134, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_Ofadt1Vvnp0loi?t=1708989474", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_SAISdfityPGt3i?t=1709821135", "type": "card_error" } } - recorded_at: Mon, 26 Feb 2024 23:17:54 GMT + recorded_at: Thu, 07 Mar 2024 14:18:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 12e80fa92b..2be6c5575b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4000000000009995&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6T95wtszit0CGU","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_6YoLsPg8kc9HPG","request_duration_ms":430}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:45 GMT + - Thu, 07 Mar 2024 14:18:46 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - aa907268-9b64-45ba-87e9-c0784e07bdee + - 49b4b991-0dfe-4c48-a385-98fed5dddc68 Original-Request: - - req_gEcfIDJsayXoiX + - req_A0HkqD6pcVYLcO Request-Id: - - req_gEcfIDJsayXoiX + - req_A0HkqD6pcVYLcO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQbKuuB1fWySnm1EPtrSP", + "id": "pm_1OrhmUKuuB1fWySnbFV8hwBB", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989465, + "created": 1709821126, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:45 GMT + recorded_at: Thu, 07 Mar 2024 14:18:46 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQbKuuB1fWySnm1EPtrSP&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmUKuuB1fWySnbFV8hwBB&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gEcfIDJsayXoiX","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_A0HkqD6pcVYLcO","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:46 GMT + - Thu, 07 Mar 2024 14:18:46 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7352e50c-f8b6-4f3a-bf5f-c059572d86df + - 75eb66ac-09cd-4baf-adc6-6cc6f9b5d63a Original-Request: - - req_jBN5An2SJq9AjN + - req_lYpU8Jn8Ty90MQ Request-Id: - - req_jBN5An2SJq9AjN + - req_lYpU8Jn8Ty90MQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQcKuuB1fWySn0yuf2YzI", + "id": "pi_3OrhmUKuuB1fWySn0j1kELdO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQcKuuB1fWySn0yuf2YzI_secret_gIS8IeaqTAOU2eIEn6dz31uoq", + "client_secret": "pi_3OrhmUKuuB1fWySn0j1kELdO_secret_zc4lzyKLPPcLPgLRmPkEqH3vf", "confirmation_method": "automatic", - "created": 1708989466, + "created": 1709821126, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQbKuuB1fWySnm1EPtrSP", + "payment_method": "pm_1OrhmUKuuB1fWySnbFV8hwBB", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:46 GMT + recorded_at: Thu, 07 Mar 2024 14:18:46 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQcKuuB1fWySn0yuf2YzI/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmUKuuB1fWySn0j1kELdO/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jBN5An2SJq9AjN","request_duration_ms":393}}' + - '{"last_request_metrics":{"request_id":"req_lYpU8Jn8Ty90MQ","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:47 GMT + - Thu, 07 Mar 2024 14:18:47 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 44bcd896-d3cb-476c-8d50-b27b7ed2a7f5 + - 3f085b17-dfcd-4c94-8301-c15ef5697511 Original-Request: - - req_IZmZqU96ZPqqZR + - req_XdL726LzJb1xiY Request-Id: - - req_IZmZqU96ZPqqZR + - req_XdL726LzJb1xiY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OoDQcKuuB1fWySn0VAk4abK", + "charge": "ch_3OrhmUKuuB1fWySn0F5g9ozx", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_intent": { - "id": "pi_3OoDQcKuuB1fWySn0yuf2YzI", + "id": "pi_3OrhmUKuuB1fWySn0j1kELdO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -358,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQcKuuB1fWySn0yuf2YzI_secret_gIS8IeaqTAOU2eIEn6dz31uoq", + "client_secret": "pi_3OrhmUKuuB1fWySn0j1kELdO_secret_zc4lzyKLPPcLPgLRmPkEqH3vf", "confirmation_method": "automatic", - "created": 1708989466, + "created": 1709821126, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OoDQcKuuB1fWySn0VAk4abK", + "charge": "ch_3OrhmUKuuB1fWySn0F5g9ozx", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_method": { - "id": "pm_1OoDQbKuuB1fWySnm1EPtrSP", + "id": "pm_1OrhmUKuuB1fWySnbFV8hwBB", "object": "payment_method", "billing_details": { "address": { @@ -413,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1708989465, + "created": 1709821126, "customer": null, "livemode": false, "metadata": { @@ -422,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OoDQcKuuB1fWySn0VAk4abK", + "latest_charge": "ch_3OrhmUKuuB1fWySn0F5g9ozx", "livemode": false, "metadata": { }, @@ -454,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OoDQbKuuB1fWySnm1EPtrSP", + "id": "pm_1OrhmUKuuB1fWySnbFV8hwBB", "object": "payment_method", "billing_details": { "address": { @@ -495,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1708989465, + "created": 1709821126, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_IZmZqU96ZPqqZR?t=1708989466", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_XdL726LzJb1xiY?t=1709821127", "type": "card_error" } } - recorded_at: Mon, 26 Feb 2024 23:17:47 GMT + recorded_at: Thu, 07 Mar 2024 14:18:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 7db3fe4dc9..af42cd1e0a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4000000000009987&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jBN5An2SJq9AjN","request_duration_ms":393}}' + - '{"last_request_metrics":{"request_id":"req_lYpU8Jn8Ty90MQ","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:47 GMT + - Thu, 07 Mar 2024 14:18:48 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a56e3b14-5538-4012-9923-1d012f374f43 + - e49df763-3ff7-4351-8fe4-39a24109ebc7 Original-Request: - - req_g8gUfNIpAGL3cS + - req_ZNWo9ImRDy7XML Request-Id: - - req_g8gUfNIpAGL3cS + - req_ZNWo9ImRDy7XML Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQdKuuB1fWySnadmRjCqa", + "id": "pm_1OrhmWKuuB1fWySnoL1Grmwo", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989467, + "created": 1709821128, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:47 GMT + recorded_at: Thu, 07 Mar 2024 14:18:48 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQdKuuB1fWySnadmRjCqa&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmWKuuB1fWySnoL1Grmwo&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_g8gUfNIpAGL3cS","request_duration_ms":429}}' + - '{"last_request_metrics":{"request_id":"req_ZNWo9ImRDy7XML","request_duration_ms":565}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:48 GMT + - Thu, 07 Mar 2024 14:18:49 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3f2d1c44-d8fb-4fcd-830b-2240594c1cba + - 543f8903-4d2e-400c-b8db-45eabe04e491 Original-Request: - - req_7uvCBxbOWGkfAC + - req_M44c3c4lTnnHUb Request-Id: - - req_7uvCBxbOWGkfAC + - req_M44c3c4lTnnHUb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQdKuuB1fWySn1NipVu86", + "id": "pi_3OrhmWKuuB1fWySn1PtPgMYz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQdKuuB1fWySn1NipVu86_secret_EJcdlJl7urjwpqL9LVGBIO3sx", + "client_secret": "pi_3OrhmWKuuB1fWySn1PtPgMYz_secret_WrG1EXEN5x1yacN9AR0x3cnf0", "confirmation_method": "automatic", - "created": 1708989467, + "created": 1709821128, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQdKuuB1fWySnadmRjCqa", + "payment_method": "pm_1OrhmWKuuB1fWySnoL1Grmwo", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:48 GMT + recorded_at: Thu, 07 Mar 2024 14:18:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQdKuuB1fWySn1NipVu86/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmWKuuB1fWySn1PtPgMYz/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7uvCBxbOWGkfAC","request_duration_ms":378}}' + - '{"last_request_metrics":{"request_id":"req_M44c3c4lTnnHUb","request_duration_ms":503}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:49 GMT + - Thu, 07 Mar 2024 14:18:50 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 67b0b222-70ac-42bd-a9d3-b647bd98bfdf + - f43ec608-f479-4e5b-bbd9-2f4add9aef18 Original-Request: - - req_ll6n3AUvqW8zGH + - req_CesvpPnco1mPHo Request-Id: - - req_ll6n3AUvqW8zGH + - req_CesvpPnco1mPHo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OoDQdKuuB1fWySn1hFIoLlq", + "charge": "ch_3OrhmWKuuB1fWySn1M6nQZJw", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OoDQdKuuB1fWySn1NipVu86", + "id": "pi_3OrhmWKuuB1fWySn1PtPgMYz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -358,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQdKuuB1fWySn1NipVu86_secret_EJcdlJl7urjwpqL9LVGBIO3sx", + "client_secret": "pi_3OrhmWKuuB1fWySn1PtPgMYz_secret_WrG1EXEN5x1yacN9AR0x3cnf0", "confirmation_method": "automatic", - "created": 1708989467, + "created": 1709821128, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OoDQdKuuB1fWySn1hFIoLlq", + "charge": "ch_3OrhmWKuuB1fWySn1M6nQZJw", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OoDQdKuuB1fWySnadmRjCqa", + "id": "pm_1OrhmWKuuB1fWySnoL1Grmwo", "object": "payment_method", "billing_details": { "address": { @@ -413,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1708989467, + "created": 1709821128, "customer": null, "livemode": false, "metadata": { @@ -422,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OoDQdKuuB1fWySn1hFIoLlq", + "latest_charge": "ch_3OrhmWKuuB1fWySn1M6nQZJw", "livemode": false, "metadata": { }, @@ -454,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OoDQdKuuB1fWySnadmRjCqa", + "id": "pm_1OrhmWKuuB1fWySnoL1Grmwo", "object": "payment_method", "billing_details": { "address": { @@ -495,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1708989467, + "created": 1709821128, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_ll6n3AUvqW8zGH?t=1708989468", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_CesvpPnco1mPHo?t=1709821129", "type": "card_error" } } - recorded_at: Mon, 26 Feb 2024 23:17:49 GMT + recorded_at: Thu, 07 Mar 2024 14:18:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 50961075ac..a2f3ca8a39 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4000000000000119&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Is4KzsQaINm0Op","request_duration_ms":380}}' + - '{"last_request_metrics":{"request_id":"req_Ac6TXrT5BqzQ1A","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:55 GMT + - Thu, 07 Mar 2024 14:18:57 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c25839ef-8ce6-4f4b-99e5-9c70240ea49e + - 9daec39c-9a81-4478-b059-9341942cde4a Original-Request: - - req_vBkkbzirM2WNCQ + - req_zUEVTz0gJtB3yI Request-Id: - - req_vBkkbzirM2WNCQ + - req_zUEVTz0gJtB3yI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQlKuuB1fWySnslm5VUSP", + "id": "pm_1OrhmfKuuB1fWySnoaijO58b", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989475, + "created": 1709821137, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:55 GMT + recorded_at: Thu, 07 Mar 2024 14:18:57 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQlKuuB1fWySnslm5VUSP&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmfKuuB1fWySnoaijO58b&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vBkkbzirM2WNCQ","request_duration_ms":420}}' + - '{"last_request_metrics":{"request_id":"req_zUEVTz0gJtB3yI","request_duration_ms":499}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:55 GMT + - Thu, 07 Mar 2024 14:18:57 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 676b52ee-f2e6-424e-82f1-30cf137b2708 + - 952228fb-a086-4982-8fb8-c3a931fad695 Original-Request: - - req_AyeNpHCuhODsbo + - req_rfNPFIz72cgwGh Request-Id: - - req_AyeNpHCuhODsbo + - req_rfNPFIz72cgwGh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQlKuuB1fWySn0zBKCLpt", + "id": "pi_3OrhmfKuuB1fWySn2OgJItG5", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQlKuuB1fWySn0zBKCLpt_secret_LOdTi4rN8QTt5VnZnlzp1S3a5", + "client_secret": "pi_3OrhmfKuuB1fWySn2OgJItG5_secret_JQMpEQAFjU5hjn7p829LcD6Ae", "confirmation_method": "automatic", - "created": 1708989475, + "created": 1709821137, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQlKuuB1fWySnslm5VUSP", + "payment_method": "pm_1OrhmfKuuB1fWySnoaijO58b", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:55 GMT + recorded_at: Thu, 07 Mar 2024 14:18:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQlKuuB1fWySn0zBKCLpt/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmfKuuB1fWySn2OgJItG5/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AyeNpHCuhODsbo","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_rfNPFIz72cgwGh","request_duration_ms":413}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:56 GMT + - Thu, 07 Mar 2024 14:18:58 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 32ad4ec4-c011-4061-ad90-51b71397515e + - 2d10db6b-7b1c-4924-8628-4c7467592fe2 Original-Request: - - req_qSo3hj20b3L9V9 + - req_2YeBqRZDv9NkZz Request-Id: - - req_qSo3hj20b3L9V9 + - req_2YeBqRZDv9NkZz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,12 +343,12 @@ http_interactions: string: | { "error": { - "charge": "ch_3OoDQlKuuB1fWySn0KSD4Jlh", + "charge": "ch_3OrhmfKuuB1fWySn2bOV8R11", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_intent": { - "id": "pi_3OoDQlKuuB1fWySn0zBKCLpt", + "id": "pi_3OrhmfKuuB1fWySn2OgJItG5", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,20 +363,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQlKuuB1fWySn0zBKCLpt_secret_LOdTi4rN8QTt5VnZnlzp1S3a5", + "client_secret": "pi_3OrhmfKuuB1fWySn2OgJItG5_secret_JQMpEQAFjU5hjn7p829LcD6Ae", "confirmation_method": "automatic", - "created": 1708989475, + "created": 1709821137, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OoDQlKuuB1fWySn0KSD4Jlh", + "charge": "ch_3OrhmfKuuB1fWySn2bOV8R11", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_method": { - "id": "pm_1OoDQlKuuB1fWySnslm5VUSP", + "id": "pm_1OrhmfKuuB1fWySnoaijO58b", "object": "payment_method", "billing_details": { "address": { @@ -411,7 +417,7 @@ http_interactions: }, "wallet": null }, - "created": 1708989475, + "created": 1709821137, "customer": null, "livemode": false, "metadata": { @@ -420,7 +426,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OoDQlKuuB1fWySn0KSD4Jlh", + "latest_charge": "ch_3OrhmfKuuB1fWySn2bOV8R11", "livemode": false, "metadata": { }, @@ -452,7 +458,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OoDQlKuuB1fWySnslm5VUSP", + "id": "pm_1OrhmfKuuB1fWySnoaijO58b", "object": "payment_method", "billing_details": { "address": { @@ -493,16 +499,16 @@ http_interactions: }, "wallet": null }, - "created": 1708989475, + "created": 1709821137, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_qSo3hj20b3L9V9?t=1708989475", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_2YeBqRZDv9NkZz?t=1709821137", "type": "card_error" } } - recorded_at: Mon, 26 Feb 2024 23:17:57 GMT + recorded_at: Thu, 07 Mar 2024 14:18:58 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 9355299699..9a8f7bded5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4000000000009979&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7uvCBxbOWGkfAC","request_duration_ms":378}}' + - '{"last_request_metrics":{"request_id":"req_M44c3c4lTnnHUb","request_duration_ms":503}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:49 GMT + - Thu, 07 Mar 2024 14:18:50 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0ee915a8-d4c8-4f4c-8eae-0166073c4f56 + - 32461794-5cb3-4332-9f60-4497aa3b8eac Original-Request: - - req_27re6jomwTkQDM + - req_oPr7JRTyie9V8G Request-Id: - - req_27re6jomwTkQDM + - req_oPr7JRTyie9V8G Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQfKuuB1fWySn1nUWNw2b", + "id": "pm_1OrhmYKuuB1fWySnRPV32X1b", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989469, + "created": 1709821130, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:49 GMT + recorded_at: Thu, 07 Mar 2024 14:18:50 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQfKuuB1fWySn1nUWNw2b&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmYKuuB1fWySnRPV32X1b&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_27re6jomwTkQDM","request_duration_ms":502}}' + - '{"last_request_metrics":{"request_id":"req_oPr7JRTyie9V8G","request_duration_ms":462}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:50 GMT + - Thu, 07 Mar 2024 14:18:51 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 97e20dfd-36b7-4e71-88c6-6349f684f5ef + - 82432dc1-d71b-42d0-a006-913e9fb7b4c8 Original-Request: - - req_it1mYKQGWiiXSo + - req_XbOe2bOUoSOXGL Request-Id: - - req_it1mYKQGWiiXSo + - req_XbOe2bOUoSOXGL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQfKuuB1fWySn1mBBlS6b", + "id": "pi_3OrhmZKuuB1fWySn2y5qbucn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQfKuuB1fWySn1mBBlS6b_secret_GtcHWWvxC0pGOcm19CtPccbBS", + "client_secret": "pi_3OrhmZKuuB1fWySn2y5qbucn_secret_QcrC9iHIOKmTqCbXpiZH26Uiv", "confirmation_method": "automatic", - "created": 1708989469, + "created": 1709821131, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQfKuuB1fWySn1nUWNw2b", + "payment_method": "pm_1OrhmYKuuB1fWySnRPV32X1b", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:50 GMT + recorded_at: Thu, 07 Mar 2024 14:18:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQfKuuB1fWySn1mBBlS6b/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmZKuuB1fWySn2y5qbucn/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_it1mYKQGWiiXSo","request_duration_ms":513}}' + - '{"last_request_metrics":{"request_id":"req_XbOe2bOUoSOXGL","request_duration_ms":488}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:51 GMT + - Thu, 07 Mar 2024 14:18:52 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c909d43e-25e0-474f-8ba8-5337c2c34bfd + - 5b018b07-e309-4141-a586-ebe41c934b11 Original-Request: - - req_TmV1jl7ePtlUSt + - req_QMto5qBNVgwtJU Request-Id: - - req_TmV1jl7ePtlUSt + - req_QMto5qBNVgwtJU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OoDQfKuuB1fWySn1PRp1Tz2", + "charge": "ch_3OrhmZKuuB1fWySn2hlwuY9V", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OoDQfKuuB1fWySn1mBBlS6b", + "id": "pi_3OrhmZKuuB1fWySn2y5qbucn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -358,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQfKuuB1fWySn1mBBlS6b_secret_GtcHWWvxC0pGOcm19CtPccbBS", + "client_secret": "pi_3OrhmZKuuB1fWySn2y5qbucn_secret_QcrC9iHIOKmTqCbXpiZH26Uiv", "confirmation_method": "automatic", - "created": 1708989469, + "created": 1709821131, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OoDQfKuuB1fWySn1PRp1Tz2", + "charge": "ch_3OrhmZKuuB1fWySn2hlwuY9V", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OoDQfKuuB1fWySn1nUWNw2b", + "id": "pm_1OrhmYKuuB1fWySnRPV32X1b", "object": "payment_method", "billing_details": { "address": { @@ -413,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1708989469, + "created": 1709821130, "customer": null, "livemode": false, "metadata": { @@ -422,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OoDQfKuuB1fWySn1PRp1Tz2", + "latest_charge": "ch_3OrhmZKuuB1fWySn2hlwuY9V", "livemode": false, "metadata": { }, @@ -454,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OoDQfKuuB1fWySn1nUWNw2b", + "id": "pm_1OrhmYKuuB1fWySnRPV32X1b", "object": "payment_method", "billing_details": { "address": { @@ -495,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1708989469, + "created": 1709821130, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_TmV1jl7ePtlUSt?t=1708989470", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_QMto5qBNVgwtJU?t=1709821131", "type": "card_error" } } - recorded_at: Mon, 26 Feb 2024 23:17:51 GMT + recorded_at: Thu, 07 Mar 2024 14:18:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml index 36e48968f7..43c7cc53d9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PnkNKBDHUl3SKo","request_duration_ms":958}}' + - '{"last_request_metrics":{"request_id":"req_PBXi1xo26CwOKK","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:56 GMT + - Thu, 07 Mar 2024 14:17:47 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a63f8cfd-3ef3-4814-b635-adfce3fda5bd + - 38dceaa3-b6dd-4bfb-8516-4940e8d8ad3c Original-Request: - - req_zt1zvUTO2AwcQm + - req_sb7447EMWPSQKs Request-Id: - - req_zt1zvUTO2AwcQm + - req_sb7447EMWPSQKs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPoKuuB1fWySnksEAt7Ps", + "id": "pm_1OrhlXKuuB1fWySnda3V1iWn", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989416, + "created": 1709821067, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:56 GMT + recorded_at: Thu, 07 Mar 2024 14:17:47 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPoKuuB1fWySnksEAt7Ps&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlXKuuB1fWySnda3V1iWn&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zt1zvUTO2AwcQm","request_duration_ms":523}}' + - '{"last_request_metrics":{"request_id":"req_sb7447EMWPSQKs","request_duration_ms":513}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:57 GMT + - Thu, 07 Mar 2024 14:17:48 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6e083d5d-457a-4912-8296-57c673da4ccf + - 385ba8b9-6d5d-43c5-9903-629fb3e942b2 Original-Request: - - req_PqVaGs5kVh7ege + - req_9GICNHGok8hdy9 Request-Id: - - req_PqVaGs5kVh7ege + - req_9GICNHGok8hdy9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPoKuuB1fWySn2dQ59nUI", + "id": "pi_3OrhlXKuuB1fWySn0lWqyEhW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPoKuuB1fWySn2dQ59nUI_secret_tEDlmysVGL4amETRITGP7g2O2", + "client_secret": "pi_3OrhlXKuuB1fWySn0lWqyEhW_secret_silStDXFakt1uO6sMxcQrpOeS", "confirmation_method": "automatic", - "created": 1708989416, + "created": 1709821067, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPoKuuB1fWySnksEAt7Ps", + "payment_method": "pm_1OrhlXKuuB1fWySnda3V1iWn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:57 GMT + recorded_at: Thu, 07 Mar 2024 14:17:48 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPoKuuB1fWySn2dQ59nUI/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlXKuuB1fWySn0lWqyEhW/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PqVaGs5kVh7ege","request_duration_ms":441}}' + - '{"last_request_metrics":{"request_id":"req_9GICNHGok8hdy9","request_duration_ms":433}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:57 GMT + - Thu, 07 Mar 2024 14:17:49 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 346ed035-f0d1-47e0-a288-069ca56b5504 + - acf88f99-9eca-4a9b-a6e5-f37e477074a5 Original-Request: - - req_Vwd5lMn9g7ZEG7 + - req_E38gUjkvfrTtDw Request-Id: - - req_Vwd5lMn9g7ZEG7 + - req_E38gUjkvfrTtDw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPoKuuB1fWySn2dQ59nUI", + "id": "pi_3OrhlXKuuB1fWySn0lWqyEhW", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPoKuuB1fWySn2dQ59nUI_secret_tEDlmysVGL4amETRITGP7g2O2", + "client_secret": "pi_3OrhlXKuuB1fWySn0lWqyEhW_secret_silStDXFakt1uO6sMxcQrpOeS", "confirmation_method": "automatic", - "created": 1708989416, + "created": 1709821067, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPoKuuB1fWySn2BYRYmtO", + "latest_charge": "ch_3OrhlXKuuB1fWySn0uWd0dSO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPoKuuB1fWySnksEAt7Ps", + "payment_method": "pm_1OrhlXKuuB1fWySnda3V1iWn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:57 GMT + recorded_at: Thu, 07 Mar 2024 14:17:49 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPoKuuB1fWySn2dQ59nUI + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlXKuuB1fWySn0lWqyEhW body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Vwd5lMn9g7ZEG7","request_duration_ms":887}}' + - '{"last_request_metrics":{"request_id":"req_E38gUjkvfrTtDw","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:58 GMT + - Thu, 07 Mar 2024 14:17:49 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_GcXIzp0kd38yjk + - req_s06ONhbogkUfvd Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPoKuuB1fWySn2dQ59nUI", + "id": "pi_3OrhlXKuuB1fWySn0lWqyEhW", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPoKuuB1fWySn2dQ59nUI_secret_tEDlmysVGL4amETRITGP7g2O2", + "client_secret": "pi_3OrhlXKuuB1fWySn0lWqyEhW_secret_silStDXFakt1uO6sMxcQrpOeS", "confirmation_method": "automatic", - "created": 1708989416, + "created": 1709821067, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPoKuuB1fWySn2BYRYmtO", + "latest_charge": "ch_3OrhlXKuuB1fWySn0uWd0dSO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPoKuuB1fWySnksEAt7Ps", + "payment_method": "pm_1OrhlXKuuB1fWySnda3V1iWn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:58 GMT + recorded_at: Thu, 07 Mar 2024 14:17:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPoKuuB1fWySn2dQ59nUI/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlXKuuB1fWySn0lWqyEhW/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GcXIzp0kd38yjk","request_duration_ms":277}}' + - '{"last_request_metrics":{"request_id":"req_s06ONhbogkUfvd","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:59 GMT + - Thu, 07 Mar 2024 14:17:50 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b6170c65-70e8-4045-8f8f-c9c1ab5a0b59 + - ad2146b4-d285-4cc6-972f-d1bd9c8300d2 Original-Request: - - req_xFAYQ4i3zn1b44 + - req_ToMS44nOrBMt2V Request-Id: - - req_xFAYQ4i3zn1b44 + - req_ToMS44nOrBMt2V Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPoKuuB1fWySn2dQ59nUI", + "id": "pi_3OrhlXKuuB1fWySn0lWqyEhW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPoKuuB1fWySn2dQ59nUI_secret_tEDlmysVGL4amETRITGP7g2O2", + "client_secret": "pi_3OrhlXKuuB1fWySn0lWqyEhW_secret_silStDXFakt1uO6sMxcQrpOeS", "confirmation_method": "automatic", - "created": 1708989416, + "created": 1709821067, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPoKuuB1fWySn2BYRYmtO", + "latest_charge": "ch_3OrhlXKuuB1fWySn0uWd0dSO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPoKuuB1fWySnksEAt7Ps", + "payment_method": "pm_1OrhlXKuuB1fWySnda3V1iWn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:59 GMT + recorded_at: Thu, 07 Mar 2024 14:17:50 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPoKuuB1fWySn2dQ59nUI + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlXKuuB1fWySn0lWqyEhW body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xFAYQ4i3zn1b44","request_duration_ms":1053}}' + - '{"last_request_metrics":{"request_id":"req_ToMS44nOrBMt2V","request_duration_ms":1095}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:59 GMT + - Thu, 07 Mar 2024 14:17:50 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_7fzqt4GnMNoHlB + - req_sopEZP0SunuuDr Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPoKuuB1fWySn2dQ59nUI", + "id": "pi_3OrhlXKuuB1fWySn0lWqyEhW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPoKuuB1fWySn2dQ59nUI_secret_tEDlmysVGL4amETRITGP7g2O2", + "client_secret": "pi_3OrhlXKuuB1fWySn0lWqyEhW_secret_silStDXFakt1uO6sMxcQrpOeS", "confirmation_method": "automatic", - "created": 1708989416, + "created": 1709821067, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPoKuuB1fWySn2BYRYmtO", + "latest_charge": "ch_3OrhlXKuuB1fWySn0uWd0dSO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPoKuuB1fWySnksEAt7Ps", + "payment_method": "pm_1OrhlXKuuB1fWySnda3V1iWn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:59 GMT + recorded_at: Thu, 07 Mar 2024 14:17:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml index e9a63dce4e..e9bf59e189 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EriVaYg2xAZ3G9","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_OlSFbckyuMDohr","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:54 GMT + - Thu, 07 Mar 2024 14:17:45 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a1a7b2c2-f408-41ce-8503-54dae703169e + - ede31a35-101a-4e31-9485-8299cbf396e2 Original-Request: - - req_q7yLdmlLyrKDoh + - req_q23qnkQypDV9xD Request-Id: - - req_q7yLdmlLyrKDoh + - req_q23qnkQypDV9xD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPmKuuB1fWySndqg0rJhW", + "id": "pm_1OrhlUKuuB1fWySnvnC4beQn", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989414, + "created": 1709821065, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:54 GMT + recorded_at: Thu, 07 Mar 2024 14:17:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPmKuuB1fWySndqg0rJhW&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlUKuuB1fWySnvnC4beQn&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_q7yLdmlLyrKDoh","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_q23qnkQypDV9xD","request_duration_ms":465}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:55 GMT + - Thu, 07 Mar 2024 14:17:45 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 403e7e93-6528-4bc2-b86b-08b9903ebd38 + - 3d1d9236-9474-4534-94c0-80217663eb63 Original-Request: - - req_kYnRBdJGTt3o9r + - req_j90cqy0vfiuI8h Request-Id: - - req_kYnRBdJGTt3o9r + - req_j90cqy0vfiuI8h Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPmKuuB1fWySn1pw0b7lT", + "id": "pi_3OrhlVKuuB1fWySn0ftANvXe", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPmKuuB1fWySn1pw0b7lT_secret_bK42ozNfTrhP7zdC7HSvGpnle", + "client_secret": "pi_3OrhlVKuuB1fWySn0ftANvXe_secret_U59ggKTicmmxSh2XpGx37eufc", "confirmation_method": "automatic", - "created": 1708989414, + "created": 1709821065, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPmKuuB1fWySndqg0rJhW", + "payment_method": "pm_1OrhlUKuuB1fWySnvnC4beQn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:55 GMT + recorded_at: Thu, 07 Mar 2024 14:17:45 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPmKuuB1fWySn1pw0b7lT/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlVKuuB1fWySn0ftANvXe/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kYnRBdJGTt3o9r","request_duration_ms":371}}' + - '{"last_request_metrics":{"request_id":"req_j90cqy0vfiuI8h","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:55 GMT + - Thu, 07 Mar 2024 14:17:46 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fe1143e6-a57d-4489-9340-c803cea254cd + - 6ce20292-f8d3-4e4b-947a-66edd83cd13c Original-Request: - - req_PnkNKBDHUl3SKo + - req_PBXi1xo26CwOKK Request-Id: - - req_PnkNKBDHUl3SKo + - req_PBXi1xo26CwOKK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPmKuuB1fWySn1pw0b7lT", + "id": "pi_3OrhlVKuuB1fWySn0ftANvXe", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPmKuuB1fWySn1pw0b7lT_secret_bK42ozNfTrhP7zdC7HSvGpnle", + "client_secret": "pi_3OrhlVKuuB1fWySn0ftANvXe_secret_U59ggKTicmmxSh2XpGx37eufc", "confirmation_method": "automatic", - "created": 1708989414, + "created": 1709821065, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPmKuuB1fWySn11jcty9b", + "latest_charge": "ch_3OrhlVKuuB1fWySn0RkOq2NG", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPmKuuB1fWySndqg0rJhW", + "payment_method": "pm_1OrhlUKuuB1fWySnvnC4beQn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:55 GMT + recorded_at: Thu, 07 Mar 2024 14:17:46 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml index d097b11621..4be4be92f3 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tZeFcpRVsSW3K0","request_duration_ms":984}}' + - '{"last_request_metrics":{"request_id":"req_mdd6eTIHwU8Bwh","request_duration_ms":960}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:23 GMT + - Thu, 07 Mar 2024 14:18:21 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '018bcb08-4576-4a14-8f46-43ab03a0574e' + - 78de0381-040c-43c7-add4-a8e4daa32eb6 Original-Request: - - req_wXVrVcdxQhMIL0 + - req_NqmRzRWQRvE0yT Request-Id: - - req_wXVrVcdxQhMIL0 + - req_NqmRzRWQRvE0yT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQFKuuB1fWySnnKvU24OA", + "id": "pm_1Orhm4KuuB1fWySnmuV0aK24", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989443, + "created": 1709821100, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:24 GMT + recorded_at: Thu, 07 Mar 2024 14:18:21 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQFKuuB1fWySnnKvU24OA&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Orhm4KuuB1fWySnmuV0aK24&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wXVrVcdxQhMIL0","request_duration_ms":518}}' + - '{"last_request_metrics":{"request_id":"req_NqmRzRWQRvE0yT","request_duration_ms":472}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:24 GMT + - Thu, 07 Mar 2024 14:18:21 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - dfee5031-64c4-4e99-8ce6-0b220b9030da + - 7dd9a031-a5c0-44c5-a239-adad8a3463f3 Original-Request: - - req_zxV4cyZ2mrREVu + - req_FdlRIQQ5P2D3H4 Request-Id: - - req_zxV4cyZ2mrREVu + - req_FdlRIQQ5P2D3H4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQGKuuB1fWySn0oKQVAGA", + "id": "pi_3Orhm5KuuB1fWySn205mMnjq", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQGKuuB1fWySn0oKQVAGA_secret_Hs94QwnnRR8MutBBkxEN1l39j", + "client_secret": "pi_3Orhm5KuuB1fWySn205mMnjq_secret_hlYRQTOKhMqvHXHwYhwKtSf9p", "confirmation_method": "automatic", - "created": 1708989444, + "created": 1709821101, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQFKuuB1fWySnnKvU24OA", + "payment_method": "pm_1Orhm4KuuB1fWySnmuV0aK24", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:24 GMT + recorded_at: Thu, 07 Mar 2024 14:18:21 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQGKuuB1fWySn0oKQVAGA/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhm5KuuB1fWySn205mMnjq/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zxV4cyZ2mrREVu","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_FdlRIQQ5P2D3H4","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:25 GMT + - Thu, 07 Mar 2024 14:18:22 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bd1defd3-6015-4970-baff-e3988c547e68 + - f24c67c6-b357-4f43-9e9a-299d68fa03fc Original-Request: - - req_ABH2XiOcmoluSl + - req_1nppE4dXg8DYUR Request-Id: - - req_ABH2XiOcmoluSl + - req_1nppE4dXg8DYUR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQGKuuB1fWySn0oKQVAGA", + "id": "pi_3Orhm5KuuB1fWySn205mMnjq", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQGKuuB1fWySn0oKQVAGA_secret_Hs94QwnnRR8MutBBkxEN1l39j", + "client_secret": "pi_3Orhm5KuuB1fWySn205mMnjq_secret_hlYRQTOKhMqvHXHwYhwKtSf9p", "confirmation_method": "automatic", - "created": 1708989444, + "created": 1709821101, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQGKuuB1fWySn0Qnwq89D", + "latest_charge": "ch_3Orhm5KuuB1fWySn2WKJBXcO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQFKuuB1fWySnnKvU24OA", + "payment_method": "pm_1Orhm4KuuB1fWySnmuV0aK24", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:25 GMT + recorded_at: Thu, 07 Mar 2024 14:18:22 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQGKuuB1fWySn0oKQVAGA + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhm5KuuB1fWySn205mMnjq body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ABH2XiOcmoluSl","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_1nppE4dXg8DYUR","request_duration_ms":961}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:25 GMT + - Thu, 07 Mar 2024 14:18:22 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_OC8C8bWF8YJIRP + - req_OnjI6vWf9VKD6B Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQGKuuB1fWySn0oKQVAGA", + "id": "pi_3Orhm5KuuB1fWySn205mMnjq", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQGKuuB1fWySn0oKQVAGA_secret_Hs94QwnnRR8MutBBkxEN1l39j", + "client_secret": "pi_3Orhm5KuuB1fWySn205mMnjq_secret_hlYRQTOKhMqvHXHwYhwKtSf9p", "confirmation_method": "automatic", - "created": 1708989444, + "created": 1709821101, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQGKuuB1fWySn0Qnwq89D", + "latest_charge": "ch_3Orhm5KuuB1fWySn2WKJBXcO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQFKuuB1fWySnnKvU24OA", + "payment_method": "pm_1Orhm4KuuB1fWySnmuV0aK24", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:25 GMT + recorded_at: Thu, 07 Mar 2024 14:18:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQGKuuB1fWySn0oKQVAGA/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhm5KuuB1fWySn205mMnjq/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OC8C8bWF8YJIRP","request_duration_ms":327}}' + - '{"last_request_metrics":{"request_id":"req_OnjI6vWf9VKD6B","request_duration_ms":359}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:26 GMT + - Thu, 07 Mar 2024 14:18:23 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a21ac787-8a48-46ad-891c-5d42fb6d0d30 + - 611fb558-4c2c-4e4e-a5ec-a52cc06a0339 Original-Request: - - req_NTYOlUxG12Sv13 + - req_NeC8jmRVIT124g Request-Id: - - req_NTYOlUxG12Sv13 + - req_NeC8jmRVIT124g Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQGKuuB1fWySn0oKQVAGA", + "id": "pi_3Orhm5KuuB1fWySn205mMnjq", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQGKuuB1fWySn0oKQVAGA_secret_Hs94QwnnRR8MutBBkxEN1l39j", + "client_secret": "pi_3Orhm5KuuB1fWySn205mMnjq_secret_hlYRQTOKhMqvHXHwYhwKtSf9p", "confirmation_method": "automatic", - "created": 1708989444, + "created": 1709821101, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQGKuuB1fWySn0Qnwq89D", + "latest_charge": "ch_3Orhm5KuuB1fWySn2WKJBXcO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQFKuuB1fWySnnKvU24OA", + "payment_method": "pm_1Orhm4KuuB1fWySnmuV0aK24", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:26 GMT + recorded_at: Thu, 07 Mar 2024 14:18:24 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQGKuuB1fWySn0oKQVAGA + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhm5KuuB1fWySn205mMnjq body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NTYOlUxG12Sv13","request_duration_ms":1103}}' + - '{"last_request_metrics":{"request_id":"req_NeC8jmRVIT124g","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:27 GMT + - Thu, 07 Mar 2024 14:18:24 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_5BWpnRRrXNvrhp + - req_qECUG2k7cSzt0Y Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQGKuuB1fWySn0oKQVAGA", + "id": "pi_3Orhm5KuuB1fWySn205mMnjq", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQGKuuB1fWySn0oKQVAGA_secret_Hs94QwnnRR8MutBBkxEN1l39j", + "client_secret": "pi_3Orhm5KuuB1fWySn205mMnjq_secret_hlYRQTOKhMqvHXHwYhwKtSf9p", "confirmation_method": "automatic", - "created": 1708989444, + "created": 1709821101, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQGKuuB1fWySn0Qnwq89D", + "latest_charge": "ch_3Orhm5KuuB1fWySn2WKJBXcO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQFKuuB1fWySnnKvU24OA", + "payment_method": "pm_1Orhm4KuuB1fWySnmuV0aK24", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:27 GMT + recorded_at: Thu, 07 Mar 2024 14:18:24 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml index eca5cbade7..6488999acf 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rJcAvoXoMBji1r","request_duration_ms":292}}' + - '{"last_request_metrics":{"request_id":"req_mEwwuP9qOKKXIV","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:22 GMT + - Thu, 07 Mar 2024 14:18:18 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fd625c95-6881-4919-974d-cd410507c9fd + - 40bc18b4-cf9a-408a-b859-84ccca0932f1 Original-Request: - - req_28sCyzMkY9unKl + - req_yY55MalsYTsghK Request-Id: - - req_28sCyzMkY9unKl + - req_yY55MalsYTsghK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQDKuuB1fWySnjT3Z0QJ8", + "id": "pm_1Orhm2KuuB1fWySno5h5zHwy", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989441, + "created": 1709821098, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:22 GMT + recorded_at: Thu, 07 Mar 2024 14:18:18 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQDKuuB1fWySnjT3Z0QJ8&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Orhm2KuuB1fWySno5h5zHwy&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_28sCyzMkY9unKl","request_duration_ms":385}}' + - '{"last_request_metrics":{"request_id":"req_yY55MalsYTsghK","request_duration_ms":670}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:22 GMT + - Thu, 07 Mar 2024 14:18:19 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 96c5af48-a78b-4825-8b5c-b9f12e00ac63 + - 7bf3319f-cf45-41f3-b2e8-060c55e16fe5 Original-Request: - - req_Or6kc44x4oSa6m + - req_XRMlHzeU4U5Eer Request-Id: - - req_Or6kc44x4oSa6m + - req_XRMlHzeU4U5Eer Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQEKuuB1fWySn1R0L1HVI", + "id": "pi_3Orhm3KuuB1fWySn0UatAemb", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQEKuuB1fWySn1R0L1HVI_secret_Wo9j4JvtbYFRhhafurS1X4hm4", + "client_secret": "pi_3Orhm3KuuB1fWySn0UatAemb_secret_Eg88Z4OFsRgI2lx5rkIp1cIqO", "confirmation_method": "automatic", - "created": 1708989442, + "created": 1709821099, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQDKuuB1fWySnjT3Z0QJ8", + "payment_method": "pm_1Orhm2KuuB1fWySno5h5zHwy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:22 GMT + recorded_at: Thu, 07 Mar 2024 14:18:19 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQEKuuB1fWySn1R0L1HVI/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhm3KuuB1fWySn0UatAemb/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Or6kc44x4oSa6m","request_duration_ms":365}}' + - '{"last_request_metrics":{"request_id":"req_XRMlHzeU4U5Eer","request_duration_ms":505}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:23 GMT + - Thu, 07 Mar 2024 14:18:20 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a7c055a8-f12a-44b8-883f-6b9435623067 + - 51580d11-b905-429b-848c-b3703612a060 Original-Request: - - req_tZeFcpRVsSW3K0 + - req_mdd6eTIHwU8Bwh Request-Id: - - req_tZeFcpRVsSW3K0 + - req_mdd6eTIHwU8Bwh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQEKuuB1fWySn1R0L1HVI", + "id": "pi_3Orhm3KuuB1fWySn0UatAemb", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQEKuuB1fWySn1R0L1HVI_secret_Wo9j4JvtbYFRhhafurS1X4hm4", + "client_secret": "pi_3Orhm3KuuB1fWySn0UatAemb_secret_Eg88Z4OFsRgI2lx5rkIp1cIqO", "confirmation_method": "automatic", - "created": 1708989442, + "created": 1709821099, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQEKuuB1fWySn19jAzVQt", + "latest_charge": "ch_3Orhm3KuuB1fWySn0vr1WuIA", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQDKuuB1fWySnjT3Z0QJ8", + "payment_method": "pm_1Orhm2KuuB1fWySno5h5zHwy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:23 GMT + recorded_at: Thu, 07 Mar 2024 14:18:20 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml index 5c8875b47d..30b093e176 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DNM7HvVYElnouo","request_duration_ms":920}}' + - '{"last_request_metrics":{"request_id":"req_MKq9QstiAARXFE","request_duration_ms":999}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:13 GMT + - Thu, 07 Mar 2024 14:18:08 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0de022eb-04e6-4f92-a43e-2320bede7c2a + - 8eeea6b4-c6d3-4ff8-978d-17707e65224f Original-Request: - - req_cu0PVMGkMKr7L9 + - req_rRRbIVnDL0OKSL Request-Id: - - req_cu0PVMGkMKr7L9 + - req_rRRbIVnDL0OKSL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQ4KuuB1fWySnwcBU1joN", + "id": "pm_1OrhlrKuuB1fWySnOueLfyXE", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989432, + "created": 1709821088, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:13 GMT + recorded_at: Thu, 07 Mar 2024 14:18:08 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQ4KuuB1fWySnwcBU1joN&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlrKuuB1fWySnOueLfyXE&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cu0PVMGkMKr7L9","request_duration_ms":520}}' + - '{"last_request_metrics":{"request_id":"req_rRRbIVnDL0OKSL","request_duration_ms":503}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:13 GMT + - Thu, 07 Mar 2024 14:18:08 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3356da51-cfc8-496f-8cdc-fb1ce85b43f6 + - 8c852daf-ec52-4ba5-b3c9-184165ba2dd1 Original-Request: - - req_8YtnZbyG8a1i9x + - req_udubkVTHBKhtUV Request-Id: - - req_8YtnZbyG8a1i9x + - req_udubkVTHBKhtUV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQ5KuuB1fWySn0uPfrMDN", + "id": "pi_3OrhlsKuuB1fWySn04UY1FEw", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQ5KuuB1fWySn0uPfrMDN_secret_QtTk5xnpOXq92fCY0sHmyme0T", + "client_secret": "pi_3OrhlsKuuB1fWySn04UY1FEw_secret_7TGroUtSFTWEPQZg28IJX9V6n", "confirmation_method": "automatic", - "created": 1708989433, + "created": 1709821088, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQ4KuuB1fWySnwcBU1joN", + "payment_method": "pm_1OrhlrKuuB1fWySnOueLfyXE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:13 GMT + recorded_at: Thu, 07 Mar 2024 14:18:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQ5KuuB1fWySn0uPfrMDN/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlsKuuB1fWySn04UY1FEw/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8YtnZbyG8a1i9x","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_udubkVTHBKhtUV","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:14 GMT + - Thu, 07 Mar 2024 14:18:09 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5ab906a5-1bd2-4ae4-868e-dbdb654d5930 + - ec2fe50e-a8cf-4890-ba80-d685ebcd20c2 Original-Request: - - req_esjokrc0x0UEge + - req_vSvoVRyOS1uE94 Request-Id: - - req_esjokrc0x0UEge + - req_vSvoVRyOS1uE94 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQ5KuuB1fWySn0uPfrMDN", + "id": "pi_3OrhlsKuuB1fWySn04UY1FEw", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQ5KuuB1fWySn0uPfrMDN_secret_QtTk5xnpOXq92fCY0sHmyme0T", + "client_secret": "pi_3OrhlsKuuB1fWySn04UY1FEw_secret_7TGroUtSFTWEPQZg28IJX9V6n", "confirmation_method": "automatic", - "created": 1708989433, + "created": 1709821088, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQ5KuuB1fWySn0vu8YiM8", + "latest_charge": "ch_3OrhlsKuuB1fWySn0UpB5LOF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQ4KuuB1fWySnwcBU1joN", + "payment_method": "pm_1OrhlrKuuB1fWySnOueLfyXE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:14 GMT + recorded_at: Thu, 07 Mar 2024 14:18:09 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQ5KuuB1fWySn0uPfrMDN + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlsKuuB1fWySn04UY1FEw body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_esjokrc0x0UEge","request_duration_ms":920}}' + - '{"last_request_metrics":{"request_id":"req_vSvoVRyOS1uE94","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:14 GMT + - Thu, 07 Mar 2024 14:18:09 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_etCPYC83Jy1D6n + - req_G58KAkkaU0zIpq Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQ5KuuB1fWySn0uPfrMDN", + "id": "pi_3OrhlsKuuB1fWySn04UY1FEw", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQ5KuuB1fWySn0uPfrMDN_secret_QtTk5xnpOXq92fCY0sHmyme0T", + "client_secret": "pi_3OrhlsKuuB1fWySn04UY1FEw_secret_7TGroUtSFTWEPQZg28IJX9V6n", "confirmation_method": "automatic", - "created": 1708989433, + "created": 1709821088, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQ5KuuB1fWySn0vu8YiM8", + "latest_charge": "ch_3OrhlsKuuB1fWySn0UpB5LOF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQ4KuuB1fWySnwcBU1joN", + "payment_method": "pm_1OrhlrKuuB1fWySnOueLfyXE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:14 GMT + recorded_at: Thu, 07 Mar 2024 14:18:10 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQ5KuuB1fWySn0uPfrMDN/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlsKuuB1fWySn04UY1FEw/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_etCPYC83Jy1D6n","request_duration_ms":301}}' + - '{"last_request_metrics":{"request_id":"req_G58KAkkaU0zIpq","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:15 GMT + - Thu, 07 Mar 2024 14:18:11 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f49dd782-39e1-4367-ad0f-4c61bda709be + - e3d95683-20df-45ce-827d-9ede6249d69c Original-Request: - - req_ebD02K4d9zzZc0 + - req_j071zPEaXEO5Mo Request-Id: - - req_ebD02K4d9zzZc0 + - req_j071zPEaXEO5Mo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQ5KuuB1fWySn0uPfrMDN", + "id": "pi_3OrhlsKuuB1fWySn04UY1FEw", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQ5KuuB1fWySn0uPfrMDN_secret_QtTk5xnpOXq92fCY0sHmyme0T", + "client_secret": "pi_3OrhlsKuuB1fWySn04UY1FEw_secret_7TGroUtSFTWEPQZg28IJX9V6n", "confirmation_method": "automatic", - "created": 1708989433, + "created": 1709821088, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQ5KuuB1fWySn0vu8YiM8", + "latest_charge": "ch_3OrhlsKuuB1fWySn0UpB5LOF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQ4KuuB1fWySnwcBU1joN", + "payment_method": "pm_1OrhlrKuuB1fWySnOueLfyXE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:15 GMT + recorded_at: Thu, 07 Mar 2024 14:18:11 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQ5KuuB1fWySn0uPfrMDN + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlsKuuB1fWySn04UY1FEw body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ebD02K4d9zzZc0","request_duration_ms":1119}}' + - '{"last_request_metrics":{"request_id":"req_j071zPEaXEO5Mo","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:16 GMT + - Thu, 07 Mar 2024 14:18:11 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_lsVhEGvNG5gz6c + - req_TILqwCAgbbgmjm Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQ5KuuB1fWySn0uPfrMDN", + "id": "pi_3OrhlsKuuB1fWySn04UY1FEw", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQ5KuuB1fWySn0uPfrMDN_secret_QtTk5xnpOXq92fCY0sHmyme0T", + "client_secret": "pi_3OrhlsKuuB1fWySn04UY1FEw_secret_7TGroUtSFTWEPQZg28IJX9V6n", "confirmation_method": "automatic", - "created": 1708989433, + "created": 1709821088, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQ5KuuB1fWySn0vu8YiM8", + "latest_charge": "ch_3OrhlsKuuB1fWySn0UpB5LOF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQ4KuuB1fWySnwcBU1joN", + "payment_method": "pm_1OrhlrKuuB1fWySnOueLfyXE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:16 GMT + recorded_at: Thu, 07 Mar 2024 14:18:11 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml index 22b17d7b39..e4f08070e9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MGegivwuYXdKzb","request_duration_ms":282}}' + - '{"last_request_metrics":{"request_id":"req_gMekZBuaSoumEP","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:11 GMT + - Thu, 07 Mar 2024 14:18:05 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 66322438-493c-4c38-b6df-f3f0515fa586 + - 47bbe2a3-0d19-4014-94ff-f21d35b11447 Original-Request: - - req_ymA6NEUj3csFmt + - req_A5C6t6uFajkzuR Request-Id: - - req_ymA6NEUj3csFmt + - req_A5C6t6uFajkzuR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQ2KuuB1fWySnpPX2X2d8", + "id": "pm_1OrhlpKuuB1fWySnRBHHGLQi", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989431, + "created": 1709821085, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:11 GMT + recorded_at: Thu, 07 Mar 2024 14:18:05 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQ2KuuB1fWySnpPX2X2d8&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlpKuuB1fWySnRBHHGLQi&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ymA6NEUj3csFmt","request_duration_ms":444}}' + - '{"last_request_metrics":{"request_id":"req_A5C6t6uFajkzuR","request_duration_ms":567}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:11 GMT + - Thu, 07 Mar 2024 14:18:06 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3b9a38f6-4eec-4a1b-971e-24397fe243df + - ccbb0913-8444-4248-bd18-ce785fbdc449 Original-Request: - - req_UFXyGArg2qD6Na + - req_SgGfwP5w9azJqD Request-Id: - - req_UFXyGArg2qD6Na + - req_SgGfwP5w9azJqD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQ3KuuB1fWySn1vXhjEm2", + "id": "pi_3OrhlpKuuB1fWySn2nmUzwdT", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQ3KuuB1fWySn1vXhjEm2_secret_BoexzKyTKuQWNyHY2b9vBbRJU", + "client_secret": "pi_3OrhlpKuuB1fWySn2nmUzwdT_secret_laBRlGmlPECPJJJeORykty19a", "confirmation_method": "automatic", - "created": 1708989431, + "created": 1709821085, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQ2KuuB1fWySnpPX2X2d8", + "payment_method": "pm_1OrhlpKuuB1fWySnRBHHGLQi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:11 GMT + recorded_at: Thu, 07 Mar 2024 14:18:06 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQ3KuuB1fWySn1vXhjEm2/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlpKuuB1fWySn2nmUzwdT/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UFXyGArg2qD6Na","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_SgGfwP5w9azJqD","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:12 GMT + - Thu, 07 Mar 2024 14:18:07 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 10b98ab8-d072-4923-a330-51f4c892eb4d + - dd7dac89-b10e-492c-a37c-e43a45125f56 Original-Request: - - req_DNM7HvVYElnouo + - req_MKq9QstiAARXFE Request-Id: - - req_DNM7HvVYElnouo + - req_MKq9QstiAARXFE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQ3KuuB1fWySn1vXhjEm2", + "id": "pi_3OrhlpKuuB1fWySn2nmUzwdT", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQ3KuuB1fWySn1vXhjEm2_secret_BoexzKyTKuQWNyHY2b9vBbRJU", + "client_secret": "pi_3OrhlpKuuB1fWySn2nmUzwdT_secret_laBRlGmlPECPJJJeORykty19a", "confirmation_method": "automatic", - "created": 1708989431, + "created": 1709821085, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQ3KuuB1fWySn1CVsc0Hx", + "latest_charge": "ch_3OrhlpKuuB1fWySn2jiNTjGL", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQ2KuuB1fWySnpPX2X2d8", + "payment_method": "pm_1OrhlpKuuB1fWySnRBHHGLQi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:12 GMT + recorded_at: Thu, 07 Mar 2024 14:18:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml index 98a9009dd7..96b549c341 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_O6BIGGHZYqE7Ft","request_duration_ms":920}}' + - '{"last_request_metrics":{"request_id":"req_jRLiug6zYGX9PI","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:18 GMT + - Thu, 07 Mar 2024 14:18:14 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ac54b77d-9551-480d-9fdc-2d7bb7703e26 + - 3e87fb54-201e-44ce-937c-d4251dffb2df Original-Request: - - req_CLlBZLTzvEjdZT + - req_x1Xe2pHivqbeRm Request-Id: - - req_CLlBZLTzvEjdZT + - req_x1Xe2pHivqbeRm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQAKuuB1fWySncyLcqw3f", + "id": "pm_1OrhlyKuuB1fWySnyjDzvxv0", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989438, + "created": 1709821094, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:18 GMT + recorded_at: Thu, 07 Mar 2024 14:18:14 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQAKuuB1fWySncyLcqw3f&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlyKuuB1fWySnyjDzvxv0&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CLlBZLTzvEjdZT","request_duration_ms":464}}' + - '{"last_request_metrics":{"request_id":"req_x1Xe2pHivqbeRm","request_duration_ms":520}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:18 GMT + - Thu, 07 Mar 2024 14:18:15 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 91585d37-4069-4132-b394-65ff3ef803d9 + - e52eca48-dac7-493a-91ff-ef937d57dde3 Original-Request: - - req_3sZzL6b5kfneu7 + - req_GKzujk2uqxZOBj Request-Id: - - req_3sZzL6b5kfneu7 + - req_GKzujk2uqxZOBj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQAKuuB1fWySn1ur6NCq4", + "id": "pi_3OrhlyKuuB1fWySn1FthUlwQ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQAKuuB1fWySn1ur6NCq4_secret_QRERdwW3G3XOTTEvxDLIZLP8K", + "client_secret": "pi_3OrhlyKuuB1fWySn1FthUlwQ_secret_mRTG91ZjebCz6lSUKiEQ2jPhY", "confirmation_method": "automatic", - "created": 1708989438, + "created": 1709821094, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQAKuuB1fWySncyLcqw3f", + "payment_method": "pm_1OrhlyKuuB1fWySnyjDzvxv0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:19 GMT + recorded_at: Thu, 07 Mar 2024 14:18:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQAKuuB1fWySn1ur6NCq4/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlyKuuB1fWySn1FthUlwQ/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3sZzL6b5kfneu7","request_duration_ms":463}}' + - '{"last_request_metrics":{"request_id":"req_GKzujk2uqxZOBj","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:19 GMT + - Thu, 07 Mar 2024 14:18:16 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - eff659cf-2371-42a6-8209-1dc93cbf3c7c + - 5af73211-a344-41a2-8091-b8bfd2eb849a Original-Request: - - req_jRGg9gwLRx0tB5 + - req_aprZgMoSMgh1Do Request-Id: - - req_jRGg9gwLRx0tB5 + - req_aprZgMoSMgh1Do Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQAKuuB1fWySn1ur6NCq4", + "id": "pi_3OrhlyKuuB1fWySn1FthUlwQ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQAKuuB1fWySn1ur6NCq4_secret_QRERdwW3G3XOTTEvxDLIZLP8K", + "client_secret": "pi_3OrhlyKuuB1fWySn1FthUlwQ_secret_mRTG91ZjebCz6lSUKiEQ2jPhY", "confirmation_method": "automatic", - "created": 1708989438, + "created": 1709821094, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQAKuuB1fWySn1ZiPgFzu", + "latest_charge": "ch_3OrhlyKuuB1fWySn1Qm2LFhH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQAKuuB1fWySncyLcqw3f", + "payment_method": "pm_1OrhlyKuuB1fWySnyjDzvxv0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:19 GMT + recorded_at: Thu, 07 Mar 2024 14:18:16 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQAKuuB1fWySn1ur6NCq4 + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlyKuuB1fWySn1FthUlwQ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jRGg9gwLRx0tB5","request_duration_ms":920}}' + - '{"last_request_metrics":{"request_id":"req_aprZgMoSMgh1Do","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:20 GMT + - Thu, 07 Mar 2024 14:18:16 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_1LKIgtLR6yNvjt + - req_6KcYCCPc1Olb8X Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQAKuuB1fWySn1ur6NCq4", + "id": "pi_3OrhlyKuuB1fWySn1FthUlwQ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQAKuuB1fWySn1ur6NCq4_secret_QRERdwW3G3XOTTEvxDLIZLP8K", + "client_secret": "pi_3OrhlyKuuB1fWySn1FthUlwQ_secret_mRTG91ZjebCz6lSUKiEQ2jPhY", "confirmation_method": "automatic", - "created": 1708989438, + "created": 1709821094, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQAKuuB1fWySn1ZiPgFzu", + "latest_charge": "ch_3OrhlyKuuB1fWySn1Qm2LFhH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQAKuuB1fWySncyLcqw3f", + "payment_method": "pm_1OrhlyKuuB1fWySnyjDzvxv0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:20 GMT + recorded_at: Thu, 07 Mar 2024 14:18:16 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQAKuuB1fWySn1ur6NCq4/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlyKuuB1fWySn1FthUlwQ/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1LKIgtLR6yNvjt","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_6KcYCCPc1Olb8X","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:21 GMT + - Thu, 07 Mar 2024 14:18:17 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 78073d50-6efc-4f36-a54e-4052751db78e + - 0e17c9df-779f-4fd5-906d-2cc7d2d827e7 Original-Request: - - req_JmKJPrj31DE3MG + - req_60apNEN97H2tqs Request-Id: - - req_JmKJPrj31DE3MG + - req_60apNEN97H2tqs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQAKuuB1fWySn1ur6NCq4", + "id": "pi_3OrhlyKuuB1fWySn1FthUlwQ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQAKuuB1fWySn1ur6NCq4_secret_QRERdwW3G3XOTTEvxDLIZLP8K", + "client_secret": "pi_3OrhlyKuuB1fWySn1FthUlwQ_secret_mRTG91ZjebCz6lSUKiEQ2jPhY", "confirmation_method": "automatic", - "created": 1708989438, + "created": 1709821094, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQAKuuB1fWySn1ZiPgFzu", + "latest_charge": "ch_3OrhlyKuuB1fWySn1Qm2LFhH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQAKuuB1fWySncyLcqw3f", + "payment_method": "pm_1OrhlyKuuB1fWySnyjDzvxv0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:21 GMT + recorded_at: Thu, 07 Mar 2024 14:18:17 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQAKuuB1fWySn1ur6NCq4 + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlyKuuB1fWySn1FthUlwQ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JmKJPrj31DE3MG","request_duration_ms":1031}}' + - '{"last_request_metrics":{"request_id":"req_60apNEN97H2tqs","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:21 GMT + - Thu, 07 Mar 2024 14:18:18 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_rJcAvoXoMBji1r + - req_mEwwuP9qOKKXIV Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQAKuuB1fWySn1ur6NCq4", + "id": "pi_3OrhlyKuuB1fWySn1FthUlwQ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQAKuuB1fWySn1ur6NCq4_secret_QRERdwW3G3XOTTEvxDLIZLP8K", + "client_secret": "pi_3OrhlyKuuB1fWySn1FthUlwQ_secret_mRTG91ZjebCz6lSUKiEQ2jPhY", "confirmation_method": "automatic", - "created": 1708989438, + "created": 1709821094, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQAKuuB1fWySn1ZiPgFzu", + "latest_charge": "ch_3OrhlyKuuB1fWySn1Qm2LFhH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQAKuuB1fWySncyLcqw3f", + "payment_method": "pm_1OrhlyKuuB1fWySnyjDzvxv0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:21 GMT + recorded_at: Thu, 07 Mar 2024 14:18:18 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index e3bd23185d..2a683fc764 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lsVhEGvNG5gz6c","request_duration_ms":279}}' + - '{"last_request_metrics":{"request_id":"req_TILqwCAgbbgmjm","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:16 GMT + - Thu, 07 Mar 2024 14:18:11 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cf9df56b-f5ca-46f7-925e-39832ae36aaf + - ef680a1a-f4e4-4067-bf33-acb106692784 Original-Request: - - req_oiahTGP8BeNYx7 + - req_4mMSF1ZO43BEtZ Request-Id: - - req_oiahTGP8BeNYx7 + - req_4mMSF1ZO43BEtZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQ8KuuB1fWySnhipbXUfG", + "id": "pm_1OrhlvKuuB1fWySnqfWV4eQi", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989436, + "created": 1709821091, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:16 GMT + recorded_at: Thu, 07 Mar 2024 14:18:12 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQ8KuuB1fWySnhipbXUfG&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlvKuuB1fWySnqfWV4eQi&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oiahTGP8BeNYx7","request_duration_ms":425}}' + - '{"last_request_metrics":{"request_id":"req_4mMSF1ZO43BEtZ","request_duration_ms":557}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:17 GMT + - Thu, 07 Mar 2024 14:18:12 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6c28ceea-67f2-4e61-9590-792a87ec71cd + - 479af6e9-9db8-45ed-959f-dc7afd389424 Original-Request: - - req_sHZxuaWZuTjbWw + - req_qR4mNGv2FPkAqp Request-Id: - - req_sHZxuaWZuTjbWw + - req_qR4mNGv2FPkAqp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQ8KuuB1fWySn19PL84t8", + "id": "pi_3OrhlwKuuB1fWySn0XGdCAh5", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQ8KuuB1fWySn19PL84t8_secret_y0lyon2EbBvoMjncnmsRdEedp", + "client_secret": "pi_3OrhlwKuuB1fWySn0XGdCAh5_secret_oqdimhJTNtVHZRmBs7kojAYH4", "confirmation_method": "automatic", - "created": 1708989436, + "created": 1709821092, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQ8KuuB1fWySnhipbXUfG", + "payment_method": "pm_1OrhlvKuuB1fWySnqfWV4eQi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:17 GMT + recorded_at: Thu, 07 Mar 2024 14:18:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQ8KuuB1fWySn19PL84t8/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlwKuuB1fWySn0XGdCAh5/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sHZxuaWZuTjbWw","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_qR4mNGv2FPkAqp","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:17 GMT + - Thu, 07 Mar 2024 14:18:13 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 139141d9-2da1-4d7e-b155-a0d2a4209723 + - '086e6477-44e7-4c21-814d-ded1c858f507' Original-Request: - - req_O6BIGGHZYqE7Ft + - req_jRLiug6zYGX9PI Request-Id: - - req_O6BIGGHZYqE7Ft + - req_jRLiug6zYGX9PI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQ8KuuB1fWySn19PL84t8", + "id": "pi_3OrhlwKuuB1fWySn0XGdCAh5", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQ8KuuB1fWySn19PL84t8_secret_y0lyon2EbBvoMjncnmsRdEedp", + "client_secret": "pi_3OrhlwKuuB1fWySn0XGdCAh5_secret_oqdimhJTNtVHZRmBs7kojAYH4", "confirmation_method": "automatic", - "created": 1708989436, + "created": 1709821092, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQ8KuuB1fWySn1MwfMHxJ", + "latest_charge": "ch_3OrhlwKuuB1fWySn0TZzz0kH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQ8KuuB1fWySnhipbXUfG", + "payment_method": "pm_1OrhlvKuuB1fWySnqfWV4eQi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:18 GMT + recorded_at: Thu, 07 Mar 2024 14:18:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml index 4db06a4044..f80d10c3c8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mbOvR5aapJ3NaO","request_duration_ms":953}}' + - '{"last_request_metrics":{"request_id":"req_AqBfjaSd5RVG6n","request_duration_ms":1019}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:01 GMT + - Thu, 07 Mar 2024 14:17:54 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 633653b4-d4f2-4969-8f61-1cf1a4287b40 + - 38a8f9d8-c9c8-4c98-87fb-076804b7d235 Original-Request: - - req_PrGZETRXV8WTp1 + - req_nicAf4fT9UMeXa Request-Id: - - req_PrGZETRXV8WTp1 + - req_nicAf4fT9UMeXa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPtKuuB1fWySndDlDBRsD", + "id": "pm_1OrhleKuuB1fWySnZNObpOSy", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989421, + "created": 1709821074, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:02 GMT + recorded_at: Thu, 07 Mar 2024 14:17:54 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPtKuuB1fWySndDlDBRsD&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhleKuuB1fWySnZNObpOSy&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PrGZETRXV8WTp1","request_duration_ms":403}}' + - '{"last_request_metrics":{"request_id":"req_nicAf4fT9UMeXa","request_duration_ms":442}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:02 GMT + - Thu, 07 Mar 2024 14:17:54 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - abba7407-2300-4dcb-b0cd-ed8a70921fe9 + - eaa13bda-7713-4ca7-a1ec-71d085fe3e43 Original-Request: - - req_Ng7M8XbwdcLcUQ + - req_iMgEsj7MTh7I6F Request-Id: - - req_Ng7M8XbwdcLcUQ + - req_iMgEsj7MTh7I6F Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPuKuuB1fWySn0cM1j98P", + "id": "pi_3OrhleKuuB1fWySn0GgX5SSM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPuKuuB1fWySn0cM1j98P_secret_eU0pTFza6fNDZbAvBLHUAP5Ba", + "client_secret": "pi_3OrhleKuuB1fWySn0GgX5SSM_secret_yJhBcnU2Qb2axBonu34BJrqza", "confirmation_method": "automatic", - "created": 1708989422, + "created": 1709821074, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPtKuuB1fWySndDlDBRsD", + "payment_method": "pm_1OrhleKuuB1fWySnZNObpOSy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:02 GMT + recorded_at: Thu, 07 Mar 2024 14:17:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPuKuuB1fWySn0cM1j98P/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhleKuuB1fWySn0GgX5SSM/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ng7M8XbwdcLcUQ","request_duration_ms":426}}' + - '{"last_request_metrics":{"request_id":"req_iMgEsj7MTh7I6F","request_duration_ms":494}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:03 GMT + - Thu, 07 Mar 2024 14:17:56 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - eafcafe1-3702-4569-8fdd-96f99627c2be + - f72ca44b-1146-4617-91a3-cd471a2922ba Original-Request: - - req_Spk8SQxuKT48oA + - req_esMrFoMl7QS5jZ Request-Id: - - req_Spk8SQxuKT48oA + - req_esMrFoMl7QS5jZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPuKuuB1fWySn0cM1j98P", + "id": "pi_3OrhleKuuB1fWySn0GgX5SSM", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPuKuuB1fWySn0cM1j98P_secret_eU0pTFza6fNDZbAvBLHUAP5Ba", + "client_secret": "pi_3OrhleKuuB1fWySn0GgX5SSM_secret_yJhBcnU2Qb2axBonu34BJrqza", "confirmation_method": "automatic", - "created": 1708989422, + "created": 1709821074, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPuKuuB1fWySn0UIAWPl3", + "latest_charge": "ch_3OrhleKuuB1fWySn0vXbkQL9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPtKuuB1fWySndDlDBRsD", + "payment_method": "pm_1OrhleKuuB1fWySnZNObpOSy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:03 GMT + recorded_at: Thu, 07 Mar 2024 14:17:56 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPuKuuB1fWySn0cM1j98P + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhleKuuB1fWySn0GgX5SSM body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Spk8SQxuKT48oA","request_duration_ms":1010}}' + - '{"last_request_metrics":{"request_id":"req_esMrFoMl7QS5jZ","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:03 GMT + - Thu, 07 Mar 2024 14:17:56 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_VUhTIWfwzrIFyB + - req_hx0BdWeJT2XYfX Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPuKuuB1fWySn0cM1j98P", + "id": "pi_3OrhleKuuB1fWySn0GgX5SSM", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPuKuuB1fWySn0cM1j98P_secret_eU0pTFza6fNDZbAvBLHUAP5Ba", + "client_secret": "pi_3OrhleKuuB1fWySn0GgX5SSM_secret_yJhBcnU2Qb2axBonu34BJrqza", "confirmation_method": "automatic", - "created": 1708989422, + "created": 1709821074, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPuKuuB1fWySn0UIAWPl3", + "latest_charge": "ch_3OrhleKuuB1fWySn0vXbkQL9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPtKuuB1fWySndDlDBRsD", + "payment_method": "pm_1OrhleKuuB1fWySnZNObpOSy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:03 GMT + recorded_at: Thu, 07 Mar 2024 14:17:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPuKuuB1fWySn0cM1j98P/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhleKuuB1fWySn0GgX5SSM/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VUhTIWfwzrIFyB","request_duration_ms":285}}' + - '{"last_request_metrics":{"request_id":"req_hx0BdWeJT2XYfX","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:04 GMT + - Thu, 07 Mar 2024 14:17:57 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - efc84f40-7361-4b70-9af9-4fe690d85c7c + - 4206f992-86dd-4993-9c34-d3901471b776 Original-Request: - - req_tMRzvBSlH9iCaQ + - req_Hl9zQZeM5M0s5P Request-Id: - - req_tMRzvBSlH9iCaQ + - req_Hl9zQZeM5M0s5P Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPuKuuB1fWySn0cM1j98P", + "id": "pi_3OrhleKuuB1fWySn0GgX5SSM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPuKuuB1fWySn0cM1j98P_secret_eU0pTFza6fNDZbAvBLHUAP5Ba", + "client_secret": "pi_3OrhleKuuB1fWySn0GgX5SSM_secret_yJhBcnU2Qb2axBonu34BJrqza", "confirmation_method": "automatic", - "created": 1708989422, + "created": 1709821074, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPuKuuB1fWySn0UIAWPl3", + "latest_charge": "ch_3OrhleKuuB1fWySn0vXbkQL9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPtKuuB1fWySndDlDBRsD", + "payment_method": "pm_1OrhleKuuB1fWySnZNObpOSy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:04 GMT + recorded_at: Thu, 07 Mar 2024 14:17:57 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPuKuuB1fWySn0cM1j98P + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhleKuuB1fWySn0GgX5SSM body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tMRzvBSlH9iCaQ","request_duration_ms":1056}}' + - '{"last_request_metrics":{"request_id":"req_Hl9zQZeM5M0s5P","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:05 GMT + - Thu, 07 Mar 2024 14:17:57 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_rU4ebyaM4vlnhO + - req_ycOXjN6LZAPVze Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPuKuuB1fWySn0cM1j98P", + "id": "pi_3OrhleKuuB1fWySn0GgX5SSM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPuKuuB1fWySn0cM1j98P_secret_eU0pTFza6fNDZbAvBLHUAP5Ba", + "client_secret": "pi_3OrhleKuuB1fWySn0GgX5SSM_secret_yJhBcnU2Qb2axBonu34BJrqza", "confirmation_method": "automatic", - "created": 1708989422, + "created": 1709821074, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPuKuuB1fWySn0UIAWPl3", + "latest_charge": "ch_3OrhleKuuB1fWySn0vXbkQL9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPtKuuB1fWySndDlDBRsD", + "payment_method": "pm_1OrhleKuuB1fWySnZNObpOSy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:05 GMT + recorded_at: Thu, 07 Mar 2024 14:17:58 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml index d1c5dc38f6..24c69fd546 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7fzqt4GnMNoHlB","request_duration_ms":0}}' + - '{"last_request_metrics":{"request_id":"req_sopEZP0SunuuDr","request_duration_ms":1}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:00 GMT + - Thu, 07 Mar 2024 14:17:52 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - eac5de8d-3466-45b7-91d5-3cce04e18853 + - 36144864-75f6-41e9-9ce7-9b38879a27f8 Original-Request: - - req_Q8d6qd9eS8JzzS + - req_GHu23cVg1gDOtY Request-Id: - - req_Q8d6qd9eS8JzzS + - req_GHu23cVg1gDOtY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPrKuuB1fWySn9uKX6THn", + "id": "pm_1OrhlbKuuB1fWySnNHegncpp", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989420, + "created": 1709821072, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:00 GMT + recorded_at: Thu, 07 Mar 2024 14:17:52 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPrKuuB1fWySn9uKX6THn&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlbKuuB1fWySnNHegncpp&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Q8d6qd9eS8JzzS","request_duration_ms":483}}' + - '{"last_request_metrics":{"request_id":"req_GHu23cVg1gDOtY","request_duration_ms":701}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:00 GMT + - Thu, 07 Mar 2024 14:17:52 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 70237fb8-ba22-4728-944f-ac09cf4c7c02 + - e67e8cbc-de91-4cfd-b4c8-3a56c4810327 Original-Request: - - req_Six1hPDufOMeOo + - req_F2es5MTXwLS1mt Request-Id: - - req_Six1hPDufOMeOo + - req_F2es5MTXwLS1mt Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPsKuuB1fWySn1u1kWlgx", + "id": "pi_3OrhlcKuuB1fWySn1kN22KDG", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPsKuuB1fWySn1u1kWlgx_secret_aI9howHMxkGDjou2oA0BSs41T", + "client_secret": "pi_3OrhlcKuuB1fWySn1kN22KDG_secret_qrB9G1rqR24HaIbLUEvYXLdRe", "confirmation_method": "automatic", - "created": 1708989420, + "created": 1709821072, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPrKuuB1fWySn9uKX6THn", + "payment_method": "pm_1OrhlbKuuB1fWySnNHegncpp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:00 GMT + recorded_at: Thu, 07 Mar 2024 14:17:52 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPsKuuB1fWySn1u1kWlgx/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlcKuuB1fWySn1kN22KDG/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Six1hPDufOMeOo","request_duration_ms":365}}' + - '{"last_request_metrics":{"request_id":"req_F2es5MTXwLS1mt","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:01 GMT + - Thu, 07 Mar 2024 14:17:53 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ad97066b-b375-4f07-8807-8cd2e36cb902 + - 66a49d6e-f5e8-4616-a562-fdb6584b90d2 Original-Request: - - req_mbOvR5aapJ3NaO + - req_AqBfjaSd5RVG6n Request-Id: - - req_mbOvR5aapJ3NaO + - req_AqBfjaSd5RVG6n Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPsKuuB1fWySn1u1kWlgx", + "id": "pi_3OrhlcKuuB1fWySn1kN22KDG", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPsKuuB1fWySn1u1kWlgx_secret_aI9howHMxkGDjou2oA0BSs41T", + "client_secret": "pi_3OrhlcKuuB1fWySn1kN22KDG_secret_qrB9G1rqR24HaIbLUEvYXLdRe", "confirmation_method": "automatic", - "created": 1708989420, + "created": 1709821072, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPsKuuB1fWySn1TBrVmW4", + "latest_charge": "ch_3OrhlcKuuB1fWySn1xnuTjVg", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPrKuuB1fWySn9uKX6THn", + "payment_method": "pm_1OrhlbKuuB1fWySnNHegncpp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:01 GMT + recorded_at: Thu, 07 Mar 2024 14:17:53 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml index bf7c05e570..b64375b455 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Dgw7KZdptTpjUJ","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_Foz37YZQjthif1","request_duration_ms":1073}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:07 GMT + - Thu, 07 Mar 2024 14:18:01 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b1fbde25-2de2-4a61-ac8a-0f301834b64f + - c9eb8718-912f-4e38-be74-b0920aa15e4a Original-Request: - - req_pfcwyTzmeuRe1K + - req_NCwHAbX4MwBStP Request-Id: - - req_pfcwyTzmeuRe1K + - req_NCwHAbX4MwBStP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPzKuuB1fWySnTHfcHvmJ", + "id": "pm_1OrhllKuuB1fWySnqkVRldUI", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989427, + "created": 1709821081, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:07 GMT + recorded_at: Thu, 07 Mar 2024 14:18:01 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPzKuuB1fWySnTHfcHvmJ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhllKuuB1fWySnqkVRldUI&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pfcwyTzmeuRe1K","request_duration_ms":524}}' + - '{"last_request_metrics":{"request_id":"req_NCwHAbX4MwBStP","request_duration_ms":494}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:08 GMT + - Thu, 07 Mar 2024 14:18:01 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ad695fb6-2111-4f90-ac8e-ce23b6e4345f + - 50e8a972-5c04-4ebd-86a3-bafa22536f2e Original-Request: - - req_FvwAZlAKZCfj8W + - req_9duYeN5IK2UwJv Request-Id: - - req_FvwAZlAKZCfj8W + - req_9duYeN5IK2UwJv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPzKuuB1fWySn2CAHvA4g", + "id": "pi_3OrhllKuuB1fWySn1sC1ReZK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPzKuuB1fWySn2CAHvA4g_secret_0iLFI6356UJlYn0cyjwX1dZv5", + "client_secret": "pi_3OrhllKuuB1fWySn1sC1ReZK_secret_2PjqREBf56vWRq1GhFb03Wf8e", "confirmation_method": "automatic", - "created": 1708989427, + "created": 1709821081, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPzKuuB1fWySnTHfcHvmJ", + "payment_method": "pm_1OrhllKuuB1fWySnqkVRldUI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:08 GMT + recorded_at: Thu, 07 Mar 2024 14:18:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPzKuuB1fWySn2CAHvA4g/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhllKuuB1fWySn1sC1ReZK/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FvwAZlAKZCfj8W","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_9duYeN5IK2UwJv","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:09 GMT + - Thu, 07 Mar 2024 14:18:03 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0e4cf2e9-42ee-42ce-822c-5a863ecb687f + - 782d4889-1014-426e-abbd-ac3646331094 Original-Request: - - req_4BfQTarnpwMaLW + - req_3YzsYkouTjQk0K Request-Id: - - req_4BfQTarnpwMaLW + - req_3YzsYkouTjQk0K Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPzKuuB1fWySn2CAHvA4g", + "id": "pi_3OrhllKuuB1fWySn1sC1ReZK", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPzKuuB1fWySn2CAHvA4g_secret_0iLFI6356UJlYn0cyjwX1dZv5", + "client_secret": "pi_3OrhllKuuB1fWySn1sC1ReZK_secret_2PjqREBf56vWRq1GhFb03Wf8e", "confirmation_method": "automatic", - "created": 1708989427, + "created": 1709821081, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPzKuuB1fWySn2deELRUy", + "latest_charge": "ch_3OrhllKuuB1fWySn1qGZi23M", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPzKuuB1fWySnTHfcHvmJ", + "payment_method": "pm_1OrhllKuuB1fWySnqkVRldUI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:09 GMT + recorded_at: Thu, 07 Mar 2024 14:18:03 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPzKuuB1fWySn2CAHvA4g + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhllKuuB1fWySn1sC1ReZK body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4BfQTarnpwMaLW","request_duration_ms":1025}}' + - '{"last_request_metrics":{"request_id":"req_3YzsYkouTjQk0K","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:09 GMT + - Thu, 07 Mar 2024 14:18:03 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_wvJ3XApBvm5fzF + - req_pjW2CULdUTSVHa Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPzKuuB1fWySn2CAHvA4g", + "id": "pi_3OrhllKuuB1fWySn1sC1ReZK", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPzKuuB1fWySn2CAHvA4g_secret_0iLFI6356UJlYn0cyjwX1dZv5", + "client_secret": "pi_3OrhllKuuB1fWySn1sC1ReZK_secret_2PjqREBf56vWRq1GhFb03Wf8e", "confirmation_method": "automatic", - "created": 1708989427, + "created": 1709821081, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPzKuuB1fWySn2deELRUy", + "latest_charge": "ch_3OrhllKuuB1fWySn1qGZi23M", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPzKuuB1fWySnTHfcHvmJ", + "payment_method": "pm_1OrhllKuuB1fWySnqkVRldUI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:09 GMT + recorded_at: Thu, 07 Mar 2024 14:18:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPzKuuB1fWySn2CAHvA4g/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhllKuuB1fWySn1sC1ReZK/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wvJ3XApBvm5fzF","request_duration_ms":291}}' + - '{"last_request_metrics":{"request_id":"req_pjW2CULdUTSVHa","request_duration_ms":379}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:10 GMT + - Thu, 07 Mar 2024 14:18:04 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f2263d53-c5f9-43fe-9f6f-8b718e51ceba + - e6015520-5e88-45de-9abb-eed18dff3b0c Original-Request: - - req_D3bWNr9qdG54k9 + - req_7ZaetcTDSRkHkF Request-Id: - - req_D3bWNr9qdG54k9 + - req_7ZaetcTDSRkHkF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPzKuuB1fWySn2CAHvA4g", + "id": "pi_3OrhllKuuB1fWySn1sC1ReZK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPzKuuB1fWySn2CAHvA4g_secret_0iLFI6356UJlYn0cyjwX1dZv5", + "client_secret": "pi_3OrhllKuuB1fWySn1sC1ReZK_secret_2PjqREBf56vWRq1GhFb03Wf8e", "confirmation_method": "automatic", - "created": 1708989427, + "created": 1709821081, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPzKuuB1fWySn2deELRUy", + "latest_charge": "ch_3OrhllKuuB1fWySn1qGZi23M", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPzKuuB1fWySnTHfcHvmJ", + "payment_method": "pm_1OrhllKuuB1fWySnqkVRldUI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:10 GMT + recorded_at: Thu, 07 Mar 2024 14:18:04 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPzKuuB1fWySn2CAHvA4g + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhllKuuB1fWySn1sC1ReZK body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_D3bWNr9qdG54k9","request_duration_ms":1011}}' + - '{"last_request_metrics":{"request_id":"req_7ZaetcTDSRkHkF","request_duration_ms":1148}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:10 GMT + - Thu, 07 Mar 2024 14:18:04 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_MGegivwuYXdKzb + - req_gMekZBuaSoumEP Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPzKuuB1fWySn2CAHvA4g", + "id": "pi_3OrhllKuuB1fWySn1sC1ReZK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPzKuuB1fWySn2CAHvA4g_secret_0iLFI6356UJlYn0cyjwX1dZv5", + "client_secret": "pi_3OrhllKuuB1fWySn1sC1ReZK_secret_2PjqREBf56vWRq1GhFb03Wf8e", "confirmation_method": "automatic", - "created": 1708989427, + "created": 1709821081, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPzKuuB1fWySn2deELRUy", + "latest_charge": "ch_3OrhllKuuB1fWySn1qGZi23M", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPzKuuB1fWySnTHfcHvmJ", + "payment_method": "pm_1OrhllKuuB1fWySnqkVRldUI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:10 GMT + recorded_at: Thu, 07 Mar 2024 14:18:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml index cd225b039c..2018c4867c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rU4ebyaM4vlnhO","request_duration_ms":0}}' + - '{"last_request_metrics":{"request_id":"req_ycOXjN6LZAPVze","request_duration_ms":1}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:05 GMT + - Thu, 07 Mar 2024 14:17:59 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 60398349-56b5-47ac-b3c1-0495887e6f7d + - f6759e0c-f195-45a2-9dae-1791780584cd Original-Request: - - req_aeYcJCL07KO2Z4 + - req_fJ1qKSoxWn5GXZ Request-Id: - - req_aeYcJCL07KO2Z4 + - req_fJ1qKSoxWn5GXZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPxKuuB1fWySnMdSvjUFQ", + "id": "pm_1OrhliKuuB1fWySnWPRkR6u7", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989425, + "created": 1709821078, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:05 GMT + recorded_at: Thu, 07 Mar 2024 14:17:59 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPxKuuB1fWySnMdSvjUFQ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhliKuuB1fWySnWPRkR6u7&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aeYcJCL07KO2Z4","request_duration_ms":503}}' + - '{"last_request_metrics":{"request_id":"req_fJ1qKSoxWn5GXZ","request_duration_ms":640}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:06 GMT + - Thu, 07 Mar 2024 14:17:59 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 991c3917-b4d0-4aa2-8f30-928b079274fc + - 857a9db2-f7f1-4227-81bd-b0d75bf1a361 Original-Request: - - req_uHU2k4sGsnTykx + - req_V69LyuHRnEXTTf Request-Id: - - req_uHU2k4sGsnTykx + - req_V69LyuHRnEXTTf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPxKuuB1fWySn17TANAg8", + "id": "pi_3OrhljKuuB1fWySn0wanaSZh", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPxKuuB1fWySn17TANAg8_secret_ClkXoWFaSlTAmCXxXDY27wZDa", + "client_secret": "pi_3OrhljKuuB1fWySn0wanaSZh_secret_8K4QNIJJoMs5XM8uAgKbpxtZ0", "confirmation_method": "automatic", - "created": 1708989425, + "created": 1709821079, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPxKuuB1fWySnMdSvjUFQ", + "payment_method": "pm_1OrhliKuuB1fWySnWPRkR6u7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:06 GMT + recorded_at: Thu, 07 Mar 2024 14:17:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPxKuuB1fWySn17TANAg8/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhljKuuB1fWySn0wanaSZh/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uHU2k4sGsnTykx","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_V69LyuHRnEXTTf","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:07 GMT + - Thu, 07 Mar 2024 14:18:00 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4bd749cb-f3b2-458b-a904-9451e2d111a8 + - 75a94f1a-6adb-4b19-9324-62a64833d684 Original-Request: - - req_Dgw7KZdptTpjUJ + - req_Foz37YZQjthif1 Request-Id: - - req_Dgw7KZdptTpjUJ + - req_Foz37YZQjthif1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPxKuuB1fWySn17TANAg8", + "id": "pi_3OrhljKuuB1fWySn0wanaSZh", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPxKuuB1fWySn17TANAg8_secret_ClkXoWFaSlTAmCXxXDY27wZDa", + "client_secret": "pi_3OrhljKuuB1fWySn0wanaSZh_secret_8K4QNIJJoMs5XM8uAgKbpxtZ0", "confirmation_method": "automatic", - "created": 1708989425, + "created": 1709821079, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPxKuuB1fWySn1eYBY05z", + "latest_charge": "ch_3OrhljKuuB1fWySn0ZSup81T", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPxKuuB1fWySnMdSvjUFQ", + "payment_method": "pm_1OrhliKuuB1fWySnWPRkR6u7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:07 GMT + recorded_at: Thu, 07 Mar 2024 14:18:00 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml index c804150343..acbaffc9c4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TgxoSsKhk0j8XZ","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_1pZIwVQhX3RIP9","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:29 GMT + - Thu, 07 Mar 2024 14:18:27 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 85419c9e-2c59-438b-a0ad-28fb5f3a39f4 + - 3f407643-0b43-4a87-be3c-853171f159bb Original-Request: - - req_Re9kYebH2Ay4EZ + - req_E8QLm4HnjLR78G Request-Id: - - req_Re9kYebH2Ay4EZ + - req_E8QLm4HnjLR78G Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQLKuuB1fWySnq95c9ISp", + "id": "pm_1OrhmBKuuB1fWySn7yO9IDcc", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989449, + "created": 1709821107, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:29 GMT + recorded_at: Thu, 07 Mar 2024 14:18:27 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQLKuuB1fWySnq95c9ISp&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmBKuuB1fWySn7yO9IDcc&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Re9kYebH2Ay4EZ","request_duration_ms":523}}' + - '{"last_request_metrics":{"request_id":"req_E8QLm4HnjLR78G","request_duration_ms":516}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:30 GMT + - Thu, 07 Mar 2024 14:18:27 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4ae18d41-7768-4104-b3d9-9cb75d76fb5b + - 29154777-f21e-42d6-8188-fe28932aad2f Original-Request: - - req_C179piDaUIQwUC + - req_7Wyu0SPpw58Dxp Request-Id: - - req_C179piDaUIQwUC + - req_7Wyu0SPpw58Dxp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQLKuuB1fWySn0ikwHg6w", + "id": "pi_3OrhmBKuuB1fWySn1lxvJq2O", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQLKuuB1fWySn0ikwHg6w_secret_0S6XsD081s7dQwsvMqud0POS3", + "client_secret": "pi_3OrhmBKuuB1fWySn1lxvJq2O_secret_jRr63BwQHIurAkbgXv9zbKFbC", "confirmation_method": "automatic", - "created": 1708989449, + "created": 1709821107, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQLKuuB1fWySnq95c9ISp", + "payment_method": "pm_1OrhmBKuuB1fWySn7yO9IDcc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:30 GMT + recorded_at: Thu, 07 Mar 2024 14:18:28 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQLKuuB1fWySn0ikwHg6w/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmBKuuB1fWySn1lxvJq2O/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_C179piDaUIQwUC","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_7Wyu0SPpw58Dxp","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:31 GMT + - Thu, 07 Mar 2024 14:18:29 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '0960e613-a983-4540-bf98-8c4582171048' + - 32e51464-3155-483d-a4bd-a3eb12e85722 Original-Request: - - req_UtT10wfogPGKi3 + - req_ONxXNh4tX0JTdn Request-Id: - - req_UtT10wfogPGKi3 + - req_ONxXNh4tX0JTdn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQLKuuB1fWySn0ikwHg6w", + "id": "pi_3OrhmBKuuB1fWySn1lxvJq2O", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQLKuuB1fWySn0ikwHg6w_secret_0S6XsD081s7dQwsvMqud0POS3", + "client_secret": "pi_3OrhmBKuuB1fWySn1lxvJq2O_secret_jRr63BwQHIurAkbgXv9zbKFbC", "confirmation_method": "automatic", - "created": 1708989449, + "created": 1709821107, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQLKuuB1fWySn0MsSe4xK", + "latest_charge": "ch_3OrhmBKuuB1fWySn13FUw1sT", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQLKuuB1fWySnq95c9ISp", + "payment_method": "pm_1OrhmBKuuB1fWySn7yO9IDcc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:31 GMT + recorded_at: Thu, 07 Mar 2024 14:18:29 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQLKuuB1fWySn0ikwHg6w + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmBKuuB1fWySn1lxvJq2O body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UtT10wfogPGKi3","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_ONxXNh4tX0JTdn","request_duration_ms":1151}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:31 GMT + - Thu, 07 Mar 2024 14:18:29 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_JLip9zNe4oXUxk + - req_4zWu8Nm4cNECzP Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQLKuuB1fWySn0ikwHg6w", + "id": "pi_3OrhmBKuuB1fWySn1lxvJq2O", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQLKuuB1fWySn0ikwHg6w_secret_0S6XsD081s7dQwsvMqud0POS3", + "client_secret": "pi_3OrhmBKuuB1fWySn1lxvJq2O_secret_jRr63BwQHIurAkbgXv9zbKFbC", "confirmation_method": "automatic", - "created": 1708989449, + "created": 1709821107, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQLKuuB1fWySn0MsSe4xK", + "latest_charge": "ch_3OrhmBKuuB1fWySn13FUw1sT", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQLKuuB1fWySnq95c9ISp", + "payment_method": "pm_1OrhmBKuuB1fWySn7yO9IDcc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:31 GMT + recorded_at: Thu, 07 Mar 2024 14:18:29 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQLKuuB1fWySn0ikwHg6w/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmBKuuB1fWySn1lxvJq2O/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JLip9zNe4oXUxk","request_duration_ms":305}}' + - '{"last_request_metrics":{"request_id":"req_4zWu8Nm4cNECzP","request_duration_ms":377}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:32 GMT + - Thu, 07 Mar 2024 14:18:30 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 643c6452-e82c-4035-bbd5-2fd3d9eadaf6 + - a2086c76-d105-4ae3-96aa-382707cd3abe Original-Request: - - req_9EC6lC8JfTm8eU + - req_AgjQvS7wjZZQWL Request-Id: - - req_9EC6lC8JfTm8eU + - req_AgjQvS7wjZZQWL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQLKuuB1fWySn0ikwHg6w", + "id": "pi_3OrhmBKuuB1fWySn1lxvJq2O", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQLKuuB1fWySn0ikwHg6w_secret_0S6XsD081s7dQwsvMqud0POS3", + "client_secret": "pi_3OrhmBKuuB1fWySn1lxvJq2O_secret_jRr63BwQHIurAkbgXv9zbKFbC", "confirmation_method": "automatic", - "created": 1708989449, + "created": 1709821107, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQLKuuB1fWySn0MsSe4xK", + "latest_charge": "ch_3OrhmBKuuB1fWySn13FUw1sT", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQLKuuB1fWySnq95c9ISp", + "payment_method": "pm_1OrhmBKuuB1fWySn7yO9IDcc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:32 GMT + recorded_at: Thu, 07 Mar 2024 14:18:30 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQLKuuB1fWySn0ikwHg6w + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmBKuuB1fWySn1lxvJq2O body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9EC6lC8JfTm8eU","request_duration_ms":1024}}' + - '{"last_request_metrics":{"request_id":"req_AgjQvS7wjZZQWL","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:32 GMT + - Thu, 07 Mar 2024 14:18:30 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_GHcBxE2m3E4MHF + - req_Yhug3RNWG0kXWc Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQLKuuB1fWySn0ikwHg6w", + "id": "pi_3OrhmBKuuB1fWySn1lxvJq2O", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQLKuuB1fWySn0ikwHg6w_secret_0S6XsD081s7dQwsvMqud0POS3", + "client_secret": "pi_3OrhmBKuuB1fWySn1lxvJq2O_secret_jRr63BwQHIurAkbgXv9zbKFbC", "confirmation_method": "automatic", - "created": 1708989449, + "created": 1709821107, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQLKuuB1fWySn0MsSe4xK", + "latest_charge": "ch_3OrhmBKuuB1fWySn13FUw1sT", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQLKuuB1fWySnq95c9ISp", + "payment_method": "pm_1OrhmBKuuB1fWySn7yO9IDcc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:32 GMT + recorded_at: Thu, 07 Mar 2024 14:18:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml index 2850c5dbb3..1ab595d941 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5BWpnRRrXNvrhp","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_qECUG2k7cSzt0Y","request_duration_ms":318}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:27 GMT + - Thu, 07 Mar 2024 14:18:24 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 309eb341-1f8a-4791-8a5a-d6230c885b6a + - 9c08b49e-8b11-4090-a129-aad606f98243 Original-Request: - - req_w0mXmfVOsadqem + - req_4bAna5gDkxfyDF Request-Id: - - req_w0mXmfVOsadqem + - req_4bAna5gDkxfyDF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQJKuuB1fWySnuEJwCxRa", + "id": "pm_1Orhm8KuuB1fWySn9Vv6egQ8", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989447, + "created": 1709821104, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:27 GMT + recorded_at: Thu, 07 Mar 2024 14:18:25 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQJKuuB1fWySnuEJwCxRa&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Orhm8KuuB1fWySn9Vv6egQ8&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_w0mXmfVOsadqem","request_duration_ms":486}}' + - '{"last_request_metrics":{"request_id":"req_4bAna5gDkxfyDF","request_duration_ms":545}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:28 GMT + - Thu, 07 Mar 2024 14:18:25 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 065f6dd4-d011-40f2-9fd0-e1e527ee4c3b + - 4ba0ed86-f640-4e9d-8c4b-19f8cb1bd520 Original-Request: - - req_p8wvfOpGftglMi + - req_xVjZPwYcPGeGJQ Request-Id: - - req_p8wvfOpGftglMi + - req_xVjZPwYcPGeGJQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQJKuuB1fWySn1Ke8NKzQ", + "id": "pi_3Orhm9KuuB1fWySn20YQVIGn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQJKuuB1fWySn1Ke8NKzQ_secret_h5G0x5ZcTb6rizHpE9OJl1mPa", + "client_secret": "pi_3Orhm9KuuB1fWySn20YQVIGn_secret_OswvGZFEtrnSdw2UmkPrN9K5L", "confirmation_method": "automatic", - "created": 1708989447, + "created": 1709821105, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQJKuuB1fWySnuEJwCxRa", + "payment_method": "pm_1Orhm8KuuB1fWySn9Vv6egQ8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:28 GMT + recorded_at: Thu, 07 Mar 2024 14:18:25 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQJKuuB1fWySn1Ke8NKzQ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhm9KuuB1fWySn20YQVIGn/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_p8wvfOpGftglMi","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_xVjZPwYcPGeGJQ","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:29 GMT + - Thu, 07 Mar 2024 14:18:26 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '06301090-4e21-4107-9b23-f163db3a22e3' + - fe6dbc5a-3a9a-4e9d-bbbe-1a2b8ef385c5 Original-Request: - - req_TgxoSsKhk0j8XZ + - req_1pZIwVQhX3RIP9 Request-Id: - - req_TgxoSsKhk0j8XZ + - req_1pZIwVQhX3RIP9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQJKuuB1fWySn1Ke8NKzQ", + "id": "pi_3Orhm9KuuB1fWySn20YQVIGn", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQJKuuB1fWySn1Ke8NKzQ_secret_h5G0x5ZcTb6rizHpE9OJl1mPa", + "client_secret": "pi_3Orhm9KuuB1fWySn20YQVIGn_secret_OswvGZFEtrnSdw2UmkPrN9K5L", "confirmation_method": "automatic", - "created": 1708989447, + "created": 1709821105, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQJKuuB1fWySn1Qlbllmz", + "latest_charge": "ch_3Orhm9KuuB1fWySn2HvEpCvi", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQJKuuB1fWySnuEJwCxRa", + "payment_method": "pm_1Orhm8KuuB1fWySn9Vv6egQ8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:29 GMT + recorded_at: Thu, 07 Mar 2024 14:18:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml index a7c7b5b583..b4a1ceabd6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZR1qeYu35Pioas","request_duration_ms":953}}' + - '{"last_request_metrics":{"request_id":"req_TwHYc7AoKKHx9g","request_duration_ms":1101}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:34 GMT + - Thu, 07 Mar 2024 14:17:22 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 441efbcb-9e30-4b22-b4a7-bc6b372a735b + - d45afc7d-2d10-474e-976b-f31b7d06b8d6 Original-Request: - - req_TwftiiSeqelHPk + - req_ZZw9BlVtxUqQRP Request-Id: - - req_TwftiiSeqelHPk + - req_ZZw9BlVtxUqQRP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPSKuuB1fWySnnAd1efXp", + "id": "pm_1Orhl8KuuB1fWySn42vMn8ZL", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989394, + "created": 1709821042, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:34 GMT + recorded_at: Thu, 07 Mar 2024 14:17:22 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPSKuuB1fWySnnAd1efXp&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Orhl8KuuB1fWySn42vMn8ZL&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TwftiiSeqelHPk","request_duration_ms":414}}' + - '{"last_request_metrics":{"request_id":"req_ZZw9BlVtxUqQRP","request_duration_ms":497}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:35 GMT + - Thu, 07 Mar 2024 14:17:22 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f8d7f953-f874-410e-9374-c83270d599f0 + - 4fe17c23-8938-4287-b271-159415548435 Original-Request: - - req_96GXGlQgYfW0oP + - req_Q3AbL9aql7Nt4a Request-Id: - - req_96GXGlQgYfW0oP + - req_Q3AbL9aql7Nt4a Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPSKuuB1fWySn2TFqlhcl", + "id": "pi_3Orhl8KuuB1fWySn0yFxIu7N", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPSKuuB1fWySn2TFqlhcl_secret_UXZBDVcnOp2wDzeGq0uWJgLTu", + "client_secret": "pi_3Orhl8KuuB1fWySn0yFxIu7N_secret_D0xyxf0SGeriQuaNR3RUW2Rit", "confirmation_method": "automatic", - "created": 1708989394, + "created": 1709821042, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPSKuuB1fWySnnAd1efXp", + "payment_method": "pm_1Orhl8KuuB1fWySn42vMn8ZL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:35 GMT + recorded_at: Thu, 07 Mar 2024 14:17:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPSKuuB1fWySn2TFqlhcl/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl8KuuB1fWySn0yFxIu7N/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_96GXGlQgYfW0oP","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_Q3AbL9aql7Nt4a","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:36 GMT + - Thu, 07 Mar 2024 14:17:23 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 613a013a-838b-476e-9bb1-02b38ba2ea07 + - 0bea617b-e876-43ce-838d-2b54b236218a Original-Request: - - req_TYuG86cR6Zuvt9 + - req_w17vGcDxWKQXQw Request-Id: - - req_TYuG86cR6Zuvt9 + - req_w17vGcDxWKQXQw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPSKuuB1fWySn2TFqlhcl", + "id": "pi_3Orhl8KuuB1fWySn0yFxIu7N", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPSKuuB1fWySn2TFqlhcl_secret_UXZBDVcnOp2wDzeGq0uWJgLTu", + "client_secret": "pi_3Orhl8KuuB1fWySn0yFxIu7N_secret_D0xyxf0SGeriQuaNR3RUW2Rit", "confirmation_method": "automatic", - "created": 1708989394, + "created": 1709821042, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPSKuuB1fWySn2Dn9p3oI", + "latest_charge": "ch_3Orhl8KuuB1fWySn03kNEnA1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPSKuuB1fWySnnAd1efXp", + "payment_method": "pm_1Orhl8KuuB1fWySn42vMn8ZL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:36 GMT + recorded_at: Thu, 07 Mar 2024 14:17:23 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPSKuuB1fWySn2TFqlhcl + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl8KuuB1fWySn0yFxIu7N body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TYuG86cR6Zuvt9","request_duration_ms":974}}' + - '{"last_request_metrics":{"request_id":"req_w17vGcDxWKQXQw","request_duration_ms":979}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:36 GMT + - Thu, 07 Mar 2024 14:17:24 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_aPTnk76uEBlzSy + - req_fz2ZzynjKhASYt Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPSKuuB1fWySn2TFqlhcl", + "id": "pi_3Orhl8KuuB1fWySn0yFxIu7N", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPSKuuB1fWySn2TFqlhcl_secret_UXZBDVcnOp2wDzeGq0uWJgLTu", + "client_secret": "pi_3Orhl8KuuB1fWySn0yFxIu7N_secret_D0xyxf0SGeriQuaNR3RUW2Rit", "confirmation_method": "automatic", - "created": 1708989394, + "created": 1709821042, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPSKuuB1fWySn2Dn9p3oI", + "latest_charge": "ch_3Orhl8KuuB1fWySn03kNEnA1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPSKuuB1fWySnnAd1efXp", + "payment_method": "pm_1Orhl8KuuB1fWySn42vMn8ZL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:36 GMT + recorded_at: Thu, 07 Mar 2024 14:17:24 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPSKuuB1fWySn2TFqlhcl/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl8KuuB1fWySn0yFxIu7N/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aPTnk76uEBlzSy","request_duration_ms":353}}' + - '{"last_request_metrics":{"request_id":"req_fz2ZzynjKhASYt","request_duration_ms":345}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:37 GMT + - Thu, 07 Mar 2024 14:17:25 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 399ce62d-83bf-462c-a3f2-5de89de625c8 + - 24a53cd6-28ad-4162-a68e-71596cdf1ff0 Original-Request: - - req_4kp28HDHoweJG2 + - req_n9N58pMjd8XHnS Request-Id: - - req_4kp28HDHoweJG2 + - req_n9N58pMjd8XHnS Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPSKuuB1fWySn2TFqlhcl", + "id": "pi_3Orhl8KuuB1fWySn0yFxIu7N", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPSKuuB1fWySn2TFqlhcl_secret_UXZBDVcnOp2wDzeGq0uWJgLTu", + "client_secret": "pi_3Orhl8KuuB1fWySn0yFxIu7N_secret_D0xyxf0SGeriQuaNR3RUW2Rit", "confirmation_method": "automatic", - "created": 1708989394, + "created": 1709821042, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPSKuuB1fWySn2Dn9p3oI", + "latest_charge": "ch_3Orhl8KuuB1fWySn03kNEnA1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPSKuuB1fWySnnAd1efXp", + "payment_method": "pm_1Orhl8KuuB1fWySn42vMn8ZL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:37 GMT + recorded_at: Thu, 07 Mar 2024 14:17:25 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPSKuuB1fWySn2TFqlhcl + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl8KuuB1fWySn0yFxIu7N body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4kp28HDHoweJG2","request_duration_ms":924}}' + - '{"last_request_metrics":{"request_id":"req_n9N58pMjd8XHnS","request_duration_ms":1047}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:37 GMT + - Thu, 07 Mar 2024 14:17:25 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_n1gIzWXoO43DjT + - req_ElTWDPsbO4yvWK Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPSKuuB1fWySn2TFqlhcl", + "id": "pi_3Orhl8KuuB1fWySn0yFxIu7N", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPSKuuB1fWySn2TFqlhcl_secret_UXZBDVcnOp2wDzeGq0uWJgLTu", + "client_secret": "pi_3Orhl8KuuB1fWySn0yFxIu7N_secret_D0xyxf0SGeriQuaNR3RUW2Rit", "confirmation_method": "automatic", - "created": 1708989394, + "created": 1709821042, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPSKuuB1fWySn2Dn9p3oI", + "latest_charge": "ch_3Orhl8KuuB1fWySn03kNEnA1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPSKuuB1fWySnnAd1efXp", + "payment_method": "pm_1Orhl8KuuB1fWySn42vMn8ZL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:37 GMT + recorded_at: Thu, 07 Mar 2024 14:17:25 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml index ecbf3f94ac..dad3822857 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vVwW7XX2KXhG23","request_duration_ms":293}}' + - '{"last_request_metrics":{"request_id":"req_BkuzWXjgBrZ2vk","request_duration_ms":305}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:32 GMT + - Thu, 07 Mar 2024 14:17:19 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5eacb4c2-dcc6-4737-95e2-44cfd0d07780 + - b404cff6-813b-4999-bcca-1a93350839ec Original-Request: - - req_YdVSrmIrUdY8LF + - req_9S1InEl0kIRAWQ Request-Id: - - req_YdVSrmIrUdY8LF + - req_9S1InEl0kIRAWQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPQKuuB1fWySnucccmTkw", + "id": "pm_1Orhl5KuuB1fWySnhei3fpwf", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989392, + "created": 1709821039, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:32 GMT + recorded_at: Thu, 07 Mar 2024 14:17:19 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPQKuuB1fWySnucccmTkw&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Orhl5KuuB1fWySnhei3fpwf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YdVSrmIrUdY8LF","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_9S1InEl0kIRAWQ","request_duration_ms":562}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:33 GMT + - Thu, 07 Mar 2024 14:17:20 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 56e21cbe-c4ed-42cb-a092-b2ae410d4974 + - 9e342fce-f2c1-4bdb-abac-c334f61ac828 Original-Request: - - req_58XC4oGyyBKRcS + - req_pDu9eWUEWnBJBP Request-Id: - - req_58XC4oGyyBKRcS + - req_pDu9eWUEWnBJBP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPQKuuB1fWySn0Z7Cq1qg", + "id": "pi_3Orhl5KuuB1fWySn17Z3Kznp", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPQKuuB1fWySn0Z7Cq1qg_secret_1d0x7y8wSWEUkajUqBmbH5sOW", + "client_secret": "pi_3Orhl5KuuB1fWySn17Z3Kznp_secret_bIe8WxM97idjG9kyn1R8z15w3", "confirmation_method": "automatic", - "created": 1708989392, + "created": 1709821039, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPQKuuB1fWySnucccmTkw", + "payment_method": "pm_1Orhl5KuuB1fWySnhei3fpwf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:33 GMT + recorded_at: Thu, 07 Mar 2024 14:17:20 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPQKuuB1fWySn0Z7Cq1qg/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl5KuuB1fWySn17Z3Kznp/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_58XC4oGyyBKRcS","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_pDu9eWUEWnBJBP","request_duration_ms":530}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:34 GMT + - Thu, 07 Mar 2024 14:17:21 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 27399a72-c310-4702-9af4-965296cbb2bc + - 301a9da1-e1fa-4680-ac1e-0b3ce95abc05 Original-Request: - - req_ZR1qeYu35Pioas + - req_TwHYc7AoKKHx9g Request-Id: - - req_ZR1qeYu35Pioas + - req_TwHYc7AoKKHx9g Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPQKuuB1fWySn0Z7Cq1qg", + "id": "pi_3Orhl5KuuB1fWySn17Z3Kznp", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPQKuuB1fWySn0Z7Cq1qg_secret_1d0x7y8wSWEUkajUqBmbH5sOW", + "client_secret": "pi_3Orhl5KuuB1fWySn17Z3Kznp_secret_bIe8WxM97idjG9kyn1R8z15w3", "confirmation_method": "automatic", - "created": 1708989392, + "created": 1709821039, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPQKuuB1fWySn075ty1st", + "latest_charge": "ch_3Orhl5KuuB1fWySn1oDpjWcp", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPQKuuB1fWySnucccmTkw", + "payment_method": "pm_1Orhl5KuuB1fWySnhei3fpwf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:34 GMT + recorded_at: Thu, 07 Mar 2024 14:17:21 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml index 2c1b1eb27c..456ce09602 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BzM8ei0yJTrz5h","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_eXxU9FuG1Fisqa","request_duration_ms":1106}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:40 GMT + - Thu, 07 Mar 2024 14:17:28 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 15c7c64e-a78d-4dc6-880d-6a1f95c71f17 + - 428d9a4d-4a6e-4dfd-b745-d981e6b304ea Original-Request: - - req_i4CcsJFbYdhbjH + - req_qB3USaB2u9d2uh Request-Id: - - req_i4CcsJFbYdhbjH + - req_qB3USaB2u9d2uh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPXKuuB1fWySnSAbfNAEV", + "id": "pm_1OrhlEKuuB1fWySnjJ4ULDHy", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989399, + "created": 1709821048, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:40 GMT + recorded_at: Thu, 07 Mar 2024 14:17:28 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPXKuuB1fWySnSAbfNAEV&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlEKuuB1fWySnjJ4ULDHy&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_i4CcsJFbYdhbjH","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_qB3USaB2u9d2uh","request_duration_ms":530}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:40 GMT + - Thu, 07 Mar 2024 14:17:29 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 37f85ced-6546-45a5-bc51-fccffc54b519 + - 328e5bd1-d5bc-44f3-be6d-5232b4e310b3 Original-Request: - - req_pizLvA1Cfs8LZl + - req_N9L5HiHaqgsVmZ Request-Id: - - req_pizLvA1Cfs8LZl + - req_N9L5HiHaqgsVmZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPYKuuB1fWySn2D2q8fH9", + "id": "pi_3OrhlEKuuB1fWySn2GZOX9C3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPYKuuB1fWySn2D2q8fH9_secret_P6wvnVFLinAHRn6PohjMG99BJ", + "client_secret": "pi_3OrhlEKuuB1fWySn2GZOX9C3_secret_g0uFPTAJaKaONM7yyqSOjYPqg", "confirmation_method": "automatic", - "created": 1708989400, + "created": 1709821048, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPXKuuB1fWySnSAbfNAEV", + "payment_method": "pm_1OrhlEKuuB1fWySnjJ4ULDHy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:40 GMT + recorded_at: Thu, 07 Mar 2024 14:17:29 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPYKuuB1fWySn2D2q8fH9/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlEKuuB1fWySn2GZOX9C3/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pizLvA1Cfs8LZl","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_N9L5HiHaqgsVmZ","request_duration_ms":476}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:41 GMT + - Thu, 07 Mar 2024 14:17:30 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2a5e70ce-d411-4476-a09e-5526ac3cb7d6 + - 8afdb0f1-8a51-49a5-9b7f-2f80008814c6 Original-Request: - - req_jsNbIkmubWFGA5 + - req_Kf3nT7dbXUfeNI Request-Id: - - req_jsNbIkmubWFGA5 + - req_Kf3nT7dbXUfeNI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPYKuuB1fWySn2D2q8fH9", + "id": "pi_3OrhlEKuuB1fWySn2GZOX9C3", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPYKuuB1fWySn2D2q8fH9_secret_P6wvnVFLinAHRn6PohjMG99BJ", + "client_secret": "pi_3OrhlEKuuB1fWySn2GZOX9C3_secret_g0uFPTAJaKaONM7yyqSOjYPqg", "confirmation_method": "automatic", - "created": 1708989400, + "created": 1709821048, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPYKuuB1fWySn2xUqwOYn", + "latest_charge": "ch_3OrhlEKuuB1fWySn2o7COmWr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPXKuuB1fWySnSAbfNAEV", + "payment_method": "pm_1OrhlEKuuB1fWySnjJ4ULDHy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:41 GMT + recorded_at: Thu, 07 Mar 2024 14:17:30 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPYKuuB1fWySn2D2q8fH9 + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlEKuuB1fWySn2GZOX9C3 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jsNbIkmubWFGA5","request_duration_ms":818}}' + - '{"last_request_metrics":{"request_id":"req_Kf3nT7dbXUfeNI","request_duration_ms":1118}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:41 GMT + - Thu, 07 Mar 2024 14:17:30 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_sGkOJJ0js6QRKj + - req_hugGffecaAg9n0 Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPYKuuB1fWySn2D2q8fH9", + "id": "pi_3OrhlEKuuB1fWySn2GZOX9C3", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPYKuuB1fWySn2D2q8fH9_secret_P6wvnVFLinAHRn6PohjMG99BJ", + "client_secret": "pi_3OrhlEKuuB1fWySn2GZOX9C3_secret_g0uFPTAJaKaONM7yyqSOjYPqg", "confirmation_method": "automatic", - "created": 1708989400, + "created": 1709821048, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPYKuuB1fWySn2xUqwOYn", + "latest_charge": "ch_3OrhlEKuuB1fWySn2o7COmWr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPXKuuB1fWySnSAbfNAEV", + "payment_method": "pm_1OrhlEKuuB1fWySnjJ4ULDHy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:41 GMT + recorded_at: Thu, 07 Mar 2024 14:17:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPYKuuB1fWySn2D2q8fH9/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlEKuuB1fWySn2GZOX9C3/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sGkOJJ0js6QRKj","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_hugGffecaAg9n0","request_duration_ms":338}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:42 GMT + - Thu, 07 Mar 2024 14:17:31 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 41c3f090-66a2-43c1-8a95-9a63cb7a4dfd + - 633081a2-3a2c-43af-984b-0c9ced065364 Original-Request: - - req_Xroi1sMBBFrLwT + - req_kYTcIJSQRgxWDe Request-Id: - - req_Xroi1sMBBFrLwT + - req_kYTcIJSQRgxWDe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPYKuuB1fWySn2D2q8fH9", + "id": "pi_3OrhlEKuuB1fWySn2GZOX9C3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPYKuuB1fWySn2D2q8fH9_secret_P6wvnVFLinAHRn6PohjMG99BJ", + "client_secret": "pi_3OrhlEKuuB1fWySn2GZOX9C3_secret_g0uFPTAJaKaONM7yyqSOjYPqg", "confirmation_method": "automatic", - "created": 1708989400, + "created": 1709821048, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPYKuuB1fWySn2xUqwOYn", + "latest_charge": "ch_3OrhlEKuuB1fWySn2o7COmWr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPXKuuB1fWySnSAbfNAEV", + "payment_method": "pm_1OrhlEKuuB1fWySnjJ4ULDHy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:42 GMT + recorded_at: Thu, 07 Mar 2024 14:17:31 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPYKuuB1fWySn2D2q8fH9 + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlEKuuB1fWySn2GZOX9C3 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Xroi1sMBBFrLwT","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_kYTcIJSQRgxWDe","request_duration_ms":1063}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:43 GMT + - Thu, 07 Mar 2024 14:17:32 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_oONEtOz4iEp6nq + - req_TADxO7VqeY8jW7 Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPYKuuB1fWySn2D2q8fH9", + "id": "pi_3OrhlEKuuB1fWySn2GZOX9C3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPYKuuB1fWySn2D2q8fH9_secret_P6wvnVFLinAHRn6PohjMG99BJ", + "client_secret": "pi_3OrhlEKuuB1fWySn2GZOX9C3_secret_g0uFPTAJaKaONM7yyqSOjYPqg", "confirmation_method": "automatic", - "created": 1708989400, + "created": 1709821048, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPYKuuB1fWySn2xUqwOYn", + "latest_charge": "ch_3OrhlEKuuB1fWySn2o7COmWr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPXKuuB1fWySnSAbfNAEV", + "payment_method": "pm_1OrhlEKuuB1fWySnjJ4ULDHy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:43 GMT + recorded_at: Thu, 07 Mar 2024 14:17:32 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml index c80a27d548..d683db6e5c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_n1gIzWXoO43DjT","request_duration_ms":283}}' + - '{"last_request_metrics":{"request_id":"req_ElTWDPsbO4yvWK","request_duration_ms":383}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:38 GMT + - Thu, 07 Mar 2024 14:17:26 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 304a8506-d0c2-453f-937e-2ca516088bd2 + - fdb68216-a942-46cd-91dc-be363a6e52ad Original-Request: - - req_uGjd8T6lXh9u0j + - req_ejWEHwOIDHK6fq Request-Id: - - req_uGjd8T6lXh9u0j + - req_ejWEHwOIDHK6fq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPVKuuB1fWySnKFX5meGy", + "id": "pm_1OrhlBKuuB1fWySnrC865Ivd", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989398, + "created": 1709821046, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:38 GMT + recorded_at: Thu, 07 Mar 2024 14:17:26 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPVKuuB1fWySnKFX5meGy&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlBKuuB1fWySnrC865Ivd&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uGjd8T6lXh9u0j","request_duration_ms":388}}' + - '{"last_request_metrics":{"request_id":"req_ejWEHwOIDHK6fq","request_duration_ms":459}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:38 GMT + - Thu, 07 Mar 2024 14:17:26 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fcba5caf-0498-4adc-a488-f9c0c6f43f89 + - bb17bfdd-d46f-4ad2-82d8-10d994537f67 Original-Request: - - req_aFlAGw0G16YlPI + - req_mAw7zRp3Da6sgi Request-Id: - - req_aFlAGw0G16YlPI + - req_mAw7zRp3Da6sgi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPWKuuB1fWySn0MqV0k6j", + "id": "pi_3OrhlCKuuB1fWySn2kgj0Z89", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPWKuuB1fWySn0MqV0k6j_secret_RriGL4qnVDaNlu9iOiGVQNluf", + "client_secret": "pi_3OrhlCKuuB1fWySn2kgj0Z89_secret_LJsbALfsVZVSfjWT5PZij9sLm", "confirmation_method": "automatic", - "created": 1708989398, + "created": 1709821046, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPVKuuB1fWySnKFX5meGy", + "payment_method": "pm_1OrhlBKuuB1fWySnrC865Ivd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:38 GMT + recorded_at: Thu, 07 Mar 2024 14:17:26 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPWKuuB1fWySn0MqV0k6j/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlCKuuB1fWySn2kgj0Z89/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aFlAGw0G16YlPI","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_mAw7zRp3Da6sgi","request_duration_ms":421}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:39 GMT + - Thu, 07 Mar 2024 14:17:27 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 82364cf8-345f-4eb2-990c-a41bf6b0f8f2 + - 1b3bdd0e-03de-4b33-a3da-df749f1e7a6a Original-Request: - - req_BzM8ei0yJTrz5h + - req_eXxU9FuG1Fisqa Request-Id: - - req_BzM8ei0yJTrz5h + - req_eXxU9FuG1Fisqa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPWKuuB1fWySn0MqV0k6j", + "id": "pi_3OrhlCKuuB1fWySn2kgj0Z89", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPWKuuB1fWySn0MqV0k6j_secret_RriGL4qnVDaNlu9iOiGVQNluf", + "client_secret": "pi_3OrhlCKuuB1fWySn2kgj0Z89_secret_LJsbALfsVZVSfjWT5PZij9sLm", "confirmation_method": "automatic", - "created": 1708989398, + "created": 1709821046, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPWKuuB1fWySn0Z1ehcXe", + "latest_charge": "ch_3OrhlCKuuB1fWySn2CORAAmh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPVKuuB1fWySnKFX5meGy", + "payment_method": "pm_1OrhlBKuuB1fWySnrC865Ivd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:39 GMT + recorded_at: Thu, 07 Mar 2024 14:17:27 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml index 0907afedad..a634ed55b7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pQyoKr6Sl5jbvT","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_PTSuuf1gWHLiWn","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:45 GMT + - Thu, 07 Mar 2024 14:17:35 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3e2f9bcf-7883-43c9-878d-1ae925aba257 + - da7a2516-a4e8-401c-8bd1-1a4ba77f6f6a Original-Request: - - req_8wmcFrEvGGiqxV + - req_V13Sx2kCKDnGEt Request-Id: - - req_8wmcFrEvGGiqxV + - req_V13Sx2kCKDnGEt Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPdKuuB1fWySnjADDDGAC", + "id": "pm_1OrhlKKuuB1fWySn50Jg9vbA", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989405, + "created": 1709821054, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:45 GMT + recorded_at: Thu, 07 Mar 2024 14:17:35 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPdKuuB1fWySnjADDDGAC&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlKKuuB1fWySn50Jg9vbA&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8wmcFrEvGGiqxV","request_duration_ms":519}}' + - '{"last_request_metrics":{"request_id":"req_V13Sx2kCKDnGEt","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:46 GMT + - Thu, 07 Mar 2024 14:17:35 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b980c1bc-c31c-486f-9b66-de6760da5e43 + - ba2b9443-22b0-46e1-bf27-1b4f001e050c Original-Request: - - req_o8c7cn3GPA2U22 + - req_hU1cwbcA9vmpn5 Request-Id: - - req_o8c7cn3GPA2U22 + - req_hU1cwbcA9vmpn5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPdKuuB1fWySn1ZJUGJCE", + "id": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPdKuuB1fWySn1ZJUGJCE_secret_quydSXPeZY3G6plw8pI1KFSLX", + "client_secret": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c_secret_vna4iH75Pmx6LVEnshLMSyOHR", "confirmation_method": "automatic", - "created": 1708989405, + "created": 1709821055, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPdKuuB1fWySnjADDDGAC", + "payment_method": "pm_1OrhlKKuuB1fWySn50Jg9vbA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:46 GMT + recorded_at: Thu, 07 Mar 2024 14:17:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPdKuuB1fWySn1ZJUGJCE/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlLKuuB1fWySn2Q1DgZ1c/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_o8c7cn3GPA2U22","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_hU1cwbcA9vmpn5","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:47 GMT + - Thu, 07 Mar 2024 14:17:36 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 54fdaedd-7cab-4562-aaf2-62d5adfd7413 + - e68949fd-fa58-45e4-bdf5-6f3c91bf774d Original-Request: - - req_MVjUWNNpvkTqQM + - req_TuulQkfq4KSLwU Request-Id: - - req_MVjUWNNpvkTqQM + - req_TuulQkfq4KSLwU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPdKuuB1fWySn1ZJUGJCE", + "id": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPdKuuB1fWySn1ZJUGJCE_secret_quydSXPeZY3G6plw8pI1KFSLX", + "client_secret": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c_secret_vna4iH75Pmx6LVEnshLMSyOHR", "confirmation_method": "automatic", - "created": 1708989405, + "created": 1709821055, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPdKuuB1fWySn1lxmi6kd", + "latest_charge": "ch_3OrhlLKuuB1fWySn2ambXAN2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPdKuuB1fWySnjADDDGAC", + "payment_method": "pm_1OrhlKKuuB1fWySn50Jg9vbA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:47 GMT + recorded_at: Thu, 07 Mar 2024 14:17:36 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPdKuuB1fWySn1ZJUGJCE + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlLKuuB1fWySn2Q1DgZ1c body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MVjUWNNpvkTqQM","request_duration_ms":1054}}' + - '{"last_request_metrics":{"request_id":"req_TuulQkfq4KSLwU","request_duration_ms":1019}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:47 GMT + - Thu, 07 Mar 2024 14:17:36 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_y1orjyGC5nZQLL + - req_xPUCWYMwEcnoJA Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPdKuuB1fWySn1ZJUGJCE", + "id": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPdKuuB1fWySn1ZJUGJCE_secret_quydSXPeZY3G6plw8pI1KFSLX", + "client_secret": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c_secret_vna4iH75Pmx6LVEnshLMSyOHR", "confirmation_method": "automatic", - "created": 1708989405, + "created": 1709821055, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPdKuuB1fWySn1lxmi6kd", + "latest_charge": "ch_3OrhlLKuuB1fWySn2ambXAN2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPdKuuB1fWySnjADDDGAC", + "payment_method": "pm_1OrhlKKuuB1fWySn50Jg9vbA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:47 GMT + recorded_at: Thu, 07 Mar 2024 14:17:37 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPdKuuB1fWySn1ZJUGJCE/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlLKuuB1fWySn2Q1DgZ1c/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_y1orjyGC5nZQLL","request_duration_ms":378}}' + - '{"last_request_metrics":{"request_id":"req_xPUCWYMwEcnoJA","request_duration_ms":353}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:48 GMT + - Thu, 07 Mar 2024 14:17:38 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 23dd61ea-6d1a-438a-992c-fda73bc85cb9 + - cdf8a700-00b5-497f-8788-30c48e9a43e3 Original-Request: - - req_abK08zuQAQDoos + - req_4N9C6CpHzEdQhH Request-Id: - - req_abK08zuQAQDoos + - req_4N9C6CpHzEdQhH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPdKuuB1fWySn1ZJUGJCE", + "id": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPdKuuB1fWySn1ZJUGJCE_secret_quydSXPeZY3G6plw8pI1KFSLX", + "client_secret": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c_secret_vna4iH75Pmx6LVEnshLMSyOHR", "confirmation_method": "automatic", - "created": 1708989405, + "created": 1709821055, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPdKuuB1fWySn1lxmi6kd", + "latest_charge": "ch_3OrhlLKuuB1fWySn2ambXAN2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPdKuuB1fWySnjADDDGAC", + "payment_method": "pm_1OrhlKKuuB1fWySn50Jg9vbA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:48 GMT + recorded_at: Thu, 07 Mar 2024 14:17:38 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPdKuuB1fWySn1ZJUGJCE + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlLKuuB1fWySn2Q1DgZ1c body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_abK08zuQAQDoos","request_duration_ms":1024}}' + - '{"last_request_metrics":{"request_id":"req_4N9C6CpHzEdQhH","request_duration_ms":1072}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:48 GMT + - Thu, 07 Mar 2024 14:17:38 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_b6xyXuz2ZK9VRi + - req_cle2iWDqkch49Q Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPdKuuB1fWySn1ZJUGJCE", + "id": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPdKuuB1fWySn1ZJUGJCE_secret_quydSXPeZY3G6plw8pI1KFSLX", + "client_secret": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c_secret_vna4iH75Pmx6LVEnshLMSyOHR", "confirmation_method": "automatic", - "created": 1708989405, + "created": 1709821055, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPdKuuB1fWySn1lxmi6kd", + "latest_charge": "ch_3OrhlLKuuB1fWySn2ambXAN2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPdKuuB1fWySnjADDDGAC", + "payment_method": "pm_1OrhlKKuuB1fWySn50Jg9vbA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:48 GMT + recorded_at: Thu, 07 Mar 2024 14:17:38 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml index 6e123b7db5..ece32921d4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oONEtOz4iEp6nq","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_TADxO7VqeY8jW7","request_duration_ms":363}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:43 GMT + - Thu, 07 Mar 2024 14:17:32 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cd3f305d-fd9c-4c85-b82f-5a16b6ce941e + - 26606670-de4b-40f1-9d0b-790a8d33e369 Original-Request: - - req_S4OB1hM5IqHVeG + - req_7FsZGOEqNi0UJO Request-Id: - - req_S4OB1hM5IqHVeG + - req_7FsZGOEqNi0UJO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPbKuuB1fWySnWPBYcl8R", + "id": "pm_1OrhlIKuuB1fWySn0qU1eG0Z", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989403, + "created": 1709821052, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:43 GMT + recorded_at: Thu, 07 Mar 2024 14:17:32 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPbKuuB1fWySnWPBYcl8R&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlIKuuB1fWySn0qU1eG0Z&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_S4OB1hM5IqHVeG","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_7FsZGOEqNi0UJO","request_duration_ms":562}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:44 GMT + - Thu, 07 Mar 2024 14:17:33 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 72ee4397-d437-4cfd-8c5a-5fd26760afa3 + - a5235802-aeaa-47c6-9cf2-38d7e01f62a6 Original-Request: - - req_3SQfb8rCSkxLiE + - req_fLl7psVo4zdqrx Request-Id: - - req_3SQfb8rCSkxLiE + - req_fLl7psVo4zdqrx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPbKuuB1fWySn2Qp5A2pZ", + "id": "pi_3OrhlIKuuB1fWySn13YypE10", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPbKuuB1fWySn2Qp5A2pZ_secret_FGAEfpVDMFUmqKVVjavs5GeYj", + "client_secret": "pi_3OrhlIKuuB1fWySn13YypE10_secret_ru9DgWL6FrtYjI9vG8ucnAg5u", "confirmation_method": "automatic", - "created": 1708989403, + "created": 1709821052, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPbKuuB1fWySnWPBYcl8R", + "payment_method": "pm_1OrhlIKuuB1fWySn0qU1eG0Z", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:44 GMT + recorded_at: Thu, 07 Mar 2024 14:17:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPbKuuB1fWySn2Qp5A2pZ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlIKuuB1fWySn13YypE10/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3SQfb8rCSkxLiE","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_fLl7psVo4zdqrx","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:45 GMT + - Thu, 07 Mar 2024 14:17:34 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - dc473352-cabc-48b8-bddf-b1e8d574ec72 + - 48a41088-c487-43c1-87f5-795d936c0fa0 Original-Request: - - req_pQyoKr6Sl5jbvT + - req_PTSuuf1gWHLiWn Request-Id: - - req_pQyoKr6Sl5jbvT + - req_PTSuuf1gWHLiWn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPbKuuB1fWySn2Qp5A2pZ", + "id": "pi_3OrhlIKuuB1fWySn13YypE10", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPbKuuB1fWySn2Qp5A2pZ_secret_FGAEfpVDMFUmqKVVjavs5GeYj", + "client_secret": "pi_3OrhlIKuuB1fWySn13YypE10_secret_ru9DgWL6FrtYjI9vG8ucnAg5u", "confirmation_method": "automatic", - "created": 1708989403, + "created": 1709821052, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPbKuuB1fWySn2m7f4dA0", + "latest_charge": "ch_3OrhlIKuuB1fWySn111CL1CE", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPbKuuB1fWySnWPBYcl8R", + "payment_method": "pm_1OrhlIKuuB1fWySn0qU1eG0Z", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:45 GMT + recorded_at: Thu, 07 Mar 2024 14:17:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml index 7155c33406..229a17893e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RGtuoeBObjywXw","request_duration_ms":915}}' + - '{"last_request_metrics":{"request_id":"req_nIFIA9Iywum43G","request_duration_ms":1084}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:51 GMT + - Thu, 07 Mar 2024 14:17:41 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 99e49ab9-d058-4701-990d-28eeef72deb6 + - 11ed79f2-6b4d-44ae-9940-dc05900422f1 Original-Request: - - req_bA8DYVK0Igdfqu + - req_irDUKxRaetk2yX Request-Id: - - req_bA8DYVK0Igdfqu + - req_irDUKxRaetk2yX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPiKuuB1fWySn09aaTtym", + "id": "pm_1OrhlRKuuB1fWySne5J1llnl", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989411, + "created": 1709821061, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:51 GMT + recorded_at: Thu, 07 Mar 2024 14:17:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPiKuuB1fWySn09aaTtym&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlRKuuB1fWySne5J1llnl&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bA8DYVK0Igdfqu","request_duration_ms":425}}' + - '{"last_request_metrics":{"request_id":"req_irDUKxRaetk2yX","request_duration_ms":513}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:51 GMT + - Thu, 07 Mar 2024 14:17:41 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 675f2046-5a0d-43ab-8b4e-512225012f72 + - 77f75a88-6d46-4990-92d8-50435dd0f9a7 Original-Request: - - req_1paLdH5NFgkBCV + - req_AUFpg3cfxneSas Request-Id: - - req_1paLdH5NFgkBCV + - req_AUFpg3cfxneSas Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPjKuuB1fWySn0YzflOmY", + "id": "pi_3OrhlRKuuB1fWySn1D8sFtBi", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPjKuuB1fWySn0YzflOmY_secret_xRDKXXqUMQGEp140IeBBcuOSI", + "client_secret": "pi_3OrhlRKuuB1fWySn1D8sFtBi_secret_xvENL35W1Ai6f8pqnOcOyIyYM", "confirmation_method": "automatic", - "created": 1708989411, + "created": 1709821061, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPiKuuB1fWySn09aaTtym", + "payment_method": "pm_1OrhlRKuuB1fWySne5J1llnl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:51 GMT + recorded_at: Thu, 07 Mar 2024 14:17:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPjKuuB1fWySn0YzflOmY/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlRKuuB1fWySn1D8sFtBi/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1paLdH5NFgkBCV","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_AUFpg3cfxneSas","request_duration_ms":415}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:52 GMT + - Thu, 07 Mar 2024 14:17:43 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b62a0dd2-8757-4eb2-92df-408216e983a1 + - 5bf9007d-9e47-4674-870f-a86d8c6d7703 Original-Request: - - req_LEDnV0isajkGjj + - req_N6HYhnWhoCrv4R Request-Id: - - req_LEDnV0isajkGjj + - req_N6HYhnWhoCrv4R Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPjKuuB1fWySn0YzflOmY", + "id": "pi_3OrhlRKuuB1fWySn1D8sFtBi", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPjKuuB1fWySn0YzflOmY_secret_xRDKXXqUMQGEp140IeBBcuOSI", + "client_secret": "pi_3OrhlRKuuB1fWySn1D8sFtBi_secret_xvENL35W1Ai6f8pqnOcOyIyYM", "confirmation_method": "automatic", - "created": 1708989411, + "created": 1709821061, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPjKuuB1fWySn0zzkbKw5", + "latest_charge": "ch_3OrhlRKuuB1fWySn1fyK75HM", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPiKuuB1fWySn09aaTtym", + "payment_method": "pm_1OrhlRKuuB1fWySne5J1llnl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:52 GMT + recorded_at: Thu, 07 Mar 2024 14:17:43 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPjKuuB1fWySn0YzflOmY + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlRKuuB1fWySn1D8sFtBi body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LEDnV0isajkGjj","request_duration_ms":922}}' + - '{"last_request_metrics":{"request_id":"req_N6HYhnWhoCrv4R","request_duration_ms":1018}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:52 GMT + - Thu, 07 Mar 2024 14:17:43 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_wmGEmSsqvfEMAh + - req_miO7Gw9zUrtaL6 Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPjKuuB1fWySn0YzflOmY", + "id": "pi_3OrhlRKuuB1fWySn1D8sFtBi", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPjKuuB1fWySn0YzflOmY_secret_xRDKXXqUMQGEp140IeBBcuOSI", + "client_secret": "pi_3OrhlRKuuB1fWySn1D8sFtBi_secret_xvENL35W1Ai6f8pqnOcOyIyYM", "confirmation_method": "automatic", - "created": 1708989411, + "created": 1709821061, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPjKuuB1fWySn0zzkbKw5", + "latest_charge": "ch_3OrhlRKuuB1fWySn1fyK75HM", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPiKuuB1fWySn09aaTtym", + "payment_method": "pm_1OrhlRKuuB1fWySne5J1llnl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:52 GMT + recorded_at: Thu, 07 Mar 2024 14:17:43 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPjKuuB1fWySn0YzflOmY/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlRKuuB1fWySn1D8sFtBi/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wmGEmSsqvfEMAh","request_duration_ms":272}}' + - '{"last_request_metrics":{"request_id":"req_miO7Gw9zUrtaL6","request_duration_ms":290}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:53 GMT + - Thu, 07 Mar 2024 14:17:44 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 91309133-1662-4a33-8620-d64fc0b54352 + - 373bfcd7-f19c-4b47-8754-df48cce30ce0 Original-Request: - - req_9YxhO7PIcIX0EC + - req_9B54LJfQnizecD Request-Id: - - req_9YxhO7PIcIX0EC + - req_9B54LJfQnizecD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPjKuuB1fWySn0YzflOmY", + "id": "pi_3OrhlRKuuB1fWySn1D8sFtBi", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPjKuuB1fWySn0YzflOmY_secret_xRDKXXqUMQGEp140IeBBcuOSI", + "client_secret": "pi_3OrhlRKuuB1fWySn1D8sFtBi_secret_xvENL35W1Ai6f8pqnOcOyIyYM", "confirmation_method": "automatic", - "created": 1708989411, + "created": 1709821061, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPjKuuB1fWySn0zzkbKw5", + "latest_charge": "ch_3OrhlRKuuB1fWySn1fyK75HM", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPiKuuB1fWySn09aaTtym", + "payment_method": "pm_1OrhlRKuuB1fWySne5J1llnl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:53 GMT + recorded_at: Thu, 07 Mar 2024 14:17:44 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPjKuuB1fWySn0YzflOmY + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlRKuuB1fWySn1D8sFtBi body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9YxhO7PIcIX0EC","request_duration_ms":1055}}' + - '{"last_request_metrics":{"request_id":"req_9B54LJfQnizecD","request_duration_ms":1131}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:54 GMT + - Thu, 07 Mar 2024 14:17:44 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_EriVaYg2xAZ3G9 + - req_OlSFbckyuMDohr Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPjKuuB1fWySn0YzflOmY", + "id": "pi_3OrhlRKuuB1fWySn1D8sFtBi", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPjKuuB1fWySn0YzflOmY_secret_xRDKXXqUMQGEp140IeBBcuOSI", + "client_secret": "pi_3OrhlRKuuB1fWySn1D8sFtBi_secret_xvENL35W1Ai6f8pqnOcOyIyYM", "confirmation_method": "automatic", - "created": 1708989411, + "created": 1709821061, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPjKuuB1fWySn0zzkbKw5", + "latest_charge": "ch_3OrhlRKuuB1fWySn1fyK75HM", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPiKuuB1fWySn09aaTtym", + "payment_method": "pm_1OrhlRKuuB1fWySne5J1llnl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:54 GMT + recorded_at: Thu, 07 Mar 2024 14:17:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml index 524cc9b8f2..ff1fc15e0d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_b6xyXuz2ZK9VRi","request_duration_ms":303}}' + - '{"last_request_metrics":{"request_id":"req_cle2iWDqkch49Q","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:49 GMT + - Thu, 07 Mar 2024 14:17:39 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4a6d7836-436e-4d97-a1f1-34683242f037 + - 2f964718-6d2e-4930-947c-d08de57aa62d Original-Request: - - req_TOcSJ9TZsvAkYT + - req_vUdRgcbTzAW3zF Request-Id: - - req_TOcSJ9TZsvAkYT + - req_vUdRgcbTzAW3zF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPhKuuB1fWySnAhX5quN2", + "id": "pm_1OrhlOKuuB1fWySnas6Ls5v5", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989409, + "created": 1709821058, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:49 GMT + recorded_at: Thu, 07 Mar 2024 14:17:39 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPhKuuB1fWySnAhX5quN2&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhlOKuuB1fWySnas6Ls5v5&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TOcSJ9TZsvAkYT","request_duration_ms":430}}' + - '{"last_request_metrics":{"request_id":"req_vUdRgcbTzAW3zF","request_duration_ms":564}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:49 GMT + - Thu, 07 Mar 2024 14:17:39 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d409b3ac-9a97-452a-9e9a-906d8b7de764 + - 1c2bee11-3f4f-455a-a970-8e96c03cf638 Original-Request: - - req_RHgISugnn7KHNC + - req_BS88Kure7gUAOS Request-Id: - - req_RHgISugnn7KHNC + - req_BS88Kure7gUAOS Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPhKuuB1fWySn2PSVEvef", + "id": "pi_3OrhlPKuuB1fWySn0YOEwANV", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPhKuuB1fWySn2PSVEvef_secret_w8FV1bmg0bwvcYnBOm4btcdHU", + "client_secret": "pi_3OrhlPKuuB1fWySn0YOEwANV_secret_d7qqjyS5IODK7fV7nQ64xyS6Q", "confirmation_method": "automatic", - "created": 1708989409, + "created": 1709821059, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPhKuuB1fWySnAhX5quN2", + "payment_method": "pm_1OrhlOKuuB1fWySnas6Ls5v5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:49 GMT + recorded_at: Thu, 07 Mar 2024 14:17:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPhKuuB1fWySn2PSVEvef/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlPKuuB1fWySn0YOEwANV/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RHgISugnn7KHNC","request_duration_ms":382}}' + - '{"last_request_metrics":{"request_id":"req_BS88Kure7gUAOS","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:50 GMT + - Thu, 07 Mar 2024 14:17:40 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 483ccfdb-5177-4d9d-9430-d993d0a536a1 + - bc24eb29-d9f0-4dde-aff7-403bdf4fa502 Original-Request: - - req_RGtuoeBObjywXw + - req_nIFIA9Iywum43G Request-Id: - - req_RGtuoeBObjywXw + - req_nIFIA9Iywum43G Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPhKuuB1fWySn2PSVEvef", + "id": "pi_3OrhlPKuuB1fWySn0YOEwANV", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPhKuuB1fWySn2PSVEvef_secret_w8FV1bmg0bwvcYnBOm4btcdHU", + "client_secret": "pi_3OrhlPKuuB1fWySn0YOEwANV_secret_d7qqjyS5IODK7fV7nQ64xyS6Q", "confirmation_method": "automatic", - "created": 1708989409, + "created": 1709821059, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPhKuuB1fWySn2hmSe1a2", + "latest_charge": "ch_3OrhlPKuuB1fWySn0E3fLdHR", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPhKuuB1fWySnAhX5quN2", + "payment_method": "pm_1OrhlOKuuB1fWySnas6Ls5v5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:50 GMT + recorded_at: Thu, 07 Mar 2024 14:17:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml index 1af07e1a43..9c702b1215 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZAU0CuJ5mJL0Pj","request_duration_ms":900}}' + - '{"last_request_metrics":{"request_id":"req_PQovC5lY8xLMNv","request_duration_ms":928}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:35 GMT + - Thu, 07 Mar 2024 14:18:33 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c2103a30-6836-43b4-98a1-7d65cd0606fd + - b66f0719-2294-405b-ba29-74f0dc5c2793 Original-Request: - - req_HvH87iIkUZP3e4 + - req_Q9wi5c1ijxPYR6 Request-Id: - - req_HvH87iIkUZP3e4 + - req_Q9wi5c1ijxPYR6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQQKuuB1fWySn4oaD0esu", + "id": "pm_1OrhmHKuuB1fWySnUlqShBYy", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989454, + "created": 1709821113, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:35 GMT + recorded_at: Thu, 07 Mar 2024 14:18:33 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQQKuuB1fWySn4oaD0esu&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmHKuuB1fWySnUlqShBYy&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HvH87iIkUZP3e4","request_duration_ms":445}}' + - '{"last_request_metrics":{"request_id":"req_Q9wi5c1ijxPYR6","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:35 GMT + - Thu, 07 Mar 2024 14:18:34 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c8769968-ba63-4c3d-9d41-e726d7a56eec + - 8aad26f2-8c83-4bf5-8c0a-44423568fce8 Original-Request: - - req_am8z9EZq9rv2e8 + - req_t0rJpNzdC8skxS Request-Id: - - req_am8z9EZq9rv2e8 + - req_t0rJpNzdC8skxS Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQRKuuB1fWySn2wmf5ki5", + "id": "pi_3OrhmIKuuB1fWySn1C6u0Mnr", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQRKuuB1fWySn2wmf5ki5_secret_tJqf1vGvoQFusKtRMx4dg148J", + "client_secret": "pi_3OrhmIKuuB1fWySn1C6u0Mnr_secret_IlygKyPDLbNnHGVJFGyu2rUZg", "confirmation_method": "automatic", - "created": 1708989455, + "created": 1709821114, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQQKuuB1fWySn4oaD0esu", + "payment_method": "pm_1OrhmHKuuB1fWySnUlqShBYy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:35 GMT + recorded_at: Thu, 07 Mar 2024 14:18:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQRKuuB1fWySn2wmf5ki5/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmIKuuB1fWySn1C6u0Mnr/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_am8z9EZq9rv2e8","request_duration_ms":386}}' + - '{"last_request_metrics":{"request_id":"req_t0rJpNzdC8skxS","request_duration_ms":486}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:36 GMT + - Thu, 07 Mar 2024 14:18:35 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 66e9fe73-bc6a-4bf0-be50-eb016a8beb7e + - 399db452-b8b7-4482-ada2-88f685224969 Original-Request: - - req_0vzRq6N7iR0nsR + - req_mk1l1Fnv3v0VOd Request-Id: - - req_0vzRq6N7iR0nsR + - req_mk1l1Fnv3v0VOd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQRKuuB1fWySn2wmf5ki5", + "id": "pi_3OrhmIKuuB1fWySn1C6u0Mnr", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQRKuuB1fWySn2wmf5ki5_secret_tJqf1vGvoQFusKtRMx4dg148J", + "client_secret": "pi_3OrhmIKuuB1fWySn1C6u0Mnr_secret_IlygKyPDLbNnHGVJFGyu2rUZg", "confirmation_method": "automatic", - "created": 1708989455, + "created": 1709821114, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQRKuuB1fWySn2hpzelst", + "latest_charge": "ch_3OrhmIKuuB1fWySn1sjkNmLz", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQQKuuB1fWySn4oaD0esu", + "payment_method": "pm_1OrhmHKuuB1fWySnUlqShBYy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:36 GMT + recorded_at: Thu, 07 Mar 2024 14:18:35 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQRKuuB1fWySn2wmf5ki5 + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmIKuuB1fWySn1C6u0Mnr body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0vzRq6N7iR0nsR","request_duration_ms":877}}' + - '{"last_request_metrics":{"request_id":"req_mk1l1Fnv3v0VOd","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:36 GMT + - Thu, 07 Mar 2024 14:18:35 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_TU4wX9fUZfM6Ns + - req_40n6I4K1I8s7Hf Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQRKuuB1fWySn2wmf5ki5", + "id": "pi_3OrhmIKuuB1fWySn1C6u0Mnr", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQRKuuB1fWySn2wmf5ki5_secret_tJqf1vGvoQFusKtRMx4dg148J", + "client_secret": "pi_3OrhmIKuuB1fWySn1C6u0Mnr_secret_IlygKyPDLbNnHGVJFGyu2rUZg", "confirmation_method": "automatic", - "created": 1708989455, + "created": 1709821114, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQRKuuB1fWySn2hpzelst", + "latest_charge": "ch_3OrhmIKuuB1fWySn1sjkNmLz", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQQKuuB1fWySn4oaD0esu", + "payment_method": "pm_1OrhmHKuuB1fWySnUlqShBYy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:36 GMT + recorded_at: Thu, 07 Mar 2024 14:18:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQRKuuB1fWySn2wmf5ki5/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmIKuuB1fWySn1C6u0Mnr/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TU4wX9fUZfM6Ns","request_duration_ms":296}}' + - '{"last_request_metrics":{"request_id":"req_40n6I4K1I8s7Hf","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:37 GMT + - Thu, 07 Mar 2024 14:18:36 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f1ff2e5a-2742-4e41-80b2-7b9dc0786a32 + - a716a2d3-649a-476f-b96b-611c2e7adb4f Original-Request: - - req_042wA8pQjEbC3W + - req_sO4Ot3G5kSMEkc Request-Id: - - req_042wA8pQjEbC3W + - req_sO4Ot3G5kSMEkc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQRKuuB1fWySn2wmf5ki5", + "id": "pi_3OrhmIKuuB1fWySn1C6u0Mnr", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQRKuuB1fWySn2wmf5ki5_secret_tJqf1vGvoQFusKtRMx4dg148J", + "client_secret": "pi_3OrhmIKuuB1fWySn1C6u0Mnr_secret_IlygKyPDLbNnHGVJFGyu2rUZg", "confirmation_method": "automatic", - "created": 1708989455, + "created": 1709821114, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQRKuuB1fWySn2hpzelst", + "latest_charge": "ch_3OrhmIKuuB1fWySn1sjkNmLz", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQQKuuB1fWySn4oaD0esu", + "payment_method": "pm_1OrhmHKuuB1fWySnUlqShBYy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:37 GMT + recorded_at: Thu, 07 Mar 2024 14:18:36 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQRKuuB1fWySn2wmf5ki5 + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmIKuuB1fWySn1C6u0Mnr body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_042wA8pQjEbC3W","request_duration_ms":997}}' + - '{"last_request_metrics":{"request_id":"req_sO4Ot3G5kSMEkc","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:37 GMT + - Thu, 07 Mar 2024 14:18:37 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_T7OixUoyNJo1Fj + - req_I21w2SnzFztXVO Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQRKuuB1fWySn2wmf5ki5", + "id": "pi_3OrhmIKuuB1fWySn1C6u0Mnr", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQRKuuB1fWySn2wmf5ki5_secret_tJqf1vGvoQFusKtRMx4dg148J", + "client_secret": "pi_3OrhmIKuuB1fWySn1C6u0Mnr_secret_IlygKyPDLbNnHGVJFGyu2rUZg", "confirmation_method": "automatic", - "created": 1708989455, + "created": 1709821114, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQRKuuB1fWySn2hpzelst", + "latest_charge": "ch_3OrhmIKuuB1fWySn1sjkNmLz", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQQKuuB1fWySn4oaD0esu", + "payment_method": "pm_1OrhmHKuuB1fWySnUlqShBYy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:37 GMT + recorded_at: Thu, 07 Mar 2024 14:18:37 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml index 86fbc890f0..2dbbfb0bab 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GHcBxE2m3E4MHF","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_Yhug3RNWG0kXWc","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:33 GMT + - Thu, 07 Mar 2024 14:18:31 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 758b2fb2-4084-4c8f-a65e-f9b44b75c7c5 + - 678c7006-e984-4622-8acd-31e4137f62c3 Original-Request: - - req_kujYBrSzdfiGGl + - req_AGwEM0U9Sxq3bz Request-Id: - - req_kujYBrSzdfiGGl + - req_AGwEM0U9Sxq3bz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQPKuuB1fWySnrDjU5QTD", + "id": "pm_1OrhmFKuuB1fWySnRuNTddkz", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989453, + "created": 1709821111, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:33 GMT + recorded_at: Thu, 07 Mar 2024 14:18:31 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQPKuuB1fWySnrDjU5QTD&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmFKuuB1fWySnRuNTddkz&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kujYBrSzdfiGGl","request_duration_ms":397}}' + - '{"last_request_metrics":{"request_id":"req_AGwEM0U9Sxq3bz","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:33 GMT + - Thu, 07 Mar 2024 14:18:31 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 19cd878f-70b5-45fb-9f2d-c0a0b233e409 + - 424e88c1-2088-4297-9d83-356ca514c438 Original-Request: - - req_08dBEKAQnWUNKO + - req_bw51qa1Y4gzx6M Request-Id: - - req_08dBEKAQnWUNKO + - req_bw51qa1Y4gzx6M Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQPKuuB1fWySn278fckET", + "id": "pi_3OrhmFKuuB1fWySn09f4ZHRQ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQPKuuB1fWySn278fckET_secret_lgQmou7fOjQx6P5FdGSeYFKeW", + "client_secret": "pi_3OrhmFKuuB1fWySn09f4ZHRQ_secret_JOXNedGq6UJqWRQWNe1XI4Cgv", "confirmation_method": "automatic", - "created": 1708989453, + "created": 1709821111, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQPKuuB1fWySnrDjU5QTD", + "payment_method": "pm_1OrhmFKuuB1fWySnRuNTddkz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:33 GMT + recorded_at: Thu, 07 Mar 2024 14:18:31 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQPKuuB1fWySn278fckET/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmFKuuB1fWySn09f4ZHRQ/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_08dBEKAQnWUNKO","request_duration_ms":394}}' + - '{"last_request_metrics":{"request_id":"req_bw51qa1Y4gzx6M","request_duration_ms":433}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:34 GMT + - Thu, 07 Mar 2024 14:18:32 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 85b87685-1a28-432a-9d41-c6fc495448dd + - 726e9b58-ea6d-4546-8426-36a4988e575f Original-Request: - - req_ZAU0CuJ5mJL0Pj + - req_PQovC5lY8xLMNv Request-Id: - - req_ZAU0CuJ5mJL0Pj + - req_PQovC5lY8xLMNv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQPKuuB1fWySn278fckET", + "id": "pi_3OrhmFKuuB1fWySn09f4ZHRQ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQPKuuB1fWySn278fckET_secret_lgQmou7fOjQx6P5FdGSeYFKeW", + "client_secret": "pi_3OrhmFKuuB1fWySn09f4ZHRQ_secret_JOXNedGq6UJqWRQWNe1XI4Cgv", "confirmation_method": "automatic", - "created": 1708989453, + "created": 1709821111, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQPKuuB1fWySn2jQ1vSy4", + "latest_charge": "ch_3OrhmFKuuB1fWySn0sjqfzIB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQPKuuB1fWySnrDjU5QTD", + "payment_method": "pm_1OrhmFKuuB1fWySnRuNTddkz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:34 GMT + recorded_at: Thu, 07 Mar 2024 14:18:32 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml index f678c47500..849bb7f513 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pCSOXuHEJ1Lty3","request_duration_ms":945}}' + - '{"last_request_metrics":{"request_id":"req_h0Etl35WE9uSWY","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:40 GMT + - Thu, 07 Mar 2024 14:18:40 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2c8c4027-04bd-4b1d-8272-a502ef2f9764 + - 78c55417-cd42-4ae0-bc95-79d33807deb9 Original-Request: - - req_H6m1HTr3RpQpX3 + - req_86fBPxnOHnee5O Request-Id: - - req_H6m1HTr3RpQpX3 + - req_86fBPxnOHnee5O Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQWKuuB1fWySnqXb3uTnf", + "id": "pm_1OrhmOKuuB1fWySnZQ2sAaod", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989460, + "created": 1709821120, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:40 GMT + recorded_at: Thu, 07 Mar 2024 14:18:40 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQWKuuB1fWySnqXb3uTnf&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmOKuuB1fWySnZQ2sAaod&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_H6m1HTr3RpQpX3","request_duration_ms":477}}' + - '{"last_request_metrics":{"request_id":"req_86fBPxnOHnee5O","request_duration_ms":513}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:40 GMT + - Thu, 07 Mar 2024 14:18:40 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ed4c8bd8-aff5-4399-8f41-29f25b5a4351 + - 1545abb3-0232-44a2-aca6-e1dae24722a0 Original-Request: - - req_Qk9UiuqGQDYo79 + - req_M8OQcrKslB6A1Y Request-Id: - - req_Qk9UiuqGQDYo79 + - req_M8OQcrKslB6A1Y Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQWKuuB1fWySn1LGKgZyG", + "id": "pi_3OrhmOKuuB1fWySn0dieavtB", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQWKuuB1fWySn1LGKgZyG_secret_7EKpqFMSaVDJjcR2HWmDPMXnz", + "client_secret": "pi_3OrhmOKuuB1fWySn0dieavtB_secret_Fx5MoDhoJnQpS9PgnAE67ooCm", "confirmation_method": "automatic", - "created": 1708989460, + "created": 1709821120, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQWKuuB1fWySnqXb3uTnf", + "payment_method": "pm_1OrhmOKuuB1fWySnZQ2sAaod", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:40 GMT + recorded_at: Thu, 07 Mar 2024 14:18:40 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQWKuuB1fWySn1LGKgZyG/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmOKuuB1fWySn0dieavtB/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Qk9UiuqGQDYo79","request_duration_ms":429}}' + - '{"last_request_metrics":{"request_id":"req_M8OQcrKslB6A1Y","request_duration_ms":402}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:41 GMT + - Thu, 07 Mar 2024 14:18:41 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 16f09801-90a4-4d77-9705-37b483db2319 + - fda26d22-a58e-49f2-8042-9a6856d3f4da Original-Request: - - req_jtVlaOmZT3yE6a + - req_g3DJzO0zLkWPyW Request-Id: - - req_jtVlaOmZT3yE6a + - req_g3DJzO0zLkWPyW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQWKuuB1fWySn1LGKgZyG", + "id": "pi_3OrhmOKuuB1fWySn0dieavtB", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQWKuuB1fWySn1LGKgZyG_secret_7EKpqFMSaVDJjcR2HWmDPMXnz", + "client_secret": "pi_3OrhmOKuuB1fWySn0dieavtB_secret_Fx5MoDhoJnQpS9PgnAE67ooCm", "confirmation_method": "automatic", - "created": 1708989460, + "created": 1709821120, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQWKuuB1fWySn1jAllVER", + "latest_charge": "ch_3OrhmOKuuB1fWySn0bfbGAvC", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQWKuuB1fWySnqXb3uTnf", + "payment_method": "pm_1OrhmOKuuB1fWySnZQ2sAaod", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:41 GMT + recorded_at: Thu, 07 Mar 2024 14:18:42 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQWKuuB1fWySn1LGKgZyG + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmOKuuB1fWySn0dieavtB body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jtVlaOmZT3yE6a","request_duration_ms":999}}' + - '{"last_request_metrics":{"request_id":"req_g3DJzO0zLkWPyW","request_duration_ms":1125}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:42 GMT + - Thu, 07 Mar 2024 14:18:42 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_UYJaWKezFwM6eE + - req_N9bcCdXB9OCuiZ Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQWKuuB1fWySn1LGKgZyG", + "id": "pi_3OrhmOKuuB1fWySn0dieavtB", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQWKuuB1fWySn1LGKgZyG_secret_7EKpqFMSaVDJjcR2HWmDPMXnz", + "client_secret": "pi_3OrhmOKuuB1fWySn0dieavtB_secret_Fx5MoDhoJnQpS9PgnAE67ooCm", "confirmation_method": "automatic", - "created": 1708989460, + "created": 1709821120, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQWKuuB1fWySn1jAllVER", + "latest_charge": "ch_3OrhmOKuuB1fWySn0bfbGAvC", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQWKuuB1fWySnqXb3uTnf", + "payment_method": "pm_1OrhmOKuuB1fWySnZQ2sAaod", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:42 GMT + recorded_at: Thu, 07 Mar 2024 14:18:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQWKuuB1fWySn1LGKgZyG/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmOKuuB1fWySn0dieavtB/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UYJaWKezFwM6eE","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_N9bcCdXB9OCuiZ","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:43 GMT + - Thu, 07 Mar 2024 14:18:43 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5bf33690-0599-4d6f-8401-741fda2bfeaf + - 619749a1-92d9-4329-b864-106013c53776 Original-Request: - - req_ITZE8iK2P101LR + - req_50m29mvg8L3DYW Request-Id: - - req_ITZE8iK2P101LR + - req_50m29mvg8L3DYW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQWKuuB1fWySn1LGKgZyG", + "id": "pi_3OrhmOKuuB1fWySn0dieavtB", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQWKuuB1fWySn1LGKgZyG_secret_7EKpqFMSaVDJjcR2HWmDPMXnz", + "client_secret": "pi_3OrhmOKuuB1fWySn0dieavtB_secret_Fx5MoDhoJnQpS9PgnAE67ooCm", "confirmation_method": "automatic", - "created": 1708989460, + "created": 1709821120, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQWKuuB1fWySn1jAllVER", + "latest_charge": "ch_3OrhmOKuuB1fWySn0bfbGAvC", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQWKuuB1fWySnqXb3uTnf", + "payment_method": "pm_1OrhmOKuuB1fWySnZQ2sAaod", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:43 GMT + recorded_at: Thu, 07 Mar 2024 14:18:43 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQWKuuB1fWySn1LGKgZyG + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmOKuuB1fWySn0dieavtB body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ITZE8iK2P101LR","request_duration_ms":978}}' + - '{"last_request_metrics":{"request_id":"req_50m29mvg8L3DYW","request_duration_ms":1025}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:43 GMT + - Thu, 07 Mar 2024 14:18:43 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_NgVZAfvQo7sWeS + - req_qjFiOOkOS61qmW Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQWKuuB1fWySn1LGKgZyG", + "id": "pi_3OrhmOKuuB1fWySn0dieavtB", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQWKuuB1fWySn1LGKgZyG_secret_7EKpqFMSaVDJjcR2HWmDPMXnz", + "client_secret": "pi_3OrhmOKuuB1fWySn0dieavtB_secret_Fx5MoDhoJnQpS9PgnAE67ooCm", "confirmation_method": "automatic", - "created": 1708989460, + "created": 1709821120, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQWKuuB1fWySn1jAllVER", + "latest_charge": "ch_3OrhmOKuuB1fWySn0bfbGAvC", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQWKuuB1fWySnqXb3uTnf", + "payment_method": "pm_1OrhmOKuuB1fWySnZQ2sAaod", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:43 GMT + recorded_at: Thu, 07 Mar 2024 14:18:43 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index dd5c912788..21945be1be 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_T7OixUoyNJo1Fj","request_duration_ms":307}}' + - '{"last_request_metrics":{"request_id":"req_I21w2SnzFztXVO","request_duration_ms":311}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:38 GMT + - Thu, 07 Mar 2024 14:18:37 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 12e0defd-4d7b-448b-a603-d40a899d6e06 + - 3b98eb71-f820-41bd-94e6-3e1a13999d93 Original-Request: - - req_PzaQaKS08wTEdd + - req_hXxcihCbAYwNHD Request-Id: - - req_PzaQaKS08wTEdd + - req_hXxcihCbAYwNHD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQUKuuB1fWySnW8iGf3QG", + "id": "pm_1OrhmLKuuB1fWySn8YwYXcKb", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989458, + "created": 1709821117, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:38 GMT + recorded_at: Thu, 07 Mar 2024 14:18:37 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDQUKuuB1fWySnW8iGf3QG&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhmLKuuB1fWySn8YwYXcKb&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PzaQaKS08wTEdd","request_duration_ms":468}}' + - '{"last_request_metrics":{"request_id":"req_hXxcihCbAYwNHD","request_duration_ms":459}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:38 GMT + - Thu, 07 Mar 2024 14:18:38 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fddc7108-5766-4974-9ea6-93817017fd97 + - 5f71f34d-ffce-435b-b96b-e2bab1c633cd Original-Request: - - req_qmbM8OIPFrLjLM + - req_oHrHCAlqKCmFT9 Request-Id: - - req_qmbM8OIPFrLjLM + - req_oHrHCAlqKCmFT9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQUKuuB1fWySn1uMwZTvo", + "id": "pi_3OrhmMKuuB1fWySn1XhCyfOJ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQUKuuB1fWySn1uMwZTvo_secret_yK9N6hEeCCCkQ4mMOyQZFDHtA", + "client_secret": "pi_3OrhmMKuuB1fWySn1XhCyfOJ_secret_M3RGsmj65WJvnKKwrz7yQkFgR", "confirmation_method": "automatic", - "created": 1708989458, + "created": 1709821118, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQUKuuB1fWySnW8iGf3QG", + "payment_method": "pm_1OrhmLKuuB1fWySn8YwYXcKb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:38 GMT + recorded_at: Thu, 07 Mar 2024 14:18:38 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDQUKuuB1fWySn1uMwZTvo/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmMKuuB1fWySn1XhCyfOJ/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qmbM8OIPFrLjLM","request_duration_ms":357}}' + - '{"last_request_metrics":{"request_id":"req_oHrHCAlqKCmFT9","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:39 GMT + - Thu, 07 Mar 2024 14:18:39 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d50d4d86-bfc2-4cf2-b9a1-aa3c32045ef9 + - 50a1928f-1bca-4c67-a3dd-c8c96fcb17e5 Original-Request: - - req_pCSOXuHEJ1Lty3 + - req_h0Etl35WE9uSWY Request-Id: - - req_pCSOXuHEJ1Lty3 + - req_h0Etl35WE9uSWY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDQUKuuB1fWySn1uMwZTvo", + "id": "pi_3OrhmMKuuB1fWySn1XhCyfOJ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDQUKuuB1fWySn1uMwZTvo_secret_yK9N6hEeCCCkQ4mMOyQZFDHtA", + "client_secret": "pi_3OrhmMKuuB1fWySn1XhCyfOJ_secret_M3RGsmj65WJvnKKwrz7yQkFgR", "confirmation_method": "automatic", - "created": 1708989458, + "created": 1709821118, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDQUKuuB1fWySn1aJEy8pP", + "latest_charge": "ch_3OrhmMKuuB1fWySn1Zh2ouMn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDQUKuuB1fWySnW8iGf3QG", + "payment_method": "pm_1OrhmLKuuB1fWySn8YwYXcKb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:17:39 GMT + recorded_at: Thu, 07 Mar 2024 14:18:39 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml index c7430d8bca..f90a51029e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SQJ9H6cTSPmrzQ","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_UClbslRlpPvaEu","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:23 GMT + - Thu, 07 Mar 2024 14:17:09 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - beda89da-19fa-4d20-9bc9-6d34e6fb0669 + - 2180011d-085d-4e23-a472-f307da67b84b Original-Request: - - req_bMlF5LNTOKbc56 + - req_ctnvoBmc6TdSra Request-Id: - - req_bMlF5LNTOKbc56 + - req_ctnvoBmc6TdSra Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPGKuuB1fWySnN30FF12U", + "id": "pm_1OrhkuKuuB1fWySnlPul1zJz", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989383, + "created": 1709821029, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:23 GMT + recorded_at: Thu, 07 Mar 2024 14:17:09 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPGKuuB1fWySnN30FF12U&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhkuKuuB1fWySnlPul1zJz&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bMlF5LNTOKbc56","request_duration_ms":476}}' + - '{"last_request_metrics":{"request_id":"req_ctnvoBmc6TdSra","request_duration_ms":470}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:23 GMT + - Thu, 07 Mar 2024 14:17:09 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 803d0b3c-5078-4cb1-bf48-328f21ae5151 + - faaa9425-fbf3-44c9-8415-8d551e0f22d2 Original-Request: - - req_1FCkK4hbN2hqIj + - req_WMs2ivZvPrQ9bw Request-Id: - - req_1FCkK4hbN2hqIj + - req_WMs2ivZvPrQ9bw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPHKuuB1fWySn1Zu2T6gc", + "id": "pi_3OrhkvKuuB1fWySn1d05IkC5", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPHKuuB1fWySn1Zu2T6gc_secret_cVXjO5jtxG8407ljJZqLFUKPn", + "client_secret": "pi_3OrhkvKuuB1fWySn1d05IkC5_secret_VkMn1Z8svumBOmYNhaSYaWBN5", "confirmation_method": "automatic", - "created": 1708989383, + "created": 1709821029, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPGKuuB1fWySnN30FF12U", + "payment_method": "pm_1OrhkuKuuB1fWySnlPul1zJz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:23 GMT + recorded_at: Thu, 07 Mar 2024 14:17:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPHKuuB1fWySn1Zu2T6gc/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhkvKuuB1fWySn1d05IkC5/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1FCkK4hbN2hqIj","request_duration_ms":415}}' + - '{"last_request_metrics":{"request_id":"req_WMs2ivZvPrQ9bw","request_duration_ms":548}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:24 GMT + - Thu, 07 Mar 2024 14:17:10 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f2c68315-909a-43e4-a55f-7c23d9d31174 + - c4bcde13-bca6-4672-8d11-8f6fb39576fc Original-Request: - - req_lmhTXauBlZ2mrN + - req_fxC0dYXEoMawoR Request-Id: - - req_lmhTXauBlZ2mrN + - req_fxC0dYXEoMawoR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPHKuuB1fWySn1Zu2T6gc", + "id": "pi_3OrhkvKuuB1fWySn1d05IkC5", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPHKuuB1fWySn1Zu2T6gc_secret_cVXjO5jtxG8407ljJZqLFUKPn", + "client_secret": "pi_3OrhkvKuuB1fWySn1d05IkC5_secret_VkMn1Z8svumBOmYNhaSYaWBN5", "confirmation_method": "automatic", - "created": 1708989383, + "created": 1709821029, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPHKuuB1fWySn1GhIMqVV", + "latest_charge": "ch_3OrhkvKuuB1fWySn10lNixHS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPGKuuB1fWySnN30FF12U", + "payment_method": "pm_1OrhkuKuuB1fWySnlPul1zJz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:24 GMT + recorded_at: Thu, 07 Mar 2024 14:17:10 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPHKuuB1fWySn1Zu2T6gc + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhkvKuuB1fWySn1d05IkC5 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lmhTXauBlZ2mrN","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_fxC0dYXEoMawoR","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:25 GMT + - Thu, 07 Mar 2024 14:17:11 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_wBdW7CRHWtYn1f + - req_ASK8K1yjiE0jvV Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPHKuuB1fWySn1Zu2T6gc", + "id": "pi_3OrhkvKuuB1fWySn1d05IkC5", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPHKuuB1fWySn1Zu2T6gc_secret_cVXjO5jtxG8407ljJZqLFUKPn", + "client_secret": "pi_3OrhkvKuuB1fWySn1d05IkC5_secret_VkMn1Z8svumBOmYNhaSYaWBN5", "confirmation_method": "automatic", - "created": 1708989383, + "created": 1709821029, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPHKuuB1fWySn1GhIMqVV", + "latest_charge": "ch_3OrhkvKuuB1fWySn10lNixHS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPGKuuB1fWySnN30FF12U", + "payment_method": "pm_1OrhkuKuuB1fWySnlPul1zJz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:25 GMT + recorded_at: Thu, 07 Mar 2024 14:17:11 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPHKuuB1fWySn1Zu2T6gc/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhkvKuuB1fWySn1d05IkC5/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wBdW7CRHWtYn1f","request_duration_ms":305}}' + - '{"last_request_metrics":{"request_id":"req_ASK8K1yjiE0jvV","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:26 GMT + - Thu, 07 Mar 2024 14:17:12 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b76cc47c-5fec-47aa-bfb4-aa8d5a8e0d53 + - 1c96732f-aad3-4c6f-a279-a6b447d0a170 Original-Request: - - req_xqJ94httHFVMJm + - req_jXmKTQntjtYpVr Request-Id: - - req_xqJ94httHFVMJm + - req_jXmKTQntjtYpVr Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPHKuuB1fWySn1Zu2T6gc", + "id": "pi_3OrhkvKuuB1fWySn1d05IkC5", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPHKuuB1fWySn1Zu2T6gc_secret_cVXjO5jtxG8407ljJZqLFUKPn", + "client_secret": "pi_3OrhkvKuuB1fWySn1d05IkC5_secret_VkMn1Z8svumBOmYNhaSYaWBN5", "confirmation_method": "automatic", - "created": 1708989383, + "created": 1709821029, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPHKuuB1fWySn1GhIMqVV", + "latest_charge": "ch_3OrhkvKuuB1fWySn10lNixHS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPGKuuB1fWySnN30FF12U", + "payment_method": "pm_1OrhkuKuuB1fWySnlPul1zJz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:26 GMT + recorded_at: Thu, 07 Mar 2024 14:17:12 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPHKuuB1fWySn1Zu2T6gc + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhkvKuuB1fWySn1d05IkC5 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xqJ94httHFVMJm","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_jXmKTQntjtYpVr","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:26 GMT + - Thu, 07 Mar 2024 14:17:12 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_cR0qyGrivZ1YV5 + - req_ppSoLJRF5F2YVf Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPHKuuB1fWySn1Zu2T6gc", + "id": "pi_3OrhkvKuuB1fWySn1d05IkC5", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPHKuuB1fWySn1Zu2T6gc_secret_cVXjO5jtxG8407ljJZqLFUKPn", + "client_secret": "pi_3OrhkvKuuB1fWySn1d05IkC5_secret_VkMn1Z8svumBOmYNhaSYaWBN5", "confirmation_method": "automatic", - "created": 1708989383, + "created": 1709821029, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPHKuuB1fWySn1GhIMqVV", + "latest_charge": "ch_3OrhkvKuuB1fWySn10lNixHS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPGKuuB1fWySnN30FF12U", + "payment_method": "pm_1OrhkuKuuB1fWySnlPul1zJz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:26 GMT + recorded_at: Thu, 07 Mar 2024 14:17:12 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml index eaf182420a..f8721e2473 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8AzdCIco8PUIix","request_duration_ms":505}}' + - '{"last_request_metrics":{"request_id":"req_Fi5mVfPEq8sEDc","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:21 GMT + - Thu, 07 Mar 2024 14:17:06 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ded0e4fb-a6fd-4a25-a253-472804674a11 + - 0f34f876-9a73-4151-a6ef-736ab75a3dc5 Original-Request: - - req_VjmjkJk42nvufT + - req_1IrO7YFl5PzdTX Request-Id: - - req_VjmjkJk42nvufT + - req_1IrO7YFl5PzdTX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPEKuuB1fWySnfTpQN2nX", + "id": "pm_1OrhksKuuB1fWySnelp1CgSv", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989380, + "created": 1709821026, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:21 GMT + recorded_at: Thu, 07 Mar 2024 14:17:06 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPEKuuB1fWySnfTpQN2nX&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhksKuuB1fWySnelp1CgSv&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VjmjkJk42nvufT","request_duration_ms":471}}' + - '{"last_request_metrics":{"request_id":"req_1IrO7YFl5PzdTX","request_duration_ms":584}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:21 GMT + - Thu, 07 Mar 2024 14:17:06 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c8240b50-af45-43c2-a5f1-b1536d5f26ce + - 2cd926c7-4e0d-436f-bc82-d47bdfcc1135 Original-Request: - - req_GF305zf2VNbAxw + - req_ab8T8D1yBadmx6 Request-Id: - - req_GF305zf2VNbAxw + - req_ab8T8D1yBadmx6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPFKuuB1fWySn0xtGMkh3", + "id": "pi_3OrhksKuuB1fWySn1DCYTXHt", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPFKuuB1fWySn0xtGMkh3_secret_iXCE4rocewv0Z1GDsSMxDxEF6", + "client_secret": "pi_3OrhksKuuB1fWySn1DCYTXHt_secret_s99PapYTJw5A3nHqOfOGZwHJm", "confirmation_method": "automatic", - "created": 1708989381, + "created": 1709821026, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPEKuuB1fWySnfTpQN2nX", + "payment_method": "pm_1OrhksKuuB1fWySnelp1CgSv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:21 GMT + recorded_at: Thu, 07 Mar 2024 14:17:06 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPFKuuB1fWySn0xtGMkh3/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhksKuuB1fWySn1DCYTXHt/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GF305zf2VNbAxw","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_ab8T8D1yBadmx6","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:22 GMT + - Thu, 07 Mar 2024 14:17:08 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 605bfb04-4da2-4e3e-aec6-b260501929bf + - bfde4918-6dd4-435f-ae6c-c9f4a1de6387 Original-Request: - - req_SQJ9H6cTSPmrzQ + - req_UClbslRlpPvaEu Request-Id: - - req_SQJ9H6cTSPmrzQ + - req_UClbslRlpPvaEu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPFKuuB1fWySn0xtGMkh3", + "id": "pi_3OrhksKuuB1fWySn1DCYTXHt", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPFKuuB1fWySn0xtGMkh3_secret_iXCE4rocewv0Z1GDsSMxDxEF6", + "client_secret": "pi_3OrhksKuuB1fWySn1DCYTXHt_secret_s99PapYTJw5A3nHqOfOGZwHJm", "confirmation_method": "automatic", - "created": 1708989381, + "created": 1709821026, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPFKuuB1fWySn0J8F7I8A", + "latest_charge": "ch_3OrhksKuuB1fWySn1MwdcabR", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPEKuuB1fWySnfTpQN2nX", + "payment_method": "pm_1OrhksKuuB1fWySnelp1CgSv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:22 GMT + recorded_at: Thu, 07 Mar 2024 14:17:08 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml index 5d40da036d..2fc0af71cd 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qEvlMAKraRlSYa","request_duration_ms":961}}' + - '{"last_request_metrics":{"request_id":"req_WNkQtQRg0AGc4O","request_duration_ms":1089}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:29 GMT + - Thu, 07 Mar 2024 14:17:15 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8add02cf-5166-4f6a-a699-0ed64e2243c3 + - 7d41385a-15eb-45ed-a636-e8ed0d1f77aa Original-Request: - - req_99k0mbgXRg1Aps + - req_yL2veavG0tcr5T Request-Id: - - req_99k0mbgXRg1Aps + - req_yL2veavG0tcr5T Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPMKuuB1fWySnWtCxU7ER", + "id": "pm_1Orhl1KuuB1fWySnuzOTdScd", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989388, + "created": 1709821035, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:29 GMT + recorded_at: Thu, 07 Mar 2024 14:17:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPMKuuB1fWySnWtCxU7ER&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Orhl1KuuB1fWySnuzOTdScd&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_99k0mbgXRg1Aps","request_duration_ms":417}}' + - '{"last_request_metrics":{"request_id":"req_yL2veavG0tcr5T","request_duration_ms":469}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:29 GMT + - Thu, 07 Mar 2024 14:17:16 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4c7fd4fc-8e5c-4cda-a69f-1e6515e1c693 + - 7b244be6-83dc-4794-8042-0668f8cc32fb Original-Request: - - req_bpaBsEPhjqThIj + - req_1PmKfGEM2RJE2b Request-Id: - - req_bpaBsEPhjqThIj + - req_1PmKfGEM2RJE2b Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPNKuuB1fWySn0ku46tFL", + "id": "pi_3Orhl1KuuB1fWySn0fcRRgF7", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPNKuuB1fWySn0ku46tFL_secret_39243YQSjSfUyKIE2N9hrnsas", + "client_secret": "pi_3Orhl1KuuB1fWySn0fcRRgF7_secret_Mc8Rzyn1X9gzQvOkJeqRxI07I", "confirmation_method": "automatic", - "created": 1708989389, + "created": 1709821035, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPMKuuB1fWySnWtCxU7ER", + "payment_method": "pm_1Orhl1KuuB1fWySnuzOTdScd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:29 GMT + recorded_at: Thu, 07 Mar 2024 14:17:16 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPNKuuB1fWySn0ku46tFL/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl1KuuB1fWySn0fcRRgF7/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bpaBsEPhjqThIj","request_duration_ms":383}}' + - '{"last_request_metrics":{"request_id":"req_1PmKfGEM2RJE2b","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:30 GMT + - Thu, 07 Mar 2024 14:17:17 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1155cf2b-1cc6-49f4-88bf-5e8c7690eed8 + - 199929b0-28c8-407e-95cd-c7a8df6b693b Original-Request: - - req_B7NeTFjREyv2Wc + - req_pfTuncJy4Gdzip Request-Id: - - req_B7NeTFjREyv2Wc + - req_pfTuncJy4Gdzip Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPNKuuB1fWySn0ku46tFL", + "id": "pi_3Orhl1KuuB1fWySn0fcRRgF7", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPNKuuB1fWySn0ku46tFL_secret_39243YQSjSfUyKIE2N9hrnsas", + "client_secret": "pi_3Orhl1KuuB1fWySn0fcRRgF7_secret_Mc8Rzyn1X9gzQvOkJeqRxI07I", "confirmation_method": "automatic", - "created": 1708989389, + "created": 1709821035, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPNKuuB1fWySn0dePwWio", + "latest_charge": "ch_3Orhl1KuuB1fWySn0lUp7XHi", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPMKuuB1fWySnWtCxU7ER", + "payment_method": "pm_1Orhl1KuuB1fWySnuzOTdScd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,29 +394,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:30 GMT + recorded_at: Thu, 07 Mar 2024 14:17:17 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPNKuuB1fWySn0ku46tFL + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl1KuuB1fWySn0fcRRgF7 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_B7NeTFjREyv2Wc","request_duration_ms":966}}' + - '{"last_request_metrics":{"request_id":"req_pfTuncJy4Gdzip","request_duration_ms":1046}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -423,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:30 GMT + - Thu, 07 Mar 2024 14:17:17 GMT Content-Type: - application/json Content-Length: @@ -448,8 +454,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_bsKMbTG417wqFA + - req_MeHAzJ4OHveBt9 Stripe-Version: - '2023-10-16' Vary: @@ -462,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPNKuuB1fWySn0ku46tFL", + "id": "pi_3Orhl1KuuB1fWySn0fcRRgF7", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -476,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPNKuuB1fWySn0ku46tFL_secret_39243YQSjSfUyKIE2N9hrnsas", + "client_secret": "pi_3Orhl1KuuB1fWySn0fcRRgF7_secret_Mc8Rzyn1X9gzQvOkJeqRxI07I", "confirmation_method": "automatic", - "created": 1708989389, + "created": 1709821035, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPNKuuB1fWySn0dePwWio", + "latest_charge": "ch_3Orhl1KuuB1fWySn0lUp7XHi", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPMKuuB1fWySnWtCxU7ER", + "payment_method": "pm_1Orhl1KuuB1fWySnuzOTdScd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -514,29 +522,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:30 GMT + recorded_at: Thu, 07 Mar 2024 14:17:17 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPNKuuB1fWySn0ku46tFL/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl1KuuB1fWySn0fcRRgF7/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bsKMbTG417wqFA","request_duration_ms":280}}' + - '{"last_request_metrics":{"request_id":"req_MeHAzJ4OHveBt9","request_duration_ms":381}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -549,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:31 GMT + - Thu, 07 Mar 2024 14:17:18 GMT Content-Type: - application/json Content-Length: @@ -574,12 +582,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d3d7e530-8d4a-4e90-a488-99b25dfc8931 + - 847bd0b8-935b-4268-b9cf-ceeb800c0887 Original-Request: - - req_1KfDgu6PARycSc + - req_s7YBGmoPMBen8B Request-Id: - - req_1KfDgu6PARycSc + - req_s7YBGmoPMBen8B Stripe-Should-Retry: - 'false' Stripe-Version: @@ -594,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPNKuuB1fWySn0ku46tFL", + "id": "pi_3Orhl1KuuB1fWySn0fcRRgF7", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -608,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPNKuuB1fWySn0ku46tFL_secret_39243YQSjSfUyKIE2N9hrnsas", + "client_secret": "pi_3Orhl1KuuB1fWySn0fcRRgF7_secret_Mc8Rzyn1X9gzQvOkJeqRxI07I", "confirmation_method": "automatic", - "created": 1708989389, + "created": 1709821035, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPNKuuB1fWySn0dePwWio", + "latest_charge": "ch_3Orhl1KuuB1fWySn0lUp7XHi", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPMKuuB1fWySnWtCxU7ER", + "payment_method": "pm_1Orhl1KuuB1fWySnuzOTdScd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -646,29 +656,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:31 GMT + recorded_at: Thu, 07 Mar 2024 14:17:18 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPNKuuB1fWySn0ku46tFL + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl1KuuB1fWySn0fcRRgF7 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1KfDgu6PARycSc","request_duration_ms":1079}}' + - '{"last_request_metrics":{"request_id":"req_s7YBGmoPMBen8B","request_duration_ms":1224}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -681,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:32 GMT + - Thu, 07 Mar 2024 14:17:19 GMT Content-Type: - application/json Content-Length: @@ -706,8 +716,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_vVwW7XX2KXhG23 + - req_BkuzWXjgBrZ2vk Stripe-Version: - '2023-10-16' Vary: @@ -720,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPNKuuB1fWySn0ku46tFL", + "id": "pi_3Orhl1KuuB1fWySn0fcRRgF7", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -734,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPNKuuB1fWySn0ku46tFL_secret_39243YQSjSfUyKIE2N9hrnsas", + "client_secret": "pi_3Orhl1KuuB1fWySn0fcRRgF7_secret_Mc8Rzyn1X9gzQvOkJeqRxI07I", "confirmation_method": "automatic", - "created": 1708989389, + "created": 1709821035, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPNKuuB1fWySn0dePwWio", + "latest_charge": "ch_3Orhl1KuuB1fWySn0lUp7XHi", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPMKuuB1fWySnWtCxU7ER", + "payment_method": "pm_1Orhl1KuuB1fWySnuzOTdScd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -772,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:32 GMT + recorded_at: Thu, 07 Mar 2024 14:17:19 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 76% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml index 7bd72ebb8e..eb4895e31a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cR0qyGrivZ1YV5","request_duration_ms":312}}' + - '{"last_request_metrics":{"request_id":"req_ppSoLJRF5F2YVf","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:26 GMT + - Thu, 07 Mar 2024 14:17:13 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - dd8e0c1f-dae8-49c2-bfad-f854fa76b24b + - 992f23f8-8f49-4468-9d43-320f309308ee Original-Request: - - req_NvmhCfHjRHZGdS + - req_nc2p2GOaoDEu1E Request-Id: - - req_NvmhCfHjRHZGdS + - req_nc2p2GOaoDEu1E Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDPKKuuB1fWySnhiNvJpgj", + "id": "pm_1OrhkzKuuB1fWySn0aTQlaHi", "object": "payment_method", "billing_details": { "address": { @@ -119,35 +121,35 @@ http_interactions: }, "wallet": null }, - "created": 1708989386, + "created": 1709821033, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:16:26 GMT + recorded_at: Thu, 07 Mar 2024 14:17:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OoDPKKuuB1fWySnhiNvJpgj&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OrhkzKuuB1fWySn0aTQlaHi&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NvmhCfHjRHZGdS","request_duration_ms":495}}' + - '{"last_request_metrics":{"request_id":"req_nc2p2GOaoDEu1E","request_duration_ms":456}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:27 GMT + - Thu, 07 Mar 2024 14:17:13 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 902ad78e-ca92-4d10-864e-54ca7c74bf58 + - dc2d433b-95d5-4bce-897d-e942d74e43f3 Original-Request: - - req_Ef6g9UEQMmu2O1 + - req_YeRiMUyYK8j0Xs Request-Id: - - req_Ef6g9UEQMmu2O1 + - req_YeRiMUyYK8j0Xs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPLKuuB1fWySn0N9hjTbQ", + "id": "pi_3OrhkzKuuB1fWySn2jySGxGN", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPLKuuB1fWySn0N9hjTbQ_secret_xdmxDsPVEGWNCi8pRzzlEO7df", + "client_secret": "pi_3OrhkzKuuB1fWySn2jySGxGN_secret_IXkDOqsr0YgHYV2fqCELUYBR5", "confirmation_method": "automatic", - "created": 1708989387, + "created": 1709821033, "currency": "eur", "customer": null, "description": null, @@ -231,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPKKuuB1fWySnhiNvJpgj", + "payment_method": "pm_1OrhkzKuuB1fWySn0aTQlaHi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -256,29 +260,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:27 GMT + recorded_at: Thu, 07 Mar 2024 14:17:13 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OoDPLKuuB1fWySn0N9hjTbQ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OrhkzKuuB1fWySn2jySGxGN/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ef6g9UEQMmu2O1","request_duration_ms":714}}' + - '{"last_request_metrics":{"request_id":"req_YeRiMUyYK8j0Xs","request_duration_ms":438}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -291,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:16:28 GMT + - Thu, 07 Mar 2024 14:17:14 GMT Content-Type: - application/json Content-Length: @@ -316,12 +320,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6f809170-ee2d-4124-9c59-13822aac8748 + - 1a13a921-6484-4af7-b5f1-c60f9601e4d2 Original-Request: - - req_qEvlMAKraRlSYa + - req_WNkQtQRg0AGc4O Request-Id: - - req_qEvlMAKraRlSYa + - req_WNkQtQRg0AGc4O Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OoDPLKuuB1fWySn0N9hjTbQ", + "id": "pi_3OrhkzKuuB1fWySn2jySGxGN", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -350,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OoDPLKuuB1fWySn0N9hjTbQ_secret_xdmxDsPVEGWNCi8pRzzlEO7df", + "client_secret": "pi_3OrhkzKuuB1fWySn2jySGxGN_secret_IXkDOqsr0YgHYV2fqCELUYBR5", "confirmation_method": "automatic", - "created": 1708989387, + "created": 1709821033, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OoDPLKuuB1fWySn0G1DK2sb", + "latest_charge": "ch_3OrhkzKuuB1fWySn2M4Tl0yB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OoDPKKuuB1fWySnhiNvJpgj", + "payment_method": "pm_1OrhkzKuuB1fWySn0aTQlaHi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 26 Feb 2024 23:16:28 GMT + recorded_at: Thu, 07 Mar 2024 14:17:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml index 765ecfae27..fcf30f8e9f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LTPedcXLyXiFZW","request_duration_ms":387}}' + - '{"last_request_metrics":{"request_id":"req_Pk11EipArgbZw2","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:59 GMT + - Thu, 07 Mar 2024 14:19:01 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cd63c5e5-e7c8-4ec2-8d3b-bae7c83b50c6 + - 85ae54a6-3d8d-4117-8d14-d8328b03679d Original-Request: - - req_LAYTMe7Nu6P06T + - req_qefyeFX7Psf4sT Request-Id: - - req_LAYTMe7Nu6P06T + - req_qefyeFX7Psf4sT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQpKuuB1fWySn7VRFead3", + "id": "pm_1OrhmjKuuB1fWySnWB6rTEGL", "object": "payment_method", "billing_details": { "address": { @@ -119,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1708989479, + "created": 1709821141, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:17:59 GMT + recorded_at: Thu, 07 Mar 2024 14:19:02 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=harriett.johns%40sanford.name + string: expand[0]=sources&email=nancey.jakubowski%40hane.info headers: Content-Type: - application/x-www-form-urlencoded @@ -159,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:17:59 GMT + - Thu, 07 Mar 2024 14:19:03 GMT Content-Type: - application/json Content-Length: @@ -183,12 +185,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 36dc228c-2fb0-4962-900d-60aaf076643f + - 21e9a3f2-a8fc-46c8-9439-345f427ef200 Original-Request: - - req_H9D9hcbThnVvw7 + - req_BTwlF6p6kmIQoU Request-Id: - - req_H9D9hcbThnVvw7 + - req_BTwlF6p6kmIQoU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -203,19 +207,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PdUPusUuoW8fFz", + "id": "cus_Ph5yd4DHppEoKr", "object": "customer", "address": null, "balance": 0, - "created": 1708989479, + "created": 1709821142, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "harriett.johns@sanford.name", - "invoice_prefix": "A0F05DFF", + "email": "nancey.jakubowski@hane.info", + "invoice_prefix": "6E87E60A", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -234,18 +238,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_PdUPusUuoW8fFz/sources" + "url": "/v1/customers/cus_Ph5yd4DHppEoKr/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 26 Feb 2024 23:18:00 GMT + recorded_at: Thu, 07 Mar 2024 14:19:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OoDQpKuuB1fWySn7VRFead3/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OrhmjKuuB1fWySnWB6rTEGL/attach body: encoding: UTF-8 - string: customer=cus_PdUPusUuoW8fFz + string: customer=cus_Ph5yd4DHppEoKr headers: Content-Type: - application/x-www-form-urlencoded @@ -273,7 +277,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:00 GMT + - Thu, 07 Mar 2024 14:19:04 GMT Content-Type: - application/json Content-Length: @@ -298,12 +302,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7d73b16f-db8f-4154-9a72-a0b00a41f62b + - 80234bb3-45b9-4b98-ba00-cd0fbb86b3e2 Original-Request: - - req_wgmphutuU70jnL + - req_x2bd9tQGKFEayC Request-Id: - - req_wgmphutuU70jnL + - req_x2bd9tQGKFEayC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +324,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQpKuuB1fWySn7VRFead3", + "id": "pm_1OrhmjKuuB1fWySnWB6rTEGL", "object": "payment_method", "billing_details": { "address": { @@ -359,11 +365,11 @@ http_interactions: }, "wallet": null }, - "created": 1708989479, - "customer": "cus_PdUPusUuoW8fFz", + "created": 1709821141, + "customer": "cus_Ph5yd4DHppEoKr", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:18:00 GMT + recorded_at: Thu, 07 Mar 2024 14:19:04 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml similarity index 79% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml index 1c3470c1bd..43ed2a08ee 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml @@ -8,20 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LAYTMe7Nu6P06T","request_duration_ms":516}}' + - '{"last_request_metrics":{"request_id":"req_qefyeFX7Psf4sT","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:01 GMT + - Thu, 07 Mar 2024 14:19:04 GMT Content-Type: - application/json Content-Length: @@ -58,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 38ea4148-864e-4b3c-b342-c49dfaddf611 + - f63675b6-130d-4aae-9a39-d93707a0810e Original-Request: - - req_yei1QOYmP48Ixx + - req_MXd4mrfssBhErs Request-Id: - - req_yei1QOYmP48Ixx + - req_MXd4mrfssBhErs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQqKuuB1fWySn5tkpKZvR", + "id": "pm_1OrhmmKuuB1fWySnWnEtlcz0", "object": "payment_method", "billing_details": { "address": { @@ -119,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1708989481, + "created": 1709821144, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:18:01 GMT + recorded_at: Thu, 07 Mar 2024 14:19:04 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -134,20 +136,20 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yei1QOYmP48Ixx","request_duration_ms":502}}' + - '{"last_request_metrics":{"request_id":"req_MXd4mrfssBhErs","request_duration_ms":459}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -160,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:01 GMT + - Thu, 07 Mar 2024 14:19:05 GMT Content-Type: - application/json Content-Length: @@ -184,12 +186,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3a5bf752-3a9f-43dd-ba73-22bcd89b2ec4 + - ad13a8b3-7da9-4291-8cb0-5f8351bc9bdb Original-Request: - - req_H2iOD9Nd3BK612 + - req_80KlXkXSvlUYDB Request-Id: - - req_H2iOD9Nd3BK612 + - req_80KlXkXSvlUYDB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PdUPA7hEQL9h3s", + "id": "cus_Ph5yYQfpmtdyCM", "object": "customer", "address": null, "balance": 0, - "created": 1708989481, + "created": 1709821144, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "79164CB7", + "invoice_prefix": "DA141773", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -232,29 +236,29 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 26 Feb 2024 23:18:01 GMT + recorded_at: Thu, 07 Mar 2024 14:19:05 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OoDQqKuuB1fWySn5tkpKZvR/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OrhmmKuuB1fWySnWnEtlcz0/attach body: encoding: UTF-8 - string: customer=cus_PdUPA7hEQL9h3s + string: customer=cus_Ph5yYQfpmtdyCM headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_H2iOD9Nd3BK612","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_80KlXkXSvlUYDB","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -267,7 +271,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:02 GMT + - Thu, 07 Mar 2024 14:19:05 GMT Content-Type: - application/json Content-Length: @@ -292,12 +296,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f7b99144-55cb-4003-a865-f58ef85f39bb + - 5b819b26-358d-40f2-86a1-c030ab5457d8 Original-Request: - - req_23MVJCpcGmFoMK + - req_WqsP7HpLdlMDTm Request-Id: - - req_23MVJCpcGmFoMK + - req_WqsP7HpLdlMDTm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -312,7 +318,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OoDQqKuuB1fWySn5tkpKZvR", + "id": "pm_1OrhmmKuuB1fWySnWnEtlcz0", "object": "payment_method", "billing_details": { "address": { @@ -353,19 +359,19 @@ http_interactions: }, "wallet": null }, - "created": 1708989481, - "customer": "cus_PdUPA7hEQL9h3s", + "created": 1709821144, + "customer": "cus_Ph5yYQfpmtdyCM", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 26 Feb 2024 23:18:02 GMT + recorded_at: Thu, 07 Mar 2024 14:19:05 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=barbera.tillman%40jacobson.biz + string: expand[0]=sources&email=laquanda.hahn%40roob.biz headers: Content-Type: - application/x-www-form-urlencoded @@ -393,11 +399,11 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:03 GMT + - Thu, 07 Mar 2024 14:19:07 GMT Content-Type: - application/json Content-Length: - - '825' + - '819' Connection: - close Access-Control-Allow-Credentials: @@ -417,12 +423,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 34b2691a-3b11-4371-9215-2fae6e91d1d5 + - 2c863619-4840-48f2-9489-0482bee15eb4 Original-Request: - - req_kKdMsC5shUhnJC + - req_ETQaftk0I6KVpP Request-Id: - - req_kKdMsC5shUhnJC + - req_ETQaftk0I6KVpP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -437,19 +445,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PdUPeD4HvaMVMZ", + "id": "cus_Ph5yNNlC1wfmcO", "object": "customer", "address": null, "balance": 0, - "created": 1708989482, + "created": 1709821146, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "barbera.tillman@jacobson.biz", - "invoice_prefix": "D6DFEF29", + "email": "laquanda.hahn@roob.biz", + "invoice_prefix": "2DEAFDF0", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -468,18 +476,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_PdUPeD4HvaMVMZ/sources" + "url": "/v1/customers/cus_Ph5yNNlC1wfmcO/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 26 Feb 2024 23:18:03 GMT + recorded_at: Thu, 07 Mar 2024 14:19:07 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OoDQqKuuB1fWySn5tkpKZvR/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OrhmmKuuB1fWySnWnEtlcz0/attach body: encoding: UTF-8 - string: customer=cus_PdUPeD4HvaMVMZ + string: customer=cus_Ph5yNNlC1wfmcO headers: Content-Type: - application/x-www-form-urlencoded @@ -507,7 +515,7 @@ http_interactions: Server: - nginx Date: - - Mon, 26 Feb 2024 23:18:03 GMT + - Thu, 07 Mar 2024 14:19:07 GMT Content-Type: - application/json Content-Length: @@ -532,12 +540,14 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 88e451a0-083d-487a-8c02-fc0ecc22163c + - 43aea6ab-58ae-4f29-85f5-1fa9d90422c6 Original-Request: - - req_qoSWUQVXeZ2aUA + - req_UznE0RlLvrEA8x Request-Id: - - req_qoSWUQVXeZ2aUA + - req_UznE0RlLvrEA8x Stripe-Should-Retry: - 'false' Stripe-Version: @@ -554,9 +564,9 @@ http_interactions: { "error": { "message": "The payment method you provided has already been attached to a customer.", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_qoSWUQVXeZ2aUA?t=1708989483", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_UznE0RlLvrEA8x?t=1709821147", "type": "invalid_request_error" } } - recorded_at: Mon, 26 Feb 2024 23:18:03 GMT + recorded_at: Thu, 07 Mar 2024 14:19:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml similarity index 82% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml index dde14f5b26..7b83611e3b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml @@ -8,18 +8,20 @@ http_interactions: string: type=standard&country=AU&email=lettuce.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_IcxiGIPEivuMc9","request_duration_ms":349}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -32,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:26:33 GMT + - Thu, 07 Mar 2024 14:20:02 GMT Content-Type: - application/json Content-Length: @@ -56,12 +58,14 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8962c4d7-4235-40b4-8ae7-3452f5d5bdf6 + - 56afdd6e-06de-4d97-a94f-3c6c268806f6 Original-Request: - - req_bb1i3QF8PMYoCQ + - req_6yMu7c4QxYtK8g Request-Id: - - req_bb1i3QF8PMYoCQ + - req_6yMu7c4QxYtK8g Stripe-Should-Retry: - 'false' Stripe-Version: @@ -76,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Ooeiy4EBxHlGE7s", + "id": "acct_1Orhng4Ksmji0kIH", "object": "account", "business_profile": { "annual_revenue": null, @@ -98,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709094393, + "created": 1709821201, "default_currency": "aud", "details_submitted": false, "email": "lettuce.producer@example.com", @@ -107,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Ooeiy4EBxHlGE7s/external_accounts" + "url": "/v1/accounts/acct_1Orhng4Ksmji0kIH/external_accounts" }, "future_requirements": { "alternatives": [], @@ -204,7 +208,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Wed, 28 Feb 2024 04:26:34 GMT + recorded_at: Thu, 07 Mar 2024 14:20:02 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -213,20 +217,20 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bb1i3QF8PMYoCQ","request_duration_ms":1787}}' + - '{"last_request_metrics":{"request_id":"req_6yMu7c4QxYtK8g","request_duration_ms":2024}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -239,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:26:34 GMT + - Thu, 07 Mar 2024 14:20:02 GMT Content-Type: - application/json Content-Length: @@ -264,8 +268,10 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_36OxSQ2EFRmv16 + - req_8BtYDT2VIHniqr Stripe-Version: - '2023-10-16' Vary: @@ -278,7 +284,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ooej0KuuB1fWySnCoMI8Z8A", + "id": "pm_1OrhniKuuB1fWySnHcIadK2x", "object": "payment_method", "billing_details": { "address": { @@ -302,7 +308,7 @@ http_interactions: }, "country": "US", "display_brand": "mastercard", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "fingerprint": "BL35fEFVcTTS5wpE", "funding": "credit", @@ -319,13 +325,13 @@ http_interactions: }, "wallet": null }, - "created": 1709094394, + "created": 1709821202, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Wed, 28 Feb 2024 04:26:34 GMT + recorded_at: Thu, 07 Mar 2024 14:20:02 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -334,22 +340,22 @@ http_interactions: string: amount=2600¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_36OxSQ2EFRmv16","request_duration_ms":380}}' + - '{"last_request_metrics":{"request_id":"req_8BtYDT2VIHniqr","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ooeiy4EBxHlGE7s + - acct_1Orhng4Ksmji0kIH Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -362,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:26:35 GMT + - Thu, 07 Mar 2024 14:20:04 GMT Content-Type: - application/json Content-Length: @@ -386,14 +392,16 @@ http_interactions: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8de818e2-8e78-4cf6-b562-d91150c136cd + - fe190c51-0703-49aa-a8a5-49411e9bccda Original-Request: - - req_IkRp1OoTjJRHiH + - req_Xll7JlEtBKACFk Request-Id: - - req_IkRp1OoTjJRHiH + - req_Xll7JlEtBKACFk Stripe-Account: - - acct_1Ooeiy4EBxHlGE7s + - acct_1Orhng4Ksmji0kIH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -408,7 +416,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ooej04EBxHlGE7s0bcV528D", + "id": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -422,20 +430,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3Ooej04EBxHlGE7s0bcV528D_secret_6YjzW0BtKkgJwHytmGABXvbKA", + "client_secret": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx_secret_VVCrsTOPodpRlc5blyCIcl908", "confirmation_method": "automatic", - "created": 1709094394, + "created": 1709821203, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ooej04EBxHlGE7s0clvIC9E", + "latest_charge": "ch_3Orhnj4Ksmji0kIH0YoiCyX8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ooej04EBxHlGE7sU7xdsT0R", + "payment_method": "pm_1Orhnj4Ksmji0kIH9aqUSl98", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -460,16 +468,16 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:26:35 GMT + recorded_at: Thu, 07 Mar 2024 14:20:04 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ooej04EBxHlGE7s0bcV528D + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhnj4Ksmji0kIH0CeTC4Sx body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.11.0 Authorization: - Bearer Content-Type: @@ -477,12 +485,12 @@ http_interactions: Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.15.0-92-generic (buildd@lcy02-amd64-002) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) - 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #102~20.04.1-Ubuntu SMP Mon - Jan 15 13:09:14 UTC 2024","hostname":"gaetan-Dell-G15"}' + - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ooeiy4EBxHlGE7s + - acct_1Orhng4Ksmji0kIH Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -495,7 +503,7 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:26:36 GMT + - Thu, 07 Mar 2024 14:20:11 GMT Content-Type: - application/json Content-Length: @@ -520,10 +528,12 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_PAxdlbVLnOfd8n + - req_q8CezmL6Hptp4y Stripe-Account: - - acct_1Ooeiy4EBxHlGE7s + - acct_1Orhng4Ksmji0kIH Stripe-Version: - '2023-10-16' Vary: @@ -536,7 +546,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ooej04EBxHlGE7s0bcV528D", + "id": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -550,20 +560,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3Ooej04EBxHlGE7s0bcV528D_secret_6YjzW0BtKkgJwHytmGABXvbKA", + "client_secret": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx_secret_VVCrsTOPodpRlc5blyCIcl908", "confirmation_method": "automatic", - "created": 1709094394, + "created": 1709821203, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ooej04EBxHlGE7s0clvIC9E", + "latest_charge": "ch_3Orhnj4Ksmji0kIH0YoiCyX8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ooej04EBxHlGE7sU7xdsT0R", + "payment_method": "pm_1Orhnj4Ksmji0kIH9aqUSl98", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -588,10 +598,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:26:36 GMT + recorded_at: Thu, 07 Mar 2024 14:20:11 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ooej04EBxHlGE7s0bcV528D + uri: https://api.stripe.com/v1/payment_intents/pi_3Orhnj4Ksmji0kIH0CeTC4Sx body: encoding: US-ASCII string: '' @@ -607,7 +617,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Ooeiy4EBxHlGE7s + - acct_1Orhng4Ksmji0kIH Connection: - close Accept-Encoding: @@ -622,11 +632,11 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:26:37 GMT + - Thu, 07 Mar 2024 14:20:11 GMT Content-Type: - application/json Content-Length: - - '5160' + - '5159' Connection: - close Access-Control-Allow-Credentials: @@ -647,10 +657,12 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_JmhF7mIJuAy0ah + - req_deOxoguEp3Z19v Stripe-Account: - - acct_1Ooeiy4EBxHlGE7s + - acct_1Orhng4Ksmji0kIH Stripe-Version: - '2020-08-27' Vary: @@ -663,7 +675,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ooej04EBxHlGE7s0bcV528D", + "id": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -681,7 +693,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3Ooej04EBxHlGE7s0clvIC9E", + "id": "ch_3Orhnj4Ksmji0kIH0YoiCyX8", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -689,7 +701,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Ooej04EBxHlGE7s0eYY617n", + "balance_transaction": "txn_3Orhnj4Ksmji0kIH0RoJGnbC", "billing_details": { "address": { "city": null, @@ -705,7 +717,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709094395, + "created": 1709821203, "currency": "aud", "customer": null, "description": null, @@ -725,13 +737,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 26, + "risk_score": 0, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Ooej04EBxHlGE7s0bcV528D", - "payment_method": "pm_1Ooej04EBxHlGE7sU7xdsT0R", + "payment_intent": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", + "payment_method": "pm_1Orhnj4Ksmji0kIH9aqUSl98", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -742,7 +754,7 @@ http_interactions: "cvc_check": "pass" }, "country": "US", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -774,14 +786,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT29laXk0RUJ4SGxHRTdzKPzr-q4GMgbq-nfv4PU6LBZluRZWP743wLV7eYf5QqpZCB60TngSAv_bfmxatmhILOAw3_ebDoedUg7N", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3Jobmc0S3Ntamkwa0lIKJuap68GMgZvwPSxUBE6LBZ9oFdN3uUybzLhXsLPicDaqkkO44TSe7wCoxzbPvB9l2DbllQEVobGwxGG", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3Ooej04EBxHlGE7s0clvIC9E/refunds" + "url": "/v1/charges/ch_3Orhnj4Ksmji0kIH0YoiCyX8/refunds" }, "review": null, "shipping": null, @@ -796,22 +808,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3Ooej04EBxHlGE7s0bcV528D" + "url": "/v1/charges?payment_intent=pi_3Orhnj4Ksmji0kIH0CeTC4Sx" }, - "client_secret": "pi_3Ooej04EBxHlGE7s0bcV528D_secret_6YjzW0BtKkgJwHytmGABXvbKA", + "client_secret": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx_secret_VVCrsTOPodpRlc5blyCIcl908", "confirmation_method": "automatic", - "created": 1709094394, + "created": 1709821203, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ooej04EBxHlGE7s0clvIC9E", + "latest_charge": "ch_3Orhnj4Ksmji0kIH0YoiCyX8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ooej04EBxHlGE7sU7xdsT0R", + "payment_method": "pm_1Orhnj4Ksmji0kIH9aqUSl98", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -836,10 +848,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Wed, 28 Feb 2024 04:26:37 GMT + recorded_at: Thu, 07 Mar 2024 14:20:11 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3Ooej04EBxHlGE7s0clvIC9E/refunds + uri: https://api.stripe.com/v1/charges/ch_3Orhnj4Ksmji0kIH0YoiCyX8/refunds body: encoding: UTF-8 string: amount=2600&expand[0]=charge @@ -857,7 +869,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Ooeiy4EBxHlGE7s + - acct_1Orhng4Ksmji0kIH Connection: - close Accept-Encoding: @@ -872,11 +884,11 @@ http_interactions: Server: - nginx Date: - - Wed, 28 Feb 2024 04:26:38 GMT + - Thu, 07 Mar 2024 14:20:13 GMT Content-Type: - application/json Content-Length: - - '4536' + - '4535' Connection: - close Access-Control-Allow-Credentials: @@ -897,14 +909,16 @@ http_interactions: block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e2f17ffc-a2ed-4644-8f70-36bab187d3e9 + - 8730e848-102b-4d4f-9cb2-49d872bbe7fa Original-Request: - - req_vaOi2rl0Jq2tUI + - req_HBMQQ12OpMAwbg Request-Id: - - req_vaOi2rl0Jq2tUI + - req_HBMQQ12OpMAwbg Stripe-Account: - - acct_1Ooeiy4EBxHlGE7s + - acct_1Orhng4Ksmji0kIH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -919,12 +933,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3Ooej04EBxHlGE7s044y57wq", + "id": "re_3Orhnj4Ksmji0kIH0nZkyHrc", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3Ooej04EBxHlGE7s0x76tB8D", + "balance_transaction": "txn_3Orhnj4Ksmji0kIH0PpTeWyW", "charge": { - "id": "ch_3Ooej04EBxHlGE7s0clvIC9E", + "id": "ch_3Orhnj4Ksmji0kIH0YoiCyX8", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -932,7 +946,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Ooej04EBxHlGE7s0eYY617n", + "balance_transaction": "txn_3Orhnj4Ksmji0kIH0RoJGnbC", "billing_details": { "address": { "city": null, @@ -948,7 +962,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709094395, + "created": 1709821203, "currency": "aud", "customer": null, "description": null, @@ -968,13 +982,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 26, + "risk_score": 0, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Ooej04EBxHlGE7s0bcV528D", - "payment_method": "pm_1Ooej04EBxHlGE7sU7xdsT0R", + "payment_intent": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", + "payment_method": "pm_1Orhnj4Ksmji0kIH9aqUSl98", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -985,7 +999,7 @@ http_interactions: "cvc_check": "pass" }, "country": "US", - "exp_month": 2, + "exp_month": 3, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -1017,18 +1031,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT29laXk0RUJ4SGxHRTdzKP7r-q4GMgYd951VCC46LBZpd1eCBQXvx_HLwJpQoaMklnC6QYgSni4VhYPoAgWqH05kFiAAg46m3yze", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3Jobmc0S3Ntamkwa0lIKJ2ap68GMgbo1ZDRlQE6LBa8o90NOYFxk-WtmcM6PVgLod6VvBCU8djWCpoXoPnM4lGMahhK_OC-RK9_", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3Ooej04EBxHlGE7s044y57wq", + "id": "re_3Orhnj4Ksmji0kIH0nZkyHrc", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3Ooej04EBxHlGE7s0x76tB8D", - "charge": "ch_3Ooej04EBxHlGE7s0clvIC9E", - "created": 1709094397, + "balance_transaction": "txn_3Orhnj4Ksmji0kIH0PpTeWyW", + "charge": "ch_3Orhnj4Ksmji0kIH0YoiCyX8", + "created": 1709821212, "currency": "aud", "destination_details": { "card": { @@ -1039,7 +1053,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Ooej04EBxHlGE7s0bcV528D", + "payment_intent": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1049,7 +1063,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3Ooej04EBxHlGE7s0clvIC9E/refunds" + "url": "/v1/charges/ch_3Orhnj4Ksmji0kIH0YoiCyX8/refunds" }, "review": null, "shipping": null, @@ -1061,7 +1075,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1709094397, + "created": 1709821212, "currency": "aud", "destination_details": { "card": { @@ -1072,12 +1086,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Ooej04EBxHlGE7s0bcV528D", + "payment_intent": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Wed, 28 Feb 2024 04:26:38 GMT + recorded_at: Thu, 07 Mar 2024 14:20:13 GMT recorded_with: VCR 6.2.0 From f126b8b31660027ae6d5826deaf36f5c9ffbb7a8 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 7 Mar 2024 14:41:40 +0000 Subject: [PATCH 076/374] Update Stripe API recordings for new version --- .../saves_the_card_locally.yml | 58 +++--- .../_credit/refunds_the_payment.yml | 134 ++++++------ ...t_intent_state_is_not_requires_capture.yml | 52 ++--- .../_purchase/completes_the_purchase.yml | 122 +++++------ ..._error_message_to_help_developer_debug.yml | 58 +++--- .../refunds_the_payment.yml | 170 +++++++-------- .../void_the_payment.yml | 104 +++++----- ...stroys_the_record_and_notifies_Bugsnag.yml | 20 +- .../destroys_the_record.yml | 42 ++-- .../returns_true.yml | 106 +++++----- .../returns_false.yml | 86 ++++---- .../returns_failed_response.yml | 38 ++-- ...tus_with_Stripe_PaymentIntentValidator.yml | 56 ++--- .../returns_nil.yml | 38 ++-- .../clones_the_payment_method_only.yml | 82 ++++---- ...th_the_payment_method_and_the_customer.yml | 196 +++++++++--------- .../raises_an_error.yml | 26 +-- .../deletes_the_credit_card_clone.yml | 56 ++--- ...the_credit_card_clone_and_the_customer.yml | 84 ++++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_Diners_Club/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_Discover/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_JCB/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_Mastercard/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_UnionPay/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_Visa/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_Visa_debit_/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- ...rd_id_from_the_correct_response_fields.yml | 60 +++--- .../when_request_fails/raises_an_error.yml | 96 ++++----- .../allows_to_refund_the_payment.yml | 168 +++++++-------- 60 files changed, 2632 insertions(+), 2632 deletions(-) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml index 968531e898..5a543442a6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml @@ -32,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:48 GMT + - Thu, 07 Mar 2024 14:38:16 GMT Content-Type: - application/json Content-Length: @@ -59,11 +59,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - efe14657-131e-4db9-808f-a87f15eaa01f + - 1c81519a-c4c3-4674-b4d9-51990997900b Original-Request: - - req_rSCJvIBuQdlw68 + - req_IfRAgx7ZHzZGQd Request-Id: - - req_rSCJvIBuQdlw68 + - req_IfRAgx7ZHzZGQd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,10 +78,10 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "tok_1OrhkaKuuB1fWySnM8AzVJqP", + "id": "tok_1Ori5MKuuB1fWySnsDyySLg8", "object": "token", "card": { - "id": "card_1OrhkZKuuB1fWySnP2xXtiCk", + "id": "card_1Ori5MKuuB1fWySnEb5EBdRx", "object": "card", "address_city": null, "address_country": null, @@ -109,18 +109,18 @@ http_interactions: "wallet": null }, "client_ip": "176.79.242.165", - "created": 1709821008, + "created": 1709822296, "livemode": false, "type": "card", "used": false } - recorded_at: Thu, 07 Mar 2024 14:16:48 GMT + recorded_at: Thu, 07 Mar 2024 14:38:16 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: email=olevia.schumm%40koeppondricka.com&source=tok_1OrhkaKuuB1fWySnM8AzVJqP + string: email=ettie_runte%40stracke.ca&source=tok_1Ori5MKuuB1fWySnsDyySLg8 headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -129,7 +129,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rSCJvIBuQdlw68","request_duration_ms":698}}' + - '{"last_request_metrics":{"request_id":"req_IfRAgx7ZHzZGQd","request_duration_ms":681}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -149,11 +149,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:49 GMT + - Thu, 07 Mar 2024 14:38:17 GMT Content-Type: - application/json Content-Length: - - '670' + - '661' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -176,11 +176,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 39a72761-656d-4911-adc2-40f94e6ae427 + - 848d4255-e485-4459-bfd3-0f037692da20 Original-Request: - - req_9dDtXPOE9Kpo23 + - req_r0UB4vYNGsk1o2 Request-Id: - - req_9dDtXPOE9Kpo23 + - req_r0UB4vYNGsk1o2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -195,18 +195,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph5wyyVZX7uWCo", + "id": "cus_Ph6Hlzag6f8JXI", "object": "customer", "address": null, "balance": 0, - "created": 1709821008, + "created": 1709822297, "currency": null, - "default_source": "card_1OrhkZKuuB1fWySnP2xXtiCk", + "default_source": "card_1Ori5MKuuB1fWySnEb5EBdRx", "delinquent": false, "description": null, "discount": null, - "email": "olevia.schumm@koeppondricka.com", - "invoice_prefix": "60D0C6C3", + "email": "ettie_runte@stracke.ca", + "invoice_prefix": "A46019A5", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -223,10 +223,10 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:16:49 GMT + recorded_at: Thu, 07 Mar 2024 14:38:17 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_Ph5wyyVZX7uWCo/sources?limit=1&object=card + uri: https://api.stripe.com/v1/customers/cus_Ph6Hlzag6f8JXI/sources?limit=1&object=card body: encoding: US-ASCII string: '' @@ -238,7 +238,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9dDtXPOE9Kpo23","request_duration_ms":1090}}' + - '{"last_request_metrics":{"request_id":"req_r0UB4vYNGsk1o2","request_duration_ms":1132}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -258,7 +258,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:50 GMT + - Thu, 07 Mar 2024 14:38:18 GMT Content-Type: - application/json Content-Length: @@ -286,7 +286,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_fQBUTPOEqROOqL + - req_8JCk5jQYHzpR3e Stripe-Version: - '2023-10-16' Vary: @@ -302,7 +302,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1OrhkZKuuB1fWySnP2xXtiCk", + "id": "card_1Ori5MKuuB1fWySnEb5EBdRx", "object": "card", "address_city": null, "address_country": null, @@ -314,7 +314,7 @@ http_interactions: "address_zip_check": null, "brand": "Visa", "country": "US", - "customer": "cus_Ph5wyyVZX7uWCo", + "customer": "cus_Ph6Hlzag6f8JXI", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 9, @@ -329,7 +329,7 @@ http_interactions: } ], "has_more": false, - "url": "/v1/customers/cus_Ph5wyyVZX7uWCo/sources" + "url": "/v1/customers/cus_Ph6Hlzag6f8JXI/sources" } - recorded_at: Thu, 07 Mar 2024 14:16:50 GMT + recorded_at: Thu, 07 Mar 2024 14:38:18 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml index bcf31312a7..246c984b62 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ygyk8WK16L1gRK","request_duration_ms":363}}' + - '{"last_request_metrics":{"request_id":"req_rRIZgTQZWq25t6","request_duration_ms":393}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:33 GMT + - Thu, 07 Mar 2024 14:41:00 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e6810745-fb00-4f83-af75-6a6973817f82 + - 58f94bed-2308-4063-8257-529f11ff5fd8 Original-Request: - - req_dZpbuijhJGzFAH + - req_GCHrCnEDuJUYjZ Request-Id: - - req_dZpbuijhJGzFAH + - req_GCHrCnEDuJUYjZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OrhnDQSCN0LLDld", + "id": "acct_1Ori7y4EToZwgwlv", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709821172, + "created": 1709822459, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -111,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OrhnDQSCN0LLDld/external_accounts" + "url": "/v1/accounts/acct_1Ori7y4EToZwgwlv/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,7 +208,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:19:33 GMT + recorded_at: Thu, 07 Mar 2024 14:41:00 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -223,7 +223,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dZpbuijhJGzFAH","request_duration_ms":1799}}' + - '{"last_request_metrics":{"request_id":"req_GCHrCnEDuJUYjZ","request_duration_ms":1810}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -232,7 +232,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OrhnDQSCN0LLDld + - acct_1Ori7y4EToZwgwlv Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -245,7 +245,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:34 GMT + - Thu, 07 Mar 2024 14:41:01 GMT Content-Type: - application/json Content-Length: @@ -272,13 +272,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ed4c3131-6484-495b-95f2-d70282da3da6 + - 4d24368f-05a2-4222-a178-b5a7b1f2b392 Original-Request: - - req_GMWrNtR4vvIB1h + - req_C7QOEy3slcdnR9 Request-Id: - - req_GMWrNtR4vvIB1h + - req_C7QOEy3slcdnR9 Stripe-Account: - - acct_1OrhnDQSCN0LLDld + - acct_1Ori7y4EToZwgwlv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -293,7 +293,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnFQSCN0LLDld1C0tbXhE", + "id": "pi_3Ori804EToZwgwlv0XZvsZ25", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -307,20 +307,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3OrhnFQSCN0LLDld1C0tbXhE_secret_5YLiS3lolGER5ciJhJXFFXUrw", + "client_secret": "pi_3Ori804EToZwgwlv0XZvsZ25_secret_ERfYN09gqVU5t9krGqjordd7V", "confirmation_method": "automatic", - "created": 1709821173, + "created": 1709822460, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhnFQSCN0LLDld1q6EpWIy", + "latest_charge": "ch_3Ori804EToZwgwlv00H02RoS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnFQSCN0LLDldIsZefyEo", + "payment_method": "pm_1Ori804EToZwgwlvfAG4ONtm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -345,10 +345,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:35 GMT + recorded_at: Thu, 07 Mar 2024 14:41:01 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnFQSCN0LLDld1C0tbXhE + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori804EToZwgwlv0XZvsZ25 body: encoding: US-ASCII string: '' @@ -364,7 +364,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OrhnDQSCN0LLDld + - acct_1Ori7y4EToZwgwlv Connection: - close Accept-Encoding: @@ -379,7 +379,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:35 GMT + - Thu, 07 Mar 2024 14:41:02 GMT Content-Type: - application/json Content-Length: @@ -407,9 +407,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_LzqtUZUE9VW6dM + - req_sNpY2fLjUrsyZI Stripe-Account: - - acct_1OrhnDQSCN0LLDld + - acct_1Ori7y4EToZwgwlv Stripe-Version: - '2020-08-27' Vary: @@ -422,7 +422,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnFQSCN0LLDld1C0tbXhE", + "id": "pi_3Ori804EToZwgwlv0XZvsZ25", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -440,7 +440,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OrhnFQSCN0LLDld1q6EpWIy", + "id": "ch_3Ori804EToZwgwlv00H02RoS", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -448,7 +448,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OrhnFQSCN0LLDld1AMvB9YV", + "balance_transaction": "txn_3Ori804EToZwgwlv04i6OcIL", "billing_details": { "address": { "city": null, @@ -464,7 +464,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709821174, + "created": 1709822460, "currency": "aud", "customer": null, "description": null, @@ -484,13 +484,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 38, + "risk_score": 28, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OrhnFQSCN0LLDld1C0tbXhE", - "payment_method": "pm_1OrhnFQSCN0LLDldIsZefyEo", + "payment_intent": "pi_3Ori804EToZwgwlv0XZvsZ25", + "payment_method": "pm_1Ori804EToZwgwlvfAG4ONtm", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -533,14 +533,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JobkRRU0NOMExMRGxkKPeZp68GMgbruyIr0OE6LBboqGQcq-ZYRddqsw6WwrpPH8jFDtjxSpSbxnwzHUGSkMffIJWRyfMPLerE", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpN3k0RVRvWndnd2x2KP6jp68GMgZ9in9bA1U6LBZWW1INYd6LlSeTCie_7VzSPLXrEFJ1RcOHx8CJVwPWf81exteTbpQ9ysC2", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OrhnFQSCN0LLDld1q6EpWIy/refunds" + "url": "/v1/charges/ch_3Ori804EToZwgwlv00H02RoS/refunds" }, "review": null, "shipping": null, @@ -555,22 +555,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OrhnFQSCN0LLDld1C0tbXhE" + "url": "/v1/charges?payment_intent=pi_3Ori804EToZwgwlv0XZvsZ25" }, - "client_secret": "pi_3OrhnFQSCN0LLDld1C0tbXhE_secret_5YLiS3lolGER5ciJhJXFFXUrw", + "client_secret": "pi_3Ori804EToZwgwlv0XZvsZ25_secret_ERfYN09gqVU5t9krGqjordd7V", "confirmation_method": "automatic", - "created": 1709821173, + "created": 1709822460, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhnFQSCN0LLDld1q6EpWIy", + "latest_charge": "ch_3Ori804EToZwgwlv00H02RoS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnFQSCN0LLDldIsZefyEo", + "payment_method": "pm_1Ori804EToZwgwlvfAG4ONtm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -595,10 +595,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:35 GMT + recorded_at: Thu, 07 Mar 2024 14:41:02 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3OrhnFQSCN0LLDld1q6EpWIy/refunds + uri: https://api.stripe.com/v1/charges/ch_3Ori804EToZwgwlv00H02RoS/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -616,7 +616,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OrhnDQSCN0LLDld + - acct_1Ori7y4EToZwgwlv Connection: - close Accept-Encoding: @@ -631,7 +631,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:37 GMT + - Thu, 07 Mar 2024 14:41:03 GMT Content-Type: - application/json Content-Length: @@ -659,13 +659,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9bb79ed5-1241-4a28-95e7-571dda6b0a5e + - 42b58602-bcb0-40f2-838a-7b773748cbda Original-Request: - - req_6P4nadn8rlGh4g + - req_CNRAdlowwUwKyv Request-Id: - - req_6P4nadn8rlGh4g + - req_CNRAdlowwUwKyv Stripe-Account: - - acct_1OrhnDQSCN0LLDld + - acct_1Ori7y4EToZwgwlv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -680,12 +680,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3OrhnFQSCN0LLDld1xQ6V9BF", + "id": "re_3Ori804EToZwgwlv0T3FprZo", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OrhnFQSCN0LLDld1WfC627L", + "balance_transaction": "txn_3Ori804EToZwgwlv0DRH0hfo", "charge": { - "id": "ch_3OrhnFQSCN0LLDld1q6EpWIy", + "id": "ch_3Ori804EToZwgwlv00H02RoS", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -693,7 +693,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OrhnFQSCN0LLDld1AMvB9YV", + "balance_transaction": "txn_3Ori804EToZwgwlv04i6OcIL", "billing_details": { "address": { "city": null, @@ -709,7 +709,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709821174, + "created": 1709822460, "currency": "aud", "customer": null, "description": null, @@ -729,13 +729,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 38, + "risk_score": 28, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OrhnFQSCN0LLDld1C0tbXhE", - "payment_method": "pm_1OrhnFQSCN0LLDldIsZefyEo", + "payment_intent": "pi_3Ori804EToZwgwlv0XZvsZ25", + "payment_method": "pm_1Ori804EToZwgwlvfAG4ONtm", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -778,18 +778,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JobkRRU0NOMExMRGxkKPiZp68GMgYdkVGaq586LBbzOMT9qY9iDFLIrk97Tf1Vzih8qbqCyXt4FMhNpixylEnzm8LXQW93e0kS", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpN3k0RVRvWndnd2x2KP-jp68GMgZbKoJXIf46LBZehIhNz4RlbYhHERLw8zLIoBFQ__lSgRI1LMa_-ATyCr9_50WvSNuEV6jl", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3OrhnFQSCN0LLDld1xQ6V9BF", + "id": "re_3Ori804EToZwgwlv0T3FprZo", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OrhnFQSCN0LLDld1WfC627L", - "charge": "ch_3OrhnFQSCN0LLDld1q6EpWIy", - "created": 1709821176, + "balance_transaction": "txn_3Ori804EToZwgwlv0DRH0hfo", + "charge": "ch_3Ori804EToZwgwlv00H02RoS", + "created": 1709822463, "currency": "aud", "destination_details": { "card": { @@ -800,7 +800,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OrhnFQSCN0LLDld1C0tbXhE", + "payment_intent": "pi_3Ori804EToZwgwlv0XZvsZ25", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -810,7 +810,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3OrhnFQSCN0LLDld1q6EpWIy/refunds" + "url": "/v1/charges/ch_3Ori804EToZwgwlv00H02RoS/refunds" }, "review": null, "shipping": null, @@ -822,7 +822,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1709821176, + "created": 1709822463, "currency": "aud", "destination_details": { "card": { @@ -833,12 +833,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OrhnFQSCN0LLDld1C0tbXhE", + "payment_intent": "pi_3Ori804EToZwgwlv0XZvsZ25", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 07 Mar 2024 14:19:37 GMT + recorded_at: Thu, 07 Mar 2024 14:41:03 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml index 26a32b4ce5..f6c187182d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GMWrNtR4vvIB1h","request_duration_ms":1553}}' + - '{"last_request_metrics":{"request_id":"req_C7QOEy3slcdnR9","request_duration_ms":1419}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:39 GMT + - Thu, 07 Mar 2024 14:41:06 GMT Content-Type: - application/json Content-Length: @@ -62,7 +62,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_WQoM9s4npzzwFM + - req_aqokX0boDYvpUt Stripe-Version: - '2023-10-16' Vary: @@ -75,7 +75,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhnLKuuB1fWySnZx07IdzL", + "id": "pm_1Ori86KuuB1fWySnurYGVy9H", "object": "payment_method", "billing_details": { "address": { @@ -116,19 +116,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821179, + "created": 1709822466, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:39 GMT + recorded_at: Thu, 07 Mar 2024 14:41:06 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OrhnLKuuB1fWySnZx07IdzL&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1Ori86KuuB1fWySnurYGVy9H&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -137,7 +137,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WQoM9s4npzzwFM","request_duration_ms":466}}' + - '{"last_request_metrics":{"request_id":"req_aqokX0boDYvpUt","request_duration_ms":418}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -157,7 +157,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:39 GMT + - Thu, 07 Mar 2024 14:41:06 GMT Content-Type: - application/json Content-Length: @@ -184,11 +184,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8c0544c8-07d0-425d-8732-c7177fe5f5e7 + - 52dd9c2f-e901-4555-bb6f-1423ff2769d9 Original-Request: - - req_bre1PSWvkolkr0 + - req_gX0WQsuDgkgjOd Request-Id: - - req_bre1PSWvkolkr0 + - req_gX0WQsuDgkgjOd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -203,7 +203,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnLKuuB1fWySn16uMnfxL", + "id": "pi_3Ori86KuuB1fWySn2KSuRXgr", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -217,9 +217,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnLKuuB1fWySn16uMnfxL_secret_Imdl0qQega6u3ahtGL12Ullnz", + "client_secret": "pi_3Ori86KuuB1fWySn2KSuRXgr_secret_EOP6SxcCrsmmqPDh5wYTYXsqa", "confirmation_method": "automatic", - "created": 1709821179, + "created": 1709822466, "currency": "aud", "customer": null, "description": null, @@ -230,7 +230,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnLKuuB1fWySnZx07IdzL", + "payment_method": "pm_1Ori86KuuB1fWySnurYGVy9H", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -255,10 +255,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:39 GMT + recorded_at: Thu, 07 Mar 2024 14:41:06 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnLKuuB1fWySn16uMnfxL + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori86KuuB1fWySn2KSuRXgr body: encoding: US-ASCII string: '' @@ -270,7 +270,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bre1PSWvkolkr0","request_duration_ms":503}}' + - '{"last_request_metrics":{"request_id":"req_gX0WQsuDgkgjOd","request_duration_ms":502}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -290,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:40 GMT + - Thu, 07 Mar 2024 14:41:07 GMT Content-Type: - application/json Content-Length: @@ -318,7 +318,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_pLPlchMFwozqR0 + - req_ogaznpXJbLOhKJ Stripe-Version: - '2023-10-16' Vary: @@ -331,7 +331,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnLKuuB1fWySn16uMnfxL", + "id": "pi_3Ori86KuuB1fWySn2KSuRXgr", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -345,9 +345,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnLKuuB1fWySn16uMnfxL_secret_Imdl0qQega6u3ahtGL12Ullnz", + "client_secret": "pi_3Ori86KuuB1fWySn2KSuRXgr_secret_EOP6SxcCrsmmqPDh5wYTYXsqa", "confirmation_method": "automatic", - "created": 1709821179, + "created": 1709822466, "currency": "aud", "customer": null, "description": null, @@ -358,7 +358,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnLKuuB1fWySnZx07IdzL", + "payment_method": "pm_1Ori86KuuB1fWySnurYGVy9H", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -383,5 +383,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:40 GMT + recorded_at: Thu, 07 Mar 2024 14:41:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml index 1986057ba1..9e6daac7f5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WqsP7HpLdlMDTm","request_duration_ms":714}}' + - '{"last_request_metrics":{"request_id":"req_Q7gqqiErJzAxsZ","request_duration_ms":712}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:08 GMT + - Thu, 07 Mar 2024 14:40:35 GMT Content-Type: - application/json Content-Length: @@ -62,7 +62,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_4F3j1jwfnoJWeO + - req_extR6H8TnlNpjp Stripe-Version: - '2023-10-16' Vary: @@ -75,7 +75,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmpKuuB1fWySn6b1NU9vH", + "id": "pm_1Ori7bKuuB1fWySnc7TeWX6s", "object": "payment_method", "billing_details": { "address": { @@ -116,19 +116,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821147, + "created": 1709822435, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:08 GMT + recorded_at: Thu, 07 Mar 2024 14:40:35 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OrhmpKuuB1fWySn6b1NU9vH&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1Ori7bKuuB1fWySnc7TeWX6s&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -137,7 +137,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4F3j1jwfnoJWeO","request_duration_ms":378}}' + - '{"last_request_metrics":{"request_id":"req_extR6H8TnlNpjp","request_duration_ms":441}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -157,7 +157,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:08 GMT + - Thu, 07 Mar 2024 14:40:35 GMT Content-Type: - application/json Content-Length: @@ -184,11 +184,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - acd38dd6-7888-4bdc-9359-09cb0032bbc6 + - 6bc3a06e-7d2b-4999-8ad1-452dda3bf918 Original-Request: - - req_wB774p5SnF7jhy + - req_ZciWQHHwiVu7Tl Request-Id: - - req_wB774p5SnF7jhy + - req_ZciWQHHwiVu7Tl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -203,7 +203,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmqKuuB1fWySn2RmKyCOp", + "id": "pi_3Ori7bKuuB1fWySn0Hz617b7", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -217,9 +217,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmqKuuB1fWySn2RmKyCOp_secret_OaOy9a8W260ul2rosotYIXmri", + "client_secret": "pi_3Ori7bKuuB1fWySn0Hz617b7_secret_h9iOir7i7wge1d1by0DWBnNJB", "confirmation_method": "automatic", - "created": 1709821148, + "created": 1709822435, "currency": "aud", "customer": null, "description": null, @@ -230,7 +230,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmpKuuB1fWySn6b1NU9vH", + "payment_method": "pm_1Ori7bKuuB1fWySnc7TeWX6s", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -255,10 +255,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:08 GMT + recorded_at: Thu, 07 Mar 2024 14:40:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmqKuuB1fWySn2RmKyCOp/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7bKuuB1fWySn0Hz617b7/confirm body: encoding: US-ASCII string: '' @@ -270,7 +270,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wB774p5SnF7jhy","request_duration_ms":471}}' + - '{"last_request_metrics":{"request_id":"req_ZciWQHHwiVu7Tl","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -290,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:09 GMT + - Thu, 07 Mar 2024 14:40:36 GMT Content-Type: - application/json Content-Length: @@ -318,11 +318,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a7620551-afc8-4209-8cdd-2905cee40060 + - 9fc51b3f-ca67-4d20-b596-82943005fe07 Original-Request: - - req_QJPtIl7TbEqclv + - req_FXb1036EBrwN6n Request-Id: - - req_QJPtIl7TbEqclv + - req_FXb1036EBrwN6n Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,7 +337,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmqKuuB1fWySn2RmKyCOp", + "id": "pi_3Ori7bKuuB1fWySn0Hz617b7", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -351,20 +351,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmqKuuB1fWySn2RmKyCOp_secret_OaOy9a8W260ul2rosotYIXmri", + "client_secret": "pi_3Ori7bKuuB1fWySn0Hz617b7_secret_h9iOir7i7wge1d1by0DWBnNJB", "confirmation_method": "automatic", - "created": 1709821148, + "created": 1709822435, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmqKuuB1fWySn2h1hoeCG", + "latest_charge": "ch_3Ori7bKuuB1fWySn0kMqeLbX", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmpKuuB1fWySn6b1NU9vH", + "payment_method": "pm_1Ori7bKuuB1fWySnc7TeWX6s", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -389,10 +389,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:09 GMT + recorded_at: Thu, 07 Mar 2024 14:40:36 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmqKuuB1fWySn2RmKyCOp + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7bKuuB1fWySn0Hz617b7 body: encoding: US-ASCII string: '' @@ -404,7 +404,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QJPtIl7TbEqclv","request_duration_ms":1156}}' + - '{"last_request_metrics":{"request_id":"req_FXb1036EBrwN6n","request_duration_ms":1017}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -424,7 +424,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:12 GMT + - Thu, 07 Mar 2024 14:40:39 GMT Content-Type: - application/json Content-Length: @@ -452,7 +452,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_BEo56CdEMUWkav + - req_rL6qFnczJkl2cK Stripe-Version: - '2023-10-16' Vary: @@ -465,7 +465,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmqKuuB1fWySn2RmKyCOp", + "id": "pi_3Ori7bKuuB1fWySn0Hz617b7", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -479,20 +479,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmqKuuB1fWySn2RmKyCOp_secret_OaOy9a8W260ul2rosotYIXmri", + "client_secret": "pi_3Ori7bKuuB1fWySn0Hz617b7_secret_h9iOir7i7wge1d1by0DWBnNJB", "confirmation_method": "automatic", - "created": 1709821148, + "created": 1709822435, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmqKuuB1fWySn2h1hoeCG", + "latest_charge": "ch_3Ori7bKuuB1fWySn0kMqeLbX", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmpKuuB1fWySn6b1NU9vH", + "payment_method": "pm_1Ori7bKuuB1fWySnc7TeWX6s", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -517,10 +517,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:13 GMT + recorded_at: Thu, 07 Mar 2024 14:40:40 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmqKuuB1fWySn2RmKyCOp/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7bKuuB1fWySn0Hz617b7/capture body: encoding: UTF-8 string: amount_to_capture=1000 @@ -551,11 +551,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:14 GMT + - Thu, 07 Mar 2024 14:40:41 GMT Content-Type: - application/json Content-Length: - - '5163' + - '5162' Connection: - close Access-Control-Allow-Credentials: @@ -579,11 +579,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 59777b65-bcee-4621-a8ab-a3fd5438ced8 + - be2e58f1-3111-4244-8174-d6516b1baf2a Original-Request: - - req_gqfIac5fu82Hk3 + - req_nBmMWrzSdXxOLZ Request-Id: - - req_gqfIac5fu82Hk3 + - req_nBmMWrzSdXxOLZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -598,7 +598,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmqKuuB1fWySn2RmKyCOp", + "id": "pi_3Ori7bKuuB1fWySn0Hz617b7", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -616,7 +616,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OrhmqKuuB1fWySn2h1hoeCG", + "id": "ch_3Ori7bKuuB1fWySn0kMqeLbX", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -625,7 +625,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OrhmqKuuB1fWySn2wcWkg9q", + "balance_transaction": "txn_3Ori7bKuuB1fWySn0CNHYjdh", "billing_details": { "address": { "city": null, @@ -641,7 +641,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709821149, + "created": 1709822436, "currency": "aud", "customer": null, "description": null, @@ -661,18 +661,18 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 38, + "risk_score": 5, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OrhmqKuuB1fWySn2RmKyCOp", - "payment_method": "pm_1OrhmpKuuB1fWySn6b1NU9vH", + "payment_intent": "pi_3Ori7bKuuB1fWySn0Hz617b7", + "payment_method": "pm_1Ori7bKuuB1fWySnc7TeWX6s", "payment_method_details": { "card": { "amount_authorized": 1000, "brand": "mastercard", - "capture_before": 1710425949, + "capture_before": 1710427236, "checks": { "address_line1_check": null, "address_postal_code_check": null, @@ -711,14 +711,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKOKZp68GMgaiCOKW-D46LBaS2OPupRDPIY3ga-8lZ94YpSS1Kp1uq4DPHTVq2aWsmWex9ZjgG-VT3E87", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKOmjp68GMgZfeKOuXEI6LBY3RRJ5TwebsH9iZuFoDL8mvOWaF3BACOf2kgbGhqQac12m65RooRH7B1b8", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OrhmqKuuB1fWySn2h1hoeCG/refunds" + "url": "/v1/charges/ch_3Ori7bKuuB1fWySn0kMqeLbX/refunds" }, "review": null, "shipping": null, @@ -733,22 +733,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OrhmqKuuB1fWySn2RmKyCOp" + "url": "/v1/charges?payment_intent=pi_3Ori7bKuuB1fWySn0Hz617b7" }, - "client_secret": "pi_3OrhmqKuuB1fWySn2RmKyCOp_secret_OaOy9a8W260ul2rosotYIXmri", + "client_secret": "pi_3Ori7bKuuB1fWySn0Hz617b7_secret_h9iOir7i7wge1d1by0DWBnNJB", "confirmation_method": "automatic", - "created": 1709821148, + "created": 1709822435, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmqKuuB1fWySn2h1hoeCG", + "latest_charge": "ch_3Ori7bKuuB1fWySn0kMqeLbX", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmpKuuB1fWySn6b1NU9vH", + "payment_method": "pm_1Ori7bKuuB1fWySnc7TeWX6s", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -773,5 +773,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:14 GMT + recorded_at: Thu, 07 Mar 2024 14:40:41 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml index 0969d953a6..91a0a458a4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BEo56CdEMUWkav","request_duration_ms":332}}' + - '{"last_request_metrics":{"request_id":"req_rL6qFnczJkl2cK","request_duration_ms":418}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:14 GMT + - Thu, 07 Mar 2024 14:40:41 GMT Content-Type: - application/json Content-Length: @@ -62,7 +62,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_UrgwLrchJNqZ6X + - req_oD7G8nRL98LYn0 Stripe-Version: - '2023-10-16' Vary: @@ -75,7 +75,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmwKuuB1fWySnYjUc3D2k", + "id": "pm_1Ori7hKuuB1fWySnTGDFyiVb", "object": "payment_method", "billing_details": { "address": { @@ -116,19 +116,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821154, + "created": 1709822441, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:14 GMT + recorded_at: Thu, 07 Mar 2024 14:40:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OrhmwKuuB1fWySnYjUc3D2k&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1Ori7hKuuB1fWySnTGDFyiVb&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -137,7 +137,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UrgwLrchJNqZ6X","request_duration_ms":535}}' + - '{"last_request_metrics":{"request_id":"req_oD7G8nRL98LYn0","request_duration_ms":469}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -157,7 +157,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:15 GMT + - Thu, 07 Mar 2024 14:40:42 GMT Content-Type: - application/json Content-Length: @@ -184,11 +184,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 138e360e-617f-42a6-8c51-b3738af98438 + - 73b33219-a093-42a4-a200-6659b38f6d38 Original-Request: - - req_0FMX0jlHqDJypX + - req_epc3Nytguy0CVE Request-Id: - - req_0FMX0jlHqDJypX + - req_epc3Nytguy0CVE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -203,7 +203,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmxKuuB1fWySn2kkdofEf", + "id": "pi_3Ori7iKuuB1fWySn2BlEJ68R", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -217,9 +217,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmxKuuB1fWySn2kkdofEf_secret_CsRs7lnutix6HchZSNPoEc86W", + "client_secret": "pi_3Ori7iKuuB1fWySn2BlEJ68R_secret_abMGB9CzVQ2jyWao7cThW33oG", "confirmation_method": "automatic", - "created": 1709821155, + "created": 1709822442, "currency": "aud", "customer": null, "description": null, @@ -230,7 +230,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmwKuuB1fWySnYjUc3D2k", + "payment_method": "pm_1Ori7hKuuB1fWySnTGDFyiVb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -255,10 +255,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:15 GMT + recorded_at: Thu, 07 Mar 2024 14:40:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmxKuuB1fWySn2kkdofEf/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7iKuuB1fWySn2BlEJ68R/confirm body: encoding: US-ASCII string: '' @@ -270,7 +270,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0FMX0jlHqDJypX","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_epc3Nytguy0CVE","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -290,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:16 GMT + - Thu, 07 Mar 2024 14:40:43 GMT Content-Type: - application/json Content-Length: @@ -318,11 +318,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 16a0eaf8-127a-473f-a24a-565c0cae61be + - 3aea583c-514c-4bb3-a52c-9ef2219cccf5 Original-Request: - - req_wvOne3JGLQ390F + - req_HG6AcgFqizEawo Request-Id: - - req_wvOne3JGLQ390F + - req_HG6AcgFqizEawo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,7 +337,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmxKuuB1fWySn2kkdofEf", + "id": "pi_3Ori7iKuuB1fWySn2BlEJ68R", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -351,20 +351,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmxKuuB1fWySn2kkdofEf_secret_CsRs7lnutix6HchZSNPoEc86W", + "client_secret": "pi_3Ori7iKuuB1fWySn2BlEJ68R_secret_abMGB9CzVQ2jyWao7cThW33oG", "confirmation_method": "automatic", - "created": 1709821155, + "created": 1709822442, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmxKuuB1fWySn2yJmUWW4", + "latest_charge": "ch_3Ori7iKuuB1fWySn2AfTfhHW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmwKuuB1fWySnYjUc3D2k", + "payment_method": "pm_1Ori7hKuuB1fWySnTGDFyiVb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -389,5 +389,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:16 GMT + recorded_at: Thu, 07 Mar 2024 14:40:43 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml index ed7dc484fe..c8ff4293a2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wvOne3JGLQ390F","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_HG6AcgFqizEawo","request_duration_ms":1019}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:19 GMT + - Thu, 07 Mar 2024 14:40:46 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2664dca6-bf6f-4a8a-8051-5820f9cbde6a + - b4e01478-5a3e-4ef0-a340-b04b7583ce92 Original-Request: - - req_tSHV4U4jV9emJj + - req_hSgnju1DbcJ03r Request-Id: - - req_tSHV4U4jV9emJj + - req_hSgnju1DbcJ03r Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Orhn04FrUFBjYOL", + "id": "acct_1Ori7lQNzByhKcyV", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709821159, + "created": 1709822446, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -111,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Orhn04FrUFBjYOL/external_accounts" + "url": "/v1/accounts/acct_1Ori7lQNzByhKcyV/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,7 +208,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:19:19 GMT + recorded_at: Thu, 07 Mar 2024 14:40:46 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -223,7 +223,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tSHV4U4jV9emJj","request_duration_ms":1753}}' + - '{"last_request_metrics":{"request_id":"req_hSgnju1DbcJ03r","request_duration_ms":1738}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:21 GMT + - Thu, 07 Mar 2024 14:40:48 GMT Content-Type: - application/json Content-Length: @@ -271,7 +271,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_gjJTVa00UBYyO0 + - req_CysEnpXKEhhAB7 Stripe-Version: - '2023-10-16' Vary: @@ -284,7 +284,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Orhn3KuuB1fWySnLQJsYqqW", + "id": "pm_1Ori7oKuuB1fWySnyRT14auJ", "object": "payment_method", "billing_details": { "address": { @@ -325,13 +325,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821161, + "created": 1709822448, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:22 GMT + recorded_at: Thu, 07 Mar 2024 14:40:48 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -346,7 +346,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gjJTVa00UBYyO0","request_duration_ms":423}}' + - '{"last_request_metrics":{"request_id":"req_CysEnpXKEhhAB7","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -355,7 +355,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Orhn04FrUFBjYOL + - acct_1Ori7lQNzByhKcyV Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -368,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:23 GMT + - Thu, 07 Mar 2024 14:40:50 GMT Content-Type: - application/json Content-Length: @@ -395,13 +395,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9acee8d8-13f6-441b-9496-8a9ad23077db + - 8fbeb5aa-1829-42c0-bbf3-7865316a354b Original-Request: - - req_4toJOmUTC0cfV1 + - req_RzL62c4KT1iFLZ Request-Id: - - req_4toJOmUTC0cfV1 + - req_RzL62c4KT1iFLZ Stripe-Account: - - acct_1Orhn04FrUFBjYOL + - acct_1Ori7lQNzByhKcyV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -416,7 +416,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhn44FrUFBjYOL0n5bFAAu", + "id": "pi_3Ori7oQNzByhKcyV0vKsfqj9", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -430,20 +430,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3Orhn44FrUFBjYOL0n5bFAAu_secret_5MHRrTs4GvdzrZO4EddahFOHZ", + "client_secret": "pi_3Ori7oQNzByhKcyV0vKsfqj9_secret_tBaKatvGWTAPkL8jlHAbnjkCF", "confirmation_method": "automatic", - "created": 1709821162, + "created": 1709822448, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhn44FrUFBjYOL08DhotfJ", + "latest_charge": "ch_3Ori7oQNzByhKcyV04k4gTbF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhn44FrUFBjYOLqsKTMhRM", + "payment_method": "pm_1Ori7oQNzByhKcyVfSDNLaW1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -468,10 +468,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:23 GMT + recorded_at: Thu, 07 Mar 2024 14:40:50 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhn44FrUFBjYOL0n5bFAAu + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7oQNzByhKcyV0vKsfqj9 body: encoding: US-ASCII string: '' @@ -483,7 +483,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4toJOmUTC0cfV1","request_duration_ms":1360}}' + - '{"last_request_metrics":{"request_id":"req_RzL62c4KT1iFLZ","request_duration_ms":1525}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -492,7 +492,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Orhn04FrUFBjYOL + - acct_1Ori7lQNzByhKcyV Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:23 GMT + - Thu, 07 Mar 2024 14:40:50 GMT Content-Type: - application/json Content-Length: @@ -533,9 +533,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_ezRhnpKvkGFpfY + - req_xAG8WAPFTuUajm Stripe-Account: - - acct_1Orhn04FrUFBjYOL + - acct_1Ori7lQNzByhKcyV Stripe-Version: - '2023-10-16' Vary: @@ -548,7 +548,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhn44FrUFBjYOL0n5bFAAu", + "id": "pi_3Ori7oQNzByhKcyV0vKsfqj9", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -562,20 +562,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3Orhn44FrUFBjYOL0n5bFAAu_secret_5MHRrTs4GvdzrZO4EddahFOHZ", + "client_secret": "pi_3Ori7oQNzByhKcyV0vKsfqj9_secret_tBaKatvGWTAPkL8jlHAbnjkCF", "confirmation_method": "automatic", - "created": 1709821162, + "created": 1709822448, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhn44FrUFBjYOL08DhotfJ", + "latest_charge": "ch_3Ori7oQNzByhKcyV04k4gTbF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhn44FrUFBjYOLqsKTMhRM", + "payment_method": "pm_1Ori7oQNzByhKcyVfSDNLaW1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -600,10 +600,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:23 GMT + recorded_at: Thu, 07 Mar 2024 14:40:50 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhn44FrUFBjYOL0n5bFAAu + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7oQNzByhKcyV0vKsfqj9 body: encoding: US-ASCII string: '' @@ -619,7 +619,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Orhn04FrUFBjYOL + - acct_1Ori7lQNzByhKcyV Connection: - close Accept-Encoding: @@ -634,7 +634,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:24 GMT + - Thu, 07 Mar 2024 14:40:51 GMT Content-Type: - application/json Content-Length: @@ -662,9 +662,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_0C7GxfipgGbfwr + - req_SO7qVysGRbA1LK Stripe-Account: - - acct_1Orhn04FrUFBjYOL + - acct_1Ori7lQNzByhKcyV Stripe-Version: - '2020-08-27' Vary: @@ -677,7 +677,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhn44FrUFBjYOL0n5bFAAu", + "id": "pi_3Ori7oQNzByhKcyV0vKsfqj9", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -695,7 +695,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3Orhn44FrUFBjYOL08DhotfJ", + "id": "ch_3Ori7oQNzByhKcyV04k4gTbF", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -703,7 +703,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Orhn44FrUFBjYOL0ZzeZX2B", + "balance_transaction": "txn_3Ori7oQNzByhKcyV00Vj7SNB", "billing_details": { "address": { "city": null, @@ -719,7 +719,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709821162, + "created": 1709822449, "currency": "aud", "customer": null, "description": null, @@ -739,13 +739,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 49, + "risk_score": 12, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Orhn44FrUFBjYOL0n5bFAAu", - "payment_method": "pm_1Orhn44FrUFBjYOLqsKTMhRM", + "payment_intent": "pi_3Ori7oQNzByhKcyV0vKsfqj9", + "payment_method": "pm_1Ori7oQNzByhKcyVfSDNLaW1", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -788,14 +788,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JobjA0RnJVRkJqWU9MKOyZp68GMgazoaS7MjQ6LBZbpkXMQJX0friCIrAH374RHqC-sQ5J05eEfIk_yRmlGaMAzg5ko_y6qJd4", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpN2xRTnpCeWhLY3lWKPOjp68GMgat2teo_yU6LBZei8EE6O-IBRXMYrMgqsuepvAzRVb5q6F5IN_Qa5YztW6AYcMCi2vW4zOE", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3Orhn44FrUFBjYOL08DhotfJ/refunds" + "url": "/v1/charges/ch_3Ori7oQNzByhKcyV04k4gTbF/refunds" }, "review": null, "shipping": null, @@ -810,22 +810,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3Orhn44FrUFBjYOL0n5bFAAu" + "url": "/v1/charges?payment_intent=pi_3Ori7oQNzByhKcyV0vKsfqj9" }, - "client_secret": "pi_3Orhn44FrUFBjYOL0n5bFAAu_secret_5MHRrTs4GvdzrZO4EddahFOHZ", + "client_secret": "pi_3Ori7oQNzByhKcyV0vKsfqj9_secret_tBaKatvGWTAPkL8jlHAbnjkCF", "confirmation_method": "automatic", - "created": 1709821162, + "created": 1709822448, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhn44FrUFBjYOL08DhotfJ", + "latest_charge": "ch_3Ori7oQNzByhKcyV04k4gTbF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhn44FrUFBjYOLqsKTMhRM", + "payment_method": "pm_1Ori7oQNzByhKcyVfSDNLaW1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -850,10 +850,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:24 GMT + recorded_at: Thu, 07 Mar 2024 14:40:51 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3Orhn44FrUFBjYOL08DhotfJ/refunds + uri: https://api.stripe.com/v1/charges/ch_3Ori7oQNzByhKcyV04k4gTbF/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -871,7 +871,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Orhn04FrUFBjYOL + - acct_1Ori7lQNzByhKcyV Connection: - close Accept-Encoding: @@ -886,7 +886,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:26 GMT + - Thu, 07 Mar 2024 14:40:52 GMT Content-Type: - application/json Content-Length: @@ -914,13 +914,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1d819f46-cc53-41db-920a-4900d72a6a42 + - e84843e9-8faf-4829-a6ab-3dba02da1d27 Original-Request: - - req_sbC5GgIk8uyjco + - req_PrKSNSscx5aeaF Request-Id: - - req_sbC5GgIk8uyjco + - req_PrKSNSscx5aeaF Stripe-Account: - - acct_1Orhn04FrUFBjYOL + - acct_1Ori7lQNzByhKcyV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -935,12 +935,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3Orhn44FrUFBjYOL0zl9V2GA", + "id": "re_3Ori7oQNzByhKcyV0zHkdR4Q", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3Orhn44FrUFBjYOL0Vqrr6WC", + "balance_transaction": "txn_3Ori7oQNzByhKcyV0tTK1tp4", "charge": { - "id": "ch_3Orhn44FrUFBjYOL08DhotfJ", + "id": "ch_3Ori7oQNzByhKcyV04k4gTbF", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -948,7 +948,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Orhn44FrUFBjYOL0ZzeZX2B", + "balance_transaction": "txn_3Ori7oQNzByhKcyV00Vj7SNB", "billing_details": { "address": { "city": null, @@ -964,7 +964,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709821162, + "created": 1709822449, "currency": "aud", "customer": null, "description": null, @@ -984,13 +984,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 49, + "risk_score": 12, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Orhn44FrUFBjYOL0n5bFAAu", - "payment_method": "pm_1Orhn44FrUFBjYOLqsKTMhRM", + "payment_intent": "pi_3Ori7oQNzByhKcyV0vKsfqj9", + "payment_method": "pm_1Ori7oQNzByhKcyVfSDNLaW1", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -1033,18 +1033,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JobjA0RnJVRkJqWU9MKO2Zp68GMgYU2NUQm7c6LBarQjBEU8S0QqQLeyAoQeYZbKRF65ZTN-0q_vXjo3MCHZXEP59P3i3_zGXb", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpN2xRTnpCeWhLY3lWKPSjp68GMgZ4gNmpwCs6LBZhBg9XmEDgHGUiSRXoCrlwSBe876OnBYqjqX15liR0Up5oQOYqNVn6UHL9", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3Orhn44FrUFBjYOL0zl9V2GA", + "id": "re_3Ori7oQNzByhKcyV0zHkdR4Q", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3Orhn44FrUFBjYOL0Vqrr6WC", - "charge": "ch_3Orhn44FrUFBjYOL08DhotfJ", - "created": 1709821165, + "balance_transaction": "txn_3Ori7oQNzByhKcyV0tTK1tp4", + "charge": "ch_3Ori7oQNzByhKcyV04k4gTbF", + "created": 1709822451, "currency": "aud", "destination_details": { "card": { @@ -1055,7 +1055,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Orhn44FrUFBjYOL0n5bFAAu", + "payment_intent": "pi_3Ori7oQNzByhKcyV0vKsfqj9", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1065,7 +1065,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3Orhn44FrUFBjYOL08DhotfJ/refunds" + "url": "/v1/charges/ch_3Ori7oQNzByhKcyV04k4gTbF/refunds" }, "review": null, "shipping": null, @@ -1077,7 +1077,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1709821165, + "created": 1709822451, "currency": "aud", "destination_details": { "card": { @@ -1088,12 +1088,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Orhn44FrUFBjYOL0n5bFAAu", + "payment_intent": "pi_3Ori7oQNzByhKcyV0vKsfqj9", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 07 Mar 2024 14:19:26 GMT + recorded_at: Thu, 07 Mar 2024 14:40:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml index 7102971158..f4393c4095 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ezRhnpKvkGFpfY","request_duration_ms":427}}' + - '{"last_request_metrics":{"request_id":"req_xAG8WAPFTuUajm","request_duration_ms":357}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:27 GMT + - Thu, 07 Mar 2024 14:40:54 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4f6eaadf-9168-4403-948d-e5f32478b3a7 + - e08f780c-34e9-4e91-8f3f-5eb53d4c1ed3 Original-Request: - - req_D11AhbLWAfHX3a + - req_7Lg6WG0U7HnPdU Request-Id: - - req_D11AhbLWAfHX3a + - req_7Lg6WG0U7HnPdU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Orhn8QNU244dvkv", + "id": "acct_1Ori7sQO2yTltM9S", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709821167, + "created": 1709822453, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -111,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Orhn8QNU244dvkv/external_accounts" + "url": "/v1/accounts/acct_1Ori7sQO2yTltM9S/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,7 +208,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:19:27 GMT + recorded_at: Thu, 07 Mar 2024 14:40:54 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -223,7 +223,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_D11AhbLWAfHX3a","request_duration_ms":1792}}' + - '{"last_request_metrics":{"request_id":"req_7Lg6WG0U7HnPdU","request_duration_ms":1697}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:29 GMT + - Thu, 07 Mar 2024 14:40:56 GMT Content-Type: - application/json Content-Length: @@ -271,7 +271,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_CmK1q8MEuAOWvn + - req_txMzChdr5Selrd Stripe-Version: - '2023-10-16' Vary: @@ -284,7 +284,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhnBKuuB1fWySnHwguq9Tt", + "id": "pm_1Ori7wKuuB1fWySnhuAmRcku", "object": "payment_method", "billing_details": { "address": { @@ -325,13 +325,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821169, + "created": 1709822456, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:29 GMT + recorded_at: Thu, 07 Mar 2024 14:40:56 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -346,7 +346,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CmK1q8MEuAOWvn","request_duration_ms":430}}' + - '{"last_request_metrics":{"request_id":"req_txMzChdr5Selrd","request_duration_ms":343}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -355,7 +355,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Orhn8QNU244dvkv + - acct_1Ori7sQO2yTltM9S Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -368,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:30 GMT + - Thu, 07 Mar 2024 14:40:57 GMT Content-Type: - application/json Content-Length: @@ -395,13 +395,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8bf62231-cea6-404c-944d-5ceaa7268857 + - e5063196-550d-4050-add2-cb572af057a8 Original-Request: - - req_jS7TyCpWmj2DJq + - req_KUo6FebnoM0hO6 Request-Id: - - req_jS7TyCpWmj2DJq + - req_KUo6FebnoM0hO6 Stripe-Account: - - acct_1Orhn8QNU244dvkv + - acct_1Ori7sQO2yTltM9S Stripe-Should-Retry: - 'false' Stripe-Version: @@ -416,7 +416,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnCQNU244dvkv0uW6QCnq", + "id": "pi_3Ori7wQO2yTltM9S0LduJtCF", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -430,9 +430,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnCQNU244dvkv0uW6QCnq_secret_YkHgPK5Yj3OYueUIf7pwEgBKR", + "client_secret": "pi_3Ori7wQO2yTltM9S0LduJtCF_secret_syZRbxWURLKt5vkm4Akbj4Yz0", "confirmation_method": "automatic", - "created": 1709821170, + "created": 1709822456, "currency": "aud", "customer": null, "description": null, @@ -443,7 +443,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnCQNU244dvkvKcghRdaA", + "payment_method": "pm_1Ori7wQO2yTltM9SFSWS5sCI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -468,10 +468,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:30 GMT + recorded_at: Thu, 07 Mar 2024 14:40:57 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnCQNU244dvkv0uW6QCnq + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7wQO2yTltM9S0LduJtCF body: encoding: US-ASCII string: '' @@ -483,7 +483,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jS7TyCpWmj2DJq","request_duration_ms":497}}' + - '{"last_request_metrics":{"request_id":"req_KUo6FebnoM0hO6","request_duration_ms":562}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -492,7 +492,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Orhn8QNU244dvkv + - acct_1Ori7sQO2yTltM9S Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:30 GMT + - Thu, 07 Mar 2024 14:40:57 GMT Content-Type: - application/json Content-Length: @@ -533,9 +533,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_Ygyk8WK16L1gRK + - req_rRIZgTQZWq25t6 Stripe-Account: - - acct_1Orhn8QNU244dvkv + - acct_1Ori7sQO2yTltM9S Stripe-Version: - '2023-10-16' Vary: @@ -548,7 +548,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnCQNU244dvkv0uW6QCnq", + "id": "pi_3Ori7wQO2yTltM9S0LduJtCF", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -562,9 +562,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnCQNU244dvkv0uW6QCnq_secret_YkHgPK5Yj3OYueUIf7pwEgBKR", + "client_secret": "pi_3Ori7wQO2yTltM9S0LduJtCF_secret_syZRbxWURLKt5vkm4Akbj4Yz0", "confirmation_method": "automatic", - "created": 1709821170, + "created": 1709822456, "currency": "aud", "customer": null, "description": null, @@ -575,7 +575,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnCQNU244dvkvKcghRdaA", + "payment_method": "pm_1Ori7wQO2yTltM9SFSWS5sCI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -600,10 +600,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:30 GMT + recorded_at: Thu, 07 Mar 2024 14:40:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnCQNU244dvkv0uW6QCnq/cancel + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7wQO2yTltM9S0LduJtCF/cancel body: encoding: US-ASCII string: '' @@ -621,7 +621,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Orhn8QNU244dvkv + - acct_1Ori7sQO2yTltM9S Connection: - close Accept-Encoding: @@ -636,7 +636,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:31 GMT + - Thu, 07 Mar 2024 14:40:58 GMT Content-Type: - application/json Content-Length: @@ -664,13 +664,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 32ffe994-dc2e-46f4-bd99-22bcd252f7c8 + - 29b588dc-3dc8-4952-bd7f-f46a77a5b8bd Original-Request: - - req_iljDurQDZJSidi + - req_AbxuaQ6j1ulYIl Request-Id: - - req_iljDurQDZJSidi + - req_AbxuaQ6j1ulYIl Stripe-Account: - - acct_1Orhn8QNU244dvkv + - acct_1Ori7sQO2yTltM9S Stripe-Should-Retry: - 'false' Stripe-Version: @@ -685,7 +685,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnCQNU244dvkv0uW6QCnq", + "id": "pi_3Ori7wQO2yTltM9S0LduJtCF", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -696,7 +696,7 @@ http_interactions: "application": "", "application_fee_amount": null, "automatic_payment_methods": null, - "canceled_at": 1709821171, + "canceled_at": 1709822458, "cancellation_reason": null, "capture_method": "manual", "charges": { @@ -704,11 +704,11 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges?payment_intent=pi_3OrhnCQNU244dvkv0uW6QCnq" + "url": "/v1/charges?payment_intent=pi_3Ori7wQO2yTltM9S0LduJtCF" }, - "client_secret": "pi_3OrhnCQNU244dvkv0uW6QCnq_secret_YkHgPK5Yj3OYueUIf7pwEgBKR", + "client_secret": "pi_3Ori7wQO2yTltM9S0LduJtCF_secret_syZRbxWURLKt5vkm4Akbj4Yz0", "confirmation_method": "automatic", - "created": 1709821170, + "created": 1709822456, "currency": "aud", "customer": null, "description": null, @@ -719,7 +719,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnCQNU244dvkvKcghRdaA", + "payment_method": "pm_1Ori7wQO2yTltM9SFSWS5sCI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -744,5 +744,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:31 GMT + recorded_at: Thu, 07 Mar 2024 14:40:58 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml index d36ee0a1c6..633450258b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pLPlchMFwozqR0","request_duration_ms":292}}' + - '{"last_request_metrics":{"request_id":"req_ogaznpXJbLOhKJ","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:41 GMT + - Thu, 07 Mar 2024 14:41:07 GMT Content-Type: - application/json; charset=utf-8 Content-Length: @@ -56,22 +56,22 @@ http_interactions: Referrer-Policy: - strict-origin-when-cross-origin Request-Id: - - req_gQLkxYDC1gKKlX + - req_SUHlIdivL6Afwj Set-Cookie: - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:19:41 GMT; secure; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:41:07 GMT; secure; HttpOnly; SameSite=Lax - - machine_identifier=tlm2H6WVC9HzqAu9XFvF1MjAjD93y0QC5CIcPT4m%2BPP14OwCbem5rqy4VBtEuGI%2BFtM%3D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:19:41 GMT; secure; + - machine_identifier=LIo9pvKjSraJzuLHpNaxEkuU21OkGXrJfRGMqt4a3uM2vZ9zMwSirfX8UGpqj9f3jIQ%3D; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:41:07 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=kDif5t85K78RTgvN8VlPeBh7yqO%2Bl9JXhXGVb0DxHesfhCP%2BBMbeUW8D6M0eF6UDVLE%3D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:19:41 GMT; secure; + - private_machine_identifier=u1D8fmraJboy1WpLmeWq1g%2BLETfZsOdKKLJMmxR2ldtCPgu%2BcgIElxwTH8o2FQo3F9g%3D; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:41:07 GMT; secure; HttpOnly; SameSite=None - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure - - stripe.csrf=0R80VXQSkQozBKt4pvUvRHmS6oG_OJrWCDsTvvwjc1uyjY_dwYMOlJQSCrXTUt7i8F-EaNZas5ngLiE6zEgr2Tw-AYTZVJywET4sahs46Mx67dYumddhqvSYy6q1UsxyPLqJ6FepJA%3D%3D; + - stripe.csrf=06b1HDRoihLkQinlzZq9VU8-e5Jn2WUwavEz0yczXjVm7YyrtOE6K-iBjeGeb1qKHIvprp8zlFlKEgjcDUhs1Tw-AYTZVJx9uc7DFPFUnFBuuwKNTV1oua2NNBa_2KhCzSoNCuTqwA%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -88,5 +88,5 @@ http_interactions: "error": "invalid_client", "error_description": "No such application: 'bogus_client_id'" } - recorded_at: Thu, 07 Mar 2024 14:19:41 GMT + recorded_at: Thu, 07 Mar 2024 14:41:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml index 9e6f8d105c..d71d984aaf 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pLPlchMFwozqR0","request_duration_ms":292}}' + - '{"last_request_metrics":{"request_id":"req_ogaznpXJbLOhKJ","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:43 GMT + - Thu, 07 Mar 2024 14:41:10 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1bdb3787-b5e5-4e42-9bf4-a4117e1fcadf + - 937217a1-2364-4448-8670-8d77daebb850 Original-Request: - - req_gkukxCYZdR2Vxk + - req_aZzJbIj2iipheI Request-Id: - - req_gkukxCYZdR2Vxk + - req_aZzJbIj2iipheI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OrhnN4JnsIexsPK", + "id": "acct_1Ori88QMyTDSVWXo", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709821182, + "created": 1709822469, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -111,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OrhnN4JnsIexsPK/external_accounts" + "url": "/v1/accounts/acct_1Ori88QMyTDSVWXo/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,13 +208,13 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:19:43 GMT + recorded_at: Thu, 07 Mar 2024 14:41:10 GMT - request: method: post uri: https://connect.stripe.com/oauth/deauthorize body: encoding: UTF-8 - string: stripe_user_id=acct_1OrhnN4JnsIexsPK&client_id= + string: stripe_user_id=acct_1Ori88QMyTDSVWXo&client_id= headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -223,7 +223,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gkukxCYZdR2Vxk","request_duration_ms":1856}}' + - '{"last_request_metrics":{"request_id":"req_aZzJbIj2iipheI","request_duration_ms":1814}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:44 GMT + - Thu, 07 Mar 2024 14:41:10 GMT Content-Type: - application/json Content-Length: @@ -265,22 +265,22 @@ http_interactions: Referrer-Policy: - strict-origin-when-cross-origin Request-Id: - - req_kAYjNTpAo3eof0 + - req_I04qjJTNoJQUV3 Set-Cookie: - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:19:43 GMT; secure; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:41:10 GMT; secure; HttpOnly; SameSite=Lax - - machine_identifier=Rx0nrBmP69C0yle3gEESxrCeJozicO0vsDwHdMCz866UQ3LXbrikei6XWfK2YygJdoA%3D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:19:43 GMT; secure; + - machine_identifier=VMqWi2RmkeReggrqoUkAhXAv2BeNEjEOjKuWE5TjMD5slIN2oL0z6psMqikJUG2a3xE%3D; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:41:10 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=nyPCq0cBAY9abEDP081%2F8Z%2BzRAq3BeWVDVNl%2BlHzDXSBkN%2FaSOAzOV6ojlpNDZadIm0%3D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:19:43 GMT; secure; + - private_machine_identifier=VjPGRrXoHsBEHZvVM82aF8TUbGDPBB2TbA0wW%2BmlBliBwL9BcKuZ8bPGqJQz2g%2BXhYA%3D; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:41:10 GMT; secure; HttpOnly; SameSite=None - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure - - stripe.csrf=tTdWURXsFql9_yJmdJszPO2v6h28sLmg5LQp-KfymQK4leSgmxFIoh6B9XkB8L5TLm9ordI4UbHRrm4D6Bayfjw-AYTZVJxbMoVVth1hhUeaPhJ3aS6A52vBAtIJosGSBXtD2CAq-w%3D%3D; + - stripe.csrf=ocrN4JfSf5grJyZZXlOpYA8CxzFrOywwaI0m-eBdSbd_s3nvDZlGOpR-rcLrAC8b9jMiux0G41xKylaugNHuHDw-AYTZVJxB6_tBp3Z3uasShlFUnX-xtz0w0mr4jdMGTA9DwYdgoA%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -292,7 +292,7 @@ http_interactions: encoding: UTF-8 string: |- { - "stripe_user_id": "acct_1OrhnN4JnsIexsPK" + "stripe_user_id": "acct_1Ori88QMyTDSVWXo" } - recorded_at: Thu, 07 Mar 2024 14:19:44 GMT + recorded_at: Thu, 07 Mar 2024 14:41:10 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml index bbe9df36f2..349c87e29e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LAqkAvvd5Je20N","request_duration_ms":1465}}' + - '{"last_request_metrics":{"request_id":"req_pMNzxVkMDuLMw8","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:53 GMT + - Thu, 07 Mar 2024 14:41:19 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a83a0728-acdd-4477-9f0d-c223454d315e + - 5d33ce74-4944-42aa-b0da-36fd60c7be8d Original-Request: - - req_dLIBx78tPQC5HU + - req_UGX3uIDAanmJsb Request-Id: - - req_dLIBx78tPQC5HU + - req_UGX3uIDAanmJsb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhnZKuuB1fWySn5rM3Qvue", + "id": "pm_1Ori8JKuuB1fWySnVjgHCYcO", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821193, + "created": 1709822479, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:54 GMT + recorded_at: Thu, 07 Mar 2024 14:41:19 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OrhnZKuuB1fWySn5rM3Qvue&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1Ori8JKuuB1fWySnVjgHCYcO&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dLIBx78tPQC5HU","request_duration_ms":462}}' + - '{"last_request_metrics":{"request_id":"req_UGX3uIDAanmJsb","request_duration_ms":426}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:54 GMT + - Thu, 07 Mar 2024 14:41:20 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '0710794b-cb55-4479-b691-7c43dee2670a' + - c3f9f2bb-f4d8-482c-8c6e-8644b249fe97 Original-Request: - - req_n7ZDUktk6mLhWN + - req_hZJ7S64Kp9M0x4 Request-Id: - - req_n7ZDUktk6mLhWN + - req_hZJ7S64Kp9M0x4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnaKuuB1fWySn2CzgbENy", + "id": "pi_3Ori8KKuuB1fWySn0EmbEN15", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnaKuuB1fWySn2CzgbENy_secret_kJOM57jeYqprt6H7fnZA4H4kV", + "client_secret": "pi_3Ori8KKuuB1fWySn0EmbEN15_secret_oYcH7OFgNG6BbUQP8rfxNo8bK", "confirmation_method": "automatic", - "created": 1709821194, + "created": 1709822480, "currency": "aud", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnZKuuB1fWySn5rM3Qvue", + "payment_method": "pm_1Ori8JKuuB1fWySnVjgHCYcO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:54 GMT + recorded_at: Thu, 07 Mar 2024 14:41:20 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnaKuuB1fWySn2CzgbENy/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8KKuuB1fWySn0EmbEN15/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_n7ZDUktk6mLhWN","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_hZJ7S64Kp9M0x4","request_duration_ms":421}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:55 GMT + - Thu, 07 Mar 2024 14:41:21 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a6a0cfd4-056c-485e-95cb-404a22d5e99f + - bea72dfa-9d34-454c-a370-3facfb293c5c Original-Request: - - req_0gZv7w8hMon3OC + - req_u9tmJQBXlu7FhN Request-Id: - - req_0gZv7w8hMon3OC + - req_u9tmJQBXlu7FhN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnaKuuB1fWySn2CzgbENy", + "id": "pi_3Ori8KKuuB1fWySn0EmbEN15", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnaKuuB1fWySn2CzgbENy_secret_kJOM57jeYqprt6H7fnZA4H4kV", + "client_secret": "pi_3Ori8KKuuB1fWySn0EmbEN15_secret_oYcH7OFgNG6BbUQP8rfxNo8bK", "confirmation_method": "automatic", - "created": 1709821194, + "created": 1709822480, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhnaKuuB1fWySn2AkVyIBv", + "latest_charge": "ch_3Ori8KKuuB1fWySn0tL2KATn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnZKuuB1fWySn5rM3Qvue", + "payment_method": "pm_1Ori8JKuuB1fWySnVjgHCYcO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:55 GMT + recorded_at: Thu, 07 Mar 2024 14:41:21 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnaKuuB1fWySn2CzgbENy/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8KKuuB1fWySn0EmbEN15/capture body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0gZv7w8hMon3OC","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_u9tmJQBXlu7FhN","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:56 GMT + - Thu, 07 Mar 2024 14:41:22 GMT Content-Type: - application/json Content-Length: @@ -457,11 +457,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7fef3196-6a59-4870-bce4-6f2e95ae72de + - 25eab43f-9450-41f3-9ea7-c8f3d37ed4b8 Original-Request: - - req_EGvkcccMXkcvnM + - req_hDlID2MrSQxkiW Request-Id: - - req_EGvkcccMXkcvnM + - req_hDlID2MrSQxkiW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -476,7 +476,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnaKuuB1fWySn2CzgbENy", + "id": "pi_3Ori8KKuuB1fWySn0EmbEN15", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -490,20 +490,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnaKuuB1fWySn2CzgbENy_secret_kJOM57jeYqprt6H7fnZA4H4kV", + "client_secret": "pi_3Ori8KKuuB1fWySn0EmbEN15_secret_oYcH7OFgNG6BbUQP8rfxNo8bK", "confirmation_method": "automatic", - "created": 1709821194, + "created": 1709822480, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhnaKuuB1fWySn2AkVyIBv", + "latest_charge": "ch_3Ori8KKuuB1fWySn0tL2KATn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnZKuuB1fWySn5rM3Qvue", + "payment_method": "pm_1Ori8JKuuB1fWySnVjgHCYcO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -528,10 +528,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:56 GMT + recorded_at: Thu, 07 Mar 2024 14:41:22 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnaKuuB1fWySn2CzgbENy + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8KKuuB1fWySn0EmbEN15 body: encoding: US-ASCII string: '' @@ -543,7 +543,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EGvkcccMXkcvnM","request_duration_ms":1224}}' + - '{"last_request_metrics":{"request_id":"req_hDlID2MrSQxkiW","request_duration_ms":1373}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -563,7 +563,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:57 GMT + - Thu, 07 Mar 2024 14:41:23 GMT Content-Type: - application/json Content-Length: @@ -591,7 +591,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_IcxiGIPEivuMc9 + - req_6xn7ayvYoWpsVL Stripe-Version: - '2023-10-16' Vary: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnaKuuB1fWySn2CzgbENy", + "id": "pi_3Ori8KKuuB1fWySn0EmbEN15", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnaKuuB1fWySn2CzgbENy_secret_kJOM57jeYqprt6H7fnZA4H4kV", + "client_secret": "pi_3Ori8KKuuB1fWySn0EmbEN15_secret_oYcH7OFgNG6BbUQP8rfxNo8bK", "confirmation_method": "automatic", - "created": 1709821194, + "created": 1709822480, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhnaKuuB1fWySn2AkVyIBv", + "latest_charge": "ch_3Ori8KKuuB1fWySn0tL2KATn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnZKuuB1fWySn5rM3Qvue", + "payment_method": "pm_1Ori8JKuuB1fWySnVjgHCYcO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,5 +656,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:57 GMT + recorded_at: Thu, 07 Mar 2024 14:41:23 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml index 07570b51ad..e85ed7810a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yDhlGOjXdl6zWV","request_duration_ms":487}}' + - '{"last_request_metrics":{"request_id":"req_L0Zlzwkqc3YdbF","request_duration_ms":500}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:49 GMT + - Thu, 07 Mar 2024 14:41:16 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b3b71c5e-565d-4f9c-a22e-c7bd24fca047 + - 8e7cfb17-4e3e-4fc7-a0b1-9c3ad716de1f Original-Request: - - req_fgMGzwP8VPiWoH + - req_dfbV7M4jL75hYk Request-Id: - - req_fgMGzwP8VPiWoH + - req_dfbV7M4jL75hYk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhnVKuuB1fWySnPj81m9Qz", + "id": "pm_1Ori8FKuuB1fWySn7pMraVWu", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821189, + "created": 1709822475, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:49 GMT + recorded_at: Thu, 07 Mar 2024 14:41:16 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OrhnVKuuB1fWySnPj81m9Qz&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1Ori8FKuuB1fWySn7pMraVWu&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fgMGzwP8VPiWoH","request_duration_ms":471}}' + - '{"last_request_metrics":{"request_id":"req_dfbV7M4jL75hYk","request_duration_ms":475}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:50 GMT + - Thu, 07 Mar 2024 14:41:16 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c9b2488c-f248-49d3-9636-be0001b7887d + - 9ec05b28-989a-4976-b7d9-6ce9a8af86b7 Original-Request: - - req_Cwt6yeuOtu6rnj + - req_SJkBD2nfwKcbQ8 Request-Id: - - req_Cwt6yeuOtu6rnj + - req_SJkBD2nfwKcbQ8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnWKuuB1fWySn2Y0Qnf9x", + "id": "pi_3Ori8GKuuB1fWySn2em2DWAM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnWKuuB1fWySn2Y0Qnf9x_secret_TMpcV4AjZVzkseIH9MWZVxmh0", + "client_secret": "pi_3Ori8GKuuB1fWySn2em2DWAM_secret_lXzl2BZ2yZjXNmclXenZ4B5fS", "confirmation_method": "automatic", - "created": 1709821190, + "created": 1709822476, "currency": "aud", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnVKuuB1fWySnPj81m9Qz", + "payment_method": "pm_1Ori8FKuuB1fWySn7pMraVWu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:50 GMT + recorded_at: Thu, 07 Mar 2024 14:41:16 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnWKuuB1fWySn2Y0Qnf9x/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8GKuuB1fWySn2em2DWAM/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Cwt6yeuOtu6rnj","request_duration_ms":422}}' + - '{"last_request_metrics":{"request_id":"req_SJkBD2nfwKcbQ8","request_duration_ms":505}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:51 GMT + - Thu, 07 Mar 2024 14:41:17 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 51773103-a03c-4dc0-a9b7-ac5ab9938212 + - d2a18ad2-6709-400d-914e-c7613aa6f031 Original-Request: - - req_oqIqtJTs9v1Ak6 + - req_3gbfhcvP1uFnd1 Request-Id: - - req_oqIqtJTs9v1Ak6 + - req_3gbfhcvP1uFnd1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnWKuuB1fWySn2Y0Qnf9x", + "id": "pi_3Ori8GKuuB1fWySn2em2DWAM", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnWKuuB1fWySn2Y0Qnf9x_secret_TMpcV4AjZVzkseIH9MWZVxmh0", + "client_secret": "pi_3Ori8GKuuB1fWySn2em2DWAM_secret_lXzl2BZ2yZjXNmclXenZ4B5fS", "confirmation_method": "automatic", - "created": 1709821190, + "created": 1709822476, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhnWKuuB1fWySn2qeZKSw8", + "latest_charge": "ch_3Ori8GKuuB1fWySn2UYKXCTG", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnVKuuB1fWySnPj81m9Qz", + "payment_method": "pm_1Ori8FKuuB1fWySn7pMraVWu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:51 GMT + recorded_at: Thu, 07 Mar 2024 14:41:17 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnWKuuB1fWySn2Y0Qnf9x/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8GKuuB1fWySn2em2DWAM/capture body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oqIqtJTs9v1Ak6","request_duration_ms":1207}}' + - '{"last_request_metrics":{"request_id":"req_3gbfhcvP1uFnd1","request_duration_ms":1326}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:52 GMT + - Thu, 07 Mar 2024 14:41:19 GMT Content-Type: - application/json Content-Length: @@ -457,11 +457,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8ee23bb7-46c5-47b3-b18e-f94c3515f76b + - 2be2a507-510b-4e22-bdea-44334806b5bf Original-Request: - - req_LAqkAvvd5Je20N + - req_pMNzxVkMDuLMw8 Request-Id: - - req_LAqkAvvd5Je20N + - req_pMNzxVkMDuLMw8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -476,7 +476,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnWKuuB1fWySn2Y0Qnf9x", + "id": "pi_3Ori8GKuuB1fWySn2em2DWAM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -490,20 +490,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnWKuuB1fWySn2Y0Qnf9x_secret_TMpcV4AjZVzkseIH9MWZVxmh0", + "client_secret": "pi_3Ori8GKuuB1fWySn2em2DWAM_secret_lXzl2BZ2yZjXNmclXenZ4B5fS", "confirmation_method": "automatic", - "created": 1709821190, + "created": 1709822476, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhnWKuuB1fWySn2qeZKSw8", + "latest_charge": "ch_3Ori8GKuuB1fWySn2UYKXCTG", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnVKuuB1fWySnPj81m9Qz", + "payment_method": "pm_1Ori8FKuuB1fWySn7pMraVWu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -528,5 +528,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:52 GMT + recorded_at: Thu, 07 Mar 2024 14:41:19 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml index 60d266a7f0..5965178af1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UuyZF6NdZrqP5N","request_duration_ms":378}}' + - '{"last_request_metrics":{"request_id":"req_FWJEctwqJcgeBi","request_duration_ms":383}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:48 GMT + - Thu, 07 Mar 2024 14:41:14 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9e52b5f0-ed21-4c6a-8f8c-5a949b6cb0d4 + - cd5d5a09-c057-43e2-aa5d-3e8a1a59f5d4 Original-Request: - - req_NtSx3JaZhHWVgI + - req_vYaJTtEDCQnJtP Request-Id: - - req_NtSx3JaZhHWVgI + - req_vYaJTtEDCQnJtP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhnUKuuB1fWySnXVATFi67", + "id": "pm_1Ori8EKuuB1fWySnaqnQ8EeK", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821188, + "created": 1709822474, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:48 GMT + recorded_at: Thu, 07 Mar 2024 14:41:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OrhnUKuuB1fWySnXVATFi67&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1Ori8EKuuB1fWySnaqnQ8EeK&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NtSx3JaZhHWVgI","request_duration_ms":443}}' + - '{"last_request_metrics":{"request_id":"req_vYaJTtEDCQnJtP","request_duration_ms":549}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:49 GMT + - Thu, 07 Mar 2024 14:41:15 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c02a2581-e154-416e-93e5-6f3aa50dcc2e + - 6d0c0502-4013-4efb-8f8b-6c2b48bea5e1 Original-Request: - - req_yDhlGOjXdl6zWV + - req_L0Zlzwkqc3YdbF Request-Id: - - req_yDhlGOjXdl6zWV + - req_L0Zlzwkqc3YdbF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnUKuuB1fWySn0TNgd4oG", + "id": "pi_3Ori8FKuuB1fWySn2YGbZCFH", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnUKuuB1fWySn0TNgd4oG_secret_2rR54EEOSONhKqdxCwGmKnrrN", + "client_secret": "pi_3Ori8FKuuB1fWySn2YGbZCFH_secret_xm0kdPkWrFnVV5GeJsc4sZmS2", "confirmation_method": "automatic", - "created": 1709821188, + "created": 1709822475, "currency": "aud", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnUKuuB1fWySnXVATFi67", + "payment_method": "pm_1Ori8EKuuB1fWySnaqnQ8EeK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,5 +260,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:49 GMT + recorded_at: Thu, 07 Mar 2024 14:41:15 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml index 29dbfb1dc6..0891ccdf3e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kvFxQHEU9WACNJ","request_duration_ms":498}}' + - '{"last_request_metrics":{"request_id":"req_06o4E8GITiHN0Q","request_duration_ms":503}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:46 GMT + - Thu, 07 Mar 2024 14:41:13 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cae72e17-1ea5-4bca-b638-0256d98f5f68 + - be6c5475-72d1-4ca8-b5a1-75bb5ddedebb Original-Request: - - req_pk8MAC00CYty2V + - req_bNCZoW4zD2e4JG Request-Id: - - req_pk8MAC00CYty2V + - req_bNCZoW4zD2e4JG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhnSKuuB1fWySnmKrfz4tk", + "id": "pm_1Ori8CKuuB1fWySny2aysCKg", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821186, + "created": 1709822472, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:46 GMT + recorded_at: Thu, 07 Mar 2024 14:41:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OrhnSKuuB1fWySnmKrfz4tk&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1Ori8CKuuB1fWySny2aysCKg&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pk8MAC00CYty2V","request_duration_ms":547}}' + - '{"last_request_metrics":{"request_id":"req_bNCZoW4zD2e4JG","request_duration_ms":562}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:47 GMT + - Thu, 07 Mar 2024 14:41:13 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 967c3509-79c1-4d66-8aeb-b04c3bb96553 + - 6381a7b1-d97e-46e6-b6f9-9eccaab81389 Original-Request: - - req_jM4W8E76pYHfTP + - req_DMThzAqEU7rgiP Request-Id: - - req_jM4W8E76pYHfTP + - req_DMThzAqEU7rgiP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnTKuuB1fWySn0szPZVyV", + "id": "pi_3Ori8DKuuB1fWySn1qZydRdL", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnTKuuB1fWySn0szPZVyV_secret_2NxoHwLmQjPN7OyHWnw2qslU3", + "client_secret": "pi_3Ori8DKuuB1fWySn1qZydRdL_secret_rlLmVu16IyhpXCZCHIcX2bGM0", "confirmation_method": "automatic", - "created": 1709821187, + "created": 1709822473, "currency": "aud", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnSKuuB1fWySnmKrfz4tk", + "payment_method": "pm_1Ori8CKuuB1fWySny2aysCKg", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:47 GMT + recorded_at: Thu, 07 Mar 2024 14:41:13 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhnTKuuB1fWySn0szPZVyV + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8DKuuB1fWySn1qZydRdL body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jM4W8E76pYHfTP","request_duration_ms":400}}' + - '{"last_request_metrics":{"request_id":"req_DMThzAqEU7rgiP","request_duration_ms":499}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:47 GMT + - Thu, 07 Mar 2024 14:41:14 GMT Content-Type: - application/json Content-Length: @@ -323,7 +323,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_UuyZF6NdZrqP5N + - req_FWJEctwqJcgeBi Stripe-Version: - '2023-10-16' Vary: @@ -336,7 +336,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnTKuuB1fWySn0szPZVyV", + "id": "pi_3Ori8DKuuB1fWySn1qZydRdL", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -350,9 +350,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnTKuuB1fWySn0szPZVyV_secret_2NxoHwLmQjPN7OyHWnw2qslU3", + "client_secret": "pi_3Ori8DKuuB1fWySn1qZydRdL_secret_rlLmVu16IyhpXCZCHIcX2bGM0", "confirmation_method": "automatic", - "created": 1709821187, + "created": 1709822473, "currency": "aud", "customer": null, "description": null, @@ -363,7 +363,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnSKuuB1fWySnmKrfz4tk", + "payment_method": "pm_1Ori8CKuuB1fWySny2aysCKg", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +388,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:47 GMT + recorded_at: Thu, 07 Mar 2024 14:41:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml index 5b8acf4c1c..d31e650cad 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kAYjNTpAo3eof0","request_duration_ms":686}}' + - '{"last_request_metrics":{"request_id":"req_I04qjJTNoJQUV3","request_duration_ms":517}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:45 GMT + - Thu, 07 Mar 2024 14:41:11 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 283d12af-f2f0-489a-b0cd-56e3f021968b + - f6c5f951-515b-449a-bcee-e9fbf33948c2 Original-Request: - - req_E9YA9tFATtinUk + - req_LS7pj5klbtv4yX Request-Id: - - req_E9YA9tFATtinUk + - req_LS7pj5klbtv4yX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhnQKuuB1fWySnnsvGdGma", + "id": "pm_1Ori8BKuuB1fWySn2bbZPzbv", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821185, + "created": 1709822471, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:45 GMT + recorded_at: Thu, 07 Mar 2024 14:41:11 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OrhnQKuuB1fWySnnsvGdGma&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1Ori8BKuuB1fWySn2bbZPzbv&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_E9YA9tFATtinUk","request_duration_ms":516}}' + - '{"last_request_metrics":{"request_id":"req_LS7pj5klbtv4yX","request_duration_ms":412}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:45 GMT + - Thu, 07 Mar 2024 14:41:12 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 53cb0d2a-f3b1-4c0a-8ba4-5a8276ff38fa + - 524e45a6-129b-44ce-a789-00666f657966 Original-Request: - - req_kvFxQHEU9WACNJ + - req_06o4E8GITiHN0Q Request-Id: - - req_kvFxQHEU9WACNJ + - req_06o4E8GITiHN0Q Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhnRKuuB1fWySn2aw6QugY", + "id": "pi_3Ori8BKuuB1fWySn0eTo2AO2", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhnRKuuB1fWySn2aw6QugY_secret_KND0j1VcnnukRnxEvkiLnVtfr", + "client_secret": "pi_3Ori8BKuuB1fWySn0eTo2AO2_secret_FhbTuBgZcWPvVK0BCmJQzKE9a", "confirmation_method": "automatic", - "created": 1709821185, + "created": 1709822471, "currency": "aud", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhnQKuuB1fWySnnsvGdGma", + "payment_method": "pm_1Ori8BKuuB1fWySn2bbZPzbv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,5 +260,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:19:45 GMT + recorded_at: Thu, 07 Mar 2024 14:41:12 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml index 684c8e9648..6a5b647e58 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fQBUTPOEqROOqL","request_duration_ms":399}}' + - '{"last_request_metrics":{"request_id":"req_8JCk5jQYHzpR3e","request_duration_ms":328}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:50 GMT + - Thu, 07 Mar 2024 14:38:19 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0faede19-3f25-4b07-aef9-3499ee183d20 + - 0b5419b4-9507-4bcb-9ea2-20db3df6113c Original-Request: - - req_cxLKQLHjPVhypX + - req_Qo1uHXkvzXin5c Request-Id: - - req_cxLKQLHjPVhypX + - req_Qo1uHXkvzXin5c Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkcKuuB1fWySnwh1w9f92", + "id": "pm_1Ori5OKuuB1fWySngtpqQyHp", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821010, + "created": 1709822299, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:16:51 GMT + recorded_at: Thu, 07 Mar 2024 14:38:19 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cxLKQLHjPVhypX","request_duration_ms":566}}' + - '{"last_request_metrics":{"request_id":"req_Qo1uHXkvzXin5c","request_duration_ms":454}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:52 GMT + - Thu, 07 Mar 2024 14:38:20 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6ea18705-dd84-414f-be78-67607e895c80 + - 714a4da9-7648-4f6f-afa8-1ae8c762346a Original-Request: - - req_vGh8YFScXsocAC + - req_cD28Uznz5JJ3jK Request-Id: - - req_vGh8YFScXsocAC + - req_cD28Uznz5JJ3jK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OrhkdQRNDeCaisZ", + "id": "acct_1Ori5PQMksYIk9Cz", "object": "account", "business_profile": { "annual_revenue": null, @@ -230,7 +230,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709821012, + "created": 1709822300, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -239,7 +239,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OrhkdQRNDeCaisZ/external_accounts" + "url": "/v1/accounts/acct_1Ori5PQMksYIk9Cz/external_accounts" }, "future_requirements": { "alternatives": [], @@ -336,10 +336,10 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:16:52 GMT + recorded_at: Thu, 07 Mar 2024 14:38:20 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkcKuuB1fWySnwh1w9f92 + uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5OKuuB1fWySngtpqQyHp body: encoding: US-ASCII string: '' @@ -351,7 +351,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vGh8YFScXsocAC","request_duration_ms":1911}}' + - '{"last_request_metrics":{"request_id":"req_cD28Uznz5JJ3jK","request_duration_ms":1632}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -371,7 +371,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:53 GMT + - Thu, 07 Mar 2024 14:38:21 GMT Content-Type: - application/json Content-Length: @@ -399,7 +399,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_OP3vICRrOlSABQ + - req_4Jr62WaId64FyJ Stripe-Version: - '2023-10-16' Vary: @@ -412,7 +412,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkcKuuB1fWySnwh1w9f92", + "id": "pm_1Ori5OKuuB1fWySngtpqQyHp", "object": "payment_method", "billing_details": { "address": { @@ -453,13 +453,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821010, + "created": 1709822299, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:16:53 GMT + recorded_at: Thu, 07 Mar 2024 14:38:21 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -474,7 +474,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OP3vICRrOlSABQ","request_duration_ms":300}}' + - '{"last_request_metrics":{"request_id":"req_4Jr62WaId64FyJ","request_duration_ms":402}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -483,7 +483,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OrhkdQRNDeCaisZ + - acct_1Ori5PQMksYIk9Cz Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -496,7 +496,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:53 GMT + - Thu, 07 Mar 2024 14:38:21 GMT Content-Type: - application/json Content-Length: @@ -523,9 +523,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_nAoQLl5LkNFnLL + - req_soxaElMny9orhp Stripe-Account: - - acct_1OrhkdQRNDeCaisZ + - acct_1Ori5PQMksYIk9Cz Stripe-Version: - '2023-10-16' Vary: @@ -543,13 +543,13 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Thu, 07 Mar 2024 14:16:53 GMT + recorded_at: Thu, 07 Mar 2024 14:38:21 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: payment_method=pm_1OrhkcKuuB1fWySnwh1w9f92 + string: payment_method=pm_1Ori5OKuuB1fWySngtpqQyHp headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -558,7 +558,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nAoQLl5LkNFnLL","request_duration_ms":303}}' + - '{"last_request_metrics":{"request_id":"req_soxaElMny9orhp","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -567,7 +567,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OrhkdQRNDeCaisZ + - acct_1Ori5PQMksYIk9Cz Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -580,7 +580,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:53 GMT + - Thu, 07 Mar 2024 14:38:21 GMT Content-Type: - application/json Content-Length: @@ -607,13 +607,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 58738b89-23b3-491a-b31d-0703f2c48133 + - 4cf88099-440f-47fc-91c2-9847afbcfba4 Original-Request: - - req_5hnKdGBtNZ0xdS + - req_nrmZ4aHKcfXuKO Request-Id: - - req_5hnKdGBtNZ0xdS + - req_nrmZ4aHKcfXuKO Stripe-Account: - - acct_1OrhkdQRNDeCaisZ + - acct_1Ori5PQMksYIk9Cz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -628,7 +628,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkfQRNDeCaisZh3JSi8x9", + "id": "pm_1Ori5RQMksYIk9CzUYEEEsVS", "object": "payment_method", "billing_details": { "address": { @@ -669,11 +669,11 @@ http_interactions: }, "wallet": null }, - "created": 1709821013, + "created": 1709822301, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:16:54 GMT + recorded_at: Thu, 07 Mar 2024 14:38:21 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml index 24462d651c..b0eb338c85 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5hnKdGBtNZ0xdS","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_nrmZ4aHKcfXuKO","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:54 GMT + - Thu, 07 Mar 2024 14:38:22 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d83ba969-8744-4efc-9020-4ab31fb6bf0f + - cf1f41ac-29a7-498c-85a1-8cb6cf996cdf Original-Request: - - req_xvwcpGZDr1U8eC + - req_YW6wZQTw2ViXbm Request-Id: - - req_xvwcpGZDr1U8eC + - req_YW6wZQTw2ViXbm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkgKuuB1fWySntoB8YpdD", + "id": "pm_1Ori5SKuuB1fWySnd18udlix", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821014, + "created": 1709822302, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:16:54 GMT + recorded_at: Thu, 07 Mar 2024 14:38:22 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xvwcpGZDr1U8eC","request_duration_ms":562}}' + - '{"last_request_metrics":{"request_id":"req_YW6wZQTw2ViXbm","request_duration_ms":452}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:55 GMT + - Thu, 07 Mar 2024 14:38:23 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6b754644-f2f5-4b6b-930d-d3e724b7ad4e + - 0b1194cd-8e5d-4455-bcb0-3ce726f52a8b Original-Request: - - req_HW8XkBgdAICXUM + - req_3srXySztdbZjGY Request-Id: - - req_HW8XkBgdAICXUM + - req_3srXySztdbZjGY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph5wr3Nazs6Otr", + "id": "cus_Ph6IC7DHxeCV3a", "object": "customer", "address": null, "balance": 0, - "created": 1709821015, + "created": 1709822302, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "9B29FAD1", + "invoice_prefix": "084CCFE1", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,13 +236,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:16:55 GMT + recorded_at: Thu, 07 Mar 2024 14:38:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkgKuuB1fWySntoB8YpdD/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5SKuuB1fWySnd18udlix/attach body: encoding: UTF-8 - string: customer=cus_Ph5wr3Nazs6Otr + string: customer=cus_Ph6IC7DHxeCV3a headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -251,7 +251,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HW8XkBgdAICXUM","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_3srXySztdbZjGY","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -271,7 +271,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:56 GMT + - Thu, 07 Mar 2024 14:38:23 GMT Content-Type: - application/json Content-Length: @@ -299,11 +299,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fce67017-03bb-431b-94d5-1622e6842845 + - 980cd88a-c0e8-4c04-8e51-5f12d1fc52bd Original-Request: - - req_vc5rKC0NG3qbWc + - req_ZlooDDNbb3Xn5s Request-Id: - - req_vc5rKC0NG3qbWc + - req_ZlooDDNbb3Xn5s Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +318,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkgKuuB1fWySntoB8YpdD", + "id": "pm_1Ori5SKuuB1fWySnd18udlix", "object": "payment_method", "billing_details": { "address": { @@ -359,13 +359,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821014, - "customer": "cus_Ph5wr3Nazs6Otr", + "created": 1709822302, + "customer": "cus_Ph6IC7DHxeCV3a", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:16:56 GMT + recorded_at: Thu, 07 Mar 2024 14:38:23 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -380,7 +380,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vc5rKC0NG3qbWc","request_duration_ms":714}}' + - '{"last_request_metrics":{"request_id":"req_ZlooDDNbb3Xn5s","request_duration_ms":713}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:57 GMT + - Thu, 07 Mar 2024 14:38:25 GMT Content-Type: - application/json Content-Length: @@ -427,11 +427,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 59e1cd49-1f98-4721-900e-e699c5cb6acb + - a3d20b65-5265-45cb-8ed2-94015b44bc28 Original-Request: - - req_Rwg4sOjXLHVW8c + - req_ILYD2xgFzoXU11 Request-Id: - - req_Rwg4sOjXLHVW8c + - req_ILYD2xgFzoXU11 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -446,7 +446,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OrhkiQRW3mEwlwJ", + "id": "acct_1Ori5UQKudpR2f3a", "object": "account", "business_profile": { "annual_revenue": null, @@ -468,7 +468,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709821017, + "created": 1709822304, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -477,7 +477,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OrhkiQRW3mEwlwJ/external_accounts" + "url": "/v1/accounts/acct_1Ori5UQKudpR2f3a/external_accounts" }, "future_requirements": { "alternatives": [], @@ -574,10 +574,10 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:16:57 GMT + recorded_at: Thu, 07 Mar 2024 14:38:25 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkgKuuB1fWySntoB8YpdD + uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5SKuuB1fWySnd18udlix body: encoding: US-ASCII string: '' @@ -589,7 +589,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Rwg4sOjXLHVW8c","request_duration_ms":1609}}' + - '{"last_request_metrics":{"request_id":"req_ILYD2xgFzoXU11","request_duration_ms":1703}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -609,7 +609,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:58 GMT + - Thu, 07 Mar 2024 14:38:25 GMT Content-Type: - application/json Content-Length: @@ -637,7 +637,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_Xm6femIXiYnhh7 + - req_z9E8dtGdQYKMEz Stripe-Version: - '2023-10-16' Vary: @@ -650,7 +650,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkgKuuB1fWySntoB8YpdD", + "id": "pm_1Ori5SKuuB1fWySnd18udlix", "object": "payment_method", "billing_details": { "address": { @@ -691,13 +691,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821014, - "customer": "cus_Ph5wr3Nazs6Otr", + "created": 1709822302, + "customer": "cus_Ph6IC7DHxeCV3a", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:16:58 GMT + recorded_at: Thu, 07 Mar 2024 14:38:25 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -712,7 +712,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Xm6femIXiYnhh7","request_duration_ms":299}}' + - '{"last_request_metrics":{"request_id":"req_z9E8dtGdQYKMEz","request_duration_ms":313}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -721,7 +721,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OrhkiQRW3mEwlwJ + - acct_1Ori5UQKudpR2f3a Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -734,7 +734,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:58 GMT + - Thu, 07 Mar 2024 14:38:26 GMT Content-Type: - application/json Content-Length: @@ -761,9 +761,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_W3P2rT5H1EoLZZ + - req_mhOGr3YlgXwQuv Stripe-Account: - - acct_1OrhkiQRW3mEwlwJ + - acct_1Ori5UQKudpR2f3a Stripe-Version: - '2023-10-16' Vary: @@ -781,13 +781,13 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Thu, 07 Mar 2024 14:16:58 GMT + recorded_at: Thu, 07 Mar 2024 14:38:26 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: customer=cus_Ph5wr3Nazs6Otr&payment_method=pm_1OrhkgKuuB1fWySntoB8YpdD + string: customer=cus_Ph6IC7DHxeCV3a&payment_method=pm_1Ori5SKuuB1fWySnd18udlix headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -796,7 +796,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_W3P2rT5H1EoLZZ","request_duration_ms":303}}' + - '{"last_request_metrics":{"request_id":"req_mhOGr3YlgXwQuv","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -805,7 +805,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OrhkiQRW3mEwlwJ + - acct_1Ori5UQKudpR2f3a Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -818,7 +818,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:58 GMT + - Thu, 07 Mar 2024 14:38:26 GMT Content-Type: - application/json Content-Length: @@ -845,13 +845,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0cdbdb40-c0ff-459d-8d9b-73abfdc2f6b3 + - 65cdaacc-4999-4d6e-b927-70128be3e874 Original-Request: - - req_MHzcj1JmK6F0xy + - req_le9HJ4zy8wD3At Request-Id: - - req_MHzcj1JmK6F0xy + - req_le9HJ4zy8wD3At Stripe-Account: - - acct_1OrhkiQRW3mEwlwJ + - acct_1Ori5UQKudpR2f3a Stripe-Should-Retry: - 'false' Stripe-Version: @@ -866,7 +866,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkkQRW3mEwlwJbbFs4Xg6", + "id": "pm_1Ori5WQKudpR2f3axej8OSn4", "object": "payment_method", "billing_details": { "address": { @@ -907,13 +907,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821018, + "created": 1709822306, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:16:58 GMT + recorded_at: Thu, 07 Mar 2024 14:38:26 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -928,7 +928,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MHzcj1JmK6F0xy","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_le9HJ4zy8wD3At","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -937,7 +937,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OrhkiQRW3mEwlwJ + - acct_1Ori5UQKudpR2f3a Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -950,7 +950,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:59 GMT + - Thu, 07 Mar 2024 14:38:27 GMT Content-Type: - application/json Content-Length: @@ -977,13 +977,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1926b1a9-5e43-467b-97e9-f1831a1e4e87 + - 2284aae8-cee3-4921-b824-85b699473444 Original-Request: - - req_AwpT73FOYgxGmQ + - req_B4yOmEc3HYp2oB Request-Id: - - req_AwpT73FOYgxGmQ + - req_B4yOmEc3HYp2oB Stripe-Account: - - acct_1OrhkiQRW3mEwlwJ + - acct_1Ori5UQKudpR2f3a Stripe-Should-Retry: - 'false' Stripe-Version: @@ -998,18 +998,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph5wCJUIuB9Bx4", + "id": "cus_Ph6InIrZglk7xb", "object": "customer", "address": null, "balance": 0, - "created": 1709821018, + "created": 1709822306, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "2FEFD246", + "invoice_prefix": "A36C80F9", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -1026,13 +1026,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:16:59 GMT + recorded_at: Thu, 07 Mar 2024 14:38:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkkQRW3mEwlwJbbFs4Xg6/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5WQKudpR2f3axej8OSn4/attach body: encoding: UTF-8 - string: customer=cus_Ph5wCJUIuB9Bx4 + string: customer=cus_Ph6InIrZglk7xb headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -1041,7 +1041,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AwpT73FOYgxGmQ","request_duration_ms":389}}' + - '{"last_request_metrics":{"request_id":"req_B4yOmEc3HYp2oB","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -1050,7 +1050,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OrhkiQRW3mEwlwJ + - acct_1Ori5UQKudpR2f3a Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1063,7 +1063,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:16:59 GMT + - Thu, 07 Mar 2024 14:38:27 GMT Content-Type: - application/json Content-Length: @@ -1091,13 +1091,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 10634149-4cff-4e31-afa5-ec1dae66ff57 + - 8e33247a-696b-4ee1-88c6-54190089fc5a Original-Request: - - req_WnZIRLVsaa2mwY + - req_B849Cf5L2xXsK3 Request-Id: - - req_WnZIRLVsaa2mwY + - req_B849Cf5L2xXsK3 Stripe-Account: - - acct_1OrhkiQRW3mEwlwJ + - acct_1Ori5UQKudpR2f3a Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1112,7 +1112,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkkQRW3mEwlwJbbFs4Xg6", + "id": "pm_1Ori5WQKudpR2f3axej8OSn4", "object": "payment_method", "billing_details": { "address": { @@ -1153,16 +1153,16 @@ http_interactions: }, "wallet": null }, - "created": 1709821018, - "customer": "cus_Ph5wCJUIuB9Bx4", + "created": 1709822306, + "customer": "cus_Ph6InIrZglk7xb", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:16:59 GMT + recorded_at: Thu, 07 Mar 2024 14:38:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkkQRW3mEwlwJbbFs4Xg6 + uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5WQKudpR2f3axej8OSn4 body: encoding: UTF-8 string: metadata[ofn-clone]=true @@ -1174,7 +1174,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WnZIRLVsaa2mwY","request_duration_ms":425}}' + - '{"last_request_metrics":{"request_id":"req_B849Cf5L2xXsK3","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -1183,7 +1183,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1OrhkiQRW3mEwlwJ + - acct_1Ori5UQKudpR2f3a Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1196,7 +1196,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:00 GMT + - Thu, 07 Mar 2024 14:38:27 GMT Content-Type: - application/json Content-Length: @@ -1224,13 +1224,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 398b0533-d5ab-487a-a732-cd1568ea1105 + - 6731ab9a-2b0d-41d7-8820-a2a214e3e695 Original-Request: - - req_HlxKpkuBKRtyQL + - req_HhDk3FdZCD1Hle Request-Id: - - req_HlxKpkuBKRtyQL + - req_HhDk3FdZCD1Hle Stripe-Account: - - acct_1OrhkiQRW3mEwlwJ + - acct_1Ori5UQKudpR2f3a Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1245,7 +1245,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkkQRW3mEwlwJbbFs4Xg6", + "id": "pm_1Ori5WQKudpR2f3axej8OSn4", "object": "payment_method", "billing_details": { "address": { @@ -1286,13 +1286,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821018, - "customer": "cus_Ph5wCJUIuB9Bx4", + "created": 1709822306, + "customer": "cus_Ph6InIrZglk7xb", "livemode": false, "metadata": { "ofn-clone": "true" }, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:00 GMT + recorded_at: Thu, 07 Mar 2024 14:38:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml index a1b7043963..277c8533d5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OPu7bXqfz0V9aY","request_duration_ms":814}}' + - '{"last_request_metrics":{"request_id":"req_TdzN26B8oBdaOl","request_duration_ms":716}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:05 GMT + - Thu, 07 Mar 2024 14:38:33 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b00f6298-c2bd-48a0-89c4-57190042e657 + - 671d4405-6ebf-484d-b246-7948717456a1 Original-Request: - - req_Fi5mVfPEq8sEDc + - req_3RgfC1fJkyihKe Request-Id: - - req_Fi5mVfPEq8sEDc + - req_3RgfC1fJkyihKe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkrKuuB1fWySn1l8UGBa8", + "id": "pm_1Ori5dKuuB1fWySnwL3nl2Fc", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821025, + "created": 1709822313, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:05 GMT + recorded_at: Thu, 07 Mar 2024 14:38:33 GMT - request: method: get uri: https://api.stripe.com/v1/customers/non_existing_customer_id @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Fi5mVfPEq8sEDc","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_3RgfC1fJkyihKe","request_duration_ms":532}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:05 GMT + - Thu, 07 Mar 2024 14:38:33 GMT Content-Type: - application/json Content-Length: @@ -190,7 +190,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_mWtv7DaALNyOSy + - req_Y69JiFS9E2QkEo Stripe-Version: - '2023-10-16' Vary: @@ -208,9 +208,9 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/resource-missing", "message": "No such customer: 'non_existing_customer_id'", "param": "id", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_mWtv7DaALNyOSy?t=1709821025", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_Y69JiFS9E2QkEo?t=1709822313", "type": "invalid_request_error" } } - recorded_at: Thu, 07 Mar 2024 14:17:05 GMT + recorded_at: Thu, 07 Mar 2024 14:38:33 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml index 2a1aa4f48c..c820d9c0e2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JRCYthLQKDEkId","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_DDK9D0Yw20Zv2p","request_duration_ms":428}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:03 GMT + - Thu, 07 Mar 2024 14:38:31 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6576d786-cadc-416d-8e54-2064c4a8c735 + - 7029f35a-6f2b-43d1-b7ba-be9ab3d223d0 Original-Request: - - req_Nf65TEWGxgVONK + - req_54mIFyl1NGPc42 Request-Id: - - req_Nf65TEWGxgVONK + - req_54mIFyl1NGPc42 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkpKuuB1fWySnZNLaiwuw", + "id": "pm_1Ori5bKuuB1fWySnjjmxuVAP", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821023, + "created": 1709822311, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:03 GMT + recorded_at: Thu, 07 Mar 2024 14:38:31 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Nf65TEWGxgVONK","request_duration_ms":471}}' + - '{"last_request_metrics":{"request_id":"req_54mIFyl1NGPc42","request_duration_ms":458}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:03 GMT + - Thu, 07 Mar 2024 14:38:31 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 43ce9028-1a6d-4f13-8c46-aa6ab86d2876 + - 2a3a23f8-30e1-463b-9f76-b1b3cd6742c4 Original-Request: - - req_WbgJpSleO0Ma28 + - req_hhFtsFnQHM4c0U Request-Id: - - req_WbgJpSleO0Ma28 + - req_hhFtsFnQHM4c0U Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph5wfvjovdO2Du", + "id": "cus_Ph6I4F5nCkmSCB", "object": "customer", "address": null, "balance": 0, - "created": 1709821023, + "created": 1709822311, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "BF30F687", + "invoice_prefix": "99DCD28A", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,13 +236,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:17:04 GMT + recorded_at: Thu, 07 Mar 2024 14:38:31 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkpKuuB1fWySnZNLaiwuw/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5bKuuB1fWySnjjmxuVAP/attach body: encoding: UTF-8 - string: customer=cus_Ph5wfvjovdO2Du + string: customer=cus_Ph6I4F5nCkmSCB headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -251,7 +251,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WbgJpSleO0Ma28","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_hhFtsFnQHM4c0U","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -271,7 +271,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:04 GMT + - Thu, 07 Mar 2024 14:38:32 GMT Content-Type: - application/json Content-Length: @@ -299,11 +299,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 861d81ac-fd61-4949-a6ef-5f26aa3b26fd + - 602fc70b-d78e-4872-88cc-d7f6ce9a9156 Original-Request: - - req_OPu7bXqfz0V9aY + - req_TdzN26B8oBdaOl Request-Id: - - req_OPu7bXqfz0V9aY + - req_TdzN26B8oBdaOl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +318,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkpKuuB1fWySnZNLaiwuw", + "id": "pm_1Ori5bKuuB1fWySnjjmxuVAP", "object": "payment_method", "billing_details": { "address": { @@ -359,11 +359,11 @@ http_interactions: }, "wallet": null }, - "created": 1709821023, - "customer": "cus_Ph5wfvjovdO2Du", + "created": 1709822311, + "customer": "cus_Ph6I4F5nCkmSCB", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:04 GMT + recorded_at: Thu, 07 Mar 2024 14:38:32 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml index de884d0bb9..67a5f1b88b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HlxKpkuBKRtyQL","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_HhDk3FdZCD1Hle","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:00 GMT + - Thu, 07 Mar 2024 14:38:28 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 88481860-3e38-49c8-a975-9116c4758230 + - 647a1529-84e0-407b-a8c9-26ae3b322677 Original-Request: - - req_hri8FzA2ZQK2uk + - req_URRoCjv5QsdjL3 Request-Id: - - req_hri8FzA2ZQK2uk + - req_URRoCjv5QsdjL3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkmKuuB1fWySnINEG6Bfm", + "id": "pm_1Ori5YKuuB1fWySnQle0Ux9J", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821020, + "created": 1709822308, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:00 GMT + recorded_at: Thu, 07 Mar 2024 14:38:28 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hri8FzA2ZQK2uk","request_duration_ms":544}}' + - '{"last_request_metrics":{"request_id":"req_URRoCjv5QsdjL3","request_duration_ms":532}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:01 GMT + - Thu, 07 Mar 2024 14:38:29 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6b87ff1c-4eef-4ba6-84a6-517ac7375ad8 + - 16ca4482-d73e-41c5-847a-204def02dec8 Original-Request: - - req_EpRzQnZOJKBeQc + - req_LDxyckIHdM2FYG Request-Id: - - req_EpRzQnZOJKBeQc + - req_LDxyckIHdM2FYG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph5wrHccqtK6h3", + "id": "cus_Ph6IVTQ02ksfsN", "object": "customer", "address": null, "balance": 0, - "created": 1709821021, + "created": 1709822308, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "B28D058C", + "invoice_prefix": "9DC7C6A5", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,13 +236,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:17:01 GMT + recorded_at: Thu, 07 Mar 2024 14:38:29 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OrhkmKuuB1fWySnINEG6Bfm/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5YKuuB1fWySnQle0Ux9J/attach body: encoding: UTF-8 - string: customer=cus_Ph5wrHccqtK6h3 + string: customer=cus_Ph6IVTQ02ksfsN headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -251,7 +251,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EpRzQnZOJKBeQc","request_duration_ms":403}}' + - '{"last_request_metrics":{"request_id":"req_LDxyckIHdM2FYG","request_duration_ms":417}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -271,7 +271,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:02 GMT + - Thu, 07 Mar 2024 14:38:29 GMT Content-Type: - application/json Content-Length: @@ -299,11 +299,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 46e936f2-7be3-4af4-9353-30bca41cdfe4 + - 4df75889-88c9-4dbd-bae7-370add29dc11 Original-Request: - - req_g8fRsRd8LSwfDc + - req_2PyC4tJb9L1JIh Request-Id: - - req_g8fRsRd8LSwfDc + - req_2PyC4tJb9L1JIh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +318,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkmKuuB1fWySnINEG6Bfm", + "id": "pm_1Ori5YKuuB1fWySnQle0Ux9J", "object": "payment_method", "billing_details": { "address": { @@ -359,16 +359,16 @@ http_interactions: }, "wallet": null }, - "created": 1709821020, - "customer": "cus_Ph5wrHccqtK6h3", + "created": 1709822308, + "customer": "cus_Ph6IVTQ02ksfsN", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:02 GMT + recorded_at: Thu, 07 Mar 2024 14:38:29 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_Ph5wrHccqtK6h3 + uri: https://api.stripe.com/v1/customers/cus_Ph6IVTQ02ksfsN body: encoding: US-ASCII string: '' @@ -380,7 +380,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_g8fRsRd8LSwfDc","request_duration_ms":715}}' + - '{"last_request_metrics":{"request_id":"req_2PyC4tJb9L1JIh","request_duration_ms":702}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:02 GMT + - Thu, 07 Mar 2024 14:38:30 GMT Content-Type: - application/json Content-Length: @@ -428,7 +428,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_bFBI1lZ0UaFXxj + - req_57qszBty5dFx87 Stripe-Version: - '2023-10-16' Vary: @@ -441,18 +441,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph5wrHccqtK6h3", + "id": "cus_Ph6IVTQ02ksfsN", "object": "customer", "address": null, "balance": 0, - "created": 1709821021, + "created": 1709822308, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "B28D058C", + "invoice_prefix": "9DC7C6A5", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -469,10 +469,10 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:17:02 GMT + recorded_at: Thu, 07 Mar 2024 14:38:30 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_Ph5wrHccqtK6h3 + uri: https://api.stripe.com/v1/customers/cus_Ph6IVTQ02ksfsN body: encoding: US-ASCII string: '' @@ -484,7 +484,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bFBI1lZ0UaFXxj","request_duration_ms":278}}' + - '{"last_request_metrics":{"request_id":"req_57qszBty5dFx87","request_duration_ms":256}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -504,7 +504,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:02 GMT + - Thu, 07 Mar 2024 14:38:30 GMT Content-Type: - application/json Content-Length: @@ -532,7 +532,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_JRCYthLQKDEkId + - req_DDK9D0Yw20Zv2p Stripe-Version: - '2023-10-16' Vary: @@ -545,9 +545,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph5wrHccqtK6h3", + "id": "cus_Ph6IVTQ02ksfsN", "object": "customer", "deleted": true } - recorded_at: Thu, 07 Mar 2024 14:17:02 GMT + recorded_at: Thu, 07 Mar 2024 14:38:30 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 28a5689634..a1cae502dd 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rfNPFIz72cgwGh","request_duration_ms":413}}' + - '{"last_request_metrics":{"request_id":"req_dmU2A6hvvyI5NQ","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:59 GMT + - Thu, 07 Mar 2024 14:40:26 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3b7efc98-1bf5-4e69-b58b-969610371cbd + - a49e951d-7346-48a3-8d20-9618070060ef Original-Request: - - req_TyHo7lIZqlotEF + - req_V9vu8O4ZvqLQXP Request-Id: - - req_TyHo7lIZqlotEF + - req_V9vu8O4ZvqLQXP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmhKuuB1fWySnZBi6MlPg", + "id": "pm_1Ori7SKuuB1fWySnye2fzCd4", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821139, + "created": 1709822426, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:59 GMT + recorded_at: Thu, 07 Mar 2024 14:40:26 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmhKuuB1fWySnZBi6MlPg&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori7SKuuB1fWySnye2fzCd4&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TyHo7lIZqlotEF","request_duration_ms":513}}' + - '{"last_request_metrics":{"request_id":"req_V9vu8O4ZvqLQXP","request_duration_ms":463}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:59 GMT + - Thu, 07 Mar 2024 14:40:27 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 299faa02-ebe8-430d-98a7-a7b808210ea4 + - 18f77155-d214-44a6-9157-d05404a5ad9c Original-Request: - - req_Pk11EipArgbZw2 + - req_jK3S1jfWIgYhut Request-Id: - - req_Pk11EipArgbZw2 + - req_jK3S1jfWIgYhut Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmhKuuB1fWySn09V4ae9M", + "id": "pi_3Ori7SKuuB1fWySn1pDbj3uL", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmhKuuB1fWySn09V4ae9M_secret_rgFVgWqiYy7PTeNAnItnIILJC", + "client_secret": "pi_3Ori7SKuuB1fWySn1pDbj3uL_secret_6x2xJ9KqP5mPs4mwlnyXnBRkt", "confirmation_method": "automatic", - "created": 1709821139, + "created": 1709822426, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmhKuuB1fWySnZBi6MlPg", + "payment_method": "pm_1Ori7SKuuB1fWySnye2fzCd4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:59 GMT + recorded_at: Thu, 07 Mar 2024 14:40:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmhKuuB1fWySn09V4ae9M/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7SKuuB1fWySn1pDbj3uL/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Pk11EipArgbZw2","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_jK3S1jfWIgYhut","request_duration_ms":480}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:01 GMT + - Thu, 07 Mar 2024 14:40:28 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f9cf7b19-6e12-4ea0-a2a0-ce0b2fbe9e27 + - 9ff3ceee-5af6-4d50-a2d3-d80b892448a7 Original-Request: - - req_V60GDQWBm8AR8g + - req_LwzUBMbjvyceP1 Request-Id: - - req_V60GDQWBm8AR8g + - req_LwzUBMbjvyceP1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OrhmhKuuB1fWySn09lXbYQC", + "charge": "ch_3Ori7SKuuB1fWySn1D7JAn3e", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_intent": { - "id": "pi_3OrhmhKuuB1fWySn09V4ae9M", + "id": "pi_3Ori7SKuuB1fWySn1pDbj3uL", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmhKuuB1fWySn09V4ae9M_secret_rgFVgWqiYy7PTeNAnItnIILJC", + "client_secret": "pi_3Ori7SKuuB1fWySn1pDbj3uL_secret_6x2xJ9KqP5mPs4mwlnyXnBRkt", "confirmation_method": "automatic", - "created": 1709821139, + "created": 1709822426, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OrhmhKuuB1fWySn09lXbYQC", + "charge": "ch_3Ori7SKuuB1fWySn1D7JAn3e", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_method": { - "id": "pm_1OrhmhKuuB1fWySnZBi6MlPg", + "id": "pm_1Ori7SKuuB1fWySnye2fzCd4", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709821139, + "created": 1709822426, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OrhmhKuuB1fWySn09lXbYQC", + "latest_charge": "ch_3Ori7SKuuB1fWySn1D7JAn3e", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OrhmhKuuB1fWySnZBi6MlPg", + "id": "pm_1Ori7SKuuB1fWySnye2fzCd4", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709821139, + "created": 1709822426, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_V60GDQWBm8AR8g?t=1709821140", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_LwzUBMbjvyceP1?t=1709822427", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:19:01 GMT + recorded_at: Thu, 07 Mar 2024 14:40:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 1a8a476ba5..5305c4208b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XbOe2bOUoSOXGL","request_duration_ms":488}}' + - '{"last_request_metrics":{"request_id":"req_SWKKVUlVXC9ZIT","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:52 GMT + - Thu, 07 Mar 2024 14:40:20 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e77ac492-e8fa-42a7-bce9-d1849ae71628 + - 80230122-4250-495a-8d69-950cf3334c44 Original-Request: - - req_NoHzT6FylnVzgc + - req_MPC3v6kfmbZvAJ Request-Id: - - req_NoHzT6FylnVzgc + - req_MPC3v6kfmbZvAJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmaKuuB1fWySnptkgKegk", + "id": "pm_1Ori7LKuuB1fWySnbtK81fQN", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821132, + "created": 1709822420, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:52 GMT + recorded_at: Thu, 07 Mar 2024 14:40:20 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmaKuuB1fWySnptkgKegk&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori7LKuuB1fWySnbtK81fQN&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NoHzT6FylnVzgc","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_MPC3v6kfmbZvAJ","request_duration_ms":474}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:53 GMT + - Thu, 07 Mar 2024 14:40:20 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9d66db80-be05-4cdc-a033-c571309febc9 + - 1023af46-22ed-42da-82cb-44eaa9c89053 Original-Request: - - req_xDmNadLpglajCJ + - req_J5wsYlSsCUBlnN Request-Id: - - req_xDmNadLpglajCJ + - req_J5wsYlSsCUBlnN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmbKuuB1fWySn25AElHQF", + "id": "pi_3Ori7MKuuB1fWySn1bbGXSIR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmbKuuB1fWySn25AElHQF_secret_1hXHSlBvDhq6cAWQf93x5d9Oc", + "client_secret": "pi_3Ori7MKuuB1fWySn1bbGXSIR_secret_r81aLGnGaV5uSvvAXDjSrwu0R", "confirmation_method": "automatic", - "created": 1709821133, + "created": 1709822420, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmaKuuB1fWySnptkgKegk", + "payment_method": "pm_1Ori7LKuuB1fWySnbtK81fQN", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:53 GMT + recorded_at: Thu, 07 Mar 2024 14:40:20 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmbKuuB1fWySn25AElHQF/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7MKuuB1fWySn1bbGXSIR/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xDmNadLpglajCJ","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_J5wsYlSsCUBlnN","request_duration_ms":524}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:54 GMT + - Thu, 07 Mar 2024 14:40:21 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ae60497b-6c99-492e-bd23-8be69b1c16c0 + - 64163f20-0d64-4e36-9201-fefdb00b981f Original-Request: - - req_43fZb8IoPkArZG + - req_IPUR95qx6XLkTB Request-Id: - - req_43fZb8IoPkArZG + - req_IPUR95qx6XLkTB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OrhmbKuuB1fWySn2CgehSyT", + "charge": "ch_3Ori7MKuuB1fWySn16SSrz9s", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_intent": { - "id": "pi_3OrhmbKuuB1fWySn25AElHQF", + "id": "pi_3Ori7MKuuB1fWySn1bbGXSIR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmbKuuB1fWySn25AElHQF_secret_1hXHSlBvDhq6cAWQf93x5d9Oc", + "client_secret": "pi_3Ori7MKuuB1fWySn1bbGXSIR_secret_r81aLGnGaV5uSvvAXDjSrwu0R", "confirmation_method": "automatic", - "created": 1709821133, + "created": 1709822420, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OrhmbKuuB1fWySn2CgehSyT", + "charge": "ch_3Ori7MKuuB1fWySn16SSrz9s", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_method": { - "id": "pm_1OrhmaKuuB1fWySnptkgKegk", + "id": "pm_1Ori7LKuuB1fWySnbtK81fQN", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709821132, + "created": 1709822420, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OrhmbKuuB1fWySn2CgehSyT", + "latest_charge": "ch_3Ori7MKuuB1fWySn16SSrz9s", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OrhmaKuuB1fWySnptkgKegk", + "id": "pm_1Ori7LKuuB1fWySnbtK81fQN", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709821132, + "created": 1709822420, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_43fZb8IoPkArZG?t=1709821133", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_IPUR95qx6XLkTB?t=1709822420", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:18:54 GMT + recorded_at: Thu, 07 Mar 2024 14:40:21 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index e53834ef1a..fb458e4448 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qjFiOOkOS61qmW","request_duration_ms":399}}' + - '{"last_request_metrics":{"request_id":"req_IjzV40nyzPASXw","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:44 GMT + - Thu, 07 Mar 2024 14:40:11 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 10272640-f8bf-4064-bc78-a4b9e009718d + - bc1dc665-ac38-46d2-9cc4-53eb1771cac8 Original-Request: - - req_P7bl4OeymVbO9q + - req_9YMEdFIjp3eKq2 Request-Id: - - req_P7bl4OeymVbO9q + - req_9YMEdFIjp3eKq2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmSKuuB1fWySnJkxMaPYS", + "id": "pm_1Ori7DKuuB1fWySnoF4psvaj", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821124, + "created": 1709822411, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:44 GMT + recorded_at: Thu, 07 Mar 2024 14:40:11 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmSKuuB1fWySnJkxMaPYS&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori7DKuuB1fWySnoF4psvaj&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_P7bl4OeymVbO9q","request_duration_ms":563}}' + - '{"last_request_metrics":{"request_id":"req_9YMEdFIjp3eKq2","request_duration_ms":554}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:44 GMT + - Thu, 07 Mar 2024 14:40:11 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7018df3e-8eb3-4502-8ca8-9a4e87033355 + - 0a9f8d67-f50f-46be-b644-7ee834a068f8 Original-Request: - - req_6YoLsPg8kc9HPG + - req_7Skahr0crBv1wm Request-Id: - - req_6YoLsPg8kc9HPG + - req_7Skahr0crBv1wm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmSKuuB1fWySn1uPMJSoo", + "id": "pi_3Ori7DKuuB1fWySn1fek0g4v", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmSKuuB1fWySn1uPMJSoo_secret_XsotrUCQeEKkUqotNpGIrgL1G", + "client_secret": "pi_3Ori7DKuuB1fWySn1fek0g4v_secret_mh3kQmN22ILpXnoYsd22evWnt", "confirmation_method": "automatic", - "created": 1709821124, + "created": 1709822411, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmSKuuB1fWySnJkxMaPYS", + "payment_method": "pm_1Ori7DKuuB1fWySnoF4psvaj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:44 GMT + recorded_at: Thu, 07 Mar 2024 14:40:11 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmSKuuB1fWySn1uPMJSoo/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7DKuuB1fWySn1fek0g4v/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6YoLsPg8kc9HPG","request_duration_ms":430}}' + - '{"last_request_metrics":{"request_id":"req_7Skahr0crBv1wm","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:45 GMT + - Thu, 07 Mar 2024 14:40:13 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9f99ba61-ed0a-451e-9618-0524cafde338 + - 3e2a79aa-8e0f-42ce-b8a4-6737d2dd29cf Original-Request: - - req_F9JwbpvR91hXeP + - req_ZzmnUUQhWayBa9 Request-Id: - - req_F9JwbpvR91hXeP + - req_ZzmnUUQhWayBa9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OrhmSKuuB1fWySn14x4qVk2", + "charge": "ch_3Ori7DKuuB1fWySn1Pl9VrjW", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OrhmSKuuB1fWySn1uPMJSoo", + "id": "pi_3Ori7DKuuB1fWySn1fek0g4v", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmSKuuB1fWySn1uPMJSoo_secret_XsotrUCQeEKkUqotNpGIrgL1G", + "client_secret": "pi_3Ori7DKuuB1fWySn1fek0g4v_secret_mh3kQmN22ILpXnoYsd22evWnt", "confirmation_method": "automatic", - "created": 1709821124, + "created": 1709822411, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OrhmSKuuB1fWySn14x4qVk2", + "charge": "ch_3Ori7DKuuB1fWySn1Pl9VrjW", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OrhmSKuuB1fWySnJkxMaPYS", + "id": "pm_1Ori7DKuuB1fWySnoF4psvaj", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709821124, + "created": 1709822411, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OrhmSKuuB1fWySn14x4qVk2", + "latest_charge": "ch_3Ori7DKuuB1fWySn1Pl9VrjW", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OrhmSKuuB1fWySnJkxMaPYS", + "id": "pm_1Ori7DKuuB1fWySnoF4psvaj", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709821124, + "created": 1709822411, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_F9JwbpvR91hXeP?t=1709821125", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_ZzmnUUQhWayBa9?t=1709822412", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:18:46 GMT + recorded_at: Thu, 07 Mar 2024 14:40:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 28ed13fe98..973d23018d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xDmNadLpglajCJ","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_J5wsYlSsCUBlnN","request_duration_ms":524}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:55 GMT + - Thu, 07 Mar 2024 14:40:22 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3c103a73-dec4-43fe-bbd3-8a13c59d9403 + - 005ac41f-6074-4282-9aea-c3209a98e12d Original-Request: - - req_XwblbP1HuwFvpc + - req_nxAEavLOSgDwj2 Request-Id: - - req_XwblbP1HuwFvpc + - req_nxAEavLOSgDwj2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmcKuuB1fWySn2KFmD081", + "id": "pm_1Ori7OKuuB1fWySnfMrh5kOE", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821134, + "created": 1709822422, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:55 GMT + recorded_at: Thu, 07 Mar 2024 14:40:22 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmcKuuB1fWySn2KFmD081&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori7OKuuB1fWySnfMrh5kOE&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XwblbP1HuwFvpc","request_duration_ms":564}}' + - '{"last_request_metrics":{"request_id":"req_nxAEavLOSgDwj2","request_duration_ms":522}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:55 GMT + - Thu, 07 Mar 2024 14:40:22 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 25d985e4-5077-43dc-8671-4beec5686a9f + - de580d48-2b4d-425f-817a-8c9b95f2effb Original-Request: - - req_Ac6TXrT5BqzQ1A + - req_MGcpO4a6CpsZh3 Request-Id: - - req_Ac6TXrT5BqzQ1A + - req_MGcpO4a6CpsZh3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmdKuuB1fWySn0pgk7DHN", + "id": "pi_3Ori7OKuuB1fWySn2lGcniKf", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmdKuuB1fWySn0pgk7DHN_secret_7At8RSXg5ugIGa6N0yE1hIjlX", + "client_secret": "pi_3Ori7OKuuB1fWySn2lGcniKf_secret_27r3xoMku3tuFK1MCCPQ6nXPA", "confirmation_method": "automatic", - "created": 1709821135, + "created": 1709822422, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmcKuuB1fWySn2KFmD081", + "payment_method": "pm_1Ori7OKuuB1fWySnfMrh5kOE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:55 GMT + recorded_at: Thu, 07 Mar 2024 14:40:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmdKuuB1fWySn0pgk7DHN/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7OKuuB1fWySn2lGcniKf/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ac6TXrT5BqzQ1A","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_MGcpO4a6CpsZh3","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:56 GMT + - Thu, 07 Mar 2024 14:40:23 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 74b55dd0-e07c-4194-b402-a1f0425eec5c + - d9f0d64e-8a2c-470f-800b-443866d1d68c Original-Request: - - req_SAISdfityPGt3i + - req_9bEsThSpnwP6n4 Request-Id: - - req_SAISdfityPGt3i + - req_9bEsThSpnwP6n4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OrhmdKuuB1fWySn0Qaj7F92", + "charge": "ch_3Ori7OKuuB1fWySn2waBI9rG", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_intent": { - "id": "pi_3OrhmdKuuB1fWySn0pgk7DHN", + "id": "pi_3Ori7OKuuB1fWySn2lGcniKf", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmdKuuB1fWySn0pgk7DHN_secret_7At8RSXg5ugIGa6N0yE1hIjlX", + "client_secret": "pi_3Ori7OKuuB1fWySn2lGcniKf_secret_27r3xoMku3tuFK1MCCPQ6nXPA", "confirmation_method": "automatic", - "created": 1709821135, + "created": 1709822422, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OrhmdKuuB1fWySn0Qaj7F92", + "charge": "ch_3Ori7OKuuB1fWySn2waBI9rG", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_method": { - "id": "pm_1OrhmcKuuB1fWySn2KFmD081", + "id": "pm_1Ori7OKuuB1fWySnfMrh5kOE", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709821134, + "created": 1709822422, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OrhmdKuuB1fWySn0Qaj7F92", + "latest_charge": "ch_3Ori7OKuuB1fWySn2waBI9rG", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OrhmcKuuB1fWySn2KFmD081", + "id": "pm_1Ori7OKuuB1fWySnfMrh5kOE", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709821134, + "created": 1709822422, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_SAISdfityPGt3i?t=1709821135", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_9bEsThSpnwP6n4?t=1709822423", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:18:56 GMT + recorded_at: Thu, 07 Mar 2024 14:40:24 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 2be6c5575b..0eb236442c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6YoLsPg8kc9HPG","request_duration_ms":430}}' + - '{"last_request_metrics":{"request_id":"req_7Skahr0crBv1wm","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:46 GMT + - Thu, 07 Mar 2024 14:40:13 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 49b4b991-0dfe-4c48-a385-98fed5dddc68 + - 34acb6c3-360a-445d-b688-675ce8e52220 Original-Request: - - req_A0HkqD6pcVYLcO + - req_50qaXaMyfobtkY Request-Id: - - req_A0HkqD6pcVYLcO + - req_50qaXaMyfobtkY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmUKuuB1fWySnbFV8hwBB", + "id": "pm_1Ori7FKuuB1fWySnZayduPRY", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821126, + "created": 1709822413, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:46 GMT + recorded_at: Thu, 07 Mar 2024 14:40:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmUKuuB1fWySnbFV8hwBB&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori7FKuuB1fWySnZayduPRY&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_A0HkqD6pcVYLcO","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_50qaXaMyfobtkY","request_duration_ms":465}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:46 GMT + - Thu, 07 Mar 2024 14:40:14 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 75eb66ac-09cd-4baf-adc6-6cc6f9b5d63a + - 2694d56d-0057-45ef-aeea-c90467f9bd92 Original-Request: - - req_lYpU8Jn8Ty90MQ + - req_0QZXWGSKgrPZiF Request-Id: - - req_lYpU8Jn8Ty90MQ + - req_0QZXWGSKgrPZiF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmUKuuB1fWySn0j1kELdO", + "id": "pi_3Ori7FKuuB1fWySn2BkZcuqD", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmUKuuB1fWySn0j1kELdO_secret_zc4lzyKLPPcLPgLRmPkEqH3vf", + "client_secret": "pi_3Ori7FKuuB1fWySn2BkZcuqD_secret_z0Ctul69Rly78yxRbiXtELsrW", "confirmation_method": "automatic", - "created": 1709821126, + "created": 1709822413, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmUKuuB1fWySnbFV8hwBB", + "payment_method": "pm_1Ori7FKuuB1fWySnZayduPRY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:46 GMT + recorded_at: Thu, 07 Mar 2024 14:40:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmUKuuB1fWySn0j1kELdO/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7FKuuB1fWySn2BkZcuqD/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lYpU8Jn8Ty90MQ","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_0QZXWGSKgrPZiF","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:47 GMT + - Thu, 07 Mar 2024 14:40:15 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3f085b17-dfcd-4c94-8301-c15ef5697511 + - 189a85b8-2b08-4482-aab4-2ec43b8c7111 Original-Request: - - req_XdL726LzJb1xiY + - req_Zhsqe9q9P2kqR3 Request-Id: - - req_XdL726LzJb1xiY + - req_Zhsqe9q9P2kqR3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OrhmUKuuB1fWySn0F5g9ozx", + "charge": "ch_3Ori7FKuuB1fWySn2XpB1aCD", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_intent": { - "id": "pi_3OrhmUKuuB1fWySn0j1kELdO", + "id": "pi_3Ori7FKuuB1fWySn2BkZcuqD", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmUKuuB1fWySn0j1kELdO_secret_zc4lzyKLPPcLPgLRmPkEqH3vf", + "client_secret": "pi_3Ori7FKuuB1fWySn2BkZcuqD_secret_z0Ctul69Rly78yxRbiXtELsrW", "confirmation_method": "automatic", - "created": 1709821126, + "created": 1709822413, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OrhmUKuuB1fWySn0F5g9ozx", + "charge": "ch_3Ori7FKuuB1fWySn2XpB1aCD", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_method": { - "id": "pm_1OrhmUKuuB1fWySnbFV8hwBB", + "id": "pm_1Ori7FKuuB1fWySnZayduPRY", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709821126, + "created": 1709822413, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OrhmUKuuB1fWySn0F5g9ozx", + "latest_charge": "ch_3Ori7FKuuB1fWySn2XpB1aCD", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OrhmUKuuB1fWySnbFV8hwBB", + "id": "pm_1Ori7FKuuB1fWySnZayduPRY", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709821126, + "created": 1709822413, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_XdL726LzJb1xiY?t=1709821127", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_Zhsqe9q9P2kqR3?t=1709822414", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:18:48 GMT + recorded_at: Thu, 07 Mar 2024 14:40:15 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index af42cd1e0a..60d60a78db 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lYpU8Jn8Ty90MQ","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_0QZXWGSKgrPZiF","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:48 GMT + - Thu, 07 Mar 2024 14:40:15 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e49df763-3ff7-4351-8fe4-39a24109ebc7 + - 2086ee17-926c-42a1-9b1e-ee63f2cda14a Original-Request: - - req_ZNWo9ImRDy7XML + - req_jWsyC8zBF22g0n Request-Id: - - req_ZNWo9ImRDy7XML + - req_jWsyC8zBF22g0n Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmWKuuB1fWySnoL1Grmwo", + "id": "pm_1Ori7HKuuB1fWySnBKpXzxRH", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821128, + "created": 1709822415, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:48 GMT + recorded_at: Thu, 07 Mar 2024 14:40:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmWKuuB1fWySnoL1Grmwo&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori7HKuuB1fWySnBKpXzxRH&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZNWo9ImRDy7XML","request_duration_ms":565}}' + - '{"last_request_metrics":{"request_id":"req_jWsyC8zBF22g0n","request_duration_ms":454}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:49 GMT + - Thu, 07 Mar 2024 14:40:16 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 543f8903-4d2e-400c-b8db-45eabe04e491 + - ee696ef2-af74-404f-b2d2-aa0cb350994b Original-Request: - - req_M44c3c4lTnnHUb + - req_GjiQt0VnbMyIRb Request-Id: - - req_M44c3c4lTnnHUb + - req_GjiQt0VnbMyIRb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmWKuuB1fWySn1PtPgMYz", + "id": "pi_3Ori7IKuuB1fWySn2jjKctjV", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmWKuuB1fWySn1PtPgMYz_secret_WrG1EXEN5x1yacN9AR0x3cnf0", + "client_secret": "pi_3Ori7IKuuB1fWySn2jjKctjV_secret_62644si24ljPwessNhN0zamYy", "confirmation_method": "automatic", - "created": 1709821128, + "created": 1709822416, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmWKuuB1fWySnoL1Grmwo", + "payment_method": "pm_1Ori7HKuuB1fWySnBKpXzxRH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:49 GMT + recorded_at: Thu, 07 Mar 2024 14:40:16 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmWKuuB1fWySn1PtPgMYz/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7IKuuB1fWySn2jjKctjV/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_M44c3c4lTnnHUb","request_duration_ms":503}}' + - '{"last_request_metrics":{"request_id":"req_GjiQt0VnbMyIRb","request_duration_ms":518}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:50 GMT + - Thu, 07 Mar 2024 14:40:17 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f43ec608-f479-4e5b-bbd9-2f4add9aef18 + - afe0a7f9-1f07-4874-b682-11dacfb10e9b Original-Request: - - req_CesvpPnco1mPHo + - req_5rCkKEaOxLYPuf Request-Id: - - req_CesvpPnco1mPHo + - req_5rCkKEaOxLYPuf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OrhmWKuuB1fWySn1M6nQZJw", + "charge": "ch_3Ori7IKuuB1fWySn2jQ9W5K9", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OrhmWKuuB1fWySn1PtPgMYz", + "id": "pi_3Ori7IKuuB1fWySn2jjKctjV", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmWKuuB1fWySn1PtPgMYz_secret_WrG1EXEN5x1yacN9AR0x3cnf0", + "client_secret": "pi_3Ori7IKuuB1fWySn2jjKctjV_secret_62644si24ljPwessNhN0zamYy", "confirmation_method": "automatic", - "created": 1709821128, + "created": 1709822416, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OrhmWKuuB1fWySn1M6nQZJw", + "charge": "ch_3Ori7IKuuB1fWySn2jQ9W5K9", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OrhmWKuuB1fWySnoL1Grmwo", + "id": "pm_1Ori7HKuuB1fWySnBKpXzxRH", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709821128, + "created": 1709822415, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OrhmWKuuB1fWySn1M6nQZJw", + "latest_charge": "ch_3Ori7IKuuB1fWySn2jQ9W5K9", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OrhmWKuuB1fWySnoL1Grmwo", + "id": "pm_1Ori7HKuuB1fWySnBKpXzxRH", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709821128, + "created": 1709822415, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_CesvpPnco1mPHo?t=1709821129", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_5rCkKEaOxLYPuf?t=1709822416", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:18:50 GMT + recorded_at: Thu, 07 Mar 2024 14:40:17 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index a2f3ca8a39..acd16f3311 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ac6TXrT5BqzQ1A","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_MGcpO4a6CpsZh3","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:57 GMT + - Thu, 07 Mar 2024 14:40:24 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9daec39c-9a81-4478-b059-9341942cde4a + - 570e2ddf-c85f-47b3-85f7-54c74e26cf33 Original-Request: - - req_zUEVTz0gJtB3yI + - req_otRbvKdi5F1Djm Request-Id: - - req_zUEVTz0gJtB3yI + - req_otRbvKdi5F1Djm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmfKuuB1fWySnoaijO58b", + "id": "pm_1Ori7QKuuB1fWySn5fsCsidQ", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821137, + "created": 1709822424, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:57 GMT + recorded_at: Thu, 07 Mar 2024 14:40:24 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmfKuuB1fWySnoaijO58b&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori7QKuuB1fWySn5fsCsidQ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zUEVTz0gJtB3yI","request_duration_ms":499}}' + - '{"last_request_metrics":{"request_id":"req_otRbvKdi5F1Djm","request_duration_ms":565}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:57 GMT + - Thu, 07 Mar 2024 14:40:25 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 952228fb-a086-4982-8fb8-c3a931fad695 + - f22a2060-24fa-4000-9866-8278582fdc75 Original-Request: - - req_rfNPFIz72cgwGh + - req_dmU2A6hvvyI5NQ Request-Id: - - req_rfNPFIz72cgwGh + - req_dmU2A6hvvyI5NQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmfKuuB1fWySn2OgJItG5", + "id": "pi_3Ori7QKuuB1fWySn2ivIq1JM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmfKuuB1fWySn2OgJItG5_secret_JQMpEQAFjU5hjn7p829LcD6Ae", + "client_secret": "pi_3Ori7QKuuB1fWySn2ivIq1JM_secret_lRJ71Fd7i1aPwt7XwdoDvRV6p", "confirmation_method": "automatic", - "created": 1709821137, + "created": 1709822424, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmfKuuB1fWySnoaijO58b", + "payment_method": "pm_1Ori7QKuuB1fWySn5fsCsidQ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:57 GMT + recorded_at: Thu, 07 Mar 2024 14:40:25 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmfKuuB1fWySn2OgJItG5/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7QKuuB1fWySn2ivIq1JM/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rfNPFIz72cgwGh","request_duration_ms":413}}' + - '{"last_request_metrics":{"request_id":"req_dmU2A6hvvyI5NQ","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:58 GMT + - Thu, 07 Mar 2024 14:40:26 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2d10db6b-7b1c-4924-8628-4c7467592fe2 + - df624cf0-87fb-4082-bdb3-3059a13792cf Original-Request: - - req_2YeBqRZDv9NkZz + - req_rBDbyo4pCUlHKf Request-Id: - - req_2YeBqRZDv9NkZz + - req_rBDbyo4pCUlHKf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,12 +343,12 @@ http_interactions: string: | { "error": { - "charge": "ch_3OrhmfKuuB1fWySn2bOV8R11", + "charge": "ch_3Ori7QKuuB1fWySn2gRP36We", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_intent": { - "id": "pi_3OrhmfKuuB1fWySn2OgJItG5", + "id": "pi_3Ori7QKuuB1fWySn2ivIq1JM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -363,20 +363,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmfKuuB1fWySn2OgJItG5_secret_JQMpEQAFjU5hjn7p829LcD6Ae", + "client_secret": "pi_3Ori7QKuuB1fWySn2ivIq1JM_secret_lRJ71Fd7i1aPwt7XwdoDvRV6p", "confirmation_method": "automatic", - "created": 1709821137, + "created": 1709822424, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OrhmfKuuB1fWySn2bOV8R11", + "charge": "ch_3Ori7QKuuB1fWySn2gRP36We", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_method": { - "id": "pm_1OrhmfKuuB1fWySnoaijO58b", + "id": "pm_1Ori7QKuuB1fWySn5fsCsidQ", "object": "payment_method", "billing_details": { "address": { @@ -417,7 +417,7 @@ http_interactions: }, "wallet": null }, - "created": 1709821137, + "created": 1709822424, "customer": null, "livemode": false, "metadata": { @@ -426,7 +426,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OrhmfKuuB1fWySn2bOV8R11", + "latest_charge": "ch_3Ori7QKuuB1fWySn2gRP36We", "livemode": false, "metadata": { }, @@ -458,7 +458,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OrhmfKuuB1fWySnoaijO58b", + "id": "pm_1Ori7QKuuB1fWySn5fsCsidQ", "object": "payment_method", "billing_details": { "address": { @@ -499,16 +499,16 @@ http_interactions: }, "wallet": null }, - "created": 1709821137, + "created": 1709822424, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_2YeBqRZDv9NkZz?t=1709821137", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_rBDbyo4pCUlHKf?t=1709822425", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:18:58 GMT + recorded_at: Thu, 07 Mar 2024 14:40:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 9a8f7bded5..4886654246 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_M44c3c4lTnnHUb","request_duration_ms":503}}' + - '{"last_request_metrics":{"request_id":"req_GjiQt0VnbMyIRb","request_duration_ms":518}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:50 GMT + - Thu, 07 Mar 2024 14:40:18 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 32461794-5cb3-4332-9f60-4497aa3b8eac + - dbc0c19f-59bb-4bf7-bfd2-193001f04740 Original-Request: - - req_oPr7JRTyie9V8G + - req_3Qh9lqjeUuXSPB Request-Id: - - req_oPr7JRTyie9V8G + - req_3Qh9lqjeUuXSPB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmYKuuB1fWySnRPV32X1b", + "id": "pm_1Ori7JKuuB1fWySnUdGwQ0iu", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821130, + "created": 1709822417, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:50 GMT + recorded_at: Thu, 07 Mar 2024 14:40:18 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmYKuuB1fWySnRPV32X1b&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori7JKuuB1fWySnUdGwQ0iu&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oPr7JRTyie9V8G","request_duration_ms":462}}' + - '{"last_request_metrics":{"request_id":"req_3Qh9lqjeUuXSPB","request_duration_ms":464}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:51 GMT + - Thu, 07 Mar 2024 14:40:18 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 82432dc1-d71b-42d0-a006-913e9fb7b4c8 + - e5e96122-7dac-431c-8820-7799e4118652 Original-Request: - - req_XbOe2bOUoSOXGL + - req_SWKKVUlVXC9ZIT Request-Id: - - req_XbOe2bOUoSOXGL + - req_SWKKVUlVXC9ZIT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmZKuuB1fWySn2y5qbucn", + "id": "pi_3Ori7KKuuB1fWySn0M8pKi78", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmZKuuB1fWySn2y5qbucn_secret_QcrC9iHIOKmTqCbXpiZH26Uiv", + "client_secret": "pi_3Ori7KKuuB1fWySn0M8pKi78_secret_94kSrngiGInsYV8JWunX5degn", "confirmation_method": "automatic", - "created": 1709821131, + "created": 1709822418, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmYKuuB1fWySnRPV32X1b", + "payment_method": "pm_1Ori7JKuuB1fWySnUdGwQ0iu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:51 GMT + recorded_at: Thu, 07 Mar 2024 14:40:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmZKuuB1fWySn2y5qbucn/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7KKuuB1fWySn0M8pKi78/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XbOe2bOUoSOXGL","request_duration_ms":488}}' + - '{"last_request_metrics":{"request_id":"req_SWKKVUlVXC9ZIT","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:52 GMT + - Thu, 07 Mar 2024 14:40:19 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5b018b07-e309-4141-a586-ebe41c934b11 + - 0f6b5ad3-2fb7-474e-838b-7e6c8d6b8249 Original-Request: - - req_QMto5qBNVgwtJU + - req_3QdSvP8Q2TTcGg Request-Id: - - req_QMto5qBNVgwtJU + - req_3QdSvP8Q2TTcGg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OrhmZKuuB1fWySn2hlwuY9V", + "charge": "ch_3Ori7KKuuB1fWySn078sGDKF", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OrhmZKuuB1fWySn2y5qbucn", + "id": "pi_3Ori7KKuuB1fWySn0M8pKi78", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmZKuuB1fWySn2y5qbucn_secret_QcrC9iHIOKmTqCbXpiZH26Uiv", + "client_secret": "pi_3Ori7KKuuB1fWySn0M8pKi78_secret_94kSrngiGInsYV8JWunX5degn", "confirmation_method": "automatic", - "created": 1709821131, + "created": 1709822418, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OrhmZKuuB1fWySn2hlwuY9V", + "charge": "ch_3Ori7KKuuB1fWySn078sGDKF", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OrhmYKuuB1fWySnRPV32X1b", + "id": "pm_1Ori7JKuuB1fWySnUdGwQ0iu", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709821130, + "created": 1709822417, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OrhmZKuuB1fWySn2hlwuY9V", + "latest_charge": "ch_3Ori7KKuuB1fWySn078sGDKF", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OrhmYKuuB1fWySnRPV32X1b", + "id": "pm_1Ori7JKuuB1fWySnUdGwQ0iu", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709821130, + "created": 1709822417, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_QMto5qBNVgwtJU?t=1709821131", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_3QdSvP8Q2TTcGg?t=1709822418", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:18:52 GMT + recorded_at: Thu, 07 Mar 2024 14:40:19 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml index 43c7cc53d9..f4ea49e2b9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PBXi1xo26CwOKK","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_Zv3xLud85hWtta","request_duration_ms":1224}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:47 GMT + - Thu, 07 Mar 2024 14:39:14 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 38dceaa3-b6dd-4bfb-8516-4940e8d8ad3c + - bb3fb32a-c79d-4ee8-b8f4-2948ad2ef747 Original-Request: - - req_sb7447EMWPSQKs + - req_5pCqtckheJUZi4 Request-Id: - - req_sb7447EMWPSQKs + - req_5pCqtckheJUZi4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlXKuuB1fWySnda3V1iWn", + "id": "pm_1Ori6IKuuB1fWySn8qWrzZUc", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821067, + "created": 1709822354, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:47 GMT + recorded_at: Thu, 07 Mar 2024 14:39:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlXKuuB1fWySnda3V1iWn&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6IKuuB1fWySn8qWrzZUc&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sb7447EMWPSQKs","request_duration_ms":513}}' + - '{"last_request_metrics":{"request_id":"req_5pCqtckheJUZi4","request_duration_ms":535}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:48 GMT + - Thu, 07 Mar 2024 14:39:15 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 385ba8b9-6d5d-43c5-9903-629fb3e942b2 + - 5e913e95-46d4-4942-a966-87a75bbe72ac Original-Request: - - req_9GICNHGok8hdy9 + - req_7dcJZwoPNbndux Request-Id: - - req_9GICNHGok8hdy9 + - req_7dcJZwoPNbndux Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlXKuuB1fWySn0lWqyEhW", + "id": "pi_3Ori6JKuuB1fWySn16tWCfsA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlXKuuB1fWySn0lWqyEhW_secret_silStDXFakt1uO6sMxcQrpOeS", + "client_secret": "pi_3Ori6JKuuB1fWySn16tWCfsA_secret_D8hlGgauhUmrdkdwHWW00R8Yi", "confirmation_method": "automatic", - "created": 1709821067, + "created": 1709822355, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlXKuuB1fWySnda3V1iWn", + "payment_method": "pm_1Ori6IKuuB1fWySn8qWrzZUc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:48 GMT + recorded_at: Thu, 07 Mar 2024 14:39:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlXKuuB1fWySn0lWqyEhW/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6JKuuB1fWySn16tWCfsA/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9GICNHGok8hdy9","request_duration_ms":433}}' + - '{"last_request_metrics":{"request_id":"req_7dcJZwoPNbndux","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:49 GMT + - Thu, 07 Mar 2024 14:39:16 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - acf88f99-9eca-4a9b-a6e5-f37e477074a5 + - 236e9e13-0085-43c6-b74f-5a692ec4e87e Original-Request: - - req_E38gUjkvfrTtDw + - req_lMgp6kgfcysvgW Request-Id: - - req_E38gUjkvfrTtDw + - req_lMgp6kgfcysvgW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlXKuuB1fWySn0lWqyEhW", + "id": "pi_3Ori6JKuuB1fWySn16tWCfsA", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlXKuuB1fWySn0lWqyEhW_secret_silStDXFakt1uO6sMxcQrpOeS", + "client_secret": "pi_3Ori6JKuuB1fWySn16tWCfsA_secret_D8hlGgauhUmrdkdwHWW00R8Yi", "confirmation_method": "automatic", - "created": 1709821067, + "created": 1709822355, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlXKuuB1fWySn0uWd0dSO", + "latest_charge": "ch_3Ori6JKuuB1fWySn1wrv5A0d", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlXKuuB1fWySnda3V1iWn", + "payment_method": "pm_1Ori6IKuuB1fWySn8qWrzZUc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:49 GMT + recorded_at: Thu, 07 Mar 2024 14:39:16 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlXKuuB1fWySn0lWqyEhW + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6JKuuB1fWySn16tWCfsA body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_E38gUjkvfrTtDw","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_lMgp6kgfcysvgW","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:49 GMT + - Thu, 07 Mar 2024 14:39:16 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_s06ONhbogkUfvd + - req_y6sasdBUhpueik Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlXKuuB1fWySn0lWqyEhW", + "id": "pi_3Ori6JKuuB1fWySn16tWCfsA", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlXKuuB1fWySn0lWqyEhW_secret_silStDXFakt1uO6sMxcQrpOeS", + "client_secret": "pi_3Ori6JKuuB1fWySn16tWCfsA_secret_D8hlGgauhUmrdkdwHWW00R8Yi", "confirmation_method": "automatic", - "created": 1709821067, + "created": 1709822355, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlXKuuB1fWySn0uWd0dSO", + "latest_charge": "ch_3Ori6JKuuB1fWySn1wrv5A0d", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlXKuuB1fWySnda3V1iWn", + "payment_method": "pm_1Ori6IKuuB1fWySn8qWrzZUc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:49 GMT + recorded_at: Thu, 07 Mar 2024 14:39:16 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlXKuuB1fWySn0lWqyEhW/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6JKuuB1fWySn16tWCfsA/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_s06ONhbogkUfvd","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_y6sasdBUhpueik","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:50 GMT + - Thu, 07 Mar 2024 14:39:17 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ad2146b4-d285-4cc6-972f-d1bd9c8300d2 + - 438ab444-fb24-457c-bb5e-b0456a4d7fb8 Original-Request: - - req_ToMS44nOrBMt2V + - req_9lLw9UqoVnv5UW Request-Id: - - req_ToMS44nOrBMt2V + - req_9lLw9UqoVnv5UW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlXKuuB1fWySn0lWqyEhW", + "id": "pi_3Ori6JKuuB1fWySn16tWCfsA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlXKuuB1fWySn0lWqyEhW_secret_silStDXFakt1uO6sMxcQrpOeS", + "client_secret": "pi_3Ori6JKuuB1fWySn16tWCfsA_secret_D8hlGgauhUmrdkdwHWW00R8Yi", "confirmation_method": "automatic", - "created": 1709821067, + "created": 1709822355, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlXKuuB1fWySn0uWd0dSO", + "latest_charge": "ch_3Ori6JKuuB1fWySn1wrv5A0d", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlXKuuB1fWySnda3V1iWn", + "payment_method": "pm_1Ori6IKuuB1fWySn8qWrzZUc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:50 GMT + recorded_at: Thu, 07 Mar 2024 14:39:17 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlXKuuB1fWySn0lWqyEhW + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6JKuuB1fWySn16tWCfsA body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ToMS44nOrBMt2V","request_duration_ms":1095}}' + - '{"last_request_metrics":{"request_id":"req_9lLw9UqoVnv5UW","request_duration_ms":1062}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:50 GMT + - Thu, 07 Mar 2024 14:39:18 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_sopEZP0SunuuDr + - req_05HOGExtHTtFid Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlXKuuB1fWySn0lWqyEhW", + "id": "pi_3Ori6JKuuB1fWySn16tWCfsA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlXKuuB1fWySn0lWqyEhW_secret_silStDXFakt1uO6sMxcQrpOeS", + "client_secret": "pi_3Ori6JKuuB1fWySn16tWCfsA_secret_D8hlGgauhUmrdkdwHWW00R8Yi", "confirmation_method": "automatic", - "created": 1709821067, + "created": 1709822355, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlXKuuB1fWySn0uWd0dSO", + "latest_charge": "ch_3Ori6JKuuB1fWySn1wrv5A0d", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlXKuuB1fWySnda3V1iWn", + "payment_method": "pm_1Ori6IKuuB1fWySn8qWrzZUc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:50 GMT + recorded_at: Thu, 07 Mar 2024 14:39:18 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml index e9bf59e189..6552bdeccd 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OlSFbckyuMDohr","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_rlf2Pi3A5Mmqhc","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:45 GMT + - Thu, 07 Mar 2024 14:39:12 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ede31a35-101a-4e31-9485-8299cbf396e2 + - 73be0226-ff96-4329-b76b-60f549897100 Original-Request: - - req_q23qnkQypDV9xD + - req_X4pUFLD6uAH1pZ Request-Id: - - req_q23qnkQypDV9xD + - req_X4pUFLD6uAH1pZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlUKuuB1fWySnvnC4beQn", + "id": "pm_1Ori6FKuuB1fWySng6AKDYxR", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821065, + "created": 1709822352, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:45 GMT + recorded_at: Thu, 07 Mar 2024 14:39:12 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlUKuuB1fWySnvnC4beQn&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6FKuuB1fWySng6AKDYxR&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_q23qnkQypDV9xD","request_duration_ms":465}}' + - '{"last_request_metrics":{"request_id":"req_X4pUFLD6uAH1pZ","request_duration_ms":564}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:45 GMT + - Thu, 07 Mar 2024 14:39:12 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3d1d9236-9474-4534-94c0-80217663eb63 + - 98537026-a4dd-4913-bf29-0bb7c451cff1 Original-Request: - - req_j90cqy0vfiuI8h + - req_gJHYBAMCM9Jv0Q Request-Id: - - req_j90cqy0vfiuI8h + - req_gJHYBAMCM9Jv0Q Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlVKuuB1fWySn0ftANvXe", + "id": "pi_3Ori6GKuuB1fWySn2EcTbKCm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlVKuuB1fWySn0ftANvXe_secret_U59ggKTicmmxSh2XpGx37eufc", + "client_secret": "pi_3Ori6GKuuB1fWySn2EcTbKCm_secret_PF9aKYFH3i5Xl5jIyWIcqR3FZ", "confirmation_method": "automatic", - "created": 1709821065, + "created": 1709822352, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlUKuuB1fWySnvnC4beQn", + "payment_method": "pm_1Ori6FKuuB1fWySng6AKDYxR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:45 GMT + recorded_at: Thu, 07 Mar 2024 14:39:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlVKuuB1fWySn0ftANvXe/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6GKuuB1fWySn2EcTbKCm/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_j90cqy0vfiuI8h","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_gJHYBAMCM9Jv0Q","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:46 GMT + - Thu, 07 Mar 2024 14:39:13 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6ce20292-f8d3-4e4b-947a-66edd83cd13c + - 986b91b3-2ad5-4740-ba0e-180a7d81ebbf Original-Request: - - req_PBXi1xo26CwOKK + - req_Zv3xLud85hWtta Request-Id: - - req_PBXi1xo26CwOKK + - req_Zv3xLud85hWtta Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlVKuuB1fWySn0ftANvXe", + "id": "pi_3Ori6GKuuB1fWySn2EcTbKCm", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlVKuuB1fWySn0ftANvXe_secret_U59ggKTicmmxSh2XpGx37eufc", + "client_secret": "pi_3Ori6GKuuB1fWySn2EcTbKCm_secret_PF9aKYFH3i5Xl5jIyWIcqR3FZ", "confirmation_method": "automatic", - "created": 1709821065, + "created": 1709822352, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlVKuuB1fWySn0RkOq2NG", + "latest_charge": "ch_3Ori6GKuuB1fWySn2SKcb3Fc", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlUKuuB1fWySnvnC4beQn", + "payment_method": "pm_1Ori6FKuuB1fWySng6AKDYxR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:46 GMT + recorded_at: Thu, 07 Mar 2024 14:39:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml index 4be4be92f3..ce9573c831 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mdd6eTIHwU8Bwh","request_duration_ms":960}}' + - '{"last_request_metrics":{"request_id":"req_zUClNr39YFZT2X","request_duration_ms":918}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:21 GMT + - Thu, 07 Mar 2024 14:39:47 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 78de0381-040c-43c7-add4-a8e4daa32eb6 + - f0905ad2-6722-4267-97c0-b16cebde8677 Original-Request: - - req_NqmRzRWQRvE0yT + - req_PZWhyp8B5Ee0Du Request-Id: - - req_NqmRzRWQRvE0yT + - req_PZWhyp8B5Ee0Du Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Orhm4KuuB1fWySnmuV0aK24", + "id": "pm_1Ori6pKuuB1fWySn7VYM4qbf", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821100, + "created": 1709822387, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:21 GMT + recorded_at: Thu, 07 Mar 2024 14:39:47 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Orhm4KuuB1fWySnmuV0aK24&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6pKuuB1fWySn7VYM4qbf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NqmRzRWQRvE0yT","request_duration_ms":472}}' + - '{"last_request_metrics":{"request_id":"req_PZWhyp8B5Ee0Du","request_duration_ms":527}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:21 GMT + - Thu, 07 Mar 2024 14:39:48 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7dd9a031-a5c0-44c5-a239-adad8a3463f3 + - 0a9415a8-f92e-41db-abc9-9e24a720a12c Original-Request: - - req_FdlRIQQ5P2D3H4 + - req_8A6MHfn3UiPllR Request-Id: - - req_FdlRIQQ5P2D3H4 + - req_8A6MHfn3UiPllR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhm5KuuB1fWySn205mMnjq", + "id": "pi_3Ori6qKuuB1fWySn0mUFdiNm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhm5KuuB1fWySn205mMnjq_secret_hlYRQTOKhMqvHXHwYhwKtSf9p", + "client_secret": "pi_3Ori6qKuuB1fWySn0mUFdiNm_secret_oLt6kz9dtrviVgUvqkVPB9WjZ", "confirmation_method": "automatic", - "created": 1709821101, + "created": 1709822388, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhm4KuuB1fWySnmuV0aK24", + "payment_method": "pm_1Ori6pKuuB1fWySn7VYM4qbf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:21 GMT + recorded_at: Thu, 07 Mar 2024 14:39:48 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhm5KuuB1fWySn205mMnjq/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6qKuuB1fWySn0mUFdiNm/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FdlRIQQ5P2D3H4","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_8A6MHfn3UiPllR","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:22 GMT + - Thu, 07 Mar 2024 14:39:49 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f24c67c6-b357-4f43-9e9a-299d68fa03fc + - 822c5e35-9923-43a0-a4fa-a49414b5209f Original-Request: - - req_1nppE4dXg8DYUR + - req_0ZtKzUQRN66nTO Request-Id: - - req_1nppE4dXg8DYUR + - req_0ZtKzUQRN66nTO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhm5KuuB1fWySn205mMnjq", + "id": "pi_3Ori6qKuuB1fWySn0mUFdiNm", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhm5KuuB1fWySn205mMnjq_secret_hlYRQTOKhMqvHXHwYhwKtSf9p", + "client_secret": "pi_3Ori6qKuuB1fWySn0mUFdiNm_secret_oLt6kz9dtrviVgUvqkVPB9WjZ", "confirmation_method": "automatic", - "created": 1709821101, + "created": 1709822388, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhm5KuuB1fWySn2WKJBXcO", + "latest_charge": "ch_3Ori6qKuuB1fWySn0k2Pht3w", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhm4KuuB1fWySnmuV0aK24", + "payment_method": "pm_1Ori6pKuuB1fWySn7VYM4qbf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:22 GMT + recorded_at: Thu, 07 Mar 2024 14:39:49 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhm5KuuB1fWySn205mMnjq + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6qKuuB1fWySn0mUFdiNm body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1nppE4dXg8DYUR","request_duration_ms":961}}' + - '{"last_request_metrics":{"request_id":"req_0ZtKzUQRN66nTO","request_duration_ms":1016}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:22 GMT + - Thu, 07 Mar 2024 14:39:49 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_OnjI6vWf9VKD6B + - req_YpTspY5UHfOZhd Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhm5KuuB1fWySn205mMnjq", + "id": "pi_3Ori6qKuuB1fWySn0mUFdiNm", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhm5KuuB1fWySn205mMnjq_secret_hlYRQTOKhMqvHXHwYhwKtSf9p", + "client_secret": "pi_3Ori6qKuuB1fWySn0mUFdiNm_secret_oLt6kz9dtrviVgUvqkVPB9WjZ", "confirmation_method": "automatic", - "created": 1709821101, + "created": 1709822388, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhm5KuuB1fWySn2WKJBXcO", + "latest_charge": "ch_3Ori6qKuuB1fWySn0k2Pht3w", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhm4KuuB1fWySnmuV0aK24", + "payment_method": "pm_1Ori6pKuuB1fWySn7VYM4qbf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:22 GMT + recorded_at: Thu, 07 Mar 2024 14:39:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhm5KuuB1fWySn205mMnjq/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6qKuuB1fWySn0mUFdiNm/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OnjI6vWf9VKD6B","request_duration_ms":359}}' + - '{"last_request_metrics":{"request_id":"req_YpTspY5UHfOZhd","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:23 GMT + - Thu, 07 Mar 2024 14:39:50 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 611fb558-4c2c-4e4e-a5ec-a52cc06a0339 + - 654522cd-3f60-477b-a3b5-4cf5d3529fcf Original-Request: - - req_NeC8jmRVIT124g + - req_Z91O4kVhu5PoSf Request-Id: - - req_NeC8jmRVIT124g + - req_Z91O4kVhu5PoSf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhm5KuuB1fWySn205mMnjq", + "id": "pi_3Ori6qKuuB1fWySn0mUFdiNm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhm5KuuB1fWySn205mMnjq_secret_hlYRQTOKhMqvHXHwYhwKtSf9p", + "client_secret": "pi_3Ori6qKuuB1fWySn0mUFdiNm_secret_oLt6kz9dtrviVgUvqkVPB9WjZ", "confirmation_method": "automatic", - "created": 1709821101, + "created": 1709822388, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhm5KuuB1fWySn2WKJBXcO", + "latest_charge": "ch_3Ori6qKuuB1fWySn0k2Pht3w", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhm4KuuB1fWySnmuV0aK24", + "payment_method": "pm_1Ori6pKuuB1fWySn7VYM4qbf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:24 GMT + recorded_at: Thu, 07 Mar 2024 14:39:50 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhm5KuuB1fWySn205mMnjq + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6qKuuB1fWySn0mUFdiNm body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NeC8jmRVIT124g","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_Z91O4kVhu5PoSf","request_duration_ms":918}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:24 GMT + - Thu, 07 Mar 2024 14:39:51 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_qECUG2k7cSzt0Y + - req_quxkykd8Y5vam4 Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhm5KuuB1fWySn205mMnjq", + "id": "pi_3Ori6qKuuB1fWySn0mUFdiNm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhm5KuuB1fWySn205mMnjq_secret_hlYRQTOKhMqvHXHwYhwKtSf9p", + "client_secret": "pi_3Ori6qKuuB1fWySn0mUFdiNm_secret_oLt6kz9dtrviVgUvqkVPB9WjZ", "confirmation_method": "automatic", - "created": 1709821101, + "created": 1709822388, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhm5KuuB1fWySn2WKJBXcO", + "latest_charge": "ch_3Ori6qKuuB1fWySn0k2Pht3w", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhm4KuuB1fWySnmuV0aK24", + "payment_method": "pm_1Ori6pKuuB1fWySn7VYM4qbf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:24 GMT + recorded_at: Thu, 07 Mar 2024 14:39:51 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml index 6488999acf..917db4117e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mEwwuP9qOKKXIV","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_Qv80KKhXtgpGmb","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:18 GMT + - Thu, 07 Mar 2024 14:39:45 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 40bc18b4-cf9a-408a-b859-84ccca0932f1 + - ce3d68a7-75d5-4e81-a56d-8c0219411a64 Original-Request: - - req_yY55MalsYTsghK + - req_iv8xUqYcY8AUTQ Request-Id: - - req_yY55MalsYTsghK + - req_iv8xUqYcY8AUTQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Orhm2KuuB1fWySno5h5zHwy", + "id": "pm_1Ori6nKuuB1fWySnMDsBs8UC", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821098, + "created": 1709822385, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:18 GMT + recorded_at: Thu, 07 Mar 2024 14:39:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Orhm2KuuB1fWySno5h5zHwy&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6nKuuB1fWySnMDsBs8UC&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yY55MalsYTsghK","request_duration_ms":670}}' + - '{"last_request_metrics":{"request_id":"req_iv8xUqYcY8AUTQ","request_duration_ms":565}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:19 GMT + - Thu, 07 Mar 2024 14:39:45 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7bf3319f-cf45-41f3-b2e8-060c55e16fe5 + - 24238878-0008-4317-8e88-7a39cee82a37 Original-Request: - - req_XRMlHzeU4U5Eer + - req_G97D4ciFv4fQfo Request-Id: - - req_XRMlHzeU4U5Eer + - req_G97D4ciFv4fQfo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhm3KuuB1fWySn0UatAemb", + "id": "pi_3Ori6nKuuB1fWySn0uOxH8a9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhm3KuuB1fWySn0UatAemb_secret_Eg88Z4OFsRgI2lx5rkIp1cIqO", + "client_secret": "pi_3Ori6nKuuB1fWySn0uOxH8a9_secret_xVbubCGz8IOPcrI3T8HAFNUls", "confirmation_method": "automatic", - "created": 1709821099, + "created": 1709822385, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhm2KuuB1fWySno5h5zHwy", + "payment_method": "pm_1Ori6nKuuB1fWySnMDsBs8UC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:19 GMT + recorded_at: Thu, 07 Mar 2024 14:39:46 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhm3KuuB1fWySn0UatAemb/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6nKuuB1fWySn0uOxH8a9/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XRMlHzeU4U5Eer","request_duration_ms":505}}' + - '{"last_request_metrics":{"request_id":"req_G97D4ciFv4fQfo","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:20 GMT + - Thu, 07 Mar 2024 14:39:46 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 51580d11-b905-429b-848c-b3703612a060 + - f0fe800b-e45f-46ad-9ae4-6de1a93b1e25 Original-Request: - - req_mdd6eTIHwU8Bwh + - req_zUClNr39YFZT2X Request-Id: - - req_mdd6eTIHwU8Bwh + - req_zUClNr39YFZT2X Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhm3KuuB1fWySn0UatAemb", + "id": "pi_3Ori6nKuuB1fWySn0uOxH8a9", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhm3KuuB1fWySn0UatAemb_secret_Eg88Z4OFsRgI2lx5rkIp1cIqO", + "client_secret": "pi_3Ori6nKuuB1fWySn0uOxH8a9_secret_xVbubCGz8IOPcrI3T8HAFNUls", "confirmation_method": "automatic", - "created": 1709821099, + "created": 1709822385, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhm3KuuB1fWySn0vr1WuIA", + "latest_charge": "ch_3Ori6nKuuB1fWySn0WZwRzFW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhm2KuuB1fWySno5h5zHwy", + "payment_method": "pm_1Ori6nKuuB1fWySnMDsBs8UC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:20 GMT + recorded_at: Thu, 07 Mar 2024 14:39:46 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml index 30b093e176..05ada154d4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MKq9QstiAARXFE","request_duration_ms":999}}' + - '{"last_request_metrics":{"request_id":"req_BdIObitYruzc6l","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:08 GMT + - Thu, 07 Mar 2024 14:39:35 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8eeea6b4-c6d3-4ff8-978d-17707e65224f + - 570376d8-6e7a-46fe-816f-cfde1b9038e1 Original-Request: - - req_rRRbIVnDL0OKSL + - req_UcsZgF0f3AKbvj Request-Id: - - req_rRRbIVnDL0OKSL + - req_UcsZgF0f3AKbvj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlrKuuB1fWySnOueLfyXE", + "id": "pm_1Ori6dKuuB1fWySn00YEs8zc", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821088, + "created": 1709822375, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:08 GMT + recorded_at: Thu, 07 Mar 2024 14:39:35 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlrKuuB1fWySnOueLfyXE&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6dKuuB1fWySn00YEs8zc&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rRRbIVnDL0OKSL","request_duration_ms":503}}' + - '{"last_request_metrics":{"request_id":"req_UcsZgF0f3AKbvj","request_duration_ms":482}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:08 GMT + - Thu, 07 Mar 2024 14:39:35 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8c852daf-ec52-4ba5-b3c9-184165ba2dd1 + - 208c01ce-5d01-466a-a210-185f638a50ca Original-Request: - - req_udubkVTHBKhtUV + - req_e5sqTOBON1yG3X Request-Id: - - req_udubkVTHBKhtUV + - req_e5sqTOBON1yG3X Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlsKuuB1fWySn04UY1FEw", + "id": "pi_3Ori6dKuuB1fWySn16W9VzLP", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlsKuuB1fWySn04UY1FEw_secret_7TGroUtSFTWEPQZg28IJX9V6n", + "client_secret": "pi_3Ori6dKuuB1fWySn16W9VzLP_secret_DQMugq1DPXjxtXH03fLMMh9wM", "confirmation_method": "automatic", - "created": 1709821088, + "created": 1709822375, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlrKuuB1fWySnOueLfyXE", + "payment_method": "pm_1Ori6dKuuB1fWySn00YEs8zc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:08 GMT + recorded_at: Thu, 07 Mar 2024 14:39:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlsKuuB1fWySn04UY1FEw/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6dKuuB1fWySn16W9VzLP/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_udubkVTHBKhtUV","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_e5sqTOBON1yG3X","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:09 GMT + - Thu, 07 Mar 2024 14:39:36 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ec2fe50e-a8cf-4890-ba80-d685ebcd20c2 + - f021cc37-2fb6-45b5-b5a2-38a621d89748 Original-Request: - - req_vSvoVRyOS1uE94 + - req_J43ZX2XSALqZmN Request-Id: - - req_vSvoVRyOS1uE94 + - req_J43ZX2XSALqZmN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlsKuuB1fWySn04UY1FEw", + "id": "pi_3Ori6dKuuB1fWySn16W9VzLP", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlsKuuB1fWySn04UY1FEw_secret_7TGroUtSFTWEPQZg28IJX9V6n", + "client_secret": "pi_3Ori6dKuuB1fWySn16W9VzLP_secret_DQMugq1DPXjxtXH03fLMMh9wM", "confirmation_method": "automatic", - "created": 1709821088, + "created": 1709822375, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlsKuuB1fWySn0UpB5LOF", + "latest_charge": "ch_3Ori6dKuuB1fWySn1MGvXNvS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlrKuuB1fWySnOueLfyXE", + "payment_method": "pm_1Ori6dKuuB1fWySn00YEs8zc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:09 GMT + recorded_at: Thu, 07 Mar 2024 14:39:36 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlsKuuB1fWySn04UY1FEw + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6dKuuB1fWySn16W9VzLP body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vSvoVRyOS1uE94","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_J43ZX2XSALqZmN","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:09 GMT + - Thu, 07 Mar 2024 14:39:37 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_G58KAkkaU0zIpq + - req_OfYYw0xlYjmQF2 Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlsKuuB1fWySn04UY1FEw", + "id": "pi_3Ori6dKuuB1fWySn16W9VzLP", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlsKuuB1fWySn04UY1FEw_secret_7TGroUtSFTWEPQZg28IJX9V6n", + "client_secret": "pi_3Ori6dKuuB1fWySn16W9VzLP_secret_DQMugq1DPXjxtXH03fLMMh9wM", "confirmation_method": "automatic", - "created": 1709821088, + "created": 1709822375, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlsKuuB1fWySn0UpB5LOF", + "latest_charge": "ch_3Ori6dKuuB1fWySn1MGvXNvS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlrKuuB1fWySnOueLfyXE", + "payment_method": "pm_1Ori6dKuuB1fWySn00YEs8zc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:10 GMT + recorded_at: Thu, 07 Mar 2024 14:39:37 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlsKuuB1fWySn04UY1FEw/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6dKuuB1fWySn16W9VzLP/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_G58KAkkaU0zIpq","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_OfYYw0xlYjmQF2","request_duration_ms":324}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:11 GMT + - Thu, 07 Mar 2024 14:39:38 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e3d95683-20df-45ce-827d-9ede6249d69c + - fbe41105-f7cd-4a7b-8f7e-8ed9816f340c Original-Request: - - req_j071zPEaXEO5Mo + - req_RGSbLFfC5dlHUy Request-Id: - - req_j071zPEaXEO5Mo + - req_RGSbLFfC5dlHUy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlsKuuB1fWySn04UY1FEw", + "id": "pi_3Ori6dKuuB1fWySn16W9VzLP", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlsKuuB1fWySn04UY1FEw_secret_7TGroUtSFTWEPQZg28IJX9V6n", + "client_secret": "pi_3Ori6dKuuB1fWySn16W9VzLP_secret_DQMugq1DPXjxtXH03fLMMh9wM", "confirmation_method": "automatic", - "created": 1709821088, + "created": 1709822375, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlsKuuB1fWySn0UpB5LOF", + "latest_charge": "ch_3Ori6dKuuB1fWySn1MGvXNvS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlrKuuB1fWySnOueLfyXE", + "payment_method": "pm_1Ori6dKuuB1fWySn00YEs8zc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:11 GMT + recorded_at: Thu, 07 Mar 2024 14:39:38 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlsKuuB1fWySn04UY1FEw + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6dKuuB1fWySn16W9VzLP body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_j071zPEaXEO5Mo","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_RGSbLFfC5dlHUy","request_duration_ms":934}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:11 GMT + - Thu, 07 Mar 2024 14:39:38 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_TILqwCAgbbgmjm + - req_gC7IY9TSyulCJ5 Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlsKuuB1fWySn04UY1FEw", + "id": "pi_3Ori6dKuuB1fWySn16W9VzLP", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlsKuuB1fWySn04UY1FEw_secret_7TGroUtSFTWEPQZg28IJX9V6n", + "client_secret": "pi_3Ori6dKuuB1fWySn16W9VzLP_secret_DQMugq1DPXjxtXH03fLMMh9wM", "confirmation_method": "automatic", - "created": 1709821088, + "created": 1709822375, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlsKuuB1fWySn0UpB5LOF", + "latest_charge": "ch_3Ori6dKuuB1fWySn1MGvXNvS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlrKuuB1fWySnOueLfyXE", + "payment_method": "pm_1Ori6dKuuB1fWySn00YEs8zc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:11 GMT + recorded_at: Thu, 07 Mar 2024 14:39:38 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml index e4f08070e9..e30cf59bac 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gMekZBuaSoumEP","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_wtPlC7mapkIC5r","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:05 GMT + - Thu, 07 Mar 2024 14:39:32 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 47bbe2a3-0d19-4014-94ff-f21d35b11447 + - 1b75ea93-257d-4165-b411-b5e16e003695 Original-Request: - - req_A5C6t6uFajkzuR + - req_LX0Ggvi0iTdoQN Request-Id: - - req_A5C6t6uFajkzuR + - req_LX0Ggvi0iTdoQN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlpKuuB1fWySnRBHHGLQi", + "id": "pm_1Ori6aKuuB1fWySnR56IErgG", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821085, + "created": 1709822372, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:05 GMT + recorded_at: Thu, 07 Mar 2024 14:39:33 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlpKuuB1fWySnRBHHGLQi&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6aKuuB1fWySnR56IErgG&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_A5C6t6uFajkzuR","request_duration_ms":567}}' + - '{"last_request_metrics":{"request_id":"req_LX0Ggvi0iTdoQN","request_duration_ms":462}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:06 GMT + - Thu, 07 Mar 2024 14:39:33 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ccbb0913-8444-4248-bd18-ce785fbdc449 + - 3bf83de8-366e-4193-98bb-e96854d1dfbf Original-Request: - - req_SgGfwP5w9azJqD + - req_fbbx84OSir5LRZ Request-Id: - - req_SgGfwP5w9azJqD + - req_fbbx84OSir5LRZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlpKuuB1fWySn2nmUzwdT", + "id": "pi_3Ori6bKuuB1fWySn06xnGImA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlpKuuB1fWySn2nmUzwdT_secret_laBRlGmlPECPJJJeORykty19a", + "client_secret": "pi_3Ori6bKuuB1fWySn06xnGImA_secret_KCl7kpypanu3XZ9NPHRPVDfj0", "confirmation_method": "automatic", - "created": 1709821085, + "created": 1709822373, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlpKuuB1fWySnRBHHGLQi", + "payment_method": "pm_1Ori6aKuuB1fWySnR56IErgG", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:06 GMT + recorded_at: Thu, 07 Mar 2024 14:39:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlpKuuB1fWySn2nmUzwdT/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6bKuuB1fWySn06xnGImA/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SgGfwP5w9azJqD","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_fbbx84OSir5LRZ","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:07 GMT + - Thu, 07 Mar 2024 14:39:34 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - dd7dac89-b10e-492c-a37c-e43a45125f56 + - 05e8dc76-4b78-4317-95f6-7887ab1bf72f Original-Request: - - req_MKq9QstiAARXFE + - req_BdIObitYruzc6l Request-Id: - - req_MKq9QstiAARXFE + - req_BdIObitYruzc6l Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlpKuuB1fWySn2nmUzwdT", + "id": "pi_3Ori6bKuuB1fWySn06xnGImA", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlpKuuB1fWySn2nmUzwdT_secret_laBRlGmlPECPJJJeORykty19a", + "client_secret": "pi_3Ori6bKuuB1fWySn06xnGImA_secret_KCl7kpypanu3XZ9NPHRPVDfj0", "confirmation_method": "automatic", - "created": 1709821085, + "created": 1709822373, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlpKuuB1fWySn2jiNTjGL", + "latest_charge": "ch_3Ori6bKuuB1fWySn0BQbiOGQ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlpKuuB1fWySnRBHHGLQi", + "payment_method": "pm_1Ori6aKuuB1fWySnR56IErgG", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:07 GMT + recorded_at: Thu, 07 Mar 2024 14:39:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml index 96b549c341..2555916831 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jRLiug6zYGX9PI","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_xST3xsRh0whD1N","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:14 GMT + - Thu, 07 Mar 2024 14:39:41 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3e87fb54-201e-44ce-937c-d4251dffb2df + - e6746b5b-6585-4db1-acff-179647b05145 Original-Request: - - req_x1Xe2pHivqbeRm + - req_aGLpwXJ11h3PDZ Request-Id: - - req_x1Xe2pHivqbeRm + - req_aGLpwXJ11h3PDZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlyKuuB1fWySnyjDzvxv0", + "id": "pm_1Ori6jKuuB1fWySnxCQISdW3", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821094, + "created": 1709822381, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:14 GMT + recorded_at: Thu, 07 Mar 2024 14:39:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlyKuuB1fWySnyjDzvxv0&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6jKuuB1fWySnxCQISdW3&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_x1Xe2pHivqbeRm","request_duration_ms":520}}' + - '{"last_request_metrics":{"request_id":"req_aGLpwXJ11h3PDZ","request_duration_ms":545}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:15 GMT + - Thu, 07 Mar 2024 14:39:42 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e52eca48-dac7-493a-91ff-ef937d57dde3 + - 7907d633-20b0-40ac-bec9-92857397eb7b Original-Request: - - req_GKzujk2uqxZOBj + - req_z5eK8Dxvazbe2T Request-Id: - - req_GKzujk2uqxZOBj + - req_z5eK8Dxvazbe2T Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlyKuuB1fWySn1FthUlwQ", + "id": "pi_3Ori6jKuuB1fWySn1aJZ7OSC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlyKuuB1fWySn1FthUlwQ_secret_mRTG91ZjebCz6lSUKiEQ2jPhY", + "client_secret": "pi_3Ori6jKuuB1fWySn1aJZ7OSC_secret_jjWjcCgv4FmMeT2HDg6zuMDNq", "confirmation_method": "automatic", - "created": 1709821094, + "created": 1709822381, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlyKuuB1fWySnyjDzvxv0", + "payment_method": "pm_1Ori6jKuuB1fWySnxCQISdW3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:15 GMT + recorded_at: Thu, 07 Mar 2024 14:39:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlyKuuB1fWySn1FthUlwQ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6jKuuB1fWySn1aJZ7OSC/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GKzujk2uqxZOBj","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_z5eK8Dxvazbe2T","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:16 GMT + - Thu, 07 Mar 2024 14:39:43 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5af73211-a344-41a2-8091-b8bfd2eb849a + - 8a3066cb-b8ed-4289-9f6b-6cdfa04097df Original-Request: - - req_aprZgMoSMgh1Do + - req_Z2jmyrut9YJXNU Request-Id: - - req_aprZgMoSMgh1Do + - req_Z2jmyrut9YJXNU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlyKuuB1fWySn1FthUlwQ", + "id": "pi_3Ori6jKuuB1fWySn1aJZ7OSC", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlyKuuB1fWySn1FthUlwQ_secret_mRTG91ZjebCz6lSUKiEQ2jPhY", + "client_secret": "pi_3Ori6jKuuB1fWySn1aJZ7OSC_secret_jjWjcCgv4FmMeT2HDg6zuMDNq", "confirmation_method": "automatic", - "created": 1709821094, + "created": 1709822381, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlyKuuB1fWySn1Qm2LFhH", + "latest_charge": "ch_3Ori6jKuuB1fWySn1gdZxZHw", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlyKuuB1fWySnyjDzvxv0", + "payment_method": "pm_1Ori6jKuuB1fWySnxCQISdW3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:16 GMT + recorded_at: Thu, 07 Mar 2024 14:39:43 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlyKuuB1fWySn1FthUlwQ + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6jKuuB1fWySn1aJZ7OSC body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aprZgMoSMgh1Do","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_Z2jmyrut9YJXNU","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:16 GMT + - Thu, 07 Mar 2024 14:39:43 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_6KcYCCPc1Olb8X + - req_L1plExG9VMixYX Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlyKuuB1fWySn1FthUlwQ", + "id": "pi_3Ori6jKuuB1fWySn1aJZ7OSC", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlyKuuB1fWySn1FthUlwQ_secret_mRTG91ZjebCz6lSUKiEQ2jPhY", + "client_secret": "pi_3Ori6jKuuB1fWySn1aJZ7OSC_secret_jjWjcCgv4FmMeT2HDg6zuMDNq", "confirmation_method": "automatic", - "created": 1709821094, + "created": 1709822381, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlyKuuB1fWySn1Qm2LFhH", + "latest_charge": "ch_3Ori6jKuuB1fWySn1gdZxZHw", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlyKuuB1fWySnyjDzvxv0", + "payment_method": "pm_1Ori6jKuuB1fWySnxCQISdW3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:16 GMT + recorded_at: Thu, 07 Mar 2024 14:39:43 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlyKuuB1fWySn1FthUlwQ/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6jKuuB1fWySn1aJZ7OSC/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6KcYCCPc1Olb8X","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_L1plExG9VMixYX","request_duration_ms":290}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:17 GMT + - Thu, 07 Mar 2024 14:39:44 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0e17c9df-779f-4fd5-906d-2cc7d2d827e7 + - 40529758-81cb-4ec3-ad8b-58a41dd8b614 Original-Request: - - req_60apNEN97H2tqs + - req_Z6oghoxvG6hheF Request-Id: - - req_60apNEN97H2tqs + - req_Z6oghoxvG6hheF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlyKuuB1fWySn1FthUlwQ", + "id": "pi_3Ori6jKuuB1fWySn1aJZ7OSC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlyKuuB1fWySn1FthUlwQ_secret_mRTG91ZjebCz6lSUKiEQ2jPhY", + "client_secret": "pi_3Ori6jKuuB1fWySn1aJZ7OSC_secret_jjWjcCgv4FmMeT2HDg6zuMDNq", "confirmation_method": "automatic", - "created": 1709821094, + "created": 1709822381, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlyKuuB1fWySn1Qm2LFhH", + "latest_charge": "ch_3Ori6jKuuB1fWySn1gdZxZHw", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlyKuuB1fWySnyjDzvxv0", + "payment_method": "pm_1Ori6jKuuB1fWySnxCQISdW3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:17 GMT + recorded_at: Thu, 07 Mar 2024 14:39:44 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlyKuuB1fWySn1FthUlwQ + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6jKuuB1fWySn1aJZ7OSC body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_60apNEN97H2tqs","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_Z6oghoxvG6hheF","request_duration_ms":1035}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:18 GMT + - Thu, 07 Mar 2024 14:39:44 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_mEwwuP9qOKKXIV + - req_Qv80KKhXtgpGmb Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlyKuuB1fWySn1FthUlwQ", + "id": "pi_3Ori6jKuuB1fWySn1aJZ7OSC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlyKuuB1fWySn1FthUlwQ_secret_mRTG91ZjebCz6lSUKiEQ2jPhY", + "client_secret": "pi_3Ori6jKuuB1fWySn1aJZ7OSC_secret_jjWjcCgv4FmMeT2HDg6zuMDNq", "confirmation_method": "automatic", - "created": 1709821094, + "created": 1709822381, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlyKuuB1fWySn1Qm2LFhH", + "latest_charge": "ch_3Ori6jKuuB1fWySn1gdZxZHw", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlyKuuB1fWySnyjDzvxv0", + "payment_method": "pm_1Ori6jKuuB1fWySnxCQISdW3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:18 GMT + recorded_at: Thu, 07 Mar 2024 14:39:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 2a683fc764..05452e4dd7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TILqwCAgbbgmjm","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_gC7IY9TSyulCJ5","request_duration_ms":368}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:11 GMT + - Thu, 07 Mar 2024 14:39:39 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ef680a1a-f4e4-4067-bf33-acb106692784 + - e90a5add-ddff-49a4-8bcf-85b96a0bf75f Original-Request: - - req_4mMSF1ZO43BEtZ + - req_hADPIO4S03PEk6 Request-Id: - - req_4mMSF1ZO43BEtZ + - req_hADPIO4S03PEk6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlvKuuB1fWySnqfWV4eQi", + "id": "pm_1Ori6gKuuB1fWySnnGFZiU16", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821091, + "created": 1709822378, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:12 GMT + recorded_at: Thu, 07 Mar 2024 14:39:39 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlvKuuB1fWySnqfWV4eQi&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6gKuuB1fWySnnGFZiU16&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4mMSF1ZO43BEtZ","request_duration_ms":557}}' + - '{"last_request_metrics":{"request_id":"req_hADPIO4S03PEk6","request_duration_ms":559}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:12 GMT + - Thu, 07 Mar 2024 14:39:39 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 479af6e9-9db8-45ed-959f-dc7afd389424 + - 33ff77e4-4081-419e-bbab-892032df6b7f Original-Request: - - req_qR4mNGv2FPkAqp + - req_RZys8fEj4TxBlh Request-Id: - - req_qR4mNGv2FPkAqp + - req_RZys8fEj4TxBlh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlwKuuB1fWySn0XGdCAh5", + "id": "pi_3Ori6hKuuB1fWySn0bqKRub5", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlwKuuB1fWySn0XGdCAh5_secret_oqdimhJTNtVHZRmBs7kojAYH4", + "client_secret": "pi_3Ori6hKuuB1fWySn0bqKRub5_secret_Mac93mMZU2cfG4NsLiKD0EXB5", "confirmation_method": "automatic", - "created": 1709821092, + "created": 1709822379, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlvKuuB1fWySnqfWV4eQi", + "payment_method": "pm_1Ori6gKuuB1fWySnnGFZiU16", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:12 GMT + recorded_at: Thu, 07 Mar 2024 14:39:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlwKuuB1fWySn0XGdCAh5/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6hKuuB1fWySn0bqKRub5/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qR4mNGv2FPkAqp","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_RZys8fEj4TxBlh","request_duration_ms":514}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:13 GMT + - Thu, 07 Mar 2024 14:39:40 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '086e6477-44e7-4c21-814d-ded1c858f507' + - 21361187-c607-451c-9e7f-38d702abe6d4 Original-Request: - - req_jRLiug6zYGX9PI + - req_xST3xsRh0whD1N Request-Id: - - req_jRLiug6zYGX9PI + - req_xST3xsRh0whD1N Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlwKuuB1fWySn0XGdCAh5", + "id": "pi_3Ori6hKuuB1fWySn0bqKRub5", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlwKuuB1fWySn0XGdCAh5_secret_oqdimhJTNtVHZRmBs7kojAYH4", + "client_secret": "pi_3Ori6hKuuB1fWySn0bqKRub5_secret_Mac93mMZU2cfG4NsLiKD0EXB5", "confirmation_method": "automatic", - "created": 1709821092, + "created": 1709822379, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlwKuuB1fWySn0TZzz0kH", + "latest_charge": "ch_3Ori6hKuuB1fWySn0ILoNQw4", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlvKuuB1fWySnqfWV4eQi", + "payment_method": "pm_1Ori6gKuuB1fWySnnGFZiU16", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:13 GMT + recorded_at: Thu, 07 Mar 2024 14:39:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml index f80d10c3c8..d71481ac7f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AqBfjaSd5RVG6n","request_duration_ms":1019}}' + - '{"last_request_metrics":{"request_id":"req_c6y1UlwCzKwRyc","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:54 GMT + - Thu, 07 Mar 2024 14:39:21 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 38a8f9d8-c9c8-4c98-87fb-076804b7d235 + - 93449b3b-59f8-4637-bfe7-444e0dc7a896 Original-Request: - - req_nicAf4fT9UMeXa + - req_QZEhwuhVSTppER Request-Id: - - req_nicAf4fT9UMeXa + - req_QZEhwuhVSTppER Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhleKuuB1fWySnZNObpOSy", + "id": "pm_1Ori6PKuuB1fWySng9YJRJSp", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821074, + "created": 1709822361, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:54 GMT + recorded_at: Thu, 07 Mar 2024 14:39:22 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhleKuuB1fWySnZNObpOSy&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6PKuuB1fWySng9YJRJSp&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nicAf4fT9UMeXa","request_duration_ms":442}}' + - '{"last_request_metrics":{"request_id":"req_QZEhwuhVSTppER","request_duration_ms":493}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:54 GMT + - Thu, 07 Mar 2024 14:39:22 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - eaa13bda-7713-4ca7-a1ec-71d085fe3e43 + - 92bd0d7f-9444-4bfb-93da-349e9cef7de6 Original-Request: - - req_iMgEsj7MTh7I6F + - req_ZoNIpD22KLh7MF Request-Id: - - req_iMgEsj7MTh7I6F + - req_ZoNIpD22KLh7MF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhleKuuB1fWySn0GgX5SSM", + "id": "pi_3Ori6QKuuB1fWySn27pl22Cn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhleKuuB1fWySn0GgX5SSM_secret_yJhBcnU2Qb2axBonu34BJrqza", + "client_secret": "pi_3Ori6QKuuB1fWySn27pl22Cn_secret_qLSwOwHoDb6kZVKhVdG1V7pRp", "confirmation_method": "automatic", - "created": 1709821074, + "created": 1709822362, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhleKuuB1fWySnZNObpOSy", + "payment_method": "pm_1Ori6PKuuB1fWySng9YJRJSp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:55 GMT + recorded_at: Thu, 07 Mar 2024 14:39:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhleKuuB1fWySn0GgX5SSM/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6QKuuB1fWySn27pl22Cn/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iMgEsj7MTh7I6F","request_duration_ms":494}}' + - '{"last_request_metrics":{"request_id":"req_ZoNIpD22KLh7MF","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:56 GMT + - Thu, 07 Mar 2024 14:39:23 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f72ca44b-1146-4617-91a3-cd471a2922ba + - b76eb03d-d7e0-4025-beb7-8b54ecde3c2c Original-Request: - - req_esMrFoMl7QS5jZ + - req_dqbQF2f3fAYplO Request-Id: - - req_esMrFoMl7QS5jZ + - req_dqbQF2f3fAYplO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhleKuuB1fWySn0GgX5SSM", + "id": "pi_3Ori6QKuuB1fWySn27pl22Cn", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhleKuuB1fWySn0GgX5SSM_secret_yJhBcnU2Qb2axBonu34BJrqza", + "client_secret": "pi_3Ori6QKuuB1fWySn27pl22Cn_secret_qLSwOwHoDb6kZVKhVdG1V7pRp", "confirmation_method": "automatic", - "created": 1709821074, + "created": 1709822362, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhleKuuB1fWySn0vXbkQL9", + "latest_charge": "ch_3Ori6QKuuB1fWySn2Tq46gfK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhleKuuB1fWySnZNObpOSy", + "payment_method": "pm_1Ori6PKuuB1fWySng9YJRJSp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:56 GMT + recorded_at: Thu, 07 Mar 2024 14:39:23 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhleKuuB1fWySn0GgX5SSM + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6QKuuB1fWySn27pl22Cn body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_esMrFoMl7QS5jZ","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_dqbQF2f3fAYplO","request_duration_ms":947}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:56 GMT + - Thu, 07 Mar 2024 14:39:23 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_hx0BdWeJT2XYfX + - req_ZWuE34QyBR0qaY Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhleKuuB1fWySn0GgX5SSM", + "id": "pi_3Ori6QKuuB1fWySn27pl22Cn", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhleKuuB1fWySn0GgX5SSM_secret_yJhBcnU2Qb2axBonu34BJrqza", + "client_secret": "pi_3Ori6QKuuB1fWySn27pl22Cn_secret_qLSwOwHoDb6kZVKhVdG1V7pRp", "confirmation_method": "automatic", - "created": 1709821074, + "created": 1709822362, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhleKuuB1fWySn0vXbkQL9", + "latest_charge": "ch_3Ori6QKuuB1fWySn2Tq46gfK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhleKuuB1fWySnZNObpOSy", + "payment_method": "pm_1Ori6PKuuB1fWySng9YJRJSp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:56 GMT + recorded_at: Thu, 07 Mar 2024 14:39:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhleKuuB1fWySn0GgX5SSM/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6QKuuB1fWySn27pl22Cn/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hx0BdWeJT2XYfX","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_ZWuE34QyBR0qaY","request_duration_ms":375}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:57 GMT + - Thu, 07 Mar 2024 14:39:24 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4206f992-86dd-4993-9c34-d3901471b776 + - 129a31aa-8c67-42f4-84fd-fe7f485a053c Original-Request: - - req_Hl9zQZeM5M0s5P + - req_0RRy3V8Bs6k5FX Request-Id: - - req_Hl9zQZeM5M0s5P + - req_0RRy3V8Bs6k5FX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhleKuuB1fWySn0GgX5SSM", + "id": "pi_3Ori6QKuuB1fWySn27pl22Cn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhleKuuB1fWySn0GgX5SSM_secret_yJhBcnU2Qb2axBonu34BJrqza", + "client_secret": "pi_3Ori6QKuuB1fWySn27pl22Cn_secret_qLSwOwHoDb6kZVKhVdG1V7pRp", "confirmation_method": "automatic", - "created": 1709821074, + "created": 1709822362, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhleKuuB1fWySn0vXbkQL9", + "latest_charge": "ch_3Ori6QKuuB1fWySn2Tq46gfK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhleKuuB1fWySnZNObpOSy", + "payment_method": "pm_1Ori6PKuuB1fWySng9YJRJSp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:57 GMT + recorded_at: Thu, 07 Mar 2024 14:39:25 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhleKuuB1fWySn0GgX5SSM + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6QKuuB1fWySn27pl22Cn body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Hl9zQZeM5M0s5P","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_0RRy3V8Bs6k5FX","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:57 GMT + - Thu, 07 Mar 2024 14:39:25 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_ycOXjN6LZAPVze + - req_DeAjZQFIx5gUif Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhleKuuB1fWySn0GgX5SSM", + "id": "pi_3Ori6QKuuB1fWySn27pl22Cn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhleKuuB1fWySn0GgX5SSM_secret_yJhBcnU2Qb2axBonu34BJrqza", + "client_secret": "pi_3Ori6QKuuB1fWySn27pl22Cn_secret_qLSwOwHoDb6kZVKhVdG1V7pRp", "confirmation_method": "automatic", - "created": 1709821074, + "created": 1709822362, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhleKuuB1fWySn0vXbkQL9", + "latest_charge": "ch_3Ori6QKuuB1fWySn2Tq46gfK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhleKuuB1fWySnZNObpOSy", + "payment_method": "pm_1Ori6PKuuB1fWySng9YJRJSp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:58 GMT + recorded_at: Thu, 07 Mar 2024 14:39:25 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml index 24c69fd546..bfa11c5f0b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sopEZP0SunuuDr","request_duration_ms":1}}' + - '{"last_request_metrics":{"request_id":"req_05HOGExtHTtFid","request_duration_ms":3}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:52 GMT + - Thu, 07 Mar 2024 14:39:19 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 36144864-75f6-41e9-9ce7-9b38879a27f8 + - 496a9fdc-70d5-4163-bb61-db7013d33ab5 Original-Request: - - req_GHu23cVg1gDOtY + - req_qQtoi368GeRuPj Request-Id: - - req_GHu23cVg1gDOtY + - req_qQtoi368GeRuPj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlbKuuB1fWySnNHegncpp", + "id": "pm_1Ori6NKuuB1fWySn27CmBFax", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821072, + "created": 1709822359, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:52 GMT + recorded_at: Thu, 07 Mar 2024 14:39:19 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlbKuuB1fWySnNHegncpp&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6NKuuB1fWySn27CmBFax&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GHu23cVg1gDOtY","request_duration_ms":701}}' + - '{"last_request_metrics":{"request_id":"req_qQtoi368GeRuPj","request_duration_ms":553}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:52 GMT + - Thu, 07 Mar 2024 14:39:19 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e67e8cbc-de91-4cfd-b4c8-3a56c4810327 + - 8dcbf1c7-f434-4c94-9e8e-a5de605ddd87 Original-Request: - - req_F2es5MTXwLS1mt + - req_UC6fa89KsELHXO Request-Id: - - req_F2es5MTXwLS1mt + - req_UC6fa89KsELHXO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlcKuuB1fWySn1kN22KDG", + "id": "pi_3Ori6NKuuB1fWySn0FWu4sGs", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlcKuuB1fWySn1kN22KDG_secret_qrB9G1rqR24HaIbLUEvYXLdRe", + "client_secret": "pi_3Ori6NKuuB1fWySn0FWu4sGs_secret_aIeuTif8JwLQvmQ4RdmDaBvHP", "confirmation_method": "automatic", - "created": 1709821072, + "created": 1709822359, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlbKuuB1fWySnNHegncpp", + "payment_method": "pm_1Ori6NKuuB1fWySn27CmBFax", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:52 GMT + recorded_at: Thu, 07 Mar 2024 14:39:19 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlcKuuB1fWySn1kN22KDG/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6NKuuB1fWySn0FWu4sGs/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_F2es5MTXwLS1mt","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_UC6fa89KsELHXO","request_duration_ms":441}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:53 GMT + - Thu, 07 Mar 2024 14:39:20 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 66a49d6e-f5e8-4616-a562-fdb6584b90d2 + - f63e2bf4-6bd9-4e8d-a563-29803511fc3c Original-Request: - - req_AqBfjaSd5RVG6n + - req_c6y1UlwCzKwRyc Request-Id: - - req_AqBfjaSd5RVG6n + - req_c6y1UlwCzKwRyc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlcKuuB1fWySn1kN22KDG", + "id": "pi_3Ori6NKuuB1fWySn0FWu4sGs", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlcKuuB1fWySn1kN22KDG_secret_qrB9G1rqR24HaIbLUEvYXLdRe", + "client_secret": "pi_3Ori6NKuuB1fWySn0FWu4sGs_secret_aIeuTif8JwLQvmQ4RdmDaBvHP", "confirmation_method": "automatic", - "created": 1709821072, + "created": 1709822359, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlcKuuB1fWySn1xnuTjVg", + "latest_charge": "ch_3Ori6NKuuB1fWySn0f5GJLvd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlbKuuB1fWySnNHegncpp", + "payment_method": "pm_1Ori6NKuuB1fWySn27CmBFax", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:53 GMT + recorded_at: Thu, 07 Mar 2024 14:39:21 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml index b64375b455..38cea20ffa 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Foz37YZQjthif1","request_duration_ms":1073}}' + - '{"last_request_metrics":{"request_id":"req_3APqwxjS1J2mPu","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:01 GMT + - Thu, 07 Mar 2024 14:39:28 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c9eb8718-912f-4e38-be74-b0920aa15e4a + - 46ad79e9-1b00-49f0-9fe2-ae2db4792bbc Original-Request: - - req_NCwHAbX4MwBStP + - req_7tUuPPUTPiZWtd Request-Id: - - req_NCwHAbX4MwBStP + - req_7tUuPPUTPiZWtd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhllKuuB1fWySnqkVRldUI", + "id": "pm_1Ori6WKuuB1fWySnedkS6cOm", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821081, + "created": 1709822368, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:01 GMT + recorded_at: Thu, 07 Mar 2024 14:39:28 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhllKuuB1fWySnqkVRldUI&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6WKuuB1fWySnedkS6cOm&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NCwHAbX4MwBStP","request_duration_ms":494}}' + - '{"last_request_metrics":{"request_id":"req_7tUuPPUTPiZWtd","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:01 GMT + - Thu, 07 Mar 2024 14:39:29 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 50e8a972-5c04-4ebd-86a3-bafa22536f2e + - 4ef63c00-e6de-4a6b-a14d-98317102bd67 Original-Request: - - req_9duYeN5IK2UwJv + - req_8OpXDQ5acs8Lhh Request-Id: - - req_9duYeN5IK2UwJv + - req_8OpXDQ5acs8Lhh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhllKuuB1fWySn1sC1ReZK", + "id": "pi_3Ori6XKuuB1fWySn2hLbO3XE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhllKuuB1fWySn1sC1ReZK_secret_2PjqREBf56vWRq1GhFb03Wf8e", + "client_secret": "pi_3Ori6XKuuB1fWySn2hLbO3XE_secret_ITGlmuAeX9TxTMxJHOIL402OR", "confirmation_method": "automatic", - "created": 1709821081, + "created": 1709822369, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhllKuuB1fWySnqkVRldUI", + "payment_method": "pm_1Ori6WKuuB1fWySnedkS6cOm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:01 GMT + recorded_at: Thu, 07 Mar 2024 14:39:29 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhllKuuB1fWySn1sC1ReZK/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6XKuuB1fWySn2hLbO3XE/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9duYeN5IK2UwJv","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_8OpXDQ5acs8Lhh","request_duration_ms":503}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:03 GMT + - Thu, 07 Mar 2024 14:39:30 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 782d4889-1014-426e-abbd-ac3646331094 + - 2c44da7d-2e72-47be-82d8-57e71ef37e66 Original-Request: - - req_3YzsYkouTjQk0K + - req_iznkwwau9raAuI Request-Id: - - req_3YzsYkouTjQk0K + - req_iznkwwau9raAuI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhllKuuB1fWySn1sC1ReZK", + "id": "pi_3Ori6XKuuB1fWySn2hLbO3XE", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhllKuuB1fWySn1sC1ReZK_secret_2PjqREBf56vWRq1GhFb03Wf8e", + "client_secret": "pi_3Ori6XKuuB1fWySn2hLbO3XE_secret_ITGlmuAeX9TxTMxJHOIL402OR", "confirmation_method": "automatic", - "created": 1709821081, + "created": 1709822369, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhllKuuB1fWySn1qGZi23M", + "latest_charge": "ch_3Ori6XKuuB1fWySn20k8MaMv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhllKuuB1fWySnqkVRldUI", + "payment_method": "pm_1Ori6WKuuB1fWySnedkS6cOm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:03 GMT + recorded_at: Thu, 07 Mar 2024 14:39:30 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhllKuuB1fWySn1sC1ReZK + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6XKuuB1fWySn2hLbO3XE body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3YzsYkouTjQk0K","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_iznkwwau9raAuI","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:03 GMT + - Thu, 07 Mar 2024 14:39:30 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_pjW2CULdUTSVHa + - req_iDhQCT1LbuPGMq Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhllKuuB1fWySn1sC1ReZK", + "id": "pi_3Ori6XKuuB1fWySn2hLbO3XE", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhllKuuB1fWySn1sC1ReZK_secret_2PjqREBf56vWRq1GhFb03Wf8e", + "client_secret": "pi_3Ori6XKuuB1fWySn2hLbO3XE_secret_ITGlmuAeX9TxTMxJHOIL402OR", "confirmation_method": "automatic", - "created": 1709821081, + "created": 1709822369, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhllKuuB1fWySn1qGZi23M", + "latest_charge": "ch_3Ori6XKuuB1fWySn20k8MaMv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhllKuuB1fWySnqkVRldUI", + "payment_method": "pm_1Ori6WKuuB1fWySnedkS6cOm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:03 GMT + recorded_at: Thu, 07 Mar 2024 14:39:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhllKuuB1fWySn1sC1ReZK/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6XKuuB1fWySn2hLbO3XE/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pjW2CULdUTSVHa","request_duration_ms":379}}' + - '{"last_request_metrics":{"request_id":"req_iDhQCT1LbuPGMq","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:04 GMT + - Thu, 07 Mar 2024 14:39:32 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e6015520-5e88-45de-9abb-eed18dff3b0c + - e18c2790-8aab-488e-9372-177f9e6346ce Original-Request: - - req_7ZaetcTDSRkHkF + - req_jF6tBPl7YfiV7q Request-Id: - - req_7ZaetcTDSRkHkF + - req_jF6tBPl7YfiV7q Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhllKuuB1fWySn1sC1ReZK", + "id": "pi_3Ori6XKuuB1fWySn2hLbO3XE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhllKuuB1fWySn1sC1ReZK_secret_2PjqREBf56vWRq1GhFb03Wf8e", + "client_secret": "pi_3Ori6XKuuB1fWySn2hLbO3XE_secret_ITGlmuAeX9TxTMxJHOIL402OR", "confirmation_method": "automatic", - "created": 1709821081, + "created": 1709822369, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhllKuuB1fWySn1qGZi23M", + "latest_charge": "ch_3Ori6XKuuB1fWySn20k8MaMv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhllKuuB1fWySnqkVRldUI", + "payment_method": "pm_1Ori6WKuuB1fWySnedkS6cOm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:04 GMT + recorded_at: Thu, 07 Mar 2024 14:39:32 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhllKuuB1fWySn1sC1ReZK + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6XKuuB1fWySn2hLbO3XE body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7ZaetcTDSRkHkF","request_duration_ms":1148}}' + - '{"last_request_metrics":{"request_id":"req_jF6tBPl7YfiV7q","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:04 GMT + - Thu, 07 Mar 2024 14:39:32 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_gMekZBuaSoumEP + - req_wtPlC7mapkIC5r Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhllKuuB1fWySn1sC1ReZK", + "id": "pi_3Ori6XKuuB1fWySn2hLbO3XE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhllKuuB1fWySn1sC1ReZK_secret_2PjqREBf56vWRq1GhFb03Wf8e", + "client_secret": "pi_3Ori6XKuuB1fWySn2hLbO3XE_secret_ITGlmuAeX9TxTMxJHOIL402OR", "confirmation_method": "automatic", - "created": 1709821081, + "created": 1709822369, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhllKuuB1fWySn1qGZi23M", + "latest_charge": "ch_3Ori6XKuuB1fWySn20k8MaMv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhllKuuB1fWySnqkVRldUI", + "payment_method": "pm_1Ori6WKuuB1fWySnedkS6cOm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:05 GMT + recorded_at: Thu, 07 Mar 2024 14:39:32 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml index 2018c4867c..048501d470 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ycOXjN6LZAPVze","request_duration_ms":1}}' + - '{"last_request_metrics":{"request_id":"req_DeAjZQFIx5gUif","request_duration_ms":1}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:59 GMT + - Thu, 07 Mar 2024 14:39:26 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f6759e0c-f195-45a2-9dae-1791780584cd + - 529cc79f-1626-47ef-a69d-b7bf095996b3 Original-Request: - - req_fJ1qKSoxWn5GXZ + - req_22Wyn94rwBoH8t Request-Id: - - req_fJ1qKSoxWn5GXZ + - req_22Wyn94rwBoH8t Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhliKuuB1fWySnWPRkR6u7", + "id": "pm_1Ori6UKuuB1fWySnoJCZYK46", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821078, + "created": 1709822366, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:59 GMT + recorded_at: Thu, 07 Mar 2024 14:39:26 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhliKuuB1fWySnWPRkR6u7&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6UKuuB1fWySnoJCZYK46&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fJ1qKSoxWn5GXZ","request_duration_ms":640}}' + - '{"last_request_metrics":{"request_id":"req_22Wyn94rwBoH8t","request_duration_ms":676}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:59 GMT + - Thu, 07 Mar 2024 14:39:26 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 857a9db2-f7f1-4227-81bd-b0d75bf1a361 + - 2f394d20-ba2a-4341-8d23-b0e8543cffb5 Original-Request: - - req_V69LyuHRnEXTTf + - req_HKG2wCPJrd57xz Request-Id: - - req_V69LyuHRnEXTTf + - req_HKG2wCPJrd57xz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhljKuuB1fWySn0wanaSZh", + "id": "pi_3Ori6UKuuB1fWySn16a7Ikyx", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhljKuuB1fWySn0wanaSZh_secret_8K4QNIJJoMs5XM8uAgKbpxtZ0", + "client_secret": "pi_3Ori6UKuuB1fWySn16a7Ikyx_secret_LAV9s5AsrwK8Hn475Yp3klZUv", "confirmation_method": "automatic", - "created": 1709821079, + "created": 1709822366, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhliKuuB1fWySnWPRkR6u7", + "payment_method": "pm_1Ori6UKuuB1fWySnoJCZYK46", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:59 GMT + recorded_at: Thu, 07 Mar 2024 14:39:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhljKuuB1fWySn0wanaSZh/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6UKuuB1fWySn16a7Ikyx/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_V69LyuHRnEXTTf","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_HKG2wCPJrd57xz","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:00 GMT + - Thu, 07 Mar 2024 14:39:28 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 75a94f1a-6adb-4b19-9324-62a64833d684 + - 203f3036-391a-4a3a-960b-466a9b21f711 Original-Request: - - req_Foz37YZQjthif1 + - req_3APqwxjS1J2mPu Request-Id: - - req_Foz37YZQjthif1 + - req_3APqwxjS1J2mPu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhljKuuB1fWySn0wanaSZh", + "id": "pi_3Ori6UKuuB1fWySn16a7Ikyx", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhljKuuB1fWySn0wanaSZh_secret_8K4QNIJJoMs5XM8uAgKbpxtZ0", + "client_secret": "pi_3Ori6UKuuB1fWySn16a7Ikyx_secret_LAV9s5AsrwK8Hn475Yp3klZUv", "confirmation_method": "automatic", - "created": 1709821079, + "created": 1709822366, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhljKuuB1fWySn0ZSup81T", + "latest_charge": "ch_3Ori6UKuuB1fWySn1u9KDb2i", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhliKuuB1fWySnWPRkR6u7", + "payment_method": "pm_1Ori6UKuuB1fWySnoJCZYK46", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:00 GMT + recorded_at: Thu, 07 Mar 2024 14:39:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml index acbaffc9c4..82ea9fc340 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1pZIwVQhX3RIP9","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_87T1oX3zkGo0WN","request_duration_ms":984}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:27 GMT + - Thu, 07 Mar 2024 14:39:54 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3f407643-0b43-4a87-be3c-853171f159bb + - 84232278-d191-4842-b2d2-a5107fe8ce98 Original-Request: - - req_E8QLm4HnjLR78G + - req_pSX0ve6ecqjL4O Request-Id: - - req_E8QLm4HnjLR78G + - req_pSX0ve6ecqjL4O Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmBKuuB1fWySn7yO9IDcc", + "id": "pm_1Ori6wKuuB1fWySnDARn0q6E", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821107, + "created": 1709822394, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:27 GMT + recorded_at: Thu, 07 Mar 2024 14:39:54 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmBKuuB1fWySn7yO9IDcc&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6wKuuB1fWySnDARn0q6E&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_E8QLm4HnjLR78G","request_duration_ms":516}}' + - '{"last_request_metrics":{"request_id":"req_pSX0ve6ecqjL4O","request_duration_ms":572}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:27 GMT + - Thu, 07 Mar 2024 14:39:54 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 29154777-f21e-42d6-8188-fe28932aad2f + - d3fe8873-5c42-499e-9c50-41157279712e Original-Request: - - req_7Wyu0SPpw58Dxp + - req_yfi4bdkU0lWDNg Request-Id: - - req_7Wyu0SPpw58Dxp + - req_yfi4bdkU0lWDNg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmBKuuB1fWySn1lxvJq2O", + "id": "pi_3Ori6wKuuB1fWySn0trufgps", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmBKuuB1fWySn1lxvJq2O_secret_jRr63BwQHIurAkbgXv9zbKFbC", + "client_secret": "pi_3Ori6wKuuB1fWySn0trufgps_secret_V07Sdr94vnSL3pVaFRoX9lDRh", "confirmation_method": "automatic", - "created": 1709821107, + "created": 1709822394, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmBKuuB1fWySn7yO9IDcc", + "payment_method": "pm_1Ori6wKuuB1fWySnDARn0q6E", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:28 GMT + recorded_at: Thu, 07 Mar 2024 14:39:54 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmBKuuB1fWySn1lxvJq2O/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6wKuuB1fWySn0trufgps/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7Wyu0SPpw58Dxp","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_yfi4bdkU0lWDNg","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:29 GMT + - Thu, 07 Mar 2024 14:39:56 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 32e51464-3155-483d-a4bd-a3eb12e85722 + - 36d15878-faf5-49ea-bdfc-25421113f90a Original-Request: - - req_ONxXNh4tX0JTdn + - req_FvKdo9B9UvIhOW Request-Id: - - req_ONxXNh4tX0JTdn + - req_FvKdo9B9UvIhOW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmBKuuB1fWySn1lxvJq2O", + "id": "pi_3Ori6wKuuB1fWySn0trufgps", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmBKuuB1fWySn1lxvJq2O_secret_jRr63BwQHIurAkbgXv9zbKFbC", + "client_secret": "pi_3Ori6wKuuB1fWySn0trufgps_secret_V07Sdr94vnSL3pVaFRoX9lDRh", "confirmation_method": "automatic", - "created": 1709821107, + "created": 1709822394, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmBKuuB1fWySn13FUw1sT", + "latest_charge": "ch_3Ori6wKuuB1fWySn0dTrUtv2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmBKuuB1fWySn7yO9IDcc", + "payment_method": "pm_1Ori6wKuuB1fWySnDARn0q6E", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:29 GMT + recorded_at: Thu, 07 Mar 2024 14:39:56 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmBKuuB1fWySn1lxvJq2O + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6wKuuB1fWySn0trufgps body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ONxXNh4tX0JTdn","request_duration_ms":1151}}' + - '{"last_request_metrics":{"request_id":"req_FvKdo9B9UvIhOW","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:29 GMT + - Thu, 07 Mar 2024 14:39:56 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_4zWu8Nm4cNECzP + - req_Nyu8L7uor4iqnt Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmBKuuB1fWySn1lxvJq2O", + "id": "pi_3Ori6wKuuB1fWySn0trufgps", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmBKuuB1fWySn1lxvJq2O_secret_jRr63BwQHIurAkbgXv9zbKFbC", + "client_secret": "pi_3Ori6wKuuB1fWySn0trufgps_secret_V07Sdr94vnSL3pVaFRoX9lDRh", "confirmation_method": "automatic", - "created": 1709821107, + "created": 1709822394, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmBKuuB1fWySn13FUw1sT", + "latest_charge": "ch_3Ori6wKuuB1fWySn0dTrUtv2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmBKuuB1fWySn7yO9IDcc", + "payment_method": "pm_1Ori6wKuuB1fWySnDARn0q6E", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:29 GMT + recorded_at: Thu, 07 Mar 2024 14:39:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmBKuuB1fWySn1lxvJq2O/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6wKuuB1fWySn0trufgps/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4zWu8Nm4cNECzP","request_duration_ms":377}}' + - '{"last_request_metrics":{"request_id":"req_Nyu8L7uor4iqnt","request_duration_ms":303}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:30 GMT + - Thu, 07 Mar 2024 14:39:57 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a2086c76-d105-4ae3-96aa-382707cd3abe + - d38c52f7-1e24-4e2c-adbe-3487b3c5646c Original-Request: - - req_AgjQvS7wjZZQWL + - req_kmELWSkWQ516Cn Request-Id: - - req_AgjQvS7wjZZQWL + - req_kmELWSkWQ516Cn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmBKuuB1fWySn1lxvJq2O", + "id": "pi_3Ori6wKuuB1fWySn0trufgps", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmBKuuB1fWySn1lxvJq2O_secret_jRr63BwQHIurAkbgXv9zbKFbC", + "client_secret": "pi_3Ori6wKuuB1fWySn0trufgps_secret_V07Sdr94vnSL3pVaFRoX9lDRh", "confirmation_method": "automatic", - "created": 1709821107, + "created": 1709822394, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmBKuuB1fWySn13FUw1sT", + "latest_charge": "ch_3Ori6wKuuB1fWySn0dTrUtv2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmBKuuB1fWySn7yO9IDcc", + "payment_method": "pm_1Ori6wKuuB1fWySnDARn0q6E", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:30 GMT + recorded_at: Thu, 07 Mar 2024 14:39:57 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmBKuuB1fWySn1lxvJq2O + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6wKuuB1fWySn0trufgps body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AgjQvS7wjZZQWL","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_kmELWSkWQ516Cn","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:30 GMT + - Thu, 07 Mar 2024 14:39:57 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_Yhug3RNWG0kXWc + - req_qJtmV8hcDEOgy9 Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmBKuuB1fWySn1lxvJq2O", + "id": "pi_3Ori6wKuuB1fWySn0trufgps", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmBKuuB1fWySn1lxvJq2O_secret_jRr63BwQHIurAkbgXv9zbKFbC", + "client_secret": "pi_3Ori6wKuuB1fWySn0trufgps_secret_V07Sdr94vnSL3pVaFRoX9lDRh", "confirmation_method": "automatic", - "created": 1709821107, + "created": 1709822394, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmBKuuB1fWySn13FUw1sT", + "latest_charge": "ch_3Ori6wKuuB1fWySn0dTrUtv2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmBKuuB1fWySn7yO9IDcc", + "payment_method": "pm_1Ori6wKuuB1fWySnDARn0q6E", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:31 GMT + recorded_at: Thu, 07 Mar 2024 14:39:57 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml index 1ab595d941..e512fd7dd1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qECUG2k7cSzt0Y","request_duration_ms":318}}' + - '{"last_request_metrics":{"request_id":"req_quxkykd8Y5vam4","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:24 GMT + - Thu, 07 Mar 2024 14:39:51 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9c08b49e-8b11-4090-a129-aad606f98243 + - 57298702-8698-443a-8314-76cb3865eace Original-Request: - - req_4bAna5gDkxfyDF + - req_uaZgQYRPoGa9wd Request-Id: - - req_4bAna5gDkxfyDF + - req_uaZgQYRPoGa9wd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Orhm8KuuB1fWySn9Vv6egQ8", + "id": "pm_1Ori6tKuuB1fWySn8Tw4UZ4j", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821104, + "created": 1709822391, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:25 GMT + recorded_at: Thu, 07 Mar 2024 14:39:51 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Orhm8KuuB1fWySn9Vv6egQ8&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6tKuuB1fWySn8Tw4UZ4j&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4bAna5gDkxfyDF","request_duration_ms":545}}' + - '{"last_request_metrics":{"request_id":"req_uaZgQYRPoGa9wd","request_duration_ms":459}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:25 GMT + - Thu, 07 Mar 2024 14:39:52 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4ba0ed86-f640-4e9d-8c4b-19f8cb1bd520 + - cfcc4c28-561f-4a5d-99a6-e0611ee21cfd Original-Request: - - req_xVjZPwYcPGeGJQ + - req_9TIZOGVoXLTEak Request-Id: - - req_xVjZPwYcPGeGJQ + - req_9TIZOGVoXLTEak Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhm9KuuB1fWySn20YQVIGn", + "id": "pi_3Ori6uKuuB1fWySn03CwlYfu", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhm9KuuB1fWySn20YQVIGn_secret_OswvGZFEtrnSdw2UmkPrN9K5L", + "client_secret": "pi_3Ori6uKuuB1fWySn03CwlYfu_secret_I1SaSGYnIVaxE8LQ7ZTyd6pNt", "confirmation_method": "automatic", - "created": 1709821105, + "created": 1709822392, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhm8KuuB1fWySn9Vv6egQ8", + "payment_method": "pm_1Ori6tKuuB1fWySn8Tw4UZ4j", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:25 GMT + recorded_at: Thu, 07 Mar 2024 14:39:52 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhm9KuuB1fWySn20YQVIGn/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6uKuuB1fWySn03CwlYfu/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xVjZPwYcPGeGJQ","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_9TIZOGVoXLTEak","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:26 GMT + - Thu, 07 Mar 2024 14:39:53 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fe6dbc5a-3a9a-4e9d-bbbe-1a2b8ef385c5 + - 3cfcf6f8-c639-4b04-8ab6-93b9f81fa29f Original-Request: - - req_1pZIwVQhX3RIP9 + - req_87T1oX3zkGo0WN Request-Id: - - req_1pZIwVQhX3RIP9 + - req_87T1oX3zkGo0WN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhm9KuuB1fWySn20YQVIGn", + "id": "pi_3Ori6uKuuB1fWySn03CwlYfu", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhm9KuuB1fWySn20YQVIGn_secret_OswvGZFEtrnSdw2UmkPrN9K5L", + "client_secret": "pi_3Ori6uKuuB1fWySn03CwlYfu_secret_I1SaSGYnIVaxE8LQ7ZTyd6pNt", "confirmation_method": "automatic", - "created": 1709821105, + "created": 1709822392, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhm9KuuB1fWySn2HvEpCvi", + "latest_charge": "ch_3Ori6uKuuB1fWySn0A2F6AK9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhm8KuuB1fWySn9Vv6egQ8", + "payment_method": "pm_1Ori6tKuuB1fWySn8Tw4UZ4j", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:26 GMT + recorded_at: Thu, 07 Mar 2024 14:39:53 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml index b4a1ceabd6..05d5e861be 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TwHYc7AoKKHx9g","request_duration_ms":1101}}' + - '{"last_request_metrics":{"request_id":"req_AchKokdy6ELzgy","request_duration_ms":1111}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:22 GMT + - Thu, 07 Mar 2024 14:38:49 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d45afc7d-2d10-474e-976b-f31b7d06b8d6 + - a3fe2c5b-7fb6-4f1e-93d5-8a4dbd2a2034 Original-Request: - - req_ZZw9BlVtxUqQRP + - req_PUtG5a7kxhPnbx Request-Id: - - req_ZZw9BlVtxUqQRP + - req_PUtG5a7kxhPnbx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Orhl8KuuB1fWySn42vMn8ZL", + "id": "pm_1Ori5sKuuB1fWySn4Oa1jqad", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821042, + "created": 1709822329, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:22 GMT + recorded_at: Thu, 07 Mar 2024 14:38:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Orhl8KuuB1fWySn42vMn8ZL&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori5sKuuB1fWySn4Oa1jqad&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZZw9BlVtxUqQRP","request_duration_ms":497}}' + - '{"last_request_metrics":{"request_id":"req_PUtG5a7kxhPnbx","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:22 GMT + - Thu, 07 Mar 2024 14:38:49 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4fe17c23-8938-4287-b271-159415548435 + - 57a4355f-9df8-4d20-b03c-3ef5f476171c Original-Request: - - req_Q3AbL9aql7Nt4a + - req_EZQsGa48DXOOR9 Request-Id: - - req_Q3AbL9aql7Nt4a + - req_EZQsGa48DXOOR9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhl8KuuB1fWySn0yFxIu7N", + "id": "pi_3Ori5tKuuB1fWySn26LhSDMS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhl8KuuB1fWySn0yFxIu7N_secret_D0xyxf0SGeriQuaNR3RUW2Rit", + "client_secret": "pi_3Ori5tKuuB1fWySn26LhSDMS_secret_XdLtN9uTQIXQvmKcmfSeyXGDz", "confirmation_method": "automatic", - "created": 1709821042, + "created": 1709822329, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhl8KuuB1fWySn42vMn8ZL", + "payment_method": "pm_1Ori5sKuuB1fWySn4Oa1jqad", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:22 GMT + recorded_at: Thu, 07 Mar 2024 14:38:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl8KuuB1fWySn0yFxIu7N/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5tKuuB1fWySn26LhSDMS/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Q3AbL9aql7Nt4a","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_EZQsGa48DXOOR9","request_duration_ms":451}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:23 GMT + - Thu, 07 Mar 2024 14:38:50 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0bea617b-e876-43ce-838d-2b54b236218a + - 831a8947-a7f6-4f60-99c5-50298987b71e Original-Request: - - req_w17vGcDxWKQXQw + - req_fnEmF5D2nETYjG Request-Id: - - req_w17vGcDxWKQXQw + - req_fnEmF5D2nETYjG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhl8KuuB1fWySn0yFxIu7N", + "id": "pi_3Ori5tKuuB1fWySn26LhSDMS", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhl8KuuB1fWySn0yFxIu7N_secret_D0xyxf0SGeriQuaNR3RUW2Rit", + "client_secret": "pi_3Ori5tKuuB1fWySn26LhSDMS_secret_XdLtN9uTQIXQvmKcmfSeyXGDz", "confirmation_method": "automatic", - "created": 1709821042, + "created": 1709822329, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhl8KuuB1fWySn03kNEnA1", + "latest_charge": "ch_3Ori5tKuuB1fWySn2PschlEB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhl8KuuB1fWySn42vMn8ZL", + "payment_method": "pm_1Ori5sKuuB1fWySn4Oa1jqad", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:23 GMT + recorded_at: Thu, 07 Mar 2024 14:38:50 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl8KuuB1fWySn0yFxIu7N + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5tKuuB1fWySn26LhSDMS body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_w17vGcDxWKQXQw","request_duration_ms":979}}' + - '{"last_request_metrics":{"request_id":"req_fnEmF5D2nETYjG","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:24 GMT + - Thu, 07 Mar 2024 14:38:51 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_fz2ZzynjKhASYt + - req_2KBvvxq9qF1nr3 Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhl8KuuB1fWySn0yFxIu7N", + "id": "pi_3Ori5tKuuB1fWySn26LhSDMS", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhl8KuuB1fWySn0yFxIu7N_secret_D0xyxf0SGeriQuaNR3RUW2Rit", + "client_secret": "pi_3Ori5tKuuB1fWySn26LhSDMS_secret_XdLtN9uTQIXQvmKcmfSeyXGDz", "confirmation_method": "automatic", - "created": 1709821042, + "created": 1709822329, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhl8KuuB1fWySn03kNEnA1", + "latest_charge": "ch_3Ori5tKuuB1fWySn2PschlEB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhl8KuuB1fWySn42vMn8ZL", + "payment_method": "pm_1Ori5sKuuB1fWySn4Oa1jqad", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:24 GMT + recorded_at: Thu, 07 Mar 2024 14:38:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl8KuuB1fWySn0yFxIu7N/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5tKuuB1fWySn26LhSDMS/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fz2ZzynjKhASYt","request_duration_ms":345}}' + - '{"last_request_metrics":{"request_id":"req_2KBvvxq9qF1nr3","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:25 GMT + - Thu, 07 Mar 2024 14:38:52 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 24a53cd6-28ad-4162-a68e-71596cdf1ff0 + - 2ec4a584-b057-46b8-83f3-19745a5fd4f4 Original-Request: - - req_n9N58pMjd8XHnS + - req_VuaoCpoldOAASG Request-Id: - - req_n9N58pMjd8XHnS + - req_VuaoCpoldOAASG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhl8KuuB1fWySn0yFxIu7N", + "id": "pi_3Ori5tKuuB1fWySn26LhSDMS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhl8KuuB1fWySn0yFxIu7N_secret_D0xyxf0SGeriQuaNR3RUW2Rit", + "client_secret": "pi_3Ori5tKuuB1fWySn26LhSDMS_secret_XdLtN9uTQIXQvmKcmfSeyXGDz", "confirmation_method": "automatic", - "created": 1709821042, + "created": 1709822329, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhl8KuuB1fWySn03kNEnA1", + "latest_charge": "ch_3Ori5tKuuB1fWySn2PschlEB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhl8KuuB1fWySn42vMn8ZL", + "payment_method": "pm_1Ori5sKuuB1fWySn4Oa1jqad", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:25 GMT + recorded_at: Thu, 07 Mar 2024 14:38:52 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl8KuuB1fWySn0yFxIu7N + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5tKuuB1fWySn26LhSDMS body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_n9N58pMjd8XHnS","request_duration_ms":1047}}' + - '{"last_request_metrics":{"request_id":"req_VuaoCpoldOAASG","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:25 GMT + - Thu, 07 Mar 2024 14:38:52 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_ElTWDPsbO4yvWK + - req_BDAQvcvpBdupyp Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhl8KuuB1fWySn0yFxIu7N", + "id": "pi_3Ori5tKuuB1fWySn26LhSDMS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhl8KuuB1fWySn0yFxIu7N_secret_D0xyxf0SGeriQuaNR3RUW2Rit", + "client_secret": "pi_3Ori5tKuuB1fWySn26LhSDMS_secret_XdLtN9uTQIXQvmKcmfSeyXGDz", "confirmation_method": "automatic", - "created": 1709821042, + "created": 1709822329, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhl8KuuB1fWySn03kNEnA1", + "latest_charge": "ch_3Ori5tKuuB1fWySn2PschlEB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhl8KuuB1fWySn42vMn8ZL", + "payment_method": "pm_1Ori5sKuuB1fWySn4Oa1jqad", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:25 GMT + recorded_at: Thu, 07 Mar 2024 14:38:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml index dad3822857..ba5067d0f6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BkuzWXjgBrZ2vk","request_duration_ms":305}}' + - '{"last_request_metrics":{"request_id":"req_JfHj853ZZu6mIE","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:19 GMT + - Thu, 07 Mar 2024 14:38:46 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b404cff6-813b-4999-bcca-1a93350839ec + - 8447bdb3-9555-421a-b79f-a5e3a2cc08ef Original-Request: - - req_9S1InEl0kIRAWQ + - req_sHwuCvwiP82BNj Request-Id: - - req_9S1InEl0kIRAWQ + - req_sHwuCvwiP82BNj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Orhl5KuuB1fWySnhei3fpwf", + "id": "pm_1Ori5qKuuB1fWySnTj1yBVJX", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821039, + "created": 1709822326, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:19 GMT + recorded_at: Thu, 07 Mar 2024 14:38:46 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Orhl5KuuB1fWySnhei3fpwf&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori5qKuuB1fWySnTj1yBVJX&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9S1InEl0kIRAWQ","request_duration_ms":562}}' + - '{"last_request_metrics":{"request_id":"req_sHwuCvwiP82BNj","request_duration_ms":459}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:20 GMT + - Thu, 07 Mar 2024 14:38:47 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9e342fce-f2c1-4bdb-abac-c334f61ac828 + - 0a394b95-5d7d-4785-83b1-1c76564c6d93 Original-Request: - - req_pDu9eWUEWnBJBP + - req_BkTb7nmKsXxNZC Request-Id: - - req_pDu9eWUEWnBJBP + - req_BkTb7nmKsXxNZC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhl5KuuB1fWySn17Z3Kznp", + "id": "pi_3Ori5rKuuB1fWySn1kcrUQ6B", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhl5KuuB1fWySn17Z3Kznp_secret_bIe8WxM97idjG9kyn1R8z15w3", + "client_secret": "pi_3Ori5rKuuB1fWySn1kcrUQ6B_secret_aMRP55QoyCAq8OXK2VfmJH96r", "confirmation_method": "automatic", - "created": 1709821039, + "created": 1709822327, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhl5KuuB1fWySnhei3fpwf", + "payment_method": "pm_1Ori5qKuuB1fWySnTj1yBVJX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:20 GMT + recorded_at: Thu, 07 Mar 2024 14:38:47 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl5KuuB1fWySn17Z3Kznp/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5rKuuB1fWySn1kcrUQ6B/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pDu9eWUEWnBJBP","request_duration_ms":530}}' + - '{"last_request_metrics":{"request_id":"req_BkTb7nmKsXxNZC","request_duration_ms":416}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:21 GMT + - Thu, 07 Mar 2024 14:38:48 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 301a9da1-e1fa-4680-ac1e-0b3ce95abc05 + - 67c4653c-d8bc-4cc2-9b32-700c3fbab968 Original-Request: - - req_TwHYc7AoKKHx9g + - req_AchKokdy6ELzgy Request-Id: - - req_TwHYc7AoKKHx9g + - req_AchKokdy6ELzgy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhl5KuuB1fWySn17Z3Kznp", + "id": "pi_3Ori5rKuuB1fWySn1kcrUQ6B", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhl5KuuB1fWySn17Z3Kznp_secret_bIe8WxM97idjG9kyn1R8z15w3", + "client_secret": "pi_3Ori5rKuuB1fWySn1kcrUQ6B_secret_aMRP55QoyCAq8OXK2VfmJH96r", "confirmation_method": "automatic", - "created": 1709821039, + "created": 1709822327, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhl5KuuB1fWySn1oDpjWcp", + "latest_charge": "ch_3Ori5rKuuB1fWySn1bjvQFzi", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhl5KuuB1fWySnhei3fpwf", + "payment_method": "pm_1Ori5qKuuB1fWySnTj1yBVJX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:21 GMT + recorded_at: Thu, 07 Mar 2024 14:38:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml index 456ce09602..acfd00512a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eXxU9FuG1Fisqa","request_duration_ms":1106}}' + - '{"last_request_metrics":{"request_id":"req_5X95rJMIwqQqtG","request_duration_ms":1121}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:28 GMT + - Thu, 07 Mar 2024 14:38:55 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 428d9a4d-4a6e-4dfd-b745-d981e6b304ea + - 363866c0-a190-4c4a-9e76-9f98a9380d56 Original-Request: - - req_qB3USaB2u9d2uh + - req_iMcqLUAlhRrD2o Request-Id: - - req_qB3USaB2u9d2uh + - req_iMcqLUAlhRrD2o Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlEKuuB1fWySnjJ4ULDHy", + "id": "pm_1Ori5zKuuB1fWySn5BCXR1Za", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821048, + "created": 1709822335, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:28 GMT + recorded_at: Thu, 07 Mar 2024 14:38:55 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlEKuuB1fWySnjJ4ULDHy&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori5zKuuB1fWySn5BCXR1Za&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qB3USaB2u9d2uh","request_duration_ms":530}}' + - '{"last_request_metrics":{"request_id":"req_iMcqLUAlhRrD2o","request_duration_ms":485}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:29 GMT + - Thu, 07 Mar 2024 14:38:56 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 328e5bd1-d5bc-44f3-be6d-5232b4e310b3 + - ec6a5496-f4e3-471b-a291-a42042e7b323 Original-Request: - - req_N9L5HiHaqgsVmZ + - req_01FQ2HCyNuLTlV Request-Id: - - req_N9L5HiHaqgsVmZ + - req_01FQ2HCyNuLTlV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlEKuuB1fWySn2GZOX9C3", + "id": "pi_3Ori5zKuuB1fWySn2TEIWWwU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlEKuuB1fWySn2GZOX9C3_secret_g0uFPTAJaKaONM7yyqSOjYPqg", + "client_secret": "pi_3Ori5zKuuB1fWySn2TEIWWwU_secret_YOoFJl5qmPaFIZSc9WXLVKuj7", "confirmation_method": "automatic", - "created": 1709821048, + "created": 1709822335, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlEKuuB1fWySnjJ4ULDHy", + "payment_method": "pm_1Ori5zKuuB1fWySn5BCXR1Za", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:29 GMT + recorded_at: Thu, 07 Mar 2024 14:38:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlEKuuB1fWySn2GZOX9C3/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5zKuuB1fWySn2TEIWWwU/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_N9L5HiHaqgsVmZ","request_duration_ms":476}}' + - '{"last_request_metrics":{"request_id":"req_01FQ2HCyNuLTlV","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:30 GMT + - Thu, 07 Mar 2024 14:38:57 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8afdb0f1-8a51-49a5-9b7f-2f80008814c6 + - 8a541264-51ac-4f5e-b709-3c2e0751ab94 Original-Request: - - req_Kf3nT7dbXUfeNI + - req_HIDsQLsoeJhppm Request-Id: - - req_Kf3nT7dbXUfeNI + - req_HIDsQLsoeJhppm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlEKuuB1fWySn2GZOX9C3", + "id": "pi_3Ori5zKuuB1fWySn2TEIWWwU", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlEKuuB1fWySn2GZOX9C3_secret_g0uFPTAJaKaONM7yyqSOjYPqg", + "client_secret": "pi_3Ori5zKuuB1fWySn2TEIWWwU_secret_YOoFJl5qmPaFIZSc9WXLVKuj7", "confirmation_method": "automatic", - "created": 1709821048, + "created": 1709822335, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlEKuuB1fWySn2o7COmWr", + "latest_charge": "ch_3Ori5zKuuB1fWySn2ft2FHAy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlEKuuB1fWySnjJ4ULDHy", + "payment_method": "pm_1Ori5zKuuB1fWySn5BCXR1Za", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:30 GMT + recorded_at: Thu, 07 Mar 2024 14:38:57 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlEKuuB1fWySn2GZOX9C3 + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5zKuuB1fWySn2TEIWWwU body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Kf3nT7dbXUfeNI","request_duration_ms":1118}}' + - '{"last_request_metrics":{"request_id":"req_HIDsQLsoeJhppm","request_duration_ms":1041}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:30 GMT + - Thu, 07 Mar 2024 14:38:57 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_hugGffecaAg9n0 + - req_KQck0ytcJl7F66 Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlEKuuB1fWySn2GZOX9C3", + "id": "pi_3Ori5zKuuB1fWySn2TEIWWwU", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlEKuuB1fWySn2GZOX9C3_secret_g0uFPTAJaKaONM7yyqSOjYPqg", + "client_secret": "pi_3Ori5zKuuB1fWySn2TEIWWwU_secret_YOoFJl5qmPaFIZSc9WXLVKuj7", "confirmation_method": "automatic", - "created": 1709821048, + "created": 1709822335, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlEKuuB1fWySn2o7COmWr", + "latest_charge": "ch_3Ori5zKuuB1fWySn2ft2FHAy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlEKuuB1fWySnjJ4ULDHy", + "payment_method": "pm_1Ori5zKuuB1fWySn5BCXR1Za", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:30 GMT + recorded_at: Thu, 07 Mar 2024 14:38:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlEKuuB1fWySn2GZOX9C3/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5zKuuB1fWySn2TEIWWwU/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hugGffecaAg9n0","request_duration_ms":338}}' + - '{"last_request_metrics":{"request_id":"req_KQck0ytcJl7F66","request_duration_ms":384}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:31 GMT + - Thu, 07 Mar 2024 14:38:58 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 633081a2-3a2c-43af-984b-0c9ced065364 + - 01e22047-cbea-4c46-8510-0d0289089a01 Original-Request: - - req_kYTcIJSQRgxWDe + - req_2cCKSbhKyyo63e Request-Id: - - req_kYTcIJSQRgxWDe + - req_2cCKSbhKyyo63e Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlEKuuB1fWySn2GZOX9C3", + "id": "pi_3Ori5zKuuB1fWySn2TEIWWwU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlEKuuB1fWySn2GZOX9C3_secret_g0uFPTAJaKaONM7yyqSOjYPqg", + "client_secret": "pi_3Ori5zKuuB1fWySn2TEIWWwU_secret_YOoFJl5qmPaFIZSc9WXLVKuj7", "confirmation_method": "automatic", - "created": 1709821048, + "created": 1709822335, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlEKuuB1fWySn2o7COmWr", + "latest_charge": "ch_3Ori5zKuuB1fWySn2ft2FHAy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlEKuuB1fWySnjJ4ULDHy", + "payment_method": "pm_1Ori5zKuuB1fWySn5BCXR1Za", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:31 GMT + recorded_at: Thu, 07 Mar 2024 14:38:58 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlEKuuB1fWySn2GZOX9C3 + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5zKuuB1fWySn2TEIWWwU body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kYTcIJSQRgxWDe","request_duration_ms":1063}}' + - '{"last_request_metrics":{"request_id":"req_2cCKSbhKyyo63e","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:32 GMT + - Thu, 07 Mar 2024 14:38:58 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_TADxO7VqeY8jW7 + - req_qT5yFaYiW831St Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlEKuuB1fWySn2GZOX9C3", + "id": "pi_3Ori5zKuuB1fWySn2TEIWWwU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlEKuuB1fWySn2GZOX9C3_secret_g0uFPTAJaKaONM7yyqSOjYPqg", + "client_secret": "pi_3Ori5zKuuB1fWySn2TEIWWwU_secret_YOoFJl5qmPaFIZSc9WXLVKuj7", "confirmation_method": "automatic", - "created": 1709821048, + "created": 1709822335, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlEKuuB1fWySn2o7COmWr", + "latest_charge": "ch_3Ori5zKuuB1fWySn2ft2FHAy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlEKuuB1fWySnjJ4ULDHy", + "payment_method": "pm_1Ori5zKuuB1fWySn5BCXR1Za", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:32 GMT + recorded_at: Thu, 07 Mar 2024 14:38:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml index d683db6e5c..a63c7d575a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ElTWDPsbO4yvWK","request_duration_ms":383}}' + - '{"last_request_metrics":{"request_id":"req_BDAQvcvpBdupyp","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:26 GMT + - Thu, 07 Mar 2024 14:38:53 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fdb68216-a942-46cd-91dc-be363a6e52ad + - 4636520c-ab00-466a-b024-a8a9b97f1795 Original-Request: - - req_ejWEHwOIDHK6fq + - req_y8QgQEpDmX95Kq Request-Id: - - req_ejWEHwOIDHK6fq + - req_y8QgQEpDmX95Kq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlBKuuB1fWySnrC865Ivd", + "id": "pm_1Ori5wKuuB1fWySnoMyMmnOO", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821046, + "created": 1709822333, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:26 GMT + recorded_at: Thu, 07 Mar 2024 14:38:53 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlBKuuB1fWySnrC865Ivd&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori5wKuuB1fWySnoMyMmnOO&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ejWEHwOIDHK6fq","request_duration_ms":459}}' + - '{"last_request_metrics":{"request_id":"req_y8QgQEpDmX95Kq","request_duration_ms":461}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:26 GMT + - Thu, 07 Mar 2024 14:38:53 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bb17bfdd-d46f-4ad2-82d8-10d994537f67 + - 96813a94-9cc9-4117-8614-800693f0ad7b Original-Request: - - req_mAw7zRp3Da6sgi + - req_E6svRhtxvyv86O Request-Id: - - req_mAw7zRp3Da6sgi + - req_E6svRhtxvyv86O Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlCKuuB1fWySn2kgj0Z89", + "id": "pi_3Ori5xKuuB1fWySn1Pu1VhpW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlCKuuB1fWySn2kgj0Z89_secret_LJsbALfsVZVSfjWT5PZij9sLm", + "client_secret": "pi_3Ori5xKuuB1fWySn1Pu1VhpW_secret_ghtVg4gYRWJzLxTodTGsyoYkp", "confirmation_method": "automatic", - "created": 1709821046, + "created": 1709822333, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlBKuuB1fWySnrC865Ivd", + "payment_method": "pm_1Ori5wKuuB1fWySnoMyMmnOO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:26 GMT + recorded_at: Thu, 07 Mar 2024 14:38:53 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlCKuuB1fWySn2kgj0Z89/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5xKuuB1fWySn1Pu1VhpW/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mAw7zRp3Da6sgi","request_duration_ms":421}}' + - '{"last_request_metrics":{"request_id":"req_E6svRhtxvyv86O","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:27 GMT + - Thu, 07 Mar 2024 14:38:54 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1b3bdd0e-03de-4b33-a3da-df749f1e7a6a + - d6b4f9ca-f19d-4954-addc-1f7c03b8f9f3 Original-Request: - - req_eXxU9FuG1Fisqa + - req_5X95rJMIwqQqtG Request-Id: - - req_eXxU9FuG1Fisqa + - req_5X95rJMIwqQqtG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlCKuuB1fWySn2kgj0Z89", + "id": "pi_3Ori5xKuuB1fWySn1Pu1VhpW", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlCKuuB1fWySn2kgj0Z89_secret_LJsbALfsVZVSfjWT5PZij9sLm", + "client_secret": "pi_3Ori5xKuuB1fWySn1Pu1VhpW_secret_ghtVg4gYRWJzLxTodTGsyoYkp", "confirmation_method": "automatic", - "created": 1709821046, + "created": 1709822333, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlCKuuB1fWySn2CORAAmh", + "latest_charge": "ch_3Ori5xKuuB1fWySn1BNA460v", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlBKuuB1fWySnrC865Ivd", + "payment_method": "pm_1Ori5wKuuB1fWySnoMyMmnOO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:27 GMT + recorded_at: Thu, 07 Mar 2024 14:38:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml index a634ed55b7..8bfadc7f9e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PTSuuf1gWHLiWn","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_fOSqvUMqI43NGZ","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:35 GMT + - Thu, 07 Mar 2024 14:39:02 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - da7a2516-a4e8-401c-8bd1-1a4ba77f6f6a + - 8a8fc4ec-1fdd-41e0-823a-991d0f5d8f30 Original-Request: - - req_V13Sx2kCKDnGEt + - req_OHuqmcs8rgOOQ6 Request-Id: - - req_V13Sx2kCKDnGEt + - req_OHuqmcs8rgOOQ6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlKKuuB1fWySn50Jg9vbA", + "id": "pm_1Ori65KuuB1fWySni4K1LnJT", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821054, + "created": 1709822341, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:35 GMT + recorded_at: Thu, 07 Mar 2024 14:39:02 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlKKuuB1fWySn50Jg9vbA&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori65KuuB1fWySni4K1LnJT&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_V13Sx2kCKDnGEt","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_OHuqmcs8rgOOQ6","request_duration_ms":527}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:35 GMT + - Thu, 07 Mar 2024 14:39:02 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ba2b9443-22b0-46e1-bf27-1b4f001e050c + - 0cf6c339-960e-4c0a-a76f-827a27251427 Original-Request: - - req_hU1cwbcA9vmpn5 + - req_PM6X2TA482D0to Request-Id: - - req_hU1cwbcA9vmpn5 + - req_PM6X2TA482D0to Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c", + "id": "pi_3Ori66KuuB1fWySn2TSStT8V", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c_secret_vna4iH75Pmx6LVEnshLMSyOHR", + "client_secret": "pi_3Ori66KuuB1fWySn2TSStT8V_secret_rZRKbxRTi6J80Mx85k5GqlDPH", "confirmation_method": "automatic", - "created": 1709821055, + "created": 1709822342, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlKKuuB1fWySn50Jg9vbA", + "payment_method": "pm_1Ori65KuuB1fWySni4K1LnJT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:35 GMT + recorded_at: Thu, 07 Mar 2024 14:39:02 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlLKuuB1fWySn2Q1DgZ1c/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori66KuuB1fWySn2TSStT8V/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hU1cwbcA9vmpn5","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_PM6X2TA482D0to","request_duration_ms":505}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:36 GMT + - Thu, 07 Mar 2024 14:39:03 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e68949fd-fa58-45e4-bdf5-6f3c91bf774d + - 010f4e7b-b822-44ef-94bf-501afe1963a7 Original-Request: - - req_TuulQkfq4KSLwU + - req_g37kX0ok5Rc7RF Request-Id: - - req_TuulQkfq4KSLwU + - req_g37kX0ok5Rc7RF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c", + "id": "pi_3Ori66KuuB1fWySn2TSStT8V", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c_secret_vna4iH75Pmx6LVEnshLMSyOHR", + "client_secret": "pi_3Ori66KuuB1fWySn2TSStT8V_secret_rZRKbxRTi6J80Mx85k5GqlDPH", "confirmation_method": "automatic", - "created": 1709821055, + "created": 1709822342, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlLKuuB1fWySn2ambXAN2", + "latest_charge": "ch_3Ori66KuuB1fWySn2nN9aLD9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlKKuuB1fWySn50Jg9vbA", + "payment_method": "pm_1Ori65KuuB1fWySni4K1LnJT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:36 GMT + recorded_at: Thu, 07 Mar 2024 14:39:03 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlLKuuB1fWySn2Q1DgZ1c + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori66KuuB1fWySn2TSStT8V body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TuulQkfq4KSLwU","request_duration_ms":1019}}' + - '{"last_request_metrics":{"request_id":"req_g37kX0ok5Rc7RF","request_duration_ms":996}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:36 GMT + - Thu, 07 Mar 2024 14:39:03 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_xPUCWYMwEcnoJA + - req_eIiSDtvtKFMesq Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c", + "id": "pi_3Ori66KuuB1fWySn2TSStT8V", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c_secret_vna4iH75Pmx6LVEnshLMSyOHR", + "client_secret": "pi_3Ori66KuuB1fWySn2TSStT8V_secret_rZRKbxRTi6J80Mx85k5GqlDPH", "confirmation_method": "automatic", - "created": 1709821055, + "created": 1709822342, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlLKuuB1fWySn2ambXAN2", + "latest_charge": "ch_3Ori66KuuB1fWySn2nN9aLD9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlKKuuB1fWySn50Jg9vbA", + "payment_method": "pm_1Ori65KuuB1fWySni4K1LnJT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:37 GMT + recorded_at: Thu, 07 Mar 2024 14:39:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlLKuuB1fWySn2Q1DgZ1c/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori66KuuB1fWySn2TSStT8V/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xPUCWYMwEcnoJA","request_duration_ms":353}}' + - '{"last_request_metrics":{"request_id":"req_eIiSDtvtKFMesq","request_duration_ms":328}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:38 GMT + - Thu, 07 Mar 2024 14:39:04 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cdf8a700-00b5-497f-8788-30c48e9a43e3 + - '020718f1-3ade-4fc2-a049-20efca5cf2bd' Original-Request: - - req_4N9C6CpHzEdQhH + - req_Xa3R30enuncvVR Request-Id: - - req_4N9C6CpHzEdQhH + - req_Xa3R30enuncvVR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c", + "id": "pi_3Ori66KuuB1fWySn2TSStT8V", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c_secret_vna4iH75Pmx6LVEnshLMSyOHR", + "client_secret": "pi_3Ori66KuuB1fWySn2TSStT8V_secret_rZRKbxRTi6J80Mx85k5GqlDPH", "confirmation_method": "automatic", - "created": 1709821055, + "created": 1709822342, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlLKuuB1fWySn2ambXAN2", + "latest_charge": "ch_3Ori66KuuB1fWySn2nN9aLD9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlKKuuB1fWySn50Jg9vbA", + "payment_method": "pm_1Ori65KuuB1fWySni4K1LnJT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:38 GMT + recorded_at: Thu, 07 Mar 2024 14:39:04 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlLKuuB1fWySn2Q1DgZ1c + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori66KuuB1fWySn2TSStT8V body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4N9C6CpHzEdQhH","request_duration_ms":1072}}' + - '{"last_request_metrics":{"request_id":"req_Xa3R30enuncvVR","request_duration_ms":1034}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:38 GMT + - Thu, 07 Mar 2024 14:39:05 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_cle2iWDqkch49Q + - req_AVQawTdno66cLc Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c", + "id": "pi_3Ori66KuuB1fWySn2TSStT8V", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlLKuuB1fWySn2Q1DgZ1c_secret_vna4iH75Pmx6LVEnshLMSyOHR", + "client_secret": "pi_3Ori66KuuB1fWySn2TSStT8V_secret_rZRKbxRTi6J80Mx85k5GqlDPH", "confirmation_method": "automatic", - "created": 1709821055, + "created": 1709822342, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlLKuuB1fWySn2ambXAN2", + "latest_charge": "ch_3Ori66KuuB1fWySn2nN9aLD9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlKKuuB1fWySn50Jg9vbA", + "payment_method": "pm_1Ori65KuuB1fWySni4K1LnJT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:38 GMT + recorded_at: Thu, 07 Mar 2024 14:39:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml index ece32921d4..da344a4180 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TADxO7VqeY8jW7","request_duration_ms":363}}' + - '{"last_request_metrics":{"request_id":"req_qT5yFaYiW831St","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:32 GMT + - Thu, 07 Mar 2024 14:38:59 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 26606670-de4b-40f1-9d0b-790a8d33e369 + - 4c8cb228-015c-4354-b44f-ed5a5ec7a6ff Original-Request: - - req_7FsZGOEqNi0UJO + - req_QvXSkv8d8V3pRY Request-Id: - - req_7FsZGOEqNi0UJO + - req_QvXSkv8d8V3pRY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlIKuuB1fWySn0qU1eG0Z", + "id": "pm_1Ori63KuuB1fWySnnaZjzJ4w", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821052, + "created": 1709822339, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:32 GMT + recorded_at: Thu, 07 Mar 2024 14:38:59 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlIKuuB1fWySn0qU1eG0Z&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori63KuuB1fWySnnaZjzJ4w&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7FsZGOEqNi0UJO","request_duration_ms":562}}' + - '{"last_request_metrics":{"request_id":"req_QvXSkv8d8V3pRY","request_duration_ms":462}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:33 GMT + - Thu, 07 Mar 2024 14:38:59 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a5235802-aeaa-47c6-9cf2-38d7e01f62a6 + - edbfd474-47d6-472c-a601-0638560eff21 Original-Request: - - req_fLl7psVo4zdqrx + - req_FP1xImCwHHpyrv Request-Id: - - req_fLl7psVo4zdqrx + - req_FP1xImCwHHpyrv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlIKuuB1fWySn13YypE10", + "id": "pi_3Ori63KuuB1fWySn1GsPVyqd", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlIKuuB1fWySn13YypE10_secret_ru9DgWL6FrtYjI9vG8ucnAg5u", + "client_secret": "pi_3Ori63KuuB1fWySn1GsPVyqd_secret_VwUIge9fKnGogg8R1YeMQ7u6X", "confirmation_method": "automatic", - "created": 1709821052, + "created": 1709822339, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlIKuuB1fWySn0qU1eG0Z", + "payment_method": "pm_1Ori63KuuB1fWySnnaZjzJ4w", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:33 GMT + recorded_at: Thu, 07 Mar 2024 14:39:00 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlIKuuB1fWySn13YypE10/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori63KuuB1fWySn1GsPVyqd/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fLl7psVo4zdqrx","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_FP1xImCwHHpyrv","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:34 GMT + - Thu, 07 Mar 2024 14:39:01 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 48a41088-c487-43c1-87f5-795d936c0fa0 + - 61d01664-57f7-4170-84d8-9d9934e729ad Original-Request: - - req_PTSuuf1gWHLiWn + - req_fOSqvUMqI43NGZ Request-Id: - - req_PTSuuf1gWHLiWn + - req_fOSqvUMqI43NGZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlIKuuB1fWySn13YypE10", + "id": "pi_3Ori63KuuB1fWySn1GsPVyqd", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlIKuuB1fWySn13YypE10_secret_ru9DgWL6FrtYjI9vG8ucnAg5u", + "client_secret": "pi_3Ori63KuuB1fWySn1GsPVyqd_secret_VwUIge9fKnGogg8R1YeMQ7u6X", "confirmation_method": "automatic", - "created": 1709821052, + "created": 1709822339, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlIKuuB1fWySn111CL1CE", + "latest_charge": "ch_3Ori63KuuB1fWySn1ZfkoRYm", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlIKuuB1fWySn0qU1eG0Z", + "payment_method": "pm_1Ori63KuuB1fWySnnaZjzJ4w", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:34 GMT + recorded_at: Thu, 07 Mar 2024 14:39:01 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml index 229a17893e..96418bf244 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nIFIA9Iywum43G","request_duration_ms":1084}}' + - '{"last_request_metrics":{"request_id":"req_L1eWYusHItxtNv","request_duration_ms":1008}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:41 GMT + - Thu, 07 Mar 2024 14:39:08 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 11ed79f2-6b4d-44ae-9940-dc05900422f1 + - 862f4a11-73f2-4c6f-8a8d-a32a2ec333ca Original-Request: - - req_irDUKxRaetk2yX + - req_POQyKDTila0Lre Request-Id: - - req_irDUKxRaetk2yX + - req_POQyKDTila0Lre Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlRKuuB1fWySne5J1llnl", + "id": "pm_1Ori6BKuuB1fWySnsXciN07o", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821061, + "created": 1709822348, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:41 GMT + recorded_at: Thu, 07 Mar 2024 14:39:08 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlRKuuB1fWySne5J1llnl&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori6BKuuB1fWySnsXciN07o&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_irDUKxRaetk2yX","request_duration_ms":513}}' + - '{"last_request_metrics":{"request_id":"req_POQyKDTila0Lre","request_duration_ms":434}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:41 GMT + - Thu, 07 Mar 2024 14:39:08 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 77f75a88-6d46-4990-92d8-50435dd0f9a7 + - 54d554d5-7ee8-4282-bb70-1ae9d7276470 Original-Request: - - req_AUFpg3cfxneSas + - req_wqYcrpyMnqCS52 Request-Id: - - req_AUFpg3cfxneSas + - req_wqYcrpyMnqCS52 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlRKuuB1fWySn1D8sFtBi", + "id": "pi_3Ori6CKuuB1fWySn2FEj4kTX", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlRKuuB1fWySn1D8sFtBi_secret_xvENL35W1Ai6f8pqnOcOyIyYM", + "client_secret": "pi_3Ori6CKuuB1fWySn2FEj4kTX_secret_8vALGnvV83BaDhOBOt2n8SoT0", "confirmation_method": "automatic", - "created": 1709821061, + "created": 1709822348, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlRKuuB1fWySne5J1llnl", + "payment_method": "pm_1Ori6BKuuB1fWySnsXciN07o", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:42 GMT + recorded_at: Thu, 07 Mar 2024 14:39:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlRKuuB1fWySn1D8sFtBi/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6CKuuB1fWySn2FEj4kTX/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AUFpg3cfxneSas","request_duration_ms":415}}' + - '{"last_request_metrics":{"request_id":"req_wqYcrpyMnqCS52","request_duration_ms":447}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:43 GMT + - Thu, 07 Mar 2024 14:39:09 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5bf9007d-9e47-4674-870f-a86d8c6d7703 + - 2c7bc466-8207-4f74-b6ab-070e62d6339f Original-Request: - - req_N6HYhnWhoCrv4R + - req_E7zoZxl4kceGAw Request-Id: - - req_N6HYhnWhoCrv4R + - req_E7zoZxl4kceGAw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlRKuuB1fWySn1D8sFtBi", + "id": "pi_3Ori6CKuuB1fWySn2FEj4kTX", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlRKuuB1fWySn1D8sFtBi_secret_xvENL35W1Ai6f8pqnOcOyIyYM", + "client_secret": "pi_3Ori6CKuuB1fWySn2FEj4kTX_secret_8vALGnvV83BaDhOBOt2n8SoT0", "confirmation_method": "automatic", - "created": 1709821061, + "created": 1709822348, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlRKuuB1fWySn1fyK75HM", + "latest_charge": "ch_3Ori6CKuuB1fWySn27RlOpFa", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlRKuuB1fWySne5J1llnl", + "payment_method": "pm_1Ori6BKuuB1fWySnsXciN07o", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:43 GMT + recorded_at: Thu, 07 Mar 2024 14:39:09 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlRKuuB1fWySn1D8sFtBi + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6CKuuB1fWySn2FEj4kTX body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_N6HYhnWhoCrv4R","request_duration_ms":1018}}' + - '{"last_request_metrics":{"request_id":"req_E7zoZxl4kceGAw","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:43 GMT + - Thu, 07 Mar 2024 14:39:09 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_miO7Gw9zUrtaL6 + - req_gC1YYF5M0xMgXM Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlRKuuB1fWySn1D8sFtBi", + "id": "pi_3Ori6CKuuB1fWySn2FEj4kTX", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlRKuuB1fWySn1D8sFtBi_secret_xvENL35W1Ai6f8pqnOcOyIyYM", + "client_secret": "pi_3Ori6CKuuB1fWySn2FEj4kTX_secret_8vALGnvV83BaDhOBOt2n8SoT0", "confirmation_method": "automatic", - "created": 1709821061, + "created": 1709822348, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlRKuuB1fWySn1fyK75HM", + "latest_charge": "ch_3Ori6CKuuB1fWySn27RlOpFa", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlRKuuB1fWySne5J1llnl", + "payment_method": "pm_1Ori6BKuuB1fWySnsXciN07o", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:43 GMT + recorded_at: Thu, 07 Mar 2024 14:39:10 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlRKuuB1fWySn1D8sFtBi/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6CKuuB1fWySn2FEj4kTX/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_miO7Gw9zUrtaL6","request_duration_ms":290}}' + - '{"last_request_metrics":{"request_id":"req_gC1YYF5M0xMgXM","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:44 GMT + - Thu, 07 Mar 2024 14:39:11 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 373bfcd7-f19c-4b47-8754-df48cce30ce0 + - 33f9892c-7689-466b-9373-b18bdbe976c7 Original-Request: - - req_9B54LJfQnizecD + - req_vqKLgySHLPXJbX Request-Id: - - req_9B54LJfQnizecD + - req_vqKLgySHLPXJbX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlRKuuB1fWySn1D8sFtBi", + "id": "pi_3Ori6CKuuB1fWySn2FEj4kTX", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlRKuuB1fWySn1D8sFtBi_secret_xvENL35W1Ai6f8pqnOcOyIyYM", + "client_secret": "pi_3Ori6CKuuB1fWySn2FEj4kTX_secret_8vALGnvV83BaDhOBOt2n8SoT0", "confirmation_method": "automatic", - "created": 1709821061, + "created": 1709822348, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlRKuuB1fWySn1fyK75HM", + "latest_charge": "ch_3Ori6CKuuB1fWySn27RlOpFa", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlRKuuB1fWySne5J1llnl", + "payment_method": "pm_1Ori6BKuuB1fWySnsXciN07o", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:44 GMT + recorded_at: Thu, 07 Mar 2024 14:39:11 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlRKuuB1fWySn1D8sFtBi + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6CKuuB1fWySn2FEj4kTX body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9B54LJfQnizecD","request_duration_ms":1131}}' + - '{"last_request_metrics":{"request_id":"req_vqKLgySHLPXJbX","request_duration_ms":1121}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:44 GMT + - Thu, 07 Mar 2024 14:39:11 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_OlSFbckyuMDohr + - req_rlf2Pi3A5Mmqhc Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlRKuuB1fWySn1D8sFtBi", + "id": "pi_3Ori6CKuuB1fWySn2FEj4kTX", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlRKuuB1fWySn1D8sFtBi_secret_xvENL35W1Ai6f8pqnOcOyIyYM", + "client_secret": "pi_3Ori6CKuuB1fWySn2FEj4kTX_secret_8vALGnvV83BaDhOBOt2n8SoT0", "confirmation_method": "automatic", - "created": 1709821061, + "created": 1709822348, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlRKuuB1fWySn1fyK75HM", + "latest_charge": "ch_3Ori6CKuuB1fWySn27RlOpFa", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlRKuuB1fWySne5J1llnl", + "payment_method": "pm_1Ori6BKuuB1fWySnsXciN07o", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:44 GMT + recorded_at: Thu, 07 Mar 2024 14:39:11 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml index ff1fc15e0d..cd2c6f8c0b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cle2iWDqkch49Q","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_AVQawTdno66cLc","request_duration_ms":390}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:39 GMT + - Thu, 07 Mar 2024 14:39:05 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2f964718-6d2e-4930-947c-d08de57aa62d + - 81916b14-abb3-495b-a68b-ad036c607ae7 Original-Request: - - req_vUdRgcbTzAW3zF + - req_e8NoN9mlmHo7z2 Request-Id: - - req_vUdRgcbTzAW3zF + - req_e8NoN9mlmHo7z2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhlOKuuB1fWySnas6Ls5v5", + "id": "pm_1Ori69KuuB1fWySnZwKbqAbO", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821058, + "created": 1709822345, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:39 GMT + recorded_at: Thu, 07 Mar 2024 14:39:05 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhlOKuuB1fWySnas6Ls5v5&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori69KuuB1fWySnZwKbqAbO&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vUdRgcbTzAW3zF","request_duration_ms":564}}' + - '{"last_request_metrics":{"request_id":"req_e8NoN9mlmHo7z2","request_duration_ms":461}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:39 GMT + - Thu, 07 Mar 2024 14:39:06 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1c2bee11-3f4f-455a-a970-8e96c03cf638 + - 1b4b7b0e-0fce-4140-b35d-2cc708ffa7b1 Original-Request: - - req_BS88Kure7gUAOS + - req_qUtijDRC3subVn Request-Id: - - req_BS88Kure7gUAOS + - req_qUtijDRC3subVn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlPKuuB1fWySn0YOEwANV", + "id": "pi_3Ori6AKuuB1fWySn0EyGBC8B", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlPKuuB1fWySn0YOEwANV_secret_d7qqjyS5IODK7fV7nQ64xyS6Q", + "client_secret": "pi_3Ori6AKuuB1fWySn0EyGBC8B_secret_I6wbavOOD7HoBRY7PMbBTXZq0", "confirmation_method": "automatic", - "created": 1709821059, + "created": 1709822346, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlOKuuB1fWySnas6Ls5v5", + "payment_method": "pm_1Ori69KuuB1fWySnZwKbqAbO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:39 GMT + recorded_at: Thu, 07 Mar 2024 14:39:06 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhlPKuuB1fWySn0YOEwANV/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6AKuuB1fWySn0EyGBC8B/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BS88Kure7gUAOS","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_qUtijDRC3subVn","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:40 GMT + - Thu, 07 Mar 2024 14:39:07 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bc24eb29-d9f0-4dde-aff7-403bdf4fa502 + - c7accdee-ee1e-42aa-9c5a-0902deb818b7 Original-Request: - - req_nIFIA9Iywum43G + - req_L1eWYusHItxtNv Request-Id: - - req_nIFIA9Iywum43G + - req_L1eWYusHItxtNv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhlPKuuB1fWySn0YOEwANV", + "id": "pi_3Ori6AKuuB1fWySn0EyGBC8B", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhlPKuuB1fWySn0YOEwANV_secret_d7qqjyS5IODK7fV7nQ64xyS6Q", + "client_secret": "pi_3Ori6AKuuB1fWySn0EyGBC8B_secret_I6wbavOOD7HoBRY7PMbBTXZq0", "confirmation_method": "automatic", - "created": 1709821059, + "created": 1709822346, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhlPKuuB1fWySn0E3fLdHR", + "latest_charge": "ch_3Ori6AKuuB1fWySn0QpSX4x0", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhlOKuuB1fWySnas6Ls5v5", + "payment_method": "pm_1Ori69KuuB1fWySnZwKbqAbO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:40 GMT + recorded_at: Thu, 07 Mar 2024 14:39:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml index 9c702b1215..3fd9085de4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PQovC5lY8xLMNv","request_duration_ms":928}}' + - '{"last_request_metrics":{"request_id":"req_4R17Nd9CcmhIE8","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:33 GMT + - Thu, 07 Mar 2024 14:40:00 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b66f0719-2294-405b-ba29-74f0dc5c2793 + - 320b3e3f-ee4f-4cd5-b764-1f47b6a9d835 Original-Request: - - req_Q9wi5c1ijxPYR6 + - req_VR9lu3j5ecxPpt Request-Id: - - req_Q9wi5c1ijxPYR6 + - req_VR9lu3j5ecxPpt Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmHKuuB1fWySnUlqShBYy", + "id": "pm_1Ori72KuuB1fWySnFZIIHNOw", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821113, + "created": 1709822400, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:33 GMT + recorded_at: Thu, 07 Mar 2024 14:40:00 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmHKuuB1fWySnUlqShBYy&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori72KuuB1fWySnFZIIHNOw&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Q9wi5c1ijxPYR6","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_VR9lu3j5ecxPpt","request_duration_ms":443}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:34 GMT + - Thu, 07 Mar 2024 14:40:01 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8aad26f2-8c83-4bf5-8c0a-44423568fce8 + - 7130d5a7-3393-4f6b-94b1-237969e66845 Original-Request: - - req_t0rJpNzdC8skxS + - req_F4cELikhn1Pnjd Request-Id: - - req_t0rJpNzdC8skxS + - req_F4cELikhn1Pnjd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmIKuuB1fWySn1C6u0Mnr", + "id": "pi_3Ori73KuuB1fWySn1mWNzVsD", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmIKuuB1fWySn1C6u0Mnr_secret_IlygKyPDLbNnHGVJFGyu2rUZg", + "client_secret": "pi_3Ori73KuuB1fWySn1mWNzVsD_secret_YODo55IPVFIEKx7lPq9JaXfWE", "confirmation_method": "automatic", - "created": 1709821114, + "created": 1709822401, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmHKuuB1fWySnUlqShBYy", + "payment_method": "pm_1Ori72KuuB1fWySnFZIIHNOw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:34 GMT + recorded_at: Thu, 07 Mar 2024 14:40:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmIKuuB1fWySn1C6u0Mnr/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori73KuuB1fWySn1mWNzVsD/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t0rJpNzdC8skxS","request_duration_ms":486}}' + - '{"last_request_metrics":{"request_id":"req_F4cELikhn1Pnjd","request_duration_ms":505}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:35 GMT + - Thu, 07 Mar 2024 14:40:02 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 399db452-b8b7-4482-ada2-88f685224969 + - 60e1adae-a699-4fba-b358-7568024cd72e Original-Request: - - req_mk1l1Fnv3v0VOd + - req_ivc7Af97cWOd0k Request-Id: - - req_mk1l1Fnv3v0VOd + - req_ivc7Af97cWOd0k Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmIKuuB1fWySn1C6u0Mnr", + "id": "pi_3Ori73KuuB1fWySn1mWNzVsD", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmIKuuB1fWySn1C6u0Mnr_secret_IlygKyPDLbNnHGVJFGyu2rUZg", + "client_secret": "pi_3Ori73KuuB1fWySn1mWNzVsD_secret_YODo55IPVFIEKx7lPq9JaXfWE", "confirmation_method": "automatic", - "created": 1709821114, + "created": 1709822401, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmIKuuB1fWySn1sjkNmLz", + "latest_charge": "ch_3Ori73KuuB1fWySn1FzHIUOV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmHKuuB1fWySnUlqShBYy", + "payment_method": "pm_1Ori72KuuB1fWySnFZIIHNOw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:35 GMT + recorded_at: Thu, 07 Mar 2024 14:40:02 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmIKuuB1fWySn1C6u0Mnr + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori73KuuB1fWySn1mWNzVsD body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mk1l1Fnv3v0VOd","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_ivc7Af97cWOd0k","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:35 GMT + - Thu, 07 Mar 2024 14:40:02 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_40n6I4K1I8s7Hf + - req_rP50SpAPbzxJjN Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmIKuuB1fWySn1C6u0Mnr", + "id": "pi_3Ori73KuuB1fWySn1mWNzVsD", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmIKuuB1fWySn1C6u0Mnr_secret_IlygKyPDLbNnHGVJFGyu2rUZg", + "client_secret": "pi_3Ori73KuuB1fWySn1mWNzVsD_secret_YODo55IPVFIEKx7lPq9JaXfWE", "confirmation_method": "automatic", - "created": 1709821114, + "created": 1709822401, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmIKuuB1fWySn1sjkNmLz", + "latest_charge": "ch_3Ori73KuuB1fWySn1FzHIUOV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmHKuuB1fWySnUlqShBYy", + "payment_method": "pm_1Ori72KuuB1fWySnFZIIHNOw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:35 GMT + recorded_at: Thu, 07 Mar 2024 14:40:02 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmIKuuB1fWySn1C6u0Mnr/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori73KuuB1fWySn1mWNzVsD/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_40n6I4K1I8s7Hf","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_rP50SpAPbzxJjN","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:36 GMT + - Thu, 07 Mar 2024 14:40:03 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a716a2d3-649a-476f-b96b-611c2e7adb4f + - a2ecf22b-3460-4113-be18-d38b53d26635 Original-Request: - - req_sO4Ot3G5kSMEkc + - req_iFlUyuLOOR9qct Request-Id: - - req_sO4Ot3G5kSMEkc + - req_iFlUyuLOOR9qct Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmIKuuB1fWySn1C6u0Mnr", + "id": "pi_3Ori73KuuB1fWySn1mWNzVsD", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmIKuuB1fWySn1C6u0Mnr_secret_IlygKyPDLbNnHGVJFGyu2rUZg", + "client_secret": "pi_3Ori73KuuB1fWySn1mWNzVsD_secret_YODo55IPVFIEKx7lPq9JaXfWE", "confirmation_method": "automatic", - "created": 1709821114, + "created": 1709822401, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmIKuuB1fWySn1sjkNmLz", + "latest_charge": "ch_3Ori73KuuB1fWySn1FzHIUOV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmHKuuB1fWySnUlqShBYy", + "payment_method": "pm_1Ori72KuuB1fWySnFZIIHNOw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:36 GMT + recorded_at: Thu, 07 Mar 2024 14:40:03 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmIKuuB1fWySn1C6u0Mnr + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori73KuuB1fWySn1mWNzVsD body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sO4Ot3G5kSMEkc","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_iFlUyuLOOR9qct","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:37 GMT + - Thu, 07 Mar 2024 14:40:04 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_I21w2SnzFztXVO + - req_ezCb7uYBNTNYQD Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmIKuuB1fWySn1C6u0Mnr", + "id": "pi_3Ori73KuuB1fWySn1mWNzVsD", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmIKuuB1fWySn1C6u0Mnr_secret_IlygKyPDLbNnHGVJFGyu2rUZg", + "client_secret": "pi_3Ori73KuuB1fWySn1mWNzVsD_secret_YODo55IPVFIEKx7lPq9JaXfWE", "confirmation_method": "automatic", - "created": 1709821114, + "created": 1709822401, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmIKuuB1fWySn1sjkNmLz", + "latest_charge": "ch_3Ori73KuuB1fWySn1FzHIUOV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmHKuuB1fWySnUlqShBYy", + "payment_method": "pm_1Ori72KuuB1fWySnFZIIHNOw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:37 GMT + recorded_at: Thu, 07 Mar 2024 14:40:04 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml index 2dbbfb0bab..039ccbed58 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Yhug3RNWG0kXWc","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_qJtmV8hcDEOgy9","request_duration_ms":303}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:31 GMT + - Thu, 07 Mar 2024 14:39:58 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 678c7006-e984-4622-8acd-31e4137f62c3 + - 518ca922-5ecb-461a-9d1e-99cf14cf1e36 Original-Request: - - req_AGwEM0U9Sxq3bz + - req_1OGDJgVaVLk2Et Request-Id: - - req_AGwEM0U9Sxq3bz + - req_1OGDJgVaVLk2Et Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmFKuuB1fWySnRuNTddkz", + "id": "pm_1Ori70KuuB1fWySnBPU6gKLU", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821111, + "created": 1709822398, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:31 GMT + recorded_at: Thu, 07 Mar 2024 14:39:58 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmFKuuB1fWySnRuNTddkz&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori70KuuB1fWySnBPU6gKLU&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AGwEM0U9Sxq3bz","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_1OGDJgVaVLk2Et","request_duration_ms":558}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:31 GMT + - Thu, 07 Mar 2024 14:39:58 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 424e88c1-2088-4297-9d83-356ca514c438 + - f5ef7188-b609-4158-b978-009b42b4da4f Original-Request: - - req_bw51qa1Y4gzx6M + - req_ag6fq9aaKYvAwG Request-Id: - - req_bw51qa1Y4gzx6M + - req_ag6fq9aaKYvAwG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmFKuuB1fWySn09f4ZHRQ", + "id": "pi_3Ori70KuuB1fWySn124h2aej", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmFKuuB1fWySn09f4ZHRQ_secret_JOXNedGq6UJqWRQWNe1XI4Cgv", + "client_secret": "pi_3Ori70KuuB1fWySn124h2aej_secret_eJmg1qsx0LzcZ1DkTtc83rPNG", "confirmation_method": "automatic", - "created": 1709821111, + "created": 1709822398, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmFKuuB1fWySnRuNTddkz", + "payment_method": "pm_1Ori70KuuB1fWySnBPU6gKLU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:31 GMT + recorded_at: Thu, 07 Mar 2024 14:39:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmFKuuB1fWySn09f4ZHRQ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori70KuuB1fWySn124h2aej/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bw51qa1Y4gzx6M","request_duration_ms":433}}' + - '{"last_request_metrics":{"request_id":"req_ag6fq9aaKYvAwG","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:32 GMT + - Thu, 07 Mar 2024 14:39:59 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 726e9b58-ea6d-4546-8426-36a4988e575f + - c81a04c0-0848-42dd-aa98-e9a5aeca49c8 Original-Request: - - req_PQovC5lY8xLMNv + - req_4R17Nd9CcmhIE8 Request-Id: - - req_PQovC5lY8xLMNv + - req_4R17Nd9CcmhIE8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmFKuuB1fWySn09f4ZHRQ", + "id": "pi_3Ori70KuuB1fWySn124h2aej", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmFKuuB1fWySn09f4ZHRQ_secret_JOXNedGq6UJqWRQWNe1XI4Cgv", + "client_secret": "pi_3Ori70KuuB1fWySn124h2aej_secret_eJmg1qsx0LzcZ1DkTtc83rPNG", "confirmation_method": "automatic", - "created": 1709821111, + "created": 1709822398, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmFKuuB1fWySn0sjqfzIB", + "latest_charge": "ch_3Ori70KuuB1fWySn1b48PENm", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmFKuuB1fWySnRuNTddkz", + "payment_method": "pm_1Ori70KuuB1fWySnBPU6gKLU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:32 GMT + recorded_at: Thu, 07 Mar 2024 14:39:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml index 849bb7f513..f23f3170a1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_h0Etl35WE9uSWY","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_dRp4BSuy4qnu4y","request_duration_ms":1118}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:40 GMT + - Thu, 07 Mar 2024 14:40:07 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 78c55417-cd42-4ae0-bc95-79d33807deb9 + - 345814fc-235e-4340-ac04-4a9763579a70 Original-Request: - - req_86fBPxnOHnee5O + - req_eUNdsO3a0WNAMC Request-Id: - - req_86fBPxnOHnee5O + - req_eUNdsO3a0WNAMC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmOKuuB1fWySnZQ2sAaod", + "id": "pm_1Ori79KuuB1fWySnkrtbdDD6", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821120, + "created": 1709822407, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:40 GMT + recorded_at: Thu, 07 Mar 2024 14:40:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmOKuuB1fWySnZQ2sAaod&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori79KuuB1fWySnkrtbdDD6&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_86fBPxnOHnee5O","request_duration_ms":513}}' + - '{"last_request_metrics":{"request_id":"req_eUNdsO3a0WNAMC","request_duration_ms":598}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:40 GMT + - Thu, 07 Mar 2024 14:40:07 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1545abb3-0232-44a2-aca6-e1dae24722a0 + - d1528703-8eec-4c29-bbf5-836754c53c06 Original-Request: - - req_M8OQcrKslB6A1Y + - req_uZ3GJOPpTXo7ez Request-Id: - - req_M8OQcrKslB6A1Y + - req_uZ3GJOPpTXo7ez Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmOKuuB1fWySn0dieavtB", + "id": "pi_3Ori79KuuB1fWySn1UT7yHu4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmOKuuB1fWySn0dieavtB_secret_Fx5MoDhoJnQpS9PgnAE67ooCm", + "client_secret": "pi_3Ori79KuuB1fWySn1UT7yHu4_secret_zkfINLPdlRfVo9rAAPGYfM3SF", "confirmation_method": "automatic", - "created": 1709821120, + "created": 1709822407, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmOKuuB1fWySnZQ2sAaod", + "payment_method": "pm_1Ori79KuuB1fWySnkrtbdDD6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:40 GMT + recorded_at: Thu, 07 Mar 2024 14:40:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmOKuuB1fWySn0dieavtB/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori79KuuB1fWySn1UT7yHu4/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_M8OQcrKslB6A1Y","request_duration_ms":402}}' + - '{"last_request_metrics":{"request_id":"req_uZ3GJOPpTXo7ez","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:41 GMT + - Thu, 07 Mar 2024 14:40:08 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fda26d22-a58e-49f2-8042-9a6856d3f4da + - e902af05-4691-41be-9a2d-38b8d783a8e0 Original-Request: - - req_g3DJzO0zLkWPyW + - req_RTtPj9foBMSU3F Request-Id: - - req_g3DJzO0zLkWPyW + - req_RTtPj9foBMSU3F Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmOKuuB1fWySn0dieavtB", + "id": "pi_3Ori79KuuB1fWySn1UT7yHu4", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmOKuuB1fWySn0dieavtB_secret_Fx5MoDhoJnQpS9PgnAE67ooCm", + "client_secret": "pi_3Ori79KuuB1fWySn1UT7yHu4_secret_zkfINLPdlRfVo9rAAPGYfM3SF", "confirmation_method": "automatic", - "created": 1709821120, + "created": 1709822407, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmOKuuB1fWySn0bfbGAvC", + "latest_charge": "ch_3Ori79KuuB1fWySn1P2fNDT8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmOKuuB1fWySnZQ2sAaod", + "payment_method": "pm_1Ori79KuuB1fWySnkrtbdDD6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:42 GMT + recorded_at: Thu, 07 Mar 2024 14:40:08 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmOKuuB1fWySn0dieavtB + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori79KuuB1fWySn1UT7yHu4 body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_g3DJzO0zLkWPyW","request_duration_ms":1125}}' + - '{"last_request_metrics":{"request_id":"req_RTtPj9foBMSU3F","request_duration_ms":918}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:42 GMT + - Thu, 07 Mar 2024 14:40:09 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_N9bcCdXB9OCuiZ + - req_WGsBOs5HfA6FpE Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmOKuuB1fWySn0dieavtB", + "id": "pi_3Ori79KuuB1fWySn1UT7yHu4", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmOKuuB1fWySn0dieavtB_secret_Fx5MoDhoJnQpS9PgnAE67ooCm", + "client_secret": "pi_3Ori79KuuB1fWySn1UT7yHu4_secret_zkfINLPdlRfVo9rAAPGYfM3SF", "confirmation_method": "automatic", - "created": 1709821120, + "created": 1709822407, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmOKuuB1fWySn0bfbGAvC", + "latest_charge": "ch_3Ori79KuuB1fWySn1P2fNDT8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmOKuuB1fWySnZQ2sAaod", + "payment_method": "pm_1Ori79KuuB1fWySnkrtbdDD6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:42 GMT + recorded_at: Thu, 07 Mar 2024 14:40:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmOKuuB1fWySn0dieavtB/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori79KuuB1fWySn1UT7yHu4/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_N9bcCdXB9OCuiZ","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_WGsBOs5HfA6FpE","request_duration_ms":341}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:43 GMT + - Thu, 07 Mar 2024 14:40:10 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 619749a1-92d9-4329-b864-106013c53776 + - 10d8bd8e-509c-46d0-8501-f394bc7589f9 Original-Request: - - req_50m29mvg8L3DYW + - req_gdPkZCQDEI2by5 Request-Id: - - req_50m29mvg8L3DYW + - req_gdPkZCQDEI2by5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmOKuuB1fWySn0dieavtB", + "id": "pi_3Ori79KuuB1fWySn1UT7yHu4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmOKuuB1fWySn0dieavtB_secret_Fx5MoDhoJnQpS9PgnAE67ooCm", + "client_secret": "pi_3Ori79KuuB1fWySn1UT7yHu4_secret_zkfINLPdlRfVo9rAAPGYfM3SF", "confirmation_method": "automatic", - "created": 1709821120, + "created": 1709822407, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmOKuuB1fWySn0bfbGAvC", + "latest_charge": "ch_3Ori79KuuB1fWySn1P2fNDT8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmOKuuB1fWySnZQ2sAaod", + "payment_method": "pm_1Ori79KuuB1fWySnkrtbdDD6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:43 GMT + recorded_at: Thu, 07 Mar 2024 14:40:10 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmOKuuB1fWySn0dieavtB + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori79KuuB1fWySn1UT7yHu4 body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_50m29mvg8L3DYW","request_duration_ms":1025}}' + - '{"last_request_metrics":{"request_id":"req_gdPkZCQDEI2by5","request_duration_ms":1086}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:43 GMT + - Thu, 07 Mar 2024 14:40:10 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_qjFiOOkOS61qmW + - req_IjzV40nyzPASXw Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmOKuuB1fWySn0dieavtB", + "id": "pi_3Ori79KuuB1fWySn1UT7yHu4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmOKuuB1fWySn0dieavtB_secret_Fx5MoDhoJnQpS9PgnAE67ooCm", + "client_secret": "pi_3Ori79KuuB1fWySn1UT7yHu4_secret_zkfINLPdlRfVo9rAAPGYfM3SF", "confirmation_method": "automatic", - "created": 1709821120, + "created": 1709822407, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmOKuuB1fWySn0bfbGAvC", + "latest_charge": "ch_3Ori79KuuB1fWySn1P2fNDT8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmOKuuB1fWySnZQ2sAaod", + "payment_method": "pm_1Ori79KuuB1fWySnkrtbdDD6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:43 GMT + recorded_at: Thu, 07 Mar 2024 14:40:10 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 21945be1be..b46ce7d54d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_I21w2SnzFztXVO","request_duration_ms":311}}' + - '{"last_request_metrics":{"request_id":"req_ezCb7uYBNTNYQD","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:37 GMT + - Thu, 07 Mar 2024 14:40:04 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3b98eb71-f820-41bd-94e6-3e1a13999d93 + - 538973a0-dd88-4915-8d4b-73c5a10775a3 Original-Request: - - req_hXxcihCbAYwNHD + - req_pAJ1Hwt7ZEugBA Request-Id: - - req_hXxcihCbAYwNHD + - req_pAJ1Hwt7ZEugBA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmLKuuB1fWySn8YwYXcKb", + "id": "pm_1Ori76KuuB1fWySn5Hf3fHdW", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821117, + "created": 1709822404, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:18:37 GMT + recorded_at: Thu, 07 Mar 2024 14:40:04 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhmLKuuB1fWySn8YwYXcKb&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori76KuuB1fWySn5Hf3fHdW&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hXxcihCbAYwNHD","request_duration_ms":459}}' + - '{"last_request_metrics":{"request_id":"req_pAJ1Hwt7ZEugBA","request_duration_ms":566}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:38 GMT + - Thu, 07 Mar 2024 14:40:05 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5f71f34d-ffce-435b-b96b-e2bab1c633cd + - 416a7940-28a7-48b6-acba-84b41807538b Original-Request: - - req_oHrHCAlqKCmFT9 + - req_BE1n4NsRl4VMUd Request-Id: - - req_oHrHCAlqKCmFT9 + - req_BE1n4NsRl4VMUd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmMKuuB1fWySn1XhCyfOJ", + "id": "pi_3Ori77KuuB1fWySn0JCv7rQg", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmMKuuB1fWySn1XhCyfOJ_secret_M3RGsmj65WJvnKKwrz7yQkFgR", + "client_secret": "pi_3Ori77KuuB1fWySn0JCv7rQg_secret_Fup0Kul8ZZSt5vNKCoIqrRBbu", "confirmation_method": "automatic", - "created": 1709821118, + "created": 1709822405, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmLKuuB1fWySn8YwYXcKb", + "payment_method": "pm_1Ori76KuuB1fWySn5Hf3fHdW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:38 GMT + recorded_at: Thu, 07 Mar 2024 14:40:05 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhmMKuuB1fWySn1XhCyfOJ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori77KuuB1fWySn0JCv7rQg/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oHrHCAlqKCmFT9","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_BE1n4NsRl4VMUd","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:18:39 GMT + - Thu, 07 Mar 2024 14:40:06 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 50a1928f-1bca-4c67-a3dd-c8c96fcb17e5 + - e89eb3a2-e373-4695-b04a-8e36aa5ea054 Original-Request: - - req_h0Etl35WE9uSWY + - req_dRp4BSuy4qnu4y Request-Id: - - req_h0Etl35WE9uSWY + - req_dRp4BSuy4qnu4y Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhmMKuuB1fWySn1XhCyfOJ", + "id": "pi_3Ori77KuuB1fWySn0JCv7rQg", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhmMKuuB1fWySn1XhCyfOJ_secret_M3RGsmj65WJvnKKwrz7yQkFgR", + "client_secret": "pi_3Ori77KuuB1fWySn0JCv7rQg_secret_Fup0Kul8ZZSt5vNKCoIqrRBbu", "confirmation_method": "automatic", - "created": 1709821118, + "created": 1709822405, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhmMKuuB1fWySn1Zh2ouMn", + "latest_charge": "ch_3Ori77KuuB1fWySn087dJRIN", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhmLKuuB1fWySn8YwYXcKb", + "payment_method": "pm_1Ori76KuuB1fWySn5Hf3fHdW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:18:39 GMT + recorded_at: Thu, 07 Mar 2024 14:40:06 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml index f90a51029e..58005891f7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UClbslRlpPvaEu","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_mef6ayAQaHr4S3","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:09 GMT + - Thu, 07 Mar 2024 14:38:36 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2180011d-085d-4e23-a472-f307da67b84b + - 304658a0-d96c-4021-b8fc-095c90dfcfd7 Original-Request: - - req_ctnvoBmc6TdSra + - req_EmWSiLPW9Mw3jX Request-Id: - - req_ctnvoBmc6TdSra + - req_EmWSiLPW9Mw3jX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkuKuuB1fWySnlPul1zJz", + "id": "pm_1Ori5gKuuB1fWySnXnRvXhUH", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821029, + "created": 1709822316, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:09 GMT + recorded_at: Thu, 07 Mar 2024 14:38:36 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhkuKuuB1fWySnlPul1zJz&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori5gKuuB1fWySnXnRvXhUH&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ctnvoBmc6TdSra","request_duration_ms":470}}' + - '{"last_request_metrics":{"request_id":"req_EmWSiLPW9Mw3jX","request_duration_ms":499}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:09 GMT + - Thu, 07 Mar 2024 14:38:37 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - faaa9425-fbf3-44c9-8415-8d551e0f22d2 + - c20b0458-1877-4c58-acef-e7d521326479 Original-Request: - - req_WMs2ivZvPrQ9bw + - req_F5JPnxqT2uhUvw Request-Id: - - req_WMs2ivZvPrQ9bw + - req_F5JPnxqT2uhUvw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhkvKuuB1fWySn1d05IkC5", + "id": "pi_3Ori5hKuuB1fWySn2e9FEnNm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhkvKuuB1fWySn1d05IkC5_secret_VkMn1Z8svumBOmYNhaSYaWBN5", + "client_secret": "pi_3Ori5hKuuB1fWySn2e9FEnNm_secret_CjyBmh70t49rw2Yfc0hmKdnRn", "confirmation_method": "automatic", - "created": 1709821029, + "created": 1709822317, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhkuKuuB1fWySnlPul1zJz", + "payment_method": "pm_1Ori5gKuuB1fWySnXnRvXhUH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:09 GMT + recorded_at: Thu, 07 Mar 2024 14:38:37 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhkvKuuB1fWySn1d05IkC5/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5hKuuB1fWySn2e9FEnNm/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WMs2ivZvPrQ9bw","request_duration_ms":548}}' + - '{"last_request_metrics":{"request_id":"req_F5JPnxqT2uhUvw","request_duration_ms":609}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:10 GMT + - Thu, 07 Mar 2024 14:38:38 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c4bcde13-bca6-4672-8d11-8f6fb39576fc + - 2237abc3-68a2-418a-a130-a9df7b5462fb Original-Request: - - req_fxC0dYXEoMawoR + - req_e10Sd9RyAT406G Request-Id: - - req_fxC0dYXEoMawoR + - req_e10Sd9RyAT406G Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhkvKuuB1fWySn1d05IkC5", + "id": "pi_3Ori5hKuuB1fWySn2e9FEnNm", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhkvKuuB1fWySn1d05IkC5_secret_VkMn1Z8svumBOmYNhaSYaWBN5", + "client_secret": "pi_3Ori5hKuuB1fWySn2e9FEnNm_secret_CjyBmh70t49rw2Yfc0hmKdnRn", "confirmation_method": "automatic", - "created": 1709821029, + "created": 1709822317, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhkvKuuB1fWySn10lNixHS", + "latest_charge": "ch_3Ori5hKuuB1fWySn297nHe83", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhkuKuuB1fWySnlPul1zJz", + "payment_method": "pm_1Ori5gKuuB1fWySnXnRvXhUH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:10 GMT + recorded_at: Thu, 07 Mar 2024 14:38:38 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhkvKuuB1fWySn1d05IkC5 + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5hKuuB1fWySn2e9FEnNm body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fxC0dYXEoMawoR","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_e10Sd9RyAT406G","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:11 GMT + - Thu, 07 Mar 2024 14:38:38 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_ASK8K1yjiE0jvV + - req_GTJFqv1BcV76l5 Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhkvKuuB1fWySn1d05IkC5", + "id": "pi_3Ori5hKuuB1fWySn2e9FEnNm", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhkvKuuB1fWySn1d05IkC5_secret_VkMn1Z8svumBOmYNhaSYaWBN5", + "client_secret": "pi_3Ori5hKuuB1fWySn2e9FEnNm_secret_CjyBmh70t49rw2Yfc0hmKdnRn", "confirmation_method": "automatic", - "created": 1709821029, + "created": 1709822317, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhkvKuuB1fWySn10lNixHS", + "latest_charge": "ch_3Ori5hKuuB1fWySn297nHe83", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhkuKuuB1fWySnlPul1zJz", + "payment_method": "pm_1Ori5gKuuB1fWySnXnRvXhUH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:11 GMT + recorded_at: Thu, 07 Mar 2024 14:38:38 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhkvKuuB1fWySn1d05IkC5/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5hKuuB1fWySn2e9FEnNm/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ASK8K1yjiE0jvV","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_GTJFqv1BcV76l5","request_duration_ms":318}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:12 GMT + - Thu, 07 Mar 2024 14:38:39 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1c96732f-aad3-4c6f-a279-a6b447d0a170 + - 062001ac-3c33-4910-8471-558aee053fb1 Original-Request: - - req_jXmKTQntjtYpVr + - req_Av04vstdPUABax Request-Id: - - req_jXmKTQntjtYpVr + - req_Av04vstdPUABax Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhkvKuuB1fWySn1d05IkC5", + "id": "pi_3Ori5hKuuB1fWySn2e9FEnNm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhkvKuuB1fWySn1d05IkC5_secret_VkMn1Z8svumBOmYNhaSYaWBN5", + "client_secret": "pi_3Ori5hKuuB1fWySn2e9FEnNm_secret_CjyBmh70t49rw2Yfc0hmKdnRn", "confirmation_method": "automatic", - "created": 1709821029, + "created": 1709822317, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhkvKuuB1fWySn10lNixHS", + "latest_charge": "ch_3Ori5hKuuB1fWySn297nHe83", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhkuKuuB1fWySnlPul1zJz", + "payment_method": "pm_1Ori5gKuuB1fWySnXnRvXhUH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:12 GMT + recorded_at: Thu, 07 Mar 2024 14:38:39 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhkvKuuB1fWySn1d05IkC5 + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5hKuuB1fWySn2e9FEnNm body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jXmKTQntjtYpVr","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_Av04vstdPUABax","request_duration_ms":1107}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:12 GMT + - Thu, 07 Mar 2024 14:38:40 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_ppSoLJRF5F2YVf + - req_X9aJUdzrkU1di9 Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhkvKuuB1fWySn1d05IkC5", + "id": "pi_3Ori5hKuuB1fWySn2e9FEnNm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhkvKuuB1fWySn1d05IkC5_secret_VkMn1Z8svumBOmYNhaSYaWBN5", + "client_secret": "pi_3Ori5hKuuB1fWySn2e9FEnNm_secret_CjyBmh70t49rw2Yfc0hmKdnRn", "confirmation_method": "automatic", - "created": 1709821029, + "created": 1709822317, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhkvKuuB1fWySn10lNixHS", + "latest_charge": "ch_3Ori5hKuuB1fWySn297nHe83", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhkuKuuB1fWySnlPul1zJz", + "payment_method": "pm_1Ori5gKuuB1fWySnXnRvXhUH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:12 GMT + recorded_at: Thu, 07 Mar 2024 14:38:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml index f8721e2473..5e1a5b7925 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Fi5mVfPEq8sEDc","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_3RgfC1fJkyihKe","request_duration_ms":532}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:06 GMT + - Thu, 07 Mar 2024 14:38:34 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0f34f876-9a73-4151-a6ef-736ab75a3dc5 + - b0761327-9c64-4ca2-b507-be16a512df94 Original-Request: - - req_1IrO7YFl5PzdTX + - req_1NsWme79VfMZgy Request-Id: - - req_1IrO7YFl5PzdTX + - req_1NsWme79VfMZgy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhksKuuB1fWySnelp1CgSv", + "id": "pm_1Ori5dKuuB1fWySnUScN4R04", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821026, + "created": 1709822314, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:06 GMT + recorded_at: Thu, 07 Mar 2024 14:38:34 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhksKuuB1fWySnelp1CgSv&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori5dKuuB1fWySnUScN4R04&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1IrO7YFl5PzdTX","request_duration_ms":584}}' + - '{"last_request_metrics":{"request_id":"req_1NsWme79VfMZgy","request_duration_ms":472}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:06 GMT + - Thu, 07 Mar 2024 14:38:34 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2cd926c7-4e0d-436f-bc82-d47bdfcc1135 + - 87449923-2505-4672-bcc4-ad50783af8fb Original-Request: - - req_ab8T8D1yBadmx6 + - req_4nNSqLibNfUbNh Request-Id: - - req_ab8T8D1yBadmx6 + - req_4nNSqLibNfUbNh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhksKuuB1fWySn1DCYTXHt", + "id": "pi_3Ori5eKuuB1fWySn0Jzme5kj", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhksKuuB1fWySn1DCYTXHt_secret_s99PapYTJw5A3nHqOfOGZwHJm", + "client_secret": "pi_3Ori5eKuuB1fWySn0Jzme5kj_secret_Y2TsYs1BCGoQAV29c3gUeUb48", "confirmation_method": "automatic", - "created": 1709821026, + "created": 1709822314, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhksKuuB1fWySnelp1CgSv", + "payment_method": "pm_1Ori5dKuuB1fWySnUScN4R04", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:06 GMT + recorded_at: Thu, 07 Mar 2024 14:38:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhksKuuB1fWySn1DCYTXHt/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5eKuuB1fWySn0Jzme5kj/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ab8T8D1yBadmx6","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_4nNSqLibNfUbNh","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:08 GMT + - Thu, 07 Mar 2024 14:38:35 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bfde4918-6dd4-435f-ae6c-c9f4a1de6387 + - 82e541a0-1398-44ea-8eaf-fda3bb950c3a Original-Request: - - req_UClbslRlpPvaEu + - req_mef6ayAQaHr4S3 Request-Id: - - req_UClbslRlpPvaEu + - req_mef6ayAQaHr4S3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhksKuuB1fWySn1DCYTXHt", + "id": "pi_3Ori5eKuuB1fWySn0Jzme5kj", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhksKuuB1fWySn1DCYTXHt_secret_s99PapYTJw5A3nHqOfOGZwHJm", + "client_secret": "pi_3Ori5eKuuB1fWySn0Jzme5kj_secret_Y2TsYs1BCGoQAV29c3gUeUb48", "confirmation_method": "automatic", - "created": 1709821026, + "created": 1709822314, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhksKuuB1fWySn1MwdcabR", + "latest_charge": "ch_3Ori5eKuuB1fWySn08lpXF0B", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhksKuuB1fWySnelp1CgSv", + "payment_method": "pm_1Ori5dKuuB1fWySnUScN4R04", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:08 GMT + recorded_at: Thu, 07 Mar 2024 14:38:35 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml index 2fc0af71cd..b38aa14a67 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WNkQtQRg0AGc4O","request_duration_ms":1089}}' + - '{"last_request_metrics":{"request_id":"req_4FcfSlY8CTmPxE","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:15 GMT + - Thu, 07 Mar 2024 14:38:42 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7d41385a-15eb-45ed-a636-e8ed0d1f77aa + - a36139fa-ca05-463d-98c9-6a8034c0aa2c Original-Request: - - req_yL2veavG0tcr5T + - req_OodsaFi0AhxFU6 Request-Id: - - req_yL2veavG0tcr5T + - req_OodsaFi0AhxFU6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Orhl1KuuB1fWySnuzOTdScd", + "id": "pm_1Ori5mKuuB1fWySnpR7QIXqw", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821035, + "created": 1709822322, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:15 GMT + recorded_at: Thu, 07 Mar 2024 14:38:42 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Orhl1KuuB1fWySnuzOTdScd&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori5mKuuB1fWySnpR7QIXqw&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yL2veavG0tcr5T","request_duration_ms":469}}' + - '{"last_request_metrics":{"request_id":"req_OodsaFi0AhxFU6","request_duration_ms":505}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:16 GMT + - Thu, 07 Mar 2024 14:38:43 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7b244be6-83dc-4794-8042-0668f8cc32fb + - d50d936b-ea23-44e3-9673-b6e89887add0 Original-Request: - - req_1PmKfGEM2RJE2b + - req_dmFMlAeKdBcOKJ Request-Id: - - req_1PmKfGEM2RJE2b + - req_dmFMlAeKdBcOKJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhl1KuuB1fWySn0fcRRgF7", + "id": "pi_3Ori5nKuuB1fWySn0tFCdp21", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhl1KuuB1fWySn0fcRRgF7_secret_Mc8Rzyn1X9gzQvOkJeqRxI07I", + "client_secret": "pi_3Ori5nKuuB1fWySn0tFCdp21_secret_wLsINPCUXrUcwKJTJTizGGIkd", "confirmation_method": "automatic", - "created": 1709821035, + "created": 1709822323, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhl1KuuB1fWySnuzOTdScd", + "payment_method": "pm_1Ori5mKuuB1fWySnpR7QIXqw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:16 GMT + recorded_at: Thu, 07 Mar 2024 14:38:43 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl1KuuB1fWySn0fcRRgF7/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5nKuuB1fWySn0tFCdp21/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1PmKfGEM2RJE2b","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_dmFMlAeKdBcOKJ","request_duration_ms":442}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:17 GMT + - Thu, 07 Mar 2024 14:38:44 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 199929b0-28c8-407e-95cd-c7a8df6b693b + - 1d50c47f-34da-4635-9eaf-ab578e6c95ed Original-Request: - - req_pfTuncJy4Gdzip + - req_MsewQ97f63GMhL Request-Id: - - req_pfTuncJy4Gdzip + - req_MsewQ97f63GMhL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhl1KuuB1fWySn0fcRRgF7", + "id": "pi_3Ori5nKuuB1fWySn0tFCdp21", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhl1KuuB1fWySn0fcRRgF7_secret_Mc8Rzyn1X9gzQvOkJeqRxI07I", + "client_secret": "pi_3Ori5nKuuB1fWySn0tFCdp21_secret_wLsINPCUXrUcwKJTJTizGGIkd", "confirmation_method": "automatic", - "created": 1709821035, + "created": 1709822323, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhl1KuuB1fWySn0lUp7XHi", + "latest_charge": "ch_3Ori5nKuuB1fWySn02Ze8kp8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhl1KuuB1fWySnuzOTdScd", + "payment_method": "pm_1Ori5mKuuB1fWySnpR7QIXqw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:17 GMT + recorded_at: Thu, 07 Mar 2024 14:38:44 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl1KuuB1fWySn0fcRRgF7 + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5nKuuB1fWySn0tFCdp21 body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pfTuncJy4Gdzip","request_duration_ms":1046}}' + - '{"last_request_metrics":{"request_id":"req_MsewQ97f63GMhL","request_duration_ms":983}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:17 GMT + - Thu, 07 Mar 2024 14:38:44 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_MeHAzJ4OHveBt9 + - req_pZzGM4SAmLoucX Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhl1KuuB1fWySn0fcRRgF7", + "id": "pi_3Ori5nKuuB1fWySn0tFCdp21", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhl1KuuB1fWySn0fcRRgF7_secret_Mc8Rzyn1X9gzQvOkJeqRxI07I", + "client_secret": "pi_3Ori5nKuuB1fWySn0tFCdp21_secret_wLsINPCUXrUcwKJTJTizGGIkd", "confirmation_method": "automatic", - "created": 1709821035, + "created": 1709822323, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhl1KuuB1fWySn0lUp7XHi", + "latest_charge": "ch_3Ori5nKuuB1fWySn02Ze8kp8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhl1KuuB1fWySnuzOTdScd", + "payment_method": "pm_1Ori5mKuuB1fWySnpR7QIXqw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:17 GMT + recorded_at: Thu, 07 Mar 2024 14:38:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl1KuuB1fWySn0fcRRgF7/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5nKuuB1fWySn0tFCdp21/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MeHAzJ4OHveBt9","request_duration_ms":381}}' + - '{"last_request_metrics":{"request_id":"req_pZzGM4SAmLoucX","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:18 GMT + - Thu, 07 Mar 2024 14:38:45 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 847bd0b8-935b-4268-b9cf-ceeb800c0887 + - d5c253f8-4f1b-4739-bd8d-780d4c764c40 Original-Request: - - req_s7YBGmoPMBen8B + - req_CEv6jqBFnftgQA Request-Id: - - req_s7YBGmoPMBen8B + - req_CEv6jqBFnftgQA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhl1KuuB1fWySn0fcRRgF7", + "id": "pi_3Ori5nKuuB1fWySn0tFCdp21", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhl1KuuB1fWySn0fcRRgF7_secret_Mc8Rzyn1X9gzQvOkJeqRxI07I", + "client_secret": "pi_3Ori5nKuuB1fWySn0tFCdp21_secret_wLsINPCUXrUcwKJTJTizGGIkd", "confirmation_method": "automatic", - "created": 1709821035, + "created": 1709822323, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhl1KuuB1fWySn0lUp7XHi", + "latest_charge": "ch_3Ori5nKuuB1fWySn02Ze8kp8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhl1KuuB1fWySnuzOTdScd", + "payment_method": "pm_1Ori5mKuuB1fWySnpR7QIXqw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:18 GMT + recorded_at: Thu, 07 Mar 2024 14:38:45 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhl1KuuB1fWySn0fcRRgF7 + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5nKuuB1fWySn0tFCdp21 body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_s7YBGmoPMBen8B","request_duration_ms":1224}}' + - '{"last_request_metrics":{"request_id":"req_CEv6jqBFnftgQA","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:19 GMT + - Thu, 07 Mar 2024 14:38:46 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_BkuzWXjgBrZ2vk + - req_JfHj853ZZu6mIE Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhl1KuuB1fWySn0fcRRgF7", + "id": "pi_3Ori5nKuuB1fWySn0tFCdp21", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Orhl1KuuB1fWySn0fcRRgF7_secret_Mc8Rzyn1X9gzQvOkJeqRxI07I", + "client_secret": "pi_3Ori5nKuuB1fWySn0tFCdp21_secret_wLsINPCUXrUcwKJTJTizGGIkd", "confirmation_method": "automatic", - "created": 1709821035, + "created": 1709822323, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhl1KuuB1fWySn0lUp7XHi", + "latest_charge": "ch_3Ori5nKuuB1fWySn02Ze8kp8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhl1KuuB1fWySnuzOTdScd", + "payment_method": "pm_1Ori5mKuuB1fWySnpR7QIXqw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:19 GMT + recorded_at: Thu, 07 Mar 2024 14:38:46 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml index eb4895e31a..de05268a59 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ppSoLJRF5F2YVf","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_X9aJUdzrkU1di9","request_duration_ms":318}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:13 GMT + - Thu, 07 Mar 2024 14:38:40 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 992f23f8-8f49-4468-9d43-320f309308ee + - cb1392d1-02db-411a-b835-cfd08ff844ad Original-Request: - - req_nc2p2GOaoDEu1E + - req_nPOWaojYjOoz46 Request-Id: - - req_nc2p2GOaoDEu1E + - req_nPOWaojYjOoz46 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhkzKuuB1fWySn0aTQlaHi", + "id": "pm_1Ori5kKuuB1fWySnRKsTIQIc", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821033, + "created": 1709822320, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:17:13 GMT + recorded_at: Thu, 07 Mar 2024 14:38:40 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OrhkzKuuB1fWySn0aTQlaHi&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Ori5kKuuB1fWySnRKsTIQIc&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nc2p2GOaoDEu1E","request_duration_ms":456}}' + - '{"last_request_metrics":{"request_id":"req_nPOWaojYjOoz46","request_duration_ms":449}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:13 GMT + - Thu, 07 Mar 2024 14:38:41 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - dc2d433b-95d5-4bce-897d-e942d74e43f3 + - de501b6b-a890-45cd-986e-31102b39c2fc Original-Request: - - req_YeRiMUyYK8j0Xs + - req_UrYGyOq8pxSqMN Request-Id: - - req_YeRiMUyYK8j0Xs + - req_UrYGyOq8pxSqMN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhkzKuuB1fWySn2jySGxGN", + "id": "pi_3Ori5kKuuB1fWySn0XilxZ4j", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhkzKuuB1fWySn2jySGxGN_secret_IXkDOqsr0YgHYV2fqCELUYBR5", + "client_secret": "pi_3Ori5kKuuB1fWySn0XilxZ4j_secret_25g1XrnsBk5dYw4Wx5vxbZYOA", "confirmation_method": "automatic", - "created": 1709821033, + "created": 1709822320, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhkzKuuB1fWySn0aTQlaHi", + "payment_method": "pm_1Ori5kKuuB1fWySnRKsTIQIc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:13 GMT + recorded_at: Thu, 07 Mar 2024 14:38:41 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OrhkzKuuB1fWySn2jySGxGN/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5kKuuB1fWySn0XilxZ4j/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YeRiMUyYK8j0Xs","request_duration_ms":438}}' + - '{"last_request_metrics":{"request_id":"req_UrYGyOq8pxSqMN","request_duration_ms":403}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:17:14 GMT + - Thu, 07 Mar 2024 14:38:42 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1a13a921-6484-4af7-b5f1-c60f9601e4d2 + - feba507c-a985-49b6-a596-0cb9ed82adf8 Original-Request: - - req_WNkQtQRg0AGc4O + - req_4FcfSlY8CTmPxE Request-Id: - - req_WNkQtQRg0AGc4O + - req_4FcfSlY8CTmPxE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OrhkzKuuB1fWySn2jySGxGN", + "id": "pi_3Ori5kKuuB1fWySn0XilxZ4j", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OrhkzKuuB1fWySn2jySGxGN_secret_IXkDOqsr0YgHYV2fqCELUYBR5", + "client_secret": "pi_3Ori5kKuuB1fWySn0XilxZ4j_secret_25g1XrnsBk5dYw4Wx5vxbZYOA", "confirmation_method": "automatic", - "created": 1709821033, + "created": 1709822320, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OrhkzKuuB1fWySn2M4Tl0yB", + "latest_charge": "ch_3Ori5kKuuB1fWySn09X30gf2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OrhkzKuuB1fWySn0aTQlaHi", + "payment_method": "pm_1Ori5kKuuB1fWySnRKsTIQIc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:17:14 GMT + recorded_at: Thu, 07 Mar 2024 14:38:42 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml index fcf30f8e9f..3f3f410daf 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Pk11EipArgbZw2","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_jK3S1jfWIgYhut","request_duration_ms":480}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:01 GMT + - Thu, 07 Mar 2024 14:40:29 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 85ae54a6-3d8d-4117-8d14-d8328b03679d + - c051a7ae-3827-47d3-8dca-a16171e69284 Original-Request: - - req_qefyeFX7Psf4sT + - req_Op08rYHGvAaruH Request-Id: - - req_qefyeFX7Psf4sT + - req_Op08rYHGvAaruH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmjKuuB1fWySnWB6rTEGL", + "id": "pm_1Ori7UKuuB1fWySn76qyslW5", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821141, + "created": 1709822428, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:02 GMT + recorded_at: Thu, 07 Mar 2024 14:40:29 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=nancey.jakubowski%40hane.info + string: expand[0]=sources&email=syreeta_mante%40rowe.biz headers: Content-Type: - application/x-www-form-urlencoded @@ -161,11 +161,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:03 GMT + - Thu, 07 Mar 2024 14:40:30 GMT Content-Type: - application/json Content-Length: - - '824' + - '819' Connection: - close Access-Control-Allow-Credentials: @@ -188,11 +188,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 21e9a3f2-a8fc-46c8-9439-345f427ef200 + - 487f4a1e-f085-4bc0-b700-2c74ba0c99d3 Original-Request: - - req_BTwlF6p6kmIQoU + - req_csrGBnT3G2xSHG Request-Id: - - req_BTwlF6p6kmIQoU + - req_csrGBnT3G2xSHG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -207,19 +207,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph5yd4DHppEoKr", + "id": "cus_Ph6KskC35H85qa", "object": "customer", "address": null, "balance": 0, - "created": 1709821142, + "created": 1709822429, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "nancey.jakubowski@hane.info", - "invoice_prefix": "6E87E60A", + "email": "syreeta_mante@rowe.biz", + "invoice_prefix": "641A4283", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,18 +238,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_Ph5yd4DHppEoKr/sources" + "url": "/v1/customers/cus_Ph6KskC35H85qa/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:19:03 GMT + recorded_at: Thu, 07 Mar 2024 14:40:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OrhmjKuuB1fWySnWB6rTEGL/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Ori7UKuuB1fWySn76qyslW5/attach body: encoding: UTF-8 - string: customer=cus_Ph5yd4DHppEoKr + string: customer=cus_Ph6KskC35H85qa headers: Content-Type: - application/x-www-form-urlencoded @@ -277,7 +277,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:04 GMT + - Thu, 07 Mar 2024 14:40:30 GMT Content-Type: - application/json Content-Length: @@ -305,11 +305,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 80234bb3-45b9-4b98-ba00-cd0fbb86b3e2 + - d317f319-35a7-4987-a662-138d8f1f2b65 Original-Request: - - req_x2bd9tQGKFEayC + - req_7mzjqpGBfSWXfr Request-Id: - - req_x2bd9tQGKFEayC + - req_7mzjqpGBfSWXfr Stripe-Should-Retry: - 'false' Stripe-Version: @@ -324,7 +324,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmjKuuB1fWySnWB6rTEGL", + "id": "pm_1Ori7UKuuB1fWySn76qyslW5", "object": "payment_method", "billing_details": { "address": { @@ -365,11 +365,11 @@ http_interactions: }, "wallet": null }, - "created": 1709821141, - "customer": "cus_Ph5yd4DHppEoKr", + "created": 1709822428, + "customer": "cus_Ph6KskC35H85qa", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:04 GMT + recorded_at: Thu, 07 Mar 2024 14:40:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml index 43ed2a08ee..80525cb6a5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qefyeFX7Psf4sT","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_Op08rYHGvAaruH","request_duration_ms":494}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:04 GMT + - Thu, 07 Mar 2024 14:40:31 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f63675b6-130d-4aae-9a39-d93707a0810e + - 9d4664a9-bf4d-4211-a948-d610bc43d185 Original-Request: - - req_MXd4mrfssBhErs + - req_NlddE1Lfg1UIOE Request-Id: - - req_MXd4mrfssBhErs + - req_NlddE1Lfg1UIOE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmmKuuB1fWySnWnEtlcz0", + "id": "pm_1Ori7XKuuB1fWySnOKaGH4d8", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821144, + "created": 1709822431, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:04 GMT + recorded_at: Thu, 07 Mar 2024 14:40:31 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MXd4mrfssBhErs","request_duration_ms":459}}' + - '{"last_request_metrics":{"request_id":"req_NlddE1Lfg1UIOE","request_duration_ms":555}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:05 GMT + - Thu, 07 Mar 2024 14:40:32 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ad13a8b3-7da9-4291-8cb0-5f8351bc9bdb + - 07af51bc-b029-4db1-9dc7-a6ab3923b16c Original-Request: - - req_80KlXkXSvlUYDB + - req_n9vtnsGiL90bJE Request-Id: - - req_80KlXkXSvlUYDB + - req_n9vtnsGiL90bJE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph5yYQfpmtdyCM", + "id": "cus_Ph6KTuvTTKDo68", "object": "customer", "address": null, "balance": 0, - "created": 1709821144, + "created": 1709822431, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "DA141773", + "invoice_prefix": "76CFBC26", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,13 +236,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:19:05 GMT + recorded_at: Thu, 07 Mar 2024 14:40:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OrhmmKuuB1fWySnWnEtlcz0/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Ori7XKuuB1fWySnOKaGH4d8/attach body: encoding: UTF-8 - string: customer=cus_Ph5yYQfpmtdyCM + string: customer=cus_Ph6KTuvTTKDo68 headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -251,7 +251,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_80KlXkXSvlUYDB","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_n9vtnsGiL90bJE","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -271,7 +271,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:05 GMT + - Thu, 07 Mar 2024 14:40:32 GMT Content-Type: - application/json Content-Length: @@ -299,11 +299,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5b819b26-358d-40f2-86a1-c030ab5457d8 + - e2ed9832-8821-4824-879a-55434328733a Original-Request: - - req_WqsP7HpLdlMDTm + - req_Q7gqqiErJzAxsZ Request-Id: - - req_WqsP7HpLdlMDTm + - req_Q7gqqiErJzAxsZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +318,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhmmKuuB1fWySnWnEtlcz0", + "id": "pm_1Ori7XKuuB1fWySnOKaGH4d8", "object": "payment_method", "billing_details": { "address": { @@ -359,19 +359,19 @@ http_interactions: }, "wallet": null }, - "created": 1709821144, - "customer": "cus_Ph5yYQfpmtdyCM", + "created": 1709822431, + "customer": "cus_Ph6KTuvTTKDo68", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:19:05 GMT + recorded_at: Thu, 07 Mar 2024 14:40:32 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=laquanda.hahn%40roob.biz + string: expand[0]=sources&email=nora%40toy.us headers: Content-Type: - application/x-www-form-urlencoded @@ -399,11 +399,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:07 GMT + - Thu, 07 Mar 2024 14:40:34 GMT Content-Type: - application/json Content-Length: - - '819' + - '808' Connection: - close Access-Control-Allow-Credentials: @@ -426,11 +426,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2c863619-4840-48f2-9489-0482bee15eb4 + - 3df0cdaa-6058-4ec4-af2d-8e7f0d118793 Original-Request: - - req_ETQaftk0I6KVpP + - req_D5yTTHzQ4YilCK Request-Id: - - req_ETQaftk0I6KVpP + - req_D5yTTHzQ4YilCK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -445,19 +445,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph5yNNlC1wfmcO", + "id": "cus_Ph6KjNCydI9ddd", "object": "customer", "address": null, "balance": 0, - "created": 1709821146, + "created": 1709822433, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "laquanda.hahn@roob.biz", - "invoice_prefix": "2DEAFDF0", + "email": "nora@toy.us", + "invoice_prefix": "A296EDA8", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -476,18 +476,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_Ph5yNNlC1wfmcO/sources" + "url": "/v1/customers/cus_Ph6KjNCydI9ddd/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:19:07 GMT + recorded_at: Thu, 07 Mar 2024 14:40:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OrhmmKuuB1fWySnWnEtlcz0/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Ori7XKuuB1fWySnOKaGH4d8/attach body: encoding: UTF-8 - string: customer=cus_Ph5yNNlC1wfmcO + string: customer=cus_Ph6KjNCydI9ddd headers: Content-Type: - application/x-www-form-urlencoded @@ -515,7 +515,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:19:07 GMT + - Thu, 07 Mar 2024 14:40:34 GMT Content-Type: - application/json Content-Length: @@ -543,11 +543,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 43aea6ab-58ae-4f29-85f5-1fa9d90422c6 + - 432fdf08-8144-48a5-acdb-d5753e4fec53 Original-Request: - - req_UznE0RlLvrEA8x + - req_e7kgyjGjPlEZYW Request-Id: - - req_UznE0RlLvrEA8x + - req_e7kgyjGjPlEZYW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -564,9 +564,9 @@ http_interactions: { "error": { "message": "The payment method you provided has already been attached to a customer.", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_UznE0RlLvrEA8x?t=1709821147", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_e7kgyjGjPlEZYW?t=1709822434", "type": "invalid_request_error" } } - recorded_at: Thu, 07 Mar 2024 14:19:07 GMT + recorded_at: Thu, 07 Mar 2024 14:40:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml index 7b83611e3b..b9621f7b6c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IcxiGIPEivuMc9","request_duration_ms":349}}' + - '{"last_request_metrics":{"request_id":"req_6xn7ayvYoWpsVL","request_duration_ms":347}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:20:02 GMT + - Thu, 07 Mar 2024 14:41:26 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 56afdd6e-06de-4d97-a94f-3c6c268806f6 + - d0a36d57-fb83-4605-a1f0-c68df3369d78 Original-Request: - - req_6yMu7c4QxYtK8g + - req_DUn3tigZ6kV1y8 Request-Id: - - req_6yMu7c4QxYtK8g + - req_DUn3tigZ6kV1y8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Orhng4Ksmji0kIH", + "id": "acct_1Ori8PQOFPOGaWbe", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709821201, + "created": 1709822486, "default_currency": "aud", "details_submitted": false, "email": "lettuce.producer@example.com", @@ -111,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Orhng4Ksmji0kIH/external_accounts" + "url": "/v1/accounts/acct_1Ori8PQOFPOGaWbe/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,7 +208,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:20:02 GMT + recorded_at: Thu, 07 Mar 2024 14:41:27 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -223,7 +223,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6yMu7c4QxYtK8g","request_duration_ms":2024}}' + - '{"last_request_metrics":{"request_id":"req_DUn3tigZ6kV1y8","request_duration_ms":1785}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:20:02 GMT + - Thu, 07 Mar 2024 14:41:27 GMT Content-Type: - application/json Content-Length: @@ -271,7 +271,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_8BtYDT2VIHniqr + - req_74YPBf9ufIdMTM Stripe-Version: - '2023-10-16' Vary: @@ -284,7 +284,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OrhniKuuB1fWySnHcIadK2x", + "id": "pm_1Ori8RKuuB1fWySnokbZZymm", "object": "payment_method", "billing_details": { "address": { @@ -325,13 +325,13 @@ http_interactions: }, "wallet": null }, - "created": 1709821202, + "created": 1709822487, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:20:02 GMT + recorded_at: Thu, 07 Mar 2024 14:41:27 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -346,7 +346,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8BtYDT2VIHniqr","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_74YPBf9ufIdMTM","request_duration_ms":505}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -355,7 +355,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Orhng4Ksmji0kIH + - acct_1Ori8PQOFPOGaWbe Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -368,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:20:04 GMT + - Thu, 07 Mar 2024 14:41:28 GMT Content-Type: - application/json Content-Length: @@ -395,13 +395,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fe190c51-0703-49aa-a8a5-49411e9bccda + - 67b4df54-6dbb-4d94-bd6f-d58c21acad4c Original-Request: - - req_Xll7JlEtBKACFk + - req_Sl2yh4tFplfAcL Request-Id: - - req_Xll7JlEtBKACFk + - req_Sl2yh4tFplfAcL Stripe-Account: - - acct_1Orhng4Ksmji0kIH + - acct_1Ori8PQOFPOGaWbe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -416,7 +416,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", + "id": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -430,20 +430,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx_secret_VVCrsTOPodpRlc5blyCIcl908", + "client_secret": "pi_3Ori8RQOFPOGaWbe0kxBKW0L_secret_LQ4MEmPdSgVVVTtiE51dEibPw", "confirmation_method": "automatic", - "created": 1709821203, + "created": 1709822487, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhnj4Ksmji0kIH0YoiCyX8", + "latest_charge": "ch_3Ori8RQOFPOGaWbe0kxVpV1S", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhnj4Ksmji0kIH9aqUSl98", + "payment_method": "pm_1Ori8RQOFPOGaWbejKejks4M", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -468,10 +468,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:20:04 GMT + recorded_at: Thu, 07 Mar 2024 14:41:28 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhnj4Ksmji0kIH0CeTC4Sx + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8RQOFPOGaWbe0kxBKW0L body: encoding: US-ASCII string: '' @@ -490,7 +490,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Orhng4Ksmji0kIH + - acct_1Ori8PQOFPOGaWbe Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -503,7 +503,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:20:11 GMT + - Thu, 07 Mar 2024 14:41:35 GMT Content-Type: - application/json Content-Length: @@ -531,9 +531,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_q8CezmL6Hptp4y + - req_Yd0IDRQdoY9eHD Stripe-Account: - - acct_1Orhng4Ksmji0kIH + - acct_1Ori8PQOFPOGaWbe Stripe-Version: - '2023-10-16' Vary: @@ -546,7 +546,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", + "id": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -560,20 +560,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx_secret_VVCrsTOPodpRlc5blyCIcl908", + "client_secret": "pi_3Ori8RQOFPOGaWbe0kxBKW0L_secret_LQ4MEmPdSgVVVTtiE51dEibPw", "confirmation_method": "automatic", - "created": 1709821203, + "created": 1709822487, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhnj4Ksmji0kIH0YoiCyX8", + "latest_charge": "ch_3Ori8RQOFPOGaWbe0kxVpV1S", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhnj4Ksmji0kIH9aqUSl98", + "payment_method": "pm_1Ori8RQOFPOGaWbejKejks4M", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -598,10 +598,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:20:11 GMT + recorded_at: Thu, 07 Mar 2024 14:41:35 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Orhnj4Ksmji0kIH0CeTC4Sx + uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8RQOFPOGaWbe0kxBKW0L body: encoding: US-ASCII string: '' @@ -617,7 +617,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Orhng4Ksmji0kIH + - acct_1Ori8PQOFPOGaWbe Connection: - close Accept-Encoding: @@ -632,7 +632,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:20:11 GMT + - Thu, 07 Mar 2024 14:41:35 GMT Content-Type: - application/json Content-Length: @@ -660,9 +660,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_deOxoguEp3Z19v + - req_2ygHSqLVFPkp8i Stripe-Account: - - acct_1Orhng4Ksmji0kIH + - acct_1Ori8PQOFPOGaWbe Stripe-Version: - '2020-08-27' Vary: @@ -675,7 +675,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", + "id": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -693,7 +693,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3Orhnj4Ksmji0kIH0YoiCyX8", + "id": "ch_3Ori8RQOFPOGaWbe0kxVpV1S", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -701,7 +701,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Orhnj4Ksmji0kIH0RoJGnbC", + "balance_transaction": "txn_3Ori8RQOFPOGaWbe0BaP1P3a", "billing_details": { "address": { "city": null, @@ -717,7 +717,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709821203, + "created": 1709822488, "currency": "aud", "customer": null, "description": null, @@ -737,13 +737,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 0, + "risk_score": 7, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", - "payment_method": "pm_1Orhnj4Ksmji0kIH9aqUSl98", + "payment_intent": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", + "payment_method": "pm_1Ori8RQOFPOGaWbejKejks4M", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -786,14 +786,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3Jobmc0S3Ntamkwa0lIKJuap68GMgZvwPSxUBE6LBZ9oFdN3uUybzLhXsLPicDaqkkO44TSe7wCoxzbPvB9l2DbllQEVobGwxGG", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpOFBRT0ZQT0dhV2JlKJ-kp68GMgb9vVmPg3Y6LBbK9vf2vN_HD6t_iIZCyrqLCxTIzVDwdSZH_eaWeB6FUbdnVM4Q-fx8sIz7", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3Orhnj4Ksmji0kIH0YoiCyX8/refunds" + "url": "/v1/charges/ch_3Ori8RQOFPOGaWbe0kxVpV1S/refunds" }, "review": null, "shipping": null, @@ -808,22 +808,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3Orhnj4Ksmji0kIH0CeTC4Sx" + "url": "/v1/charges?payment_intent=pi_3Ori8RQOFPOGaWbe0kxBKW0L" }, - "client_secret": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx_secret_VVCrsTOPodpRlc5blyCIcl908", + "client_secret": "pi_3Ori8RQOFPOGaWbe0kxBKW0L_secret_LQ4MEmPdSgVVVTtiE51dEibPw", "confirmation_method": "automatic", - "created": 1709821203, + "created": 1709822487, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Orhnj4Ksmji0kIH0YoiCyX8", + "latest_charge": "ch_3Ori8RQOFPOGaWbe0kxVpV1S", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Orhnj4Ksmji0kIH9aqUSl98", + "payment_method": "pm_1Ori8RQOFPOGaWbejKejks4M", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -848,10 +848,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:20:11 GMT + recorded_at: Thu, 07 Mar 2024 14:41:35 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3Orhnj4Ksmji0kIH0YoiCyX8/refunds + uri: https://api.stripe.com/v1/charges/ch_3Ori8RQOFPOGaWbe0kxVpV1S/refunds body: encoding: UTF-8 string: amount=2600&expand[0]=charge @@ -869,7 +869,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Orhng4Ksmji0kIH + - acct_1Ori8PQOFPOGaWbe Connection: - close Accept-Encoding: @@ -884,7 +884,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:20:13 GMT + - Thu, 07 Mar 2024 14:41:36 GMT Content-Type: - application/json Content-Length: @@ -912,13 +912,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8730e848-102b-4d4f-9cb2-49d872bbe7fa + - a405e7a6-ea1f-40b7-877d-690ef97a9ce2 Original-Request: - - req_HBMQQ12OpMAwbg + - req_Re8TmZP6BSpbT4 Request-Id: - - req_HBMQQ12OpMAwbg + - req_Re8TmZP6BSpbT4 Stripe-Account: - - acct_1Orhng4Ksmji0kIH + - acct_1Ori8PQOFPOGaWbe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -933,12 +933,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3Orhnj4Ksmji0kIH0nZkyHrc", + "id": "re_3Ori8RQOFPOGaWbe0ERyetXL", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3Orhnj4Ksmji0kIH0PpTeWyW", + "balance_transaction": "txn_3Ori8RQOFPOGaWbe0BRSlec3", "charge": { - "id": "ch_3Orhnj4Ksmji0kIH0YoiCyX8", + "id": "ch_3Ori8RQOFPOGaWbe0kxVpV1S", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -946,7 +946,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Orhnj4Ksmji0kIH0RoJGnbC", + "balance_transaction": "txn_3Ori8RQOFPOGaWbe0BaP1P3a", "billing_details": { "address": { "city": null, @@ -962,7 +962,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709821203, + "created": 1709822488, "currency": "aud", "customer": null, "description": null, @@ -982,13 +982,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 0, + "risk_score": 7, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", - "payment_method": "pm_1Orhnj4Ksmji0kIH9aqUSl98", + "payment_intent": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", + "payment_method": "pm_1Ori8RQOFPOGaWbejKejks4M", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -1031,18 +1031,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3Jobmc0S3Ntamkwa0lIKJ2ap68GMgbo1ZDRlQE6LBa8o90NOYFxk-WtmcM6PVgLod6VvBCU8djWCpoXoPnM4lGMahhK_OC-RK9_", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpOFBRT0ZQT0dhV2JlKKCkp68GMgaZDu9l0UA6LBZs1YbOLYVbrRSNbaKPRfyM7lSPdu5-xeTOebaVYFE9rMUO0KvOVYwzOK3g", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3Orhnj4Ksmji0kIH0nZkyHrc", + "id": "re_3Ori8RQOFPOGaWbe0ERyetXL", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3Orhnj4Ksmji0kIH0PpTeWyW", - "charge": "ch_3Orhnj4Ksmji0kIH0YoiCyX8", - "created": 1709821212, + "balance_transaction": "txn_3Ori8RQOFPOGaWbe0BRSlec3", + "charge": "ch_3Ori8RQOFPOGaWbe0kxVpV1S", + "created": 1709822496, "currency": "aud", "destination_details": { "card": { @@ -1053,7 +1053,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", + "payment_intent": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1063,7 +1063,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3Orhnj4Ksmji0kIH0YoiCyX8/refunds" + "url": "/v1/charges/ch_3Ori8RQOFPOGaWbe0kxVpV1S/refunds" }, "review": null, "shipping": null, @@ -1075,7 +1075,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1709821212, + "created": 1709822496, "currency": "aud", "destination_details": { "card": { @@ -1086,12 +1086,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Orhnj4Ksmji0kIH0CeTC4Sx", + "payment_intent": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 07 Mar 2024 14:20:13 GMT + recorded_at: Thu, 07 Mar 2024 14:41:37 GMT recorded_with: VCR 6.2.0 From 7f3953882d2d9b36a1a4eecec25c19d350e0d2ba Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 7 Mar 2024 14:49:11 +0000 Subject: [PATCH 077/374] Update Stripe API recordings for new version --- .../saves_the_card_locally.yml | 58 +++--- .../_credit/refunds_the_payment.yml | 134 ++++++------ ...t_intent_state_is_not_requires_capture.yml | 52 ++--- .../_purchase/completes_the_purchase.yml | 122 +++++------ ..._error_message_to_help_developer_debug.yml | 58 +++--- .../refunds_the_payment.yml | 170 +++++++-------- .../void_the_payment.yml | 104 +++++----- ...stroys_the_record_and_notifies_Bugsnag.yml | 20 +- .../destroys_the_record.yml | 42 ++-- .../returns_true.yml | 106 +++++----- .../returns_false.yml | 86 ++++---- .../returns_failed_response.yml | 38 ++-- ...tus_with_Stripe_PaymentIntentValidator.yml | 56 ++--- .../returns_nil.yml | 38 ++-- .../clones_the_payment_method_only.yml | 82 ++++---- ...th_the_payment_method_and_the_customer.yml | 196 +++++++++--------- .../raises_an_error.yml | 26 +-- .../deletes_the_credit_card_clone.yml | 56 ++--- ...the_credit_card_clone_and_the_customer.yml | 84 ++++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- ...t_intent_last_payment_error_as_message.yml | 74 +++---- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_Diners_Club/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_Discover/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_JCB/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_Mastercard/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_UnionPay/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_Visa/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- .../from_Visa_debit_/captures_the_payment.yml | 126 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 62 +++--- ...rd_id_from_the_correct_response_fields.yml | 60 +++--- .../when_request_fails/raises_an_error.yml | 96 ++++----- .../allows_to_refund_the_payment.yml | 172 +++++++-------- 60 files changed, 2634 insertions(+), 2634 deletions(-) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml index 5a543442a6..ac1680b3e6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml @@ -32,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:16 GMT + - Thu, 07 Mar 2024 14:45:47 GMT Content-Type: - application/json Content-Length: @@ -59,11 +59,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1c81519a-c4c3-4674-b4d9-51990997900b + - 8e5748ab-3c58-4b23-8d5b-850352452784 Original-Request: - - req_IfRAgx7ZHzZGQd + - req_vh9S0ImKQkVeFq Request-Id: - - req_IfRAgx7ZHzZGQd + - req_vh9S0ImKQkVeFq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,10 +78,10 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "tok_1Ori5MKuuB1fWySnsDyySLg8", + "id": "tok_1OriCcKuuB1fWySnZn4gRVb9", "object": "token", "card": { - "id": "card_1Ori5MKuuB1fWySnEb5EBdRx", + "id": "card_1OriCcKuuB1fWySn46sgc3Iy", "object": "card", "address_city": null, "address_country": null, @@ -109,18 +109,18 @@ http_interactions: "wallet": null }, "client_ip": "176.79.242.165", - "created": 1709822296, + "created": 1709822746, "livemode": false, "type": "card", "used": false } - recorded_at: Thu, 07 Mar 2024 14:38:16 GMT + recorded_at: Thu, 07 Mar 2024 14:45:47 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: email=ettie_runte%40stracke.ca&source=tok_1Ori5MKuuB1fWySnsDyySLg8 + string: email=lesley_torp%40damore.us&source=tok_1OriCcKuuB1fWySnZn4gRVb9 headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -129,7 +129,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IfRAgx7ZHzZGQd","request_duration_ms":681}}' + - '{"last_request_metrics":{"request_id":"req_vh9S0ImKQkVeFq","request_duration_ms":690}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -149,11 +149,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:17 GMT + - Thu, 07 Mar 2024 14:45:48 GMT Content-Type: - application/json Content-Length: - - '661' + - '660' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -176,11 +176,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 848d4255-e485-4459-bfd3-0f037692da20 + - e115fea7-6b73-4f24-8e5e-a8be5bb38000 Original-Request: - - req_r0UB4vYNGsk1o2 + - req_mhJmCq4VhPMPxf Request-Id: - - req_r0UB4vYNGsk1o2 + - req_mhJmCq4VhPMPxf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -195,18 +195,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6Hlzag6f8JXI", + "id": "cus_Ph6PPd7ZUMcVe0", "object": "customer", "address": null, "balance": 0, - "created": 1709822297, + "created": 1709822747, "currency": null, - "default_source": "card_1Ori5MKuuB1fWySnEb5EBdRx", + "default_source": "card_1OriCcKuuB1fWySn46sgc3Iy", "delinquent": false, "description": null, "discount": null, - "email": "ettie_runte@stracke.ca", - "invoice_prefix": "A46019A5", + "email": "lesley_torp@damore.us", + "invoice_prefix": "4AA02C1F", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -223,10 +223,10 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:38:17 GMT + recorded_at: Thu, 07 Mar 2024 14:45:48 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_Ph6Hlzag6f8JXI/sources?limit=1&object=card + uri: https://api.stripe.com/v1/customers/cus_Ph6PPd7ZUMcVe0/sources?limit=1&object=card body: encoding: US-ASCII string: '' @@ -238,7 +238,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_r0UB4vYNGsk1o2","request_duration_ms":1132}}' + - '{"last_request_metrics":{"request_id":"req_mhJmCq4VhPMPxf","request_duration_ms":1001}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -258,7 +258,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:18 GMT + - Thu, 07 Mar 2024 14:45:48 GMT Content-Type: - application/json Content-Length: @@ -286,7 +286,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_8JCk5jQYHzpR3e + - req_pKEIlsFmzmlbhI Stripe-Version: - '2023-10-16' Vary: @@ -302,7 +302,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1Ori5MKuuB1fWySnEb5EBdRx", + "id": "card_1OriCcKuuB1fWySn46sgc3Iy", "object": "card", "address_city": null, "address_country": null, @@ -314,7 +314,7 @@ http_interactions: "address_zip_check": null, "brand": "Visa", "country": "US", - "customer": "cus_Ph6Hlzag6f8JXI", + "customer": "cus_Ph6PPd7ZUMcVe0", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 9, @@ -329,7 +329,7 @@ http_interactions: } ], "has_more": false, - "url": "/v1/customers/cus_Ph6Hlzag6f8JXI/sources" + "url": "/v1/customers/cus_Ph6PPd7ZUMcVe0/sources" } - recorded_at: Thu, 07 Mar 2024 14:38:18 GMT + recorded_at: Thu, 07 Mar 2024 14:45:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml index 246c984b62..2937096c68 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rRIZgTQZWq25t6","request_duration_ms":393}}' + - '{"last_request_metrics":{"request_id":"req_NDQSpcnixgOEbh","request_duration_ms":399}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:00 GMT + - Thu, 07 Mar 2024 14:48:30 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 58f94bed-2308-4063-8257-529f11ff5fd8 + - 2fb09e3f-1fe3-45f0-8b1d-93a3aa7a5fb2 Original-Request: - - req_GCHrCnEDuJUYjZ + - req_NM4qRNiaJ6ZVCs Request-Id: - - req_GCHrCnEDuJUYjZ + - req_NM4qRNiaJ6ZVCs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Ori7y4EToZwgwlv", + "id": "acct_1OriFEQNVFKfuhBy", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822459, + "created": 1709822909, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -111,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Ori7y4EToZwgwlv/external_accounts" + "url": "/v1/accounts/acct_1OriFEQNVFKfuhBy/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,7 +208,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:41:00 GMT + recorded_at: Thu, 07 Mar 2024 14:48:30 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -223,7 +223,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GCHrCnEDuJUYjZ","request_duration_ms":1810}}' + - '{"last_request_metrics":{"request_id":"req_NM4qRNiaJ6ZVCs","request_duration_ms":1676}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -232,7 +232,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori7y4EToZwgwlv + - acct_1OriFEQNVFKfuhBy Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -245,7 +245,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:01 GMT + - Thu, 07 Mar 2024 14:48:31 GMT Content-Type: - application/json Content-Length: @@ -272,13 +272,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4d24368f-05a2-4222-a178-b5a7b1f2b392 + - b152c8d5-1f29-4449-866f-14ceb5fad47d Original-Request: - - req_C7QOEy3slcdnR9 + - req_lUGZB09LhkgrEs Request-Id: - - req_C7QOEy3slcdnR9 + - req_lUGZB09LhkgrEs Stripe-Account: - - acct_1Ori7y4EToZwgwlv + - acct_1OriFEQNVFKfuhBy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -293,7 +293,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori804EToZwgwlv0XZvsZ25", + "id": "pi_3OriFGQNVFKfuhBy1qMkBfGm", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -307,20 +307,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3Ori804EToZwgwlv0XZvsZ25_secret_ERfYN09gqVU5t9krGqjordd7V", + "client_secret": "pi_3OriFGQNVFKfuhBy1qMkBfGm_secret_Ks6PkDFoqtheNjqJyBSMq2S8L", "confirmation_method": "automatic", - "created": 1709822460, + "created": 1709822910, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori804EToZwgwlv00H02RoS", + "latest_charge": "ch_3OriFGQNVFKfuhBy1WRjS43P", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori804EToZwgwlvfAG4ONtm", + "payment_method": "pm_1OriFGQNVFKfuhByxonXl3jD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -345,10 +345,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:01 GMT + recorded_at: Thu, 07 Mar 2024 14:48:31 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori804EToZwgwlv0XZvsZ25 + uri: https://api.stripe.com/v1/payment_intents/pi_3OriFGQNVFKfuhBy1qMkBfGm body: encoding: US-ASCII string: '' @@ -364,7 +364,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Ori7y4EToZwgwlv + - acct_1OriFEQNVFKfuhBy Connection: - close Accept-Encoding: @@ -379,7 +379,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:02 GMT + - Thu, 07 Mar 2024 14:48:32 GMT Content-Type: - application/json Content-Length: @@ -407,9 +407,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_sNpY2fLjUrsyZI + - req_qmga28jHFdjfSe Stripe-Account: - - acct_1Ori7y4EToZwgwlv + - acct_1OriFEQNVFKfuhBy Stripe-Version: - '2020-08-27' Vary: @@ -422,7 +422,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori804EToZwgwlv0XZvsZ25", + "id": "pi_3OriFGQNVFKfuhBy1qMkBfGm", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -440,7 +440,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3Ori804EToZwgwlv00H02RoS", + "id": "ch_3OriFGQNVFKfuhBy1WRjS43P", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -448,7 +448,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Ori804EToZwgwlv04i6OcIL", + "balance_transaction": "txn_3OriFGQNVFKfuhBy1rTroyNc", "billing_details": { "address": { "city": null, @@ -464,7 +464,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822460, + "created": 1709822911, "currency": "aud", "customer": null, "description": null, @@ -484,13 +484,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 28, + "risk_score": 14, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Ori804EToZwgwlv0XZvsZ25", - "payment_method": "pm_1Ori804EToZwgwlvfAG4ONtm", + "payment_intent": "pi_3OriFGQNVFKfuhBy1qMkBfGm", + "payment_method": "pm_1OriFGQNVFKfuhByxonXl3jD", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -533,14 +533,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpN3k0RVRvWndnd2x2KP6jp68GMgZ9in9bA1U6LBZWW1INYd6LlSeTCie_7VzSPLXrEFJ1RcOHx8CJVwPWf81exteTbpQ9ysC2", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpRkVRTlZGS2Z1aEJ5KMCnp68GMgYu5ZGmY606LBbY9URk3rM2WdxIs8OIdlpVmhbTksny6olrthqlgprS7K-nDHu7qQb0ZCWy", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3Ori804EToZwgwlv00H02RoS/refunds" + "url": "/v1/charges/ch_3OriFGQNVFKfuhBy1WRjS43P/refunds" }, "review": null, "shipping": null, @@ -555,22 +555,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3Ori804EToZwgwlv0XZvsZ25" + "url": "/v1/charges?payment_intent=pi_3OriFGQNVFKfuhBy1qMkBfGm" }, - "client_secret": "pi_3Ori804EToZwgwlv0XZvsZ25_secret_ERfYN09gqVU5t9krGqjordd7V", + "client_secret": "pi_3OriFGQNVFKfuhBy1qMkBfGm_secret_Ks6PkDFoqtheNjqJyBSMq2S8L", "confirmation_method": "automatic", - "created": 1709822460, + "created": 1709822910, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori804EToZwgwlv00H02RoS", + "latest_charge": "ch_3OriFGQNVFKfuhBy1WRjS43P", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori804EToZwgwlvfAG4ONtm", + "payment_method": "pm_1OriFGQNVFKfuhByxonXl3jD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -595,10 +595,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:02 GMT + recorded_at: Thu, 07 Mar 2024 14:48:32 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3Ori804EToZwgwlv00H02RoS/refunds + uri: https://api.stripe.com/v1/charges/ch_3OriFGQNVFKfuhBy1WRjS43P/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -616,7 +616,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Ori7y4EToZwgwlv + - acct_1OriFEQNVFKfuhBy Connection: - close Accept-Encoding: @@ -631,7 +631,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:03 GMT + - Thu, 07 Mar 2024 14:48:34 GMT Content-Type: - application/json Content-Length: @@ -659,13 +659,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 42b58602-bcb0-40f2-838a-7b773748cbda + - 774b9aa5-8e9f-4649-9cad-b84d7198ec8e Original-Request: - - req_CNRAdlowwUwKyv + - req_Ipx15KhKYZrRKh Request-Id: - - req_CNRAdlowwUwKyv + - req_Ipx15KhKYZrRKh Stripe-Account: - - acct_1Ori7y4EToZwgwlv + - acct_1OriFEQNVFKfuhBy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -680,12 +680,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3Ori804EToZwgwlv0T3FprZo", + "id": "re_3OriFGQNVFKfuhBy16SnNV7P", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3Ori804EToZwgwlv0DRH0hfo", + "balance_transaction": "txn_3OriFGQNVFKfuhBy1B68QVSk", "charge": { - "id": "ch_3Ori804EToZwgwlv00H02RoS", + "id": "ch_3OriFGQNVFKfuhBy1WRjS43P", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -693,7 +693,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Ori804EToZwgwlv04i6OcIL", + "balance_transaction": "txn_3OriFGQNVFKfuhBy1rTroyNc", "billing_details": { "address": { "city": null, @@ -709,7 +709,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822460, + "created": 1709822911, "currency": "aud", "customer": null, "description": null, @@ -729,13 +729,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 28, + "risk_score": 14, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Ori804EToZwgwlv0XZvsZ25", - "payment_method": "pm_1Ori804EToZwgwlvfAG4ONtm", + "payment_intent": "pi_3OriFGQNVFKfuhBy1qMkBfGm", + "payment_method": "pm_1OriFGQNVFKfuhByxonXl3jD", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -778,18 +778,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpN3k0RVRvWndnd2x2KP-jp68GMgZbKoJXIf46LBZehIhNz4RlbYhHERLw8zLIoBFQ__lSgRI1LMa_-ATyCr9_50WvSNuEV6jl", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpRkVRTlZGS2Z1aEJ5KMGnp68GMgZH24pJms46LBYja4DfpVuRSbWLd7x88BzoU5GD-H4dIupVBSEsKwT79_IxEjGnUwgfchf7", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3Ori804EToZwgwlv0T3FprZo", + "id": "re_3OriFGQNVFKfuhBy16SnNV7P", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3Ori804EToZwgwlv0DRH0hfo", - "charge": "ch_3Ori804EToZwgwlv00H02RoS", - "created": 1709822463, + "balance_transaction": "txn_3OriFGQNVFKfuhBy1B68QVSk", + "charge": "ch_3OriFGQNVFKfuhBy1WRjS43P", + "created": 1709822913, "currency": "aud", "destination_details": { "card": { @@ -800,7 +800,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Ori804EToZwgwlv0XZvsZ25", + "payment_intent": "pi_3OriFGQNVFKfuhBy1qMkBfGm", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -810,7 +810,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3Ori804EToZwgwlv00H02RoS/refunds" + "url": "/v1/charges/ch_3OriFGQNVFKfuhBy1WRjS43P/refunds" }, "review": null, "shipping": null, @@ -822,7 +822,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1709822463, + "created": 1709822913, "currency": "aud", "destination_details": { "card": { @@ -833,12 +833,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Ori804EToZwgwlv0XZvsZ25", + "payment_intent": "pi_3OriFGQNVFKfuhBy1qMkBfGm", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 07 Mar 2024 14:41:03 GMT + recorded_at: Thu, 07 Mar 2024 14:48:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml index f6c187182d..25101af665 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_C7QOEy3slcdnR9","request_duration_ms":1419}}' + - '{"last_request_metrics":{"request_id":"req_lUGZB09LhkgrEs","request_duration_ms":1457}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:06 GMT + - Thu, 07 Mar 2024 14:48:36 GMT Content-Type: - application/json Content-Length: @@ -62,7 +62,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_aqokX0boDYvpUt + - req_1UvhRLUXM9PFCj Stripe-Version: - '2023-10-16' Vary: @@ -75,7 +75,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori86KuuB1fWySnurYGVy9H", + "id": "pm_1OriFLKuuB1fWySnP0miEyw8", "object": "payment_method", "billing_details": { "address": { @@ -116,19 +116,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822466, + "created": 1709822915, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:41:06 GMT + recorded_at: Thu, 07 Mar 2024 14:48:36 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1Ori86KuuB1fWySnurYGVy9H&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1OriFLKuuB1fWySnP0miEyw8&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -137,7 +137,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aqokX0boDYvpUt","request_duration_ms":418}}' + - '{"last_request_metrics":{"request_id":"req_1UvhRLUXM9PFCj","request_duration_ms":430}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -157,7 +157,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:06 GMT + - Thu, 07 Mar 2024 14:48:36 GMT Content-Type: - application/json Content-Length: @@ -184,11 +184,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 52dd9c2f-e901-4555-bb6f-1423ff2769d9 + - f7ae4c6e-041b-4e7c-afe1-48b707857158 Original-Request: - - req_gX0WQsuDgkgjOd + - req_4b4mNQCY1hiI4K Request-Id: - - req_gX0WQsuDgkgjOd + - req_4b4mNQCY1hiI4K Stripe-Should-Retry: - 'false' Stripe-Version: @@ -203,7 +203,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori86KuuB1fWySn2KSuRXgr", + "id": "pi_3OriFMKuuB1fWySn1zihDsCl", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -217,9 +217,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori86KuuB1fWySn2KSuRXgr_secret_EOP6SxcCrsmmqPDh5wYTYXsqa", + "client_secret": "pi_3OriFMKuuB1fWySn1zihDsCl_secret_jyv9Mu4l5tgpLgjK6YF0yvEPk", "confirmation_method": "automatic", - "created": 1709822466, + "created": 1709822916, "currency": "aud", "customer": null, "description": null, @@ -230,7 +230,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori86KuuB1fWySnurYGVy9H", + "payment_method": "pm_1OriFLKuuB1fWySnP0miEyw8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -255,10 +255,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:06 GMT + recorded_at: Thu, 07 Mar 2024 14:48:36 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori86KuuB1fWySn2KSuRXgr + uri: https://api.stripe.com/v1/payment_intents/pi_3OriFMKuuB1fWySn1zihDsCl body: encoding: US-ASCII string: '' @@ -270,7 +270,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gX0WQsuDgkgjOd","request_duration_ms":502}}' + - '{"last_request_metrics":{"request_id":"req_4b4mNQCY1hiI4K","request_duration_ms":504}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -290,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:07 GMT + - Thu, 07 Mar 2024 14:48:36 GMT Content-Type: - application/json Content-Length: @@ -318,7 +318,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_ogaznpXJbLOhKJ + - req_OW0XdLkNysDyJ4 Stripe-Version: - '2023-10-16' Vary: @@ -331,7 +331,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori86KuuB1fWySn2KSuRXgr", + "id": "pi_3OriFMKuuB1fWySn1zihDsCl", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -345,9 +345,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori86KuuB1fWySn2KSuRXgr_secret_EOP6SxcCrsmmqPDh5wYTYXsqa", + "client_secret": "pi_3OriFMKuuB1fWySn1zihDsCl_secret_jyv9Mu4l5tgpLgjK6YF0yvEPk", "confirmation_method": "automatic", - "created": 1709822466, + "created": 1709822916, "currency": "aud", "customer": null, "description": null, @@ -358,7 +358,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori86KuuB1fWySnurYGVy9H", + "payment_method": "pm_1OriFLKuuB1fWySnP0miEyw8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -383,5 +383,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:07 GMT + recorded_at: Thu, 07 Mar 2024 14:48:36 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml index 9e6daac7f5..389f87ef48 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Q7gqqiErJzAxsZ","request_duration_ms":712}}' + - '{"last_request_metrics":{"request_id":"req_5nLjo9cll0MY0O","request_duration_ms":819}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:35 GMT + - Thu, 07 Mar 2024 14:48:04 GMT Content-Type: - application/json Content-Length: @@ -62,7 +62,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_extR6H8TnlNpjp + - req_kqHYuTuaM4E2Ja Stripe-Version: - '2023-10-16' Vary: @@ -75,7 +75,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7bKuuB1fWySnc7TeWX6s", + "id": "pm_1OriEqKuuB1fWySnE4Gd2Y4Q", "object": "payment_method", "billing_details": { "address": { @@ -116,19 +116,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822435, + "created": 1709822884, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:35 GMT + recorded_at: Thu, 07 Mar 2024 14:48:04 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1Ori7bKuuB1fWySnc7TeWX6s&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1OriEqKuuB1fWySnE4Gd2Y4Q&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -137,7 +137,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_extR6H8TnlNpjp","request_duration_ms":441}}' + - '{"last_request_metrics":{"request_id":"req_kqHYuTuaM4E2Ja","request_duration_ms":429}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -157,7 +157,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:35 GMT + - Thu, 07 Mar 2024 14:48:05 GMT Content-Type: - application/json Content-Length: @@ -184,11 +184,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6bc3a06e-7d2b-4999-8ad1-452dda3bf918 + - 75ba1998-6300-4cb7-844d-a7f3dd7ed792 Original-Request: - - req_ZciWQHHwiVu7Tl + - req_Gyf0nV90DLN8Vz Request-Id: - - req_ZciWQHHwiVu7Tl + - req_Gyf0nV90DLN8Vz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -203,7 +203,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7bKuuB1fWySn0Hz617b7", + "id": "pi_3OriEqKuuB1fWySn064Rfosn", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -217,9 +217,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7bKuuB1fWySn0Hz617b7_secret_h9iOir7i7wge1d1by0DWBnNJB", + "client_secret": "pi_3OriEqKuuB1fWySn064Rfosn_secret_5CBqWQ6iHaoMniSNa1Ock25Jl", "confirmation_method": "automatic", - "created": 1709822435, + "created": 1709822884, "currency": "aud", "customer": null, "description": null, @@ -230,7 +230,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7bKuuB1fWySnc7TeWX6s", + "payment_method": "pm_1OriEqKuuB1fWySnE4Gd2Y4Q", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -255,10 +255,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:35 GMT + recorded_at: Thu, 07 Mar 2024 14:48:05 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7bKuuB1fWySn0Hz617b7/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEqKuuB1fWySn064Rfosn/confirm body: encoding: US-ASCII string: '' @@ -270,7 +270,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZciWQHHwiVu7Tl","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_Gyf0nV90DLN8Vz","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -290,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:36 GMT + - Thu, 07 Mar 2024 14:48:06 GMT Content-Type: - application/json Content-Length: @@ -318,11 +318,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9fc51b3f-ca67-4d20-b596-82943005fe07 + - a60f0a79-9885-40f8-a4c1-ff9d087b732f Original-Request: - - req_FXb1036EBrwN6n + - req_M2J2E6xt8gOOXZ Request-Id: - - req_FXb1036EBrwN6n + - req_M2J2E6xt8gOOXZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,7 +337,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7bKuuB1fWySn0Hz617b7", + "id": "pi_3OriEqKuuB1fWySn064Rfosn", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -351,20 +351,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7bKuuB1fWySn0Hz617b7_secret_h9iOir7i7wge1d1by0DWBnNJB", + "client_secret": "pi_3OriEqKuuB1fWySn064Rfosn_secret_5CBqWQ6iHaoMniSNa1Ock25Jl", "confirmation_method": "automatic", - "created": 1709822435, + "created": 1709822884, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori7bKuuB1fWySn0kMqeLbX", + "latest_charge": "ch_3OriEqKuuB1fWySn0zhjpuQb", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7bKuuB1fWySnc7TeWX6s", + "payment_method": "pm_1OriEqKuuB1fWySnE4Gd2Y4Q", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -389,10 +389,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:36 GMT + recorded_at: Thu, 07 Mar 2024 14:48:06 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7bKuuB1fWySn0Hz617b7 + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEqKuuB1fWySn064Rfosn body: encoding: US-ASCII string: '' @@ -404,7 +404,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FXb1036EBrwN6n","request_duration_ms":1017}}' + - '{"last_request_metrics":{"request_id":"req_M2J2E6xt8gOOXZ","request_duration_ms":1017}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -424,7 +424,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:39 GMT + - Thu, 07 Mar 2024 14:48:09 GMT Content-Type: - application/json Content-Length: @@ -452,7 +452,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_rL6qFnczJkl2cK + - req_baQxNsOvlAwyll Stripe-Version: - '2023-10-16' Vary: @@ -465,7 +465,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7bKuuB1fWySn0Hz617b7", + "id": "pi_3OriEqKuuB1fWySn064Rfosn", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -479,20 +479,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7bKuuB1fWySn0Hz617b7_secret_h9iOir7i7wge1d1by0DWBnNJB", + "client_secret": "pi_3OriEqKuuB1fWySn064Rfosn_secret_5CBqWQ6iHaoMniSNa1Ock25Jl", "confirmation_method": "automatic", - "created": 1709822435, + "created": 1709822884, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori7bKuuB1fWySn0kMqeLbX", + "latest_charge": "ch_3OriEqKuuB1fWySn0zhjpuQb", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7bKuuB1fWySnc7TeWX6s", + "payment_method": "pm_1OriEqKuuB1fWySnE4Gd2Y4Q", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -517,10 +517,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:40 GMT + recorded_at: Thu, 07 Mar 2024 14:48:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7bKuuB1fWySn0Hz617b7/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEqKuuB1fWySn064Rfosn/capture body: encoding: UTF-8 string: amount_to_capture=1000 @@ -551,11 +551,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:41 GMT + - Thu, 07 Mar 2024 14:48:11 GMT Content-Type: - application/json Content-Length: - - '5162' + - '5163' Connection: - close Access-Control-Allow-Credentials: @@ -579,11 +579,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - be2e58f1-3111-4244-8174-d6516b1baf2a + - 73a7d450-0dc1-41ae-ae13-06bc695bccef Original-Request: - - req_nBmMWrzSdXxOLZ + - req_0GqHQ1aV9MD6g7 Request-Id: - - req_nBmMWrzSdXxOLZ + - req_0GqHQ1aV9MD6g7 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -598,7 +598,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7bKuuB1fWySn0Hz617b7", + "id": "pi_3OriEqKuuB1fWySn064Rfosn", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -616,7 +616,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3Ori7bKuuB1fWySn0kMqeLbX", + "id": "ch_3OriEqKuuB1fWySn0zhjpuQb", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -625,7 +625,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Ori7bKuuB1fWySn0CNHYjdh", + "balance_transaction": "txn_3OriEqKuuB1fWySn0Le8XZWz", "billing_details": { "address": { "city": null, @@ -641,7 +641,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822436, + "created": 1709822885, "currency": "aud", "customer": null, "description": null, @@ -661,18 +661,18 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 5, + "risk_score": 61, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Ori7bKuuB1fWySn0Hz617b7", - "payment_method": "pm_1Ori7bKuuB1fWySnc7TeWX6s", + "payment_intent": "pi_3OriEqKuuB1fWySn064Rfosn", + "payment_method": "pm_1OriEqKuuB1fWySnE4Gd2Y4Q", "payment_method_details": { "card": { "amount_authorized": 1000, "brand": "mastercard", - "capture_before": 1710427236, + "capture_before": 1710427685, "checks": { "address_line1_check": null, "address_postal_code_check": null, @@ -711,14 +711,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKOmjp68GMgZfeKOuXEI6LBY3RRJ5TwebsH9iZuFoDL8mvOWaF3BACOf2kgbGhqQac12m65RooRH7B1b8", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKKqnp68GMgYF2ikq0GU6LBb65tFjlTGIfouAS2FfyGhTyCYL4hfPRGjufG_cBO0Zu-y1BvyKrKhyyObU", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3Ori7bKuuB1fWySn0kMqeLbX/refunds" + "url": "/v1/charges/ch_3OriEqKuuB1fWySn0zhjpuQb/refunds" }, "review": null, "shipping": null, @@ -733,22 +733,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3Ori7bKuuB1fWySn0Hz617b7" + "url": "/v1/charges?payment_intent=pi_3OriEqKuuB1fWySn064Rfosn" }, - "client_secret": "pi_3Ori7bKuuB1fWySn0Hz617b7_secret_h9iOir7i7wge1d1by0DWBnNJB", + "client_secret": "pi_3OriEqKuuB1fWySn064Rfosn_secret_5CBqWQ6iHaoMniSNa1Ock25Jl", "confirmation_method": "automatic", - "created": 1709822435, + "created": 1709822884, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori7bKuuB1fWySn0kMqeLbX", + "latest_charge": "ch_3OriEqKuuB1fWySn0zhjpuQb", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7bKuuB1fWySnc7TeWX6s", + "payment_method": "pm_1OriEqKuuB1fWySnE4Gd2Y4Q", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -773,5 +773,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:41 GMT + recorded_at: Thu, 07 Mar 2024 14:48:11 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml index 91a0a458a4..cd15d4eeb2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rL6qFnczJkl2cK","request_duration_ms":418}}' + - '{"last_request_metrics":{"request_id":"req_baQxNsOvlAwyll","request_duration_ms":353}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:41 GMT + - Thu, 07 Mar 2024 14:48:11 GMT Content-Type: - application/json Content-Length: @@ -62,7 +62,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_oD7G8nRL98LYn0 + - req_lFcr7Fsq5TB9v6 Stripe-Version: - '2023-10-16' Vary: @@ -75,7 +75,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7hKuuB1fWySnTGDFyiVb", + "id": "pm_1OriExKuuB1fWySn07MmoHh2", "object": "payment_method", "billing_details": { "address": { @@ -116,19 +116,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822441, + "created": 1709822891, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:41 GMT + recorded_at: Thu, 07 Mar 2024 14:48:11 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1Ori7hKuuB1fWySnTGDFyiVb&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1OriExKuuB1fWySn07MmoHh2&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -137,7 +137,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oD7G8nRL98LYn0","request_duration_ms":469}}' + - '{"last_request_metrics":{"request_id":"req_lFcr7Fsq5TB9v6","request_duration_ms":471}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -157,7 +157,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:42 GMT + - Thu, 07 Mar 2024 14:48:11 GMT Content-Type: - application/json Content-Length: @@ -184,11 +184,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 73b33219-a093-42a4-a200-6659b38f6d38 + - 393afe96-9545-47d2-b57d-4d8b251c2ffa Original-Request: - - req_epc3Nytguy0CVE + - req_DKNRphD7KORTL0 Request-Id: - - req_epc3Nytguy0CVE + - req_DKNRphD7KORTL0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -203,7 +203,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7iKuuB1fWySn2BlEJ68R", + "id": "pi_3OriExKuuB1fWySn262OHO3p", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -217,9 +217,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7iKuuB1fWySn2BlEJ68R_secret_abMGB9CzVQ2jyWao7cThW33oG", + "client_secret": "pi_3OriExKuuB1fWySn262OHO3p_secret_ZrX2sPZxRScbj4dfvCmreGzl6", "confirmation_method": "automatic", - "created": 1709822442, + "created": 1709822891, "currency": "aud", "customer": null, "description": null, @@ -230,7 +230,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7hKuuB1fWySnTGDFyiVb", + "payment_method": "pm_1OriExKuuB1fWySn07MmoHh2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -255,10 +255,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:42 GMT + recorded_at: Thu, 07 Mar 2024 14:48:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7iKuuB1fWySn2BlEJ68R/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriExKuuB1fWySn262OHO3p/confirm body: encoding: US-ASCII string: '' @@ -270,7 +270,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_epc3Nytguy0CVE","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_DKNRphD7KORTL0","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -290,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:43 GMT + - Thu, 07 Mar 2024 14:48:13 GMT Content-Type: - application/json Content-Length: @@ -318,11 +318,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3aea583c-514c-4bb3-a52c-9ef2219cccf5 + - 793774e8-60d9-420c-9178-be81d7960e96 Original-Request: - - req_HG6AcgFqizEawo + - req_S3BMWLW4RcvXVp Request-Id: - - req_HG6AcgFqizEawo + - req_S3BMWLW4RcvXVp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,7 +337,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7iKuuB1fWySn2BlEJ68R", + "id": "pi_3OriExKuuB1fWySn262OHO3p", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -351,20 +351,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7iKuuB1fWySn2BlEJ68R_secret_abMGB9CzVQ2jyWao7cThW33oG", + "client_secret": "pi_3OriExKuuB1fWySn262OHO3p_secret_ZrX2sPZxRScbj4dfvCmreGzl6", "confirmation_method": "automatic", - "created": 1709822442, + "created": 1709822891, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori7iKuuB1fWySn2AfTfhHW", + "latest_charge": "ch_3OriExKuuB1fWySn2z5rzT4R", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7hKuuB1fWySnTGDFyiVb", + "payment_method": "pm_1OriExKuuB1fWySn07MmoHh2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -389,5 +389,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:43 GMT + recorded_at: Thu, 07 Mar 2024 14:48:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml index c8ff4293a2..bbc12b3789 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HG6AcgFqizEawo","request_duration_ms":1019}}' + - '{"last_request_metrics":{"request_id":"req_S3BMWLW4RcvXVp","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:46 GMT + - Thu, 07 Mar 2024 14:48:16 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b4e01478-5a3e-4ef0-a340-b04b7583ce92 + - 5e83065f-e6cb-439e-8e4c-2d420e6cf19e Original-Request: - - req_hSgnju1DbcJ03r + - req_pLPW8LemVzX8dU Request-Id: - - req_hSgnju1DbcJ03r + - req_pLPW8LemVzX8dU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Ori7lQNzByhKcyV", + "id": "acct_1OriF1QQ3mkvuRYb", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822446, + "created": 1709822896, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -111,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Ori7lQNzByhKcyV/external_accounts" + "url": "/v1/accounts/acct_1OriF1QQ3mkvuRYb/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,7 +208,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:40:46 GMT + recorded_at: Thu, 07 Mar 2024 14:48:16 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -223,7 +223,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hSgnju1DbcJ03r","request_duration_ms":1738}}' + - '{"last_request_metrics":{"request_id":"req_pLPW8LemVzX8dU","request_duration_ms":1990}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:48 GMT + - Thu, 07 Mar 2024 14:48:18 GMT Content-Type: - application/json Content-Length: @@ -271,7 +271,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_CysEnpXKEhhAB7 + - req_Mn2fNuHAyfEJBV Stripe-Version: - '2023-10-16' Vary: @@ -284,7 +284,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7oKuuB1fWySnyRT14auJ", + "id": "pm_1OriF4KuuB1fWySnHtrUYQMM", "object": "payment_method", "billing_details": { "address": { @@ -325,13 +325,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822448, + "created": 1709822898, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:48 GMT + recorded_at: Thu, 07 Mar 2024 14:48:19 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -346,7 +346,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CysEnpXKEhhAB7","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_Mn2fNuHAyfEJBV","request_duration_ms":468}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -355,7 +355,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori7lQNzByhKcyV + - acct_1OriF1QQ3mkvuRYb Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -368,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:50 GMT + - Thu, 07 Mar 2024 14:48:20 GMT Content-Type: - application/json Content-Length: @@ -395,13 +395,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8fbeb5aa-1829-42c0-bbf3-7865316a354b + - ca4428d4-5508-472d-9d42-bf2cdfe54e52 Original-Request: - - req_RzL62c4KT1iFLZ + - req_CwHZ91RxIJuQMP Request-Id: - - req_RzL62c4KT1iFLZ + - req_CwHZ91RxIJuQMP Stripe-Account: - - acct_1Ori7lQNzByhKcyV + - acct_1OriF1QQ3mkvuRYb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -416,7 +416,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7oQNzByhKcyV0vKsfqj9", + "id": "pi_3OriF5QQ3mkvuRYb10lOohU6", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -430,20 +430,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3Ori7oQNzByhKcyV0vKsfqj9_secret_tBaKatvGWTAPkL8jlHAbnjkCF", + "client_secret": "pi_3OriF5QQ3mkvuRYb10lOohU6_secret_PgxhwHgWCirzsTFxS0TuU1U10", "confirmation_method": "automatic", - "created": 1709822448, + "created": 1709822899, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori7oQNzByhKcyV04k4gTbF", + "latest_charge": "ch_3OriF5QQ3mkvuRYb11Qk2ba1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7oQNzByhKcyVfSDNLaW1", + "payment_method": "pm_1OriF5QQ3mkvuRYbvsFcYj1t", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -468,10 +468,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:50 GMT + recorded_at: Thu, 07 Mar 2024 14:48:20 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7oQNzByhKcyV0vKsfqj9 + uri: https://api.stripe.com/v1/payment_intents/pi_3OriF5QQ3mkvuRYb10lOohU6 body: encoding: US-ASCII string: '' @@ -483,7 +483,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RzL62c4KT1iFLZ","request_duration_ms":1525}}' + - '{"last_request_metrics":{"request_id":"req_CwHZ91RxIJuQMP","request_duration_ms":1425}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -492,7 +492,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori7lQNzByhKcyV + - acct_1OriF1QQ3mkvuRYb Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:50 GMT + - Thu, 07 Mar 2024 14:48:20 GMT Content-Type: - application/json Content-Length: @@ -533,9 +533,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_xAG8WAPFTuUajm + - req_hBucB4DUy7B8vk Stripe-Account: - - acct_1Ori7lQNzByhKcyV + - acct_1OriF1QQ3mkvuRYb Stripe-Version: - '2023-10-16' Vary: @@ -548,7 +548,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7oQNzByhKcyV0vKsfqj9", + "id": "pi_3OriF5QQ3mkvuRYb10lOohU6", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -562,20 +562,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3Ori7oQNzByhKcyV0vKsfqj9_secret_tBaKatvGWTAPkL8jlHAbnjkCF", + "client_secret": "pi_3OriF5QQ3mkvuRYb10lOohU6_secret_PgxhwHgWCirzsTFxS0TuU1U10", "confirmation_method": "automatic", - "created": 1709822448, + "created": 1709822899, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori7oQNzByhKcyV04k4gTbF", + "latest_charge": "ch_3OriF5QQ3mkvuRYb11Qk2ba1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7oQNzByhKcyVfSDNLaW1", + "payment_method": "pm_1OriF5QQ3mkvuRYbvsFcYj1t", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -600,10 +600,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:50 GMT + recorded_at: Thu, 07 Mar 2024 14:48:20 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7oQNzByhKcyV0vKsfqj9 + uri: https://api.stripe.com/v1/payment_intents/pi_3OriF5QQ3mkvuRYb10lOohU6 body: encoding: US-ASCII string: '' @@ -619,7 +619,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Ori7lQNzByhKcyV + - acct_1OriF1QQ3mkvuRYb Connection: - close Accept-Encoding: @@ -634,7 +634,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:51 GMT + - Thu, 07 Mar 2024 14:48:21 GMT Content-Type: - application/json Content-Length: @@ -662,9 +662,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_SO7qVysGRbA1LK + - req_SmFdHHEpiKXX3C Stripe-Account: - - acct_1Ori7lQNzByhKcyV + - acct_1OriF1QQ3mkvuRYb Stripe-Version: - '2020-08-27' Vary: @@ -677,7 +677,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7oQNzByhKcyV0vKsfqj9", + "id": "pi_3OriF5QQ3mkvuRYb10lOohU6", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -695,7 +695,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3Ori7oQNzByhKcyV04k4gTbF", + "id": "ch_3OriF5QQ3mkvuRYb11Qk2ba1", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -703,7 +703,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Ori7oQNzByhKcyV00Vj7SNB", + "balance_transaction": "txn_3OriF5QQ3mkvuRYb1M0doCLX", "billing_details": { "address": { "city": null, @@ -719,7 +719,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822449, + "created": 1709822899, "currency": "aud", "customer": null, "description": null, @@ -739,13 +739,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 12, + "risk_score": 26, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Ori7oQNzByhKcyV0vKsfqj9", - "payment_method": "pm_1Ori7oQNzByhKcyVfSDNLaW1", + "payment_intent": "pi_3OriF5QQ3mkvuRYb10lOohU6", + "payment_method": "pm_1OriF5QQ3mkvuRYbvsFcYj1t", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -788,14 +788,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpN2xRTnpCeWhLY3lWKPOjp68GMgat2teo_yU6LBZei8EE6O-IBRXMYrMgqsuepvAzRVb5q6F5IN_Qa5YztW6AYcMCi2vW4zOE", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpRjFRUTNta3Z1UlliKLWnp68GMgaHTWLCJaw6LBYjB4ZmQWABSd0S0wE2EzpuUTxtLtkfv70I-ctgh7axOP7Ao-w-KXvC067F", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3Ori7oQNzByhKcyV04k4gTbF/refunds" + "url": "/v1/charges/ch_3OriF5QQ3mkvuRYb11Qk2ba1/refunds" }, "review": null, "shipping": null, @@ -810,22 +810,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3Ori7oQNzByhKcyV0vKsfqj9" + "url": "/v1/charges?payment_intent=pi_3OriF5QQ3mkvuRYb10lOohU6" }, - "client_secret": "pi_3Ori7oQNzByhKcyV0vKsfqj9_secret_tBaKatvGWTAPkL8jlHAbnjkCF", + "client_secret": "pi_3OriF5QQ3mkvuRYb10lOohU6_secret_PgxhwHgWCirzsTFxS0TuU1U10", "confirmation_method": "automatic", - "created": 1709822448, + "created": 1709822899, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori7oQNzByhKcyV04k4gTbF", + "latest_charge": "ch_3OriF5QQ3mkvuRYb11Qk2ba1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7oQNzByhKcyVfSDNLaW1", + "payment_method": "pm_1OriF5QQ3mkvuRYbvsFcYj1t", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -850,10 +850,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:51 GMT + recorded_at: Thu, 07 Mar 2024 14:48:21 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3Ori7oQNzByhKcyV04k4gTbF/refunds + uri: https://api.stripe.com/v1/charges/ch_3OriF5QQ3mkvuRYb11Qk2ba1/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -871,7 +871,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Ori7lQNzByhKcyV + - acct_1OriF1QQ3mkvuRYb Connection: - close Accept-Encoding: @@ -886,7 +886,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:52 GMT + - Thu, 07 Mar 2024 14:48:23 GMT Content-Type: - application/json Content-Length: @@ -914,13 +914,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e84843e9-8faf-4829-a6ab-3dba02da1d27 + - 4f88eef3-0461-47f9-8b5a-4971c9960bd6 Original-Request: - - req_PrKSNSscx5aeaF + - req_vYFDkgVnJjuetA Request-Id: - - req_PrKSNSscx5aeaF + - req_vYFDkgVnJjuetA Stripe-Account: - - acct_1Ori7lQNzByhKcyV + - acct_1OriF1QQ3mkvuRYb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -935,12 +935,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3Ori7oQNzByhKcyV0zHkdR4Q", + "id": "re_3OriF5QQ3mkvuRYb1CLCBwfC", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3Ori7oQNzByhKcyV0tTK1tp4", + "balance_transaction": "txn_3OriF5QQ3mkvuRYb1QFmeSZA", "charge": { - "id": "ch_3Ori7oQNzByhKcyV04k4gTbF", + "id": "ch_3OriF5QQ3mkvuRYb11Qk2ba1", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -948,7 +948,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Ori7oQNzByhKcyV00Vj7SNB", + "balance_transaction": "txn_3OriF5QQ3mkvuRYb1M0doCLX", "billing_details": { "address": { "city": null, @@ -964,7 +964,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822449, + "created": 1709822899, "currency": "aud", "customer": null, "description": null, @@ -984,13 +984,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 12, + "risk_score": 26, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Ori7oQNzByhKcyV0vKsfqj9", - "payment_method": "pm_1Ori7oQNzByhKcyVfSDNLaW1", + "payment_intent": "pi_3OriF5QQ3mkvuRYb10lOohU6", + "payment_method": "pm_1OriF5QQ3mkvuRYbvsFcYj1t", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -1033,18 +1033,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpN2xRTnpCeWhLY3lWKPSjp68GMgZ4gNmpwCs6LBZhBg9XmEDgHGUiSRXoCrlwSBe876OnBYqjqX15liR0Up5oQOYqNVn6UHL9", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpRjFRUTNta3Z1UlliKLanp68GMgYLRMAeaSc6LBbRLy5f9mUAv3yg0RLF_Wla7-iR-86gWQG2Vbtv4gN4ulP_O9G9KvycbHSW", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3Ori7oQNzByhKcyV0zHkdR4Q", + "id": "re_3OriF5QQ3mkvuRYb1CLCBwfC", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3Ori7oQNzByhKcyV0tTK1tp4", - "charge": "ch_3Ori7oQNzByhKcyV04k4gTbF", - "created": 1709822451, + "balance_transaction": "txn_3OriF5QQ3mkvuRYb1QFmeSZA", + "charge": "ch_3OriF5QQ3mkvuRYb11Qk2ba1", + "created": 1709822902, "currency": "aud", "destination_details": { "card": { @@ -1055,7 +1055,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Ori7oQNzByhKcyV0vKsfqj9", + "payment_intent": "pi_3OriF5QQ3mkvuRYb10lOohU6", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1065,7 +1065,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3Ori7oQNzByhKcyV04k4gTbF/refunds" + "url": "/v1/charges/ch_3OriF5QQ3mkvuRYb11Qk2ba1/refunds" }, "review": null, "shipping": null, @@ -1077,7 +1077,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1709822451, + "created": 1709822902, "currency": "aud", "destination_details": { "card": { @@ -1088,12 +1088,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Ori7oQNzByhKcyV0vKsfqj9", + "payment_intent": "pi_3OriF5QQ3mkvuRYb10lOohU6", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 07 Mar 2024 14:40:52 GMT + recorded_at: Thu, 07 Mar 2024 14:48:23 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml index f4393c4095..7f354cc3ac 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xAG8WAPFTuUajm","request_duration_ms":357}}' + - '{"last_request_metrics":{"request_id":"req_hBucB4DUy7B8vk","request_duration_ms":355}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:54 GMT + - Thu, 07 Mar 2024 14:48:24 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e08f780c-34e9-4e91-8f3f-5eb53d4c1ed3 + - 920d8292-d263-40ff-8777-d0fe4d153366 Original-Request: - - req_7Lg6WG0U7HnPdU + - req_x1NRSc0BuwMvQx Request-Id: - - req_7Lg6WG0U7HnPdU + - req_x1NRSc0BuwMvQx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Ori7sQO2yTltM9S", + "id": "acct_1OriF94Jkrv1ncjW", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822453, + "created": 1709822904, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -111,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Ori7sQO2yTltM9S/external_accounts" + "url": "/v1/accounts/acct_1OriF94Jkrv1ncjW/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,7 +208,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:40:54 GMT + recorded_at: Thu, 07 Mar 2024 14:48:24 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -223,7 +223,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7Lg6WG0U7HnPdU","request_duration_ms":1697}}' + - '{"last_request_metrics":{"request_id":"req_x1NRSc0BuwMvQx","request_duration_ms":1790}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:56 GMT + - Thu, 07 Mar 2024 14:48:26 GMT Content-Type: - application/json Content-Length: @@ -271,7 +271,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_txMzChdr5Selrd + - req_LulINrAryliltk Stripe-Version: - '2023-10-16' Vary: @@ -284,7 +284,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7wKuuB1fWySnhuAmRcku", + "id": "pm_1OriFCKuuB1fWySnvkgE3Gmp", "object": "payment_method", "billing_details": { "address": { @@ -325,13 +325,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822456, + "created": 1709822906, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:56 GMT + recorded_at: Thu, 07 Mar 2024 14:48:26 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -346,7 +346,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_txMzChdr5Selrd","request_duration_ms":343}}' + - '{"last_request_metrics":{"request_id":"req_LulINrAryliltk","request_duration_ms":522}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -355,7 +355,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori7sQO2yTltM9S + - acct_1OriF94Jkrv1ncjW Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -368,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:57 GMT + - Thu, 07 Mar 2024 14:48:27 GMT Content-Type: - application/json Content-Length: @@ -395,13 +395,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e5063196-550d-4050-add2-cb572af057a8 + - 9b2e993d-c7f6-4035-aacd-3d33d0c701b5 Original-Request: - - req_KUo6FebnoM0hO6 + - req_y5CKFHq2y6MfXW Request-Id: - - req_KUo6FebnoM0hO6 + - req_y5CKFHq2y6MfXW Stripe-Account: - - acct_1Ori7sQO2yTltM9S + - acct_1OriF94Jkrv1ncjW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -416,7 +416,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7wQO2yTltM9S0LduJtCF", + "id": "pi_3OriFD4Jkrv1ncjW0LtpZqUz", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -430,9 +430,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7wQO2yTltM9S0LduJtCF_secret_syZRbxWURLKt5vkm4Akbj4Yz0", + "client_secret": "pi_3OriFD4Jkrv1ncjW0LtpZqUz_secret_5uMDeeYQqy4zIQjeVuHLPIaIM", "confirmation_method": "automatic", - "created": 1709822456, + "created": 1709822907, "currency": "aud", "customer": null, "description": null, @@ -443,7 +443,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7wQO2yTltM9SFSWS5sCI", + "payment_method": "pm_1OriFD4Jkrv1ncjW49ngFlu9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -468,10 +468,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:57 GMT + recorded_at: Thu, 07 Mar 2024 14:48:27 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7wQO2yTltM9S0LduJtCF + uri: https://api.stripe.com/v1/payment_intents/pi_3OriFD4Jkrv1ncjW0LtpZqUz body: encoding: US-ASCII string: '' @@ -483,7 +483,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KUo6FebnoM0hO6","request_duration_ms":562}}' + - '{"last_request_metrics":{"request_id":"req_y5CKFHq2y6MfXW","request_duration_ms":465}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -492,7 +492,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori7sQO2yTltM9S + - acct_1OriF94Jkrv1ncjW Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:57 GMT + - Thu, 07 Mar 2024 14:48:27 GMT Content-Type: - application/json Content-Length: @@ -533,9 +533,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_rRIZgTQZWq25t6 + - req_NDQSpcnixgOEbh Stripe-Account: - - acct_1Ori7sQO2yTltM9S + - acct_1OriF94Jkrv1ncjW Stripe-Version: - '2023-10-16' Vary: @@ -548,7 +548,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7wQO2yTltM9S0LduJtCF", + "id": "pi_3OriFD4Jkrv1ncjW0LtpZqUz", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -562,9 +562,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7wQO2yTltM9S0LduJtCF_secret_syZRbxWURLKt5vkm4Akbj4Yz0", + "client_secret": "pi_3OriFD4Jkrv1ncjW0LtpZqUz_secret_5uMDeeYQqy4zIQjeVuHLPIaIM", "confirmation_method": "automatic", - "created": 1709822456, + "created": 1709822907, "currency": "aud", "customer": null, "description": null, @@ -575,7 +575,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7wQO2yTltM9SFSWS5sCI", + "payment_method": "pm_1OriFD4Jkrv1ncjW49ngFlu9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -600,10 +600,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:57 GMT + recorded_at: Thu, 07 Mar 2024 14:48:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7wQO2yTltM9S0LduJtCF/cancel + uri: https://api.stripe.com/v1/payment_intents/pi_3OriFD4Jkrv1ncjW0LtpZqUz/cancel body: encoding: US-ASCII string: '' @@ -621,7 +621,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Ori7sQO2yTltM9S + - acct_1OriF94Jkrv1ncjW Connection: - close Accept-Encoding: @@ -636,7 +636,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:58 GMT + - Thu, 07 Mar 2024 14:48:28 GMT Content-Type: - application/json Content-Length: @@ -664,13 +664,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 29b588dc-3dc8-4952-bd7f-f46a77a5b8bd + - 6a03a342-7487-4a4d-b581-3b420408cb1e Original-Request: - - req_AbxuaQ6j1ulYIl + - req_n3QryqCtCrh4ld Request-Id: - - req_AbxuaQ6j1ulYIl + - req_n3QryqCtCrh4ld Stripe-Account: - - acct_1Ori7sQO2yTltM9S + - acct_1OriF94Jkrv1ncjW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -685,7 +685,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7wQO2yTltM9S0LduJtCF", + "id": "pi_3OriFD4Jkrv1ncjW0LtpZqUz", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -696,7 +696,7 @@ http_interactions: "application": "", "application_fee_amount": null, "automatic_payment_methods": null, - "canceled_at": 1709822458, + "canceled_at": 1709822908, "cancellation_reason": null, "capture_method": "manual", "charges": { @@ -704,11 +704,11 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges?payment_intent=pi_3Ori7wQO2yTltM9S0LduJtCF" + "url": "/v1/charges?payment_intent=pi_3OriFD4Jkrv1ncjW0LtpZqUz" }, - "client_secret": "pi_3Ori7wQO2yTltM9S0LduJtCF_secret_syZRbxWURLKt5vkm4Akbj4Yz0", + "client_secret": "pi_3OriFD4Jkrv1ncjW0LtpZqUz_secret_5uMDeeYQqy4zIQjeVuHLPIaIM", "confirmation_method": "automatic", - "created": 1709822456, + "created": 1709822907, "currency": "aud", "customer": null, "description": null, @@ -719,7 +719,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7wQO2yTltM9SFSWS5sCI", + "payment_method": "pm_1OriFD4Jkrv1ncjW49ngFlu9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -744,5 +744,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:58 GMT + recorded_at: Thu, 07 Mar 2024 14:48:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml index 633450258b..872ddd4125 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ogaznpXJbLOhKJ","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_OW0XdLkNysDyJ4","request_duration_ms":351}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:07 GMT + - Thu, 07 Mar 2024 14:48:37 GMT Content-Type: - application/json; charset=utf-8 Content-Length: @@ -56,22 +56,22 @@ http_interactions: Referrer-Policy: - strict-origin-when-cross-origin Request-Id: - - req_SUHlIdivL6Afwj + - req_sUe2DBMA3zp1AX Set-Cookie: - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:41:07 GMT; secure; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:48:37 GMT; secure; HttpOnly; SameSite=Lax - - machine_identifier=LIo9pvKjSraJzuLHpNaxEkuU21OkGXrJfRGMqt4a3uM2vZ9zMwSirfX8UGpqj9f3jIQ%3D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:41:07 GMT; secure; + - machine_identifier=gcNvbXk83YCiQARDPr%2FWm%2Fudz6SKv9ICDs6QwJ%2BcOLcthYISJqSejQCBnFyL6z4tmm0%3D; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:48:37 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=u1D8fmraJboy1WpLmeWq1g%2BLETfZsOdKKLJMmxR2ldtCPgu%2BcgIElxwTH8o2FQo3F9g%3D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:41:07 GMT; secure; + - private_machine_identifier=CyeFDR7EsUL%2FgnP8sZJVqU2K66SjmSWNZSj5Z3m7T27TfPoe4Zfary4E%2BDJO54TchVc%3D; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:48:37 GMT; secure; HttpOnly; SameSite=None - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure - - stripe.csrf=06b1HDRoihLkQinlzZq9VU8-e5Jn2WUwavEz0yczXjVm7YyrtOE6K-iBjeGeb1qKHIvprp8zlFlKEgjcDUhs1Tw-AYTZVJx9uc7DFPFUnFBuuwKNTV1oua2NNBa_2KhCzSoNCuTqwA%3D%3D; + - stripe.csrf=y0Rqn0OuAamx_vu3tHXro2gQYagbh-n8tAoEwxmfGRfSdgSHKpr12BQyNCE4zT2OsDCXaOoHdlHNBZaUVDjBEDw-AYTZVJxlaE_F2HOX9QJfM8Qqpc1dE8PC9Fg5wCti4ygOiUKi8w%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -88,5 +88,5 @@ http_interactions: "error": "invalid_client", "error_description": "No such application: 'bogus_client_id'" } - recorded_at: Thu, 07 Mar 2024 14:41:07 GMT + recorded_at: Thu, 07 Mar 2024 14:48:37 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml index d71d984aaf..442e51a864 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ogaznpXJbLOhKJ","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_OW0XdLkNysDyJ4","request_duration_ms":351}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:10 GMT + - Thu, 07 Mar 2024 14:48:39 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 937217a1-2364-4448-8670-8d77daebb850 + - f47dd8b7-0ffd-4b9a-ba5b-2bc783370ab8 Original-Request: - - req_aZzJbIj2iipheI + - req_lJo2LIxGkIxE5y Request-Id: - - req_aZzJbIj2iipheI + - req_lJo2LIxGkIxE5y Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Ori88QMyTDSVWXo", + "id": "acct_1OriFOQKkNA1tFF3", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822469, + "created": 1709822919, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -111,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Ori88QMyTDSVWXo/external_accounts" + "url": "/v1/accounts/acct_1OriFOQKkNA1tFF3/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,13 +208,13 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:41:10 GMT + recorded_at: Thu, 07 Mar 2024 14:48:39 GMT - request: method: post uri: https://connect.stripe.com/oauth/deauthorize body: encoding: UTF-8 - string: stripe_user_id=acct_1Ori88QMyTDSVWXo&client_id= + string: stripe_user_id=acct_1OriFOQKkNA1tFF3&client_id= headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -223,7 +223,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aZzJbIj2iipheI","request_duration_ms":1814}}' + - '{"last_request_metrics":{"request_id":"req_lJo2LIxGkIxE5y","request_duration_ms":1853}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:10 GMT + - Thu, 07 Mar 2024 14:48:40 GMT Content-Type: - application/json Content-Length: @@ -265,22 +265,22 @@ http_interactions: Referrer-Policy: - strict-origin-when-cross-origin Request-Id: - - req_I04qjJTNoJQUV3 + - req_lEfpYDp0tuhsp7 Set-Cookie: - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:41:10 GMT; secure; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:48:40 GMT; secure; HttpOnly; SameSite=Lax - - machine_identifier=VMqWi2RmkeReggrqoUkAhXAv2BeNEjEOjKuWE5TjMD5slIN2oL0z6psMqikJUG2a3xE%3D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:41:10 GMT; secure; + - machine_identifier=0icC6M6VfeyM7BzjC0tYoX629my9lhkyrxJYoRcATNDEM8OnzFD8g55JicehX8IMN%2FY%3D; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:48:40 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=VjPGRrXoHsBEHZvVM82aF8TUbGDPBB2TbA0wW%2BmlBliBwL9BcKuZ8bPGqJQz2g%2BXhYA%3D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:41:10 GMT; secure; + - private_machine_identifier=S0LtABQ4l9BTTD%2BGcXRz0OfoPxV4ClEj2BBph%2BfgdGp%2BzOLE4cZp0GnZy%2BWH2TSXxFU%3D; + domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:48:40 GMT; secure; HttpOnly; SameSite=None - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure - - stripe.csrf=ocrN4JfSf5grJyZZXlOpYA8CxzFrOywwaI0m-eBdSbd_s3nvDZlGOpR-rcLrAC8b9jMiux0G41xKylaugNHuHDw-AYTZVJxB6_tBp3Z3uasShlFUnX-xtz0w0mr4jdMGTA9DwYdgoA%3D%3D; + - stripe.csrf=KUF9MEdKNrp1ELanG9nkomW7BDb013YXnyba1xKKWhFxOwBIt4NhVJgssyO1Tw4y__7dvRurcWgdEePlJmixMTw-AYTZVJwbyGnD1P9CDaLTNKr282PkuKSHF1yM0h_wUZtCiKeufA%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -292,7 +292,7 @@ http_interactions: encoding: UTF-8 string: |- { - "stripe_user_id": "acct_1Ori88QMyTDSVWXo" + "stripe_user_id": "acct_1OriFOQKkNA1tFF3" } - recorded_at: Thu, 07 Mar 2024 14:41:10 GMT + recorded_at: Thu, 07 Mar 2024 14:48:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml index 349c87e29e..41011fe897 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pMNzxVkMDuLMw8","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_o3NigH6OPFNBwQ","request_duration_ms":1328}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:19 GMT + - Thu, 07 Mar 2024 14:48:49 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5d33ce74-4944-42aa-b0da-36fd60c7be8d + - 235fb16d-787e-4e4c-844c-feeb2425acf7 Original-Request: - - req_UGX3uIDAanmJsb + - req_ad9SF8AhoqRjVr Request-Id: - - req_UGX3uIDAanmJsb + - req_ad9SF8AhoqRjVr Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori8JKuuB1fWySnVjgHCYcO", + "id": "pm_1OriFZKuuB1fWySnD8LaYTHq", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822479, + "created": 1709822929, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:41:19 GMT + recorded_at: Thu, 07 Mar 2024 14:48:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1Ori8JKuuB1fWySnVjgHCYcO&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OriFZKuuB1fWySnD8LaYTHq&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UGX3uIDAanmJsb","request_duration_ms":426}}' + - '{"last_request_metrics":{"request_id":"req_ad9SF8AhoqRjVr","request_duration_ms":454}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:20 GMT + - Thu, 07 Mar 2024 14:48:50 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c3f9f2bb-f4d8-482c-8c6e-8644b249fe97 + - 30191e3f-fb77-48b5-aa58-b5c90ee0d9d5 Original-Request: - - req_hZJ7S64Kp9M0x4 + - req_MClv13PY1YPuIc Request-Id: - - req_hZJ7S64Kp9M0x4 + - req_MClv13PY1YPuIc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8KKuuB1fWySn0EmbEN15", + "id": "pi_3OriFZKuuB1fWySn0lexso2f", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori8KKuuB1fWySn0EmbEN15_secret_oYcH7OFgNG6BbUQP8rfxNo8bK", + "client_secret": "pi_3OriFZKuuB1fWySn0lexso2f_secret_iJ2Jz5vcrySOoPlvXbwT5OQRE", "confirmation_method": "automatic", - "created": 1709822480, + "created": 1709822929, "currency": "aud", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8JKuuB1fWySnVjgHCYcO", + "payment_method": "pm_1OriFZKuuB1fWySnD8LaYTHq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:20 GMT + recorded_at: Thu, 07 Mar 2024 14:48:50 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8KKuuB1fWySn0EmbEN15/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriFZKuuB1fWySn0lexso2f/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hZJ7S64Kp9M0x4","request_duration_ms":421}}' + - '{"last_request_metrics":{"request_id":"req_MClv13PY1YPuIc","request_duration_ms":393}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:21 GMT + - Thu, 07 Mar 2024 14:48:51 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bea72dfa-9d34-454c-a370-3facfb293c5c + - 46805f16-33ba-4a67-bde3-2482f41b0a1f Original-Request: - - req_u9tmJQBXlu7FhN + - req_piW9Ok7Do4NTUo Request-Id: - - req_u9tmJQBXlu7FhN + - req_piW9Ok7Do4NTUo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8KKuuB1fWySn0EmbEN15", + "id": "pi_3OriFZKuuB1fWySn0lexso2f", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori8KKuuB1fWySn0EmbEN15_secret_oYcH7OFgNG6BbUQP8rfxNo8bK", + "client_secret": "pi_3OriFZKuuB1fWySn0lexso2f_secret_iJ2Jz5vcrySOoPlvXbwT5OQRE", "confirmation_method": "automatic", - "created": 1709822480, + "created": 1709822929, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori8KKuuB1fWySn0tL2KATn", + "latest_charge": "ch_3OriFZKuuB1fWySn061IMsXA", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8JKuuB1fWySnVjgHCYcO", + "payment_method": "pm_1OriFZKuuB1fWySnD8LaYTHq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:21 GMT + recorded_at: Thu, 07 Mar 2024 14:48:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8KKuuB1fWySn0EmbEN15/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriFZKuuB1fWySn0lexso2f/capture body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_u9tmJQBXlu7FhN","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_piW9Ok7Do4NTUo","request_duration_ms":1132}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:22 GMT + - Thu, 07 Mar 2024 14:48:52 GMT Content-Type: - application/json Content-Length: @@ -457,11 +457,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 25eab43f-9450-41f3-9ea7-c8f3d37ed4b8 + - b15dc920-ef4a-4776-9a08-72c7e13803ce Original-Request: - - req_hDlID2MrSQxkiW + - req_2erquHw2hOf88R Request-Id: - - req_hDlID2MrSQxkiW + - req_2erquHw2hOf88R Stripe-Should-Retry: - 'false' Stripe-Version: @@ -476,7 +476,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8KKuuB1fWySn0EmbEN15", + "id": "pi_3OriFZKuuB1fWySn0lexso2f", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -490,20 +490,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori8KKuuB1fWySn0EmbEN15_secret_oYcH7OFgNG6BbUQP8rfxNo8bK", + "client_secret": "pi_3OriFZKuuB1fWySn0lexso2f_secret_iJ2Jz5vcrySOoPlvXbwT5OQRE", "confirmation_method": "automatic", - "created": 1709822480, + "created": 1709822929, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori8KKuuB1fWySn0tL2KATn", + "latest_charge": "ch_3OriFZKuuB1fWySn061IMsXA", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8JKuuB1fWySnVjgHCYcO", + "payment_method": "pm_1OriFZKuuB1fWySnD8LaYTHq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -528,10 +528,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:22 GMT + recorded_at: Thu, 07 Mar 2024 14:48:52 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8KKuuB1fWySn0EmbEN15 + uri: https://api.stripe.com/v1/payment_intents/pi_3OriFZKuuB1fWySn0lexso2f body: encoding: US-ASCII string: '' @@ -543,7 +543,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hDlID2MrSQxkiW","request_duration_ms":1373}}' + - '{"last_request_metrics":{"request_id":"req_2erquHw2hOf88R","request_duration_ms":1533}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -563,7 +563,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:23 GMT + - Thu, 07 Mar 2024 14:48:53 GMT Content-Type: - application/json Content-Length: @@ -591,7 +591,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_6xn7ayvYoWpsVL + - req_feXQoy32mXZnQ3 Stripe-Version: - '2023-10-16' Vary: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8KKuuB1fWySn0EmbEN15", + "id": "pi_3OriFZKuuB1fWySn0lexso2f", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori8KKuuB1fWySn0EmbEN15_secret_oYcH7OFgNG6BbUQP8rfxNo8bK", + "client_secret": "pi_3OriFZKuuB1fWySn0lexso2f_secret_iJ2Jz5vcrySOoPlvXbwT5OQRE", "confirmation_method": "automatic", - "created": 1709822480, + "created": 1709822929, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori8KKuuB1fWySn0tL2KATn", + "latest_charge": "ch_3OriFZKuuB1fWySn061IMsXA", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8JKuuB1fWySnVjgHCYcO", + "payment_method": "pm_1OriFZKuuB1fWySnD8LaYTHq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,5 +656,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:23 GMT + recorded_at: Thu, 07 Mar 2024 14:48:53 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml index e85ed7810a..4001ecad82 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_L0Zlzwkqc3YdbF","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_5T6TqXkyillUiE","request_duration_ms":499}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:16 GMT + - Thu, 07 Mar 2024 14:48:46 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8e7cfb17-4e3e-4fc7-a0b1-9c3ad716de1f + - e5637f3f-3310-4cbd-8cbd-fd4ef60850c8 Original-Request: - - req_dfbV7M4jL75hYk + - req_UDUq69qk2z78BO Request-Id: - - req_dfbV7M4jL75hYk + - req_UDUq69qk2z78BO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori8FKuuB1fWySn7pMraVWu", + "id": "pm_1OriFVKuuB1fWySnsvt1HEak", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822475, + "created": 1709822925, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:41:16 GMT + recorded_at: Thu, 07 Mar 2024 14:48:46 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1Ori8FKuuB1fWySn7pMraVWu&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OriFVKuuB1fWySnsvt1HEak&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dfbV7M4jL75hYk","request_duration_ms":475}}' + - '{"last_request_metrics":{"request_id":"req_UDUq69qk2z78BO","request_duration_ms":464}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:16 GMT + - Thu, 07 Mar 2024 14:48:46 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9ec05b28-989a-4976-b7d9-6ce9a8af86b7 + - 38f5f99d-44cb-42f0-9796-fe75f57dc368 Original-Request: - - req_SJkBD2nfwKcbQ8 + - req_hCbHULRNGTTSGy Request-Id: - - req_SJkBD2nfwKcbQ8 + - req_hCbHULRNGTTSGy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8GKuuB1fWySn2em2DWAM", + "id": "pi_3OriFWKuuB1fWySn2kBpq5LO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori8GKuuB1fWySn2em2DWAM_secret_lXzl2BZ2yZjXNmclXenZ4B5fS", + "client_secret": "pi_3OriFWKuuB1fWySn2kBpq5LO_secret_B6nYNTYXuZZWep4UouXM3Pw0E", "confirmation_method": "automatic", - "created": 1709822476, + "created": 1709822926, "currency": "aud", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8FKuuB1fWySn7pMraVWu", + "payment_method": "pm_1OriFVKuuB1fWySnsvt1HEak", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:16 GMT + recorded_at: Thu, 07 Mar 2024 14:48:46 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8GKuuB1fWySn2em2DWAM/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriFWKuuB1fWySn2kBpq5LO/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SJkBD2nfwKcbQ8","request_duration_ms":505}}' + - '{"last_request_metrics":{"request_id":"req_hCbHULRNGTTSGy","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:17 GMT + - Thu, 07 Mar 2024 14:48:47 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d2a18ad2-6709-400d-914e-c7613aa6f031 + - 87f122e3-d739-4062-8c8d-545f6aba3726 Original-Request: - - req_3gbfhcvP1uFnd1 + - req_AYa0AyU7oUfUh8 Request-Id: - - req_3gbfhcvP1uFnd1 + - req_AYa0AyU7oUfUh8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8GKuuB1fWySn2em2DWAM", + "id": "pi_3OriFWKuuB1fWySn2kBpq5LO", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori8GKuuB1fWySn2em2DWAM_secret_lXzl2BZ2yZjXNmclXenZ4B5fS", + "client_secret": "pi_3OriFWKuuB1fWySn2kBpq5LO_secret_B6nYNTYXuZZWep4UouXM3Pw0E", "confirmation_method": "automatic", - "created": 1709822476, + "created": 1709822926, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori8GKuuB1fWySn2UYKXCTG", + "latest_charge": "ch_3OriFWKuuB1fWySn27OAmEL4", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8FKuuB1fWySn7pMraVWu", + "payment_method": "pm_1OriFVKuuB1fWySnsvt1HEak", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:17 GMT + recorded_at: Thu, 07 Mar 2024 14:48:47 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8GKuuB1fWySn2em2DWAM/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriFWKuuB1fWySn2kBpq5LO/capture body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3gbfhcvP1uFnd1","request_duration_ms":1326}}' + - '{"last_request_metrics":{"request_id":"req_AYa0AyU7oUfUh8","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:19 GMT + - Thu, 07 Mar 2024 14:48:48 GMT Content-Type: - application/json Content-Length: @@ -457,11 +457,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2be2a507-510b-4e22-bdea-44334806b5bf + - 488c527b-30a4-4e25-81f6-852347b98509 Original-Request: - - req_pMNzxVkMDuLMw8 + - req_o3NigH6OPFNBwQ Request-Id: - - req_pMNzxVkMDuLMw8 + - req_o3NigH6OPFNBwQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -476,7 +476,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8GKuuB1fWySn2em2DWAM", + "id": "pi_3OriFWKuuB1fWySn2kBpq5LO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -490,20 +490,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori8GKuuB1fWySn2em2DWAM_secret_lXzl2BZ2yZjXNmclXenZ4B5fS", + "client_secret": "pi_3OriFWKuuB1fWySn2kBpq5LO_secret_B6nYNTYXuZZWep4UouXM3Pw0E", "confirmation_method": "automatic", - "created": 1709822476, + "created": 1709822926, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori8GKuuB1fWySn2UYKXCTG", + "latest_charge": "ch_3OriFWKuuB1fWySn27OAmEL4", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8FKuuB1fWySn7pMraVWu", + "payment_method": "pm_1OriFVKuuB1fWySnsvt1HEak", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -528,5 +528,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:19 GMT + recorded_at: Thu, 07 Mar 2024 14:48:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml index 5965178af1..7df7aa188b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FWJEctwqJcgeBi","request_duration_ms":383}}' + - '{"last_request_metrics":{"request_id":"req_42dGvaEspnAJ5u","request_duration_ms":380}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:14 GMT + - Thu, 07 Mar 2024 14:48:44 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cd5d5a09-c057-43e2-aa5d-3e8a1a59f5d4 + - 186951de-4d33-42ef-a436-d0fec6a0ba9c Original-Request: - - req_vYaJTtEDCQnJtP + - req_T5UceAUr4oUhRj Request-Id: - - req_vYaJTtEDCQnJtP + - req_T5UceAUr4oUhRj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori8EKuuB1fWySnaqnQ8EeK", + "id": "pm_1OriFUKuuB1fWySndZNYRszo", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822474, + "created": 1709822924, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:41:15 GMT + recorded_at: Thu, 07 Mar 2024 14:48:44 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1Ori8EKuuB1fWySnaqnQ8EeK&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OriFUKuuB1fWySndZNYRszo&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vYaJTtEDCQnJtP","request_duration_ms":549}}' + - '{"last_request_metrics":{"request_id":"req_T5UceAUr4oUhRj","request_duration_ms":488}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:15 GMT + - Thu, 07 Mar 2024 14:48:45 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6d0c0502-4013-4efb-8f8b-6c2b48bea5e1 + - 006eef48-548a-4917-810e-b1f859256334 Original-Request: - - req_L0Zlzwkqc3YdbF + - req_5T6TqXkyillUiE Request-Id: - - req_L0Zlzwkqc3YdbF + - req_5T6TqXkyillUiE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8FKuuB1fWySn2YGbZCFH", + "id": "pi_3OriFVKuuB1fWySn2vhLxBkG", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori8FKuuB1fWySn2YGbZCFH_secret_xm0kdPkWrFnVV5GeJsc4sZmS2", + "client_secret": "pi_3OriFVKuuB1fWySn2vhLxBkG_secret_BI4MZOFbOwCobPT8CNktjyWYF", "confirmation_method": "automatic", - "created": 1709822475, + "created": 1709822925, "currency": "aud", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8EKuuB1fWySnaqnQ8EeK", + "payment_method": "pm_1OriFUKuuB1fWySndZNYRszo", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,5 +260,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:15 GMT + recorded_at: Thu, 07 Mar 2024 14:48:45 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml index 0891ccdf3e..801385536b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_06o4E8GITiHN0Q","request_duration_ms":503}}' + - '{"last_request_metrics":{"request_id":"req_eEvhSNZCETUcnF","request_duration_ms":598}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:13 GMT + - Thu, 07 Mar 2024 14:48:43 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - be6c5475-72d1-4ca8-b5a1-75bb5ddedebb + - 67d21b4c-7254-43b2-8022-4b7bf893bd80 Original-Request: - - req_bNCZoW4zD2e4JG + - req_3V9QGRPgXOhXkA Request-Id: - - req_bNCZoW4zD2e4JG + - req_3V9QGRPgXOhXkA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori8CKuuB1fWySny2aysCKg", + "id": "pm_1OriFSKuuB1fWySnPwVI2ORl", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822472, + "created": 1709822922, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:41:13 GMT + recorded_at: Thu, 07 Mar 2024 14:48:43 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1Ori8CKuuB1fWySny2aysCKg&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OriFSKuuB1fWySnPwVI2ORl&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bNCZoW4zD2e4JG","request_duration_ms":562}}' + - '{"last_request_metrics":{"request_id":"req_3V9QGRPgXOhXkA","request_duration_ms":493}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:13 GMT + - Thu, 07 Mar 2024 14:48:43 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6381a7b1-d97e-46e6-b6f9-9eccaab81389 + - 1bd7876f-0f4a-4c16-8dc4-0d3d407fe602 Original-Request: - - req_DMThzAqEU7rgiP + - req_HEQFtFE7AsslZC Request-Id: - - req_DMThzAqEU7rgiP + - req_HEQFtFE7AsslZC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8DKuuB1fWySn1qZydRdL", + "id": "pi_3OriFTKuuB1fWySn0e2gnIeK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori8DKuuB1fWySn1qZydRdL_secret_rlLmVu16IyhpXCZCHIcX2bGM0", + "client_secret": "pi_3OriFTKuuB1fWySn0e2gnIeK_secret_0rVnepxbGgvpeXxou51cEJ8l3", "confirmation_method": "automatic", - "created": 1709822473, + "created": 1709822923, "currency": "aud", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8CKuuB1fWySny2aysCKg", + "payment_method": "pm_1OriFSKuuB1fWySnPwVI2ORl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:13 GMT + recorded_at: Thu, 07 Mar 2024 14:48:43 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8DKuuB1fWySn1qZydRdL + uri: https://api.stripe.com/v1/payment_intents/pi_3OriFTKuuB1fWySn0e2gnIeK body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DMThzAqEU7rgiP","request_duration_ms":499}}' + - '{"last_request_metrics":{"request_id":"req_HEQFtFE7AsslZC","request_duration_ms":496}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:14 GMT + - Thu, 07 Mar 2024 14:48:44 GMT Content-Type: - application/json Content-Length: @@ -323,7 +323,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_FWJEctwqJcgeBi + - req_42dGvaEspnAJ5u Stripe-Version: - '2023-10-16' Vary: @@ -336,7 +336,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8DKuuB1fWySn1qZydRdL", + "id": "pi_3OriFTKuuB1fWySn0e2gnIeK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -350,9 +350,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori8DKuuB1fWySn1qZydRdL_secret_rlLmVu16IyhpXCZCHIcX2bGM0", + "client_secret": "pi_3OriFTKuuB1fWySn0e2gnIeK_secret_0rVnepxbGgvpeXxou51cEJ8l3", "confirmation_method": "automatic", - "created": 1709822473, + "created": 1709822923, "currency": "aud", "customer": null, "description": null, @@ -363,7 +363,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8CKuuB1fWySny2aysCKg", + "payment_method": "pm_1OriFSKuuB1fWySnPwVI2ORl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +388,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:14 GMT + recorded_at: Thu, 07 Mar 2024 14:48:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml index d31e650cad..e110c60e5f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_I04qjJTNoJQUV3","request_duration_ms":517}}' + - '{"last_request_metrics":{"request_id":"req_lEfpYDp0tuhsp7","request_duration_ms":516}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:11 GMT + - Thu, 07 Mar 2024 14:48:41 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f6c5f951-515b-449a-bcee-e9fbf33948c2 + - b773a2e5-06fe-4339-8f06-1e2d35b12ee5 Original-Request: - - req_LS7pj5klbtv4yX + - req_vTsusqMInJtN5B Request-Id: - - req_LS7pj5klbtv4yX + - req_vTsusqMInJtN5B Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori8BKuuB1fWySn2bbZPzbv", + "id": "pm_1OriFRKuuB1fWySnvigkMIwI", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822471, + "created": 1709822921, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:41:11 GMT + recorded_at: Thu, 07 Mar 2024 14:48:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1Ori8BKuuB1fWySn2bbZPzbv&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OriFRKuuB1fWySnvigkMIwI&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LS7pj5klbtv4yX","request_duration_ms":412}}' + - '{"last_request_metrics":{"request_id":"req_vTsusqMInJtN5B","request_duration_ms":473}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:12 GMT + - Thu, 07 Mar 2024 14:48:42 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 524e45a6-129b-44ce-a789-00666f657966 + - 5c136a6c-665d-48b2-bba7-ca16b3dbd579 Original-Request: - - req_06o4E8GITiHN0Q + - req_eEvhSNZCETUcnF Request-Id: - - req_06o4E8GITiHN0Q + - req_eEvhSNZCETUcnF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8BKuuB1fWySn0eTo2AO2", + "id": "pi_3OriFRKuuB1fWySn2EN1KjnV", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori8BKuuB1fWySn0eTo2AO2_secret_FhbTuBgZcWPvVK0BCmJQzKE9a", + "client_secret": "pi_3OriFRKuuB1fWySn2EN1KjnV_secret_gjojWTZHhDWZUGZBM9LdGUetq", "confirmation_method": "automatic", - "created": 1709822471, + "created": 1709822921, "currency": "aud", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8BKuuB1fWySn2bbZPzbv", + "payment_method": "pm_1OriFRKuuB1fWySnvigkMIwI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,5 +260,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:12 GMT + recorded_at: Thu, 07 Mar 2024 14:48:42 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml index 6a5b647e58..999b3efcde 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8JCk5jQYHzpR3e","request_duration_ms":328}}' + - '{"last_request_metrics":{"request_id":"req_pKEIlsFmzmlbhI","request_duration_ms":326}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:19 GMT + - Thu, 07 Mar 2024 14:45:49 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0b5419b4-9507-4bcb-9ea2-20db3df6113c + - 6101ed0f-7b69-46fc-a827-67a9218d890a Original-Request: - - req_Qo1uHXkvzXin5c + - req_YcLBCxelSOKQ47 Request-Id: - - req_Qo1uHXkvzXin5c + - req_YcLBCxelSOKQ47 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5OKuuB1fWySngtpqQyHp", + "id": "pm_1OriCfKuuB1fWySnpdQgSwLL", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822299, + "created": 1709822749, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:19 GMT + recorded_at: Thu, 07 Mar 2024 14:45:49 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Qo1uHXkvzXin5c","request_duration_ms":454}}' + - '{"last_request_metrics":{"request_id":"req_YcLBCxelSOKQ47","request_duration_ms":579}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:20 GMT + - Thu, 07 Mar 2024 14:45:51 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 714a4da9-7648-4f6f-afa8-1ae8c762346a + - 77149006-10f3-43ad-8d01-7eddf44ae000 Original-Request: - - req_cD28Uznz5JJ3jK + - req_VBjKaqBajh3f6L Request-Id: - - req_cD28Uznz5JJ3jK + - req_VBjKaqBajh3f6L Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Ori5PQMksYIk9Cz", + "id": "acct_1OriCg4CFZ3LdChW", "object": "account", "business_profile": { "annual_revenue": null, @@ -230,7 +230,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822300, + "created": 1709822750, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -239,7 +239,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Ori5PQMksYIk9Cz/external_accounts" + "url": "/v1/accounts/acct_1OriCg4CFZ3LdChW/external_accounts" }, "future_requirements": { "alternatives": [], @@ -336,10 +336,10 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:38:20 GMT + recorded_at: Thu, 07 Mar 2024 14:45:51 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5OKuuB1fWySngtpqQyHp + uri: https://api.stripe.com/v1/payment_methods/pm_1OriCfKuuB1fWySnpdQgSwLL body: encoding: US-ASCII string: '' @@ -351,7 +351,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cD28Uznz5JJ3jK","request_duration_ms":1632}}' + - '{"last_request_metrics":{"request_id":"req_VBjKaqBajh3f6L","request_duration_ms":1626}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -371,7 +371,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:21 GMT + - Thu, 07 Mar 2024 14:45:51 GMT Content-Type: - application/json Content-Length: @@ -399,7 +399,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_4Jr62WaId64FyJ + - req_fn44zyRIZTLQ5N Stripe-Version: - '2023-10-16' Vary: @@ -412,7 +412,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5OKuuB1fWySngtpqQyHp", + "id": "pm_1OriCfKuuB1fWySnpdQgSwLL", "object": "payment_method", "billing_details": { "address": { @@ -453,13 +453,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822299, + "created": 1709822749, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:21 GMT + recorded_at: Thu, 07 Mar 2024 14:45:51 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -474,7 +474,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4Jr62WaId64FyJ","request_duration_ms":402}}' + - '{"last_request_metrics":{"request_id":"req_fn44zyRIZTLQ5N","request_duration_ms":381}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -483,7 +483,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori5PQMksYIk9Cz + - acct_1OriCg4CFZ3LdChW Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -496,7 +496,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:21 GMT + - Thu, 07 Mar 2024 14:45:52 GMT Content-Type: - application/json Content-Length: @@ -523,9 +523,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_soxaElMny9orhp + - req_2f9qDn0mfR22Se Stripe-Account: - - acct_1Ori5PQMksYIk9Cz + - acct_1OriCg4CFZ3LdChW Stripe-Version: - '2023-10-16' Vary: @@ -543,13 +543,13 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Thu, 07 Mar 2024 14:38:21 GMT + recorded_at: Thu, 07 Mar 2024 14:45:52 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: payment_method=pm_1Ori5OKuuB1fWySngtpqQyHp + string: payment_method=pm_1OriCfKuuB1fWySnpdQgSwLL headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -558,7 +558,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_soxaElMny9orhp","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_2f9qDn0mfR22Se","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -567,7 +567,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori5PQMksYIk9Cz + - acct_1OriCg4CFZ3LdChW Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -580,7 +580,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:21 GMT + - Thu, 07 Mar 2024 14:45:52 GMT Content-Type: - application/json Content-Length: @@ -607,13 +607,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4cf88099-440f-47fc-91c2-9847afbcfba4 + - fcd7e05e-1296-4dbb-8ccf-b4a8ee1804d5 Original-Request: - - req_nrmZ4aHKcfXuKO + - req_1EalKMn4M5DCqZ Request-Id: - - req_nrmZ4aHKcfXuKO + - req_1EalKMn4M5DCqZ Stripe-Account: - - acct_1Ori5PQMksYIk9Cz + - acct_1OriCg4CFZ3LdChW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -628,7 +628,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5RQMksYIk9CzUYEEEsVS", + "id": "pm_1OriCi4CFZ3LdChWTjz0x3C0", "object": "payment_method", "billing_details": { "address": { @@ -669,11 +669,11 @@ http_interactions: }, "wallet": null }, - "created": 1709822301, + "created": 1709822752, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:21 GMT + recorded_at: Thu, 07 Mar 2024 14:45:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml index b0eb338c85..984a09eb44 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nrmZ4aHKcfXuKO","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_1EalKMn4M5DCqZ","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:22 GMT + - Thu, 07 Mar 2024 14:45:53 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cf1f41ac-29a7-498c-85a1-8cb6cf996cdf + - '018905b8-f5c0-4087-9345-572793557b15' Original-Request: - - req_YW6wZQTw2ViXbm + - req_gxQPjhJV5NIqkv Request-Id: - - req_YW6wZQTw2ViXbm + - req_gxQPjhJV5NIqkv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5SKuuB1fWySnd18udlix", + "id": "pm_1OriCjKuuB1fWySnRK5Aqo2H", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822302, + "created": 1709822753, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:22 GMT + recorded_at: Thu, 07 Mar 2024 14:45:53 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YW6wZQTw2ViXbm","request_duration_ms":452}}' + - '{"last_request_metrics":{"request_id":"req_gxQPjhJV5NIqkv","request_duration_ms":474}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:23 GMT + - Thu, 07 Mar 2024 14:45:53 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0b1194cd-8e5d-4455-bcb0-3ce726f52a8b + - 2bc2adfc-47b3-4c4f-be0b-e36a344d1e7f Original-Request: - - req_3srXySztdbZjGY + - req_0sDdCeBKQsUMn1 Request-Id: - - req_3srXySztdbZjGY + - req_0sDdCeBKQsUMn1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6IC7DHxeCV3a", + "id": "cus_Ph6PSagrl74Spi", "object": "customer", "address": null, "balance": 0, - "created": 1709822302, + "created": 1709822753, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "084CCFE1", + "invoice_prefix": "A136EF50", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,13 +236,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:38:23 GMT + recorded_at: Thu, 07 Mar 2024 14:45:53 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5SKuuB1fWySnd18udlix/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OriCjKuuB1fWySnRK5Aqo2H/attach body: encoding: UTF-8 - string: customer=cus_Ph6IC7DHxeCV3a + string: customer=cus_Ph6PSagrl74Spi headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -251,7 +251,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3srXySztdbZjGY","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_0sDdCeBKQsUMn1","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -271,7 +271,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:23 GMT + - Thu, 07 Mar 2024 14:45:54 GMT Content-Type: - application/json Content-Length: @@ -299,11 +299,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 980cd88a-c0e8-4c04-8e51-5f12d1fc52bd + - 132039b6-c3b5-4389-b355-a2d03ccf839e Original-Request: - - req_ZlooDDNbb3Xn5s + - req_GcgVcv8g34w0fF Request-Id: - - req_ZlooDDNbb3Xn5s + - req_GcgVcv8g34w0fF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +318,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5SKuuB1fWySnd18udlix", + "id": "pm_1OriCjKuuB1fWySnRK5Aqo2H", "object": "payment_method", "billing_details": { "address": { @@ -359,13 +359,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822302, - "customer": "cus_Ph6IC7DHxeCV3a", + "created": 1709822753, + "customer": "cus_Ph6PSagrl74Spi", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:23 GMT + recorded_at: Thu, 07 Mar 2024 14:45:54 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -380,7 +380,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZlooDDNbb3Xn5s","request_duration_ms":713}}' + - '{"last_request_metrics":{"request_id":"req_GcgVcv8g34w0fF","request_duration_ms":612}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:25 GMT + - Thu, 07 Mar 2024 14:45:56 GMT Content-Type: - application/json Content-Length: @@ -427,11 +427,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a3d20b65-5265-45cb-8ed2-94015b44bc28 + - 2a185c66-c9df-4201-bfa5-cc27491636d7 Original-Request: - - req_ILYD2xgFzoXU11 + - req_kjwyQLhQp661Sy Request-Id: - - req_ILYD2xgFzoXU11 + - req_kjwyQLhQp661Sy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -446,7 +446,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Ori5UQKudpR2f3a", + "id": "acct_1OriCk4DUPJtJeIF", "object": "account", "business_profile": { "annual_revenue": null, @@ -468,7 +468,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822304, + "created": 1709822755, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -477,7 +477,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Ori5UQKudpR2f3a/external_accounts" + "url": "/v1/accounts/acct_1OriCk4DUPJtJeIF/external_accounts" }, "future_requirements": { "alternatives": [], @@ -574,10 +574,10 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:38:25 GMT + recorded_at: Thu, 07 Mar 2024 14:45:56 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5SKuuB1fWySnd18udlix + uri: https://api.stripe.com/v1/payment_methods/pm_1OriCjKuuB1fWySnRK5Aqo2H body: encoding: US-ASCII string: '' @@ -589,7 +589,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ILYD2xgFzoXU11","request_duration_ms":1703}}' + - '{"last_request_metrics":{"request_id":"req_kjwyQLhQp661Sy","request_duration_ms":1917}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -609,7 +609,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:25 GMT + - Thu, 07 Mar 2024 14:45:56 GMT Content-Type: - application/json Content-Length: @@ -637,7 +637,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_z9E8dtGdQYKMEz + - req_TOgYD4h4XaFJTN Stripe-Version: - '2023-10-16' Vary: @@ -650,7 +650,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5SKuuB1fWySnd18udlix", + "id": "pm_1OriCjKuuB1fWySnRK5Aqo2H", "object": "payment_method", "billing_details": { "address": { @@ -691,13 +691,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822302, - "customer": "cus_Ph6IC7DHxeCV3a", + "created": 1709822753, + "customer": "cus_Ph6PSagrl74Spi", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:25 GMT + recorded_at: Thu, 07 Mar 2024 14:45:56 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -712,7 +712,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_z9E8dtGdQYKMEz","request_duration_ms":313}}' + - '{"last_request_metrics":{"request_id":"req_TOgYD4h4XaFJTN","request_duration_ms":299}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -721,7 +721,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori5UQKudpR2f3a + - acct_1OriCk4DUPJtJeIF Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -734,7 +734,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:26 GMT + - Thu, 07 Mar 2024 14:45:56 GMT Content-Type: - application/json Content-Length: @@ -761,9 +761,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_mhOGr3YlgXwQuv + - req_jiYoKAfqJTonOd Stripe-Account: - - acct_1Ori5UQKudpR2f3a + - acct_1OriCk4DUPJtJeIF Stripe-Version: - '2023-10-16' Vary: @@ -781,13 +781,13 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Thu, 07 Mar 2024 14:38:26 GMT + recorded_at: Thu, 07 Mar 2024 14:45:57 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: customer=cus_Ph6IC7DHxeCV3a&payment_method=pm_1Ori5SKuuB1fWySnd18udlix + string: customer=cus_Ph6PSagrl74Spi&payment_method=pm_1OriCjKuuB1fWySnRK5Aqo2H headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -796,7 +796,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mhOGr3YlgXwQuv","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_jiYoKAfqJTonOd","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -805,7 +805,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori5UQKudpR2f3a + - acct_1OriCk4DUPJtJeIF Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -818,7 +818,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:26 GMT + - Thu, 07 Mar 2024 14:45:57 GMT Content-Type: - application/json Content-Length: @@ -845,13 +845,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 65cdaacc-4999-4d6e-b927-70128be3e874 + - fb427578-f1a2-4ea6-8c3c-9bd7be2bb7ea Original-Request: - - req_le9HJ4zy8wD3At + - req_rEuoXQlrFTR0nn Request-Id: - - req_le9HJ4zy8wD3At + - req_rEuoXQlrFTR0nn Stripe-Account: - - acct_1Ori5UQKudpR2f3a + - acct_1OriCk4DUPJtJeIF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -866,7 +866,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5WQKudpR2f3axej8OSn4", + "id": "pm_1OriCn4DUPJtJeIFFqJgz2Ra", "object": "payment_method", "billing_details": { "address": { @@ -907,13 +907,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822306, + "created": 1709822757, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:26 GMT + recorded_at: Thu, 07 Mar 2024 14:45:57 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -928,7 +928,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_le9HJ4zy8wD3At","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_rEuoXQlrFTR0nn","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -937,7 +937,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori5UQKudpR2f3a + - acct_1OriCk4DUPJtJeIF Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -950,7 +950,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:27 GMT + - Thu, 07 Mar 2024 14:45:57 GMT Content-Type: - application/json Content-Length: @@ -977,13 +977,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2284aae8-cee3-4921-b824-85b699473444 + - 63e24965-a4a4-413a-9d41-28ba9ee3b8f5 Original-Request: - - req_B4yOmEc3HYp2oB + - req_njc04PUaa6nmNZ Request-Id: - - req_B4yOmEc3HYp2oB + - req_njc04PUaa6nmNZ Stripe-Account: - - acct_1Ori5UQKudpR2f3a + - acct_1OriCk4DUPJtJeIF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -998,18 +998,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6InIrZglk7xb", + "id": "cus_Ph6PamG8UQgtA5", "object": "customer", "address": null, "balance": 0, - "created": 1709822306, + "created": 1709822757, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "A36C80F9", + "invoice_prefix": "56C2C8E5", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -1026,13 +1026,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:38:27 GMT + recorded_at: Thu, 07 Mar 2024 14:45:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5WQKudpR2f3axej8OSn4/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OriCn4DUPJtJeIFFqJgz2Ra/attach body: encoding: UTF-8 - string: customer=cus_Ph6InIrZglk7xb + string: customer=cus_Ph6PamG8UQgtA5 headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -1041,7 +1041,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_B4yOmEc3HYp2oB","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_njc04PUaa6nmNZ","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -1050,7 +1050,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori5UQKudpR2f3a + - acct_1OriCk4DUPJtJeIF Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1063,7 +1063,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:27 GMT + - Thu, 07 Mar 2024 14:45:58 GMT Content-Type: - application/json Content-Length: @@ -1091,13 +1091,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8e33247a-696b-4ee1-88c6-54190089fc5a + - a718697c-6fb2-4b06-8cc4-2cf94664fd6e Original-Request: - - req_B849Cf5L2xXsK3 + - req_sK394orMBQpbR7 Request-Id: - - req_B849Cf5L2xXsK3 + - req_sK394orMBQpbR7 Stripe-Account: - - acct_1Ori5UQKudpR2f3a + - acct_1OriCk4DUPJtJeIF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1112,7 +1112,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5WQKudpR2f3axej8OSn4", + "id": "pm_1OriCn4DUPJtJeIFFqJgz2Ra", "object": "payment_method", "billing_details": { "address": { @@ -1153,16 +1153,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822306, - "customer": "cus_Ph6InIrZglk7xb", + "created": 1709822757, + "customer": "cus_Ph6PamG8UQgtA5", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:27 GMT + recorded_at: Thu, 07 Mar 2024 14:45:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5WQKudpR2f3axej8OSn4 + uri: https://api.stripe.com/v1/payment_methods/pm_1OriCn4DUPJtJeIFFqJgz2Ra body: encoding: UTF-8 string: metadata[ofn-clone]=true @@ -1174,7 +1174,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_B849Cf5L2xXsK3","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_sK394orMBQpbR7","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -1183,7 +1183,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori5UQKudpR2f3a + - acct_1OriCk4DUPJtJeIF Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1196,7 +1196,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:27 GMT + - Thu, 07 Mar 2024 14:45:58 GMT Content-Type: - application/json Content-Length: @@ -1224,13 +1224,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6731ab9a-2b0d-41d7-8820-a2a214e3e695 + - f5028567-0178-4f4a-8ad7-4f35133a4e20 Original-Request: - - req_HhDk3FdZCD1Hle + - req_3Su3ysZpjMCkX3 Request-Id: - - req_HhDk3FdZCD1Hle + - req_3Su3ysZpjMCkX3 Stripe-Account: - - acct_1Ori5UQKudpR2f3a + - acct_1OriCk4DUPJtJeIF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1245,7 +1245,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5WQKudpR2f3axej8OSn4", + "id": "pm_1OriCn4DUPJtJeIFFqJgz2Ra", "object": "payment_method", "billing_details": { "address": { @@ -1286,13 +1286,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822306, - "customer": "cus_Ph6InIrZglk7xb", + "created": 1709822757, + "customer": "cus_Ph6PamG8UQgtA5", "livemode": false, "metadata": { "ofn-clone": "true" }, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:28 GMT + recorded_at: Thu, 07 Mar 2024 14:45:58 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml index 277c8533d5..575ac05a1a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TdzN26B8oBdaOl","request_duration_ms":716}}' + - '{"last_request_metrics":{"request_id":"req_TPXRfe2UMiqWDT","request_duration_ms":714}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:33 GMT + - Thu, 07 Mar 2024 14:46:04 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 671d4405-6ebf-484d-b246-7948717456a1 + - 128431ab-43a1-47ed-8056-5a8bbd32168b Original-Request: - - req_3RgfC1fJkyihKe + - req_h8LXdGtSHiZ1sO Request-Id: - - req_3RgfC1fJkyihKe + - req_h8LXdGtSHiZ1sO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5dKuuB1fWySnwL3nl2Fc", + "id": "pm_1OriCtKuuB1fWySnxpKefiCn", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822313, + "created": 1709822763, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:33 GMT + recorded_at: Thu, 07 Mar 2024 14:46:04 GMT - request: method: get uri: https://api.stripe.com/v1/customers/non_existing_customer_id @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3RgfC1fJkyihKe","request_duration_ms":532}}' + - '{"last_request_metrics":{"request_id":"req_h8LXdGtSHiZ1sO","request_duration_ms":540}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:33 GMT + - Thu, 07 Mar 2024 14:46:04 GMT Content-Type: - application/json Content-Length: @@ -190,7 +190,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_Y69JiFS9E2QkEo + - req_XjCvwiYNgyMGUs Stripe-Version: - '2023-10-16' Vary: @@ -208,9 +208,9 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/resource-missing", "message": "No such customer: 'non_existing_customer_id'", "param": "id", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_Y69JiFS9E2QkEo?t=1709822313", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_XjCvwiYNgyMGUs?t=1709822764", "type": "invalid_request_error" } } - recorded_at: Thu, 07 Mar 2024 14:38:33 GMT + recorded_at: Thu, 07 Mar 2024 14:46:04 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml index c820d9c0e2..a499a61cdf 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DDK9D0Yw20Zv2p","request_duration_ms":428}}' + - '{"last_request_metrics":{"request_id":"req_ZtaZfLKOVUvaj3","request_duration_ms":390}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:31 GMT + - Thu, 07 Mar 2024 14:46:02 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7029f35a-6f2b-43d1-b7ba-be9ab3d223d0 + - df1e7c12-ecbc-42b0-a208-4083667ea4b5 Original-Request: - - req_54mIFyl1NGPc42 + - req_J1YxKH2juLmJoK Request-Id: - - req_54mIFyl1NGPc42 + - req_J1YxKH2juLmJoK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5bKuuB1fWySnjjmxuVAP", + "id": "pm_1OriCrKuuB1fWySnLANtZAEj", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822311, + "created": 1709822762, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:31 GMT + recorded_at: Thu, 07 Mar 2024 14:46:02 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_54mIFyl1NGPc42","request_duration_ms":458}}' + - '{"last_request_metrics":{"request_id":"req_J1YxKH2juLmJoK","request_duration_ms":475}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:31 GMT + - Thu, 07 Mar 2024 14:46:02 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2a3a23f8-30e1-463b-9f76-b1b3cd6742c4 + - d500d13f-d97c-40a9-a51c-eff630e0fa20 Original-Request: - - req_hhFtsFnQHM4c0U + - req_jcuFLzcZAtHIkG Request-Id: - - req_hhFtsFnQHM4c0U + - req_jcuFLzcZAtHIkG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6I4F5nCkmSCB", + "id": "cus_Ph6P5AOuPfJo7D", "object": "customer", "address": null, "balance": 0, - "created": 1709822311, + "created": 1709822762, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "99DCD28A", + "invoice_prefix": "61EFF06D", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,13 +236,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:38:31 GMT + recorded_at: Thu, 07 Mar 2024 14:46:02 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5bKuuB1fWySnjjmxuVAP/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OriCrKuuB1fWySnLANtZAEj/attach body: encoding: UTF-8 - string: customer=cus_Ph6I4F5nCkmSCB + string: customer=cus_Ph6P5AOuPfJo7D headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -251,7 +251,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hhFtsFnQHM4c0U","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_jcuFLzcZAtHIkG","request_duration_ms":537}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -271,7 +271,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:32 GMT + - Thu, 07 Mar 2024 14:46:03 GMT Content-Type: - application/json Content-Length: @@ -299,11 +299,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 602fc70b-d78e-4872-88cc-d7f6ce9a9156 + - 5815be20-5391-478a-8bea-cfcbdcc9f655 Original-Request: - - req_TdzN26B8oBdaOl + - req_TPXRfe2UMiqWDT Request-Id: - - req_TdzN26B8oBdaOl + - req_TPXRfe2UMiqWDT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +318,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5bKuuB1fWySnjjmxuVAP", + "id": "pm_1OriCrKuuB1fWySnLANtZAEj", "object": "payment_method", "billing_details": { "address": { @@ -359,11 +359,11 @@ http_interactions: }, "wallet": null }, - "created": 1709822311, - "customer": "cus_Ph6I4F5nCkmSCB", + "created": 1709822762, + "customer": "cus_Ph6P5AOuPfJo7D", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:32 GMT + recorded_at: Thu, 07 Mar 2024 14:46:03 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml index 67a5f1b88b..eaf6ac9481 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HhDk3FdZCD1Hle","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_3Su3ysZpjMCkX3","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:28 GMT + - Thu, 07 Mar 2024 14:45:59 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 647a1529-84e0-407b-a8c9-26ae3b322677 + - 7ba51365-574b-417b-aa2c-1cf47b3c3198 Original-Request: - - req_URRoCjv5QsdjL3 + - req_12tgd96593w2hN Request-Id: - - req_URRoCjv5QsdjL3 + - req_12tgd96593w2hN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5YKuuB1fWySnQle0Ux9J", + "id": "pm_1OriCpKuuB1fWySnx67pDYjy", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822308, + "created": 1709822759, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:28 GMT + recorded_at: Thu, 07 Mar 2024 14:45:59 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_URRoCjv5QsdjL3","request_duration_ms":532}}' + - '{"last_request_metrics":{"request_id":"req_12tgd96593w2hN","request_duration_ms":422}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:29 GMT + - Thu, 07 Mar 2024 14:45:59 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 16ca4482-d73e-41c5-847a-204def02dec8 + - 6a926d26-650c-4b10-a610-af043e1f1393 Original-Request: - - req_LDxyckIHdM2FYG + - req_SoaD8jdAW5R3n4 Request-Id: - - req_LDxyckIHdM2FYG + - req_SoaD8jdAW5R3n4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6IVTQ02ksfsN", + "id": "cus_Ph6PiBURQh2ZHR", "object": "customer", "address": null, "balance": 0, - "created": 1709822308, + "created": 1709822759, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "9DC7C6A5", + "invoice_prefix": "F0747E90", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,13 +236,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:38:29 GMT + recorded_at: Thu, 07 Mar 2024 14:46:00 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Ori5YKuuB1fWySnQle0Ux9J/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OriCpKuuB1fWySnx67pDYjy/attach body: encoding: UTF-8 - string: customer=cus_Ph6IVTQ02ksfsN + string: customer=cus_Ph6PiBURQh2ZHR headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -251,7 +251,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LDxyckIHdM2FYG","request_duration_ms":417}}' + - '{"last_request_metrics":{"request_id":"req_SoaD8jdAW5R3n4","request_duration_ms":519}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -271,7 +271,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:29 GMT + - Thu, 07 Mar 2024 14:46:00 GMT Content-Type: - application/json Content-Length: @@ -299,11 +299,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4df75889-88c9-4dbd-bae7-370add29dc11 + - 79ad2cb8-ec26-4fe2-853f-8f36004be857 Original-Request: - - req_2PyC4tJb9L1JIh + - req_42qvjXJI7ycXxM Request-Id: - - req_2PyC4tJb9L1JIh + - req_42qvjXJI7ycXxM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +318,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5YKuuB1fWySnQle0Ux9J", + "id": "pm_1OriCpKuuB1fWySnx67pDYjy", "object": "payment_method", "billing_details": { "address": { @@ -359,16 +359,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822308, - "customer": "cus_Ph6IVTQ02ksfsN", + "created": 1709822759, + "customer": "cus_Ph6PiBURQh2ZHR", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:29 GMT + recorded_at: Thu, 07 Mar 2024 14:46:00 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_Ph6IVTQ02ksfsN + uri: https://api.stripe.com/v1/customers/cus_Ph6PiBURQh2ZHR body: encoding: US-ASCII string: '' @@ -380,7 +380,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2PyC4tJb9L1JIh","request_duration_ms":702}}' + - '{"last_request_metrics":{"request_id":"req_42qvjXJI7ycXxM","request_duration_ms":724}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:30 GMT + - Thu, 07 Mar 2024 14:46:01 GMT Content-Type: - application/json Content-Length: @@ -428,7 +428,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_57qszBty5dFx87 + - req_6y2jjnoducXs5m Stripe-Version: - '2023-10-16' Vary: @@ -441,18 +441,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6IVTQ02ksfsN", + "id": "cus_Ph6PiBURQh2ZHR", "object": "customer", "address": null, "balance": 0, - "created": 1709822308, + "created": 1709822759, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "9DC7C6A5", + "invoice_prefix": "F0747E90", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -469,10 +469,10 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:38:30 GMT + recorded_at: Thu, 07 Mar 2024 14:46:01 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_Ph6IVTQ02ksfsN + uri: https://api.stripe.com/v1/customers/cus_Ph6PiBURQh2ZHR body: encoding: US-ASCII string: '' @@ -484,7 +484,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_57qszBty5dFx87","request_duration_ms":256}}' + - '{"last_request_metrics":{"request_id":"req_6y2jjnoducXs5m","request_duration_ms":370}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -504,7 +504,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:30 GMT + - Thu, 07 Mar 2024 14:46:01 GMT Content-Type: - application/json Content-Length: @@ -532,7 +532,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_DDK9D0Yw20Zv2p + - req_ZtaZfLKOVUvaj3 Stripe-Version: - '2023-10-16' Vary: @@ -545,9 +545,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6IVTQ02ksfsN", + "id": "cus_Ph6PiBURQh2ZHR", "object": "customer", "deleted": true } - recorded_at: Thu, 07 Mar 2024 14:38:30 GMT + recorded_at: Thu, 07 Mar 2024 14:46:01 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index a1cae502dd..8fd5426247 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dmU2A6hvvyI5NQ","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_ZzDxRkQBr0dXKD","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:26 GMT + - Thu, 07 Mar 2024 14:47:56 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a49e951d-7346-48a3-8d20-9618070060ef + - 4f1a6b34-d2b2-4f13-b2b7-3b43839b30dd Original-Request: - - req_V9vu8O4ZvqLQXP + - req_UBDXgiNYG7LdR2 Request-Id: - - req_V9vu8O4ZvqLQXP + - req_UBDXgiNYG7LdR2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7SKuuB1fWySnye2fzCd4", + "id": "pm_1OriEhKuuB1fWySnr2ZH3AfS", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822426, + "created": 1709822876, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:26 GMT + recorded_at: Thu, 07 Mar 2024 14:47:56 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori7SKuuB1fWySnye2fzCd4&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriEhKuuB1fWySnr2ZH3AfS&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_V9vu8O4ZvqLQXP","request_duration_ms":463}}' + - '{"last_request_metrics":{"request_id":"req_UBDXgiNYG7LdR2","request_duration_ms":425}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:27 GMT + - Thu, 07 Mar 2024 14:47:56 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 18f77155-d214-44a6-9157-d05404a5ad9c + - 2520c76d-0412-4508-ac23-045272f8c6f8 Original-Request: - - req_jK3S1jfWIgYhut + - req_PK8pPZXhK0xwdf Request-Id: - - req_jK3S1jfWIgYhut + - req_PK8pPZXhK0xwdf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7SKuuB1fWySn1pDbj3uL", + "id": "pi_3OriEiKuuB1fWySn0WkNvRLP", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7SKuuB1fWySn1pDbj3uL_secret_6x2xJ9KqP5mPs4mwlnyXnBRkt", + "client_secret": "pi_3OriEiKuuB1fWySn0WkNvRLP_secret_mwoU0UCKpBt58Qw67E2qWYw04", "confirmation_method": "automatic", - "created": 1709822426, + "created": 1709822876, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7SKuuB1fWySnye2fzCd4", + "payment_method": "pm_1OriEhKuuB1fWySnr2ZH3AfS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:27 GMT + recorded_at: Thu, 07 Mar 2024 14:47:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7SKuuB1fWySn1pDbj3uL/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEiKuuB1fWySn0WkNvRLP/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jK3S1jfWIgYhut","request_duration_ms":480}}' + - '{"last_request_metrics":{"request_id":"req_PK8pPZXhK0xwdf","request_duration_ms":445}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:28 GMT + - Thu, 07 Mar 2024 14:47:57 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9ff3ceee-5af6-4d50-a2d3-d80b892448a7 + - 7dd97cf2-1cf7-4c3a-8927-c01fa2b3e06c Original-Request: - - req_LwzUBMbjvyceP1 + - req_6wZGYD5XKYwNtw Request-Id: - - req_LwzUBMbjvyceP1 + - req_6wZGYD5XKYwNtw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Ori7SKuuB1fWySn1D7JAn3e", + "charge": "ch_3OriEiKuuB1fWySn0dUUc166", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_intent": { - "id": "pi_3Ori7SKuuB1fWySn1pDbj3uL", + "id": "pi_3OriEiKuuB1fWySn0WkNvRLP", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7SKuuB1fWySn1pDbj3uL_secret_6x2xJ9KqP5mPs4mwlnyXnBRkt", + "client_secret": "pi_3OriEiKuuB1fWySn0WkNvRLP_secret_mwoU0UCKpBt58Qw67E2qWYw04", "confirmation_method": "automatic", - "created": 1709822426, + "created": 1709822876, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Ori7SKuuB1fWySn1D7JAn3e", + "charge": "ch_3OriEiKuuB1fWySn0dUUc166", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_method": { - "id": "pm_1Ori7SKuuB1fWySnye2fzCd4", + "id": "pm_1OriEhKuuB1fWySnr2ZH3AfS", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822426, + "created": 1709822876, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Ori7SKuuB1fWySn1D7JAn3e", + "latest_charge": "ch_3OriEiKuuB1fWySn0dUUc166", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Ori7SKuuB1fWySnye2fzCd4", + "id": "pm_1OriEhKuuB1fWySnr2ZH3AfS", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822426, + "created": 1709822876, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_LwzUBMbjvyceP1?t=1709822427", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_6wZGYD5XKYwNtw?t=1709822876", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:40:28 GMT + recorded_at: Thu, 07 Mar 2024 14:47:57 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 5305c4208b..23f0d993c8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SWKKVUlVXC9ZIT","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_k8Kq3xIk686y3x","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:20 GMT + - Thu, 07 Mar 2024 14:47:49 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 80230122-4250-495a-8d69-950cf3334c44 + - eb6fb4cc-10f0-4a92-98d4-2b4ba467acbc Original-Request: - - req_MPC3v6kfmbZvAJ + - req_biPBmBfICZUqNj Request-Id: - - req_MPC3v6kfmbZvAJ + - req_biPBmBfICZUqNj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7LKuuB1fWySnbtK81fQN", + "id": "pm_1OriEbKuuB1fWySnfUndN7tJ", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822420, + "created": 1709822869, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:20 GMT + recorded_at: Thu, 07 Mar 2024 14:47:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori7LKuuB1fWySnbtK81fQN&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriEbKuuB1fWySnfUndN7tJ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MPC3v6kfmbZvAJ","request_duration_ms":474}}' + - '{"last_request_metrics":{"request_id":"req_biPBmBfICZUqNj","request_duration_ms":454}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:20 GMT + - Thu, 07 Mar 2024 14:47:50 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1023af46-22ed-42da-82cb-44eaa9c89053 + - f1b1b715-a98e-47f3-bc58-e776c48ebe0b Original-Request: - - req_J5wsYlSsCUBlnN + - req_ZIYmtkntyZfb4V Request-Id: - - req_J5wsYlSsCUBlnN + - req_ZIYmtkntyZfb4V Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7MKuuB1fWySn1bbGXSIR", + "id": "pi_3OriEbKuuB1fWySn1KPEQSNN", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7MKuuB1fWySn1bbGXSIR_secret_r81aLGnGaV5uSvvAXDjSrwu0R", + "client_secret": "pi_3OriEbKuuB1fWySn1KPEQSNN_secret_a8eMZeV0NxASwP6YId49K3ZHb", "confirmation_method": "automatic", - "created": 1709822420, + "created": 1709822869, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7LKuuB1fWySnbtK81fQN", + "payment_method": "pm_1OriEbKuuB1fWySnfUndN7tJ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:20 GMT + recorded_at: Thu, 07 Mar 2024 14:47:50 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7MKuuB1fWySn1bbGXSIR/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEbKuuB1fWySn1KPEQSNN/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_J5wsYlSsCUBlnN","request_duration_ms":524}}' + - '{"last_request_metrics":{"request_id":"req_ZIYmtkntyZfb4V","request_duration_ms":496}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:21 GMT + - Thu, 07 Mar 2024 14:47:51 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 64163f20-0d64-4e36-9201-fefdb00b981f + - 11db9240-433b-460c-8635-00b3e86df2cc Original-Request: - - req_IPUR95qx6XLkTB + - req_3KeKV1hQCAJMpK Request-Id: - - req_IPUR95qx6XLkTB + - req_3KeKV1hQCAJMpK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Ori7MKuuB1fWySn16SSrz9s", + "charge": "ch_3OriEbKuuB1fWySn1f3KBq4y", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_intent": { - "id": "pi_3Ori7MKuuB1fWySn1bbGXSIR", + "id": "pi_3OriEbKuuB1fWySn1KPEQSNN", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7MKuuB1fWySn1bbGXSIR_secret_r81aLGnGaV5uSvvAXDjSrwu0R", + "client_secret": "pi_3OriEbKuuB1fWySn1KPEQSNN_secret_a8eMZeV0NxASwP6YId49K3ZHb", "confirmation_method": "automatic", - "created": 1709822420, + "created": 1709822869, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Ori7MKuuB1fWySn16SSrz9s", + "charge": "ch_3OriEbKuuB1fWySn1f3KBq4y", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_method": { - "id": "pm_1Ori7LKuuB1fWySnbtK81fQN", + "id": "pm_1OriEbKuuB1fWySnfUndN7tJ", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822420, + "created": 1709822869, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Ori7MKuuB1fWySn16SSrz9s", + "latest_charge": "ch_3OriEbKuuB1fWySn1f3KBq4y", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Ori7LKuuB1fWySnbtK81fQN", + "id": "pm_1OriEbKuuB1fWySnfUndN7tJ", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822420, + "created": 1709822869, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_IPUR95qx6XLkTB?t=1709822420", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_3KeKV1hQCAJMpK?t=1709822870", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:40:21 GMT + recorded_at: Thu, 07 Mar 2024 14:47:51 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index fb458e4448..8e88f78879 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IjzV40nyzPASXw","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_bJVYoResSRIgAQ","request_duration_ms":367}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:11 GMT + - Thu, 07 Mar 2024 14:47:41 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bc1dc665-ac38-46d2-9cc4-53eb1771cac8 + - 7e43a0e4-4b43-46f2-8a67-21e30501f76c Original-Request: - - req_9YMEdFIjp3eKq2 + - req_jBEQOVfQM5JOVX Request-Id: - - req_9YMEdFIjp3eKq2 + - req_jBEQOVfQM5JOVX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7DKuuB1fWySnoF4psvaj", + "id": "pm_1OriESKuuB1fWySnYWmboiL9", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822411, + "created": 1709822860, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:11 GMT + recorded_at: Thu, 07 Mar 2024 14:47:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori7DKuuB1fWySnoF4psvaj&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriESKuuB1fWySnYWmboiL9&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9YMEdFIjp3eKq2","request_duration_ms":554}}' + - '{"last_request_metrics":{"request_id":"req_jBEQOVfQM5JOVX","request_duration_ms":560}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:11 GMT + - Thu, 07 Mar 2024 14:47:41 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0a9f8d67-f50f-46be-b644-7ee834a068f8 + - 5ca2485e-96bb-4c69-9376-8c453b0f6ab6 Original-Request: - - req_7Skahr0crBv1wm + - req_4oGqHpMrG8OShF Request-Id: - - req_7Skahr0crBv1wm + - req_4oGqHpMrG8OShF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7DKuuB1fWySn1fek0g4v", + "id": "pi_3OriETKuuB1fWySn18la6viF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7DKuuB1fWySn1fek0g4v_secret_mh3kQmN22ILpXnoYsd22evWnt", + "client_secret": "pi_3OriETKuuB1fWySn18la6viF_secret_dkB3hBDXpnqgNmVG9o057TEiI", "confirmation_method": "automatic", - "created": 1709822411, + "created": 1709822861, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7DKuuB1fWySnoF4psvaj", + "payment_method": "pm_1OriESKuuB1fWySnYWmboiL9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:11 GMT + recorded_at: Thu, 07 Mar 2024 14:47:41 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7DKuuB1fWySn1fek0g4v/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriETKuuB1fWySn18la6viF/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7Skahr0crBv1wm","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_4oGqHpMrG8OShF","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:13 GMT + - Thu, 07 Mar 2024 14:47:42 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3e2a79aa-8e0f-42ce-b8a4-6737d2dd29cf + - f48bfb8d-1b68-48ca-ac7b-12d4b4f89180 Original-Request: - - req_ZzmnUUQhWayBa9 + - req_gtO2cN4GhxIdPa Request-Id: - - req_ZzmnUUQhWayBa9 + - req_gtO2cN4GhxIdPa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Ori7DKuuB1fWySn1Pl9VrjW", + "charge": "ch_3OriETKuuB1fWySn1y9W4fxq", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3Ori7DKuuB1fWySn1fek0g4v", + "id": "pi_3OriETKuuB1fWySn18la6viF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7DKuuB1fWySn1fek0g4v_secret_mh3kQmN22ILpXnoYsd22evWnt", + "client_secret": "pi_3OriETKuuB1fWySn18la6viF_secret_dkB3hBDXpnqgNmVG9o057TEiI", "confirmation_method": "automatic", - "created": 1709822411, + "created": 1709822861, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Ori7DKuuB1fWySn1Pl9VrjW", + "charge": "ch_3OriETKuuB1fWySn1y9W4fxq", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1Ori7DKuuB1fWySnoF4psvaj", + "id": "pm_1OriESKuuB1fWySnYWmboiL9", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822411, + "created": 1709822860, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Ori7DKuuB1fWySn1Pl9VrjW", + "latest_charge": "ch_3OriETKuuB1fWySn1y9W4fxq", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Ori7DKuuB1fWySnoF4psvaj", + "id": "pm_1OriESKuuB1fWySnYWmboiL9", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822411, + "created": 1709822860, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_ZzmnUUQhWayBa9?t=1709822412", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_gtO2cN4GhxIdPa?t=1709822861", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:40:13 GMT + recorded_at: Thu, 07 Mar 2024 14:47:42 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 973d23018d..891ddf5245 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_J5wsYlSsCUBlnN","request_duration_ms":524}}' + - '{"last_request_metrics":{"request_id":"req_ZIYmtkntyZfb4V","request_duration_ms":496}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:22 GMT + - Thu, 07 Mar 2024 14:47:51 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 005ac41f-6074-4282-9aea-c3209a98e12d + - da84196f-992f-4770-8257-97de5e03f9a1 Original-Request: - - req_nxAEavLOSgDwj2 + - req_hJ6rm0JYoj2cJF Request-Id: - - req_nxAEavLOSgDwj2 + - req_hJ6rm0JYoj2cJF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7OKuuB1fWySnfMrh5kOE", + "id": "pm_1OriEdKuuB1fWySnnwPbgvUi", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822422, + "created": 1709822871, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:22 GMT + recorded_at: Thu, 07 Mar 2024 14:47:51 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori7OKuuB1fWySnfMrh5kOE&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriEdKuuB1fWySnnwPbgvUi&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nxAEavLOSgDwj2","request_duration_ms":522}}' + - '{"last_request_metrics":{"request_id":"req_hJ6rm0JYoj2cJF","request_duration_ms":573}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:22 GMT + - Thu, 07 Mar 2024 14:47:52 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - de580d48-2b4d-425f-817a-8c9b95f2effb + - 8cb114a5-664d-4f50-9957-025379ae146e Original-Request: - - req_MGcpO4a6CpsZh3 + - req_MLSIt6Syj8nYDC Request-Id: - - req_MGcpO4a6CpsZh3 + - req_MLSIt6Syj8nYDC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7OKuuB1fWySn2lGcniKf", + "id": "pi_3OriEeKuuB1fWySn1BgclIzW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7OKuuB1fWySn2lGcniKf_secret_27r3xoMku3tuFK1MCCPQ6nXPA", + "client_secret": "pi_3OriEeKuuB1fWySn1BgclIzW_secret_8ymeelgWYi9CO9CVApUF0ynfX", "confirmation_method": "automatic", - "created": 1709822422, + "created": 1709822872, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7OKuuB1fWySnfMrh5kOE", + "payment_method": "pm_1OriEdKuuB1fWySnnwPbgvUi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:22 GMT + recorded_at: Thu, 07 Mar 2024 14:47:52 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7OKuuB1fWySn2lGcniKf/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEeKuuB1fWySn1BgclIzW/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MGcpO4a6CpsZh3","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_MLSIt6Syj8nYDC","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:23 GMT + - Thu, 07 Mar 2024 14:47:53 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d9f0d64e-8a2c-470f-800b-443866d1d68c + - f94a3580-3cdc-4dee-8473-307abfa259ed Original-Request: - - req_9bEsThSpnwP6n4 + - req_jYX61LHM0hZKOx Request-Id: - - req_9bEsThSpnwP6n4 + - req_jYX61LHM0hZKOx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Ori7OKuuB1fWySn2waBI9rG", + "charge": "ch_3OriEeKuuB1fWySn1DC4tfyK", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_intent": { - "id": "pi_3Ori7OKuuB1fWySn2lGcniKf", + "id": "pi_3OriEeKuuB1fWySn1BgclIzW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7OKuuB1fWySn2lGcniKf_secret_27r3xoMku3tuFK1MCCPQ6nXPA", + "client_secret": "pi_3OriEeKuuB1fWySn1BgclIzW_secret_8ymeelgWYi9CO9CVApUF0ynfX", "confirmation_method": "automatic", - "created": 1709822422, + "created": 1709822872, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Ori7OKuuB1fWySn2waBI9rG", + "charge": "ch_3OriEeKuuB1fWySn1DC4tfyK", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_method": { - "id": "pm_1Ori7OKuuB1fWySnfMrh5kOE", + "id": "pm_1OriEdKuuB1fWySnnwPbgvUi", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822422, + "created": 1709822871, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Ori7OKuuB1fWySn2waBI9rG", + "latest_charge": "ch_3OriEeKuuB1fWySn1DC4tfyK", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Ori7OKuuB1fWySnfMrh5kOE", + "id": "pm_1OriEdKuuB1fWySnnwPbgvUi", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822422, + "created": 1709822871, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_9bEsThSpnwP6n4?t=1709822423", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_jYX61LHM0hZKOx?t=1709822872", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:40:24 GMT + recorded_at: Thu, 07 Mar 2024 14:47:53 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 0eb236442c..05fd9b173e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7Skahr0crBv1wm","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_4oGqHpMrG8OShF","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:13 GMT + - Thu, 07 Mar 2024 14:47:43 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 34acb6c3-360a-445d-b688-675ce8e52220 + - f0757c3d-4a7d-4e4a-bd22-d21a080e6c83 Original-Request: - - req_50qaXaMyfobtkY + - req_gMEDj2TkD59XzE Request-Id: - - req_50qaXaMyfobtkY + - req_gMEDj2TkD59XzE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7FKuuB1fWySnZayduPRY", + "id": "pm_1OriEUKuuB1fWySnXRekkYj9", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822413, + "created": 1709822863, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:13 GMT + recorded_at: Thu, 07 Mar 2024 14:47:43 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori7FKuuB1fWySnZayduPRY&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriEUKuuB1fWySnXRekkYj9&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_50qaXaMyfobtkY","request_duration_ms":465}}' + - '{"last_request_metrics":{"request_id":"req_gMEDj2TkD59XzE","request_duration_ms":564}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:14 GMT + - Thu, 07 Mar 2024 14:47:43 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2694d56d-0057-45ef-aeea-c90467f9bd92 + - 81880293-4e9a-4816-b1de-f9dc8db8e3c9 Original-Request: - - req_0QZXWGSKgrPZiF + - req_RWz6u9ZJj5nZw1 Request-Id: - - req_0QZXWGSKgrPZiF + - req_RWz6u9ZJj5nZw1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7FKuuB1fWySn2BkZcuqD", + "id": "pi_3OriEVKuuB1fWySn075Pu9Vv", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7FKuuB1fWySn2BkZcuqD_secret_z0Ctul69Rly78yxRbiXtELsrW", + "client_secret": "pi_3OriEVKuuB1fWySn075Pu9Vv_secret_FgIksp54gSKGvzJY7rEmBevHC", "confirmation_method": "automatic", - "created": 1709822413, + "created": 1709822863, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7FKuuB1fWySnZayduPRY", + "payment_method": "pm_1OriEUKuuB1fWySnXRekkYj9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:14 GMT + recorded_at: Thu, 07 Mar 2024 14:47:43 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7FKuuB1fWySn2BkZcuqD/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEVKuuB1fWySn075Pu9Vv/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0QZXWGSKgrPZiF","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_RWz6u9ZJj5nZw1","request_duration_ms":467}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:15 GMT + - Thu, 07 Mar 2024 14:47:44 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 189a85b8-2b08-4482-aab4-2ec43b8c7111 + - ef2f5411-0d7c-4183-bbe4-6201c1e5d989 Original-Request: - - req_Zhsqe9q9P2kqR3 + - req_F6jc14J9VkdPxY Request-Id: - - req_Zhsqe9q9P2kqR3 + - req_F6jc14J9VkdPxY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Ori7FKuuB1fWySn2XpB1aCD", + "charge": "ch_3OriEVKuuB1fWySn083POrXD", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_intent": { - "id": "pi_3Ori7FKuuB1fWySn2BkZcuqD", + "id": "pi_3OriEVKuuB1fWySn075Pu9Vv", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7FKuuB1fWySn2BkZcuqD_secret_z0Ctul69Rly78yxRbiXtELsrW", + "client_secret": "pi_3OriEVKuuB1fWySn075Pu9Vv_secret_FgIksp54gSKGvzJY7rEmBevHC", "confirmation_method": "automatic", - "created": 1709822413, + "created": 1709822863, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Ori7FKuuB1fWySn2XpB1aCD", + "charge": "ch_3OriEVKuuB1fWySn083POrXD", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_method": { - "id": "pm_1Ori7FKuuB1fWySnZayduPRY", + "id": "pm_1OriEUKuuB1fWySnXRekkYj9", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822413, + "created": 1709822863, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Ori7FKuuB1fWySn2XpB1aCD", + "latest_charge": "ch_3OriEVKuuB1fWySn083POrXD", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Ori7FKuuB1fWySnZayduPRY", + "id": "pm_1OriEUKuuB1fWySnXRekkYj9", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822413, + "created": 1709822863, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_Zhsqe9q9P2kqR3?t=1709822414", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_F6jc14J9VkdPxY?t=1709822863", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:40:15 GMT + recorded_at: Thu, 07 Mar 2024 14:47:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 60d60a78db..91c2b4110f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0QZXWGSKgrPZiF","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_RWz6u9ZJj5nZw1","request_duration_ms":467}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:15 GMT + - Thu, 07 Mar 2024 14:47:45 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2086ee17-926c-42a1-9b1e-ee63f2cda14a + - 4cb11300-96e9-41f5-a03c-e686a73a8a95 Original-Request: - - req_jWsyC8zBF22g0n + - req_0fmpzjMqAKDsPo Request-Id: - - req_jWsyC8zBF22g0n + - req_0fmpzjMqAKDsPo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7HKuuB1fWySnBKpXzxRH", + "id": "pm_1OriEXKuuB1fWySnUnqSxegb", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822415, + "created": 1709822865, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:15 GMT + recorded_at: Thu, 07 Mar 2024 14:47:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori7HKuuB1fWySnBKpXzxRH&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriEXKuuB1fWySnUnqSxegb&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jWsyC8zBF22g0n","request_duration_ms":454}}' + - '{"last_request_metrics":{"request_id":"req_0fmpzjMqAKDsPo","request_duration_ms":465}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:16 GMT + - Thu, 07 Mar 2024 14:47:45 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ee696ef2-af74-404f-b2d2-aa0cb350994b + - 4883dcf1-6b90-44e8-bba6-5af17994fb90 Original-Request: - - req_GjiQt0VnbMyIRb + - req_ekEApDU5OYGvX6 Request-Id: - - req_GjiQt0VnbMyIRb + - req_ekEApDU5OYGvX6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7IKuuB1fWySn2jjKctjV", + "id": "pi_3OriEXKuuB1fWySn1s5ZwSCY", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7IKuuB1fWySn2jjKctjV_secret_62644si24ljPwessNhN0zamYy", + "client_secret": "pi_3OriEXKuuB1fWySn1s5ZwSCY_secret_MewO4sVrg7is7o4sk4eXrovY5", "confirmation_method": "automatic", - "created": 1709822416, + "created": 1709822865, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7HKuuB1fWySnBKpXzxRH", + "payment_method": "pm_1OriEXKuuB1fWySnUnqSxegb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:16 GMT + recorded_at: Thu, 07 Mar 2024 14:47:45 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7IKuuB1fWySn2jjKctjV/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEXKuuB1fWySn1s5ZwSCY/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GjiQt0VnbMyIRb","request_duration_ms":518}}' + - '{"last_request_metrics":{"request_id":"req_ekEApDU5OYGvX6","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:17 GMT + - Thu, 07 Mar 2024 14:47:46 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - afe0a7f9-1f07-4874-b682-11dacfb10e9b + - 8e28d48b-6bb2-4de2-bcfd-c4db52b0e712 Original-Request: - - req_5rCkKEaOxLYPuf + - req_FgaGhw8RC9o5Pm Request-Id: - - req_5rCkKEaOxLYPuf + - req_FgaGhw8RC9o5Pm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Ori7IKuuB1fWySn2jQ9W5K9", + "charge": "ch_3OriEXKuuB1fWySn1Y5WhhiG", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3Ori7IKuuB1fWySn2jjKctjV", + "id": "pi_3OriEXKuuB1fWySn1s5ZwSCY", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7IKuuB1fWySn2jjKctjV_secret_62644si24ljPwessNhN0zamYy", + "client_secret": "pi_3OriEXKuuB1fWySn1s5ZwSCY_secret_MewO4sVrg7is7o4sk4eXrovY5", "confirmation_method": "automatic", - "created": 1709822416, + "created": 1709822865, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Ori7IKuuB1fWySn2jQ9W5K9", + "charge": "ch_3OriEXKuuB1fWySn1Y5WhhiG", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1Ori7HKuuB1fWySnBKpXzxRH", + "id": "pm_1OriEXKuuB1fWySnUnqSxegb", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822415, + "created": 1709822865, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Ori7IKuuB1fWySn2jQ9W5K9", + "latest_charge": "ch_3OriEXKuuB1fWySn1Y5WhhiG", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Ori7HKuuB1fWySnBKpXzxRH", + "id": "pm_1OriEXKuuB1fWySnUnqSxegb", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822415, + "created": 1709822865, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_5rCkKEaOxLYPuf?t=1709822416", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_FgaGhw8RC9o5Pm?t=1709822865", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:40:17 GMT + recorded_at: Thu, 07 Mar 2024 14:47:47 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index acd16f3311..5631a37e84 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MGcpO4a6CpsZh3","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_MLSIt6Syj8nYDC","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:24 GMT + - Thu, 07 Mar 2024 14:47:53 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 570e2ddf-c85f-47b3-85f7-54c74e26cf33 + - 3df18ad6-9f6a-4d94-972b-74e4eefcf8d1 Original-Request: - - req_otRbvKdi5F1Djm + - req_ihaiEog850WDD9 Request-Id: - - req_otRbvKdi5F1Djm + - req_ihaiEog850WDD9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7QKuuB1fWySn5fsCsidQ", + "id": "pm_1OriEfKuuB1fWySnfsNcS8rz", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822424, + "created": 1709822873, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:24 GMT + recorded_at: Thu, 07 Mar 2024 14:47:54 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori7QKuuB1fWySn5fsCsidQ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriEfKuuB1fWySnfsNcS8rz&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_otRbvKdi5F1Djm","request_duration_ms":565}}' + - '{"last_request_metrics":{"request_id":"req_ihaiEog850WDD9","request_duration_ms":465}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:25 GMT + - Thu, 07 Mar 2024 14:47:54 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f22a2060-24fa-4000-9866-8278582fdc75 + - e5c789e9-c888-46e7-8d71-37538c4db390 Original-Request: - - req_dmU2A6hvvyI5NQ + - req_ZzDxRkQBr0dXKD Request-Id: - - req_dmU2A6hvvyI5NQ + - req_ZzDxRkQBr0dXKD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7QKuuB1fWySn2ivIq1JM", + "id": "pi_3OriEgKuuB1fWySn2JD4uyuK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7QKuuB1fWySn2ivIq1JM_secret_lRJ71Fd7i1aPwt7XwdoDvRV6p", + "client_secret": "pi_3OriEgKuuB1fWySn2JD4uyuK_secret_5djxhUO7lK8yb8Uv4zqPLO4VX", "confirmation_method": "automatic", - "created": 1709822424, + "created": 1709822874, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7QKuuB1fWySn5fsCsidQ", + "payment_method": "pm_1OriEfKuuB1fWySnfsNcS8rz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:25 GMT + recorded_at: Thu, 07 Mar 2024 14:47:54 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7QKuuB1fWySn2ivIq1JM/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEgKuuB1fWySn2JD4uyuK/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dmU2A6hvvyI5NQ","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_ZzDxRkQBr0dXKD","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:26 GMT + - Thu, 07 Mar 2024 14:47:55 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - df624cf0-87fb-4082-bdb3-3059a13792cf + - bcd3f16b-8cdb-439a-ab6e-71723dfb1d64 Original-Request: - - req_rBDbyo4pCUlHKf + - req_lSeZAnD0lD7jYa Request-Id: - - req_rBDbyo4pCUlHKf + - req_lSeZAnD0lD7jYa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,12 +343,12 @@ http_interactions: string: | { "error": { - "charge": "ch_3Ori7QKuuB1fWySn2gRP36We", + "charge": "ch_3OriEgKuuB1fWySn2BKEhrmo", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_intent": { - "id": "pi_3Ori7QKuuB1fWySn2ivIq1JM", + "id": "pi_3OriEgKuuB1fWySn2JD4uyuK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -363,20 +363,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7QKuuB1fWySn2ivIq1JM_secret_lRJ71Fd7i1aPwt7XwdoDvRV6p", + "client_secret": "pi_3OriEgKuuB1fWySn2JD4uyuK_secret_5djxhUO7lK8yb8Uv4zqPLO4VX", "confirmation_method": "automatic", - "created": 1709822424, + "created": 1709822874, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Ori7QKuuB1fWySn2gRP36We", + "charge": "ch_3OriEgKuuB1fWySn2BKEhrmo", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_method": { - "id": "pm_1Ori7QKuuB1fWySn5fsCsidQ", + "id": "pm_1OriEfKuuB1fWySnfsNcS8rz", "object": "payment_method", "billing_details": { "address": { @@ -417,7 +417,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822424, + "created": 1709822873, "customer": null, "livemode": false, "metadata": { @@ -426,7 +426,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Ori7QKuuB1fWySn2gRP36We", + "latest_charge": "ch_3OriEgKuuB1fWySn2BKEhrmo", "livemode": false, "metadata": { }, @@ -458,7 +458,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Ori7QKuuB1fWySn5fsCsidQ", + "id": "pm_1OriEfKuuB1fWySnfsNcS8rz", "object": "payment_method", "billing_details": { "address": { @@ -499,16 +499,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822424, + "created": 1709822873, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_rBDbyo4pCUlHKf?t=1709822425", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_lSeZAnD0lD7jYa?t=1709822874", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:40:26 GMT + recorded_at: Thu, 07 Mar 2024 14:47:55 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 4886654246..a2ea5a84fc 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GjiQt0VnbMyIRb","request_duration_ms":518}}' + - '{"last_request_metrics":{"request_id":"req_ekEApDU5OYGvX6","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:18 GMT + - Thu, 07 Mar 2024 14:47:47 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - dbc0c19f-59bb-4bf7-bfd2-193001f04740 + - 4416b8e5-a91f-4857-a8d5-2c75cb3eeffa Original-Request: - - req_3Qh9lqjeUuXSPB + - req_DTQkganWxHGsBZ Request-Id: - - req_3Qh9lqjeUuXSPB + - req_DTQkganWxHGsBZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7JKuuB1fWySnUdGwQ0iu", + "id": "pm_1OriEZKuuB1fWySnKbsba8YD", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822417, + "created": 1709822867, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:18 GMT + recorded_at: Thu, 07 Mar 2024 14:47:47 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori7JKuuB1fWySnUdGwQ0iu&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriEZKuuB1fWySnKbsba8YD&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3Qh9lqjeUuXSPB","request_duration_ms":464}}' + - '{"last_request_metrics":{"request_id":"req_DTQkganWxHGsBZ","request_duration_ms":564}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:18 GMT + - Thu, 07 Mar 2024 14:47:48 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e5e96122-7dac-431c-8820-7799e4118652 + - e475de03-1f19-41f1-bf3c-ac6bb4663e80 Original-Request: - - req_SWKKVUlVXC9ZIT + - req_k8Kq3xIk686y3x Request-Id: - - req_SWKKVUlVXC9ZIT + - req_k8Kq3xIk686y3x Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori7KKuuB1fWySn0M8pKi78", + "id": "pi_3OriEZKuuB1fWySn0plYoja2", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7KKuuB1fWySn0M8pKi78_secret_94kSrngiGInsYV8JWunX5degn", + "client_secret": "pi_3OriEZKuuB1fWySn0plYoja2_secret_rQ7fSLfPPwQZkcxLYOaVYM8wm", "confirmation_method": "automatic", - "created": 1709822418, + "created": 1709822867, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori7JKuuB1fWySnUdGwQ0iu", + "payment_method": "pm_1OriEZKuuB1fWySnKbsba8YD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:18 GMT + recorded_at: Thu, 07 Mar 2024 14:47:48 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori7KKuuB1fWySn0M8pKi78/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEZKuuB1fWySn0plYoja2/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SWKKVUlVXC9ZIT","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_k8Kq3xIk686y3x","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:19 GMT + - Thu, 07 Mar 2024 14:47:49 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0f6b5ad3-2fb7-474e-838b-7e6c8d6b8249 + - ec379022-6b1c-4bc7-ace1-4134b2b16d5a Original-Request: - - req_3QdSvP8Q2TTcGg + - req_OvB2TPiUbv6LSr Request-Id: - - req_3QdSvP8Q2TTcGg + - req_OvB2TPiUbv6LSr Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +343,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Ori7KKuuB1fWySn078sGDKF", + "charge": "ch_3OriEZKuuB1fWySn0s3QgMuZ", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3Ori7KKuuB1fWySn0M8pKi78", + "id": "pi_3OriEZKuuB1fWySn0plYoja2", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +364,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori7KKuuB1fWySn0M8pKi78_secret_94kSrngiGInsYV8JWunX5degn", + "client_secret": "pi_3OriEZKuuB1fWySn0plYoja2_secret_rQ7fSLfPPwQZkcxLYOaVYM8wm", "confirmation_method": "automatic", - "created": 1709822418, + "created": 1709822867, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Ori7KKuuB1fWySn078sGDKF", + "charge": "ch_3OriEZKuuB1fWySn0s3QgMuZ", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1Ori7JKuuB1fWySnUdGwQ0iu", + "id": "pm_1OriEZKuuB1fWySnKbsba8YD", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +419,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822417, + "created": 1709822867, "customer": null, "livemode": false, "metadata": { @@ -428,7 +428,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Ori7KKuuB1fWySn078sGDKF", + "latest_charge": "ch_3OriEZKuuB1fWySn0s3QgMuZ", "livemode": false, "metadata": { }, @@ -460,7 +460,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Ori7JKuuB1fWySnUdGwQ0iu", + "id": "pm_1OriEZKuuB1fWySnKbsba8YD", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +501,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822417, + "created": 1709822867, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_3QdSvP8Q2TTcGg?t=1709822418", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_OvB2TPiUbv6LSr?t=1709822868", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:40:19 GMT + recorded_at: Thu, 07 Mar 2024 14:47:49 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml index f4ea49e2b9..ac5272a12f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Zv3xLud85hWtta","request_duration_ms":1224}}' + - '{"last_request_metrics":{"request_id":"req_lPOt5IxSU1SYMf","request_duration_ms":910}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:14 GMT + - Thu, 07 Mar 2024 14:46:46 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bb3fb32a-c79d-4ee8-b8f4-2948ad2ef747 + - c8a48357-0801-41fa-9182-649d17f30763 Original-Request: - - req_5pCqtckheJUZi4 + - req_GyjXCUdXQrtxO8 Request-Id: - - req_5pCqtckheJUZi4 + - req_GyjXCUdXQrtxO8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6IKuuB1fWySn8qWrzZUc", + "id": "pm_1OriDZKuuB1fWySnlnjOu08c", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822354, + "created": 1709822805, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:15 GMT + recorded_at: Thu, 07 Mar 2024 14:46:46 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6IKuuB1fWySn8qWrzZUc&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDZKuuB1fWySnlnjOu08c&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5pCqtckheJUZi4","request_duration_ms":535}}' + - '{"last_request_metrics":{"request_id":"req_GyjXCUdXQrtxO8","request_duration_ms":504}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:15 GMT + - Thu, 07 Mar 2024 14:46:46 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5e913e95-46d4-4942-a966-87a75bbe72ac + - 45abc861-f84c-4895-a60b-45410410879b Original-Request: - - req_7dcJZwoPNbndux + - req_MvGhhdfsQvBvzQ Request-Id: - - req_7dcJZwoPNbndux + - req_MvGhhdfsQvBvzQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6JKuuB1fWySn16tWCfsA", + "id": "pi_3OriDaKuuB1fWySn2L0k1gFu", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6JKuuB1fWySn16tWCfsA_secret_D8hlGgauhUmrdkdwHWW00R8Yi", + "client_secret": "pi_3OriDaKuuB1fWySn2L0k1gFu_secret_YBVG6hShLWGKI4ibOLmlmXSXG", "confirmation_method": "automatic", - "created": 1709822355, + "created": 1709822806, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6IKuuB1fWySn8qWrzZUc", + "payment_method": "pm_1OriDZKuuB1fWySnlnjOu08c", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:15 GMT + recorded_at: Thu, 07 Mar 2024 14:46:46 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6JKuuB1fWySn16tWCfsA/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDaKuuB1fWySn2L0k1gFu/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7dcJZwoPNbndux","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_MvGhhdfsQvBvzQ","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:16 GMT + - Thu, 07 Mar 2024 14:46:47 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 236e9e13-0085-43c6-b74f-5a692ec4e87e + - d409f2cd-fa5c-48d6-b8e4-128b269b37e0 Original-Request: - - req_lMgp6kgfcysvgW + - req_dtF9deBfk54PvO Request-Id: - - req_lMgp6kgfcysvgW + - req_dtF9deBfk54PvO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6JKuuB1fWySn16tWCfsA", + "id": "pi_3OriDaKuuB1fWySn2L0k1gFu", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6JKuuB1fWySn16tWCfsA_secret_D8hlGgauhUmrdkdwHWW00R8Yi", + "client_secret": "pi_3OriDaKuuB1fWySn2L0k1gFu_secret_YBVG6hShLWGKI4ibOLmlmXSXG", "confirmation_method": "automatic", - "created": 1709822355, + "created": 1709822806, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6JKuuB1fWySn1wrv5A0d", + "latest_charge": "ch_3OriDaKuuB1fWySn2wqv6SYg", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6IKuuB1fWySn8qWrzZUc", + "payment_method": "pm_1OriDZKuuB1fWySnlnjOu08c", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:16 GMT + recorded_at: Thu, 07 Mar 2024 14:46:47 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6JKuuB1fWySn16tWCfsA + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDaKuuB1fWySn2L0k1gFu body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lMgp6kgfcysvgW","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_dtF9deBfk54PvO","request_duration_ms":1016}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:16 GMT + - Thu, 07 Mar 2024 14:46:47 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_y6sasdBUhpueik + - req_ZcCmvZxReAjXf6 Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6JKuuB1fWySn16tWCfsA", + "id": "pi_3OriDaKuuB1fWySn2L0k1gFu", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6JKuuB1fWySn16tWCfsA_secret_D8hlGgauhUmrdkdwHWW00R8Yi", + "client_secret": "pi_3OriDaKuuB1fWySn2L0k1gFu_secret_YBVG6hShLWGKI4ibOLmlmXSXG", "confirmation_method": "automatic", - "created": 1709822355, + "created": 1709822806, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6JKuuB1fWySn1wrv5A0d", + "latest_charge": "ch_3OriDaKuuB1fWySn2wqv6SYg", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6IKuuB1fWySn8qWrzZUc", + "payment_method": "pm_1OriDZKuuB1fWySnlnjOu08c", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:16 GMT + recorded_at: Thu, 07 Mar 2024 14:46:47 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6JKuuB1fWySn16tWCfsA/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDaKuuB1fWySn2L0k1gFu/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_y6sasdBUhpueik","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_ZcCmvZxReAjXf6","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:17 GMT + - Thu, 07 Mar 2024 14:46:48 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 438ab444-fb24-457c-bb5e-b0456a4d7fb8 + - faec79b0-8160-49f9-b36d-3599682348e7 Original-Request: - - req_9lLw9UqoVnv5UW + - req_ujlneOpUrLNHku Request-Id: - - req_9lLw9UqoVnv5UW + - req_ujlneOpUrLNHku Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6JKuuB1fWySn16tWCfsA", + "id": "pi_3OriDaKuuB1fWySn2L0k1gFu", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6JKuuB1fWySn16tWCfsA_secret_D8hlGgauhUmrdkdwHWW00R8Yi", + "client_secret": "pi_3OriDaKuuB1fWySn2L0k1gFu_secret_YBVG6hShLWGKI4ibOLmlmXSXG", "confirmation_method": "automatic", - "created": 1709822355, + "created": 1709822806, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6JKuuB1fWySn1wrv5A0d", + "latest_charge": "ch_3OriDaKuuB1fWySn2wqv6SYg", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6IKuuB1fWySn8qWrzZUc", + "payment_method": "pm_1OriDZKuuB1fWySnlnjOu08c", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:17 GMT + recorded_at: Thu, 07 Mar 2024 14:46:49 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6JKuuB1fWySn16tWCfsA + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDaKuuB1fWySn2L0k1gFu body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9lLw9UqoVnv5UW","request_duration_ms":1062}}' + - '{"last_request_metrics":{"request_id":"req_ujlneOpUrLNHku","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:18 GMT + - Thu, 07 Mar 2024 14:46:49 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_05HOGExtHTtFid + - req_RzicP4fDTMR7S6 Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6JKuuB1fWySn16tWCfsA", + "id": "pi_3OriDaKuuB1fWySn2L0k1gFu", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6JKuuB1fWySn16tWCfsA_secret_D8hlGgauhUmrdkdwHWW00R8Yi", + "client_secret": "pi_3OriDaKuuB1fWySn2L0k1gFu_secret_YBVG6hShLWGKI4ibOLmlmXSXG", "confirmation_method": "automatic", - "created": 1709822355, + "created": 1709822806, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6JKuuB1fWySn1wrv5A0d", + "latest_charge": "ch_3OriDaKuuB1fWySn2wqv6SYg", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6IKuuB1fWySn8qWrzZUc", + "payment_method": "pm_1OriDZKuuB1fWySnlnjOu08c", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:18 GMT + recorded_at: Thu, 07 Mar 2024 14:46:49 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml index 6552bdeccd..1f6ada1b92 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rlf2Pi3A5Mmqhc","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_fVxFUw2ERM7l44","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:12 GMT + - Thu, 07 Mar 2024 14:46:43 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 73be0226-ff96-4329-b76b-60f549897100 + - a451df23-29f0-4fbc-ba7f-ae69f843cdf5 Original-Request: - - req_X4pUFLD6uAH1pZ + - req_eATWZt62UsiKCz Request-Id: - - req_X4pUFLD6uAH1pZ + - req_eATWZt62UsiKCz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6FKuuB1fWySng6AKDYxR", + "id": "pm_1OriDXKuuB1fWySnxC9k6o8p", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822352, + "created": 1709822803, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:12 GMT + recorded_at: Thu, 07 Mar 2024 14:46:43 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6FKuuB1fWySng6AKDYxR&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDXKuuB1fWySnxC9k6o8p&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_X4pUFLD6uAH1pZ","request_duration_ms":564}}' + - '{"last_request_metrics":{"request_id":"req_eATWZt62UsiKCz","request_duration_ms":447}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:12 GMT + - Thu, 07 Mar 2024 14:46:44 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 98537026-a4dd-4913-bf29-0bb7c451cff1 + - 215c9e84-c0b5-4e4f-a3fe-64d723d5a39d Original-Request: - - req_gJHYBAMCM9Jv0Q + - req_wPSGbAO3QtfnXA Request-Id: - - req_gJHYBAMCM9Jv0Q + - req_wPSGbAO3QtfnXA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6GKuuB1fWySn2EcTbKCm", + "id": "pi_3OriDYKuuB1fWySn0zFlIAeJ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6GKuuB1fWySn2EcTbKCm_secret_PF9aKYFH3i5Xl5jIyWIcqR3FZ", + "client_secret": "pi_3OriDYKuuB1fWySn0zFlIAeJ_secret_H1nOpv1hYTupdkd5cFwog2HCD", "confirmation_method": "automatic", - "created": 1709822352, + "created": 1709822804, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6FKuuB1fWySng6AKDYxR", + "payment_method": "pm_1OriDXKuuB1fWySnxC9k6o8p", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:12 GMT + recorded_at: Thu, 07 Mar 2024 14:46:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6GKuuB1fWySn2EcTbKCm/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDYKuuB1fWySn0zFlIAeJ/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gJHYBAMCM9Jv0Q","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_wPSGbAO3QtfnXA","request_duration_ms":445}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:13 GMT + - Thu, 07 Mar 2024 14:46:45 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 986b91b3-2ad5-4740-ba0e-180a7d81ebbf + - 7906c227-f4ac-4a29-8459-ecec12f69c63 Original-Request: - - req_Zv3xLud85hWtta + - req_lPOt5IxSU1SYMf Request-Id: - - req_Zv3xLud85hWtta + - req_lPOt5IxSU1SYMf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6GKuuB1fWySn2EcTbKCm", + "id": "pi_3OriDYKuuB1fWySn0zFlIAeJ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6GKuuB1fWySn2EcTbKCm_secret_PF9aKYFH3i5Xl5jIyWIcqR3FZ", + "client_secret": "pi_3OriDYKuuB1fWySn0zFlIAeJ_secret_H1nOpv1hYTupdkd5cFwog2HCD", "confirmation_method": "automatic", - "created": 1709822352, + "created": 1709822804, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6GKuuB1fWySn2SKcb3Fc", + "latest_charge": "ch_3OriDYKuuB1fWySn0FUeuc2N", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6FKuuB1fWySng6AKDYxR", + "payment_method": "pm_1OriDXKuuB1fWySnxC9k6o8p", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:13 GMT + recorded_at: Thu, 07 Mar 2024 14:46:45 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml index ce9573c831..23510f1dfa 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zUClNr39YFZT2X","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_YGy12UnzbacI1H","request_duration_ms":1095}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:47 GMT + - Thu, 07 Mar 2024 14:47:17 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f0905ad2-6722-4267-97c0-b16cebde8677 + - caa8fbac-ec83-49c2-a535-9f8d6456b2a3 Original-Request: - - req_PZWhyp8B5Ee0Du + - req_eAfqUpa2sa7aas Request-Id: - - req_PZWhyp8B5Ee0Du + - req_eAfqUpa2sa7aas Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6pKuuB1fWySn7VYM4qbf", + "id": "pm_1OriE5KuuB1fWySnxdapSMOd", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822387, + "created": 1709822837, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:47 GMT + recorded_at: Thu, 07 Mar 2024 14:47:18 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6pKuuB1fWySn7VYM4qbf&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriE5KuuB1fWySnxdapSMOd&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PZWhyp8B5Ee0Du","request_duration_ms":527}}' + - '{"last_request_metrics":{"request_id":"req_eAfqUpa2sa7aas","request_duration_ms":534}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:48 GMT + - Thu, 07 Mar 2024 14:47:18 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0a9415a8-f92e-41db-abc9-9e24a720a12c + - ee3f8d02-d070-46e6-b64e-bc6b5facca0b Original-Request: - - req_8A6MHfn3UiPllR + - req_lUkmvKA0ENow15 Request-Id: - - req_8A6MHfn3UiPllR + - req_lUkmvKA0ENow15 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6qKuuB1fWySn0mUFdiNm", + "id": "pi_3OriE6KuuB1fWySn1ypGGK8k", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6qKuuB1fWySn0mUFdiNm_secret_oLt6kz9dtrviVgUvqkVPB9WjZ", + "client_secret": "pi_3OriE6KuuB1fWySn1ypGGK8k_secret_poBwlVvGgGffFLPH03E6Gqzyn", "confirmation_method": "automatic", - "created": 1709822388, + "created": 1709822838, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6pKuuB1fWySn7VYM4qbf", + "payment_method": "pm_1OriE5KuuB1fWySnxdapSMOd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:48 GMT + recorded_at: Thu, 07 Mar 2024 14:47:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6qKuuB1fWySn0mUFdiNm/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriE6KuuB1fWySn1ypGGK8k/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8A6MHfn3UiPllR","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_lUkmvKA0ENow15","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:49 GMT + - Thu, 07 Mar 2024 14:47:19 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 822c5e35-9923-43a0-a4fa-a49414b5209f + - 168c41b5-b8be-471f-9d58-78e62cf3f51e Original-Request: - - req_0ZtKzUQRN66nTO + - req_XsqWnjycDPmL06 Request-Id: - - req_0ZtKzUQRN66nTO + - req_XsqWnjycDPmL06 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6qKuuB1fWySn0mUFdiNm", + "id": "pi_3OriE6KuuB1fWySn1ypGGK8k", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6qKuuB1fWySn0mUFdiNm_secret_oLt6kz9dtrviVgUvqkVPB9WjZ", + "client_secret": "pi_3OriE6KuuB1fWySn1ypGGK8k_secret_poBwlVvGgGffFLPH03E6Gqzyn", "confirmation_method": "automatic", - "created": 1709822388, + "created": 1709822838, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6qKuuB1fWySn0k2Pht3w", + "latest_charge": "ch_3OriE6KuuB1fWySn1VNx8Zzv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6pKuuB1fWySn7VYM4qbf", + "payment_method": "pm_1OriE5KuuB1fWySnxdapSMOd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:49 GMT + recorded_at: Thu, 07 Mar 2024 14:47:19 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6qKuuB1fWySn0mUFdiNm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriE6KuuB1fWySn1ypGGK8k body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0ZtKzUQRN66nTO","request_duration_ms":1016}}' + - '{"last_request_metrics":{"request_id":"req_XsqWnjycDPmL06","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:49 GMT + - Thu, 07 Mar 2024 14:47:19 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_YpTspY5UHfOZhd + - req_aiQDuintkS1gP5 Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6qKuuB1fWySn0mUFdiNm", + "id": "pi_3OriE6KuuB1fWySn1ypGGK8k", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6qKuuB1fWySn0mUFdiNm_secret_oLt6kz9dtrviVgUvqkVPB9WjZ", + "client_secret": "pi_3OriE6KuuB1fWySn1ypGGK8k_secret_poBwlVvGgGffFLPH03E6Gqzyn", "confirmation_method": "automatic", - "created": 1709822388, + "created": 1709822838, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6qKuuB1fWySn0k2Pht3w", + "latest_charge": "ch_3OriE6KuuB1fWySn1VNx8Zzv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6pKuuB1fWySn7VYM4qbf", + "payment_method": "pm_1OriE5KuuB1fWySnxdapSMOd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:49 GMT + recorded_at: Thu, 07 Mar 2024 14:47:19 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6qKuuB1fWySn0mUFdiNm/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriE6KuuB1fWySn1ypGGK8k/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YpTspY5UHfOZhd","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_aiQDuintkS1gP5","request_duration_ms":383}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:50 GMT + - Thu, 07 Mar 2024 14:47:20 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 654522cd-3f60-477b-a3b5-4cf5d3529fcf + - 1a1bca95-4a70-4766-bf6a-cb22f06cdca9 Original-Request: - - req_Z91O4kVhu5PoSf + - req_DH8qGSgtLfdbdP Request-Id: - - req_Z91O4kVhu5PoSf + - req_DH8qGSgtLfdbdP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6qKuuB1fWySn0mUFdiNm", + "id": "pi_3OriE6KuuB1fWySn1ypGGK8k", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6qKuuB1fWySn0mUFdiNm_secret_oLt6kz9dtrviVgUvqkVPB9WjZ", + "client_secret": "pi_3OriE6KuuB1fWySn1ypGGK8k_secret_poBwlVvGgGffFLPH03E6Gqzyn", "confirmation_method": "automatic", - "created": 1709822388, + "created": 1709822838, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6qKuuB1fWySn0k2Pht3w", + "latest_charge": "ch_3OriE6KuuB1fWySn1VNx8Zzv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6pKuuB1fWySn7VYM4qbf", + "payment_method": "pm_1OriE5KuuB1fWySnxdapSMOd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:50 GMT + recorded_at: Thu, 07 Mar 2024 14:47:21 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6qKuuB1fWySn0mUFdiNm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriE6KuuB1fWySn1ypGGK8k body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Z91O4kVhu5PoSf","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_DH8qGSgtLfdbdP","request_duration_ms":1043}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:51 GMT + - Thu, 07 Mar 2024 14:47:21 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_quxkykd8Y5vam4 + - req_3WxihqjmQGrxRd Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6qKuuB1fWySn0mUFdiNm", + "id": "pi_3OriE6KuuB1fWySn1ypGGK8k", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6qKuuB1fWySn0mUFdiNm_secret_oLt6kz9dtrviVgUvqkVPB9WjZ", + "client_secret": "pi_3OriE6KuuB1fWySn1ypGGK8k_secret_poBwlVvGgGffFLPH03E6Gqzyn", "confirmation_method": "automatic", - "created": 1709822388, + "created": 1709822838, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6qKuuB1fWySn0k2Pht3w", + "latest_charge": "ch_3OriE6KuuB1fWySn1VNx8Zzv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6pKuuB1fWySn7VYM4qbf", + "payment_method": "pm_1OriE5KuuB1fWySnxdapSMOd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:51 GMT + recorded_at: Thu, 07 Mar 2024 14:47:21 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml index 917db4117e..e6168e34d2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Qv80KKhXtgpGmb","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_OTIzrR15GAgt5U","request_duration_ms":301}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:45 GMT + - Thu, 07 Mar 2024 14:47:15 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ce3d68a7-75d5-4e81-a56d-8c0219411a64 + - 1e7cf261-51de-422c-91b0-6dff207a17fc Original-Request: - - req_iv8xUqYcY8AUTQ + - req_GUZzyidJC5JIMe Request-Id: - - req_iv8xUqYcY8AUTQ + - req_GUZzyidJC5JIMe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6nKuuB1fWySnMDsBs8UC", + "id": "pm_1OriE3KuuB1fWySncJbIoslR", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822385, + "created": 1709822835, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:45 GMT + recorded_at: Thu, 07 Mar 2024 14:47:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6nKuuB1fWySnMDsBs8UC&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriE3KuuB1fWySncJbIoslR&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iv8xUqYcY8AUTQ","request_duration_ms":565}}' + - '{"last_request_metrics":{"request_id":"req_GUZzyidJC5JIMe","request_duration_ms":458}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:45 GMT + - Thu, 07 Mar 2024 14:47:15 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 24238878-0008-4317-8e88-7a39cee82a37 + - ef113c73-f20c-49bd-b2f5-0e01f5fb91a2 Original-Request: - - req_G97D4ciFv4fQfo + - req_MiUEsJ8tJLgjKr Request-Id: - - req_G97D4ciFv4fQfo + - req_MiUEsJ8tJLgjKr Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6nKuuB1fWySn0uOxH8a9", + "id": "pi_3OriE3KuuB1fWySn2chIn6yL", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6nKuuB1fWySn0uOxH8a9_secret_xVbubCGz8IOPcrI3T8HAFNUls", + "client_secret": "pi_3OriE3KuuB1fWySn2chIn6yL_secret_9mJXCLNKMt9pD2QDNFA3DVjVn", "confirmation_method": "automatic", - "created": 1709822385, + "created": 1709822835, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6nKuuB1fWySnMDsBs8UC", + "payment_method": "pm_1OriE3KuuB1fWySncJbIoslR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:46 GMT + recorded_at: Thu, 07 Mar 2024 14:47:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6nKuuB1fWySn0uOxH8a9/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriE3KuuB1fWySn2chIn6yL/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_G97D4ciFv4fQfo","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_MiUEsJ8tJLgjKr","request_duration_ms":431}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:46 GMT + - Thu, 07 Mar 2024 14:47:16 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f0fe800b-e45f-46ad-9ae4-6de1a93b1e25 + - 17575b4d-1549-4c52-b64b-f4ee1811aa99 Original-Request: - - req_zUClNr39YFZT2X + - req_YGy12UnzbacI1H Request-Id: - - req_zUClNr39YFZT2X + - req_YGy12UnzbacI1H Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6nKuuB1fWySn0uOxH8a9", + "id": "pi_3OriE3KuuB1fWySn2chIn6yL", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6nKuuB1fWySn0uOxH8a9_secret_xVbubCGz8IOPcrI3T8HAFNUls", + "client_secret": "pi_3OriE3KuuB1fWySn2chIn6yL_secret_9mJXCLNKMt9pD2QDNFA3DVjVn", "confirmation_method": "automatic", - "created": 1709822385, + "created": 1709822835, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6nKuuB1fWySn0WZwRzFW", + "latest_charge": "ch_3OriE3KuuB1fWySn2FhXcuks", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6nKuuB1fWySnMDsBs8UC", + "payment_method": "pm_1OriE3KuuB1fWySncJbIoslR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:46 GMT + recorded_at: Thu, 07 Mar 2024 14:47:17 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml index 05ada154d4..b5b00d6bd6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BdIObitYruzc6l","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_CWfacuv1RpEC7q","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:35 GMT + - Thu, 07 Mar 2024 14:47:05 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 570376d8-6e7a-46fe-816f-cfde1b9038e1 + - 14c73572-3615-46ad-a5e9-cfe80ead5058 Original-Request: - - req_UcsZgF0f3AKbvj + - req_Omj6ERKPwbqqYB Request-Id: - - req_UcsZgF0f3AKbvj + - req_Omj6ERKPwbqqYB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6dKuuB1fWySn00YEs8zc", + "id": "pm_1OriDtKuuB1fWySnzW5tBsXe", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822375, + "created": 1709822825, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:35 GMT + recorded_at: Thu, 07 Mar 2024 14:47:05 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6dKuuB1fWySn00YEs8zc&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDtKuuB1fWySnzW5tBsXe&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UcsZgF0f3AKbvj","request_duration_ms":482}}' + - '{"last_request_metrics":{"request_id":"req_Omj6ERKPwbqqYB","request_duration_ms":563}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:35 GMT + - Thu, 07 Mar 2024 14:47:05 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 208c01ce-5d01-466a-a210-185f638a50ca + - 187a4459-b29b-43c2-ad75-1414434f9528 Original-Request: - - req_e5sqTOBON1yG3X + - req_S9lGrFaKUsIP2S Request-Id: - - req_e5sqTOBON1yG3X + - req_S9lGrFaKUsIP2S Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6dKuuB1fWySn16W9VzLP", + "id": "pi_3OriDtKuuB1fWySn06XuuB5s", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6dKuuB1fWySn16W9VzLP_secret_DQMugq1DPXjxtXH03fLMMh9wM", + "client_secret": "pi_3OriDtKuuB1fWySn06XuuB5s_secret_ET6bvSIT5A3mWz0o4jUVi5mX2", "confirmation_method": "automatic", - "created": 1709822375, + "created": 1709822825, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6dKuuB1fWySn00YEs8zc", + "payment_method": "pm_1OriDtKuuB1fWySnzW5tBsXe", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:35 GMT + recorded_at: Thu, 07 Mar 2024 14:47:05 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6dKuuB1fWySn16W9VzLP/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDtKuuB1fWySn06XuuB5s/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_e5sqTOBON1yG3X","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_S9lGrFaKUsIP2S","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:36 GMT + - Thu, 07 Mar 2024 14:47:06 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f021cc37-2fb6-45b5-b5a2-38a621d89748 + - f81c97ab-7d66-47f1-9aa1-66b460c97de7 Original-Request: - - req_J43ZX2XSALqZmN + - req_BnZaEF4f5roHs9 Request-Id: - - req_J43ZX2XSALqZmN + - req_BnZaEF4f5roHs9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6dKuuB1fWySn16W9VzLP", + "id": "pi_3OriDtKuuB1fWySn06XuuB5s", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6dKuuB1fWySn16W9VzLP_secret_DQMugq1DPXjxtXH03fLMMh9wM", + "client_secret": "pi_3OriDtKuuB1fWySn06XuuB5s_secret_ET6bvSIT5A3mWz0o4jUVi5mX2", "confirmation_method": "automatic", - "created": 1709822375, + "created": 1709822825, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6dKuuB1fWySn1MGvXNvS", + "latest_charge": "ch_3OriDtKuuB1fWySn0tbPBo9C", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6dKuuB1fWySn00YEs8zc", + "payment_method": "pm_1OriDtKuuB1fWySnzW5tBsXe", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:36 GMT + recorded_at: Thu, 07 Mar 2024 14:47:07 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6dKuuB1fWySn16W9VzLP + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDtKuuB1fWySn06XuuB5s body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_J43ZX2XSALqZmN","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_BnZaEF4f5roHs9","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:37 GMT + - Thu, 07 Mar 2024 14:47:07 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_OfYYw0xlYjmQF2 + - req_lm1eTx9Ct7fVFQ Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6dKuuB1fWySn16W9VzLP", + "id": "pi_3OriDtKuuB1fWySn06XuuB5s", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6dKuuB1fWySn16W9VzLP_secret_DQMugq1DPXjxtXH03fLMMh9wM", + "client_secret": "pi_3OriDtKuuB1fWySn06XuuB5s_secret_ET6bvSIT5A3mWz0o4jUVi5mX2", "confirmation_method": "automatic", - "created": 1709822375, + "created": 1709822825, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6dKuuB1fWySn1MGvXNvS", + "latest_charge": "ch_3OriDtKuuB1fWySn0tbPBo9C", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6dKuuB1fWySn00YEs8zc", + "payment_method": "pm_1OriDtKuuB1fWySnzW5tBsXe", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:37 GMT + recorded_at: Thu, 07 Mar 2024 14:47:07 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6dKuuB1fWySn16W9VzLP/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDtKuuB1fWySn06XuuB5s/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OfYYw0xlYjmQF2","request_duration_ms":324}}' + - '{"last_request_metrics":{"request_id":"req_lm1eTx9Ct7fVFQ","request_duration_ms":303}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:38 GMT + - Thu, 07 Mar 2024 14:47:08 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fbe41105-f7cd-4a7b-8f7e-8ed9816f340c + - 2a9a1428-21c0-4c2f-a84b-050344932afb Original-Request: - - req_RGSbLFfC5dlHUy + - req_GlYSeI7l3U019E Request-Id: - - req_RGSbLFfC5dlHUy + - req_GlYSeI7l3U019E Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6dKuuB1fWySn16W9VzLP", + "id": "pi_3OriDtKuuB1fWySn06XuuB5s", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6dKuuB1fWySn16W9VzLP_secret_DQMugq1DPXjxtXH03fLMMh9wM", + "client_secret": "pi_3OriDtKuuB1fWySn06XuuB5s_secret_ET6bvSIT5A3mWz0o4jUVi5mX2", "confirmation_method": "automatic", - "created": 1709822375, + "created": 1709822825, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6dKuuB1fWySn1MGvXNvS", + "latest_charge": "ch_3OriDtKuuB1fWySn0tbPBo9C", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6dKuuB1fWySn00YEs8zc", + "payment_method": "pm_1OriDtKuuB1fWySnzW5tBsXe", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:38 GMT + recorded_at: Thu, 07 Mar 2024 14:47:08 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6dKuuB1fWySn16W9VzLP + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDtKuuB1fWySn06XuuB5s body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RGSbLFfC5dlHUy","request_duration_ms":934}}' + - '{"last_request_metrics":{"request_id":"req_GlYSeI7l3U019E","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:38 GMT + - Thu, 07 Mar 2024 14:47:08 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_gC7IY9TSyulCJ5 + - req_pbLzqp5KrBy1nZ Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6dKuuB1fWySn16W9VzLP", + "id": "pi_3OriDtKuuB1fWySn06XuuB5s", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6dKuuB1fWySn16W9VzLP_secret_DQMugq1DPXjxtXH03fLMMh9wM", + "client_secret": "pi_3OriDtKuuB1fWySn06XuuB5s_secret_ET6bvSIT5A3mWz0o4jUVi5mX2", "confirmation_method": "automatic", - "created": 1709822375, + "created": 1709822825, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6dKuuB1fWySn1MGvXNvS", + "latest_charge": "ch_3OriDtKuuB1fWySn0tbPBo9C", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6dKuuB1fWySn00YEs8zc", + "payment_method": "pm_1OriDtKuuB1fWySnzW5tBsXe", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:38 GMT + recorded_at: Thu, 07 Mar 2024 14:47:08 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml index e30cf59bac..b99ae4d66f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wtPlC7mapkIC5r","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_iN6HHVzSOfpc9E","request_duration_ms":325}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:32 GMT + - Thu, 07 Mar 2024 14:47:02 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1b75ea93-257d-4165-b411-b5e16e003695 + - bd1f0a35-481d-4a95-9c49-555702156ae1 Original-Request: - - req_LX0Ggvi0iTdoQN + - req_e8EOToritC8jhc Request-Id: - - req_LX0Ggvi0iTdoQN + - req_e8EOToritC8jhc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6aKuuB1fWySnR56IErgG", + "id": "pm_1OriDqKuuB1fWySnFQ7AdMm2", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822372, + "created": 1709822822, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:33 GMT + recorded_at: Thu, 07 Mar 2024 14:47:02 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6aKuuB1fWySnR56IErgG&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDqKuuB1fWySnFQ7AdMm2&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LX0Ggvi0iTdoQN","request_duration_ms":462}}' + - '{"last_request_metrics":{"request_id":"req_e8EOToritC8jhc","request_duration_ms":440}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:33 GMT + - Thu, 07 Mar 2024 14:47:03 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3bf83de8-366e-4193-98bb-e96854d1dfbf + - cbb321aa-94ad-4227-a257-7c298406da70 Original-Request: - - req_fbbx84OSir5LRZ + - req_ocqgc9sCNvOjtQ Request-Id: - - req_fbbx84OSir5LRZ + - req_ocqgc9sCNvOjtQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6bKuuB1fWySn06xnGImA", + "id": "pi_3OriDrKuuB1fWySn1Ir57Z1x", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6bKuuB1fWySn06xnGImA_secret_KCl7kpypanu3XZ9NPHRPVDfj0", + "client_secret": "pi_3OriDrKuuB1fWySn1Ir57Z1x_secret_4OK5tqjJjQ0BBjRmyuTECYQgp", "confirmation_method": "automatic", - "created": 1709822373, + "created": 1709822823, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6aKuuB1fWySnR56IErgG", + "payment_method": "pm_1OriDqKuuB1fWySnFQ7AdMm2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:33 GMT + recorded_at: Thu, 07 Mar 2024 14:47:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6bKuuB1fWySn06xnGImA/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDrKuuB1fWySn1Ir57Z1x/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fbbx84OSir5LRZ","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_ocqgc9sCNvOjtQ","request_duration_ms":501}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:34 GMT + - Thu, 07 Mar 2024 14:47:04 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 05e8dc76-4b78-4317-95f6-7887ab1bf72f + - 6f81a2b8-e4fe-45af-95c6-63193a91ae6e Original-Request: - - req_BdIObitYruzc6l + - req_CWfacuv1RpEC7q Request-Id: - - req_BdIObitYruzc6l + - req_CWfacuv1RpEC7q Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6bKuuB1fWySn06xnGImA", + "id": "pi_3OriDrKuuB1fWySn1Ir57Z1x", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6bKuuB1fWySn06xnGImA_secret_KCl7kpypanu3XZ9NPHRPVDfj0", + "client_secret": "pi_3OriDrKuuB1fWySn1Ir57Z1x_secret_4OK5tqjJjQ0BBjRmyuTECYQgp", "confirmation_method": "automatic", - "created": 1709822373, + "created": 1709822823, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6bKuuB1fWySn0BQbiOGQ", + "latest_charge": "ch_3OriDrKuuB1fWySn1Imqbs3f", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6aKuuB1fWySnR56IErgG", + "payment_method": "pm_1OriDqKuuB1fWySnFQ7AdMm2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:34 GMT + recorded_at: Thu, 07 Mar 2024 14:47:04 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml index 2555916831..1d97fc8752 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xST3xsRh0whD1N","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_r7XLKENl10pmmo","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:41 GMT + - Thu, 07 Mar 2024 14:47:11 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e6746b5b-6585-4db1-acff-179647b05145 + - 94fcfb6e-cb6a-41fe-90f1-49232422c5a1 Original-Request: - - req_aGLpwXJ11h3PDZ + - req_yzEhbHapR4p4VO Request-Id: - - req_aGLpwXJ11h3PDZ + - req_yzEhbHapR4p4VO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6jKuuB1fWySnxCQISdW3", + "id": "pm_1OriDzKuuB1fWySnYW4lyW1O", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822381, + "created": 1709822831, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:41 GMT + recorded_at: Thu, 07 Mar 2024 14:47:11 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6jKuuB1fWySnxCQISdW3&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDzKuuB1fWySnYW4lyW1O&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aGLpwXJ11h3PDZ","request_duration_ms":545}}' + - '{"last_request_metrics":{"request_id":"req_yzEhbHapR4p4VO","request_duration_ms":575}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:42 GMT + - Thu, 07 Mar 2024 14:47:12 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7907d633-20b0-40ac-bec9-92857397eb7b + - a4a9e9cb-28e0-478b-9de9-90ac6e5c437f Original-Request: - - req_z5eK8Dxvazbe2T + - req_sgUmLru7jTF4Ba Request-Id: - - req_z5eK8Dxvazbe2T + - req_sgUmLru7jTF4Ba Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6jKuuB1fWySn1aJZ7OSC", + "id": "pi_3OriDzKuuB1fWySn2GrzpumR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6jKuuB1fWySn1aJZ7OSC_secret_jjWjcCgv4FmMeT2HDg6zuMDNq", + "client_secret": "pi_3OriDzKuuB1fWySn2GrzpumR_secret_iYJA3ZBL0TUpKMr1FWCjauBpJ", "confirmation_method": "automatic", - "created": 1709822381, + "created": 1709822831, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6jKuuB1fWySnxCQISdW3", + "payment_method": "pm_1OriDzKuuB1fWySnYW4lyW1O", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:42 GMT + recorded_at: Thu, 07 Mar 2024 14:47:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6jKuuB1fWySn1aJZ7OSC/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDzKuuB1fWySn2GrzpumR/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_z5eK8Dxvazbe2T","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_sgUmLru7jTF4Ba","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:43 GMT + - Thu, 07 Mar 2024 14:47:13 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8a3066cb-b8ed-4289-9f6b-6cdfa04097df + - 25d52ab5-e138-4917-b1ff-026e6d668047 Original-Request: - - req_Z2jmyrut9YJXNU + - req_vYG5X2pKf3UP3H Request-Id: - - req_Z2jmyrut9YJXNU + - req_vYG5X2pKf3UP3H Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6jKuuB1fWySn1aJZ7OSC", + "id": "pi_3OriDzKuuB1fWySn2GrzpumR", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6jKuuB1fWySn1aJZ7OSC_secret_jjWjcCgv4FmMeT2HDg6zuMDNq", + "client_secret": "pi_3OriDzKuuB1fWySn2GrzpumR_secret_iYJA3ZBL0TUpKMr1FWCjauBpJ", "confirmation_method": "automatic", - "created": 1709822381, + "created": 1709822831, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6jKuuB1fWySn1gdZxZHw", + "latest_charge": "ch_3OriDzKuuB1fWySn2JYsqWE6", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6jKuuB1fWySnxCQISdW3", + "payment_method": "pm_1OriDzKuuB1fWySnYW4lyW1O", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:43 GMT + recorded_at: Thu, 07 Mar 2024 14:47:13 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6jKuuB1fWySn1aJZ7OSC + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDzKuuB1fWySn2GrzpumR body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Z2jmyrut9YJXNU","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_vYG5X2pKf3UP3H","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:43 GMT + - Thu, 07 Mar 2024 14:47:13 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_L1plExG9VMixYX + - req_qVSFBG5ygktMFv Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6jKuuB1fWySn1aJZ7OSC", + "id": "pi_3OriDzKuuB1fWySn2GrzpumR", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6jKuuB1fWySn1aJZ7OSC_secret_jjWjcCgv4FmMeT2HDg6zuMDNq", + "client_secret": "pi_3OriDzKuuB1fWySn2GrzpumR_secret_iYJA3ZBL0TUpKMr1FWCjauBpJ", "confirmation_method": "automatic", - "created": 1709822381, + "created": 1709822831, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6jKuuB1fWySn1gdZxZHw", + "latest_charge": "ch_3OriDzKuuB1fWySn2JYsqWE6", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6jKuuB1fWySnxCQISdW3", + "payment_method": "pm_1OriDzKuuB1fWySnYW4lyW1O", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:43 GMT + recorded_at: Thu, 07 Mar 2024 14:47:13 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6jKuuB1fWySn1aJZ7OSC/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDzKuuB1fWySn2GrzpumR/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_L1plExG9VMixYX","request_duration_ms":290}}' + - '{"last_request_metrics":{"request_id":"req_qVSFBG5ygktMFv","request_duration_ms":313}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:44 GMT + - Thu, 07 Mar 2024 14:47:14 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 40529758-81cb-4ec3-ad8b-58a41dd8b614 + - 91a14271-96fd-4edd-9746-38303332612f Original-Request: - - req_Z6oghoxvG6hheF + - req_Z2LGeJPpN07bXK Request-Id: - - req_Z6oghoxvG6hheF + - req_Z2LGeJPpN07bXK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6jKuuB1fWySn1aJZ7OSC", + "id": "pi_3OriDzKuuB1fWySn2GrzpumR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6jKuuB1fWySn1aJZ7OSC_secret_jjWjcCgv4FmMeT2HDg6zuMDNq", + "client_secret": "pi_3OriDzKuuB1fWySn2GrzpumR_secret_iYJA3ZBL0TUpKMr1FWCjauBpJ", "confirmation_method": "automatic", - "created": 1709822381, + "created": 1709822831, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6jKuuB1fWySn1gdZxZHw", + "latest_charge": "ch_3OriDzKuuB1fWySn2JYsqWE6", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6jKuuB1fWySnxCQISdW3", + "payment_method": "pm_1OriDzKuuB1fWySnYW4lyW1O", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:44 GMT + recorded_at: Thu, 07 Mar 2024 14:47:14 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6jKuuB1fWySn1aJZ7OSC + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDzKuuB1fWySn2GrzpumR body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Z6oghoxvG6hheF","request_duration_ms":1035}}' + - '{"last_request_metrics":{"request_id":"req_Z2LGeJPpN07bXK","request_duration_ms":1012}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:44 GMT + - Thu, 07 Mar 2024 14:47:14 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_Qv80KKhXtgpGmb + - req_OTIzrR15GAgt5U Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6jKuuB1fWySn1aJZ7OSC", + "id": "pi_3OriDzKuuB1fWySn2GrzpumR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6jKuuB1fWySn1aJZ7OSC_secret_jjWjcCgv4FmMeT2HDg6zuMDNq", + "client_secret": "pi_3OriDzKuuB1fWySn2GrzpumR_secret_iYJA3ZBL0TUpKMr1FWCjauBpJ", "confirmation_method": "automatic", - "created": 1709822381, + "created": 1709822831, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6jKuuB1fWySn1gdZxZHw", + "latest_charge": "ch_3OriDzKuuB1fWySn2JYsqWE6", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6jKuuB1fWySnxCQISdW3", + "payment_method": "pm_1OriDzKuuB1fWySnYW4lyW1O", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:44 GMT + recorded_at: Thu, 07 Mar 2024 14:47:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 05452e4dd7..aa9dfea2ff 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gC7IY9TSyulCJ5","request_duration_ms":368}}' + - '{"last_request_metrics":{"request_id":"req_pbLzqp5KrBy1nZ","request_duration_ms":303}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:39 GMT + - Thu, 07 Mar 2024 14:47:09 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e90a5add-ddff-49a4-8bcf-85b96a0bf75f + - 02551bb7-7dbc-4003-bbdd-afff34ccb2ae Original-Request: - - req_hADPIO4S03PEk6 + - req_OZnXU6EaqctQNk Request-Id: - - req_hADPIO4S03PEk6 + - req_OZnXU6EaqctQNk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6gKuuB1fWySnnGFZiU16", + "id": "pm_1OriDwKuuB1fWySneQOmAG01", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822378, + "created": 1709822829, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:39 GMT + recorded_at: Thu, 07 Mar 2024 14:47:09 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6gKuuB1fWySnnGFZiU16&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDwKuuB1fWySneQOmAG01&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hADPIO4S03PEk6","request_duration_ms":559}}' + - '{"last_request_metrics":{"request_id":"req_OZnXU6EaqctQNk","request_duration_ms":460}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:39 GMT + - Thu, 07 Mar 2024 14:47:09 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 33ff77e4-4081-419e-bbab-892032df6b7f + - fd42e530-a3d5-4da7-9c1f-d73db603fa54 Original-Request: - - req_RZys8fEj4TxBlh + - req_h84z34IItfrNUV Request-Id: - - req_RZys8fEj4TxBlh + - req_h84z34IItfrNUV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6hKuuB1fWySn0bqKRub5", + "id": "pi_3OriDxKuuB1fWySn1V5UW82J", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6hKuuB1fWySn0bqKRub5_secret_Mac93mMZU2cfG4NsLiKD0EXB5", + "client_secret": "pi_3OriDxKuuB1fWySn1V5UW82J_secret_Ctusr1IkbXljYHIznnOBgWErU", "confirmation_method": "automatic", - "created": 1709822379, + "created": 1709822829, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6gKuuB1fWySnnGFZiU16", + "payment_method": "pm_1OriDwKuuB1fWySneQOmAG01", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:39 GMT + recorded_at: Thu, 07 Mar 2024 14:47:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6hKuuB1fWySn0bqKRub5/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDxKuuB1fWySn1V5UW82J/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RZys8fEj4TxBlh","request_duration_ms":514}}' + - '{"last_request_metrics":{"request_id":"req_h84z34IItfrNUV","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:40 GMT + - Thu, 07 Mar 2024 14:47:10 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 21361187-c607-451c-9e7f-38d702abe6d4 + - 9697446d-f57b-47cf-87fa-72afdac7b21f Original-Request: - - req_xST3xsRh0whD1N + - req_r7XLKENl10pmmo Request-Id: - - req_xST3xsRh0whD1N + - req_r7XLKENl10pmmo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6hKuuB1fWySn0bqKRub5", + "id": "pi_3OriDxKuuB1fWySn1V5UW82J", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6hKuuB1fWySn0bqKRub5_secret_Mac93mMZU2cfG4NsLiKD0EXB5", + "client_secret": "pi_3OriDxKuuB1fWySn1V5UW82J_secret_Ctusr1IkbXljYHIznnOBgWErU", "confirmation_method": "automatic", - "created": 1709822379, + "created": 1709822829, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6hKuuB1fWySn0ILoNQw4", + "latest_charge": "ch_3OriDxKuuB1fWySn1OYjQOVg", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6gKuuB1fWySnnGFZiU16", + "payment_method": "pm_1OriDwKuuB1fWySneQOmAG01", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:40 GMT + recorded_at: Thu, 07 Mar 2024 14:47:10 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml index d71481ac7f..bf64b31c73 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_c6y1UlwCzKwRyc","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_kdy5UOR8YL2aBM","request_duration_ms":931}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:21 GMT + - Thu, 07 Mar 2024 14:46:52 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 93449b3b-59f8-4637-bfe7-444e0dc7a896 + - 9d4400de-37f8-4a05-8bde-a8c810f5a535 Original-Request: - - req_QZEhwuhVSTppER + - req_N2XMalSZSz0GMN Request-Id: - - req_QZEhwuhVSTppER + - req_N2XMalSZSz0GMN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6PKuuB1fWySng9YJRJSp", + "id": "pm_1OriDgKuuB1fWySn4TXENJwf", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822361, + "created": 1709822812, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:22 GMT + recorded_at: Thu, 07 Mar 2024 14:46:52 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6PKuuB1fWySng9YJRJSp&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDgKuuB1fWySn4TXENJwf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QZEhwuhVSTppER","request_duration_ms":493}}' + - '{"last_request_metrics":{"request_id":"req_N2XMalSZSz0GMN","request_duration_ms":440}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:22 GMT + - Thu, 07 Mar 2024 14:46:53 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 92bd0d7f-9444-4bfb-93da-349e9cef7de6 + - 310ddfa0-cc9b-4946-9a33-b1470523974d Original-Request: - - req_ZoNIpD22KLh7MF + - req_tehmhL7wRCaVaC Request-Id: - - req_ZoNIpD22KLh7MF + - req_tehmhL7wRCaVaC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6QKuuB1fWySn27pl22Cn", + "id": "pi_3OriDhKuuB1fWySn2Pbdcy36", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6QKuuB1fWySn27pl22Cn_secret_qLSwOwHoDb6kZVKhVdG1V7pRp", + "client_secret": "pi_3OriDhKuuB1fWySn2Pbdcy36_secret_m7L9kexwn5Gg5EB900U5OyZux", "confirmation_method": "automatic", - "created": 1709822362, + "created": 1709822813, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6PKuuB1fWySng9YJRJSp", + "payment_method": "pm_1OriDgKuuB1fWySn4TXENJwf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:22 GMT + recorded_at: Thu, 07 Mar 2024 14:46:53 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6QKuuB1fWySn27pl22Cn/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDhKuuB1fWySn2Pbdcy36/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZoNIpD22KLh7MF","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_tehmhL7wRCaVaC","request_duration_ms":392}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:23 GMT + - Thu, 07 Mar 2024 14:46:54 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b76eb03d-d7e0-4025-beb7-8b54ecde3c2c + - aa71f6a1-a038-48d0-8d4d-7748c7876795 Original-Request: - - req_dqbQF2f3fAYplO + - req_hWYgnIzeV5UiIG Request-Id: - - req_dqbQF2f3fAYplO + - req_hWYgnIzeV5UiIG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6QKuuB1fWySn27pl22Cn", + "id": "pi_3OriDhKuuB1fWySn2Pbdcy36", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6QKuuB1fWySn27pl22Cn_secret_qLSwOwHoDb6kZVKhVdG1V7pRp", + "client_secret": "pi_3OriDhKuuB1fWySn2Pbdcy36_secret_m7L9kexwn5Gg5EB900U5OyZux", "confirmation_method": "automatic", - "created": 1709822362, + "created": 1709822813, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6QKuuB1fWySn2Tq46gfK", + "latest_charge": "ch_3OriDhKuuB1fWySn2zYnaFTr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6PKuuB1fWySng9YJRJSp", + "payment_method": "pm_1OriDgKuuB1fWySn4TXENJwf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:23 GMT + recorded_at: Thu, 07 Mar 2024 14:46:54 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6QKuuB1fWySn27pl22Cn + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDhKuuB1fWySn2Pbdcy36 body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dqbQF2f3fAYplO","request_duration_ms":947}}' + - '{"last_request_metrics":{"request_id":"req_hWYgnIzeV5UiIG","request_duration_ms":990}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:23 GMT + - Thu, 07 Mar 2024 14:46:54 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_ZWuE34QyBR0qaY + - req_VWonqq3cd0b9yX Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6QKuuB1fWySn27pl22Cn", + "id": "pi_3OriDhKuuB1fWySn2Pbdcy36", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6QKuuB1fWySn27pl22Cn_secret_qLSwOwHoDb6kZVKhVdG1V7pRp", + "client_secret": "pi_3OriDhKuuB1fWySn2Pbdcy36_secret_m7L9kexwn5Gg5EB900U5OyZux", "confirmation_method": "automatic", - "created": 1709822362, + "created": 1709822813, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6QKuuB1fWySn2Tq46gfK", + "latest_charge": "ch_3OriDhKuuB1fWySn2zYnaFTr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6PKuuB1fWySng9YJRJSp", + "payment_method": "pm_1OriDgKuuB1fWySn4TXENJwf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:23 GMT + recorded_at: Thu, 07 Mar 2024 14:46:54 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6QKuuB1fWySn27pl22Cn/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDhKuuB1fWySn2Pbdcy36/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZWuE34QyBR0qaY","request_duration_ms":375}}' + - '{"last_request_metrics":{"request_id":"req_VWonqq3cd0b9yX","request_duration_ms":391}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:24 GMT + - Thu, 07 Mar 2024 14:46:55 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 129a31aa-8c67-42f4-84fd-fe7f485a053c + - f1c08736-9c82-4273-bbe8-297b8a328e00 Original-Request: - - req_0RRy3V8Bs6k5FX + - req_RyyEtsM2u5kWbL Request-Id: - - req_0RRy3V8Bs6k5FX + - req_RyyEtsM2u5kWbL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6QKuuB1fWySn27pl22Cn", + "id": "pi_3OriDhKuuB1fWySn2Pbdcy36", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6QKuuB1fWySn27pl22Cn_secret_qLSwOwHoDb6kZVKhVdG1V7pRp", + "client_secret": "pi_3OriDhKuuB1fWySn2Pbdcy36_secret_m7L9kexwn5Gg5EB900U5OyZux", "confirmation_method": "automatic", - "created": 1709822362, + "created": 1709822813, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6QKuuB1fWySn2Tq46gfK", + "latest_charge": "ch_3OriDhKuuB1fWySn2zYnaFTr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6PKuuB1fWySng9YJRJSp", + "payment_method": "pm_1OriDgKuuB1fWySn4TXENJwf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:25 GMT + recorded_at: Thu, 07 Mar 2024 14:46:55 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6QKuuB1fWySn27pl22Cn + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDhKuuB1fWySn2Pbdcy36 body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0RRy3V8Bs6k5FX","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_RyyEtsM2u5kWbL","request_duration_ms":984}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:25 GMT + - Thu, 07 Mar 2024 14:46:55 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_DeAjZQFIx5gUif + - req_hHCFQIlXnZJW2W Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6QKuuB1fWySn27pl22Cn", + "id": "pi_3OriDhKuuB1fWySn2Pbdcy36", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6QKuuB1fWySn27pl22Cn_secret_qLSwOwHoDb6kZVKhVdG1V7pRp", + "client_secret": "pi_3OriDhKuuB1fWySn2Pbdcy36_secret_m7L9kexwn5Gg5EB900U5OyZux", "confirmation_method": "automatic", - "created": 1709822362, + "created": 1709822813, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6QKuuB1fWySn2Tq46gfK", + "latest_charge": "ch_3OriDhKuuB1fWySn2zYnaFTr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6PKuuB1fWySng9YJRJSp", + "payment_method": "pm_1OriDgKuuB1fWySn4TXENJwf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:25 GMT + recorded_at: Thu, 07 Mar 2024 14:46:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml index bfa11c5f0b..f3a072b288 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_05HOGExtHTtFid","request_duration_ms":3}}' + - '{"last_request_metrics":{"request_id":"req_RzicP4fDTMR7S6","request_duration_ms":1}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:19 GMT + - Thu, 07 Mar 2024 14:46:50 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 496a9fdc-70d5-4163-bb61-db7013d33ab5 + - 48ae066f-01a3-42fa-a540-9126e624e8a8 Original-Request: - - req_qQtoi368GeRuPj + - req_bwSMU9MGDkknMh Request-Id: - - req_qQtoi368GeRuPj + - req_bwSMU9MGDkknMh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6NKuuB1fWySn27CmBFax", + "id": "pm_1OriDeKuuB1fWySnfXX4Yr87", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822359, + "created": 1709822810, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:19 GMT + recorded_at: Thu, 07 Mar 2024 14:46:50 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6NKuuB1fWySn27CmBFax&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDeKuuB1fWySnfXX4Yr87&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qQtoi368GeRuPj","request_duration_ms":553}}' + - '{"last_request_metrics":{"request_id":"req_bwSMU9MGDkknMh","request_duration_ms":597}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:19 GMT + - Thu, 07 Mar 2024 14:46:51 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8dcbf1c7-f434-4c94-9e8e-a5de605ddd87 + - 7f657e62-dd4b-4647-97fc-2c1015268961 Original-Request: - - req_UC6fa89KsELHXO + - req_pH6fvEmGW5VInM Request-Id: - - req_UC6fa89KsELHXO + - req_pH6fvEmGW5VInM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6NKuuB1fWySn0FWu4sGs", + "id": "pi_3OriDeKuuB1fWySn1zwVdhcn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6NKuuB1fWySn0FWu4sGs_secret_aIeuTif8JwLQvmQ4RdmDaBvHP", + "client_secret": "pi_3OriDeKuuB1fWySn1zwVdhcn_secret_WunwqdhJkEfC8us7tBkToL4ji", "confirmation_method": "automatic", - "created": 1709822359, + "created": 1709822810, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6NKuuB1fWySn27CmBFax", + "payment_method": "pm_1OriDeKuuB1fWySnfXX4Yr87", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:19 GMT + recorded_at: Thu, 07 Mar 2024 14:46:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6NKuuB1fWySn0FWu4sGs/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDeKuuB1fWySn1zwVdhcn/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UC6fa89KsELHXO","request_duration_ms":441}}' + - '{"last_request_metrics":{"request_id":"req_pH6fvEmGW5VInM","request_duration_ms":503}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:20 GMT + - Thu, 07 Mar 2024 14:46:52 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f63e2bf4-6bd9-4e8d-a563-29803511fc3c + - 35f71389-8f6e-4165-b1f6-04f658aca4c0 Original-Request: - - req_c6y1UlwCzKwRyc + - req_kdy5UOR8YL2aBM Request-Id: - - req_c6y1UlwCzKwRyc + - req_kdy5UOR8YL2aBM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6NKuuB1fWySn0FWu4sGs", + "id": "pi_3OriDeKuuB1fWySn1zwVdhcn", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6NKuuB1fWySn0FWu4sGs_secret_aIeuTif8JwLQvmQ4RdmDaBvHP", + "client_secret": "pi_3OriDeKuuB1fWySn1zwVdhcn_secret_WunwqdhJkEfC8us7tBkToL4ji", "confirmation_method": "automatic", - "created": 1709822359, + "created": 1709822810, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6NKuuB1fWySn0f5GJLvd", + "latest_charge": "ch_3OriDeKuuB1fWySn1eQXkemj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6NKuuB1fWySn27CmBFax", + "payment_method": "pm_1OriDeKuuB1fWySnfXX4Yr87", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:21 GMT + recorded_at: Thu, 07 Mar 2024 14:46:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml index 38cea20ffa..0871ceda29 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3APqwxjS1J2mPu","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_seOXIg7NjHNwUv","request_duration_ms":1033}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:28 GMT + - Thu, 07 Mar 2024 14:46:59 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 46ad79e9-1b00-49f0-9fe2-ae2db4792bbc + - 0ffeece3-4c91-426a-9bfe-26720eb76b7b Original-Request: - - req_7tUuPPUTPiZWtd + - req_dv3cDmsvS5ZA8x Request-Id: - - req_7tUuPPUTPiZWtd + - req_dv3cDmsvS5ZA8x Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6WKuuB1fWySnedkS6cOm", + "id": "pm_1OriDnKuuB1fWySnaNcva6s9", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822368, + "created": 1709822819, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:28 GMT + recorded_at: Thu, 07 Mar 2024 14:46:59 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6WKuuB1fWySnedkS6cOm&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDnKuuB1fWySnaNcva6s9&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7tUuPPUTPiZWtd","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_dv3cDmsvS5ZA8x","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:29 GMT + - Thu, 07 Mar 2024 14:46:59 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4ef63c00-e6de-4a6b-a14d-98317102bd67 + - 9f0f6666-1b5e-4cda-95ae-3f5f54081f4e Original-Request: - - req_8OpXDQ5acs8Lhh + - req_xnk0uGWDPQ98mm Request-Id: - - req_8OpXDQ5acs8Lhh + - req_xnk0uGWDPQ98mm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6XKuuB1fWySn2hLbO3XE", + "id": "pi_3OriDnKuuB1fWySn0Fjfi21P", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6XKuuB1fWySn2hLbO3XE_secret_ITGlmuAeX9TxTMxJHOIL402OR", + "client_secret": "pi_3OriDnKuuB1fWySn0Fjfi21P_secret_s5VgGEnufjBMAaEVdtGc1ZSa4", "confirmation_method": "automatic", - "created": 1709822369, + "created": 1709822819, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6WKuuB1fWySnedkS6cOm", + "payment_method": "pm_1OriDnKuuB1fWySnaNcva6s9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:29 GMT + recorded_at: Thu, 07 Mar 2024 14:46:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6XKuuB1fWySn2hLbO3XE/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDnKuuB1fWySn0Fjfi21P/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8OpXDQ5acs8Lhh","request_duration_ms":503}}' + - '{"last_request_metrics":{"request_id":"req_xnk0uGWDPQ98mm","request_duration_ms":376}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:30 GMT + - Thu, 07 Mar 2024 14:47:00 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2c44da7d-2e72-47be-82d8-57e71ef37e66 + - 97ad4762-728a-48a9-97ad-4e54810de107 Original-Request: - - req_iznkwwau9raAuI + - req_F57T6Wtsu7r0mg Request-Id: - - req_iznkwwau9raAuI + - req_F57T6Wtsu7r0mg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6XKuuB1fWySn2hLbO3XE", + "id": "pi_3OriDnKuuB1fWySn0Fjfi21P", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6XKuuB1fWySn2hLbO3XE_secret_ITGlmuAeX9TxTMxJHOIL402OR", + "client_secret": "pi_3OriDnKuuB1fWySn0Fjfi21P_secret_s5VgGEnufjBMAaEVdtGc1ZSa4", "confirmation_method": "automatic", - "created": 1709822369, + "created": 1709822819, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6XKuuB1fWySn20k8MaMv", + "latest_charge": "ch_3OriDnKuuB1fWySn0SytXJqJ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6WKuuB1fWySnedkS6cOm", + "payment_method": "pm_1OriDnKuuB1fWySnaNcva6s9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:30 GMT + recorded_at: Thu, 07 Mar 2024 14:47:00 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6XKuuB1fWySn2hLbO3XE + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDnKuuB1fWySn0Fjfi21P body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iznkwwau9raAuI","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_F57T6Wtsu7r0mg","request_duration_ms":1052}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:30 GMT + - Thu, 07 Mar 2024 14:47:01 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_iDhQCT1LbuPGMq + - req_rutNvEfCHoeFYi Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6XKuuB1fWySn2hLbO3XE", + "id": "pi_3OriDnKuuB1fWySn0Fjfi21P", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6XKuuB1fWySn2hLbO3XE_secret_ITGlmuAeX9TxTMxJHOIL402OR", + "client_secret": "pi_3OriDnKuuB1fWySn0Fjfi21P_secret_s5VgGEnufjBMAaEVdtGc1ZSa4", "confirmation_method": "automatic", - "created": 1709822369, + "created": 1709822819, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6XKuuB1fWySn20k8MaMv", + "latest_charge": "ch_3OriDnKuuB1fWySn0SytXJqJ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6WKuuB1fWySnedkS6cOm", + "payment_method": "pm_1OriDnKuuB1fWySnaNcva6s9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:30 GMT + recorded_at: Thu, 07 Mar 2024 14:47:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6XKuuB1fWySn2hLbO3XE/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDnKuuB1fWySn0Fjfi21P/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iDhQCT1LbuPGMq","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_rutNvEfCHoeFYi","request_duration_ms":389}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:32 GMT + - Thu, 07 Mar 2024 14:47:02 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e18c2790-8aab-488e-9372-177f9e6346ce + - 36666bdf-58e8-43cf-bd44-3373e0589fbb Original-Request: - - req_jF6tBPl7YfiV7q + - req_OeyOJaQF4YpRVY Request-Id: - - req_jF6tBPl7YfiV7q + - req_OeyOJaQF4YpRVY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6XKuuB1fWySn2hLbO3XE", + "id": "pi_3OriDnKuuB1fWySn0Fjfi21P", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6XKuuB1fWySn2hLbO3XE_secret_ITGlmuAeX9TxTMxJHOIL402OR", + "client_secret": "pi_3OriDnKuuB1fWySn0Fjfi21P_secret_s5VgGEnufjBMAaEVdtGc1ZSa4", "confirmation_method": "automatic", - "created": 1709822369, + "created": 1709822819, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6XKuuB1fWySn20k8MaMv", + "latest_charge": "ch_3OriDnKuuB1fWySn0SytXJqJ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6WKuuB1fWySnedkS6cOm", + "payment_method": "pm_1OriDnKuuB1fWySnaNcva6s9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:32 GMT + recorded_at: Thu, 07 Mar 2024 14:47:02 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6XKuuB1fWySn2hLbO3XE + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDnKuuB1fWySn0Fjfi21P body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jF6tBPl7YfiV7q","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_OeyOJaQF4YpRVY","request_duration_ms":918}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:32 GMT + - Thu, 07 Mar 2024 14:47:02 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_wtPlC7mapkIC5r + - req_iN6HHVzSOfpc9E Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6XKuuB1fWySn2hLbO3XE", + "id": "pi_3OriDnKuuB1fWySn0Fjfi21P", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6XKuuB1fWySn2hLbO3XE_secret_ITGlmuAeX9TxTMxJHOIL402OR", + "client_secret": "pi_3OriDnKuuB1fWySn0Fjfi21P_secret_s5VgGEnufjBMAaEVdtGc1ZSa4", "confirmation_method": "automatic", - "created": 1709822369, + "created": 1709822819, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6XKuuB1fWySn20k8MaMv", + "latest_charge": "ch_3OriDnKuuB1fWySn0SytXJqJ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6WKuuB1fWySnedkS6cOm", + "payment_method": "pm_1OriDnKuuB1fWySnaNcva6s9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:32 GMT + recorded_at: Thu, 07 Mar 2024 14:47:02 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml index 048501d470..7a4e5eb4dc 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DeAjZQFIx5gUif","request_duration_ms":1}}' + - '{"last_request_metrics":{"request_id":"req_hHCFQIlXnZJW2W","request_duration_ms":1}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:26 GMT + - Thu, 07 Mar 2024 14:46:57 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 529cc79f-1626-47ef-a69d-b7bf095996b3 + - 76a0c556-277f-4aca-9127-a2e26a3eb154 Original-Request: - - req_22Wyn94rwBoH8t + - req_CGyQi18Aq3t8ni Request-Id: - - req_22Wyn94rwBoH8t + - req_CGyQi18Aq3t8ni Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6UKuuB1fWySnoJCZYK46", + "id": "pm_1OriDkKuuB1fWySnMcqriqJR", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822366, + "created": 1709822816, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:26 GMT + recorded_at: Thu, 07 Mar 2024 14:46:57 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6UKuuB1fWySnoJCZYK46&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDkKuuB1fWySnMcqriqJR&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_22Wyn94rwBoH8t","request_duration_ms":676}}' + - '{"last_request_metrics":{"request_id":"req_CGyQi18Aq3t8ni","request_duration_ms":545}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:26 GMT + - Thu, 07 Mar 2024 14:46:57 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2f394d20-ba2a-4341-8d23-b0e8543cffb5 + - c5ad0900-c624-4e82-9e17-312ea6bd77b3 Original-Request: - - req_HKG2wCPJrd57xz + - req_gMmrsgA5JxHzdZ Request-Id: - - req_HKG2wCPJrd57xz + - req_gMmrsgA5JxHzdZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6UKuuB1fWySn16a7Ikyx", + "id": "pi_3OriDlKuuB1fWySn2hj1vP11", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6UKuuB1fWySn16a7Ikyx_secret_LAV9s5AsrwK8Hn475Yp3klZUv", + "client_secret": "pi_3OriDlKuuB1fWySn2hj1vP11_secret_8nHCbQTTf7uqRwJi2LQI4u7sb", "confirmation_method": "automatic", - "created": 1709822366, + "created": 1709822817, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6UKuuB1fWySnoJCZYK46", + "payment_method": "pm_1OriDkKuuB1fWySnMcqriqJR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:27 GMT + recorded_at: Thu, 07 Mar 2024 14:46:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6UKuuB1fWySn16a7Ikyx/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDlKuuB1fWySn2hj1vP11/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HKG2wCPJrd57xz","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_gMmrsgA5JxHzdZ","request_duration_ms":417}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:28 GMT + - Thu, 07 Mar 2024 14:46:58 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 203f3036-391a-4a3a-960b-466a9b21f711 + - c46e3dd1-fbdf-46d5-9196-10671fb3cfc1 Original-Request: - - req_3APqwxjS1J2mPu + - req_seOXIg7NjHNwUv Request-Id: - - req_3APqwxjS1J2mPu + - req_seOXIg7NjHNwUv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6UKuuB1fWySn16a7Ikyx", + "id": "pi_3OriDlKuuB1fWySn2hj1vP11", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6UKuuB1fWySn16a7Ikyx_secret_LAV9s5AsrwK8Hn475Yp3klZUv", + "client_secret": "pi_3OriDlKuuB1fWySn2hj1vP11_secret_8nHCbQTTf7uqRwJi2LQI4u7sb", "confirmation_method": "automatic", - "created": 1709822366, + "created": 1709822817, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6UKuuB1fWySn1u9KDb2i", + "latest_charge": "ch_3OriDlKuuB1fWySn2a0Wn5Wn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6UKuuB1fWySnoJCZYK46", + "payment_method": "pm_1OriDkKuuB1fWySnMcqriqJR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:28 GMT + recorded_at: Thu, 07 Mar 2024 14:46:58 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml index 82ea9fc340..e1466f80e4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_87T1oX3zkGo0WN","request_duration_ms":984}}' + - '{"last_request_metrics":{"request_id":"req_vsRABWCTSCcYcM","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:54 GMT + - Thu, 07 Mar 2024 14:47:24 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 84232278-d191-4842-b2d2-a5107fe8ce98 + - 4f2cb36a-e9da-4aa3-ba90-4733d4ff9c46 Original-Request: - - req_pSX0ve6ecqjL4O + - req_aRLtMA5eGhqP1e Request-Id: - - req_pSX0ve6ecqjL4O + - req_aRLtMA5eGhqP1e Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6wKuuB1fWySnDARn0q6E", + "id": "pm_1OriECKuuB1fWySn0sg25lkj", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822394, + "created": 1709822844, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:54 GMT + recorded_at: Thu, 07 Mar 2024 14:47:24 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6wKuuB1fWySnDARn0q6E&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriECKuuB1fWySn0sg25lkj&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pSX0ve6ecqjL4O","request_duration_ms":572}}' + - '{"last_request_metrics":{"request_id":"req_aRLtMA5eGhqP1e","request_duration_ms":460}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:54 GMT + - Thu, 07 Mar 2024 14:47:24 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d3fe8873-5c42-499e-9c50-41157279712e + - 5b90e1a3-7406-4deb-9872-d40271b1a50d Original-Request: - - req_yfi4bdkU0lWDNg + - req_8Y2Lg3Iunw0xGo Request-Id: - - req_yfi4bdkU0lWDNg + - req_8Y2Lg3Iunw0xGo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6wKuuB1fWySn0trufgps", + "id": "pi_3OriECKuuB1fWySn2Hh5FFcx", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6wKuuB1fWySn0trufgps_secret_V07Sdr94vnSL3pVaFRoX9lDRh", + "client_secret": "pi_3OriECKuuB1fWySn2Hh5FFcx_secret_sj9oCmNdO0cYsgZNJSHdgHuRd", "confirmation_method": "automatic", - "created": 1709822394, + "created": 1709822844, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6wKuuB1fWySnDARn0q6E", + "payment_method": "pm_1OriECKuuB1fWySn0sg25lkj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:54 GMT + recorded_at: Thu, 07 Mar 2024 14:47:24 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6wKuuB1fWySn0trufgps/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriECKuuB1fWySn2Hh5FFcx/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yfi4bdkU0lWDNg","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_8Y2Lg3Iunw0xGo","request_duration_ms":400}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:56 GMT + - Thu, 07 Mar 2024 14:47:25 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 36d15878-faf5-49ea-bdfc-25421113f90a + - 0cab9de1-163a-4d69-9eed-c217c877a70d Original-Request: - - req_FvKdo9B9UvIhOW + - req_o7kwu5Zf84iYMn Request-Id: - - req_FvKdo9B9UvIhOW + - req_o7kwu5Zf84iYMn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6wKuuB1fWySn0trufgps", + "id": "pi_3OriECKuuB1fWySn2Hh5FFcx", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6wKuuB1fWySn0trufgps_secret_V07Sdr94vnSL3pVaFRoX9lDRh", + "client_secret": "pi_3OriECKuuB1fWySn2Hh5FFcx_secret_sj9oCmNdO0cYsgZNJSHdgHuRd", "confirmation_method": "automatic", - "created": 1709822394, + "created": 1709822844, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6wKuuB1fWySn0dTrUtv2", + "latest_charge": "ch_3OriECKuuB1fWySn2cWY1hYl", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6wKuuB1fWySnDARn0q6E", + "payment_method": "pm_1OriECKuuB1fWySn0sg25lkj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:56 GMT + recorded_at: Thu, 07 Mar 2024 14:47:25 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6wKuuB1fWySn0trufgps + uri: https://api.stripe.com/v1/payment_intents/pi_3OriECKuuB1fWySn2Hh5FFcx body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FvKdo9B9UvIhOW","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_o7kwu5Zf84iYMn","request_duration_ms":1012}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:56 GMT + - Thu, 07 Mar 2024 14:47:26 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_Nyu8L7uor4iqnt + - req_edAd3giVHrcBJq Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6wKuuB1fWySn0trufgps", + "id": "pi_3OriECKuuB1fWySn2Hh5FFcx", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6wKuuB1fWySn0trufgps_secret_V07Sdr94vnSL3pVaFRoX9lDRh", + "client_secret": "pi_3OriECKuuB1fWySn2Hh5FFcx_secret_sj9oCmNdO0cYsgZNJSHdgHuRd", "confirmation_method": "automatic", - "created": 1709822394, + "created": 1709822844, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6wKuuB1fWySn0dTrUtv2", + "latest_charge": "ch_3OriECKuuB1fWySn2cWY1hYl", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6wKuuB1fWySnDARn0q6E", + "payment_method": "pm_1OriECKuuB1fWySn0sg25lkj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:56 GMT + recorded_at: Thu, 07 Mar 2024 14:47:26 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6wKuuB1fWySn0trufgps/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriECKuuB1fWySn2Hh5FFcx/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Nyu8L7uor4iqnt","request_duration_ms":303}}' + - '{"last_request_metrics":{"request_id":"req_edAd3giVHrcBJq","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:57 GMT + - Thu, 07 Mar 2024 14:47:27 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d38c52f7-1e24-4e2c-adbe-3487b3c5646c + - fe601a84-e5dc-4763-9951-25bec197d7a6 Original-Request: - - req_kmELWSkWQ516Cn + - req_D3axw8DK0wGfgl Request-Id: - - req_kmELWSkWQ516Cn + - req_D3axw8DK0wGfgl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6wKuuB1fWySn0trufgps", + "id": "pi_3OriECKuuB1fWySn2Hh5FFcx", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6wKuuB1fWySn0trufgps_secret_V07Sdr94vnSL3pVaFRoX9lDRh", + "client_secret": "pi_3OriECKuuB1fWySn2Hh5FFcx_secret_sj9oCmNdO0cYsgZNJSHdgHuRd", "confirmation_method": "automatic", - "created": 1709822394, + "created": 1709822844, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6wKuuB1fWySn0dTrUtv2", + "latest_charge": "ch_3OriECKuuB1fWySn2cWY1hYl", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6wKuuB1fWySnDARn0q6E", + "payment_method": "pm_1OriECKuuB1fWySn0sg25lkj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:57 GMT + recorded_at: Thu, 07 Mar 2024 14:47:27 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6wKuuB1fWySn0trufgps + uri: https://api.stripe.com/v1/payment_intents/pi_3OriECKuuB1fWySn2Hh5FFcx body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kmELWSkWQ516Cn","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_D3axw8DK0wGfgl","request_duration_ms":1069}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:57 GMT + - Thu, 07 Mar 2024 14:47:27 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_qJtmV8hcDEOgy9 + - req_BjD7xQLUnNY1QE Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6wKuuB1fWySn0trufgps", + "id": "pi_3OriECKuuB1fWySn2Hh5FFcx", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6wKuuB1fWySn0trufgps_secret_V07Sdr94vnSL3pVaFRoX9lDRh", + "client_secret": "pi_3OriECKuuB1fWySn2Hh5FFcx_secret_sj9oCmNdO0cYsgZNJSHdgHuRd", "confirmation_method": "automatic", - "created": 1709822394, + "created": 1709822844, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6wKuuB1fWySn0dTrUtv2", + "latest_charge": "ch_3OriECKuuB1fWySn2cWY1hYl", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6wKuuB1fWySnDARn0q6E", + "payment_method": "pm_1OriECKuuB1fWySn0sg25lkj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:57 GMT + recorded_at: Thu, 07 Mar 2024 14:47:27 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml index e512fd7dd1..f93c916c1f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_quxkykd8Y5vam4","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_3WxihqjmQGrxRd","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:51 GMT + - Thu, 07 Mar 2024 14:47:21 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 57298702-8698-443a-8314-76cb3865eace + - 4099bcf1-cf74-407e-8d5c-44c15e4a7c07 Original-Request: - - req_uaZgQYRPoGa9wd + - req_DCxgQ8hsYkaeia Request-Id: - - req_uaZgQYRPoGa9wd + - req_DCxgQ8hsYkaeia Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6tKuuB1fWySn8Tw4UZ4j", + "id": "pm_1OriE9KuuB1fWySntLweSwQJ", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822391, + "created": 1709822841, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:51 GMT + recorded_at: Thu, 07 Mar 2024 14:47:21 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6tKuuB1fWySn8Tw4UZ4j&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriE9KuuB1fWySntLweSwQJ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uaZgQYRPoGa9wd","request_duration_ms":459}}' + - '{"last_request_metrics":{"request_id":"req_DCxgQ8hsYkaeia","request_duration_ms":458}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:52 GMT + - Thu, 07 Mar 2024 14:47:22 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cfcc4c28-561f-4a5d-99a6-e0611ee21cfd + - 8e26e0ae-8a92-438b-974e-427f8a58ca1d Original-Request: - - req_9TIZOGVoXLTEak + - req_zcYdFPi27JxnfJ Request-Id: - - req_9TIZOGVoXLTEak + - req_zcYdFPi27JxnfJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6uKuuB1fWySn03CwlYfu", + "id": "pi_3OriEAKuuB1fWySn2YSo2Qme", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6uKuuB1fWySn03CwlYfu_secret_I1SaSGYnIVaxE8LQ7ZTyd6pNt", + "client_secret": "pi_3OriEAKuuB1fWySn2YSo2Qme_secret_KJUXhwKhi4oQn55ZZPiPLDEO8", "confirmation_method": "automatic", - "created": 1709822392, + "created": 1709822842, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6tKuuB1fWySn8Tw4UZ4j", + "payment_method": "pm_1OriE9KuuB1fWySntLweSwQJ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:52 GMT + recorded_at: Thu, 07 Mar 2024 14:47:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6uKuuB1fWySn03CwlYfu/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEAKuuB1fWySn2YSo2Qme/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9TIZOGVoXLTEak","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_zcYdFPi27JxnfJ","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:53 GMT + - Thu, 07 Mar 2024 14:47:23 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3cfcf6f8-c639-4b04-8ab6-93b9f81fa29f + - f3331d82-9e78-454c-9a96-fbe47179a6db Original-Request: - - req_87T1oX3zkGo0WN + - req_vsRABWCTSCcYcM Request-Id: - - req_87T1oX3zkGo0WN + - req_vsRABWCTSCcYcM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6uKuuB1fWySn03CwlYfu", + "id": "pi_3OriEAKuuB1fWySn2YSo2Qme", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6uKuuB1fWySn03CwlYfu_secret_I1SaSGYnIVaxE8LQ7ZTyd6pNt", + "client_secret": "pi_3OriEAKuuB1fWySn2YSo2Qme_secret_KJUXhwKhi4oQn55ZZPiPLDEO8", "confirmation_method": "automatic", - "created": 1709822392, + "created": 1709822842, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6uKuuB1fWySn0A2F6AK9", + "latest_charge": "ch_3OriEAKuuB1fWySn2fAX4Mph", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6tKuuB1fWySn8Tw4UZ4j", + "payment_method": "pm_1OriE9KuuB1fWySntLweSwQJ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:53 GMT + recorded_at: Thu, 07 Mar 2024 14:47:23 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml index 05d5e861be..51f5c8bc70 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AchKokdy6ELzgy","request_duration_ms":1111}}' + - '{"last_request_metrics":{"request_id":"req_YUfWINDoSofrlw","request_duration_ms":1054}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:49 GMT + - Thu, 07 Mar 2024 14:46:20 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a3fe2c5b-7fb6-4f1e-93d5-8a4dbd2a2034 + - de65b044-4f6d-405e-bab9-1383f1c36b18 Original-Request: - - req_PUtG5a7kxhPnbx + - req_i2RMdpnNkkdPhO Request-Id: - - req_PUtG5a7kxhPnbx + - req_i2RMdpnNkkdPhO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5sKuuB1fWySn4Oa1jqad", + "id": "pm_1OriDAKuuB1fWySnfupTE0od", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822329, + "created": 1709822780, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:49 GMT + recorded_at: Thu, 07 Mar 2024 14:46:20 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori5sKuuB1fWySn4Oa1jqad&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDAKuuB1fWySnfupTE0od&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PUtG5a7kxhPnbx","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_i2RMdpnNkkdPhO","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:49 GMT + - Thu, 07 Mar 2024 14:46:21 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 57a4355f-9df8-4d20-b03c-3ef5f476171c + - 5d3854c3-c401-416f-9648-7cacaca52b41 Original-Request: - - req_EZQsGa48DXOOR9 + - req_4lTba9jcXAFNUT Request-Id: - - req_EZQsGa48DXOOR9 + - req_4lTba9jcXAFNUT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5tKuuB1fWySn26LhSDMS", + "id": "pi_3OriDBKuuB1fWySn0ZUCJydC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5tKuuB1fWySn26LhSDMS_secret_XdLtN9uTQIXQvmKcmfSeyXGDz", + "client_secret": "pi_3OriDBKuuB1fWySn0ZUCJydC_secret_06CQ2KXr5tVVC8HJHxhVEnpDv", "confirmation_method": "automatic", - "created": 1709822329, + "created": 1709822781, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5sKuuB1fWySn4Oa1jqad", + "payment_method": "pm_1OriDAKuuB1fWySnfupTE0od", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:49 GMT + recorded_at: Thu, 07 Mar 2024 14:46:21 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5tKuuB1fWySn26LhSDMS/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDBKuuB1fWySn0ZUCJydC/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EZQsGa48DXOOR9","request_duration_ms":451}}' + - '{"last_request_metrics":{"request_id":"req_4lTba9jcXAFNUT","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:50 GMT + - Thu, 07 Mar 2024 14:46:22 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 831a8947-a7f6-4f60-99c5-50298987b71e + - b5aab9bd-6d5e-4f45-acf4-d79c37a13589 Original-Request: - - req_fnEmF5D2nETYjG + - req_CpTQ4vPCuxijPU Request-Id: - - req_fnEmF5D2nETYjG + - req_CpTQ4vPCuxijPU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5tKuuB1fWySn26LhSDMS", + "id": "pi_3OriDBKuuB1fWySn0ZUCJydC", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5tKuuB1fWySn26LhSDMS_secret_XdLtN9uTQIXQvmKcmfSeyXGDz", + "client_secret": "pi_3OriDBKuuB1fWySn0ZUCJydC_secret_06CQ2KXr5tVVC8HJHxhVEnpDv", "confirmation_method": "automatic", - "created": 1709822329, + "created": 1709822781, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5tKuuB1fWySn2PschlEB", + "latest_charge": "ch_3OriDBKuuB1fWySn0tg1mo96", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5sKuuB1fWySn4Oa1jqad", + "payment_method": "pm_1OriDAKuuB1fWySnfupTE0od", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:50 GMT + recorded_at: Thu, 07 Mar 2024 14:46:22 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5tKuuB1fWySn26LhSDMS + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDBKuuB1fWySn0ZUCJydC body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fnEmF5D2nETYjG","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_CpTQ4vPCuxijPU","request_duration_ms":1120}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:51 GMT + - Thu, 07 Mar 2024 14:46:22 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_2KBvvxq9qF1nr3 + - req_7F00VroTo9CbLK Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5tKuuB1fWySn26LhSDMS", + "id": "pi_3OriDBKuuB1fWySn0ZUCJydC", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5tKuuB1fWySn26LhSDMS_secret_XdLtN9uTQIXQvmKcmfSeyXGDz", + "client_secret": "pi_3OriDBKuuB1fWySn0ZUCJydC_secret_06CQ2KXr5tVVC8HJHxhVEnpDv", "confirmation_method": "automatic", - "created": 1709822329, + "created": 1709822781, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5tKuuB1fWySn2PschlEB", + "latest_charge": "ch_3OriDBKuuB1fWySn0tg1mo96", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5sKuuB1fWySn4Oa1jqad", + "payment_method": "pm_1OriDAKuuB1fWySnfupTE0od", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:51 GMT + recorded_at: Thu, 07 Mar 2024 14:46:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5tKuuB1fWySn26LhSDMS/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDBKuuB1fWySn0ZUCJydC/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2KBvvxq9qF1nr3","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_7F00VroTo9CbLK","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:52 GMT + - Thu, 07 Mar 2024 14:46:23 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2ec4a584-b057-46b8-83f3-19745a5fd4f4 + - 69606bdc-00c8-4bf5-b460-5404cb6aaf6d Original-Request: - - req_VuaoCpoldOAASG + - req_MV8uV7mWOMUu08 Request-Id: - - req_VuaoCpoldOAASG + - req_MV8uV7mWOMUu08 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5tKuuB1fWySn26LhSDMS", + "id": "pi_3OriDBKuuB1fWySn0ZUCJydC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5tKuuB1fWySn26LhSDMS_secret_XdLtN9uTQIXQvmKcmfSeyXGDz", + "client_secret": "pi_3OriDBKuuB1fWySn0ZUCJydC_secret_06CQ2KXr5tVVC8HJHxhVEnpDv", "confirmation_method": "automatic", - "created": 1709822329, + "created": 1709822781, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5tKuuB1fWySn2PschlEB", + "latest_charge": "ch_3OriDBKuuB1fWySn0tg1mo96", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5sKuuB1fWySn4Oa1jqad", + "payment_method": "pm_1OriDAKuuB1fWySnfupTE0od", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:52 GMT + recorded_at: Thu, 07 Mar 2024 14:46:23 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5tKuuB1fWySn26LhSDMS + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDBKuuB1fWySn0ZUCJydC body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VuaoCpoldOAASG","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_MV8uV7mWOMUu08","request_duration_ms":1018}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:52 GMT + - Thu, 07 Mar 2024 14:46:24 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_BDAQvcvpBdupyp + - req_OLv5QNX0eDfAVj Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5tKuuB1fWySn26LhSDMS", + "id": "pi_3OriDBKuuB1fWySn0ZUCJydC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5tKuuB1fWySn26LhSDMS_secret_XdLtN9uTQIXQvmKcmfSeyXGDz", + "client_secret": "pi_3OriDBKuuB1fWySn0ZUCJydC_secret_06CQ2KXr5tVVC8HJHxhVEnpDv", "confirmation_method": "automatic", - "created": 1709822329, + "created": 1709822781, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5tKuuB1fWySn2PschlEB", + "latest_charge": "ch_3OriDBKuuB1fWySn0tg1mo96", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5sKuuB1fWySn4Oa1jqad", + "payment_method": "pm_1OriDAKuuB1fWySnfupTE0od", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:52 GMT + recorded_at: Thu, 07 Mar 2024 14:46:24 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml index ba5067d0f6..5ed72e08b8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JfHj853ZZu6mIE","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_oOnp67xVyiBUQR","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:46 GMT + - Thu, 07 Mar 2024 14:46:18 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8447bdb3-9555-421a-b79f-a5e3a2cc08ef + - 91fe29f2-aef6-40fc-8598-e82df030a69b Original-Request: - - req_sHwuCvwiP82BNj + - req_IT1FunFtZs1zEO Request-Id: - - req_sHwuCvwiP82BNj + - req_IT1FunFtZs1zEO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5qKuuB1fWySnTj1yBVJX", + "id": "pm_1OriD8KuuB1fWySn0oyS4PcC", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822326, + "created": 1709822778, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:46 GMT + recorded_at: Thu, 07 Mar 2024 14:46:18 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori5qKuuB1fWySnTj1yBVJX&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriD8KuuB1fWySn0oyS4PcC&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sHwuCvwiP82BNj","request_duration_ms":459}}' + - '{"last_request_metrics":{"request_id":"req_IT1FunFtZs1zEO","request_duration_ms":562}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:47 GMT + - Thu, 07 Mar 2024 14:46:18 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0a394b95-5d7d-4785-83b1-1c76564c6d93 + - 7160d939-d8fe-4d50-a9cd-e652ed34ab86 Original-Request: - - req_BkTb7nmKsXxNZC + - req_OIihcvXcrWTZ0y Request-Id: - - req_BkTb7nmKsXxNZC + - req_OIihcvXcrWTZ0y Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5rKuuB1fWySn1kcrUQ6B", + "id": "pi_3OriD8KuuB1fWySn0MtMp7aH", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5rKuuB1fWySn1kcrUQ6B_secret_aMRP55QoyCAq8OXK2VfmJH96r", + "client_secret": "pi_3OriD8KuuB1fWySn0MtMp7aH_secret_mvknmNpDvym1fhQdVU4NVAsSi", "confirmation_method": "automatic", - "created": 1709822327, + "created": 1709822778, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5qKuuB1fWySnTj1yBVJX", + "payment_method": "pm_1OriD8KuuB1fWySn0oyS4PcC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:47 GMT + recorded_at: Thu, 07 Mar 2024 14:46:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5rKuuB1fWySn1kcrUQ6B/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriD8KuuB1fWySn0MtMp7aH/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BkTb7nmKsXxNZC","request_duration_ms":416}}' + - '{"last_request_metrics":{"request_id":"req_OIihcvXcrWTZ0y","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:48 GMT + - Thu, 07 Mar 2024 14:46:19 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 67c4653c-d8bc-4cc2-9b32-700c3fbab968 + - 1963557d-8cb9-4bb0-8836-2b17e5477d47 Original-Request: - - req_AchKokdy6ELzgy + - req_YUfWINDoSofrlw Request-Id: - - req_AchKokdy6ELzgy + - req_YUfWINDoSofrlw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5rKuuB1fWySn1kcrUQ6B", + "id": "pi_3OriD8KuuB1fWySn0MtMp7aH", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5rKuuB1fWySn1kcrUQ6B_secret_aMRP55QoyCAq8OXK2VfmJH96r", + "client_secret": "pi_3OriD8KuuB1fWySn0MtMp7aH_secret_mvknmNpDvym1fhQdVU4NVAsSi", "confirmation_method": "automatic", - "created": 1709822327, + "created": 1709822778, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5rKuuB1fWySn1bjvQFzi", + "latest_charge": "ch_3OriD8KuuB1fWySn0yqfdzAg", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5qKuuB1fWySnTj1yBVJX", + "payment_method": "pm_1OriD8KuuB1fWySn0oyS4PcC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:48 GMT + recorded_at: Thu, 07 Mar 2024 14:46:20 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml index acfd00512a..b96f041447 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5X95rJMIwqQqtG","request_duration_ms":1121}}' + - '{"last_request_metrics":{"request_id":"req_gTL1Ui96bAY7i5","request_duration_ms":918}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:55 GMT + - Thu, 07 Mar 2024 14:46:27 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 363866c0-a190-4c4a-9e76-9f98a9380d56 + - d4a5a410-1c60-4b42-9390-5ad53f77f2dd Original-Request: - - req_iMcqLUAlhRrD2o + - req_J7RjstUSBM4S9f Request-Id: - - req_iMcqLUAlhRrD2o + - req_J7RjstUSBM4S9f Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5zKuuB1fWySn5BCXR1Za", + "id": "pm_1OriDGKuuB1fWySno2YRtGRZ", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822335, + "created": 1709822786, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:55 GMT + recorded_at: Thu, 07 Mar 2024 14:46:27 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori5zKuuB1fWySn5BCXR1Za&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDGKuuB1fWySno2YRtGRZ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iMcqLUAlhRrD2o","request_duration_ms":485}}' + - '{"last_request_metrics":{"request_id":"req_J7RjstUSBM4S9f","request_duration_ms":499}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:56 GMT + - Thu, 07 Mar 2024 14:46:27 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ec6a5496-f4e3-471b-a291-a42042e7b323 + - 615fb8a4-b978-4730-b89a-439fcf0872a3 Original-Request: - - req_01FQ2HCyNuLTlV + - req_zCm1bsmkO5O4HC Request-Id: - - req_01FQ2HCyNuLTlV + - req_zCm1bsmkO5O4HC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5zKuuB1fWySn2TEIWWwU", + "id": "pi_3OriDHKuuB1fWySn2Id85hn8", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5zKuuB1fWySn2TEIWWwU_secret_YOoFJl5qmPaFIZSc9WXLVKuj7", + "client_secret": "pi_3OriDHKuuB1fWySn2Id85hn8_secret_MjuwkMLo08UiumEuzDsNhgI8J", "confirmation_method": "automatic", - "created": 1709822335, + "created": 1709822787, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5zKuuB1fWySn5BCXR1Za", + "payment_method": "pm_1OriDGKuuB1fWySno2YRtGRZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:56 GMT + recorded_at: Thu, 07 Mar 2024 14:46:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5zKuuB1fWySn2TEIWWwU/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDHKuuB1fWySn2Id85hn8/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_01FQ2HCyNuLTlV","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_zCm1bsmkO5O4HC","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:57 GMT + - Thu, 07 Mar 2024 14:46:28 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8a541264-51ac-4f5e-b709-3c2e0751ab94 + - 3a9e8832-7890-4215-bb6e-ac92f5e360db Original-Request: - - req_HIDsQLsoeJhppm + - req_Dn7qxWneEsYKqJ Request-Id: - - req_HIDsQLsoeJhppm + - req_Dn7qxWneEsYKqJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5zKuuB1fWySn2TEIWWwU", + "id": "pi_3OriDHKuuB1fWySn2Id85hn8", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5zKuuB1fWySn2TEIWWwU_secret_YOoFJl5qmPaFIZSc9WXLVKuj7", + "client_secret": "pi_3OriDHKuuB1fWySn2Id85hn8_secret_MjuwkMLo08UiumEuzDsNhgI8J", "confirmation_method": "automatic", - "created": 1709822335, + "created": 1709822787, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5zKuuB1fWySn2ft2FHAy", + "latest_charge": "ch_3OriDHKuuB1fWySn2sVMS0jz", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5zKuuB1fWySn5BCXR1Za", + "payment_method": "pm_1OriDGKuuB1fWySno2YRtGRZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:57 GMT + recorded_at: Thu, 07 Mar 2024 14:46:28 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5zKuuB1fWySn2TEIWWwU + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDHKuuB1fWySn2Id85hn8 body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HIDsQLsoeJhppm","request_duration_ms":1041}}' + - '{"last_request_metrics":{"request_id":"req_Dn7qxWneEsYKqJ","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:57 GMT + - Thu, 07 Mar 2024 14:46:28 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_KQck0ytcJl7F66 + - req_xipkUyS0meO2cs Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5zKuuB1fWySn2TEIWWwU", + "id": "pi_3OriDHKuuB1fWySn2Id85hn8", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5zKuuB1fWySn2TEIWWwU_secret_YOoFJl5qmPaFIZSc9WXLVKuj7", + "client_secret": "pi_3OriDHKuuB1fWySn2Id85hn8_secret_MjuwkMLo08UiumEuzDsNhgI8J", "confirmation_method": "automatic", - "created": 1709822335, + "created": 1709822787, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5zKuuB1fWySn2ft2FHAy", + "latest_charge": "ch_3OriDHKuuB1fWySn2sVMS0jz", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5zKuuB1fWySn5BCXR1Za", + "payment_method": "pm_1OriDGKuuB1fWySno2YRtGRZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:57 GMT + recorded_at: Thu, 07 Mar 2024 14:46:29 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5zKuuB1fWySn2TEIWWwU/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDHKuuB1fWySn2Id85hn8/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KQck0ytcJl7F66","request_duration_ms":384}}' + - '{"last_request_metrics":{"request_id":"req_xipkUyS0meO2cs","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:58 GMT + - Thu, 07 Mar 2024 14:46:30 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 01e22047-cbea-4c46-8510-0d0289089a01 + - c5e23236-fffc-41e2-be31-f2785f741130 Original-Request: - - req_2cCKSbhKyyo63e + - req_ykTo4mMnkjROpj Request-Id: - - req_2cCKSbhKyyo63e + - req_ykTo4mMnkjROpj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5zKuuB1fWySn2TEIWWwU", + "id": "pi_3OriDHKuuB1fWySn2Id85hn8", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5zKuuB1fWySn2TEIWWwU_secret_YOoFJl5qmPaFIZSc9WXLVKuj7", + "client_secret": "pi_3OriDHKuuB1fWySn2Id85hn8_secret_MjuwkMLo08UiumEuzDsNhgI8J", "confirmation_method": "automatic", - "created": 1709822335, + "created": 1709822787, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5zKuuB1fWySn2ft2FHAy", + "latest_charge": "ch_3OriDHKuuB1fWySn2sVMS0jz", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5zKuuB1fWySn5BCXR1Za", + "payment_method": "pm_1OriDGKuuB1fWySno2YRtGRZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:58 GMT + recorded_at: Thu, 07 Mar 2024 14:46:30 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5zKuuB1fWySn2TEIWWwU + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDHKuuB1fWySn2Id85hn8 body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2cCKSbhKyyo63e","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_ykTo4mMnkjROpj","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:58 GMT + - Thu, 07 Mar 2024 14:46:30 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_qT5yFaYiW831St + - req_1UNWg7T1h1ieVY Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5zKuuB1fWySn2TEIWWwU", + "id": "pi_3OriDHKuuB1fWySn2Id85hn8", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5zKuuB1fWySn2TEIWWwU_secret_YOoFJl5qmPaFIZSc9WXLVKuj7", + "client_secret": "pi_3OriDHKuuB1fWySn2Id85hn8_secret_MjuwkMLo08UiumEuzDsNhgI8J", "confirmation_method": "automatic", - "created": 1709822335, + "created": 1709822787, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5zKuuB1fWySn2ft2FHAy", + "latest_charge": "ch_3OriDHKuuB1fWySn2sVMS0jz", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5zKuuB1fWySn5BCXR1Za", + "payment_method": "pm_1OriDGKuuB1fWySno2YRtGRZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:59 GMT + recorded_at: Thu, 07 Mar 2024 14:46:30 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml index a63c7d575a..d3d49f77c1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BDAQvcvpBdupyp","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_OLv5QNX0eDfAVj","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:53 GMT + - Thu, 07 Mar 2024 14:46:24 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4636520c-ab00-466a-b024-a8a9b97f1795 + - 20c5cf0c-c546-466c-8542-a95a3cea11d5 Original-Request: - - req_y8QgQEpDmX95Kq + - req_Qx08JLoH7MOWHj Request-Id: - - req_y8QgQEpDmX95Kq + - req_Qx08JLoH7MOWHj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5wKuuB1fWySnoMyMmnOO", + "id": "pm_1OriDEKuuB1fWySnJTZvJF1S", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822333, + "created": 1709822784, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:53 GMT + recorded_at: Thu, 07 Mar 2024 14:46:24 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori5wKuuB1fWySnoMyMmnOO&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDEKuuB1fWySnJTZvJF1S&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_y8QgQEpDmX95Kq","request_duration_ms":461}}' + - '{"last_request_metrics":{"request_id":"req_Qx08JLoH7MOWHj","request_duration_ms":548}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:53 GMT + - Thu, 07 Mar 2024 14:46:25 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 96813a94-9cc9-4117-8614-800693f0ad7b + - 8251e68a-bdc2-4e2b-a94f-f1cf34a578e0 Original-Request: - - req_E6svRhtxvyv86O + - req_ACwN545dOXjNyk Request-Id: - - req_E6svRhtxvyv86O + - req_ACwN545dOXjNyk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5xKuuB1fWySn1Pu1VhpW", + "id": "pi_3OriDEKuuB1fWySn0tJmhWC4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5xKuuB1fWySn1Pu1VhpW_secret_ghtVg4gYRWJzLxTodTGsyoYkp", + "client_secret": "pi_3OriDEKuuB1fWySn0tJmhWC4_secret_T758o0cB6dMLXTIsLTBgUMQ9f", "confirmation_method": "automatic", - "created": 1709822333, + "created": 1709822784, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5wKuuB1fWySnoMyMmnOO", + "payment_method": "pm_1OriDEKuuB1fWySnJTZvJF1S", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:53 GMT + recorded_at: Thu, 07 Mar 2024 14:46:25 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5xKuuB1fWySn1Pu1VhpW/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDEKuuB1fWySn0tJmhWC4/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_E6svRhtxvyv86O","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_ACwN545dOXjNyk","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:54 GMT + - Thu, 07 Mar 2024 14:46:26 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d6b4f9ca-f19d-4954-addc-1f7c03b8f9f3 + - 26ced46d-2e55-4f78-bf19-ca01a6225995 Original-Request: - - req_5X95rJMIwqQqtG + - req_gTL1Ui96bAY7i5 Request-Id: - - req_5X95rJMIwqQqtG + - req_gTL1Ui96bAY7i5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5xKuuB1fWySn1Pu1VhpW", + "id": "pi_3OriDEKuuB1fWySn0tJmhWC4", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5xKuuB1fWySn1Pu1VhpW_secret_ghtVg4gYRWJzLxTodTGsyoYkp", + "client_secret": "pi_3OriDEKuuB1fWySn0tJmhWC4_secret_T758o0cB6dMLXTIsLTBgUMQ9f", "confirmation_method": "automatic", - "created": 1709822333, + "created": 1709822784, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5xKuuB1fWySn1BNA460v", + "latest_charge": "ch_3OriDEKuuB1fWySn0bZ2h8zJ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5wKuuB1fWySnoMyMmnOO", + "payment_method": "pm_1OriDEKuuB1fWySnJTZvJF1S", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:54 GMT + recorded_at: Thu, 07 Mar 2024 14:46:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml index 8bfadc7f9e..8c5702285b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fOSqvUMqI43NGZ","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_UKOk2FmwRrBtp6","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:02 GMT + - Thu, 07 Mar 2024 14:46:33 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8a8fc4ec-1fdd-41e0-823a-991d0f5d8f30 + - 46994272-bcb3-45fc-8d27-33eae679bd45 Original-Request: - - req_OHuqmcs8rgOOQ6 + - req_u3uK5LOVY1RSof Request-Id: - - req_OHuqmcs8rgOOQ6 + - req_u3uK5LOVY1RSof Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori65KuuB1fWySni4K1LnJT", + "id": "pm_1OriDNKuuB1fWySn3pcRnNZM", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822341, + "created": 1709822793, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:02 GMT + recorded_at: Thu, 07 Mar 2024 14:46:33 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori65KuuB1fWySni4K1LnJT&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDNKuuB1fWySn3pcRnNZM&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OHuqmcs8rgOOQ6","request_duration_ms":527}}' + - '{"last_request_metrics":{"request_id":"req_u3uK5LOVY1RSof","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:02 GMT + - Thu, 07 Mar 2024 14:46:34 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0cf6c339-960e-4c0a-a76f-827a27251427 + - 93fd0d3c-ccec-4372-892a-a69797d39c03 Original-Request: - - req_PM6X2TA482D0to + - req_iO5YShaDzrjup4 Request-Id: - - req_PM6X2TA482D0to + - req_iO5YShaDzrjup4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori66KuuB1fWySn2TSStT8V", + "id": "pi_3OriDNKuuB1fWySn1jditZFT", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori66KuuB1fWySn2TSStT8V_secret_rZRKbxRTi6J80Mx85k5GqlDPH", + "client_secret": "pi_3OriDNKuuB1fWySn1jditZFT_secret_pn9PQlUhz6ZWV2Mnr9JO2SiuX", "confirmation_method": "automatic", - "created": 1709822342, + "created": 1709822793, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori65KuuB1fWySni4K1LnJT", + "payment_method": "pm_1OriDNKuuB1fWySn3pcRnNZM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:02 GMT + recorded_at: Thu, 07 Mar 2024 14:46:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori66KuuB1fWySn2TSStT8V/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDNKuuB1fWySn1jditZFT/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PM6X2TA482D0to","request_duration_ms":505}}' + - '{"last_request_metrics":{"request_id":"req_iO5YShaDzrjup4","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:03 GMT + - Thu, 07 Mar 2024 14:46:35 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 010f4e7b-b822-44ef-94bf-501afe1963a7 + - 506ccc3e-f835-4b00-90be-f0857b34305b Original-Request: - - req_g37kX0ok5Rc7RF + - req_32p1Wgi57eDxni Request-Id: - - req_g37kX0ok5Rc7RF + - req_32p1Wgi57eDxni Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori66KuuB1fWySn2TSStT8V", + "id": "pi_3OriDNKuuB1fWySn1jditZFT", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori66KuuB1fWySn2TSStT8V_secret_rZRKbxRTi6J80Mx85k5GqlDPH", + "client_secret": "pi_3OriDNKuuB1fWySn1jditZFT_secret_pn9PQlUhz6ZWV2Mnr9JO2SiuX", "confirmation_method": "automatic", - "created": 1709822342, + "created": 1709822793, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori66KuuB1fWySn2nN9aLD9", + "latest_charge": "ch_3OriDNKuuB1fWySn1RVSUAvZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori65KuuB1fWySni4K1LnJT", + "payment_method": "pm_1OriDNKuuB1fWySn3pcRnNZM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:03 GMT + recorded_at: Thu, 07 Mar 2024 14:46:35 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori66KuuB1fWySn2TSStT8V + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDNKuuB1fWySn1jditZFT body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_g37kX0ok5Rc7RF","request_duration_ms":996}}' + - '{"last_request_metrics":{"request_id":"req_32p1Wgi57eDxni","request_duration_ms":1065}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:03 GMT + - Thu, 07 Mar 2024 14:46:35 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_eIiSDtvtKFMesq + - req_62aV7X8j1vVzy7 Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori66KuuB1fWySn2TSStT8V", + "id": "pi_3OriDNKuuB1fWySn1jditZFT", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori66KuuB1fWySn2TSStT8V_secret_rZRKbxRTi6J80Mx85k5GqlDPH", + "client_secret": "pi_3OriDNKuuB1fWySn1jditZFT_secret_pn9PQlUhz6ZWV2Mnr9JO2SiuX", "confirmation_method": "automatic", - "created": 1709822342, + "created": 1709822793, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori66KuuB1fWySn2nN9aLD9", + "latest_charge": "ch_3OriDNKuuB1fWySn1RVSUAvZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori65KuuB1fWySni4K1LnJT", + "payment_method": "pm_1OriDNKuuB1fWySn3pcRnNZM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:03 GMT + recorded_at: Thu, 07 Mar 2024 14:46:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori66KuuB1fWySn2TSStT8V/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDNKuuB1fWySn1jditZFT/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eIiSDtvtKFMesq","request_duration_ms":328}}' + - '{"last_request_metrics":{"request_id":"req_62aV7X8j1vVzy7","request_duration_ms":359}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:04 GMT + - Thu, 07 Mar 2024 14:46:36 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '020718f1-3ade-4fc2-a049-20efca5cf2bd' + - e5f84e23-3c79-4fd3-ac17-cb132e1b609d Original-Request: - - req_Xa3R30enuncvVR + - req_RvzwumprhmUXpr Request-Id: - - req_Xa3R30enuncvVR + - req_RvzwumprhmUXpr Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori66KuuB1fWySn2TSStT8V", + "id": "pi_3OriDNKuuB1fWySn1jditZFT", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori66KuuB1fWySn2TSStT8V_secret_rZRKbxRTi6J80Mx85k5GqlDPH", + "client_secret": "pi_3OriDNKuuB1fWySn1jditZFT_secret_pn9PQlUhz6ZWV2Mnr9JO2SiuX", "confirmation_method": "automatic", - "created": 1709822342, + "created": 1709822793, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori66KuuB1fWySn2nN9aLD9", + "latest_charge": "ch_3OriDNKuuB1fWySn1RVSUAvZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori65KuuB1fWySni4K1LnJT", + "payment_method": "pm_1OriDNKuuB1fWySn3pcRnNZM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:04 GMT + recorded_at: Thu, 07 Mar 2024 14:46:36 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori66KuuB1fWySn2TSStT8V + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDNKuuB1fWySn1jditZFT body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Xa3R30enuncvVR","request_duration_ms":1034}}' + - '{"last_request_metrics":{"request_id":"req_RvzwumprhmUXpr","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:05 GMT + - Thu, 07 Mar 2024 14:46:36 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_AVQawTdno66cLc + - req_X9VW493dFHuSXA Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori66KuuB1fWySn2TSStT8V", + "id": "pi_3OriDNKuuB1fWySn1jditZFT", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori66KuuB1fWySn2TSStT8V_secret_rZRKbxRTi6J80Mx85k5GqlDPH", + "client_secret": "pi_3OriDNKuuB1fWySn1jditZFT_secret_pn9PQlUhz6ZWV2Mnr9JO2SiuX", "confirmation_method": "automatic", - "created": 1709822342, + "created": 1709822793, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori66KuuB1fWySn2nN9aLD9", + "latest_charge": "ch_3OriDNKuuB1fWySn1RVSUAvZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori65KuuB1fWySni4K1LnJT", + "payment_method": "pm_1OriDNKuuB1fWySn3pcRnNZM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:05 GMT + recorded_at: Thu, 07 Mar 2024 14:46:37 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml index da344a4180..ca2309bcbe 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qT5yFaYiW831St","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_1UNWg7T1h1ieVY","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:59 GMT + - Thu, 07 Mar 2024 14:46:31 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4c8cb228-015c-4354-b44f-ed5a5ec7a6ff + - c177db89-db76-4dd4-aa13-65f1022396c1 Original-Request: - - req_QvXSkv8d8V3pRY + - req_IhTwV4lXYFfEbA Request-Id: - - req_QvXSkv8d8V3pRY + - req_IhTwV4lXYFfEbA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori63KuuB1fWySnnaZjzJ4w", + "id": "pm_1OriDKKuuB1fWySnakQiXvnX", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822339, + "created": 1709822790, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:59 GMT + recorded_at: Thu, 07 Mar 2024 14:46:31 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori63KuuB1fWySnnaZjzJ4w&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDKKuuB1fWySnakQiXvnX&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QvXSkv8d8V3pRY","request_duration_ms":462}}' + - '{"last_request_metrics":{"request_id":"req_IhTwV4lXYFfEbA","request_duration_ms":459}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:59 GMT + - Thu, 07 Mar 2024 14:46:31 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - edbfd474-47d6-472c-a601-0638560eff21 + - 1422db44-eb8c-4f71-b4f0-3a45c59ec638 Original-Request: - - req_FP1xImCwHHpyrv + - req_08sCJS0quhefbb Request-Id: - - req_FP1xImCwHHpyrv + - req_08sCJS0quhefbb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori63KuuB1fWySn1GsPVyqd", + "id": "pi_3OriDLKuuB1fWySn0TVrpWbU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori63KuuB1fWySn1GsPVyqd_secret_VwUIge9fKnGogg8R1YeMQ7u6X", + "client_secret": "pi_3OriDLKuuB1fWySn0TVrpWbU_secret_MkqRMOT82c6P4LLP6KM6pFRTq", "confirmation_method": "automatic", - "created": 1709822339, + "created": 1709822791, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori63KuuB1fWySnnaZjzJ4w", + "payment_method": "pm_1OriDKKuuB1fWySnakQiXvnX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:00 GMT + recorded_at: Thu, 07 Mar 2024 14:46:31 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori63KuuB1fWySn1GsPVyqd/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDLKuuB1fWySn0TVrpWbU/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FP1xImCwHHpyrv","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_08sCJS0quhefbb","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:01 GMT + - Thu, 07 Mar 2024 14:46:32 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 61d01664-57f7-4170-84d8-9d9934e729ad + - cc555ccf-cef7-4453-8e59-b21abbe55c35 Original-Request: - - req_fOSqvUMqI43NGZ + - req_UKOk2FmwRrBtp6 Request-Id: - - req_fOSqvUMqI43NGZ + - req_UKOk2FmwRrBtp6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori63KuuB1fWySn1GsPVyqd", + "id": "pi_3OriDLKuuB1fWySn0TVrpWbU", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori63KuuB1fWySn1GsPVyqd_secret_VwUIge9fKnGogg8R1YeMQ7u6X", + "client_secret": "pi_3OriDLKuuB1fWySn0TVrpWbU_secret_MkqRMOT82c6P4LLP6KM6pFRTq", "confirmation_method": "automatic", - "created": 1709822339, + "created": 1709822791, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori63KuuB1fWySn1ZfkoRYm", + "latest_charge": "ch_3OriDLKuuB1fWySn0iluSSnD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori63KuuB1fWySnnaZjzJ4w", + "payment_method": "pm_1OriDKKuuB1fWySnakQiXvnX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:01 GMT + recorded_at: Thu, 07 Mar 2024 14:46:32 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml index 96418bf244..a9a516ff91 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_L1eWYusHItxtNv","request_duration_ms":1008}}' + - '{"last_request_metrics":{"request_id":"req_6yBw0x1vvhfdDj","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:08 GMT + - Thu, 07 Mar 2024 14:46:39 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 862f4a11-73f2-4c6f-8a8d-a32a2ec333ca + - 3964aead-36f2-43d9-ba87-e096808086fd Original-Request: - - req_POQyKDTila0Lre + - req_Iw5SpMkXkSeAnb Request-Id: - - req_POQyKDTila0Lre + - req_Iw5SpMkXkSeAnb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori6BKuuB1fWySnsXciN07o", + "id": "pm_1OriDTKuuB1fWySnbQpMhmHb", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822348, + "created": 1709822799, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:08 GMT + recorded_at: Thu, 07 Mar 2024 14:46:40 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori6BKuuB1fWySnsXciN07o&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDTKuuB1fWySnbQpMhmHb&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_POQyKDTila0Lre","request_duration_ms":434}}' + - '{"last_request_metrics":{"request_id":"req_Iw5SpMkXkSeAnb","request_duration_ms":461}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:08 GMT + - Thu, 07 Mar 2024 14:46:40 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 54d554d5-7ee8-4282-bb70-1ae9d7276470 + - a8bba441-13ea-4567-abf8-859faea3b7e3 Original-Request: - - req_wqYcrpyMnqCS52 + - req_cPRPvwCELst4uU Request-Id: - - req_wqYcrpyMnqCS52 + - req_cPRPvwCELst4uU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6CKuuB1fWySn2FEj4kTX", + "id": "pi_3OriDUKuuB1fWySn1XNxtS35", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6CKuuB1fWySn2FEj4kTX_secret_8vALGnvV83BaDhOBOt2n8SoT0", + "client_secret": "pi_3OriDUKuuB1fWySn1XNxtS35_secret_ndcPIRjwMDMMheHuODo89gMDl", "confirmation_method": "automatic", - "created": 1709822348, + "created": 1709822800, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6BKuuB1fWySnsXciN07o", + "payment_method": "pm_1OriDTKuuB1fWySnbQpMhmHb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:08 GMT + recorded_at: Thu, 07 Mar 2024 14:46:40 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6CKuuB1fWySn2FEj4kTX/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDUKuuB1fWySn1XNxtS35/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wqYcrpyMnqCS52","request_duration_ms":447}}' + - '{"last_request_metrics":{"request_id":"req_cPRPvwCELst4uU","request_duration_ms":403}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:09 GMT + - Thu, 07 Mar 2024 14:46:41 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2c7bc466-8207-4f74-b6ab-070e62d6339f + - 9f311044-a47f-45a5-88f1-bb5e32f775f5 Original-Request: - - req_E7zoZxl4kceGAw + - req_U4E2c2lzgVBEIv Request-Id: - - req_E7zoZxl4kceGAw + - req_U4E2c2lzgVBEIv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6CKuuB1fWySn2FEj4kTX", + "id": "pi_3OriDUKuuB1fWySn1XNxtS35", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6CKuuB1fWySn2FEj4kTX_secret_8vALGnvV83BaDhOBOt2n8SoT0", + "client_secret": "pi_3OriDUKuuB1fWySn1XNxtS35_secret_ndcPIRjwMDMMheHuODo89gMDl", "confirmation_method": "automatic", - "created": 1709822348, + "created": 1709822800, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6CKuuB1fWySn27RlOpFa", + "latest_charge": "ch_3OriDUKuuB1fWySn1GXB9i1v", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6BKuuB1fWySnsXciN07o", + "payment_method": "pm_1OriDTKuuB1fWySnbQpMhmHb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:09 GMT + recorded_at: Thu, 07 Mar 2024 14:46:41 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6CKuuB1fWySn2FEj4kTX + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDUKuuB1fWySn1XNxtS35 body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_E7zoZxl4kceGAw","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_U4E2c2lzgVBEIv","request_duration_ms":1010}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:09 GMT + - Thu, 07 Mar 2024 14:46:41 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_gC1YYF5M0xMgXM + - req_5Z4BBj7tSx6Mms Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6CKuuB1fWySn2FEj4kTX", + "id": "pi_3OriDUKuuB1fWySn1XNxtS35", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6CKuuB1fWySn2FEj4kTX_secret_8vALGnvV83BaDhOBOt2n8SoT0", + "client_secret": "pi_3OriDUKuuB1fWySn1XNxtS35_secret_ndcPIRjwMDMMheHuODo89gMDl", "confirmation_method": "automatic", - "created": 1709822348, + "created": 1709822800, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6CKuuB1fWySn27RlOpFa", + "latest_charge": "ch_3OriDUKuuB1fWySn1GXB9i1v", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6BKuuB1fWySnsXciN07o", + "payment_method": "pm_1OriDTKuuB1fWySnbQpMhmHb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:10 GMT + recorded_at: Thu, 07 Mar 2024 14:46:41 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6CKuuB1fWySn2FEj4kTX/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDUKuuB1fWySn1XNxtS35/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gC1YYF5M0xMgXM","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_5Z4BBj7tSx6Mms","request_duration_ms":417}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:11 GMT + - Thu, 07 Mar 2024 14:46:42 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 33f9892c-7689-466b-9373-b18bdbe976c7 + - 9bb46dd1-f7f5-4919-896a-90c463960d89 Original-Request: - - req_vqKLgySHLPXJbX + - req_52NhQ2RtZA3zIo Request-Id: - - req_vqKLgySHLPXJbX + - req_52NhQ2RtZA3zIo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6CKuuB1fWySn2FEj4kTX", + "id": "pi_3OriDUKuuB1fWySn1XNxtS35", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6CKuuB1fWySn2FEj4kTX_secret_8vALGnvV83BaDhOBOt2n8SoT0", + "client_secret": "pi_3OriDUKuuB1fWySn1XNxtS35_secret_ndcPIRjwMDMMheHuODo89gMDl", "confirmation_method": "automatic", - "created": 1709822348, + "created": 1709822800, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6CKuuB1fWySn27RlOpFa", + "latest_charge": "ch_3OriDUKuuB1fWySn1GXB9i1v", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6BKuuB1fWySnsXciN07o", + "payment_method": "pm_1OriDTKuuB1fWySnbQpMhmHb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:11 GMT + recorded_at: Thu, 07 Mar 2024 14:46:42 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6CKuuB1fWySn2FEj4kTX + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDUKuuB1fWySn1XNxtS35 body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vqKLgySHLPXJbX","request_duration_ms":1121}}' + - '{"last_request_metrics":{"request_id":"req_52NhQ2RtZA3zIo","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:11 GMT + - Thu, 07 Mar 2024 14:46:43 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_rlf2Pi3A5Mmqhc + - req_fVxFUw2ERM7l44 Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6CKuuB1fWySn2FEj4kTX", + "id": "pi_3OriDUKuuB1fWySn1XNxtS35", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6CKuuB1fWySn2FEj4kTX_secret_8vALGnvV83BaDhOBOt2n8SoT0", + "client_secret": "pi_3OriDUKuuB1fWySn1XNxtS35_secret_ndcPIRjwMDMMheHuODo89gMDl", "confirmation_method": "automatic", - "created": 1709822348, + "created": 1709822800, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6CKuuB1fWySn27RlOpFa", + "latest_charge": "ch_3OriDUKuuB1fWySn1GXB9i1v", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori6BKuuB1fWySnsXciN07o", + "payment_method": "pm_1OriDTKuuB1fWySnbQpMhmHb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:11 GMT + recorded_at: Thu, 07 Mar 2024 14:46:43 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml index cd2c6f8c0b..c986b56eae 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AVQawTdno66cLc","request_duration_ms":390}}' + - '{"last_request_metrics":{"request_id":"req_X9VW493dFHuSXA","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:05 GMT + - Thu, 07 Mar 2024 14:46:37 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 81916b14-abb3-495b-a68b-ad036c607ae7 + - 55b01072-bf19-4099-8d68-8b85ee6a16d4 Original-Request: - - req_e8NoN9mlmHo7z2 + - req_3YEAteEGd1J6XV Request-Id: - - req_e8NoN9mlmHo7z2 + - req_3YEAteEGd1J6XV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori69KuuB1fWySnZwKbqAbO", + "id": "pm_1OriDRKuuB1fWySnrK40L9CZ", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822345, + "created": 1709822797, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:05 GMT + recorded_at: Thu, 07 Mar 2024 14:46:37 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori69KuuB1fWySnZwKbqAbO&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriDRKuuB1fWySnrK40L9CZ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_e8NoN9mlmHo7z2","request_duration_ms":461}}' + - '{"last_request_metrics":{"request_id":"req_3YEAteEGd1J6XV","request_duration_ms":559}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:06 GMT + - Thu, 07 Mar 2024 14:46:38 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1b4b7b0e-0fce-4140-b35d-2cc708ffa7b1 + - 7e0ebad3-c8ef-4878-aec9-ba3834849146 Original-Request: - - req_qUtijDRC3subVn + - req_srJYLHxp9ANUPP Request-Id: - - req_qUtijDRC3subVn + - req_srJYLHxp9ANUPP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6AKuuB1fWySn0EyGBC8B", + "id": "pi_3OriDRKuuB1fWySn0ZizZP07", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6AKuuB1fWySn0EyGBC8B_secret_I6wbavOOD7HoBRY7PMbBTXZq0", + "client_secret": "pi_3OriDRKuuB1fWySn0ZizZP07_secret_pLOP2pED7G2cIyMvce5rJsxZC", "confirmation_method": "automatic", - "created": 1709822346, + "created": 1709822797, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori69KuuB1fWySnZwKbqAbO", + "payment_method": "pm_1OriDRKuuB1fWySnrK40L9CZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:06 GMT + recorded_at: Thu, 07 Mar 2024 14:46:38 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori6AKuuB1fWySn0EyGBC8B/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriDRKuuB1fWySn0ZizZP07/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qUtijDRC3subVn","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_srJYLHxp9ANUPP","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:07 GMT + - Thu, 07 Mar 2024 14:46:39 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c7accdee-ee1e-42aa-9c5a-0902deb818b7 + - f1f60059-5b1e-4a31-bc20-d20da6514885 Original-Request: - - req_L1eWYusHItxtNv + - req_6yBw0x1vvhfdDj Request-Id: - - req_L1eWYusHItxtNv + - req_6yBw0x1vvhfdDj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori6AKuuB1fWySn0EyGBC8B", + "id": "pi_3OriDRKuuB1fWySn0ZizZP07", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori6AKuuB1fWySn0EyGBC8B_secret_I6wbavOOD7HoBRY7PMbBTXZq0", + "client_secret": "pi_3OriDRKuuB1fWySn0ZizZP07_secret_pLOP2pED7G2cIyMvce5rJsxZC", "confirmation_method": "automatic", - "created": 1709822346, + "created": 1709822797, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori6AKuuB1fWySn0QpSX4x0", + "latest_charge": "ch_3OriDRKuuB1fWySn0CoKKJoZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori69KuuB1fWySnZwKbqAbO", + "payment_method": "pm_1OriDRKuuB1fWySnrK40L9CZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:07 GMT + recorded_at: Thu, 07 Mar 2024 14:46:39 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml index 3fd9085de4..6d315cbd77 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4R17Nd9CcmhIE8","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_RkMWKBmxA0AiPX","request_duration_ms":1018}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:00 GMT + - Thu, 07 Mar 2024 14:47:30 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 320b3e3f-ee4f-4cd5-b764-1f47b6a9d835 + - 862bc2ad-e51e-40a1-b7ac-d1bf1612a16c Original-Request: - - req_VR9lu3j5ecxPpt + - req_RziQtjXkvt5KGy Request-Id: - - req_VR9lu3j5ecxPpt + - req_RziQtjXkvt5KGy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori72KuuB1fWySnFZIIHNOw", + "id": "pm_1OriEIKuuB1fWySncUH2f2vT", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822400, + "created": 1709822850, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:00 GMT + recorded_at: Thu, 07 Mar 2024 14:47:30 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori72KuuB1fWySnFZIIHNOw&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriEIKuuB1fWySncUH2f2vT&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VR9lu3j5ecxPpt","request_duration_ms":443}}' + - '{"last_request_metrics":{"request_id":"req_RziQtjXkvt5KGy","request_duration_ms":494}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:01 GMT + - Thu, 07 Mar 2024 14:47:31 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7130d5a7-3393-4f6b-94b1-237969e66845 + - d316c4de-a152-46cd-bf12-a563784b3c3d Original-Request: - - req_F4cELikhn1Pnjd + - req_M7FyHjkoPX7YWu Request-Id: - - req_F4cELikhn1Pnjd + - req_M7FyHjkoPX7YWu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori73KuuB1fWySn1mWNzVsD", + "id": "pi_3OriEIKuuB1fWySn1KK9gQtH", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori73KuuB1fWySn1mWNzVsD_secret_YODo55IPVFIEKx7lPq9JaXfWE", + "client_secret": "pi_3OriEIKuuB1fWySn1KK9gQtH_secret_jSxVvPAxIdnDhzVD5UBMWIBag", "confirmation_method": "automatic", - "created": 1709822401, + "created": 1709822850, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori72KuuB1fWySnFZIIHNOw", + "payment_method": "pm_1OriEIKuuB1fWySncUH2f2vT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:01 GMT + recorded_at: Thu, 07 Mar 2024 14:47:31 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori73KuuB1fWySn1mWNzVsD/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEIKuuB1fWySn1KK9gQtH/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_F4cELikhn1Pnjd","request_duration_ms":505}}' + - '{"last_request_metrics":{"request_id":"req_M7FyHjkoPX7YWu","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:02 GMT + - Thu, 07 Mar 2024 14:47:32 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 60e1adae-a699-4fba-b358-7568024cd72e + - 6829bdbf-4488-4b8c-9113-32d3d74a9a68 Original-Request: - - req_ivc7Af97cWOd0k + - req_TmpovbNEhiIQ9C Request-Id: - - req_ivc7Af97cWOd0k + - req_TmpovbNEhiIQ9C Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori73KuuB1fWySn1mWNzVsD", + "id": "pi_3OriEIKuuB1fWySn1KK9gQtH", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori73KuuB1fWySn1mWNzVsD_secret_YODo55IPVFIEKx7lPq9JaXfWE", + "client_secret": "pi_3OriEIKuuB1fWySn1KK9gQtH_secret_jSxVvPAxIdnDhzVD5UBMWIBag", "confirmation_method": "automatic", - "created": 1709822401, + "created": 1709822850, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori73KuuB1fWySn1FzHIUOV", + "latest_charge": "ch_3OriEIKuuB1fWySn1ubq1Hpx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori72KuuB1fWySnFZIIHNOw", + "payment_method": "pm_1OriEIKuuB1fWySncUH2f2vT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:02 GMT + recorded_at: Thu, 07 Mar 2024 14:47:32 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori73KuuB1fWySn1mWNzVsD + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEIKuuB1fWySn1KK9gQtH body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ivc7Af97cWOd0k","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_TmpovbNEhiIQ9C","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:02 GMT + - Thu, 07 Mar 2024 14:47:32 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_rP50SpAPbzxJjN + - req_NrRO7s1DH4Bwyk Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori73KuuB1fWySn1mWNzVsD", + "id": "pi_3OriEIKuuB1fWySn1KK9gQtH", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori73KuuB1fWySn1mWNzVsD_secret_YODo55IPVFIEKx7lPq9JaXfWE", + "client_secret": "pi_3OriEIKuuB1fWySn1KK9gQtH_secret_jSxVvPAxIdnDhzVD5UBMWIBag", "confirmation_method": "automatic", - "created": 1709822401, + "created": 1709822850, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori73KuuB1fWySn1FzHIUOV", + "latest_charge": "ch_3OriEIKuuB1fWySn1ubq1Hpx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori72KuuB1fWySnFZIIHNOw", + "payment_method": "pm_1OriEIKuuB1fWySncUH2f2vT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:02 GMT + recorded_at: Thu, 07 Mar 2024 14:47:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori73KuuB1fWySn1mWNzVsD/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEIKuuB1fWySn1KK9gQtH/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rP50SpAPbzxJjN","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_NrRO7s1DH4Bwyk","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:03 GMT + - Thu, 07 Mar 2024 14:47:33 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a2ecf22b-3460-4113-be18-d38b53d26635 + - 7d1082dc-d54f-4394-9c49-e96d3605902d Original-Request: - - req_iFlUyuLOOR9qct + - req_tAoQzPexTq5MaU Request-Id: - - req_iFlUyuLOOR9qct + - req_tAoQzPexTq5MaU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori73KuuB1fWySn1mWNzVsD", + "id": "pi_3OriEIKuuB1fWySn1KK9gQtH", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori73KuuB1fWySn1mWNzVsD_secret_YODo55IPVFIEKx7lPq9JaXfWE", + "client_secret": "pi_3OriEIKuuB1fWySn1KK9gQtH_secret_jSxVvPAxIdnDhzVD5UBMWIBag", "confirmation_method": "automatic", - "created": 1709822401, + "created": 1709822850, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori73KuuB1fWySn1FzHIUOV", + "latest_charge": "ch_3OriEIKuuB1fWySn1ubq1Hpx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori72KuuB1fWySnFZIIHNOw", + "payment_method": "pm_1OriEIKuuB1fWySncUH2f2vT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:03 GMT + recorded_at: Thu, 07 Mar 2024 14:47:33 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori73KuuB1fWySn1mWNzVsD + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEIKuuB1fWySn1KK9gQtH body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iFlUyuLOOR9qct","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_tAoQzPexTq5MaU","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:04 GMT + - Thu, 07 Mar 2024 14:47:34 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_ezCb7uYBNTNYQD + - req_olTWnVB6gCoiFG Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori73KuuB1fWySn1mWNzVsD", + "id": "pi_3OriEIKuuB1fWySn1KK9gQtH", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori73KuuB1fWySn1mWNzVsD_secret_YODo55IPVFIEKx7lPq9JaXfWE", + "client_secret": "pi_3OriEIKuuB1fWySn1KK9gQtH_secret_jSxVvPAxIdnDhzVD5UBMWIBag", "confirmation_method": "automatic", - "created": 1709822401, + "created": 1709822850, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori73KuuB1fWySn1FzHIUOV", + "latest_charge": "ch_3OriEIKuuB1fWySn1ubq1Hpx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori72KuuB1fWySnFZIIHNOw", + "payment_method": "pm_1OriEIKuuB1fWySncUH2f2vT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:04 GMT + recorded_at: Thu, 07 Mar 2024 14:47:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml index 039ccbed58..facb562190 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qJtmV8hcDEOgy9","request_duration_ms":303}}' + - '{"last_request_metrics":{"request_id":"req_BjD7xQLUnNY1QE","request_duration_ms":358}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:58 GMT + - Thu, 07 Mar 2024 14:47:28 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 518ca922-5ecb-461a-9d1e-99cf14cf1e36 + - 0be1d757-132b-41b3-bc56-ad6c8efc7903 Original-Request: - - req_1OGDJgVaVLk2Et + - req_Ih26NBNiM0I9rj Request-Id: - - req_1OGDJgVaVLk2Et + - req_Ih26NBNiM0I9rj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori70KuuB1fWySnBPU6gKLU", + "id": "pm_1OriEFKuuB1fWySnV6L8OpJh", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822398, + "created": 1709822847, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:39:58 GMT + recorded_at: Thu, 07 Mar 2024 14:47:28 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori70KuuB1fWySnBPU6gKLU&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriEFKuuB1fWySnV6L8OpJh&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1OGDJgVaVLk2Et","request_duration_ms":558}}' + - '{"last_request_metrics":{"request_id":"req_Ih26NBNiM0I9rj","request_duration_ms":462}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:58 GMT + - Thu, 07 Mar 2024 14:47:28 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f5ef7188-b609-4158-b978-009b42b4da4f + - 49b91b81-8c85-4188-b64c-63fcfd3b93c3 Original-Request: - - req_ag6fq9aaKYvAwG + - req_UsKitz7hH7nZiG Request-Id: - - req_ag6fq9aaKYvAwG + - req_UsKitz7hH7nZiG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori70KuuB1fWySn124h2aej", + "id": "pi_3OriEGKuuB1fWySn0kJYdnQp", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori70KuuB1fWySn124h2aej_secret_eJmg1qsx0LzcZ1DkTtc83rPNG", + "client_secret": "pi_3OriEGKuuB1fWySn0kJYdnQp_secret_jQuwoJ3FiqHtP2rIQKILRyYx5", "confirmation_method": "automatic", - "created": 1709822398, + "created": 1709822848, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori70KuuB1fWySnBPU6gKLU", + "payment_method": "pm_1OriEFKuuB1fWySnV6L8OpJh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:58 GMT + recorded_at: Thu, 07 Mar 2024 14:47:28 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori70KuuB1fWySn124h2aej/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEGKuuB1fWySn0kJYdnQp/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ag6fq9aaKYvAwG","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_UsKitz7hH7nZiG","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:39:59 GMT + - Thu, 07 Mar 2024 14:47:29 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c81a04c0-0848-42dd-aa98-e9a5aeca49c8 + - 46c5c345-a01c-4cae-a03b-547c76f97e29 Original-Request: - - req_4R17Nd9CcmhIE8 + - req_RkMWKBmxA0AiPX Request-Id: - - req_4R17Nd9CcmhIE8 + - req_RkMWKBmxA0AiPX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori70KuuB1fWySn124h2aej", + "id": "pi_3OriEGKuuB1fWySn0kJYdnQp", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori70KuuB1fWySn124h2aej_secret_eJmg1qsx0LzcZ1DkTtc83rPNG", + "client_secret": "pi_3OriEGKuuB1fWySn0kJYdnQp_secret_jQuwoJ3FiqHtP2rIQKILRyYx5", "confirmation_method": "automatic", - "created": 1709822398, + "created": 1709822848, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori70KuuB1fWySn1b48PENm", + "latest_charge": "ch_3OriEGKuuB1fWySn0fAWUfWH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori70KuuB1fWySnBPU6gKLU", + "payment_method": "pm_1OriEFKuuB1fWySnV6L8OpJh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:39:59 GMT + recorded_at: Thu, 07 Mar 2024 14:47:29 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml index f23f3170a1..ec8bd03ee6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dRp4BSuy4qnu4y","request_duration_ms":1118}}' + - '{"last_request_metrics":{"request_id":"req_EmrBGcNghMhnGF","request_duration_ms":1125}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:07 GMT + - Thu, 07 Mar 2024 14:47:37 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 345814fc-235e-4340-ac04-4a9763579a70 + - 592cc7de-d29a-4e02-aa6b-824b68e6f5b1 Original-Request: - - req_eUNdsO3a0WNAMC + - req_yQx2O1rhZ8j5iC Request-Id: - - req_eUNdsO3a0WNAMC + - req_yQx2O1rhZ8j5iC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori79KuuB1fWySnkrtbdDD6", + "id": "pm_1OriEOKuuB1fWySnBfUldOIQ", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822407, + "created": 1709822856, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:07 GMT + recorded_at: Thu, 07 Mar 2024 14:47:37 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori79KuuB1fWySnkrtbdDD6&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriEOKuuB1fWySnBfUldOIQ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eUNdsO3a0WNAMC","request_duration_ms":598}}' + - '{"last_request_metrics":{"request_id":"req_yQx2O1rhZ8j5iC","request_duration_ms":530}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:07 GMT + - Thu, 07 Mar 2024 14:47:37 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d1528703-8eec-4c29-bbf5-836754c53c06 + - 763f39f6-8b64-4c96-a600-58b924b7b3d9 Original-Request: - - req_uZ3GJOPpTXo7ez + - req_FPxZjTfSQSiYmi Request-Id: - - req_uZ3GJOPpTXo7ez + - req_FPxZjTfSQSiYmi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori79KuuB1fWySn1UT7yHu4", + "id": "pi_3OriEPKuuB1fWySn1mIk35f1", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori79KuuB1fWySn1UT7yHu4_secret_zkfINLPdlRfVo9rAAPGYfM3SF", + "client_secret": "pi_3OriEPKuuB1fWySn1mIk35f1_secret_DCbddeEKsBLIDfwA6SqmMa4te", "confirmation_method": "automatic", - "created": 1709822407, + "created": 1709822857, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori79KuuB1fWySnkrtbdDD6", + "payment_method": "pm_1OriEOKuuB1fWySnBfUldOIQ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:08 GMT + recorded_at: Thu, 07 Mar 2024 14:47:37 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori79KuuB1fWySn1UT7yHu4/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEPKuuB1fWySn1mIk35f1/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uZ3GJOPpTXo7ez","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_FPxZjTfSQSiYmi","request_duration_ms":515}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:08 GMT + - Thu, 07 Mar 2024 14:47:38 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e902af05-4691-41be-9a2d-38b8d783a8e0 + - 04216f85-1f77-429d-92a1-79cf1a84bb70 Original-Request: - - req_RTtPj9foBMSU3F + - req_PImCJj3pOTlJSV Request-Id: - - req_RTtPj9foBMSU3F + - req_PImCJj3pOTlJSV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori79KuuB1fWySn1UT7yHu4", + "id": "pi_3OriEPKuuB1fWySn1mIk35f1", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori79KuuB1fWySn1UT7yHu4_secret_zkfINLPdlRfVo9rAAPGYfM3SF", + "client_secret": "pi_3OriEPKuuB1fWySn1mIk35f1_secret_DCbddeEKsBLIDfwA6SqmMa4te", "confirmation_method": "automatic", - "created": 1709822407, + "created": 1709822857, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori79KuuB1fWySn1P2fNDT8", + "latest_charge": "ch_3OriEPKuuB1fWySn1k98dg8W", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori79KuuB1fWySnkrtbdDD6", + "payment_method": "pm_1OriEOKuuB1fWySnBfUldOIQ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:08 GMT + recorded_at: Thu, 07 Mar 2024 14:47:38 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori79KuuB1fWySn1UT7yHu4 + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEPKuuB1fWySn1mIk35f1 body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RTtPj9foBMSU3F","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_PImCJj3pOTlJSV","request_duration_ms":1018}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:09 GMT + - Thu, 07 Mar 2024 14:47:39 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_WGsBOs5HfA6FpE + - req_ITWRipYQYiMdOe Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori79KuuB1fWySn1UT7yHu4", + "id": "pi_3OriEPKuuB1fWySn1mIk35f1", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori79KuuB1fWySn1UT7yHu4_secret_zkfINLPdlRfVo9rAAPGYfM3SF", + "client_secret": "pi_3OriEPKuuB1fWySn1mIk35f1_secret_DCbddeEKsBLIDfwA6SqmMa4te", "confirmation_method": "automatic", - "created": 1709822407, + "created": 1709822857, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori79KuuB1fWySn1P2fNDT8", + "latest_charge": "ch_3OriEPKuuB1fWySn1k98dg8W", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori79KuuB1fWySnkrtbdDD6", + "payment_method": "pm_1OriEOKuuB1fWySnBfUldOIQ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:09 GMT + recorded_at: Thu, 07 Mar 2024 14:47:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori79KuuB1fWySn1UT7yHu4/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEPKuuB1fWySn1mIk35f1/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WGsBOs5HfA6FpE","request_duration_ms":341}}' + - '{"last_request_metrics":{"request_id":"req_ITWRipYQYiMdOe","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:10 GMT + - Thu, 07 Mar 2024 14:47:40 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 10d8bd8e-509c-46d0-8501-f394bc7589f9 + - 1506ef0c-f813-4c2a-be5d-478b68017075 Original-Request: - - req_gdPkZCQDEI2by5 + - req_H1lRgsy3B5iDNz Request-Id: - - req_gdPkZCQDEI2by5 + - req_H1lRgsy3B5iDNz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori79KuuB1fWySn1UT7yHu4", + "id": "pi_3OriEPKuuB1fWySn1mIk35f1", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori79KuuB1fWySn1UT7yHu4_secret_zkfINLPdlRfVo9rAAPGYfM3SF", + "client_secret": "pi_3OriEPKuuB1fWySn1mIk35f1_secret_DCbddeEKsBLIDfwA6SqmMa4te", "confirmation_method": "automatic", - "created": 1709822407, + "created": 1709822857, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori79KuuB1fWySn1P2fNDT8", + "latest_charge": "ch_3OriEPKuuB1fWySn1k98dg8W", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori79KuuB1fWySnkrtbdDD6", + "payment_method": "pm_1OriEOKuuB1fWySnBfUldOIQ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:10 GMT + recorded_at: Thu, 07 Mar 2024 14:47:40 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori79KuuB1fWySn1UT7yHu4 + uri: https://api.stripe.com/v1/payment_intents/pi_3OriEPKuuB1fWySn1mIk35f1 body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gdPkZCQDEI2by5","request_duration_ms":1086}}' + - '{"last_request_metrics":{"request_id":"req_H1lRgsy3B5iDNz","request_duration_ms":1059}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:10 GMT + - Thu, 07 Mar 2024 14:47:40 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_IjzV40nyzPASXw + - req_bJVYoResSRIgAQ Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori79KuuB1fWySn1UT7yHu4", + "id": "pi_3OriEPKuuB1fWySn1mIk35f1", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori79KuuB1fWySn1UT7yHu4_secret_zkfINLPdlRfVo9rAAPGYfM3SF", + "client_secret": "pi_3OriEPKuuB1fWySn1mIk35f1_secret_DCbddeEKsBLIDfwA6SqmMa4te", "confirmation_method": "automatic", - "created": 1709822407, + "created": 1709822857, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori79KuuB1fWySn1P2fNDT8", + "latest_charge": "ch_3OriEPKuuB1fWySn1k98dg8W", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori79KuuB1fWySnkrtbdDD6", + "payment_method": "pm_1OriEOKuuB1fWySnBfUldOIQ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:10 GMT + recorded_at: Thu, 07 Mar 2024 14:47:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index b46ce7d54d..237f44dbcb 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ezCb7uYBNTNYQD","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_olTWnVB6gCoiFG","request_duration_ms":321}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:04 GMT + - Thu, 07 Mar 2024 14:47:34 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 538973a0-dd88-4915-8d4b-73c5a10775a3 + - 5ff9c45d-004e-4389-b0c9-3fdaaf82bb77 Original-Request: - - req_pAJ1Hwt7ZEugBA + - req_BNDtpeRXGB0qPF Request-Id: - - req_pAJ1Hwt7ZEugBA + - req_BNDtpeRXGB0qPF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori76KuuB1fWySn5Hf3fHdW", + "id": "pm_1OriEMKuuB1fWySn2tmDcHKn", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822404, + "created": 1709822854, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:04 GMT + recorded_at: Thu, 07 Mar 2024 14:47:34 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori76KuuB1fWySn5Hf3fHdW&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriEMKuuB1fWySn2tmDcHKn&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pAJ1Hwt7ZEugBA","request_duration_ms":566}}' + - '{"last_request_metrics":{"request_id":"req_BNDtpeRXGB0qPF","request_duration_ms":545}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:05 GMT + - Thu, 07 Mar 2024 14:47:35 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 416a7940-28a7-48b6-acba-84b41807538b + - b08e4a6a-3731-4ad6-9183-ea53a1aceafe Original-Request: - - req_BE1n4NsRl4VMUd + - req_pz9KkXiufb4xnv Request-Id: - - req_BE1n4NsRl4VMUd + - req_pz9KkXiufb4xnv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori77KuuB1fWySn0JCv7rQg", + "id": "pi_3OriENKuuB1fWySn26m1Y6OH", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori77KuuB1fWySn0JCv7rQg_secret_Fup0Kul8ZZSt5vNKCoIqrRBbu", + "client_secret": "pi_3OriENKuuB1fWySn26m1Y6OH_secret_YvwTzrE8OySiN5EK49QFIawKZ", "confirmation_method": "automatic", - "created": 1709822405, + "created": 1709822855, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori76KuuB1fWySn5Hf3fHdW", + "payment_method": "pm_1OriEMKuuB1fWySn2tmDcHKn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:05 GMT + recorded_at: Thu, 07 Mar 2024 14:47:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori77KuuB1fWySn0JCv7rQg/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriENKuuB1fWySn26m1Y6OH/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BE1n4NsRl4VMUd","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_pz9KkXiufb4xnv","request_duration_ms":403}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:06 GMT + - Thu, 07 Mar 2024 14:47:36 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e89eb3a2-e373-4695-b04a-8e36aa5ea054 + - 9c7d879c-35d3-430e-bbb7-f395ef2e1272 Original-Request: - - req_dRp4BSuy4qnu4y + - req_EmrBGcNghMhnGF Request-Id: - - req_dRp4BSuy4qnu4y + - req_EmrBGcNghMhnGF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori77KuuB1fWySn0JCv7rQg", + "id": "pi_3OriENKuuB1fWySn26m1Y6OH", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori77KuuB1fWySn0JCv7rQg_secret_Fup0Kul8ZZSt5vNKCoIqrRBbu", + "client_secret": "pi_3OriENKuuB1fWySn26m1Y6OH_secret_YvwTzrE8OySiN5EK49QFIawKZ", "confirmation_method": "automatic", - "created": 1709822405, + "created": 1709822855, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori77KuuB1fWySn087dJRIN", + "latest_charge": "ch_3OriENKuuB1fWySn20FtEoaZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori76KuuB1fWySn5Hf3fHdW", + "payment_method": "pm_1OriEMKuuB1fWySn2tmDcHKn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:40:06 GMT + recorded_at: Thu, 07 Mar 2024 14:47:36 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml index 58005891f7..086993f279 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mef6ayAQaHr4S3","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_8BkTuIO1zckE7j","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:36 GMT + - Thu, 07 Mar 2024 14:46:07 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 304658a0-d96c-4021-b8fc-095c90dfcfd7 + - b2c31c69-e6db-4160-9915-dd1127601f78 Original-Request: - - req_EmWSiLPW9Mw3jX + - req_vowtXDH1HN8RBA Request-Id: - - req_EmWSiLPW9Mw3jX + - req_vowtXDH1HN8RBA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5gKuuB1fWySnXnRvXhUH", + "id": "pm_1OriCxKuuB1fWySniZ5cEFuT", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822316, + "created": 1709822767, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:36 GMT + recorded_at: Thu, 07 Mar 2024 14:46:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori5gKuuB1fWySnXnRvXhUH&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriCxKuuB1fWySniZ5cEFuT&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EmWSiLPW9Mw3jX","request_duration_ms":499}}' + - '{"last_request_metrics":{"request_id":"req_vowtXDH1HN8RBA","request_duration_ms":480}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:37 GMT + - Thu, 07 Mar 2024 14:46:08 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c20b0458-1877-4c58-acef-e7d521326479 + - e6e92581-0f24-4915-a110-3d807a9461e9 Original-Request: - - req_F5JPnxqT2uhUvw + - req_0W1xolyasPIpGI Request-Id: - - req_F5JPnxqT2uhUvw + - req_0W1xolyasPIpGI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5hKuuB1fWySn2e9FEnNm", + "id": "pi_3OriCyKuuB1fWySn2LzVCkmU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5hKuuB1fWySn2e9FEnNm_secret_CjyBmh70t49rw2Yfc0hmKdnRn", + "client_secret": "pi_3OriCyKuuB1fWySn2LzVCkmU_secret_QcHpO9pVKUSlTBvNOwxlNP8Uh", "confirmation_method": "automatic", - "created": 1709822317, + "created": 1709822768, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5gKuuB1fWySnXnRvXhUH", + "payment_method": "pm_1OriCxKuuB1fWySniZ5cEFuT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:37 GMT + recorded_at: Thu, 07 Mar 2024 14:46:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5hKuuB1fWySn2e9FEnNm/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriCyKuuB1fWySn2LzVCkmU/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_F5JPnxqT2uhUvw","request_duration_ms":609}}' + - '{"last_request_metrics":{"request_id":"req_0W1xolyasPIpGI","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:38 GMT + - Thu, 07 Mar 2024 14:46:09 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2237abc3-68a2-418a-a130-a9df7b5462fb + - a69ac82e-5342-4cae-b986-0ffb5971d807 Original-Request: - - req_e10Sd9RyAT406G + - req_naMayVeEMDqzGm Request-Id: - - req_e10Sd9RyAT406G + - req_naMayVeEMDqzGm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5hKuuB1fWySn2e9FEnNm", + "id": "pi_3OriCyKuuB1fWySn2LzVCkmU", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5hKuuB1fWySn2e9FEnNm_secret_CjyBmh70t49rw2Yfc0hmKdnRn", + "client_secret": "pi_3OriCyKuuB1fWySn2LzVCkmU_secret_QcHpO9pVKUSlTBvNOwxlNP8Uh", "confirmation_method": "automatic", - "created": 1709822317, + "created": 1709822768, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5hKuuB1fWySn297nHe83", + "latest_charge": "ch_3OriCyKuuB1fWySn2VhPIHxp", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5gKuuB1fWySnXnRvXhUH", + "payment_method": "pm_1OriCxKuuB1fWySniZ5cEFuT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:38 GMT + recorded_at: Thu, 07 Mar 2024 14:46:09 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5hKuuB1fWySn2e9FEnNm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriCyKuuB1fWySn2LzVCkmU body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_e10Sd9RyAT406G","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_naMayVeEMDqzGm","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:38 GMT + - Thu, 07 Mar 2024 14:46:09 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_GTJFqv1BcV76l5 + - req_EK1gRIQnURQbcC Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5hKuuB1fWySn2e9FEnNm", + "id": "pi_3OriCyKuuB1fWySn2LzVCkmU", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5hKuuB1fWySn2e9FEnNm_secret_CjyBmh70t49rw2Yfc0hmKdnRn", + "client_secret": "pi_3OriCyKuuB1fWySn2LzVCkmU_secret_QcHpO9pVKUSlTBvNOwxlNP8Uh", "confirmation_method": "automatic", - "created": 1709822317, + "created": 1709822768, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5hKuuB1fWySn297nHe83", + "latest_charge": "ch_3OriCyKuuB1fWySn2VhPIHxp", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5gKuuB1fWySnXnRvXhUH", + "payment_method": "pm_1OriCxKuuB1fWySniZ5cEFuT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:38 GMT + recorded_at: Thu, 07 Mar 2024 14:46:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5hKuuB1fWySn2e9FEnNm/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriCyKuuB1fWySn2LzVCkmU/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GTJFqv1BcV76l5","request_duration_ms":318}}' + - '{"last_request_metrics":{"request_id":"req_EK1gRIQnURQbcC","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:39 GMT + - Thu, 07 Mar 2024 14:46:10 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 062001ac-3c33-4910-8471-558aee053fb1 + - 9a510f4e-2160-44eb-b52e-7afe37fc485a Original-Request: - - req_Av04vstdPUABax + - req_AiHaCo9R7RYT0R Request-Id: - - req_Av04vstdPUABax + - req_AiHaCo9R7RYT0R Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5hKuuB1fWySn2e9FEnNm", + "id": "pi_3OriCyKuuB1fWySn2LzVCkmU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5hKuuB1fWySn2e9FEnNm_secret_CjyBmh70t49rw2Yfc0hmKdnRn", + "client_secret": "pi_3OriCyKuuB1fWySn2LzVCkmU_secret_QcHpO9pVKUSlTBvNOwxlNP8Uh", "confirmation_method": "automatic", - "created": 1709822317, + "created": 1709822768, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5hKuuB1fWySn297nHe83", + "latest_charge": "ch_3OriCyKuuB1fWySn2VhPIHxp", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5gKuuB1fWySnXnRvXhUH", + "payment_method": "pm_1OriCxKuuB1fWySniZ5cEFuT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:39 GMT + recorded_at: Thu, 07 Mar 2024 14:46:11 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5hKuuB1fWySn2e9FEnNm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriCyKuuB1fWySn2LzVCkmU body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Av04vstdPUABax","request_duration_ms":1107}}' + - '{"last_request_metrics":{"request_id":"req_AiHaCo9R7RYT0R","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:40 GMT + - Thu, 07 Mar 2024 14:46:11 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_X9aJUdzrkU1di9 + - req_pATMGxLuG8m45N Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5hKuuB1fWySn2e9FEnNm", + "id": "pi_3OriCyKuuB1fWySn2LzVCkmU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5hKuuB1fWySn2e9FEnNm_secret_CjyBmh70t49rw2Yfc0hmKdnRn", + "client_secret": "pi_3OriCyKuuB1fWySn2LzVCkmU_secret_QcHpO9pVKUSlTBvNOwxlNP8Uh", "confirmation_method": "automatic", - "created": 1709822317, + "created": 1709822768, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5hKuuB1fWySn297nHe83", + "latest_charge": "ch_3OriCyKuuB1fWySn2VhPIHxp", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5gKuuB1fWySnXnRvXhUH", + "payment_method": "pm_1OriCxKuuB1fWySniZ5cEFuT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:40 GMT + recorded_at: Thu, 07 Mar 2024 14:46:11 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml index 5e1a5b7925..c2b7de2929 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3RgfC1fJkyihKe","request_duration_ms":532}}' + - '{"last_request_metrics":{"request_id":"req_h8LXdGtSHiZ1sO","request_duration_ms":540}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:34 GMT + - Thu, 07 Mar 2024 14:46:04 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b0761327-9c64-4ca2-b507-be16a512df94 + - 8d9409f2-4c60-4e61-b4ff-17c1123b3272 Original-Request: - - req_1NsWme79VfMZgy + - req_V3ok70qquBIFYC Request-Id: - - req_1NsWme79VfMZgy + - req_V3ok70qquBIFYC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5dKuuB1fWySnUScN4R04", + "id": "pm_1OriCuKuuB1fWySnajzZFSYM", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822314, + "created": 1709822764, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:34 GMT + recorded_at: Thu, 07 Mar 2024 14:46:05 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori5dKuuB1fWySnUScN4R04&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriCuKuuB1fWySnajzZFSYM&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1NsWme79VfMZgy","request_duration_ms":472}}' + - '{"last_request_metrics":{"request_id":"req_V3ok70qquBIFYC","request_duration_ms":478}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:34 GMT + - Thu, 07 Mar 2024 14:46:05 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 87449923-2505-4672-bcc4-ad50783af8fb + - e9fd74c9-0318-492b-9a8d-b92eea5062f5 Original-Request: - - req_4nNSqLibNfUbNh + - req_dvSuj6SSB1grvO Request-Id: - - req_4nNSqLibNfUbNh + - req_dvSuj6SSB1grvO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5eKuuB1fWySn0Jzme5kj", + "id": "pi_3OriCvKuuB1fWySn2JYLSXUO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5eKuuB1fWySn0Jzme5kj_secret_Y2TsYs1BCGoQAV29c3gUeUb48", + "client_secret": "pi_3OriCvKuuB1fWySn2JYLSXUO_secret_SMYW5yBYtBiDcbRJc3uMzWsN4", "confirmation_method": "automatic", - "created": 1709822314, + "created": 1709822765, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5dKuuB1fWySnUScN4R04", + "payment_method": "pm_1OriCuKuuB1fWySnajzZFSYM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:34 GMT + recorded_at: Thu, 07 Mar 2024 14:46:05 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5eKuuB1fWySn0Jzme5kj/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriCvKuuB1fWySn2JYLSXUO/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4nNSqLibNfUbNh","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_dvSuj6SSB1grvO","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:35 GMT + - Thu, 07 Mar 2024 14:46:06 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 82e541a0-1398-44ea-8eaf-fda3bb950c3a + - e381121f-1559-4a7e-b644-71ab49dbab28 Original-Request: - - req_mef6ayAQaHr4S3 + - req_8BkTuIO1zckE7j Request-Id: - - req_mef6ayAQaHr4S3 + - req_8BkTuIO1zckE7j Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5eKuuB1fWySn0Jzme5kj", + "id": "pi_3OriCvKuuB1fWySn2JYLSXUO", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5eKuuB1fWySn0Jzme5kj_secret_Y2TsYs1BCGoQAV29c3gUeUb48", + "client_secret": "pi_3OriCvKuuB1fWySn2JYLSXUO_secret_SMYW5yBYtBiDcbRJc3uMzWsN4", "confirmation_method": "automatic", - "created": 1709822314, + "created": 1709822765, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5eKuuB1fWySn08lpXF0B", + "latest_charge": "ch_3OriCvKuuB1fWySn2KE2joQR", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5dKuuB1fWySnUScN4R04", + "payment_method": "pm_1OriCuKuuB1fWySnajzZFSYM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:35 GMT + recorded_at: Thu, 07 Mar 2024 14:46:06 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml index b38aa14a67..2898aae4b0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4FcfSlY8CTmPxE","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_0f9ifvBSrsUP2w","request_duration_ms":918}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:42 GMT + - Thu, 07 Mar 2024 14:46:14 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a36139fa-ca05-463d-98c9-6a8034c0aa2c + - 33d21a4e-5210-4297-8cab-f85754dda0bf Original-Request: - - req_OodsaFi0AhxFU6 + - req_kR9SzgnZuIeQ77 Request-Id: - - req_OodsaFi0AhxFU6 + - req_kR9SzgnZuIeQ77 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5mKuuB1fWySnpR7QIXqw", + "id": "pm_1OriD4KuuB1fWySnyMfdalIf", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822322, + "created": 1709822774, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:42 GMT + recorded_at: Thu, 07 Mar 2024 14:46:14 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori5mKuuB1fWySnpR7QIXqw&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriD4KuuB1fWySnyMfdalIf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OodsaFi0AhxFU6","request_duration_ms":505}}' + - '{"last_request_metrics":{"request_id":"req_kR9SzgnZuIeQ77","request_duration_ms":549}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:43 GMT + - Thu, 07 Mar 2024 14:46:14 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d50d936b-ea23-44e3-9673-b6e89887add0 + - b0d8c840-4a2f-4a26-a6d7-f05f826b309f Original-Request: - - req_dmFMlAeKdBcOKJ + - req_1aebujngB1bDLm Request-Id: - - req_dmFMlAeKdBcOKJ + - req_1aebujngB1bDLm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5nKuuB1fWySn0tFCdp21", + "id": "pi_3OriD4KuuB1fWySn2A9Qa6uo", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5nKuuB1fWySn0tFCdp21_secret_wLsINPCUXrUcwKJTJTizGGIkd", + "client_secret": "pi_3OriD4KuuB1fWySn2A9Qa6uo_secret_voS6W7AyYorb7HANWqhRLS7pv", "confirmation_method": "automatic", - "created": 1709822323, + "created": 1709822774, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5mKuuB1fWySnpR7QIXqw", + "payment_method": "pm_1OriD4KuuB1fWySnyMfdalIf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:43 GMT + recorded_at: Thu, 07 Mar 2024 14:46:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5nKuuB1fWySn0tFCdp21/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriD4KuuB1fWySn2A9Qa6uo/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dmFMlAeKdBcOKJ","request_duration_ms":442}}' + - '{"last_request_metrics":{"request_id":"req_1aebujngB1bDLm","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:44 GMT + - Thu, 07 Mar 2024 14:46:15 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1d50c47f-34da-4635-9eaf-ab578e6c95ed + - 44670de5-c9cf-4a67-a291-f4750e3b5ace Original-Request: - - req_MsewQ97f63GMhL + - req_a34Z1UcTRQsJeV Request-Id: - - req_MsewQ97f63GMhL + - req_a34Z1UcTRQsJeV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5nKuuB1fWySn0tFCdp21", + "id": "pi_3OriD4KuuB1fWySn2A9Qa6uo", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5nKuuB1fWySn0tFCdp21_secret_wLsINPCUXrUcwKJTJTizGGIkd", + "client_secret": "pi_3OriD4KuuB1fWySn2A9Qa6uo_secret_voS6W7AyYorb7HANWqhRLS7pv", "confirmation_method": "automatic", - "created": 1709822323, + "created": 1709822774, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5nKuuB1fWySn02Ze8kp8", + "latest_charge": "ch_3OriD4KuuB1fWySn2u3gah4C", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5mKuuB1fWySnpR7QIXqw", + "payment_method": "pm_1OriD4KuuB1fWySnyMfdalIf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +394,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:44 GMT + recorded_at: Thu, 07 Mar 2024 14:46:16 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5nKuuB1fWySn0tFCdp21 + uri: https://api.stripe.com/v1/payment_intents/pi_3OriD4KuuB1fWySn2A9Qa6uo body: encoding: US-ASCII string: '' @@ -409,7 +409,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MsewQ97f63GMhL","request_duration_ms":983}}' + - '{"last_request_metrics":{"request_id":"req_a34Z1UcTRQsJeV","request_duration_ms":1121}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:44 GMT + - Thu, 07 Mar 2024 14:46:16 GMT Content-Type: - application/json Content-Length: @@ -457,7 +457,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_pZzGM4SAmLoucX + - req_hbZdmf3eLFlEZf Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5nKuuB1fWySn0tFCdp21", + "id": "pi_3OriD4KuuB1fWySn2A9Qa6uo", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +484,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5nKuuB1fWySn0tFCdp21_secret_wLsINPCUXrUcwKJTJTizGGIkd", + "client_secret": "pi_3OriD4KuuB1fWySn2A9Qa6uo_secret_voS6W7AyYorb7HANWqhRLS7pv", "confirmation_method": "automatic", - "created": 1709822323, + "created": 1709822774, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5nKuuB1fWySn02Ze8kp8", + "latest_charge": "ch_3OriD4KuuB1fWySn2u3gah4C", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5mKuuB1fWySnpR7QIXqw", + "payment_method": "pm_1OriD4KuuB1fWySnyMfdalIf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:44 GMT + recorded_at: Thu, 07 Mar 2024 14:46:16 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5nKuuB1fWySn0tFCdp21/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OriD4KuuB1fWySn2A9Qa6uo/capture body: encoding: US-ASCII string: '' @@ -537,7 +537,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pZzGM4SAmLoucX","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_hbZdmf3eLFlEZf","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -557,7 +557,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:45 GMT + - Thu, 07 Mar 2024 14:46:17 GMT Content-Type: - application/json Content-Length: @@ -585,11 +585,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d5c253f8-4f1b-4739-bd8d-780d4c764c40 + - 76df0888-641e-42d3-81d8-c16f38d26b96 Original-Request: - - req_CEv6jqBFnftgQA + - req_yiOzw3lkOCvxkc Request-Id: - - req_CEv6jqBFnftgQA + - req_yiOzw3lkOCvxkc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5nKuuB1fWySn0tFCdp21", + "id": "pi_3OriD4KuuB1fWySn2A9Qa6uo", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +618,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5nKuuB1fWySn0tFCdp21_secret_wLsINPCUXrUcwKJTJTizGGIkd", + "client_secret": "pi_3OriD4KuuB1fWySn2A9Qa6uo_secret_voS6W7AyYorb7HANWqhRLS7pv", "confirmation_method": "automatic", - "created": 1709822323, + "created": 1709822774, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5nKuuB1fWySn02Ze8kp8", + "latest_charge": "ch_3OriD4KuuB1fWySn2u3gah4C", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5mKuuB1fWySnpR7QIXqw", + "payment_method": "pm_1OriD4KuuB1fWySnyMfdalIf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +656,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:45 GMT + recorded_at: Thu, 07 Mar 2024 14:46:17 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5nKuuB1fWySn0tFCdp21 + uri: https://api.stripe.com/v1/payment_intents/pi_3OriD4KuuB1fWySn2A9Qa6uo body: encoding: US-ASCII string: '' @@ -671,7 +671,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CEv6jqBFnftgQA","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_yiOzw3lkOCvxkc","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -691,7 +691,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:46 GMT + - Thu, 07 Mar 2024 14:46:17 GMT Content-Type: - application/json Content-Length: @@ -719,7 +719,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_JfHj853ZZu6mIE + - req_oOnp67xVyiBUQR Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +732,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5nKuuB1fWySn0tFCdp21", + "id": "pi_3OriD4KuuB1fWySn2A9Qa6uo", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +746,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5nKuuB1fWySn0tFCdp21_secret_wLsINPCUXrUcwKJTJTizGGIkd", + "client_secret": "pi_3OriD4KuuB1fWySn2A9Qa6uo_secret_voS6W7AyYorb7HANWqhRLS7pv", "confirmation_method": "automatic", - "created": 1709822323, + "created": 1709822774, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5nKuuB1fWySn02Ze8kp8", + "latest_charge": "ch_3OriD4KuuB1fWySn2u3gah4C", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5mKuuB1fWySnpR7QIXqw", + "payment_method": "pm_1OriD4KuuB1fWySnyMfdalIf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +784,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:46 GMT + recorded_at: Thu, 07 Mar 2024 14:46:17 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml index de05268a59..a4cc04ed42 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_X9aJUdzrkU1di9","request_duration_ms":318}}' + - '{"last_request_metrics":{"request_id":"req_pATMGxLuG8m45N","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:40 GMT + - Thu, 07 Mar 2024 14:46:11 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cb1392d1-02db-411a-b835-cfd08ff844ad + - 44293d4e-7978-42b2-ac08-b7edccb562ae Original-Request: - - req_nPOWaojYjOoz46 + - req_U9rDhY5eeeJjfJ Request-Id: - - req_nPOWaojYjOoz46 + - req_U9rDhY5eeeJjfJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori5kKuuB1fWySnRKsTIQIc", + "id": "pm_1OriD1KuuB1fWySnNJhGcixK", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822320, + "created": 1709822771, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:38:40 GMT + recorded_at: Thu, 07 Mar 2024 14:46:11 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Ori5kKuuB1fWySnRKsTIQIc&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OriD1KuuB1fWySnNJhGcixK&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nPOWaojYjOoz46","request_duration_ms":449}}' + - '{"last_request_metrics":{"request_id":"req_U9rDhY5eeeJjfJ","request_duration_ms":458}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:41 GMT + - Thu, 07 Mar 2024 14:46:12 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - de501b6b-a890-45cd-986e-31102b39c2fc + - dd137eec-5b32-484f-a46d-646fdae0100c Original-Request: - - req_UrYGyOq8pxSqMN + - req_vuaQoJA1KnOBGW Request-Id: - - req_UrYGyOq8pxSqMN + - req_vuaQoJA1KnOBGW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5kKuuB1fWySn0XilxZ4j", + "id": "pi_3OriD2KuuB1fWySn0gezQ7K4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +222,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5kKuuB1fWySn0XilxZ4j_secret_25g1XrnsBk5dYw4Wx5vxbZYOA", + "client_secret": "pi_3OriD2KuuB1fWySn0gezQ7K4_secret_JMESHVYELkwSeZnY2Y0CBCKA9", "confirmation_method": "automatic", - "created": 1709822320, + "created": 1709822772, "currency": "eur", "customer": null, "description": null, @@ -235,7 +235,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5kKuuB1fWySnRKsTIQIc", + "payment_method": "pm_1OriD1KuuB1fWySnNJhGcixK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +260,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:41 GMT + recorded_at: Thu, 07 Mar 2024 14:46:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori5kKuuB1fWySn0XilxZ4j/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OriD2KuuB1fWySn0gezQ7K4/confirm body: encoding: US-ASCII string: '' @@ -275,7 +275,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UrYGyOq8pxSqMN","request_duration_ms":403}}' + - '{"last_request_metrics":{"request_id":"req_vuaQoJA1KnOBGW","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -295,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:38:42 GMT + - Thu, 07 Mar 2024 14:46:13 GMT Content-Type: - application/json Content-Length: @@ -323,11 +323,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - feba507c-a985-49b6-a596-0cb9ed82adf8 + - 2eec599a-3da2-49b3-9311-f5deb6ad4c3f Original-Request: - - req_4FcfSlY8CTmPxE + - req_0f9ifvBSrsUP2w Request-Id: - - req_4FcfSlY8CTmPxE + - req_0f9ifvBSrsUP2w Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +342,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori5kKuuB1fWySn0XilxZ4j", + "id": "pi_3OriD2KuuB1fWySn0gezQ7K4", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +356,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3Ori5kKuuB1fWySn0XilxZ4j_secret_25g1XrnsBk5dYw4Wx5vxbZYOA", + "client_secret": "pi_3OriD2KuuB1fWySn0gezQ7K4_secret_JMESHVYELkwSeZnY2Y0CBCKA9", "confirmation_method": "automatic", - "created": 1709822320, + "created": 1709822772, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori5kKuuB1fWySn09X30gf2", + "latest_charge": "ch_3OriD2KuuB1fWySn0gUmYdom", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori5kKuuB1fWySnRKsTIQIc", + "payment_method": "pm_1OriD1KuuB1fWySnNJhGcixK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +394,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:38:42 GMT + recorded_at: Thu, 07 Mar 2024 14:46:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml index 3f3f410daf..67ffe70896 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jK3S1jfWIgYhut","request_duration_ms":480}}' + - '{"last_request_metrics":{"request_id":"req_PK8pPZXhK0xwdf","request_duration_ms":445}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:29 GMT + - Thu, 07 Mar 2024 14:47:58 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c051a7ae-3827-47d3-8dca-a16171e69284 + - 20a4fa07-500b-403d-8b05-801ee22c758a Original-Request: - - req_Op08rYHGvAaruH + - req_N10nlTdUqtwtV6 Request-Id: - - req_Op08rYHGvAaruH + - req_N10nlTdUqtwtV6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7UKuuB1fWySn76qyslW5", + "id": "pm_1OriEkKuuB1fWySnvaFz6noB", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +121,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822428, + "created": 1709822878, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:29 GMT + recorded_at: Thu, 07 Mar 2024 14:47:58 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=syreeta_mante%40rowe.biz + string: expand[0]=sources&email=bethanie%40bergnaum.us headers: Content-Type: - application/x-www-form-urlencoded @@ -161,11 +161,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:30 GMT + - Thu, 07 Mar 2024 14:47:59 GMT Content-Type: - application/json Content-Length: - - '819' + - '817' Connection: - close Access-Control-Allow-Credentials: @@ -188,11 +188,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 487f4a1e-f085-4bc0-b700-2c74ba0c99d3 + - 5c432a6f-65d1-417a-8659-c9b64447e9e0 Original-Request: - - req_csrGBnT3G2xSHG + - req_YXsUS8b93RXYPo Request-Id: - - req_csrGBnT3G2xSHG + - req_YXsUS8b93RXYPo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -207,19 +207,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6KskC35H85qa", + "id": "cus_Ph6RU4ZvwkPC5X", "object": "customer", "address": null, "balance": 0, - "created": 1709822429, + "created": 1709822879, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "syreeta_mante@rowe.biz", - "invoice_prefix": "641A4283", + "email": "bethanie@bergnaum.us", + "invoice_prefix": "3CBA45D9", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,18 +238,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_Ph6KskC35H85qa/sources" + "url": "/v1/customers/cus_Ph6RU4ZvwkPC5X/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:40:30 GMT + recorded_at: Thu, 07 Mar 2024 14:47:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Ori7UKuuB1fWySn76qyslW5/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OriEkKuuB1fWySnvaFz6noB/attach body: encoding: UTF-8 - string: customer=cus_Ph6KskC35H85qa + string: customer=cus_Ph6RU4ZvwkPC5X headers: Content-Type: - application/x-www-form-urlencoded @@ -277,7 +277,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:30 GMT + - Thu, 07 Mar 2024 14:48:00 GMT Content-Type: - application/json Content-Length: @@ -305,11 +305,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d317f319-35a7-4987-a662-138d8f1f2b65 + - 718833b1-2fbe-4718-a123-01cda250c5e9 Original-Request: - - req_7mzjqpGBfSWXfr + - req_thzmMBiDyGBtiR Request-Id: - - req_7mzjqpGBfSWXfr + - req_thzmMBiDyGBtiR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -324,7 +324,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7UKuuB1fWySn76qyslW5", + "id": "pm_1OriEkKuuB1fWySnvaFz6noB", "object": "payment_method", "billing_details": { "address": { @@ -365,11 +365,11 @@ http_interactions: }, "wallet": null }, - "created": 1709822428, - "customer": "cus_Ph6KskC35H85qa", + "created": 1709822878, + "customer": "cus_Ph6RU4ZvwkPC5X", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:31 GMT + recorded_at: Thu, 07 Mar 2024 14:48:00 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml index 80525cb6a5..6a2dffc2c5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Op08rYHGvAaruH","request_duration_ms":494}}' + - '{"last_request_metrics":{"request_id":"req_N10nlTdUqtwtV6","request_duration_ms":423}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:31 GMT + - Thu, 07 Mar 2024 14:48:01 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9d4664a9-bf4d-4211-a948-d610bc43d185 + - 5a45019a-d77a-47e6-a302-2cab0bccb747 Original-Request: - - req_NlddE1Lfg1UIOE + - req_sjjC4nibrDmJml Request-Id: - - req_NlddE1Lfg1UIOE + - req_sjjC4nibrDmJml Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7XKuuB1fWySnOKaGH4d8", + "id": "pm_1OriEmKuuB1fWySnQQB8djR3", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +121,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822431, + "created": 1709822880, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:31 GMT + recorded_at: Thu, 07 Mar 2024 14:48:01 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -142,7 +142,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NlddE1Lfg1UIOE","request_duration_ms":555}}' + - '{"last_request_metrics":{"request_id":"req_sjjC4nibrDmJml","request_duration_ms":500}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:32 GMT + - Thu, 07 Mar 2024 14:48:01 GMT Content-Type: - application/json Content-Length: @@ -189,11 +189,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 07af51bc-b029-4db1-9dc7-a6ab3923b16c + - aad62f34-8d5c-4755-89c4-e6daa0e81d3a Original-Request: - - req_n9vtnsGiL90bJE + - req_ZnELr0MRyVDty5 Request-Id: - - req_n9vtnsGiL90bJE + - req_ZnELr0MRyVDty5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6KTuvTTKDo68", + "id": "cus_Ph6RKDYy4DhhpK", "object": "customer", "address": null, "balance": 0, - "created": 1709822431, + "created": 1709822881, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "76CFBC26", + "invoice_prefix": "807E094A", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,13 +236,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:40:32 GMT + recorded_at: Thu, 07 Mar 2024 14:48:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Ori7XKuuB1fWySnOKaGH4d8/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OriEmKuuB1fWySnQQB8djR3/attach body: encoding: UTF-8 - string: customer=cus_Ph6KTuvTTKDo68 + string: customer=cus_Ph6RKDYy4DhhpK headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -251,7 +251,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_n9vtnsGiL90bJE","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_ZnELr0MRyVDty5","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -271,7 +271,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:32 GMT + - Thu, 07 Mar 2024 14:48:02 GMT Content-Type: - application/json Content-Length: @@ -299,11 +299,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e2ed9832-8821-4824-879a-55434328733a + - 7f53c5bd-78a5-4529-beed-d3263c6244ef Original-Request: - - req_Q7gqqiErJzAxsZ + - req_5nLjo9cll0MY0O Request-Id: - - req_Q7gqqiErJzAxsZ + - req_5nLjo9cll0MY0O Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +318,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori7XKuuB1fWySnOKaGH4d8", + "id": "pm_1OriEmKuuB1fWySnQQB8djR3", "object": "payment_method", "billing_details": { "address": { @@ -359,19 +359,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822431, - "customer": "cus_Ph6KTuvTTKDo68", + "created": 1709822880, + "customer": "cus_Ph6RKDYy4DhhpK", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:40:32 GMT + recorded_at: Thu, 07 Mar 2024 14:48:02 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=nora%40toy.us + string: expand[0]=sources&email=logan_bruen%40graham.name headers: Content-Type: - application/x-www-form-urlencoded @@ -399,11 +399,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:34 GMT + - Thu, 07 Mar 2024 14:48:03 GMT Content-Type: - application/json Content-Length: - - '808' + - '820' Connection: - close Access-Control-Allow-Credentials: @@ -426,11 +426,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3df0cdaa-6058-4ec4-af2d-8e7f0d118793 + - b8cbfcf1-12e0-46cb-92c3-fbec010611b0 Original-Request: - - req_D5yTTHzQ4YilCK + - req_QgAFxVg6sOLpP0 Request-Id: - - req_D5yTTHzQ4YilCK + - req_QgAFxVg6sOLpP0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -445,19 +445,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6KjNCydI9ddd", + "id": "cus_Ph6RQ3GCndCVWI", "object": "customer", "address": null, "balance": 0, - "created": 1709822433, + "created": 1709822883, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "nora@toy.us", - "invoice_prefix": "A296EDA8", + "email": "logan_bruen@graham.name", + "invoice_prefix": "4BD2558E", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -476,18 +476,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_Ph6KjNCydI9ddd/sources" + "url": "/v1/customers/cus_Ph6RQ3GCndCVWI/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:40:34 GMT + recorded_at: Thu, 07 Mar 2024 14:48:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Ori7XKuuB1fWySnOKaGH4d8/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OriEmKuuB1fWySnQQB8djR3/attach body: encoding: UTF-8 - string: customer=cus_Ph6KjNCydI9ddd + string: customer=cus_Ph6RQ3GCndCVWI headers: Content-Type: - application/x-www-form-urlencoded @@ -515,7 +515,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:40:34 GMT + - Thu, 07 Mar 2024 14:48:04 GMT Content-Type: - application/json Content-Length: @@ -543,11 +543,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 432fdf08-8144-48a5-acdb-d5753e4fec53 + - 24a929c1-8a7f-4e21-b0db-1125ea5d083f Original-Request: - - req_e7kgyjGjPlEZYW + - req_ylqd6iXnEgZNWe Request-Id: - - req_e7kgyjGjPlEZYW + - req_ylqd6iXnEgZNWe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -564,9 +564,9 @@ http_interactions: { "error": { "message": "The payment method you provided has already been attached to a customer.", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_e7kgyjGjPlEZYW?t=1709822434", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_ylqd6iXnEgZNWe?t=1709822883", "type": "invalid_request_error" } } - recorded_at: Thu, 07 Mar 2024 14:40:34 GMT + recorded_at: Thu, 07 Mar 2024 14:48:04 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml index b9621f7b6c..edfd477002 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6xn7ayvYoWpsVL","request_duration_ms":347}}' + - '{"last_request_metrics":{"request_id":"req_feXQoy32mXZnQ3","request_duration_ms":333}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -34,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:26 GMT + - Thu, 07 Mar 2024 14:48:57 GMT Content-Type: - application/json Content-Length: @@ -61,11 +61,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d0a36d57-fb83-4605-a1f0-c68df3369d78 + - b7f62999-de82-4aa8-841f-e88701d31eb2 Original-Request: - - req_DUn3tigZ6kV1y8 + - req_5TuygUI0DhB4Bw Request-Id: - - req_DUn3tigZ6kV1y8 + - req_5TuygUI0DhB4Bw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +80,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Ori8PQOFPOGaWbe", + "id": "acct_1OriFfQTS9nOO0fo", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +102,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822486, + "created": 1709822936, "default_currency": "aud", "details_submitted": false, "email": "lettuce.producer@example.com", @@ -111,7 +111,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Ori8PQOFPOGaWbe/external_accounts" + "url": "/v1/accounts/acct_1OriFfQTS9nOO0fo/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,7 +208,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:41:27 GMT + recorded_at: Thu, 07 Mar 2024 14:48:57 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -223,7 +223,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DUn3tigZ6kV1y8","request_duration_ms":1785}}' + - '{"last_request_metrics":{"request_id":"req_5TuygUI0DhB4Bw","request_duration_ms":1860}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:27 GMT + - Thu, 07 Mar 2024 14:48:57 GMT Content-Type: - application/json Content-Length: @@ -271,7 +271,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_74YPBf9ufIdMTM + - req_mtMNiLN8y2ccOS Stripe-Version: - '2023-10-16' Vary: @@ -284,7 +284,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Ori8RKuuB1fWySnokbZZymm", + "id": "pm_1OriFhKuuB1fWySn8eESYhJG", "object": "payment_method", "billing_details": { "address": { @@ -325,13 +325,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822487, + "created": 1709822937, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:41:27 GMT + recorded_at: Thu, 07 Mar 2024 14:48:57 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -346,7 +346,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_74YPBf9ufIdMTM","request_duration_ms":505}}' + - '{"last_request_metrics":{"request_id":"req_mtMNiLN8y2ccOS","request_duration_ms":377}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -355,7 +355,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori8PQOFPOGaWbe + - acct_1OriFfQTS9nOO0fo Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -368,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:28 GMT + - Thu, 07 Mar 2024 14:48:59 GMT Content-Type: - application/json Content-Length: @@ -395,13 +395,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 67b4df54-6dbb-4d94-bd6f-d58c21acad4c + - ca2fe7e8-9644-4f47-aafd-5fb4d6f677e6 Original-Request: - - req_Sl2yh4tFplfAcL + - req_lV4fTlxjtrq6pR Request-Id: - - req_Sl2yh4tFplfAcL + - req_lV4fTlxjtrq6pR Stripe-Account: - - acct_1Ori8PQOFPOGaWbe + - acct_1OriFfQTS9nOO0fo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -416,7 +416,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", + "id": "pi_3OriFiQTS9nOO0fo07xRuiac", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -430,20 +430,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3Ori8RQOFPOGaWbe0kxBKW0L_secret_LQ4MEmPdSgVVVTtiE51dEibPw", + "client_secret": "pi_3OriFiQTS9nOO0fo07xRuiac_secret_BZ69pUIUs7hilecP22OpCOnDw", "confirmation_method": "automatic", - "created": 1709822487, + "created": 1709822938, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori8RQOFPOGaWbe0kxVpV1S", + "latest_charge": "ch_3OriFiQTS9nOO0fo0sCHN0Ht", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8RQOFPOGaWbejKejks4M", + "payment_method": "pm_1OriFiQTS9nOO0foNwMYTsli", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -468,10 +468,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:28 GMT + recorded_at: Thu, 07 Mar 2024 14:48:59 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8RQOFPOGaWbe0kxBKW0L + uri: https://api.stripe.com/v1/payment_intents/pi_3OriFiQTS9nOO0fo07xRuiac body: encoding: US-ASCII string: '' @@ -490,7 +490,7 @@ http_interactions: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' Stripe-Account: - - acct_1Ori8PQOFPOGaWbe + - acct_1OriFfQTS9nOO0fo Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -503,7 +503,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:35 GMT + - Thu, 07 Mar 2024 14:49:05 GMT Content-Type: - application/json Content-Length: @@ -531,9 +531,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_Yd0IDRQdoY9eHD + - req_xcXjbsQbiDlBMT Stripe-Account: - - acct_1Ori8PQOFPOGaWbe + - acct_1OriFfQTS9nOO0fo Stripe-Version: - '2023-10-16' Vary: @@ -546,7 +546,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", + "id": "pi_3OriFiQTS9nOO0fo07xRuiac", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -560,20 +560,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3Ori8RQOFPOGaWbe0kxBKW0L_secret_LQ4MEmPdSgVVVTtiE51dEibPw", + "client_secret": "pi_3OriFiQTS9nOO0fo07xRuiac_secret_BZ69pUIUs7hilecP22OpCOnDw", "confirmation_method": "automatic", - "created": 1709822487, + "created": 1709822938, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori8RQOFPOGaWbe0kxVpV1S", + "latest_charge": "ch_3OriFiQTS9nOO0fo0sCHN0Ht", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8RQOFPOGaWbejKejks4M", + "payment_method": "pm_1OriFiQTS9nOO0foNwMYTsli", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -598,10 +598,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:35 GMT + recorded_at: Thu, 07 Mar 2024 14:49:05 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Ori8RQOFPOGaWbe0kxBKW0L + uri: https://api.stripe.com/v1/payment_intents/pi_3OriFiQTS9nOO0fo07xRuiac body: encoding: US-ASCII string: '' @@ -617,7 +617,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Ori8PQOFPOGaWbe + - acct_1OriFfQTS9nOO0fo Connection: - close Accept-Encoding: @@ -632,11 +632,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:35 GMT + - Thu, 07 Mar 2024 14:49:05 GMT Content-Type: - application/json Content-Length: - - '5159' + - '5160' Connection: - close Access-Control-Allow-Credentials: @@ -660,9 +660,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_2ygHSqLVFPkp8i + - req_x8W6tCf3W2MbgP Stripe-Account: - - acct_1Ori8PQOFPOGaWbe + - acct_1OriFfQTS9nOO0fo Stripe-Version: - '2020-08-27' Vary: @@ -675,7 +675,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", + "id": "pi_3OriFiQTS9nOO0fo07xRuiac", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -693,7 +693,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3Ori8RQOFPOGaWbe0kxVpV1S", + "id": "ch_3OriFiQTS9nOO0fo0sCHN0Ht", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -701,7 +701,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Ori8RQOFPOGaWbe0BaP1P3a", + "balance_transaction": "txn_3OriFiQTS9nOO0fo0sG7sQat", "billing_details": { "address": { "city": null, @@ -717,7 +717,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822488, + "created": 1709822938, "currency": "aud", "customer": null, "description": null, @@ -737,13 +737,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 7, + "risk_score": 10, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", - "payment_method": "pm_1Ori8RQOFPOGaWbejKejks4M", + "payment_intent": "pi_3OriFiQTS9nOO0fo07xRuiac", + "payment_method": "pm_1OriFiQTS9nOO0foNwMYTsli", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -786,14 +786,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpOFBRT0ZQT0dhV2JlKJ-kp68GMgb9vVmPg3Y6LBbK9vf2vN_HD6t_iIZCyrqLCxTIzVDwdSZH_eaWeB6FUbdnVM4Q-fx8sIz7", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpRmZRVFM5bk9PMGZvKOGnp68GMgbTKZtPigI6LBbEdmRxkS21RUfcVLnc8hiSUxCCFX-bmZJHxGMPGbUR8KXiwCthNcpwjsBs", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3Ori8RQOFPOGaWbe0kxVpV1S/refunds" + "url": "/v1/charges/ch_3OriFiQTS9nOO0fo0sCHN0Ht/refunds" }, "review": null, "shipping": null, @@ -808,22 +808,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3Ori8RQOFPOGaWbe0kxBKW0L" + "url": "/v1/charges?payment_intent=pi_3OriFiQTS9nOO0fo07xRuiac" }, - "client_secret": "pi_3Ori8RQOFPOGaWbe0kxBKW0L_secret_LQ4MEmPdSgVVVTtiE51dEibPw", + "client_secret": "pi_3OriFiQTS9nOO0fo07xRuiac_secret_BZ69pUIUs7hilecP22OpCOnDw", "confirmation_method": "automatic", - "created": 1709822487, + "created": 1709822938, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Ori8RQOFPOGaWbe0kxVpV1S", + "latest_charge": "ch_3OriFiQTS9nOO0fo0sCHN0Ht", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Ori8RQOFPOGaWbejKejks4M", + "payment_method": "pm_1OriFiQTS9nOO0foNwMYTsli", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -848,10 +848,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:41:35 GMT + recorded_at: Thu, 07 Mar 2024 14:49:05 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3Ori8RQOFPOGaWbe0kxVpV1S/refunds + uri: https://api.stripe.com/v1/charges/ch_3OriFiQTS9nOO0fo0sCHN0Ht/refunds body: encoding: UTF-8 string: amount=2600&expand[0]=charge @@ -869,7 +869,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Ori8PQOFPOGaWbe + - acct_1OriFfQTS9nOO0fo Connection: - close Accept-Encoding: @@ -884,11 +884,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:41:36 GMT + - Thu, 07 Mar 2024 14:49:07 GMT Content-Type: - application/json Content-Length: - - '4535' + - '4536' Connection: - close Access-Control-Allow-Credentials: @@ -912,13 +912,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a405e7a6-ea1f-40b7-877d-690ef97a9ce2 + - 9e9364bd-3244-4fff-80cb-150ae4ca4e99 Original-Request: - - req_Re8TmZP6BSpbT4 + - req_aJgMxJ9LaJTRyZ Request-Id: - - req_Re8TmZP6BSpbT4 + - req_aJgMxJ9LaJTRyZ Stripe-Account: - - acct_1Ori8PQOFPOGaWbe + - acct_1OriFfQTS9nOO0fo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -933,12 +933,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3Ori8RQOFPOGaWbe0ERyetXL", + "id": "re_3OriFiQTS9nOO0fo0yW4O65p", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3Ori8RQOFPOGaWbe0BRSlec3", + "balance_transaction": "txn_3OriFiQTS9nOO0fo0akfshFV", "charge": { - "id": "ch_3Ori8RQOFPOGaWbe0kxVpV1S", + "id": "ch_3OriFiQTS9nOO0fo0sCHN0Ht", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -946,7 +946,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Ori8RQOFPOGaWbe0BaP1P3a", + "balance_transaction": "txn_3OriFiQTS9nOO0fo0sG7sQat", "billing_details": { "address": { "city": null, @@ -962,7 +962,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822488, + "created": 1709822938, "currency": "aud", "customer": null, "description": null, @@ -982,13 +982,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 7, + "risk_score": 10, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", - "payment_method": "pm_1Ori8RQOFPOGaWbejKejks4M", + "payment_intent": "pi_3OriFiQTS9nOO0fo07xRuiac", + "payment_method": "pm_1OriFiQTS9nOO0foNwMYTsli", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -1031,18 +1031,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpOFBRT0ZQT0dhV2JlKKCkp68GMgaZDu9l0UA6LBZs1YbOLYVbrRSNbaKPRfyM7lSPdu5-xeTOebaVYFE9rMUO0KvOVYwzOK3g", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpRmZRVFM5bk9PMGZvKOOnp68GMgYw_sy3WVE6LBauCaJUk1gX3VnMvmEXCQ8UajSJryoVc9vX6LEedtJ1OFU6D2xbQJCMECKN", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3Ori8RQOFPOGaWbe0ERyetXL", + "id": "re_3OriFiQTS9nOO0fo0yW4O65p", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3Ori8RQOFPOGaWbe0BRSlec3", - "charge": "ch_3Ori8RQOFPOGaWbe0kxVpV1S", - "created": 1709822496, + "balance_transaction": "txn_3OriFiQTS9nOO0fo0akfshFV", + "charge": "ch_3OriFiQTS9nOO0fo0sCHN0Ht", + "created": 1709822946, "currency": "aud", "destination_details": { "card": { @@ -1053,7 +1053,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", + "payment_intent": "pi_3OriFiQTS9nOO0fo07xRuiac", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1063,7 +1063,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3Ori8RQOFPOGaWbe0kxVpV1S/refunds" + "url": "/v1/charges/ch_3OriFiQTS9nOO0fo0sCHN0Ht/refunds" }, "review": null, "shipping": null, @@ -1075,7 +1075,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1709822496, + "created": 1709822946, "currency": "aud", "destination_details": { "card": { @@ -1086,12 +1086,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Ori8RQOFPOGaWbe0kxBKW0L", + "payment_intent": "pi_3OriFiQTS9nOO0fo07xRuiac", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 07 Mar 2024 14:41:37 GMT + recorded_at: Thu, 07 Mar 2024 14:49:07 GMT recorded_with: VCR 6.2.0 From 5653d542f696badbd30829d44945b152ab5a9d70 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 7 Mar 2024 15:15:18 +0000 Subject: [PATCH 078/374] Hides sensitive data --- .env.test | 3 +++ spec/support/vcr_setup.rb | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.env.test b/.env.test index 535d37a9e0..a2190c418c 100644 --- a/.env.test +++ b/.env.test @@ -14,3 +14,6 @@ SITE_URL="test.host" OPENID_APP_ID="test-provider" OPENID_APP_SECRET="12345" + +CLIENT_SECRET =~ /secret.+/ +HOSTNAME =~ /"hostname":".+"/ diff --git a/spec/support/vcr_setup.rb b/spec/support/vcr_setup.rb index a856eab5d7..256bdb07cb 100644 --- a/spec/support/vcr_setup.rb +++ b/spec/support/vcr_setup.rb @@ -16,6 +16,8 @@ VCR.configure do |config| STRIPE_ACCOUNT STRIPE_CLIENT_ID STRIPE_ENDPOINT_SECRET + CLIENT_SECRET + HOSTNAME ].each do |env_var| config.filter_sensitive_data("") { ENV.fetch(env_var, nil) } end From 2cac8471fc7a513d97dd2ea6bb13101b492303b0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 00:41:31 +0000 Subject: [PATCH 079/374] chore(deps-dev): bump rubocop-rails from 2.23.1 to 2.24.0 Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.23.1 to 2.24.0. - [Release notes](https://github.com/rubocop/rubocop-rails/releases) - [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.23.1...v2.24.0) --- updated-dependencies: - dependency-name: rubocop-rails dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index ebcd09e85f..f513efde42 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -664,11 +664,11 @@ GEM rubocop (~> 1.41) rubocop-factory_bot (2.25.1) rubocop (~> 1.41) - rubocop-rails (2.23.1) + rubocop-rails (2.24.0) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) - rubocop-ast (>= 1.30.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) rubocop-rspec (2.27.1) rubocop (~> 1.40) rubocop-capybara (~> 2.17) From 07a43fecdf1abc04682ea03d7e17bacc66a58c3d Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Fri, 8 Mar 2024 11:48:31 +0000 Subject: [PATCH 080/374] Update all locales with the latest Transifex translations --- config/locales/ar.yml | 2 -- config/locales/ca.yml | 2 -- config/locales/cy.yml | 2 -- config/locales/de_CH.yml | 2 -- config/locales/de_DE.yml | 6 ++---- config/locales/el.yml | 2 -- config/locales/en_CA.yml | 2 -- config/locales/en_FR.yml | 2 -- config/locales/en_GB.yml | 2 -- config/locales/en_IE.yml | 2 -- config/locales/en_US.yml | 2 -- config/locales/es.yml | 2 -- config/locales/fr.yml | 2 -- config/locales/fr_BE.yml | 2 +- config/locales/fr_CA.yml | 2 -- config/locales/fr_CH.yml | 2 -- config/locales/fr_CM.yml | 2 -- config/locales/hi.yml | 2 -- config/locales/hu.yml | 2 -- config/locales/it.yml | 2 -- config/locales/it_CH.yml | 2 -- config/locales/ko.yml | 2 -- config/locales/ml.yml | 2 -- config/locales/mr.yml | 2 -- config/locales/nb.yml | 2 -- config/locales/pa.yml | 2 -- config/locales/pt_BR.yml | 2 -- config/locales/ru.yml | 2 -- config/locales/tr.yml | 2 -- config/locales/uk.yml | 2 -- 30 files changed, 3 insertions(+), 61 deletions(-) diff --git a/config/locales/ar.yml b/config/locales/ar.yml index 15acfbe95c..99412db96b 100644 --- a/config/locales/ar.yml +++ b/config/locales/ar.yml @@ -3612,8 +3612,6 @@ ar: start_date: "تاريخ البدء" successfully_removed: "تمت الإزالة بنجاح" taxonomy_edit: "التصنيف" - taxonomy_tree_error: "خطأ شجرة التصنيف" - taxonomy_tree_instruction: "تعليمات شجرة التصنيف" tree: "شجرة" updating: "تحديث" your_order_is_empty_add_product: "طلبك فارغ ، يرجى البحث عن المنتج أعلاه وإضافته" diff --git a/config/locales/ca.yml b/config/locales/ca.yml index c552703236..7fd0d38936 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -3495,8 +3495,6 @@ ca: start_date: "Data d'inici" successfully_removed: "S'ha suprimit correctament" taxonomy_edit: "Edició de taxonomia" - taxonomy_tree_error: "Error d'arbre de taxonomia" - taxonomy_tree_instruction: "Instrucció d'arbre de taxonomia" tree: "Arbre" updating: "Actualitzant" your_order_is_empty_add_product: "La comanda està buida, si us plau cerca i afegeix un producte a dalt" diff --git a/config/locales/cy.yml b/config/locales/cy.yml index a9f0b4db3f..7655e24f2a 100644 --- a/config/locales/cy.yml +++ b/config/locales/cy.yml @@ -3730,8 +3730,6 @@ cy: start_date: "Dyddiad cychwyn" successfully_removed: "Llwyddwyd i ddileu" taxonomy_edit: "Golygu tacsonomi" - taxonomy_tree_error: "Gwall - coeden tacsonomi" - taxonomy_tree_instruction: "Cyfarwyddyd - coeden tacsonomi" tree: "Coeden" updating: "Yn diweddaru" your_order_is_empty_add_product: "Mae eich archeb yn wag, chwiliwch am ac ychwanegwch gynnyrch uchod" diff --git a/config/locales/de_CH.yml b/config/locales/de_CH.yml index c95ba52c40..2be738f4bb 100644 --- a/config/locales/de_CH.yml +++ b/config/locales/de_CH.yml @@ -3420,8 +3420,6 @@ de_CH: start_date: "Anfangsdatum" successfully_removed: "Erfolgreich gelöscht" taxonomy_edit: "Kategorien bearbeiten" - taxonomy_tree_error: "Fehler in Struktur der Kategorien" - taxonomy_tree_instruction: "Anleitung zur Struktur der Kategorien" tree: "Struktur" updating: "Aktualisierung" your_order_is_empty_add_product: "Ihre Bestellung ist leer. Suchen Sie oben ein Produkt und fügen Sie es hinzu." diff --git a/config/locales/de_DE.yml b/config/locales/de_DE.yml index 36019f4511..f05e229911 100644 --- a/config/locales/de_DE.yml +++ b/config/locales/de_DE.yml @@ -1249,7 +1249,7 @@ de_DE: sell_your_produce: Verkaufen Sie Ihre eigenen Produkte producer_shop_description_text: Verkaufen Sie Ihre eigenen Produkte direkt an Ihre Kunden durch Ihren eigenen Produzentenladen im Open Food Network. producer_shop_description_text2: Ein Produzentenladen ist nur für Ihre eigenen Produkte bestimmt. Wenn Sie nur oder auch Produkte anderer verkaufen möchten, wählen Sie "Laden". - producer_hub: Produzentenladen + producer_hub: Laden producer_hub_text: Verkaufen Sie eigene Produkte und Produkte anderer producer_hub_description_text: Verkaufen Sie eigene Produkte und Produkte anderer Produzenten oder Läden im Open Food Network. Mit Ihrem Laden sind Sie ein zentraler Bestandteil Ihres lokalen Lebensmittelsystems. profile: Profil @@ -3212,7 +3212,7 @@ de_DE: producer_shop_text2: > Ein Produzentenladen ist nur für Ihre eigenen Produkte bestimmt. Wenn Sie Produkte anderer verkaufen möchten, wählen Sie "Laden". - producer_hub: Produzentenladen + producer_hub: Laden producer_hub_text1: > Verkaufen Sie eigene Produkte und Produkte anderer Produzenten oder Läden im Open Food Network. Mit Ihrem Laden sind Sie ein zentraler Bestandteil @@ -3672,8 +3672,6 @@ de_DE: start_date: "Anfangsdatum" successfully_removed: "Erfolgreich gelöscht" taxonomy_edit: "Kategorien bearbeiten" - taxonomy_tree_error: "Fehler in Struktur der Kategorien" - taxonomy_tree_instruction: "Anleitung zur Struktur der Kategorien" tree: "Struktur" updating: "Aktualisierung" your_order_is_empty_add_product: "Ihre Bestellung ist leer. Suchen Sie oben ein Produkt und fügen Sie es hinzu." diff --git a/config/locales/el.yml b/config/locales/el.yml index 78961a8c1e..db50d2bfee 100644 --- a/config/locales/el.yml +++ b/config/locales/el.yml @@ -3046,8 +3046,6 @@ el: start_date: "Ημερομηνία έναρξης" successfully_removed: "Καταργήθηκε επιτυχώς" taxonomy_edit: "Επεξεργασία ταξινόμησης" - taxonomy_tree_error: "Σφάλμα δέντρου ταξινόμησης" - taxonomy_tree_instruction: "Οδηγίες δέντρων ταξινομίας" tree: "Δέντρο" updating: "Ενημέρωση" your_order_is_empty_add_product: "Η παραγγελία σας είναι κενή, αναζητήστε και προσθέστε ένα προϊόν παραπάνω" diff --git a/config/locales/en_CA.yml b/config/locales/en_CA.yml index 386ae48429..c8dcec70d9 100644 --- a/config/locales/en_CA.yml +++ b/config/locales/en_CA.yml @@ -3715,8 +3715,6 @@ en_CA: start_date: "Start date" successfully_removed: "Successfully Removed" taxonomy_edit: "Taxonomy edit" - taxonomy_tree_error: "Taxonomy tree error" - taxonomy_tree_instruction: "Taxonomy tree instruction" tree: "Tree" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" diff --git a/config/locales/en_FR.yml b/config/locales/en_FR.yml index 7206cfc306..ad7d73d7ee 100644 --- a/config/locales/en_FR.yml +++ b/config/locales/en_FR.yml @@ -3722,8 +3722,6 @@ en_FR: start_date: "Start date" successfully_removed: "Successfully Removed" taxonomy_edit: "Taxonomy edit" - taxonomy_tree_error: "Taxonomy tree error" - taxonomy_tree_instruction: "Taxonomy tree instruction" tree: "Tree" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" diff --git a/config/locales/en_GB.yml b/config/locales/en_GB.yml index 054eb82938..e31aa4113f 100644 --- a/config/locales/en_GB.yml +++ b/config/locales/en_GB.yml @@ -3709,8 +3709,6 @@ en_GB: start_date: "Start date" successfully_removed: "Successfully Removed" taxonomy_edit: "Taxonomy edit" - taxonomy_tree_error: "Taxonomy tree error" - taxonomy_tree_instruction: "Taxonomy tree instruction" tree: "Tree" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" diff --git a/config/locales/en_IE.yml b/config/locales/en_IE.yml index 92b1d59807..10ee295db8 100644 --- a/config/locales/en_IE.yml +++ b/config/locales/en_IE.yml @@ -3656,8 +3656,6 @@ en_IE: start_date: "Start date" successfully_removed: "Successfully Removed" taxonomy_edit: "Taxonomy edit" - taxonomy_tree_error: "Taxonomy tree error" - taxonomy_tree_instruction: "Taxonomy tree instruction" tree: "Tree" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" diff --git a/config/locales/en_US.yml b/config/locales/en_US.yml index e2718b81c2..6eb3f2415f 100644 --- a/config/locales/en_US.yml +++ b/config/locales/en_US.yml @@ -3351,8 +3351,6 @@ en_US: start_date: "Start date" successfully_removed: "Successfully Removed" taxonomy_edit: "Taxonomy edit" - taxonomy_tree_error: "Taxonomy tree error" - taxonomy_tree_instruction: "Taxonomy tree instruction" tree: "Tree" updating: "Updating" your_order_is_empty_add_product: "Your cart is empty, please search for and add a product above" diff --git a/config/locales/es.yml b/config/locales/es.yml index 0bc3c30e4e..0e719aef65 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -3492,8 +3492,6 @@ es: start_date: "Fecha de inicio" successfully_removed: "Eliminado con éxito" taxonomy_edit: "editar taxonomía" - taxonomy_tree_error: "Error del árbol de taxonomía" - taxonomy_tree_instruction: "Instrucción del árbol de taxonomía" tree: "Árbol" updating: "Actualizando" your_order_is_empty_add_product: "Su pedido está vacío, busque y añada un producto arriba" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 6a1f99273d..b61725dbef 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -3779,8 +3779,6 @@ fr: start_date: "Date de début" successfully_removed: "Supprimé avec succès" taxonomy_edit: "Modifier la taxonomie" - taxonomy_tree_error: "Erreur de l'arbre de toxonomie" - taxonomy_tree_instruction: "Consignes pour l'arbre de taxonomie" tree: "Arbre" updating: "Mettre à jour" your_order_is_empty_add_product: "Votre commande est vide, veuillez ajouter des produits" diff --git a/config/locales/fr_BE.yml b/config/locales/fr_BE.yml index 22eeb32b54..0e6201c0ad 100644 --- a/config/locales/fr_BE.yml +++ b/config/locales/fr_BE.yml @@ -712,7 +712,7 @@ fr_BE: none_saved: n'a pu sauvegarder aucun produit :-( line_number: "Ligne %{number} :" encoding_error: "Veuillez vérifier la langage de votre fichier source et l'enregistrer avec un encodage UTF-8" - unexpected_error: "L'import du produit à provoqué une erreur à l'ouverture du fichier: %{error_message}" + unexpected_error: "L'import du produit a provoqué une erreur à l'ouverture du fichier: %{error_message}" malformed_csv: "L'import du produit a rencontré une erreur a l'ouverture du fichier:%{error_message}" index: notice: "Remarque" diff --git a/config/locales/fr_CA.yml b/config/locales/fr_CA.yml index 8cf09ffb8f..675ed397c2 100644 --- a/config/locales/fr_CA.yml +++ b/config/locales/fr_CA.yml @@ -3676,8 +3676,6 @@ fr_CA: start_date: "Date de début" successfully_removed: "Supprimé avec succès" taxonomy_edit: "Modifier la taxonomie" - taxonomy_tree_error: "Erreur de l'arbre de toxonomie" - taxonomy_tree_instruction: "Consignes pour l'arbre de taxonomie" tree: "Arbre" updating: "Mettre à jour" your_order_is_empty_add_product: "Votre commande est vide, veuillez ajouter des produits" diff --git a/config/locales/fr_CH.yml b/config/locales/fr_CH.yml index 28e1ee256d..cfbd2e8d15 100644 --- a/config/locales/fr_CH.yml +++ b/config/locales/fr_CH.yml @@ -3457,8 +3457,6 @@ fr_CH: start_date: "Date de début" successfully_removed: "Supprimé avec succès" taxonomy_edit: "Modifier la taxonomie" - taxonomy_tree_error: "Erreur de l'arbre de toxonomie" - taxonomy_tree_instruction: "Consignes pour l'arbre de taxonomie" tree: "Arbre" updating: "Mettre à jour" your_order_is_empty_add_product: "Votre commande est vide, veuillez ajouter des produits" diff --git a/config/locales/fr_CM.yml b/config/locales/fr_CM.yml index fa8b672a09..9ab4dbc636 100644 --- a/config/locales/fr_CM.yml +++ b/config/locales/fr_CM.yml @@ -3351,8 +3351,6 @@ fr_CM: start_date: "Date de début" successfully_removed: "Supprimé avec succès" taxonomy_edit: "Modifier la taxonomie" - taxonomy_tree_error: "Erreur de l'arbre de toxonomie" - taxonomy_tree_instruction: "Consignes pour l'arbre de taxonomie" tree: "Arbre" updating: "Mettre à jour" your_order_is_empty_add_product: "Votre commande est vide, veuillez ajouter des produits" diff --git a/config/locales/hi.yml b/config/locales/hi.yml index ca846a1cb9..b631db7d5d 100644 --- a/config/locales/hi.yml +++ b/config/locales/hi.yml @@ -3657,8 +3657,6 @@ hi: start_date: "शुरू होने की तिथि" successfully_removed: "सफलतापूर्वक हटाया गया" taxonomy_edit: "टैक्सोनॉमी एडिट करें" - taxonomy_tree_error: "टैक्सोनॉमी ट्री त्रुटि" - taxonomy_tree_instruction: "टैक्सोनॉमी ट्री निर्देश" tree: "ट्री" updating: "अपडेट किया जा रहा है" your_order_is_empty_add_product: "आपका ऑर्डर खाली है, कृपया ऊपर दिए गए उत्पाद को सर्च करें और जोड़ें" diff --git a/config/locales/hu.yml b/config/locales/hu.yml index 17699cbfb5..908a975591 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -3445,8 +3445,6 @@ hu: start_date: "Kezdő dátum" successfully_removed: "Sikeresen eltávolítva" taxonomy_edit: "Termék kategória szerkesztés" - taxonomy_tree_error: "Termék kategória fa hiba" - taxonomy_tree_instruction: "Termék kategória fa" tree: "Fa" updating: "Frissítés" your_order_is_empty_add_product: "Rendelése üres, kérjük keressen és adjon hozzá egy terméket fent" diff --git a/config/locales/it.yml b/config/locales/it.yml index 965a021e85..0edcf16e40 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -3525,8 +3525,6 @@ it: start_date: "Data inizio" successfully_removed: "Rimosso con successo" taxonomy_edit: "Modifica tassonomia" - taxonomy_tree_error: "Errore schema tassonomia" - taxonomy_tree_instruction: "Istruzioni schema tassonomia" tree: "Schema" updating: "In aggiornamento" your_order_is_empty_add_product: "Il tuo ordine è vuoto, cerca e aggiungi un prodotto qui sopra" diff --git a/config/locales/it_CH.yml b/config/locales/it_CH.yml index 3856beaa28..b7af225f06 100644 --- a/config/locales/it_CH.yml +++ b/config/locales/it_CH.yml @@ -3386,8 +3386,6 @@ it_CH: start_date: "Data inizio" successfully_removed: "Rimosso con successo" taxonomy_edit: "Modifica tassonomia" - taxonomy_tree_error: "Errore schema tassonomia" - taxonomy_tree_instruction: "Istruzioni schema tassonomia" tree: "Schema" updating: "In aggiornamento" your_order_is_empty_add_product: "Il tuo ordine è vuoto, cerca e aggiungi un prodotto qui sopra" diff --git a/config/locales/ko.yml b/config/locales/ko.yml index 5342544798..f65830775f 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -3352,8 +3352,6 @@ ko: start_date: "시작 날짜" successfully_removed: "성공적으로 제거됨" taxonomy_edit: "분류법 편집" - taxonomy_tree_error: "분류법 트리 오류" - taxonomy_tree_instruction: "분류법 트리 소개" tree: "트리" updating: "업데이트 중" your_order_is_empty_add_product: "주문이 비어 있습니다. 위의 제품을 검색하여 추가하십시오." diff --git a/config/locales/ml.yml b/config/locales/ml.yml index 9b4f01cd72..25b8b79778 100644 --- a/config/locales/ml.yml +++ b/config/locales/ml.yml @@ -3681,8 +3681,6 @@ ml: start_date: "ആരംഭിക്കുന്ന തീയതി" successfully_removed: "വിജയകരമായി നീക്കം ചെയ്തു" taxonomy_edit: "ടാക്സോണമി എഡിറ്റ്" - taxonomy_tree_error: "ടാക്സോണമി ട്രീ തകരാർ" - taxonomy_tree_instruction: "ടാക്സോണമി ട്രീ നിർദ്ദേശം" tree: "ട്രീ" updating: "അപ്ഡേറ്റ് ചെയ്യുന്നു" your_order_is_empty_add_product: "നിങ്ങളുടെ ഓർഡർ ശൂന്യമാണ്, മുകളിൽ ഒരു ഉൽപ്പന്നം തിരയുകയും ചേർക്കുകയും ചെയ്യുക" diff --git a/config/locales/mr.yml b/config/locales/mr.yml index a8d0b9bc12..7b0f9a914d 100644 --- a/config/locales/mr.yml +++ b/config/locales/mr.yml @@ -3588,8 +3588,6 @@ mr: start_date: "प्रारंभ तारीख" successfully_removed: "यशस्वीरित्या काढले" taxonomy_edit: "वर्गीकरण संपादन" - taxonomy_tree_error: "वर्गीकरण वृक्ष त्रुटी" - taxonomy_tree_instruction: "वर्गीकरण वृक्ष सूचना" tree: "वृक्ष" updating: "अपडेट करत आहे" your_order_is_empty_add_product: "तुमची ऑर्डर रिकामी आहे, कृपया उत्पादन शोधा आणि वर समाविष्ट करा" diff --git a/config/locales/nb.yml b/config/locales/nb.yml index 8d77563952..71464c29e9 100644 --- a/config/locales/nb.yml +++ b/config/locales/nb.yml @@ -3719,8 +3719,6 @@ nb: start_date: "Startdato" successfully_removed: "Fjernet OK" taxonomy_edit: "Rediger kategori" - taxonomy_tree_error: "Feil i kategoritre" - taxonomy_tree_instruction: "Instruksjon for kategoritre" tree: "Tre" updating: "Oppdaterer" your_order_is_empty_add_product: "Bestillingen din er tom, vennligst søk etter og legg til et produkt over" diff --git a/config/locales/pa.yml b/config/locales/pa.yml index a257e79bc2..09c41df658 100644 --- a/config/locales/pa.yml +++ b/config/locales/pa.yml @@ -3551,8 +3551,6 @@ pa: start_date: "ਸ਼ੁਰੂ ਕਰਨ ਦੀ ਮਿਤੀ" successfully_removed: "ਸਫਲਤਾਪੂਰਵਕ ਹਟਾਇਆ ਗਿਆ" taxonomy_edit: "ਟੈਕਸੋਨੌਮੀ ਸੰਪਾਦਨ" - taxonomy_tree_error: "ਟੈਕਸੋਨੌਮੀ ਟ੍ਰੀ ਗਲਤੀ" - taxonomy_tree_instruction: "ਟੈਕਸੋਨੌਮੀ ਟ੍ਰੀ ਹਿਦਾਇਤ" tree: "ਟ੍ਰੀ" updating: "ਅੱਪਡੇਟ ਹੋ ਰਿਹਾ ਹੈ" your_order_is_empty_add_product: "ਤੁਹਾਡਾ ਆਰਡਰ ਖਾਲੀ ਹੈ, ਕਿਰਪਾ ਕਰਕੇ ਉਪਰ ਇੱਕ ਉਤਪਾਦ ਦੀ ਖੋਜ ਕਰੋ ਅਤੇ ਜੋੜੋ" diff --git a/config/locales/pt_BR.yml b/config/locales/pt_BR.yml index 61bad0de0e..8b9f98f256 100644 --- a/config/locales/pt_BR.yml +++ b/config/locales/pt_BR.yml @@ -3243,8 +3243,6 @@ pt_BR: start_date: "Data de início" successfully_removed: "Removido com Sucesso" taxonomy_edit: "Editar Taxonomia" - taxonomy_tree_error: "Erro na árvore taxonômica" - taxonomy_tree_instruction: "Guia para a árvore taxonômica" tree: "Árvore" updating: "Atualizando" your_order_is_empty_add_product: "Seu pedido está vazio, pesquise e adicione um produto acima" diff --git a/config/locales/ru.yml b/config/locales/ru.yml index fd1c94e793..edf74d234e 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -3669,8 +3669,6 @@ ru: start_date: "Дата начала" successfully_removed: "Успешно удалено" taxonomy_edit: "Изменить таксономию" - taxonomy_tree_error: "Ошибка дерева таксономии" - taxonomy_tree_instruction: "Инструкция по дереву таксономии" tree: "Дерево" updating: "Обновление" your_order_is_empty_add_product: "Ваша корзина пуста, пожалуйста, найдите и добавьте товар выше" diff --git a/config/locales/tr.yml b/config/locales/tr.yml index e3e06731f1..c8244a6d9f 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -3241,8 +3241,6 @@ tr: start_date: "Başlangıç tarihi" successfully_removed: "Başarıyla Kaldırıldı" taxonomy_edit: "Kategori düzenleme" - taxonomy_tree_error: "Kategori ağacı hatası" - taxonomy_tree_instruction: "Kategori ağacı talimatı" tree: "Ağaç" updating: "Güncelleniyor" your_order_is_empty_add_product: "Sepetiniz boş, lütfen bir ürün arayın ve ekleyin" diff --git a/config/locales/uk.yml b/config/locales/uk.yml index eb53fb60b7..7b125572e8 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -3467,8 +3467,6 @@ uk: start_date: "Дата початку" successfully_removed: "Успішно видалено" taxonomy_edit: "Редагування таксономії" - taxonomy_tree_error: "Помилка дерева таксономії" - taxonomy_tree_instruction: "Інструкція з таксономічного дерева" tree: "Дерево" updating: "Оновлення" your_order_is_empty_add_product: "Ваше замовлення порожнє, знайдіть і додайте продукт вище" From 7fdf1a110d5eaa2eb0a1a4a26e4d59e9963ebc47 Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Tue, 27 Feb 2024 10:45:57 +0100 Subject: [PATCH 081/374] Fix incorrect results for multiple tax rates in report - total_excl_tax would sum amounts and taxes without knowledge if taxes rates were really applied or not - spec shows use case described in issue 12066 --- .../sales_tax/sales_tax_totals_by_producer.rb | 10 ++- .../sales_tax_totals_by_producer_spec.rb | 63 ++++++++++++++++++- 2 files changed, 70 insertions(+), 3 deletions(-) diff --git a/lib/reporting/reports/sales_tax/sales_tax_totals_by_producer.rb b/lib/reporting/reports/sales_tax/sales_tax_totals_by_producer.rb index 0271b38d59..864ba54956 100644 --- a/lib/reporting/reports/sales_tax/sales_tax_totals_by_producer.rb +++ b/lib/reporting/reports/sales_tax/sales_tax_totals_by_producer.rb @@ -125,8 +125,14 @@ module Reporting end def total_excl_tax(query_result_row) - line_items(query_result_row).sum(&:amount) - - line_items(query_result_row).sum(&:included_tax) + line_items(query_result_row)&.map do |line_item| + if line_item.adjustments.eligible.tax + .where(originator_id: tax_rate_id(query_result_row)).empty? + 0 + else + (line_item.amount - line_item.included_tax) + end + end&.sum end def tax(query_result_row) diff --git a/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb b/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb index 964537a037..c602bb8981 100644 --- a/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb +++ b/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb @@ -3,7 +3,7 @@ require 'system_helper' describe "Sales Tax Totals By Producer" do - # Scenarion 1: added tax + # Scenario 1: added tax # 1 producer # 1 distributor # 1 product that costs 100$ @@ -30,6 +30,7 @@ describe "Sales Tax Totals By Producer" do let!(:state_tax_rate){ create(:tax_rate, zone: state_zone, tax_category:) } let!(:country_tax_rate){ create(:tax_rate, zone: country_zone, tax_category:) } let!(:ship_address){ create(:ship_address) } + let(:another_state){ create(:state, name: 'Another state', country: ship_address.country) } let!(:variant){ create(:variant) } let!(:product){ variant.product } @@ -119,6 +120,66 @@ describe "Sales Tax Totals By Producer" do end end + context 'Order not to be shipped in a state affected by state tax rate' do + # Therefore, do not apply both tax rates here, only country one + before do + ship_address.update!({ state_id: another_state.id }) + order.line_items.create({ variant:, quantity: 1, price: 100 }) + order.update!({ + order_cycle_id: order_cycle.id, + ship_address_id: ship_address.id + }) + + while !order.completed? + break unless order.next! + end + end + + it 'generates the report' do + login_as admin + visit admin_reports_path + click_on 'Sales Tax Totals By Producer' + + run_report + expect(page.find("table.report__table thead tr").text).to have_content(table_header) + + expect(page.find("table.report__table tbody").text).to have_content([ + "Distributor", + "Yes", + "Supplier", + "Yes", + "oc1", + "tax_category", + "State", + "1.5 %", + "0", + "0", + "0" + ].join(" ")) + + expect(page.find("table.report__table tbody").text).to have_content([ + "Distributor", + "Yes", + "Supplier", + "Yes", + "oc1", + "tax_category", + "Country", + "2.5 %", + "100.0", + "2.5", + "102.5" + ].join(" ")) + + expect(page.find("table.report__table tbody").text).to have_content([ + "TOTAL", + "100.0", + "2.5", + "102.5" + ].join(" ")) + end + end + context 'included tax' do before do state_tax_rate.update!({ included_in_price: true }) From 62739c04584d7bb2bdb5bd0eb0aed3847fc6fdec Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Wed, 28 Feb 2024 10:00:31 +0100 Subject: [PATCH 082/374] Requested changes in spec - use of new service instead of manually advancing an order --- .../sales_tax_totals_by_producer_spec.rb | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb b/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb index c602bb8981..f36ccdde08 100644 --- a/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb +++ b/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb @@ -70,9 +70,7 @@ describe "Sales Tax Totals By Producer" do ship_address_id: ship_address.id }) - while !order.completed? - break unless order.next! - end + OrderWorkflow.new(order).complete! end it "generates the report" do @@ -130,9 +128,7 @@ describe "Sales Tax Totals By Producer" do ship_address_id: ship_address.id }) - while !order.completed? - break unless order.next! - end + OrderWorkflow.new(order).complete! end it 'generates the report' do @@ -191,9 +187,7 @@ describe "Sales Tax Totals By Producer" do ship_address_id: ship_address.id }) - while !order.completed? - break unless order.next! - end + OrderWorkflow.new(order).complete! end it "generates the report" do login_as admin @@ -369,9 +363,7 @@ describe "Sales Tax Totals By Producer" do ship_address_id: customer1.bill_address_id, customer_id: customer1.id }) - while !order.completed? - break unless order.next! - end + OrderWorkflow.new(order).complete! order2.line_items.create({ variant:, quantity: 1, price: 200 }) order2.update!({ @@ -379,9 +371,7 @@ describe "Sales Tax Totals By Producer" do ship_address_id: customer2.bill_address_id, customer_id: customer2.id }) - while !order2.completed? - break unless order2.next! - end + OrderWorkflow.new(order2).complete! login_as admin visit admin_reports_path click_on 'Sales Tax Totals By Producer' From 7d99197ddefa4736c1293d0fb19512d034a1df32 Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Thu, 29 Feb 2024 15:01:50 +0100 Subject: [PATCH 083/374] Requested changes: original fix moved up in code - instead of selecting out unapplied tax rates in the total tax method, did it in the query_result instead. Reverted the total_excl_tax method to its initial state. - spec and logic of testing affected also. --- .../sales_tax/sales_tax_totals_by_producer.rb | 14 ++++---------- .../sales_tax_totals_by_producer_spec.rb | 18 ++++-------------- 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/lib/reporting/reports/sales_tax/sales_tax_totals_by_producer.rb b/lib/reporting/reports/sales_tax/sales_tax_totals_by_producer.rb index 864ba54956..a2c00ea082 100644 --- a/lib/reporting/reports/sales_tax/sales_tax_totals_by_producer.rb +++ b/lib/reporting/reports/sales_tax/sales_tax_totals_by_producer.rb @@ -24,9 +24,9 @@ module Reporting # [tax_rate, supplier_id, distributor_id and order_cycle_id] report_line_items.list .flat_map do |line_item| - line_item.tax_rates.map do |tax_rate| + line_item.adjustments.eligible.tax.map do |tax_rate| { - tax_rate_id: tax_rate.id, + tax_rate_id: tax_rate.originator_id, line_item: } end @@ -125,14 +125,8 @@ module Reporting end def total_excl_tax(query_result_row) - line_items(query_result_row)&.map do |line_item| - if line_item.adjustments.eligible.tax - .where(originator_id: tax_rate_id(query_result_row)).empty? - 0 - else - (line_item.amount - line_item.included_tax) - end - end&.sum + line_items(query_result_row).sum(&:amount) - + line_items(query_result_row).sum(&:included_tax) end def tax(query_result_row) diff --git a/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb b/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb index f36ccdde08..b1d319b887 100644 --- a/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb +++ b/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb @@ -139,20 +139,6 @@ describe "Sales Tax Totals By Producer" do run_report expect(page.find("table.report__table thead tr").text).to have_content(table_header) - expect(page.find("table.report__table tbody").text).to have_content([ - "Distributor", - "Yes", - "Supplier", - "Yes", - "oc1", - "tax_category", - "State", - "1.5 %", - "0", - "0", - "0" - ].join(" ")) - expect(page.find("table.report__table tbody").text).to have_content([ "Distributor", "Yes", @@ -173,6 +159,10 @@ describe "Sales Tax Totals By Producer" do "2.5", "102.5" ].join(" ")) + + # Even though 2 tax rates exist (but only one has been applied), we should get only 2 lines: + # one line item + total + expect(page.all("table.report__table tbody tr").count).to eq(2) end end From b53be15fdaf6294d6b17a9414d42cb75d786e2df Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 23:47:51 +0000 Subject: [PATCH 084/374] chore(deps-dev): bump rubocop from 1.60.2 to 1.62.1 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.60.2 to 1.62.1. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.60.2...v1.62.1) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f513efde42..405fda410e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -647,7 +647,7 @@ GEM rswag-ui (2.13.0) actionpack (>= 3.1, < 7.2) railties (>= 3.1, < 7.2) - rubocop (1.60.2) + rubocop (1.62.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -655,10 +655,10 @@ GEM rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.30.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.31.1) + rubocop-ast (1.31.2) parser (>= 3.3.0.4) rubocop-capybara (2.20.0) rubocop (~> 1.41) From a33eb80f56c4fc80c0d38086982019c6b8bb4b69 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Tue, 12 Mar 2024 11:39:20 +1100 Subject: [PATCH 085/374] Fix filtering of sensible data * Hide Stripe Client User Agent header, it contains the hostname of the machine generating the cassettes * Hide client_secret --- .env.test | 3 --- spec/support/vcr_setup.rb | 8 ++++++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.env.test b/.env.test index a2190c418c..535d37a9e0 100644 --- a/.env.test +++ b/.env.test @@ -14,6 +14,3 @@ SITE_URL="test.host" OPENID_APP_ID="test-provider" OPENID_APP_SECRET="12345" - -CLIENT_SECRET =~ /secret.+/ -HOSTNAME =~ /"hostname":".+"/ diff --git a/spec/support/vcr_setup.rb b/spec/support/vcr_setup.rb index 256bdb07cb..01cc2d9033 100644 --- a/spec/support/vcr_setup.rb +++ b/spec/support/vcr_setup.rb @@ -16,9 +16,13 @@ VCR.configure do |config| STRIPE_ACCOUNT STRIPE_CLIENT_ID STRIPE_ENDPOINT_SECRET - CLIENT_SECRET - HOSTNAME ].each do |env_var| config.filter_sensitive_data("") { ENV.fetch(env_var, nil) } end + config.filter_sensitive_data('') { |interaction| + interaction.request.headers['X-Stripe-Client-User-Agent']&.public_send(:[], 0) + } + config.filter_sensitive_data('') { |interaction| + interaction.response.body.match(/"client_secret": "(pi_.+)"/)&.public_send(:[], 1) + } end From 4f77ad40a3f11daa4e8836f7e45543c87a2d1679 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Tue, 12 Mar 2024 11:55:51 +1100 Subject: [PATCH 086/374] Update recording with new filtering --- .../saves_the_card_locally.yml | 77 +++--- .../_credit/refunds_the_payment.yml | 148 +++++------ ...t_intent_state_is_not_requires_capture.yml | 67 +++-- .../_purchase/completes_the_purchase.yml | 142 +++++----- ..._error_message_to_help_developer_debug.yml | 73 +++--- .../refunds_the_payment.yml | 198 +++++++------- .../void_the_payment.yml | 126 ++++----- ...stroys_the_record_and_notifies_Bugsnag.yml | 27 +- .../destroys_the_record.yml | 54 ++-- .../returns_true.yml | 131 +++++----- .../returns_false.yml | 106 ++++---- .../returns_failed_response.yml | 48 ++-- ...tus_with_Stripe_PaymentIntentValidator.yml | 71 +++-- .../returns_nil.yml | 48 ++-- .../clones_the_payment_method_only.yml | 107 ++++---- ...th_the_payment_method_and_the_customer.yml | 246 ++++++++---------- .../raises_an_error.yml | 36 ++- .../deletes_the_credit_card_clone.yml | 71 +++-- ...the_credit_card_clone_and_the_customer.yml | 109 ++++---- ...t_intent_last_payment_error_as_message.yml | 89 +++---- ...t_intent_last_payment_error_as_message.yml | 89 +++---- ...t_intent_last_payment_error_as_message.yml | 89 +++---- ...t_intent_last_payment_error_as_message.yml | 89 +++---- ...t_intent_last_payment_error_as_message.yml | 89 +++---- ...t_intent_last_payment_error_as_message.yml | 89 +++---- ...t_intent_last_payment_error_as_message.yml | 89 +++---- ...t_intent_last_payment_error_as_message.yml | 89 +++---- .../captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../from_Diners_Club/captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../from_Discover/captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../from_JCB/captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../from_Mastercard/captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../from_UnionPay/captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../from_Visa/captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- .../from_Visa_debit_/captures_the_payment.yml | 156 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 77 +++--- ...rd_id_from_the_correct_response_fields.yml | 69 +++-- .../when_request_fails/raises_an_error.yml | 115 ++++---- .../allows_to_refund_the_payment.yml | 192 +++++++------- 60 files changed, 2885 insertions(+), 3583 deletions(-) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml index ac1680b3e6..c71fedb719 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml @@ -16,10 +16,7 @@ http_interactions: Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -32,11 +29,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:47 GMT + - Tue, 12 Mar 2024 00:41:58 GMT Content-Type: - application/json Content-Length: - - '849' + - '850' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -59,11 +56,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8e5748ab-3c58-4b23-8d5b-850352452784 + - fa85648c-254d-4bb1-aef1-675ede847193 Original-Request: - - req_vh9S0ImKQkVeFq + - req_kGMKWF3QnaSZ2J Request-Id: - - req_vh9S0ImKQkVeFq + - req_kGMKWF3QnaSZ2J Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,10 +75,10 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "tok_1OriCcKuuB1fWySnZn4gRVb9", + "id": "tok_1OtJPmKuuB1fWySn86nyAha9", "object": "token", "card": { - "id": "card_1OriCcKuuB1fWySn46sgc3Iy", + "id": "card_1OtJPmKuuB1fWySnMwt9bUev", "object": "card", "address_city": null, "address_country": null, @@ -108,19 +105,19 @@ http_interactions: "tokenization_method": null, "wallet": null }, - "client_ip": "176.79.242.165", - "created": 1709822746, + "client_ip": "124.188.129.192", + "created": 1710204118, "livemode": false, "type": "card", "used": false } - recorded_at: Thu, 07 Mar 2024 14:45:47 GMT + recorded_at: Tue, 12 Mar 2024 00:41:58 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: email=lesley_torp%40damore.us&source=tok_1OriCcKuuB1fWySnZn4gRVb9 + string: email=evan%40farrell.com&source=tok_1OtJPmKuuB1fWySn86nyAha9 headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -129,14 +126,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vh9S0ImKQkVeFq","request_duration_ms":690}}' + - '{"last_request_metrics":{"request_id":"req_kGMKWF3QnaSZ2J","request_duration_ms":559}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -149,11 +143,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:48 GMT + - Tue, 12 Mar 2024 00:41:59 GMT Content-Type: - application/json Content-Length: - - '660' + - '655' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -176,11 +170,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e115fea7-6b73-4f24-8e5e-a8be5bb38000 + - a40c2507-9c3a-400e-ac2e-18728ecefa67 Original-Request: - - req_mhJmCq4VhPMPxf + - req_TbrtE7Sb3xxEgI Request-Id: - - req_mhJmCq4VhPMPxf + - req_TbrtE7Sb3xxEgI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -195,18 +189,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6PPd7ZUMcVe0", + "id": "cus_PikvyOJAAyJOVc", "object": "customer", "address": null, "balance": 0, - "created": 1709822747, + "created": 1710204119, "currency": null, - "default_source": "card_1OriCcKuuB1fWySn46sgc3Iy", + "default_source": "card_1OtJPmKuuB1fWySnMwt9bUev", "delinquent": false, "description": null, "discount": null, - "email": "lesley_torp@damore.us", - "invoice_prefix": "4AA02C1F", + "email": "evan@farrell.com", + "invoice_prefix": "D8AE504D", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -223,10 +217,10 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:45:48 GMT + recorded_at: Tue, 12 Mar 2024 00:41:59 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_Ph6PPd7ZUMcVe0/sources?limit=1&object=card + uri: https://api.stripe.com/v1/customers/cus_PikvyOJAAyJOVc/sources?limit=1&object=card body: encoding: US-ASCII string: '' @@ -238,14 +232,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mhJmCq4VhPMPxf","request_duration_ms":1001}}' + - '{"last_request_metrics":{"request_id":"req_TbrtE7Sb3xxEgI","request_duration_ms":887}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -258,7 +249,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:48 GMT + - Tue, 12 Mar 2024 00:42:00 GMT Content-Type: - application/json Content-Length: @@ -286,7 +277,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_pKEIlsFmzmlbhI + - req_MdZ2Zf3SKYoZ4w Stripe-Version: - '2023-10-16' Vary: @@ -302,7 +293,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1OriCcKuuB1fWySn46sgc3Iy", + "id": "card_1OtJPmKuuB1fWySnMwt9bUev", "object": "card", "address_city": null, "address_country": null, @@ -314,7 +305,7 @@ http_interactions: "address_zip_check": null, "brand": "Visa", "country": "US", - "customer": "cus_Ph6PPd7ZUMcVe0", + "customer": "cus_PikvyOJAAyJOVc", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 9, @@ -329,7 +320,7 @@ http_interactions: } ], "has_more": false, - "url": "/v1/customers/cus_Ph6PPd7ZUMcVe0/sources" + "url": "/v1/customers/cus_PikvyOJAAyJOVc/sources" } - recorded_at: Thu, 07 Mar 2024 14:45:48 GMT + recorded_at: Tue, 12 Mar 2024 00:42:00 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml index 2937096c68..674eaea0f2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NDQSpcnixgOEbh","request_duration_ms":399}}' + - '{"last_request_metrics":{"request_id":"req_wAIvcVuEszJDN4","request_duration_ms":393}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:30 GMT + - Tue, 12 Mar 2024 00:44:20 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2fb09e3f-1fe3-45f0-8b1d-93a3aa7a5fb2 + - '09aa852c-fff3-4041-b45b-92d05d11e6cc' Original-Request: - - req_NM4qRNiaJ6ZVCs + - req_NS8jzc1JePHrLw Request-Id: - - req_NM4qRNiaJ6ZVCs + - req_NS8jzc1JePHrLw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OriFEQNVFKfuhBy", + "id": "acct_1OtJS233iCaYDwD0", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +99,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822909, + "created": 1710204259, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -111,7 +108,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OriFEQNVFKfuhBy/external_accounts" + "url": "/v1/accounts/acct_1OtJS233iCaYDwD0/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,7 +205,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:48:30 GMT + recorded_at: Tue, 12 Mar 2024 00:44:20 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -223,16 +220,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NM4qRNiaJ6ZVCs","request_duration_ms":1676}}' + - '{"last_request_metrics":{"request_id":"req_NS8jzc1JePHrLw","request_duration_ms":1836}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriFEQNVFKfuhBy + - acct_1OtJS233iCaYDwD0 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -245,7 +239,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:31 GMT + - Tue, 12 Mar 2024 00:44:21 GMT Content-Type: - application/json Content-Length: @@ -272,13 +266,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b152c8d5-1f29-4449-866f-14ceb5fad47d + - 4d3abf70-2c12-4593-9aa5-f5cc79e5907f Original-Request: - - req_lUGZB09LhkgrEs + - req_4vHV3LZobKwl5n Request-Id: - - req_lUGZB09LhkgrEs + - req_4vHV3LZobKwl5n Stripe-Account: - - acct_1OriFEQNVFKfuhBy + - acct_1OtJS233iCaYDwD0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -293,7 +287,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFGQNVFKfuhBy1qMkBfGm", + "id": "pi_3OtJS433iCaYDwD017pmce3a", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -307,20 +301,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3OriFGQNVFKfuhBy1qMkBfGm_secret_Ks6PkDFoqtheNjqJyBSMq2S8L", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822910, + "created": 1710204260, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriFGQNVFKfuhBy1WRjS43P", + "latest_charge": "ch_3OtJS433iCaYDwD01dnX6QIw", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFGQNVFKfuhByxonXl3jD", + "payment_method": "pm_1OtJS433iCaYDwD03EOob79L", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -345,10 +339,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:31 GMT + recorded_at: Tue, 12 Mar 2024 00:44:21 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriFGQNVFKfuhBy1qMkBfGm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJS433iCaYDwD017pmce3a body: encoding: US-ASCII string: '' @@ -360,11 +354,11 @@ http_interactions: Stripe-Version: - '2020-08-27' X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.133.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","publisher":"active_merchant"}' + - "" X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OriFEQNVFKfuhBy + - acct_1OtJS233iCaYDwD0 Connection: - close Accept-Encoding: @@ -379,7 +373,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:32 GMT + - Tue, 12 Mar 2024 00:44:22 GMT Content-Type: - application/json Content-Length: @@ -407,9 +401,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_qmga28jHFdjfSe + - req_L7rjZImJsMAVT0 Stripe-Account: - - acct_1OriFEQNVFKfuhBy + - acct_1OtJS233iCaYDwD0 Stripe-Version: - '2020-08-27' Vary: @@ -422,7 +416,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFGQNVFKfuhBy1qMkBfGm", + "id": "pi_3OtJS433iCaYDwD017pmce3a", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -440,7 +434,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OriFGQNVFKfuhBy1WRjS43P", + "id": "ch_3OtJS433iCaYDwD01dnX6QIw", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -448,7 +442,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OriFGQNVFKfuhBy1rTroyNc", + "balance_transaction": "txn_3OtJS433iCaYDwD01tXyUhxj", "billing_details": { "address": { "city": null, @@ -464,7 +458,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822911, + "created": 1710204261, "currency": "aud", "customer": null, "description": null, @@ -484,13 +478,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 14, + "risk_score": 34, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OriFGQNVFKfuhBy1qMkBfGm", - "payment_method": "pm_1OriFGQNVFKfuhByxonXl3jD", + "payment_intent": "pi_3OtJS433iCaYDwD017pmce3a", + "payment_method": "pm_1OtJS433iCaYDwD03EOob79L", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -533,14 +527,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpRkVRTlZGS2Z1aEJ5KMCnp68GMgYu5ZGmY606LBbY9URk3rM2WdxIs8OIdlpVmhbTksny6olrthqlgprS7K-nDHu7qQb0ZCWy", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3RKUzIzM2lDYVlEd0QwKObKvq8GMgaJHqqMNvk6LBbqCt9LWezrOnaDRRmnXGBcDja2trSN0RHt6HJAchSX2BkS1b8n84VxPdz2", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OriFGQNVFKfuhBy1WRjS43P/refunds" + "url": "/v1/charges/ch_3OtJS433iCaYDwD01dnX6QIw/refunds" }, "review": null, "shipping": null, @@ -555,22 +549,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OriFGQNVFKfuhBy1qMkBfGm" + "url": "/v1/charges?payment_intent=pi_3OtJS433iCaYDwD017pmce3a" }, - "client_secret": "pi_3OriFGQNVFKfuhBy1qMkBfGm_secret_Ks6PkDFoqtheNjqJyBSMq2S8L", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822910, + "created": 1710204260, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriFGQNVFKfuhBy1WRjS43P", + "latest_charge": "ch_3OtJS433iCaYDwD01dnX6QIw", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFGQNVFKfuhByxonXl3jD", + "payment_method": "pm_1OtJS433iCaYDwD03EOob79L", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -595,10 +589,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:32 GMT + recorded_at: Tue, 12 Mar 2024 00:44:22 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3OriFGQNVFKfuhBy1WRjS43P/refunds + uri: https://api.stripe.com/v1/charges/ch_3OtJS433iCaYDwD01dnX6QIw/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -612,11 +606,11 @@ http_interactions: Stripe-Version: - '2020-08-27' X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.133.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","publisher":"active_merchant"}' + - "" X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OriFEQNVFKfuhBy + - acct_1OtJS233iCaYDwD0 Connection: - close Accept-Encoding: @@ -631,7 +625,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:34 GMT + - Tue, 12 Mar 2024 00:44:23 GMT Content-Type: - application/json Content-Length: @@ -659,13 +653,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 774b9aa5-8e9f-4649-9cad-b84d7198ec8e + - 340e2383-fab1-4928-b57e-f0c249ca813e Original-Request: - - req_Ipx15KhKYZrRKh + - req_iJudarmwjMf0Z0 Request-Id: - - req_Ipx15KhKYZrRKh + - req_iJudarmwjMf0Z0 Stripe-Account: - - acct_1OriFEQNVFKfuhBy + - acct_1OtJS233iCaYDwD0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -680,12 +674,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3OriFGQNVFKfuhBy16SnNV7P", + "id": "re_3OtJS433iCaYDwD01iGi2Ql5", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OriFGQNVFKfuhBy1B68QVSk", + "balance_transaction": "txn_3OtJS433iCaYDwD01PhdhWG0", "charge": { - "id": "ch_3OriFGQNVFKfuhBy1WRjS43P", + "id": "ch_3OtJS433iCaYDwD01dnX6QIw", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -693,7 +687,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OriFGQNVFKfuhBy1rTroyNc", + "balance_transaction": "txn_3OtJS433iCaYDwD01tXyUhxj", "billing_details": { "address": { "city": null, @@ -709,7 +703,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822911, + "created": 1710204261, "currency": "aud", "customer": null, "description": null, @@ -729,13 +723,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 14, + "risk_score": 34, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OriFGQNVFKfuhBy1qMkBfGm", - "payment_method": "pm_1OriFGQNVFKfuhByxonXl3jD", + "payment_intent": "pi_3OtJS433iCaYDwD017pmce3a", + "payment_method": "pm_1OtJS433iCaYDwD03EOob79L", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -778,18 +772,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpRkVRTlZGS2Z1aEJ5KMGnp68GMgZH24pJms46LBYja4DfpVuRSbWLd7x88BzoU5GD-H4dIupVBSEsKwT79_IxEjGnUwgfchf7", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3RKUzIzM2lDYVlEd0QwKOfKvq8GMgbhvtAbosc6LBYOOfL0szaPwmESXr44hw18z3TBhY7q3S6FnxxOC2YtsGJOI8fex3IcuKgM", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3OriFGQNVFKfuhBy16SnNV7P", + "id": "re_3OtJS433iCaYDwD01iGi2Ql5", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OriFGQNVFKfuhBy1B68QVSk", - "charge": "ch_3OriFGQNVFKfuhBy1WRjS43P", - "created": 1709822913, + "balance_transaction": "txn_3OtJS433iCaYDwD01PhdhWG0", + "charge": "ch_3OtJS433iCaYDwD01dnX6QIw", + "created": 1710204262, "currency": "aud", "destination_details": { "card": { @@ -800,7 +794,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OriFGQNVFKfuhBy1qMkBfGm", + "payment_intent": "pi_3OtJS433iCaYDwD017pmce3a", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -810,7 +804,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3OriFGQNVFKfuhBy1WRjS43P/refunds" + "url": "/v1/charges/ch_3OtJS433iCaYDwD01dnX6QIw/refunds" }, "review": null, "shipping": null, @@ -822,7 +816,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1709822913, + "created": 1710204262, "currency": "aud", "destination_details": { "card": { @@ -833,12 +827,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OriFGQNVFKfuhBy1qMkBfGm", + "payment_intent": "pi_3OtJS433iCaYDwD017pmce3a", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 07 Mar 2024 14:48:34 GMT + recorded_at: Tue, 12 Mar 2024 00:44:23 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml index 25101af665..9e58d55843 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lUGZB09LhkgrEs","request_duration_ms":1457}}' + - '{"last_request_metrics":{"request_id":"req_4vHV3LZobKwl5n","request_duration_ms":1491}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:36 GMT + - Tue, 12 Mar 2024 00:44:24 GMT Content-Type: - application/json Content-Length: @@ -62,7 +59,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_1UvhRLUXM9PFCj + - req_cUuUgS8NVMnKdh Stripe-Version: - '2023-10-16' Vary: @@ -75,7 +72,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriFLKuuB1fWySnP0miEyw8", + "id": "pm_1OtJS8KuuB1fWySnmmlaCdez", "object": "payment_method", "billing_details": { "address": { @@ -116,19 +113,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822915, + "created": 1710204264, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:36 GMT + recorded_at: Tue, 12 Mar 2024 00:44:24 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OriFLKuuB1fWySnP0miEyw8&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1OtJS8KuuB1fWySnmmlaCdez&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -137,14 +134,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1UvhRLUXM9PFCj","request_duration_ms":430}}' + - '{"last_request_metrics":{"request_id":"req_cUuUgS8NVMnKdh","request_duration_ms":360}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -157,7 +151,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:36 GMT + - Tue, 12 Mar 2024 00:44:24 GMT Content-Type: - application/json Content-Length: @@ -184,11 +178,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f7ae4c6e-041b-4e7c-afe1-48b707857158 + - cd8321d6-4c79-411e-a665-fb64bc62add1 Original-Request: - - req_4b4mNQCY1hiI4K + - req_atNZP9tsSeLiUV Request-Id: - - req_4b4mNQCY1hiI4K + - req_atNZP9tsSeLiUV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -203,7 +197,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFMKuuB1fWySn1zihDsCl", + "id": "pi_3OtJS8KuuB1fWySn24nxM8gf", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -217,9 +211,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFMKuuB1fWySn1zihDsCl_secret_jyv9Mu4l5tgpLgjK6YF0yvEPk", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822916, + "created": 1710204264, "currency": "aud", "customer": null, "description": null, @@ -230,7 +224,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFLKuuB1fWySnP0miEyw8", + "payment_method": "pm_1OtJS8KuuB1fWySnmmlaCdez", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -255,10 +249,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:36 GMT + recorded_at: Tue, 12 Mar 2024 00:44:25 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriFMKuuB1fWySn1zihDsCl + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJS8KuuB1fWySn24nxM8gf body: encoding: US-ASCII string: '' @@ -270,14 +264,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4b4mNQCY1hiI4K","request_duration_ms":504}}' + - '{"last_request_metrics":{"request_id":"req_atNZP9tsSeLiUV","request_duration_ms":433}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -290,7 +281,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:36 GMT + - Tue, 12 Mar 2024 00:44:25 GMT Content-Type: - application/json Content-Length: @@ -318,7 +309,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_OW0XdLkNysDyJ4 + - req_zvZ5rcMjbH8Xnt Stripe-Version: - '2023-10-16' Vary: @@ -331,7 +322,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFMKuuB1fWySn1zihDsCl", + "id": "pi_3OtJS8KuuB1fWySn24nxM8gf", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -345,9 +336,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFMKuuB1fWySn1zihDsCl_secret_jyv9Mu4l5tgpLgjK6YF0yvEPk", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822916, + "created": 1710204264, "currency": "aud", "customer": null, "description": null, @@ -358,7 +349,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFLKuuB1fWySnP0miEyw8", + "payment_method": "pm_1OtJS8KuuB1fWySnmmlaCdez", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -383,5 +374,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:36 GMT + recorded_at: Tue, 12 Mar 2024 00:44:25 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml index 389f87ef48..c3a056c219 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5nLjo9cll0MY0O","request_duration_ms":819}}' + - '{"last_request_metrics":{"request_id":"req_bFrhUrgeXiLTFa","request_duration_ms":679}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:04 GMT + - Tue, 12 Mar 2024 00:44:01 GMT Content-Type: - application/json Content-Length: @@ -62,7 +59,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_kqHYuTuaM4E2Ja + - req_NOUqDFgm7TXCFN Stripe-Version: - '2023-10-16' Vary: @@ -75,7 +72,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEqKuuB1fWySnE4Gd2Y4Q", + "id": "pm_1OtJRlKuuB1fWySn5qLXc128", "object": "payment_method", "billing_details": { "address": { @@ -116,19 +113,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822884, + "created": 1710204241, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:04 GMT + recorded_at: Tue, 12 Mar 2024 00:44:01 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OriEqKuuB1fWySnE4Gd2Y4Q&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1OtJRlKuuB1fWySn5qLXc128&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -137,14 +134,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kqHYuTuaM4E2Ja","request_duration_ms":429}}' + - '{"last_request_metrics":{"request_id":"req_NOUqDFgm7TXCFN","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -157,7 +151,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:05 GMT + - Tue, 12 Mar 2024 00:44:02 GMT Content-Type: - application/json Content-Length: @@ -184,11 +178,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 75ba1998-6300-4cb7-844d-a7f3dd7ed792 + - cd6ab652-235c-4285-abf5-315176451b9b Original-Request: - - req_Gyf0nV90DLN8Vz + - req_HV5WyYbGfVJMRB Request-Id: - - req_Gyf0nV90DLN8Vz + - req_HV5WyYbGfVJMRB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -203,7 +197,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEqKuuB1fWySn064Rfosn", + "id": "pi_3OtJRmKuuB1fWySn0hdj0aTx", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -217,9 +211,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEqKuuB1fWySn064Rfosn_secret_5CBqWQ6iHaoMniSNa1Ock25Jl", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822884, + "created": 1710204242, "currency": "aud", "customer": null, "description": null, @@ -230,7 +224,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEqKuuB1fWySnE4Gd2Y4Q", + "payment_method": "pm_1OtJRlKuuB1fWySn5qLXc128", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -255,10 +249,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:05 GMT + recorded_at: Tue, 12 Mar 2024 00:44:02 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEqKuuB1fWySn064Rfosn/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRmKuuB1fWySn0hdj0aTx/confirm body: encoding: US-ASCII string: '' @@ -270,14 +264,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Gyf0nV90DLN8Vz","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_HV5WyYbGfVJMRB","request_duration_ms":420}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -290,7 +281,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:06 GMT + - Tue, 12 Mar 2024 00:44:03 GMT Content-Type: - application/json Content-Length: @@ -318,11 +309,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a60f0a79-9885-40f8-a4c1-ff9d087b732f + - fecb26c1-cbdb-40ee-b5ef-394ec2976351 Original-Request: - - req_M2J2E6xt8gOOXZ + - req_Uz6bvR58qwiJUD Request-Id: - - req_M2J2E6xt8gOOXZ + - req_Uz6bvR58qwiJUD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,7 +328,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEqKuuB1fWySn064Rfosn", + "id": "pi_3OtJRmKuuB1fWySn0hdj0aTx", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -351,20 +342,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEqKuuB1fWySn064Rfosn_secret_5CBqWQ6iHaoMniSNa1Ock25Jl", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822884, + "created": 1710204242, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEqKuuB1fWySn0zhjpuQb", + "latest_charge": "ch_3OtJRmKuuB1fWySn0OqIywia", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEqKuuB1fWySnE4Gd2Y4Q", + "payment_method": "pm_1OtJRlKuuB1fWySn5qLXc128", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -389,10 +380,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:06 GMT + recorded_at: Tue, 12 Mar 2024 00:44:03 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEqKuuB1fWySn064Rfosn + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRmKuuB1fWySn0hdj0aTx body: encoding: US-ASCII string: '' @@ -404,14 +395,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_M2J2E6xt8gOOXZ","request_duration_ms":1017}}' + - '{"last_request_metrics":{"request_id":"req_Uz6bvR58qwiJUD","request_duration_ms":1100}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -424,7 +412,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:09 GMT + - Tue, 12 Mar 2024 00:44:04 GMT Content-Type: - application/json Content-Length: @@ -452,7 +440,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_baQxNsOvlAwyll + - req_RCRdEbwVFqPy3N Stripe-Version: - '2023-10-16' Vary: @@ -465,7 +453,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEqKuuB1fWySn064Rfosn", + "id": "pi_3OtJRmKuuB1fWySn0hdj0aTx", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -479,20 +467,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEqKuuB1fWySn064Rfosn_secret_5CBqWQ6iHaoMniSNa1Ock25Jl", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822884, + "created": 1710204242, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEqKuuB1fWySn0zhjpuQb", + "latest_charge": "ch_3OtJRmKuuB1fWySn0OqIywia", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEqKuuB1fWySnE4Gd2Y4Q", + "payment_method": "pm_1OtJRlKuuB1fWySn5qLXc128", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -517,10 +505,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:09 GMT + recorded_at: Tue, 12 Mar 2024 00:44:04 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEqKuuB1fWySn064Rfosn/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRmKuuB1fWySn0hdj0aTx/capture body: encoding: UTF-8 string: amount_to_capture=1000 @@ -534,7 +522,7 @@ http_interactions: Stripe-Version: - '2020-08-27' X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.133.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","publisher":"active_merchant"}' + - "" X-Stripe-Client-User-Metadata: - '{"ip":null}' Connection: @@ -551,7 +539,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:11 GMT + - Tue, 12 Mar 2024 00:44:05 GMT Content-Type: - application/json Content-Length: @@ -579,11 +567,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 73a7d450-0dc1-41ae-ae13-06bc695bccef + - 3d88642f-9e6c-4907-b9da-d45ce5a9089c Original-Request: - - req_0GqHQ1aV9MD6g7 + - req_KH5Y4N20Jqjwy7 Request-Id: - - req_0GqHQ1aV9MD6g7 + - req_KH5Y4N20Jqjwy7 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -598,7 +586,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEqKuuB1fWySn064Rfosn", + "id": "pi_3OtJRmKuuB1fWySn0hdj0aTx", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -616,7 +604,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OriEqKuuB1fWySn0zhjpuQb", + "id": "ch_3OtJRmKuuB1fWySn0OqIywia", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -625,7 +613,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OriEqKuuB1fWySn0Le8XZWz", + "balance_transaction": "txn_3OtJRmKuuB1fWySn0WCpOVpj", "billing_details": { "address": { "city": null, @@ -641,7 +629,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822885, + "created": 1710204242, "currency": "aud", "customer": null, "description": null, @@ -661,18 +649,18 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 61, + "risk_score": 41, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OriEqKuuB1fWySn064Rfosn", - "payment_method": "pm_1OriEqKuuB1fWySnE4Gd2Y4Q", + "payment_intent": "pi_3OtJRmKuuB1fWySn0hdj0aTx", + "payment_method": "pm_1OtJRlKuuB1fWySn5qLXc128", "payment_method_details": { "card": { "amount_authorized": 1000, "brand": "mastercard", - "capture_before": 1710427685, + "capture_before": 1710809042, "checks": { "address_line1_check": null, "address_postal_code_check": null, @@ -711,14 +699,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKKqnp68GMgYF2ikq0GU6LBb65tFjlTGIfouAS2FfyGhTyCYL4hfPRGjufG_cBO0Zu-y1BvyKrKhyyObU", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKNXKvq8GMgY_QpG0TZs6LBZ4U5V40MMFzQCl_N_x6-bolNyhYzDCYRC33UkPoPgBuyDIQRmrdnE5unrU", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OriEqKuuB1fWySn0zhjpuQb/refunds" + "url": "/v1/charges/ch_3OtJRmKuuB1fWySn0OqIywia/refunds" }, "review": null, "shipping": null, @@ -733,22 +721,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OriEqKuuB1fWySn064Rfosn" + "url": "/v1/charges?payment_intent=pi_3OtJRmKuuB1fWySn0hdj0aTx" }, - "client_secret": "pi_3OriEqKuuB1fWySn064Rfosn_secret_5CBqWQ6iHaoMniSNa1Ock25Jl", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822884, + "created": 1710204242, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEqKuuB1fWySn0zhjpuQb", + "latest_charge": "ch_3OtJRmKuuB1fWySn0OqIywia", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEqKuuB1fWySnE4Gd2Y4Q", + "payment_method": "pm_1OtJRlKuuB1fWySn5qLXc128", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -773,5 +761,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:11 GMT + recorded_at: Tue, 12 Mar 2024 00:44:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml index cd15d4eeb2..74ba0c5b20 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_baQxNsOvlAwyll","request_duration_ms":353}}' + - '{"last_request_metrics":{"request_id":"req_RCRdEbwVFqPy3N","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:11 GMT + - Tue, 12 Mar 2024 00:44:05 GMT Content-Type: - application/json Content-Length: @@ -62,7 +59,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_lFcr7Fsq5TB9v6 + - req_Gu7WuKpiPtel3n Stripe-Version: - '2023-10-16' Vary: @@ -75,7 +72,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriExKuuB1fWySn07MmoHh2", + "id": "pm_1OtJRpKuuB1fWySnU6g61paT", "object": "payment_method", "billing_details": { "address": { @@ -116,19 +113,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822891, + "created": 1710204245, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:11 GMT + recorded_at: Tue, 12 Mar 2024 00:44:06 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OriExKuuB1fWySn07MmoHh2&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1OtJRpKuuB1fWySnU6g61paT&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -137,14 +134,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lFcr7Fsq5TB9v6","request_duration_ms":471}}' + - '{"last_request_metrics":{"request_id":"req_Gu7WuKpiPtel3n","request_duration_ms":396}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -157,7 +151,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:11 GMT + - Tue, 12 Mar 2024 00:44:06 GMT Content-Type: - application/json Content-Length: @@ -184,11 +178,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 393afe96-9545-47d2-b57d-4d8b251c2ffa + - c4e40cd5-8b06-4a2b-beca-2221e35d0cbf Original-Request: - - req_DKNRphD7KORTL0 + - req_KGrsVBjPkr5moz Request-Id: - - req_DKNRphD7KORTL0 + - req_KGrsVBjPkr5moz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -203,7 +197,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriExKuuB1fWySn262OHO3p", + "id": "pi_3OtJRqKuuB1fWySn1C23Kl1L", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -217,9 +211,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriExKuuB1fWySn262OHO3p_secret_ZrX2sPZxRScbj4dfvCmreGzl6", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822891, + "created": 1710204246, "currency": "aud", "customer": null, "description": null, @@ -230,7 +224,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriExKuuB1fWySn07MmoHh2", + "payment_method": "pm_1OtJRpKuuB1fWySnU6g61paT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -255,10 +249,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:12 GMT + recorded_at: Tue, 12 Mar 2024 00:44:06 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriExKuuB1fWySn262OHO3p/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRqKuuB1fWySn1C23Kl1L/confirm body: encoding: US-ASCII string: '' @@ -270,14 +264,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DKNRphD7KORTL0","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_KGrsVBjPkr5moz","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -290,7 +281,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:13 GMT + - Tue, 12 Mar 2024 00:44:07 GMT Content-Type: - application/json Content-Length: @@ -318,11 +309,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 793774e8-60d9-420c-9178-be81d7960e96 + - a0869715-84b1-4b45-abf4-a8f3246c6bf3 Original-Request: - - req_S3BMWLW4RcvXVp + - req_L1EL5DY2BFz9pM Request-Id: - - req_S3BMWLW4RcvXVp + - req_L1EL5DY2BFz9pM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -337,7 +328,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriExKuuB1fWySn262OHO3p", + "id": "pi_3OtJRqKuuB1fWySn1C23Kl1L", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -351,20 +342,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriExKuuB1fWySn262OHO3p_secret_ZrX2sPZxRScbj4dfvCmreGzl6", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822891, + "created": 1710204246, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriExKuuB1fWySn2z5rzT4R", + "latest_charge": "ch_3OtJRqKuuB1fWySn1aHIVfC5", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriExKuuB1fWySn07MmoHh2", + "payment_method": "pm_1OtJRpKuuB1fWySnU6g61paT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -389,5 +380,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:13 GMT + recorded_at: Tue, 12 Mar 2024 00:44:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml index bbc12b3789..0e7d568067 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_S3BMWLW4RcvXVp","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_L1EL5DY2BFz9pM","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:16 GMT + - Tue, 12 Mar 2024 00:44:09 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5e83065f-e6cb-439e-8e4c-2d420e6cf19e + - cf189941-b86d-4e31-bcd7-00fe97d4d1bc Original-Request: - - req_pLPW8LemVzX8dU + - req_SW97588iNyni05 Request-Id: - - req_pLPW8LemVzX8dU + - req_SW97588iNyni05 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OriF1QQ3mkvuRYb", + "id": "acct_1OtJRsQPAGzeTwgW", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +99,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822896, + "created": 1710204249, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -111,7 +108,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OriF1QQ3mkvuRYb/external_accounts" + "url": "/v1/accounts/acct_1OtJRsQPAGzeTwgW/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,7 +205,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:48:16 GMT + recorded_at: Tue, 12 Mar 2024 00:44:09 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -223,14 +220,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pLPW8LemVzX8dU","request_duration_ms":1990}}' + - '{"last_request_metrics":{"request_id":"req_SW97588iNyni05","request_duration_ms":1802}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -243,7 +237,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:18 GMT + - Tue, 12 Mar 2024 00:44:10 GMT Content-Type: - application/json Content-Length: @@ -271,7 +265,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_Mn2fNuHAyfEJBV + - req_0YWwDjbFM6bOhj Stripe-Version: - '2023-10-16' Vary: @@ -284,7 +278,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriF4KuuB1fWySnHtrUYQMM", + "id": "pm_1OtJRuKuuB1fWySnzbIXFqEd", "object": "payment_method", "billing_details": { "address": { @@ -325,13 +319,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822898, + "created": 1710204250, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:19 GMT + recorded_at: Tue, 12 Mar 2024 00:44:10 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -346,16 +340,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Mn2fNuHAyfEJBV","request_duration_ms":468}}' + - '{"last_request_metrics":{"request_id":"req_0YWwDjbFM6bOhj","request_duration_ms":465}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriF1QQ3mkvuRYb + - acct_1OtJRsQPAGzeTwgW Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -368,7 +359,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:20 GMT + - Tue, 12 Mar 2024 00:44:12 GMT Content-Type: - application/json Content-Length: @@ -395,13 +386,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ca4428d4-5508-472d-9d42-bf2cdfe54e52 + - 66e995a2-e581-4b88-8296-863f2975658f Original-Request: - - req_CwHZ91RxIJuQMP + - req_188mafzjaFTxXw Request-Id: - - req_CwHZ91RxIJuQMP + - req_188mafzjaFTxXw Stripe-Account: - - acct_1OriF1QQ3mkvuRYb + - acct_1OtJRsQPAGzeTwgW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -416,7 +407,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriF5QQ3mkvuRYb10lOohU6", + "id": "pi_3OtJRvQPAGzeTwgW128JpRLv", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -430,20 +421,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3OriF5QQ3mkvuRYb10lOohU6_secret_PgxhwHgWCirzsTFxS0TuU1U10", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822899, + "created": 1710204251, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriF5QQ3mkvuRYb11Qk2ba1", + "latest_charge": "ch_3OtJRvQPAGzeTwgW19mLvSZR", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriF5QQ3mkvuRYbvsFcYj1t", + "payment_method": "pm_1OtJRvQPAGzeTwgWFT01Qz8M", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -468,10 +459,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:20 GMT + recorded_at: Tue, 12 Mar 2024 00:44:12 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriF5QQ3mkvuRYb10lOohU6 + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRvQPAGzeTwgW128JpRLv body: encoding: US-ASCII string: '' @@ -483,16 +474,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CwHZ91RxIJuQMP","request_duration_ms":1425}}' + - '{"last_request_metrics":{"request_id":"req_188mafzjaFTxXw","request_duration_ms":1430}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriF1QQ3mkvuRYb + - acct_1OtJRsQPAGzeTwgW Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +493,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:20 GMT + - Tue, 12 Mar 2024 00:44:12 GMT Content-Type: - application/json Content-Length: @@ -533,9 +521,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_hBucB4DUy7B8vk + - req_iPuNEy0dT770A0 Stripe-Account: - - acct_1OriF1QQ3mkvuRYb + - acct_1OtJRsQPAGzeTwgW Stripe-Version: - '2023-10-16' Vary: @@ -548,7 +536,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriF5QQ3mkvuRYb10lOohU6", + "id": "pi_3OtJRvQPAGzeTwgW128JpRLv", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -562,20 +550,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3OriF5QQ3mkvuRYb10lOohU6_secret_PgxhwHgWCirzsTFxS0TuU1U10", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822899, + "created": 1710204251, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriF5QQ3mkvuRYb11Qk2ba1", + "latest_charge": "ch_3OtJRvQPAGzeTwgW19mLvSZR", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriF5QQ3mkvuRYbvsFcYj1t", + "payment_method": "pm_1OtJRvQPAGzeTwgWFT01Qz8M", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -600,10 +588,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:20 GMT + recorded_at: Tue, 12 Mar 2024 00:44:12 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriF5QQ3mkvuRYb10lOohU6 + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRvQPAGzeTwgW128JpRLv body: encoding: US-ASCII string: '' @@ -615,11 +603,11 @@ http_interactions: Stripe-Version: - '2020-08-27' X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.133.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","publisher":"active_merchant"}' + - "" X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OriF1QQ3mkvuRYb + - acct_1OtJRsQPAGzeTwgW Connection: - close Accept-Encoding: @@ -634,11 +622,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:21 GMT + - Tue, 12 Mar 2024 00:44:13 GMT Content-Type: - application/json Content-Length: - - '5160' + - '5159' Connection: - close Access-Control-Allow-Credentials: @@ -662,9 +650,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_SmFdHHEpiKXX3C + - req_qA4tkufzQs40VF Stripe-Account: - - acct_1OriF1QQ3mkvuRYb + - acct_1OtJRsQPAGzeTwgW Stripe-Version: - '2020-08-27' Vary: @@ -677,7 +665,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriF5QQ3mkvuRYb10lOohU6", + "id": "pi_3OtJRvQPAGzeTwgW128JpRLv", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -695,7 +683,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OriF5QQ3mkvuRYb11Qk2ba1", + "id": "ch_3OtJRvQPAGzeTwgW19mLvSZR", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -703,7 +691,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OriF5QQ3mkvuRYb1M0doCLX", + "balance_transaction": "txn_3OtJRvQPAGzeTwgW1TIOhpow", "billing_details": { "address": { "city": null, @@ -719,7 +707,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822899, + "created": 1710204251, "currency": "aud", "customer": null, "description": null, @@ -739,13 +727,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 26, + "risk_score": 4, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OriF5QQ3mkvuRYb10lOohU6", - "payment_method": "pm_1OriF5QQ3mkvuRYbvsFcYj1t", + "payment_intent": "pi_3OtJRvQPAGzeTwgW128JpRLv", + "payment_method": "pm_1OtJRvQPAGzeTwgWFT01Qz8M", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -788,14 +776,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpRjFRUTNta3Z1UlliKLWnp68GMgaHTWLCJaw6LBYjB4ZmQWABSd0S0wE2EzpuUTxtLtkfv70I-ctgh7axOP7Ao-w-KXvC067F", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3RKUnNRUEFHemVUd2dXKN3Kvq8GMgYAw-L5avo6LBaslMDtvb66Ldo_DVkSxTXlW3lQhN5fRWaFIYqna1q_r4qz5fzdtFCQL4_K", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OriF5QQ3mkvuRYb11Qk2ba1/refunds" + "url": "/v1/charges/ch_3OtJRvQPAGzeTwgW19mLvSZR/refunds" }, "review": null, "shipping": null, @@ -810,22 +798,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OriF5QQ3mkvuRYb10lOohU6" + "url": "/v1/charges?payment_intent=pi_3OtJRvQPAGzeTwgW128JpRLv" }, - "client_secret": "pi_3OriF5QQ3mkvuRYb10lOohU6_secret_PgxhwHgWCirzsTFxS0TuU1U10", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822899, + "created": 1710204251, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriF5QQ3mkvuRYb11Qk2ba1", + "latest_charge": "ch_3OtJRvQPAGzeTwgW19mLvSZR", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriF5QQ3mkvuRYbvsFcYj1t", + "payment_method": "pm_1OtJRvQPAGzeTwgWFT01Qz8M", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -850,10 +838,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:21 GMT + recorded_at: Tue, 12 Mar 2024 00:44:13 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3OriF5QQ3mkvuRYb11Qk2ba1/refunds + uri: https://api.stripe.com/v1/charges/ch_3OtJRvQPAGzeTwgW19mLvSZR/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -867,11 +855,11 @@ http_interactions: Stripe-Version: - '2020-08-27' X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.133.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","publisher":"active_merchant"}' + - "" X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OriF1QQ3mkvuRYb + - acct_1OtJRsQPAGzeTwgW Connection: - close Accept-Encoding: @@ -886,11 +874,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:23 GMT + - Tue, 12 Mar 2024 00:44:14 GMT Content-Type: - application/json Content-Length: - - '4536' + - '4535' Connection: - close Access-Control-Allow-Credentials: @@ -914,13 +902,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4f88eef3-0461-47f9-8b5a-4971c9960bd6 + - ad33a807-bf8d-4d09-a426-763f7f7f0281 Original-Request: - - req_vYFDkgVnJjuetA + - req_f4dMcqYkRs70jc Request-Id: - - req_vYFDkgVnJjuetA + - req_f4dMcqYkRs70jc Stripe-Account: - - acct_1OriF1QQ3mkvuRYb + - acct_1OtJRsQPAGzeTwgW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -935,12 +923,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3OriF5QQ3mkvuRYb1CLCBwfC", + "id": "re_3OtJRvQPAGzeTwgW1Dg9f6Xv", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OriF5QQ3mkvuRYb1QFmeSZA", + "balance_transaction": "txn_3OtJRvQPAGzeTwgW1HHNRRMu", "charge": { - "id": "ch_3OriF5QQ3mkvuRYb11Qk2ba1", + "id": "ch_3OtJRvQPAGzeTwgW19mLvSZR", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -948,7 +936,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OriF5QQ3mkvuRYb1M0doCLX", + "balance_transaction": "txn_3OtJRvQPAGzeTwgW1TIOhpow", "billing_details": { "address": { "city": null, @@ -964,7 +952,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822899, + "created": 1710204251, "currency": "aud", "customer": null, "description": null, @@ -984,13 +972,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 26, + "risk_score": 4, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OriF5QQ3mkvuRYb10lOohU6", - "payment_method": "pm_1OriF5QQ3mkvuRYbvsFcYj1t", + "payment_intent": "pi_3OtJRvQPAGzeTwgW128JpRLv", + "payment_method": "pm_1OtJRvQPAGzeTwgWFT01Qz8M", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -1033,18 +1021,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpRjFRUTNta3Z1UlliKLanp68GMgYLRMAeaSc6LBbRLy5f9mUAv3yg0RLF_Wla7-iR-86gWQG2Vbtv4gN4ulP_O9G9KvycbHSW", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3RKUnNRUEFHemVUd2dXKN7Kvq8GMgZ_W9tWyvc6LBZfSr_XLsyGcjHALkQBCGsWglX0J88ZCAF2Jrhv9uwlru2zR5RnGxWGGuN2", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3OriF5QQ3mkvuRYb1CLCBwfC", + "id": "re_3OtJRvQPAGzeTwgW1Dg9f6Xv", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OriF5QQ3mkvuRYb1QFmeSZA", - "charge": "ch_3OriF5QQ3mkvuRYb11Qk2ba1", - "created": 1709822902, + "balance_transaction": "txn_3OtJRvQPAGzeTwgW1HHNRRMu", + "charge": "ch_3OtJRvQPAGzeTwgW19mLvSZR", + "created": 1710204253, "currency": "aud", "destination_details": { "card": { @@ -1055,7 +1043,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OriF5QQ3mkvuRYb10lOohU6", + "payment_intent": "pi_3OtJRvQPAGzeTwgW128JpRLv", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1065,7 +1053,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3OriF5QQ3mkvuRYb11Qk2ba1/refunds" + "url": "/v1/charges/ch_3OtJRvQPAGzeTwgW19mLvSZR/refunds" }, "review": null, "shipping": null, @@ -1077,7 +1065,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1709822902, + "created": 1710204253, "currency": "aud", "destination_details": { "card": { @@ -1088,12 +1076,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OriF5QQ3mkvuRYb10lOohU6", + "payment_intent": "pi_3OtJRvQPAGzeTwgW128JpRLv", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 07 Mar 2024 14:48:23 GMT + recorded_at: Tue, 12 Mar 2024 00:44:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml index 7f354cc3ac..115af4dadf 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hBucB4DUy7B8vk","request_duration_ms":355}}' + - '{"last_request_metrics":{"request_id":"req_iPuNEy0dT770A0","request_duration_ms":395}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:24 GMT + - Tue, 12 Mar 2024 00:44:16 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 920d8292-d263-40ff-8777-d0fe4d153366 + - 4c9f85c7-6177-4411-8384-59acb6a913dc Original-Request: - - req_x1NRSc0BuwMvQx + - req_uUhsE3ReO2LJQT Request-Id: - - req_x1NRSc0BuwMvQx + - req_uUhsE3ReO2LJQT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OriF94Jkrv1ncjW", + "id": "acct_1OtJRyQT1drlI5ho", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +99,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822904, + "created": 1710204255, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -111,7 +108,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OriF94Jkrv1ncjW/external_accounts" + "url": "/v1/accounts/acct_1OtJRyQT1drlI5ho/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,7 +205,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:48:24 GMT + recorded_at: Tue, 12 Mar 2024 00:44:16 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -223,14 +220,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_x1NRSc0BuwMvQx","request_duration_ms":1790}}' + - '{"last_request_metrics":{"request_id":"req_uUhsE3ReO2LJQT","request_duration_ms":1834}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -243,7 +237,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:26 GMT + - Tue, 12 Mar 2024 00:44:17 GMT Content-Type: - application/json Content-Length: @@ -271,7 +265,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_LulINrAryliltk + - req_pJPWm2rgo5wjq3 Stripe-Version: - '2023-10-16' Vary: @@ -284,7 +278,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriFCKuuB1fWySnvkgE3Gmp", + "id": "pm_1OtJS0KuuB1fWySnmqFB4L3B", "object": "payment_method", "billing_details": { "address": { @@ -325,13 +319,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822906, + "created": 1710204256, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:26 GMT + recorded_at: Tue, 12 Mar 2024 00:44:17 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -346,16 +340,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LulINrAryliltk","request_duration_ms":522}}' + - '{"last_request_metrics":{"request_id":"req_pJPWm2rgo5wjq3","request_duration_ms":365}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriF94Jkrv1ncjW + - acct_1OtJRyQT1drlI5ho Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -368,7 +359,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:27 GMT + - Tue, 12 Mar 2024 00:44:17 GMT Content-Type: - application/json Content-Length: @@ -395,13 +386,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9b2e993d-c7f6-4035-aacd-3d33d0c701b5 + - 21a94f79-5d42-4453-9831-63d22f264730 Original-Request: - - req_y5CKFHq2y6MfXW + - req_QxCz6L3YudCPMh Request-Id: - - req_y5CKFHq2y6MfXW + - req_QxCz6L3YudCPMh Stripe-Account: - - acct_1OriF94Jkrv1ncjW + - acct_1OtJRyQT1drlI5ho Stripe-Should-Retry: - 'false' Stripe-Version: @@ -416,7 +407,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFD4Jkrv1ncjW0LtpZqUz", + "id": "pi_3OtJS1QT1drlI5ho1JhAsNMK", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -430,9 +421,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFD4Jkrv1ncjW0LtpZqUz_secret_5uMDeeYQqy4zIQjeVuHLPIaIM", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822907, + "created": 1710204257, "currency": "aud", "customer": null, "description": null, @@ -443,7 +434,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFD4Jkrv1ncjW49ngFlu9", + "payment_method": "pm_1OtJS1QT1drlI5hoz9up7S0B", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -468,10 +459,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:27 GMT + recorded_at: Tue, 12 Mar 2024 00:44:17 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriFD4Jkrv1ncjW0LtpZqUz + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJS1QT1drlI5ho1JhAsNMK body: encoding: US-ASCII string: '' @@ -483,16 +474,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_y5CKFHq2y6MfXW","request_duration_ms":465}}' + - '{"last_request_metrics":{"request_id":"req_QxCz6L3YudCPMh","request_duration_ms":505}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriF94Jkrv1ncjW + - acct_1OtJRyQT1drlI5ho Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +493,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:27 GMT + - Tue, 12 Mar 2024 00:44:17 GMT Content-Type: - application/json Content-Length: @@ -533,9 +521,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_NDQSpcnixgOEbh + - req_wAIvcVuEszJDN4 Stripe-Account: - - acct_1OriF94Jkrv1ncjW + - acct_1OtJRyQT1drlI5ho Stripe-Version: - '2023-10-16' Vary: @@ -548,7 +536,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFD4Jkrv1ncjW0LtpZqUz", + "id": "pi_3OtJS1QT1drlI5ho1JhAsNMK", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -562,9 +550,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFD4Jkrv1ncjW0LtpZqUz_secret_5uMDeeYQqy4zIQjeVuHLPIaIM", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822907, + "created": 1710204257, "currency": "aud", "customer": null, "description": null, @@ -575,7 +563,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFD4Jkrv1ncjW49ngFlu9", + "payment_method": "pm_1OtJS1QT1drlI5hoz9up7S0B", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -600,10 +588,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:27 GMT + recorded_at: Tue, 12 Mar 2024 00:44:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriFD4Jkrv1ncjW0LtpZqUz/cancel + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJS1QT1drlI5ho1JhAsNMK/cancel body: encoding: US-ASCII string: '' @@ -617,11 +605,11 @@ http_interactions: Stripe-Version: - '2020-08-27' X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.133.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","publisher":"active_merchant"}' + - "" X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OriF94Jkrv1ncjW + - acct_1OtJRyQT1drlI5ho Connection: - close Accept-Encoding: @@ -636,7 +624,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:28 GMT + - Tue, 12 Mar 2024 00:44:18 GMT Content-Type: - application/json Content-Length: @@ -664,13 +652,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6a03a342-7487-4a4d-b581-3b420408cb1e + - 5263781b-a4a5-4be9-99b8-c70ffed1b8b2 Original-Request: - - req_n3QryqCtCrh4ld + - req_BkZjfB01tjuBZl Request-Id: - - req_n3QryqCtCrh4ld + - req_BkZjfB01tjuBZl Stripe-Account: - - acct_1OriF94Jkrv1ncjW + - acct_1OtJRyQT1drlI5ho Stripe-Should-Retry: - 'false' Stripe-Version: @@ -685,7 +673,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFD4Jkrv1ncjW0LtpZqUz", + "id": "pi_3OtJS1QT1drlI5ho1JhAsNMK", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -696,7 +684,7 @@ http_interactions: "application": "", "application_fee_amount": null, "automatic_payment_methods": null, - "canceled_at": 1709822908, + "canceled_at": 1710204258, "cancellation_reason": null, "capture_method": "manual", "charges": { @@ -704,11 +692,11 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges?payment_intent=pi_3OriFD4Jkrv1ncjW0LtpZqUz" + "url": "/v1/charges?payment_intent=pi_3OtJS1QT1drlI5ho1JhAsNMK" }, - "client_secret": "pi_3OriFD4Jkrv1ncjW0LtpZqUz_secret_5uMDeeYQqy4zIQjeVuHLPIaIM", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822907, + "created": 1710204257, "currency": "aud", "customer": null, "description": null, @@ -719,7 +707,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFD4Jkrv1ncjW49ngFlu9", + "payment_method": "pm_1OtJS1QT1drlI5hoz9up7S0B", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -744,5 +732,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:28 GMT + recorded_at: Tue, 12 Mar 2024 00:44:18 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml index 872ddd4125..67913aa227 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OW0XdLkNysDyJ4","request_duration_ms":351}}' + - '{"last_request_metrics":{"request_id":"req_zvZ5rcMjbH8Xnt","request_duration_ms":381}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:37 GMT + - Tue, 12 Mar 2024 00:44:25 GMT Content-Type: - application/json; charset=utf-8 Content-Length: @@ -56,22 +53,24 @@ http_interactions: Referrer-Policy: - strict-origin-when-cross-origin Request-Id: - - req_sUe2DBMA3zp1AX + - req_SSmm4AaFsw8Zhp Set-Cookie: - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:48:37 GMT; secure; + domain=stripe.com; path=/; expires=Wed, 12 Mar 2025 00:44:25 GMT; secure; HttpOnly; SameSite=Lax - - machine_identifier=gcNvbXk83YCiQARDPr%2FWm%2Fudz6SKv9ICDs6QwJ%2BcOLcthYISJqSejQCBnFyL6z4tmm0%3D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:48:37 GMT; secure; + - cid=0433e759-4348-455e-8a58-809cae4b0108; domain=stripe.com; path=/; expires=Mon, + 10 Jun 2024 00:44:25 GMT; secure; SameSite=Lax + - machine_identifier=uNKapiqCKO2tGCnD1LyGcPLKhq38hyKbReLquxbNScK2nD5Ccis%2BqpyPtlnePV7aRnQ%3D; + domain=stripe.com; path=/; expires=Wed, 12 Mar 2025 00:44:25 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=CyeFDR7EsUL%2FgnP8sZJVqU2K66SjmSWNZSj5Z3m7T27TfPoe4Zfary4E%2BDJO54TchVc%3D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:48:37 GMT; secure; + - private_machine_identifier=lZ2jDgxoWxrKQ2xHEnY5mZBYpdMlxiEBE258wqLy6sut%2Bddj8t%2BPuN5gsdwfh2zI7Ew%3D; + domain=stripe.com; path=/; expires=Wed, 12 Mar 2025 00:44:25 GMT; secure; HttpOnly; SameSite=None - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure - - stripe.csrf=y0Rqn0OuAamx_vu3tHXro2gQYagbh-n8tAoEwxmfGRfSdgSHKpr12BQyNCE4zT2OsDCXaOoHdlHNBZaUVDjBEDw-AYTZVJxlaE_F2HOX9QJfM8Qqpc1dE8PC9Fg5wCti4ygOiUKi8w%3D%3D; + - stripe.csrf=AhKjxrkUZ_zSalGGUzAJ4komJ6czJiP3DY0jFovw9d9xOEGc7Noz-3eMFXOOpL3AThecyivhKnc2Bj_vIFo4tDw-AYTZVJw2S8ZoYOES-Zwx2vgIdODPWR3T1YNdWXti8GAQBYlxQw%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -88,5 +87,5 @@ http_interactions: "error": "invalid_client", "error_description": "No such application: 'bogus_client_id'" } - recorded_at: Thu, 07 Mar 2024 14:48:37 GMT + recorded_at: Tue, 12 Mar 2024 00:44:25 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml index 442e51a864..32af4f0f6e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OW0XdLkNysDyJ4","request_duration_ms":351}}' + - '{"last_request_metrics":{"request_id":"req_zvZ5rcMjbH8Xnt","request_duration_ms":381}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:39 GMT + - Tue, 12 Mar 2024 00:44:27 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f47dd8b7-0ffd-4b9a-ba5b-2bc783370ab8 + - d1b1f16e-fbef-4d19-99f8-abb0ba083258 Original-Request: - - req_lJo2LIxGkIxE5y + - req_UDo1aYPenB0i3G Request-Id: - - req_lJo2LIxGkIxE5y + - req_UDo1aYPenB0i3G Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OriFOQKkNA1tFF3", + "id": "acct_1OtJSAQRnGWqp1EO", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +99,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822919, + "created": 1710204267, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -111,7 +108,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OriFOQKkNA1tFF3/external_accounts" + "url": "/v1/accounts/acct_1OtJSAQRnGWqp1EO/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,13 +205,13 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:48:39 GMT + recorded_at: Tue, 12 Mar 2024 00:44:27 GMT - request: method: post uri: https://connect.stripe.com/oauth/deauthorize body: encoding: UTF-8 - string: stripe_user_id=acct_1OriFOQKkNA1tFF3&client_id= + string: stripe_user_id=acct_1OtJSAQRnGWqp1EO&client_id= headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -223,14 +220,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lJo2LIxGkIxE5y","request_duration_ms":1853}}' + - '{"last_request_metrics":{"request_id":"req_UDo1aYPenB0i3G","request_duration_ms":1911}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -243,7 +237,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:40 GMT + - Tue, 12 Mar 2024 00:44:28 GMT Content-Type: - application/json Content-Length: @@ -265,22 +259,24 @@ http_interactions: Referrer-Policy: - strict-origin-when-cross-origin Request-Id: - - req_lEfpYDp0tuhsp7 + - req_ge0Gn5qnamVO4Z Set-Cookie: - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:48:40 GMT; secure; + domain=stripe.com; path=/; expires=Wed, 12 Mar 2025 00:44:28 GMT; secure; HttpOnly; SameSite=Lax - - machine_identifier=0icC6M6VfeyM7BzjC0tYoX629my9lhkyrxJYoRcATNDEM8OnzFD8g55JicehX8IMN%2FY%3D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:48:40 GMT; secure; + - cid=f7c2e118-2466-492c-8b70-111998df47f4; domain=stripe.com; path=/; expires=Mon, + 10 Jun 2024 00:44:28 GMT; secure; SameSite=Lax + - machine_identifier=dkQrsWU1v3i39QVq9KudZOao11F7KsMhYZJgBiisjOEWfC6bHTHFkEJcCLcNxgh4Frk%3D; + domain=stripe.com; path=/; expires=Wed, 12 Mar 2025 00:44:28 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=S0LtABQ4l9BTTD%2BGcXRz0OfoPxV4ClEj2BBph%2BfgdGp%2BzOLE4cZp0GnZy%2BWH2TSXxFU%3D; - domain=stripe.com; path=/; expires=Fri, 07 Mar 2025 14:48:40 GMT; secure; + - private_machine_identifier=ZoOGnX5xYkvlbHX8uTyzC%2B89Y31O0drKfdeIyfP04qjUV%2Fjv407N5m7I4610%2FjFHsc8%3D; + domain=stripe.com; path=/; expires=Wed, 12 Mar 2025 00:44:28 GMT; secure; HttpOnly; SameSite=None - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure - - stripe.csrf=KUF9MEdKNrp1ELanG9nkomW7BDb013YXnyba1xKKWhFxOwBIt4NhVJgssyO1Tw4y__7dvRurcWgdEePlJmixMTw-AYTZVJwbyGnD1P9CDaLTNKr282PkuKSHF1yM0h_wUZtCiKeufA%3D%3D; + - stripe.csrf=sVRm1QahM56YuGpruBcGA8vRYLdoC28rKEgYh6vAExeC34WXyb-nMChodDi-nhezRjsNyYUA0G-paDgKRAs3yjw-AYTZVJycFZa8ScetDwh7KUs34CN4UBhsUDwMjUT405CuWBHsIQ%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -292,7 +288,7 @@ http_interactions: encoding: UTF-8 string: |- { - "stripe_user_id": "acct_1OriFOQKkNA1tFF3" + "stripe_user_id": "acct_1OtJSAQRnGWqp1EO" } - recorded_at: Thu, 07 Mar 2024 14:48:40 GMT + recorded_at: Tue, 12 Mar 2024 00:44:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml index 41011fe897..b4aaf48441 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_o3NigH6OPFNBwQ","request_duration_ms":1328}}' + - '{"last_request_metrics":{"request_id":"req_Xhi5zBbTXN8g60","request_duration_ms":1228}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:49 GMT + - Tue, 12 Mar 2024 00:44:35 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 235fb16d-787e-4e4c-844c-feeb2425acf7 + - 4803f797-e9b6-4bc5-bd3a-60071f1b9626 Original-Request: - - req_ad9SF8AhoqRjVr + - req_hCpD6q0In7rsdx Request-Id: - - req_ad9SF8AhoqRjVr + - req_hCpD6q0In7rsdx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriFZKuuB1fWySnD8LaYTHq", + "id": "pm_1OtJSJKuuB1fWySnvve1SxMO", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822929, + "created": 1710204275, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:49 GMT + recorded_at: Tue, 12 Mar 2024 00:44:35 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OriFZKuuB1fWySnD8LaYTHq&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OtJSJKuuB1fWySnvve1SxMO&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ad9SF8AhoqRjVr","request_duration_ms":454}}' + - '{"last_request_metrics":{"request_id":"req_hCpD6q0In7rsdx","request_duration_ms":426}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:50 GMT + - Tue, 12 Mar 2024 00:44:36 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 30191e3f-fb77-48b5-aa58-b5c90ee0d9d5 + - 435dd0ca-b7e3-47ae-9ef0-ef2607340c48 Original-Request: - - req_MClv13PY1YPuIc + - req_wnX7WOrWohtQ3S Request-Id: - - req_MClv13PY1YPuIc + - req_wnX7WOrWohtQ3S Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFZKuuB1fWySn0lexso2f", + "id": "pi_3OtJSJKuuB1fWySn1kQGGALz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFZKuuB1fWySn0lexso2f_secret_iJ2Jz5vcrySOoPlvXbwT5OQRE", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822929, + "created": 1710204275, "currency": "aud", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFZKuuB1fWySnD8LaYTHq", + "payment_method": "pm_1OtJSJKuuB1fWySnvve1SxMO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:50 GMT + recorded_at: Tue, 12 Mar 2024 00:44:36 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriFZKuuB1fWySn0lexso2f/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSJKuuB1fWySn1kQGGALz/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MClv13PY1YPuIc","request_duration_ms":393}}' + - '{"last_request_metrics":{"request_id":"req_wnX7WOrWohtQ3S","request_duration_ms":396}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:51 GMT + - Tue, 12 Mar 2024 00:44:37 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 46805f16-33ba-4a67-bde3-2482f41b0a1f + - 98a4696f-3ec1-49b5-8117-ca93834c985f Original-Request: - - req_piW9Ok7Do4NTUo + - req_pt1UkOCNuecnsd Request-Id: - - req_piW9Ok7Do4NTUo + - req_pt1UkOCNuecnsd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFZKuuB1fWySn0lexso2f", + "id": "pi_3OtJSJKuuB1fWySn1kQGGALz", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFZKuuB1fWySn0lexso2f_secret_iJ2Jz5vcrySOoPlvXbwT5OQRE", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822929, + "created": 1710204275, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriFZKuuB1fWySn061IMsXA", + "latest_charge": "ch_3OtJSJKuuB1fWySn18iqg4bO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFZKuuB1fWySnD8LaYTHq", + "payment_method": "pm_1OtJSJKuuB1fWySnvve1SxMO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:51 GMT + recorded_at: Tue, 12 Mar 2024 00:44:37 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriFZKuuB1fWySn0lexso2f/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSJKuuB1fWySn1kQGGALz/capture body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_piW9Ok7Do4NTUo","request_duration_ms":1132}}' + - '{"last_request_metrics":{"request_id":"req_pt1UkOCNuecnsd","request_duration_ms":1097}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:52 GMT + - Tue, 12 Mar 2024 00:44:38 GMT Content-Type: - application/json Content-Length: @@ -457,11 +445,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b15dc920-ef4a-4776-9a08-72c7e13803ce + - 80014955-a076-4c8d-b509-aa2a5bd1e4ad Original-Request: - - req_2erquHw2hOf88R + - req_3l2ahMeMhkDSIj Request-Id: - - req_2erquHw2hOf88R + - req_3l2ahMeMhkDSIj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -476,7 +464,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFZKuuB1fWySn0lexso2f", + "id": "pi_3OtJSJKuuB1fWySn1kQGGALz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -490,20 +478,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFZKuuB1fWySn0lexso2f_secret_iJ2Jz5vcrySOoPlvXbwT5OQRE", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822929, + "created": 1710204275, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriFZKuuB1fWySn061IMsXA", + "latest_charge": "ch_3OtJSJKuuB1fWySn18iqg4bO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFZKuuB1fWySnD8LaYTHq", + "payment_method": "pm_1OtJSJKuuB1fWySnvve1SxMO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -528,10 +516,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:52 GMT + recorded_at: Tue, 12 Mar 2024 00:44:38 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriFZKuuB1fWySn0lexso2f + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSJKuuB1fWySn1kQGGALz body: encoding: US-ASCII string: '' @@ -543,14 +531,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2erquHw2hOf88R","request_duration_ms":1533}}' + - '{"last_request_metrics":{"request_id":"req_3l2ahMeMhkDSIj","request_duration_ms":1273}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -563,7 +548,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:53 GMT + - Tue, 12 Mar 2024 00:44:38 GMT Content-Type: - application/json Content-Length: @@ -591,7 +576,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_feXQoy32mXZnQ3 + - req_YU6F3SPSHd3Ht7 Stripe-Version: - '2023-10-16' Vary: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFZKuuB1fWySn0lexso2f", + "id": "pi_3OtJSJKuuB1fWySn1kQGGALz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFZKuuB1fWySn0lexso2f_secret_iJ2Jz5vcrySOoPlvXbwT5OQRE", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822929, + "created": 1710204275, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriFZKuuB1fWySn061IMsXA", + "latest_charge": "ch_3OtJSJKuuB1fWySn18iqg4bO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFZKuuB1fWySnD8LaYTHq", + "payment_method": "pm_1OtJSJKuuB1fWySnvve1SxMO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,5 +641,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:53 GMT + recorded_at: Tue, 12 Mar 2024 00:44:38 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml index 4001ecad82..6b47a95d71 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5T6TqXkyillUiE","request_duration_ms":499}}' + - '{"last_request_metrics":{"request_id":"req_cmhcf2eXUbFA1Q","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:46 GMT + - Tue, 12 Mar 2024 00:44:32 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e5637f3f-3310-4cbd-8cbd-fd4ef60850c8 + - 4dfb1315-cd81-485c-b2ff-95c11067881c Original-Request: - - req_UDUq69qk2z78BO + - req_7E1jfCtxTMI0bW Request-Id: - - req_UDUq69qk2z78BO + - req_7E1jfCtxTMI0bW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriFVKuuB1fWySnsvt1HEak", + "id": "pm_1OtJSGKuuB1fWySnJoNWYzpY", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822925, + "created": 1710204272, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:46 GMT + recorded_at: Tue, 12 Mar 2024 00:44:32 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OriFVKuuB1fWySnsvt1HEak&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OtJSGKuuB1fWySnJoNWYzpY&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UDUq69qk2z78BO","request_duration_ms":464}}' + - '{"last_request_metrics":{"request_id":"req_7E1jfCtxTMI0bW","request_duration_ms":478}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:46 GMT + - Tue, 12 Mar 2024 00:44:32 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 38f5f99d-44cb-42f0-9796-fe75f57dc368 + - 88666c4b-364a-46ff-a32b-63a91bac2ab0 Original-Request: - - req_hCbHULRNGTTSGy + - req_h4LdLtQhivvUVA Request-Id: - - req_hCbHULRNGTTSGy + - req_h4LdLtQhivvUVA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFWKuuB1fWySn2kBpq5LO", + "id": "pi_3OtJSGKuuB1fWySn21K9ajlR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFWKuuB1fWySn2kBpq5LO_secret_B6nYNTYXuZZWep4UouXM3Pw0E", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822926, + "created": 1710204272, "currency": "aud", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFVKuuB1fWySnsvt1HEak", + "payment_method": "pm_1OtJSGKuuB1fWySnJoNWYzpY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:46 GMT + recorded_at: Tue, 12 Mar 2024 00:44:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriFWKuuB1fWySn2kBpq5LO/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSGKuuB1fWySn21K9ajlR/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hCbHULRNGTTSGy","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_h4LdLtQhivvUVA","request_duration_ms":385}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:47 GMT + - Tue, 12 Mar 2024 00:44:33 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 87f122e3-d739-4062-8c8d-545f6aba3726 + - f4c19993-7a1e-4266-86e1-5483619c8270 Original-Request: - - req_AYa0AyU7oUfUh8 + - req_2bfstFOl8ku3qo Request-Id: - - req_AYa0AyU7oUfUh8 + - req_2bfstFOl8ku3qo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFWKuuB1fWySn2kBpq5LO", + "id": "pi_3OtJSGKuuB1fWySn21K9ajlR", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFWKuuB1fWySn2kBpq5LO_secret_B6nYNTYXuZZWep4UouXM3Pw0E", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822926, + "created": 1710204272, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriFWKuuB1fWySn27OAmEL4", + "latest_charge": "ch_3OtJSGKuuB1fWySn2AgqfD9d", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFVKuuB1fWySnsvt1HEak", + "payment_method": "pm_1OtJSGKuuB1fWySnJoNWYzpY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:47 GMT + recorded_at: Tue, 12 Mar 2024 00:44:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriFWKuuB1fWySn2kBpq5LO/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSGKuuB1fWySn21K9ajlR/capture body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AYa0AyU7oUfUh8","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_2bfstFOl8ku3qo","request_duration_ms":1044}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:48 GMT + - Tue, 12 Mar 2024 00:44:35 GMT Content-Type: - application/json Content-Length: @@ -457,11 +445,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 488c527b-30a4-4e25-81f6-852347b98509 + - 6d4d5ea9-3269-4590-ad31-8ba6e1097808 Original-Request: - - req_o3NigH6OPFNBwQ + - req_Xhi5zBbTXN8g60 Request-Id: - - req_o3NigH6OPFNBwQ + - req_Xhi5zBbTXN8g60 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -476,7 +464,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFWKuuB1fWySn2kBpq5LO", + "id": "pi_3OtJSGKuuB1fWySn21K9ajlR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -490,20 +478,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFWKuuB1fWySn2kBpq5LO_secret_B6nYNTYXuZZWep4UouXM3Pw0E", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822926, + "created": 1710204272, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriFWKuuB1fWySn27OAmEL4", + "latest_charge": "ch_3OtJSGKuuB1fWySn2AgqfD9d", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFVKuuB1fWySnsvt1HEak", + "payment_method": "pm_1OtJSGKuuB1fWySnJoNWYzpY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -528,5 +516,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:48 GMT + recorded_at: Tue, 12 Mar 2024 00:44:35 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml index 7df7aa188b..4a3ec7e40d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_42dGvaEspnAJ5u","request_duration_ms":380}}' + - '{"last_request_metrics":{"request_id":"req_SkdaPx37iNCRLI","request_duration_ms":376}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:44 GMT + - Tue, 12 Mar 2024 00:44:31 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 186951de-4d33-42ef-a436-d0fec6a0ba9c + - 3ca40f0e-0a25-4cd5-aefc-48fd8dffb69f Original-Request: - - req_T5UceAUr4oUhRj + - req_tusuw4mCLdtPd9 Request-Id: - - req_T5UceAUr4oUhRj + - req_tusuw4mCLdtPd9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriFUKuuB1fWySndZNYRszo", + "id": "pm_1OtJSFKuuB1fWySnqrELdW3E", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822924, + "created": 1710204271, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:44 GMT + recorded_at: Tue, 12 Mar 2024 00:44:31 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OriFUKuuB1fWySndZNYRszo&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OtJSFKuuB1fWySnqrELdW3E&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_T5UceAUr4oUhRj","request_duration_ms":488}}' + - '{"last_request_metrics":{"request_id":"req_tusuw4mCLdtPd9","request_duration_ms":413}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:45 GMT + - Tue, 12 Mar 2024 00:44:31 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 006eef48-548a-4917-810e-b1f859256334 + - a23b34d3-a5dd-477c-9824-ba5db895bdc3 Original-Request: - - req_5T6TqXkyillUiE + - req_cmhcf2eXUbFA1Q Request-Id: - - req_5T6TqXkyillUiE + - req_cmhcf2eXUbFA1Q Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFVKuuB1fWySn2vhLxBkG", + "id": "pi_3OtJSFKuuB1fWySn1FmwbLwU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFVKuuB1fWySn2vhLxBkG_secret_BI4MZOFbOwCobPT8CNktjyWYF", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822925, + "created": 1710204271, "currency": "aud", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFUKuuB1fWySndZNYRszo", + "payment_method": "pm_1OtJSFKuuB1fWySnqrELdW3E", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,5 +254,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:45 GMT + recorded_at: Tue, 12 Mar 2024 00:44:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml index 801385536b..e90c36e817 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eEvhSNZCETUcnF","request_duration_ms":598}}' + - '{"last_request_metrics":{"request_id":"req_ZYLaaCWwj8PMQu","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:43 GMT + - Tue, 12 Mar 2024 00:44:30 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 67d21b4c-7254-43b2-8022-4b7bf893bd80 + - fedb0269-6ffc-4b72-a089-e20a8b2ca880 Original-Request: - - req_3V9QGRPgXOhXkA + - req_ohgCWUO0MjkZ8V Request-Id: - - req_3V9QGRPgXOhXkA + - req_ohgCWUO0MjkZ8V Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriFSKuuB1fWySnPwVI2ORl", + "id": "pm_1OtJSDKuuB1fWySnmgwxT4ZW", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822922, + "created": 1710204269, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:43 GMT + recorded_at: Tue, 12 Mar 2024 00:44:30 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OriFSKuuB1fWySnPwVI2ORl&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OtJSDKuuB1fWySnmgwxT4ZW&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3V9QGRPgXOhXkA","request_duration_ms":493}}' + - '{"last_request_metrics":{"request_id":"req_ohgCWUO0MjkZ8V","request_duration_ms":444}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:43 GMT + - Tue, 12 Mar 2024 00:44:30 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1bd7876f-0f4a-4c16-8dc4-0d3d407fe602 + - 5f769b63-addb-4ba1-b82b-e77e1955c48e Original-Request: - - req_HEQFtFE7AsslZC + - req_amgQJheC9uBeVy Request-Id: - - req_HEQFtFE7AsslZC + - req_amgQJheC9uBeVy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFTKuuB1fWySn0e2gnIeK", + "id": "pi_3OtJSEKuuB1fWySn05B2UN1F", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFTKuuB1fWySn0e2gnIeK_secret_0rVnepxbGgvpeXxou51cEJ8l3", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822923, + "created": 1710204270, "currency": "aud", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFSKuuB1fWySnPwVI2ORl", + "payment_method": "pm_1OtJSDKuuB1fWySnmgwxT4ZW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:43 GMT + recorded_at: Tue, 12 Mar 2024 00:44:30 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriFTKuuB1fWySn0e2gnIeK + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSEKuuB1fWySn05B2UN1F body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HEQFtFE7AsslZC","request_duration_ms":496}}' + - '{"last_request_metrics":{"request_id":"req_amgQJheC9uBeVy","request_duration_ms":454}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:44 GMT + - Tue, 12 Mar 2024 00:44:30 GMT Content-Type: - application/json Content-Length: @@ -323,7 +314,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_42dGvaEspnAJ5u + - req_SkdaPx37iNCRLI Stripe-Version: - '2023-10-16' Vary: @@ -336,7 +327,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFTKuuB1fWySn0e2gnIeK", + "id": "pi_3OtJSEKuuB1fWySn05B2UN1F", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -350,9 +341,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFTKuuB1fWySn0e2gnIeK_secret_0rVnepxbGgvpeXxou51cEJ8l3", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822923, + "created": 1710204270, "currency": "aud", "customer": null, "description": null, @@ -363,7 +354,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFSKuuB1fWySnPwVI2ORl", + "payment_method": "pm_1OtJSDKuuB1fWySnmgwxT4ZW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -388,5 +379,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:44 GMT + recorded_at: Tue, 12 Mar 2024 00:44:30 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml index e110c60e5f..aeea9986e8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lEfpYDp0tuhsp7","request_duration_ms":516}}' + - '{"last_request_metrics":{"request_id":"req_ge0Gn5qnamVO4Z","request_duration_ms":465}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:41 GMT + - Tue, 12 Mar 2024 00:44:28 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b773a2e5-06fe-4339-8f06-1e2d35b12ee5 + - 2d745dac-d454-4159-bf77-351ab8ef5476 Original-Request: - - req_vTsusqMInJtN5B + - req_u7uiI1lCTdIzWn Request-Id: - - req_vTsusqMInJtN5B + - req_u7uiI1lCTdIzWn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriFRKuuB1fWySnvigkMIwI", + "id": "pm_1OtJSCKuuB1fWySnSl3jBdEe", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822921, + "created": 1710204268, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:41 GMT + recorded_at: Tue, 12 Mar 2024 00:44:29 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OriFRKuuB1fWySnvigkMIwI&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OtJSCKuuB1fWySnSl3jBdEe&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vTsusqMInJtN5B","request_duration_ms":473}}' + - '{"last_request_metrics":{"request_id":"req_u7uiI1lCTdIzWn","request_duration_ms":459}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:42 GMT + - Tue, 12 Mar 2024 00:44:29 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5c136a6c-665d-48b2-bba7-ca16b3dbd579 + - 17133c8d-6355-4c9e-a672-ba69f4c1d74a Original-Request: - - req_eEvhSNZCETUcnF + - req_ZYLaaCWwj8PMQu Request-Id: - - req_eEvhSNZCETUcnF + - req_ZYLaaCWwj8PMQu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFRKuuB1fWySn2EN1KjnV", + "id": "pi_3OtJSDKuuB1fWySn1101CeN6", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriFRKuuB1fWySn2EN1KjnV_secret_gjojWTZHhDWZUGZBM9LdGUetq", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822921, + "created": 1710204269, "currency": "aud", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFRKuuB1fWySnvigkMIwI", + "payment_method": "pm_1OtJSCKuuB1fWySnSl3jBdEe", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,5 +254,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:42 GMT + recorded_at: Tue, 12 Mar 2024 00:44:29 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml index 999b3efcde..a42dabcee0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pKEIlsFmzmlbhI","request_duration_ms":326}}' + - '{"last_request_metrics":{"request_id":"req_MdZ2Zf3SKYoZ4w","request_duration_ms":362}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:49 GMT + - Tue, 12 Mar 2024 00:42:00 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6101ed0f-7b69-46fc-a827-67a9218d890a + - c83ca401-de9a-44b4-a2fd-bfa159fab390 Original-Request: - - req_YcLBCxelSOKQ47 + - req_UDQ3k7IILPIpN2 Request-Id: - - req_YcLBCxelSOKQ47 + - req_UDQ3k7IILPIpN2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCfKuuB1fWySnpdQgSwLL", + "id": "pm_1OtJPoKuuB1fWySnfhsQradh", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +118,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822749, + "created": 1710204120, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:45:49 GMT + recorded_at: Tue, 12 Mar 2024 00:42:00 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YcLBCxelSOKQ47","request_duration_ms":579}}' + - '{"last_request_metrics":{"request_id":"req_UDQ3k7IILPIpN2","request_duration_ms":481}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:51 GMT + - Tue, 12 Mar 2024 00:42:02 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 77149006-10f3-43ad-8d01-7eddf44ae000 + - b70251de-9e06-4dc5-bb64-b5f987b1a686 Original-Request: - - req_VBjKaqBajh3f6L + - req_reL9tquyA5MrwJ Request-Id: - - req_VBjKaqBajh3f6L + - req_reL9tquyA5MrwJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OriCg4CFZ3LdChW", + "id": "acct_1OtJPo4KFBgILUOM", "object": "account", "business_profile": { "annual_revenue": null, @@ -230,7 +224,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822750, + "created": 1710204121, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -239,7 +233,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OriCg4CFZ3LdChW/external_accounts" + "url": "/v1/accounts/acct_1OtJPo4KFBgILUOM/external_accounts" }, "future_requirements": { "alternatives": [], @@ -336,10 +330,10 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:45:51 GMT + recorded_at: Tue, 12 Mar 2024 00:42:02 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1OriCfKuuB1fWySnpdQgSwLL + uri: https://api.stripe.com/v1/payment_methods/pm_1OtJPoKuuB1fWySnfhsQradh body: encoding: US-ASCII string: '' @@ -351,14 +345,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VBjKaqBajh3f6L","request_duration_ms":1626}}' + - '{"last_request_metrics":{"request_id":"req_reL9tquyA5MrwJ","request_duration_ms":1891}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -371,7 +362,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:51 GMT + - Tue, 12 Mar 2024 00:42:02 GMT Content-Type: - application/json Content-Length: @@ -399,7 +390,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_fn44zyRIZTLQ5N + - req_aeNk3rsdThVNKj Stripe-Version: - '2023-10-16' Vary: @@ -412,7 +403,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCfKuuB1fWySnpdQgSwLL", + "id": "pm_1OtJPoKuuB1fWySnfhsQradh", "object": "payment_method", "billing_details": { "address": { @@ -453,13 +444,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822749, + "created": 1710204120, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:45:51 GMT + recorded_at: Tue, 12 Mar 2024 00:42:02 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -474,16 +465,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fn44zyRIZTLQ5N","request_duration_ms":381}}' + - '{"last_request_metrics":{"request_id":"req_aeNk3rsdThVNKj","request_duration_ms":288}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriCg4CFZ3LdChW + - acct_1OtJPo4KFBgILUOM Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -496,7 +484,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:52 GMT + - Tue, 12 Mar 2024 00:42:03 GMT Content-Type: - application/json Content-Length: @@ -523,9 +511,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_2f9qDn0mfR22Se + - req_p17paGyk3midQO Stripe-Account: - - acct_1OriCg4CFZ3LdChW + - acct_1OtJPo4KFBgILUOM Stripe-Version: - '2023-10-16' Vary: @@ -543,13 +531,13 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Thu, 07 Mar 2024 14:45:52 GMT + recorded_at: Tue, 12 Mar 2024 00:42:03 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: payment_method=pm_1OriCfKuuB1fWySnpdQgSwLL + string: payment_method=pm_1OtJPoKuuB1fWySnfhsQradh headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -558,16 +546,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2f9qDn0mfR22Se","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_p17paGyk3midQO","request_duration_ms":367}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriCg4CFZ3LdChW + - acct_1OtJPo4KFBgILUOM Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -580,7 +565,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:52 GMT + - Tue, 12 Mar 2024 00:42:03 GMT Content-Type: - application/json Content-Length: @@ -607,13 +592,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fcd7e05e-1296-4dbb-8ccf-b4a8ee1804d5 + - 8353cc22-4420-4c12-9da3-8e2c74b9a531 Original-Request: - - req_1EalKMn4M5DCqZ + - req_78SyWkSlN35oWJ Request-Id: - - req_1EalKMn4M5DCqZ + - req_78SyWkSlN35oWJ Stripe-Account: - - acct_1OriCg4CFZ3LdChW + - acct_1OtJPo4KFBgILUOM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -628,7 +613,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCi4CFZ3LdChWTjz0x3C0", + "id": "pm_1OtJPr4KFBgILUOMRuUfPmoL", "object": "payment_method", "billing_details": { "address": { @@ -669,11 +654,11 @@ http_interactions: }, "wallet": null }, - "created": 1709822752, + "created": 1710204123, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:45:52 GMT + recorded_at: Tue, 12 Mar 2024 00:42:03 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml index 984a09eb44..6028ee0add 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1EalKMn4M5DCqZ","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_78SyWkSlN35oWJ","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:53 GMT + - Tue, 12 Mar 2024 00:42:04 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '018905b8-f5c0-4087-9345-572793557b15' + - '084b70ac-923d-4387-994e-ac0fa9a6f467' Original-Request: - - req_gxQPjhJV5NIqkv + - req_p3NBRVUUEnrpxS Request-Id: - - req_gxQPjhJV5NIqkv + - req_p3NBRVUUEnrpxS Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCjKuuB1fWySnRK5Aqo2H", + "id": "pm_1OtJPsKuuB1fWySnfAJy7ydH", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +118,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822753, + "created": 1710204124, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:45:53 GMT + recorded_at: Tue, 12 Mar 2024 00:42:04 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gxQPjhJV5NIqkv","request_duration_ms":474}}' + - '{"last_request_metrics":{"request_id":"req_p3NBRVUUEnrpxS","request_duration_ms":429}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:53 GMT + - Tue, 12 Mar 2024 00:42:04 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2bc2adfc-47b3-4c4f-be0b-e36a344d1e7f + - e5e1ff73-32f8-4d3a-8348-14f22875dd6c Original-Request: - - req_0sDdCeBKQsUMn1 + - req_xysp6U3Y0Na5uM Request-Id: - - req_0sDdCeBKQsUMn1 + - req_xysp6U3Y0Na5uM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +202,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6PSagrl74Spi", + "id": "cus_PikvhEeATNGL3X", "object": "customer", "address": null, "balance": 0, - "created": 1709822753, + "created": 1710204124, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "A136EF50", + "invoice_prefix": "4E18B31B", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,13 +230,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:45:53 GMT + recorded_at: Tue, 12 Mar 2024 00:42:04 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OriCjKuuB1fWySnRK5Aqo2H/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OtJPsKuuB1fWySnfAJy7ydH/attach body: encoding: UTF-8 - string: customer=cus_Ph6PSagrl74Spi + string: customer=cus_PikvhEeATNGL3X headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -251,14 +245,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0sDdCeBKQsUMn1","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_xysp6U3Y0Na5uM","request_duration_ms":501}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -271,7 +262,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:54 GMT + - Tue, 12 Mar 2024 00:42:05 GMT Content-Type: - application/json Content-Length: @@ -299,11 +290,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 132039b6-c3b5-4389-b355-a2d03ccf839e + - bf90cde0-2cb1-457c-83cb-4f40d183a39d Original-Request: - - req_GcgVcv8g34w0fF + - req_y83HLd4ETWEYSP Request-Id: - - req_GcgVcv8g34w0fF + - req_y83HLd4ETWEYSP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +309,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCjKuuB1fWySnRK5Aqo2H", + "id": "pm_1OtJPsKuuB1fWySnfAJy7ydH", "object": "payment_method", "billing_details": { "address": { @@ -359,13 +350,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822753, - "customer": "cus_Ph6PSagrl74Spi", + "created": 1710204124, + "customer": "cus_PikvhEeATNGL3X", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:45:54 GMT + recorded_at: Tue, 12 Mar 2024 00:42:05 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -380,14 +371,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GcgVcv8g34w0fF","request_duration_ms":612}}' + - '{"last_request_metrics":{"request_id":"req_y83HLd4ETWEYSP","request_duration_ms":818}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -400,7 +388,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:56 GMT + - Tue, 12 Mar 2024 00:42:07 GMT Content-Type: - application/json Content-Length: @@ -427,11 +415,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2a185c66-c9df-4201-bfa5-cc27491636d7 + - c1d5dcd1-23c0-46ec-889a-85b3e87701e0 Original-Request: - - req_kjwyQLhQp661Sy + - req_t4d2akQbz69WXY Request-Id: - - req_kjwyQLhQp661Sy + - req_t4d2akQbz69WXY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -446,7 +434,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OriCk4DUPJtJeIF", + "id": "acct_1OtJPtQPamH8qwFf", "object": "account", "business_profile": { "annual_revenue": null, @@ -468,7 +456,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822755, + "created": 1710204126, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -477,7 +465,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OriCk4DUPJtJeIF/external_accounts" + "url": "/v1/accounts/acct_1OtJPtQPamH8qwFf/external_accounts" }, "future_requirements": { "alternatives": [], @@ -574,10 +562,10 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:45:56 GMT + recorded_at: Tue, 12 Mar 2024 00:42:07 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1OriCjKuuB1fWySnRK5Aqo2H + uri: https://api.stripe.com/v1/payment_methods/pm_1OtJPsKuuB1fWySnfAJy7ydH body: encoding: US-ASCII string: '' @@ -589,14 +577,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kjwyQLhQp661Sy","request_duration_ms":1917}}' + - '{"last_request_metrics":{"request_id":"req_t4d2akQbz69WXY","request_duration_ms":2038}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -609,7 +594,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:56 GMT + - Tue, 12 Mar 2024 00:42:07 GMT Content-Type: - application/json Content-Length: @@ -637,7 +622,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_TOgYD4h4XaFJTN + - req_Dq9X8WUWGvV9z2 Stripe-Version: - '2023-10-16' Vary: @@ -650,7 +635,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCjKuuB1fWySnRK5Aqo2H", + "id": "pm_1OtJPsKuuB1fWySnfAJy7ydH", "object": "payment_method", "billing_details": { "address": { @@ -691,13 +676,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822753, - "customer": "cus_Ph6PSagrl74Spi", + "created": 1710204124, + "customer": "cus_PikvhEeATNGL3X", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:45:56 GMT + recorded_at: Tue, 12 Mar 2024 00:42:07 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -712,16 +697,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TOgYD4h4XaFJTN","request_duration_ms":299}}' + - '{"last_request_metrics":{"request_id":"req_Dq9X8WUWGvV9z2","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriCk4DUPJtJeIF + - acct_1OtJPtQPamH8qwFf Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -734,7 +716,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:56 GMT + - Tue, 12 Mar 2024 00:42:08 GMT Content-Type: - application/json Content-Length: @@ -761,9 +743,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_jiYoKAfqJTonOd + - req_HniZsLcuU5EtO7 Stripe-Account: - - acct_1OriCk4DUPJtJeIF + - acct_1OtJPtQPamH8qwFf Stripe-Version: - '2023-10-16' Vary: @@ -781,13 +763,13 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Thu, 07 Mar 2024 14:45:57 GMT + recorded_at: Tue, 12 Mar 2024 00:42:08 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: customer=cus_Ph6PSagrl74Spi&payment_method=pm_1OriCjKuuB1fWySnRK5Aqo2H + string: customer=cus_PikvhEeATNGL3X&payment_method=pm_1OtJPsKuuB1fWySnfAJy7ydH headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -796,16 +778,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jiYoKAfqJTonOd","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_HniZsLcuU5EtO7","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriCk4DUPJtJeIF + - acct_1OtJPtQPamH8qwFf Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -818,7 +797,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:57 GMT + - Tue, 12 Mar 2024 00:42:08 GMT Content-Type: - application/json Content-Length: @@ -845,13 +824,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fb427578-f1a2-4ea6-8c3c-9bd7be2bb7ea + - 5e78b217-d445-4e6b-b838-33f7de0ee9ab Original-Request: - - req_rEuoXQlrFTR0nn + - req_HxbobSRFBT4tsd Request-Id: - - req_rEuoXQlrFTR0nn + - req_HxbobSRFBT4tsd Stripe-Account: - - acct_1OriCk4DUPJtJeIF + - acct_1OtJPtQPamH8qwFf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -866,7 +845,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCn4DUPJtJeIFFqJgz2Ra", + "id": "pm_1OtJPwQPamH8qwFf1xMszZIW", "object": "payment_method", "billing_details": { "address": { @@ -907,13 +886,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822757, + "created": 1710204128, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:45:57 GMT + recorded_at: Tue, 12 Mar 2024 00:42:08 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -928,16 +907,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rEuoXQlrFTR0nn","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_HxbobSRFBT4tsd","request_duration_ms":411}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriCk4DUPJtJeIF + - acct_1OtJPtQPamH8qwFf Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -950,7 +926,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:57 GMT + - Tue, 12 Mar 2024 00:42:09 GMT Content-Type: - application/json Content-Length: @@ -977,13 +953,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 63e24965-a4a4-413a-9d41-28ba9ee3b8f5 + - 15598e86-f9d9-4f3d-bdc6-7da91e3e10e5 Original-Request: - - req_njc04PUaa6nmNZ + - req_e5p2ZIWWpzMtpe Request-Id: - - req_njc04PUaa6nmNZ + - req_e5p2ZIWWpzMtpe Stripe-Account: - - acct_1OriCk4DUPJtJeIF + - acct_1OtJPtQPamH8qwFf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -998,18 +974,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6PamG8UQgtA5", + "id": "cus_PikvIcQ0V0OFmt", "object": "customer", "address": null, "balance": 0, - "created": 1709822757, + "created": 1710204128, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "56C2C8E5", + "invoice_prefix": "3B88A896", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -1026,13 +1002,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:45:57 GMT + recorded_at: Tue, 12 Mar 2024 00:42:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OriCn4DUPJtJeIFFqJgz2Ra/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OtJPwQPamH8qwFf1xMszZIW/attach body: encoding: UTF-8 - string: customer=cus_Ph6PamG8UQgtA5 + string: customer=cus_PikvIcQ0V0OFmt headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -1041,16 +1017,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_njc04PUaa6nmNZ","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_e5p2ZIWWpzMtpe","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriCk4DUPJtJeIF + - acct_1OtJPtQPamH8qwFf Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1063,7 +1036,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:58 GMT + - Tue, 12 Mar 2024 00:42:09 GMT Content-Type: - application/json Content-Length: @@ -1091,13 +1064,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a718697c-6fb2-4b06-8cc4-2cf94664fd6e + - bcd1130a-9cf7-40af-bc16-fdd36e459c09 Original-Request: - - req_sK394orMBQpbR7 + - req_2tXb2jT5yyt9N2 Request-Id: - - req_sK394orMBQpbR7 + - req_2tXb2jT5yyt9N2 Stripe-Account: - - acct_1OriCk4DUPJtJeIF + - acct_1OtJPtQPamH8qwFf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1112,7 +1085,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCn4DUPJtJeIFFqJgz2Ra", + "id": "pm_1OtJPwQPamH8qwFf1xMszZIW", "object": "payment_method", "billing_details": { "address": { @@ -1153,16 +1126,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822757, - "customer": "cus_Ph6PamG8UQgtA5", + "created": 1710204128, + "customer": "cus_PikvIcQ0V0OFmt", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:45:58 GMT + recorded_at: Tue, 12 Mar 2024 00:42:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OriCn4DUPJtJeIFFqJgz2Ra + uri: https://api.stripe.com/v1/payment_methods/pm_1OtJPwQPamH8qwFf1xMszZIW body: encoding: UTF-8 string: metadata[ofn-clone]=true @@ -1174,16 +1147,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sK394orMBQpbR7","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_2tXb2jT5yyt9N2","request_duration_ms":392}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriCk4DUPJtJeIF + - acct_1OtJPtQPamH8qwFf Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1196,7 +1166,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:58 GMT + - Tue, 12 Mar 2024 00:42:09 GMT Content-Type: - application/json Content-Length: @@ -1224,13 +1194,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f5028567-0178-4f4a-8ad7-4f35133a4e20 + - d67adb2c-f386-4cb4-82be-503d6fa3f9be Original-Request: - - req_3Su3ysZpjMCkX3 + - req_DwNoT7pynHL20n Request-Id: - - req_3Su3ysZpjMCkX3 + - req_DwNoT7pynHL20n Stripe-Account: - - acct_1OriCk4DUPJtJeIF + - acct_1OtJPtQPamH8qwFf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1245,7 +1215,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCn4DUPJtJeIFFqJgz2Ra", + "id": "pm_1OtJPwQPamH8qwFf1xMszZIW", "object": "payment_method", "billing_details": { "address": { @@ -1286,13 +1256,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822757, - "customer": "cus_Ph6PamG8UQgtA5", + "created": 1710204128, + "customer": "cus_PikvIcQ0V0OFmt", "livemode": false, "metadata": { "ofn-clone": "true" }, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:45:58 GMT + recorded_at: Tue, 12 Mar 2024 00:42:09 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml index 575ac05a1a..fc25424597 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TPXRfe2UMiqWDT","request_duration_ms":714}}' + - '{"last_request_metrics":{"request_id":"req_D0EFwMYMIKVqnd","request_duration_ms":684}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:04 GMT + - Tue, 12 Mar 2024 00:42:14 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 128431ab-43a1-47ed-8056-5a8bbd32168b + - 29a1e7f6-91e6-40d9-988a-c73c66270c1d Original-Request: - - req_h8LXdGtSHiZ1sO + - req_YtIQrpyWFBhQmT Request-Id: - - req_h8LXdGtSHiZ1sO + - req_YtIQrpyWFBhQmT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCtKuuB1fWySnxpKefiCn", + "id": "pm_1OtJQ2KuuB1fWySnMpw6fVpe", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +118,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822763, + "created": 1710204134, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:04 GMT + recorded_at: Tue, 12 Mar 2024 00:42:14 GMT - request: method: get uri: https://api.stripe.com/v1/customers/non_existing_customer_id @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_h8LXdGtSHiZ1sO","request_duration_ms":540}}' + - '{"last_request_metrics":{"request_id":"req_YtIQrpyWFBhQmT","request_duration_ms":419}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:04 GMT + - Tue, 12 Mar 2024 00:42:14 GMT Content-Type: - application/json Content-Length: @@ -190,7 +184,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_XjCvwiYNgyMGUs + - req_seIfoVEzAEj9WA Stripe-Version: - '2023-10-16' Vary: @@ -208,9 +202,9 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/resource-missing", "message": "No such customer: 'non_existing_customer_id'", "param": "id", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_XjCvwiYNgyMGUs?t=1709822764", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_seIfoVEzAEj9WA?t=1710204134", "type": "invalid_request_error" } } - recorded_at: Thu, 07 Mar 2024 14:46:04 GMT + recorded_at: Tue, 12 Mar 2024 00:42:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml index a499a61cdf..3e3a6012d5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZtaZfLKOVUvaj3","request_duration_ms":390}}' + - '{"last_request_metrics":{"request_id":"req_SmCwC0vFIwBMOZ","request_duration_ms":413}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:02 GMT + - Tue, 12 Mar 2024 00:42:12 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - df1e7c12-ecbc-42b0-a208-4083667ea4b5 + - a194835a-e07e-4cca-88c2-7ca5f0c6f742 Original-Request: - - req_J1YxKH2juLmJoK + - req_XZzrKJNqA1xQD3 Request-Id: - - req_J1YxKH2juLmJoK + - req_XZzrKJNqA1xQD3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCrKuuB1fWySnLANtZAEj", + "id": "pm_1OtJQ0KuuB1fWySnF73mJfxJ", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +118,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822762, + "created": 1710204132, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:02 GMT + recorded_at: Tue, 12 Mar 2024 00:42:12 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_J1YxKH2juLmJoK","request_duration_ms":475}}' + - '{"last_request_metrics":{"request_id":"req_XZzrKJNqA1xQD3","request_duration_ms":470}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:02 GMT + - Tue, 12 Mar 2024 00:42:13 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d500d13f-d97c-40a9-a51c-eff630e0fa20 + - 58447800-e9f1-409e-980d-cf191e7ed76c Original-Request: - - req_jcuFLzcZAtHIkG + - req_xI4cLhsxJozAiX Request-Id: - - req_jcuFLzcZAtHIkG + - req_xI4cLhsxJozAiX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +202,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6P5AOuPfJo7D", + "id": "cus_Pikvs5u7VIkBTV", "object": "customer", "address": null, "balance": 0, - "created": 1709822762, + "created": 1710204133, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "61EFF06D", + "invoice_prefix": "32B54A18", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,13 +230,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:46:02 GMT + recorded_at: Tue, 12 Mar 2024 00:42:13 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OriCrKuuB1fWySnLANtZAEj/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OtJQ0KuuB1fWySnF73mJfxJ/attach body: encoding: UTF-8 - string: customer=cus_Ph6P5AOuPfJo7D + string: customer=cus_Pikvs5u7VIkBTV headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -251,14 +245,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jcuFLzcZAtHIkG","request_duration_ms":537}}' + - '{"last_request_metrics":{"request_id":"req_xI4cLhsxJozAiX","request_duration_ms":386}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -271,7 +262,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:03 GMT + - Tue, 12 Mar 2024 00:42:13 GMT Content-Type: - application/json Content-Length: @@ -299,11 +290,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5815be20-5391-478a-8bea-cfcbdcc9f655 + - 733d7bcc-3d67-4741-bc72-3c4a34dfb6f7 Original-Request: - - req_TPXRfe2UMiqWDT + - req_D0EFwMYMIKVqnd Request-Id: - - req_TPXRfe2UMiqWDT + - req_D0EFwMYMIKVqnd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +309,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCrKuuB1fWySnLANtZAEj", + "id": "pm_1OtJQ0KuuB1fWySnF73mJfxJ", "object": "payment_method", "billing_details": { "address": { @@ -359,11 +350,11 @@ http_interactions: }, "wallet": null }, - "created": 1709822762, - "customer": "cus_Ph6P5AOuPfJo7D", + "created": 1710204132, + "customer": "cus_Pikvs5u7VIkBTV", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:03 GMT + recorded_at: Tue, 12 Mar 2024 00:42:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml index eaf6ac9481..ab9c51b072 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3Su3ysZpjMCkX3","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_DwNoT7pynHL20n","request_duration_ms":422}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:59 GMT + - Tue, 12 Mar 2024 00:42:10 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7ba51365-574b-417b-aa2c-1cf47b3c3198 + - 3b427b20-8025-4957-b887-12552c2554d4 Original-Request: - - req_12tgd96593w2hN + - req_tWOHm1QbeN3XSY Request-Id: - - req_12tgd96593w2hN + - req_tWOHm1QbeN3XSY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCpKuuB1fWySnx67pDYjy", + "id": "pm_1OtJPyKuuB1fWySnZ18jfCnn", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +118,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822759, + "created": 1710204130, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:45:59 GMT + recorded_at: Tue, 12 Mar 2024 00:42:10 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_12tgd96593w2hN","request_duration_ms":422}}' + - '{"last_request_metrics":{"request_id":"req_tWOHm1QbeN3XSY","request_duration_ms":488}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:45:59 GMT + - Tue, 12 Mar 2024 00:42:10 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6a926d26-650c-4b10-a610-af043e1f1393 + - f5989995-1336-41a8-99c7-df28714feeff Original-Request: - - req_SoaD8jdAW5R3n4 + - req_VRvRwTS2laqbVA Request-Id: - - req_SoaD8jdAW5R3n4 + - req_VRvRwTS2laqbVA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +202,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6PiBURQh2ZHR", + "id": "cus_PikvzWNtQ8ba3O", "object": "customer", "address": null, "balance": 0, - "created": 1709822759, + "created": 1710204130, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "F0747E90", + "invoice_prefix": "401295A4", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,13 +230,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:46:00 GMT + recorded_at: Tue, 12 Mar 2024 00:42:10 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OriCpKuuB1fWySnx67pDYjy/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OtJPyKuuB1fWySnZ18jfCnn/attach body: encoding: UTF-8 - string: customer=cus_Ph6PiBURQh2ZHR + string: customer=cus_PikvzWNtQ8ba3O headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -251,14 +245,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SoaD8jdAW5R3n4","request_duration_ms":519}}' + - '{"last_request_metrics":{"request_id":"req_VRvRwTS2laqbVA","request_duration_ms":428}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -271,7 +262,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:00 GMT + - Tue, 12 Mar 2024 00:42:11 GMT Content-Type: - application/json Content-Length: @@ -299,11 +290,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 79ad2cb8-ec26-4fe2-853f-8f36004be857 + - f8ab1305-3a25-4d01-aca4-c494951471e5 Original-Request: - - req_42qvjXJI7ycXxM + - req_gEwonrzBME7M9l Request-Id: - - req_42qvjXJI7ycXxM + - req_gEwonrzBME7M9l Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +309,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCpKuuB1fWySnx67pDYjy", + "id": "pm_1OtJPyKuuB1fWySnZ18jfCnn", "object": "payment_method", "billing_details": { "address": { @@ -359,16 +350,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822759, - "customer": "cus_Ph6PiBURQh2ZHR", + "created": 1710204130, + "customer": "cus_PikvzWNtQ8ba3O", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:00 GMT + recorded_at: Tue, 12 Mar 2024 00:42:11 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_Ph6PiBURQh2ZHR + uri: https://api.stripe.com/v1/customers/cus_PikvzWNtQ8ba3O body: encoding: US-ASCII string: '' @@ -380,14 +371,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_42qvjXJI7ycXxM","request_duration_ms":724}}' + - '{"last_request_metrics":{"request_id":"req_gEwonrzBME7M9l","request_duration_ms":753}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -400,7 +388,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:01 GMT + - Tue, 12 Mar 2024 00:42:11 GMT Content-Type: - application/json Content-Length: @@ -428,7 +416,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_6y2jjnoducXs5m + - req_PncwoPyovLyQb4 Stripe-Version: - '2023-10-16' Vary: @@ -441,18 +429,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6PiBURQh2ZHR", + "id": "cus_PikvzWNtQ8ba3O", "object": "customer", "address": null, "balance": 0, - "created": 1709822759, + "created": 1710204130, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "F0747E90", + "invoice_prefix": "401295A4", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -469,10 +457,10 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:46:01 GMT + recorded_at: Tue, 12 Mar 2024 00:42:11 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_Ph6PiBURQh2ZHR + uri: https://api.stripe.com/v1/customers/cus_PikvzWNtQ8ba3O body: encoding: US-ASCII string: '' @@ -484,14 +472,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6y2jjnoducXs5m","request_duration_ms":370}}' + - '{"last_request_metrics":{"request_id":"req_PncwoPyovLyQb4","request_duration_ms":302}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -504,7 +489,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:01 GMT + - Tue, 12 Mar 2024 00:42:12 GMT Content-Type: - application/json Content-Length: @@ -532,7 +517,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_ZtaZfLKOVUvaj3 + - req_SmCwC0vFIwBMOZ Stripe-Version: - '2023-10-16' Vary: @@ -545,9 +530,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6PiBURQh2ZHR", + "id": "cus_PikvzWNtQ8ba3O", "object": "customer", "deleted": true } - recorded_at: Thu, 07 Mar 2024 14:46:01 GMT + recorded_at: Tue, 12 Mar 2024 00:42:12 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 8fd5426247..4c7fcd7538 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZzDxRkQBr0dXKD","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_Dtn9p0M1OUDHIg","request_duration_ms":448}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:56 GMT + - Tue, 12 Mar 2024 00:43:55 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4f1a6b34-d2b2-4f13-b2b7-3b43839b30dd + - 96479c69-30de-4385-a0c7-7858d261a8bb Original-Request: - - req_UBDXgiNYG7LdR2 + - req_GsLNfH3jhyefBP Request-Id: - - req_UBDXgiNYG7LdR2 + - req_GsLNfH3jhyefBP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEhKuuB1fWySnr2ZH3AfS", + "id": "pm_1OtJReKuuB1fWySnp719TDDz", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822876, + "created": 1710204235, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:56 GMT + recorded_at: Tue, 12 Mar 2024 00:43:55 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriEhKuuB1fWySnr2ZH3AfS&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJReKuuB1fWySnp719TDDz&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UBDXgiNYG7LdR2","request_duration_ms":425}}' + - '{"last_request_metrics":{"request_id":"req_GsLNfH3jhyefBP","request_duration_ms":446}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:56 GMT + - Tue, 12 Mar 2024 00:43:55 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2520c76d-0412-4508-ac23-045272f8c6f8 + - e6038cb7-9385-49e3-b224-ab1d09cf88f5 Original-Request: - - req_PK8pPZXhK0xwdf + - req_RJPs97R1gDwNAf Request-Id: - - req_PK8pPZXhK0xwdf + - req_RJPs97R1gDwNAf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEiKuuB1fWySn0WkNvRLP", + "id": "pi_3OtJRfKuuB1fWySn2xD7sXKV", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEiKuuB1fWySn0WkNvRLP_secret_mwoU0UCKpBt58Qw67E2qWYw04", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822876, + "created": 1710204235, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEhKuuB1fWySnr2ZH3AfS", + "payment_method": "pm_1OtJReKuuB1fWySnp719TDDz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:56 GMT + recorded_at: Tue, 12 Mar 2024 00:43:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEiKuuB1fWySn0WkNvRLP/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRfKuuB1fWySn2xD7sXKV/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PK8pPZXhK0xwdf","request_duration_ms":445}}' + - '{"last_request_metrics":{"request_id":"req_RJPs97R1gDwNAf","request_duration_ms":513}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:57 GMT + - Tue, 12 Mar 2024 00:43:56 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7dd97cf2-1cf7-4c3a-8927-c01fa2b3e06c + - c7d2f7a8-fc1f-407e-b542-90694a558b59 Original-Request: - - req_6wZGYD5XKYwNtw + - req_HMeDvAJscrMMfH Request-Id: - - req_6wZGYD5XKYwNtw + - req_HMeDvAJscrMMfH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OriEiKuuB1fWySn0dUUc166", + "charge": "ch_3OtJRfKuuB1fWySn2k75HZmT", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_intent": { - "id": "pi_3OriEiKuuB1fWySn0WkNvRLP", + "id": "pi_3OtJRfKuuB1fWySn2xD7sXKV", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +355,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEiKuuB1fWySn0WkNvRLP_secret_mwoU0UCKpBt58Qw67E2qWYw04", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822876, + "created": 1710204235, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OriEiKuuB1fWySn0dUUc166", + "charge": "ch_3OtJRfKuuB1fWySn2k75HZmT", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_method": { - "id": "pm_1OriEhKuuB1fWySnr2ZH3AfS", + "id": "pm_1OtJReKuuB1fWySnp719TDDz", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822876, + "created": 1710204235, "customer": null, "livemode": false, "metadata": { @@ -428,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OriEiKuuB1fWySn0dUUc166", + "latest_charge": "ch_3OtJRfKuuB1fWySn2k75HZmT", "livemode": false, "metadata": { }, @@ -460,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OriEhKuuB1fWySnr2ZH3AfS", + "id": "pm_1OtJReKuuB1fWySnp719TDDz", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822876, + "created": 1710204235, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_6wZGYD5XKYwNtw?t=1709822876", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_HMeDvAJscrMMfH?t=1710204235", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:47:57 GMT + recorded_at: Tue, 12 Mar 2024 00:43:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 23f0d993c8..066e282e24 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_k8Kq3xIk686y3x","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_SZaPiI98N8S53Q","request_duration_ms":464}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:49 GMT + - Tue, 12 Mar 2024 00:43:49 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - eb6fb4cc-10f0-4a92-98d4-2b4ba467acbc + - 8e2180b8-98fd-412a-b73c-17e1271f818d Original-Request: - - req_biPBmBfICZUqNj + - req_KbTmnHkI0Fa9Y1 Request-Id: - - req_biPBmBfICZUqNj + - req_KbTmnHkI0Fa9Y1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEbKuuB1fWySnfUndN7tJ", + "id": "pm_1OtJRYKuuB1fWySnrTnN0jCE", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822869, + "created": 1710204228, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:49 GMT + recorded_at: Tue, 12 Mar 2024 00:43:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriEbKuuB1fWySnfUndN7tJ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJRYKuuB1fWySnrTnN0jCE&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_biPBmBfICZUqNj","request_duration_ms":454}}' + - '{"last_request_metrics":{"request_id":"req_KbTmnHkI0Fa9Y1","request_duration_ms":500}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:50 GMT + - Tue, 12 Mar 2024 00:43:49 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f1b1b715-a98e-47f3-bc58-e776c48ebe0b + - eff536a4-dd03-4a13-bece-8724ec281647 Original-Request: - - req_ZIYmtkntyZfb4V + - req_8sTrkZZ3VTeEcd Request-Id: - - req_ZIYmtkntyZfb4V + - req_8sTrkZZ3VTeEcd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEbKuuB1fWySn1KPEQSNN", + "id": "pi_3OtJRZKuuB1fWySn1RVZ8hfo", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEbKuuB1fWySn1KPEQSNN_secret_a8eMZeV0NxASwP6YId49K3ZHb", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822869, + "created": 1710204229, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEbKuuB1fWySnfUndN7tJ", + "payment_method": "pm_1OtJRYKuuB1fWySnrTnN0jCE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:50 GMT + recorded_at: Tue, 12 Mar 2024 00:43:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEbKuuB1fWySn1KPEQSNN/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRZKuuB1fWySn1RVZ8hfo/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZIYmtkntyZfb4V","request_duration_ms":496}}' + - '{"last_request_metrics":{"request_id":"req_8sTrkZZ3VTeEcd","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:51 GMT + - Tue, 12 Mar 2024 00:43:50 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 11db9240-433b-460c-8635-00b3e86df2cc + - aa398134-b762-4cf1-811e-fd7a44df8332 Original-Request: - - req_3KeKV1hQCAJMpK + - req_jfT67dATyT5zvl Request-Id: - - req_3KeKV1hQCAJMpK + - req_jfT67dATyT5zvl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OriEbKuuB1fWySn1f3KBq4y", + "charge": "ch_3OtJRZKuuB1fWySn13qIWK3S", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_intent": { - "id": "pi_3OriEbKuuB1fWySn1KPEQSNN", + "id": "pi_3OtJRZKuuB1fWySn1RVZ8hfo", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +355,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEbKuuB1fWySn1KPEQSNN_secret_a8eMZeV0NxASwP6YId49K3ZHb", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822869, + "created": 1710204229, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OriEbKuuB1fWySn1f3KBq4y", + "charge": "ch_3OtJRZKuuB1fWySn13qIWK3S", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_method": { - "id": "pm_1OriEbKuuB1fWySnfUndN7tJ", + "id": "pm_1OtJRYKuuB1fWySnrTnN0jCE", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822869, + "created": 1710204228, "customer": null, "livemode": false, "metadata": { @@ -428,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OriEbKuuB1fWySn1f3KBq4y", + "latest_charge": "ch_3OtJRZKuuB1fWySn13qIWK3S", "livemode": false, "metadata": { }, @@ -460,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OriEbKuuB1fWySnfUndN7tJ", + "id": "pm_1OtJRYKuuB1fWySnrTnN0jCE", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822869, + "created": 1710204228, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_3KeKV1hQCAJMpK?t=1709822870", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_jfT67dATyT5zvl?t=1710204229", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:47:51 GMT + recorded_at: Tue, 12 Mar 2024 00:43:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 8e88f78879..8e32bffcce 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bJVYoResSRIgAQ","request_duration_ms":367}}' + - '{"last_request_metrics":{"request_id":"req_ClMkHqnJXF0G5M","request_duration_ms":613}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:41 GMT + - Tue, 12 Mar 2024 00:43:41 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7e43a0e4-4b43-46f2-8a67-21e30501f76c + - 6557f7d2-fb76-41a2-bfb7-9ba1152e316a Original-Request: - - req_jBEQOVfQM5JOVX + - req_CwLsBhjIqEdlti Request-Id: - - req_jBEQOVfQM5JOVX + - req_CwLsBhjIqEdlti Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriESKuuB1fWySnYWmboiL9", + "id": "pm_1OtJRRKuuB1fWySn6nVITKxY", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822860, + "created": 1710204221, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:41 GMT + recorded_at: Tue, 12 Mar 2024 00:43:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriESKuuB1fWySnYWmboiL9&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJRRKuuB1fWySn6nVITKxY&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jBEQOVfQM5JOVX","request_duration_ms":560}}' + - '{"last_request_metrics":{"request_id":"req_CwLsBhjIqEdlti","request_duration_ms":497}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:41 GMT + - Tue, 12 Mar 2024 00:43:41 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5ca2485e-96bb-4c69-9376-8c453b0f6ab6 + - c0cc5579-17b2-4cf3-b4b8-e69c6d40227f Original-Request: - - req_4oGqHpMrG8OShF + - req_JtfxLm95FMGOai Request-Id: - - req_4oGqHpMrG8OShF + - req_JtfxLm95FMGOai Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriETKuuB1fWySn18la6viF", + "id": "pi_3OtJRRKuuB1fWySn0lqB1iM9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriETKuuB1fWySn18la6viF_secret_dkB3hBDXpnqgNmVG9o057TEiI", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822861, + "created": 1710204221, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriESKuuB1fWySnYWmboiL9", + "payment_method": "pm_1OtJRRKuuB1fWySn6nVITKxY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:41 GMT + recorded_at: Tue, 12 Mar 2024 00:43:41 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriETKuuB1fWySn18la6viF/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRRKuuB1fWySn0lqB1iM9/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4oGqHpMrG8OShF","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_JtfxLm95FMGOai","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:42 GMT + - Tue, 12 Mar 2024 00:43:42 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f48bfb8d-1b68-48ca-ac7b-12d4b4f89180 + - f04b368f-a139-429e-b8cc-9d62f6f9537c Original-Request: - - req_gtO2cN4GhxIdPa + - req_yLYSwb8wE87va2 Request-Id: - - req_gtO2cN4GhxIdPa + - req_yLYSwb8wE87va2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OriETKuuB1fWySn1y9W4fxq", + "charge": "ch_3OtJRRKuuB1fWySn0Neiwlp7", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OriETKuuB1fWySn18la6viF", + "id": "pi_3OtJRRKuuB1fWySn0lqB1iM9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +355,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriETKuuB1fWySn18la6viF_secret_dkB3hBDXpnqgNmVG9o057TEiI", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822861, + "created": 1710204221, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OriETKuuB1fWySn1y9W4fxq", + "charge": "ch_3OtJRRKuuB1fWySn0Neiwlp7", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OriESKuuB1fWySnYWmboiL9", + "id": "pm_1OtJRRKuuB1fWySn6nVITKxY", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822860, + "created": 1710204221, "customer": null, "livemode": false, "metadata": { @@ -428,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OriETKuuB1fWySn1y9W4fxq", + "latest_charge": "ch_3OtJRRKuuB1fWySn0Neiwlp7", "livemode": false, "metadata": { }, @@ -460,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OriESKuuB1fWySnYWmboiL9", + "id": "pm_1OtJRRKuuB1fWySn6nVITKxY", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822860, + "created": 1710204221, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_gtO2cN4GhxIdPa?t=1709822861", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_yLYSwb8wE87va2?t=1710204221", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:47:42 GMT + recorded_at: Tue, 12 Mar 2024 00:43:42 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 891ddf5245..4c56bd684f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZIYmtkntyZfb4V","request_duration_ms":496}}' + - '{"last_request_metrics":{"request_id":"req_8sTrkZZ3VTeEcd","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:51 GMT + - Tue, 12 Mar 2024 00:43:51 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - da84196f-992f-4770-8257-97de5e03f9a1 + - 041deb74-33f4-4345-b15f-fb84ed30ff14 Original-Request: - - req_hJ6rm0JYoj2cJF + - req_dQ8GTWm9GTUuSS Request-Id: - - req_hJ6rm0JYoj2cJF + - req_dQ8GTWm9GTUuSS Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEdKuuB1fWySnnwPbgvUi", + "id": "pm_1OtJRbKuuB1fWySnmPBBJlrR", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822871, + "created": 1710204231, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:51 GMT + recorded_at: Tue, 12 Mar 2024 00:43:51 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriEdKuuB1fWySnnwPbgvUi&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJRbKuuB1fWySnmPBBJlrR&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hJ6rm0JYoj2cJF","request_duration_ms":573}}' + - '{"last_request_metrics":{"request_id":"req_dQ8GTWm9GTUuSS","request_duration_ms":456}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:52 GMT + - Tue, 12 Mar 2024 00:43:51 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8cb114a5-664d-4f50-9957-025379ae146e + - 90279634-1cfa-4cf6-9205-5798d9343704 Original-Request: - - req_MLSIt6Syj8nYDC + - req_vFpugHm6BLgVb3 Request-Id: - - req_MLSIt6Syj8nYDC + - req_vFpugHm6BLgVb3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEeKuuB1fWySn1BgclIzW", + "id": "pi_3OtJRbKuuB1fWySn06uFWJtF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEeKuuB1fWySn1BgclIzW_secret_8ymeelgWYi9CO9CVApUF0ynfX", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822872, + "created": 1710204231, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEdKuuB1fWySnnwPbgvUi", + "payment_method": "pm_1OtJRbKuuB1fWySnmPBBJlrR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:52 GMT + recorded_at: Tue, 12 Mar 2024 00:43:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEeKuuB1fWySn1BgclIzW/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRbKuuB1fWySn06uFWJtF/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MLSIt6Syj8nYDC","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_vFpugHm6BLgVb3","request_duration_ms":453}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:53 GMT + - Tue, 12 Mar 2024 00:43:52 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f94a3580-3cdc-4dee-8473-307abfa259ed + - 7070969d-cb41-4466-8519-7aa8ff0199d8 Original-Request: - - req_jYX61LHM0hZKOx + - req_OZkLnyifTeG2cZ Request-Id: - - req_jYX61LHM0hZKOx + - req_OZkLnyifTeG2cZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OriEeKuuB1fWySn1DC4tfyK", + "charge": "ch_3OtJRbKuuB1fWySn0utClyAP", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_intent": { - "id": "pi_3OriEeKuuB1fWySn1BgclIzW", + "id": "pi_3OtJRbKuuB1fWySn06uFWJtF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +355,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEeKuuB1fWySn1BgclIzW_secret_8ymeelgWYi9CO9CVApUF0ynfX", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822872, + "created": 1710204231, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OriEeKuuB1fWySn1DC4tfyK", + "charge": "ch_3OtJRbKuuB1fWySn0utClyAP", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_method": { - "id": "pm_1OriEdKuuB1fWySnnwPbgvUi", + "id": "pm_1OtJRbKuuB1fWySnmPBBJlrR", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822871, + "created": 1710204231, "customer": null, "livemode": false, "metadata": { @@ -428,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OriEeKuuB1fWySn1DC4tfyK", + "latest_charge": "ch_3OtJRbKuuB1fWySn0utClyAP", "livemode": false, "metadata": { }, @@ -460,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OriEdKuuB1fWySnnwPbgvUi", + "id": "pm_1OtJRbKuuB1fWySnmPBBJlrR", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822871, + "created": 1710204231, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_jYX61LHM0hZKOx?t=1709822872", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_OZkLnyifTeG2cZ?t=1710204231", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:47:53 GMT + recorded_at: Tue, 12 Mar 2024 00:43:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 05fd9b173e..8a2f902317 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4oGqHpMrG8OShF","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_JtfxLm95FMGOai","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:43 GMT + - Tue, 12 Mar 2024 00:43:43 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f0757c3d-4a7d-4e4a-bd22-d21a080e6c83 + - d0b50cab-ed66-4954-813f-c385b2435627 Original-Request: - - req_gMEDj2TkD59XzE + - req_eVSlGwwjGVy3Wm Request-Id: - - req_gMEDj2TkD59XzE + - req_eVSlGwwjGVy3Wm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEUKuuB1fWySnXRekkYj9", + "id": "pm_1OtJRTKuuB1fWySnDu86uDQU", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822863, + "created": 1710204223, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:43 GMT + recorded_at: Tue, 12 Mar 2024 00:43:43 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriEUKuuB1fWySnXRekkYj9&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJRTKuuB1fWySnDu86uDQU&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gMEDj2TkD59XzE","request_duration_ms":564}}' + - '{"last_request_metrics":{"request_id":"req_eVSlGwwjGVy3Wm","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:43 GMT + - Tue, 12 Mar 2024 00:43:43 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 81880293-4e9a-4816-b1de-f9dc8db8e3c9 + - 590b225a-797c-4794-8671-c9caea610f0e Original-Request: - - req_RWz6u9ZJj5nZw1 + - req_bBcI4YUVM7r8J9 Request-Id: - - req_RWz6u9ZJj5nZw1 + - req_bBcI4YUVM7r8J9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEVKuuB1fWySn075Pu9Vv", + "id": "pi_3OtJRTKuuB1fWySn2QOZrPnQ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEVKuuB1fWySn075Pu9Vv_secret_FgIksp54gSKGvzJY7rEmBevHC", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822863, + "created": 1710204223, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEUKuuB1fWySnXRekkYj9", + "payment_method": "pm_1OtJRTKuuB1fWySnDu86uDQU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:43 GMT + recorded_at: Tue, 12 Mar 2024 00:43:43 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEVKuuB1fWySn075Pu9Vv/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRTKuuB1fWySn2QOZrPnQ/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RWz6u9ZJj5nZw1","request_duration_ms":467}}' + - '{"last_request_metrics":{"request_id":"req_bBcI4YUVM7r8J9","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:44 GMT + - Tue, 12 Mar 2024 00:43:44 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ef2f5411-0d7c-4183-bbe4-6201c1e5d989 + - 21a9ab9a-0e24-4a37-a54d-b121d67f26b5 Original-Request: - - req_F6jc14J9VkdPxY + - req_K37BGpKeXOUgdY Request-Id: - - req_F6jc14J9VkdPxY + - req_K37BGpKeXOUgdY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OriEVKuuB1fWySn083POrXD", + "charge": "ch_3OtJRTKuuB1fWySn2zRpCz5m", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_intent": { - "id": "pi_3OriEVKuuB1fWySn075Pu9Vv", + "id": "pi_3OtJRTKuuB1fWySn2QOZrPnQ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +355,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEVKuuB1fWySn075Pu9Vv_secret_FgIksp54gSKGvzJY7rEmBevHC", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822863, + "created": 1710204223, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OriEVKuuB1fWySn083POrXD", + "charge": "ch_3OtJRTKuuB1fWySn2zRpCz5m", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_method": { - "id": "pm_1OriEUKuuB1fWySnXRekkYj9", + "id": "pm_1OtJRTKuuB1fWySnDu86uDQU", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822863, + "created": 1710204223, "customer": null, "livemode": false, "metadata": { @@ -428,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OriEVKuuB1fWySn083POrXD", + "latest_charge": "ch_3OtJRTKuuB1fWySn2zRpCz5m", "livemode": false, "metadata": { }, @@ -460,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OriEUKuuB1fWySnXRekkYj9", + "id": "pm_1OtJRTKuuB1fWySnDu86uDQU", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822863, + "created": 1710204223, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_F6jc14J9VkdPxY?t=1709822863", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_K37BGpKeXOUgdY?t=1710204223", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:47:44 GMT + recorded_at: Tue, 12 Mar 2024 00:43:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 91c2b4110f..2fe22d0a82 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RWz6u9ZJj5nZw1","request_duration_ms":467}}' + - '{"last_request_metrics":{"request_id":"req_bBcI4YUVM7r8J9","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:45 GMT + - Tue, 12 Mar 2024 00:43:45 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4cb11300-96e9-41f5-a03c-e686a73a8a95 + - d30fc3ac-a63a-4a65-b467-63ab43698944 Original-Request: - - req_0fmpzjMqAKDsPo + - req_uz7Qx2VK1mp7GT Request-Id: - - req_0fmpzjMqAKDsPo + - req_uz7Qx2VK1mp7GT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEXKuuB1fWySnUnqSxegb", + "id": "pm_1OtJRUKuuB1fWySndhb5IdED", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822865, + "created": 1710204224, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:45 GMT + recorded_at: Tue, 12 Mar 2024 00:43:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriEXKuuB1fWySnUnqSxegb&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJRUKuuB1fWySndhb5IdED&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0fmpzjMqAKDsPo","request_duration_ms":465}}' + - '{"last_request_metrics":{"request_id":"req_uz7Qx2VK1mp7GT","request_duration_ms":485}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:45 GMT + - Tue, 12 Mar 2024 00:43:45 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4883dcf1-6b90-44e8-bba6-5af17994fb90 + - a172ad31-41c5-4265-812d-6a13b613acd8 Original-Request: - - req_ekEApDU5OYGvX6 + - req_uJn6aREWRDzUbJ Request-Id: - - req_ekEApDU5OYGvX6 + - req_uJn6aREWRDzUbJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEXKuuB1fWySn1s5ZwSCY", + "id": "pi_3OtJRVKuuB1fWySn11JkrqDM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEXKuuB1fWySn1s5ZwSCY_secret_MewO4sVrg7is7o4sk4eXrovY5", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822865, + "created": 1710204225, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEXKuuB1fWySnUnqSxegb", + "payment_method": "pm_1OtJRUKuuB1fWySndhb5IdED", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:45 GMT + recorded_at: Tue, 12 Mar 2024 00:43:45 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEXKuuB1fWySn1s5ZwSCY/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRVKuuB1fWySn11JkrqDM/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ekEApDU5OYGvX6","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_uJn6aREWRDzUbJ","request_duration_ms":425}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:46 GMT + - Tue, 12 Mar 2024 00:43:46 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8e28d48b-6bb2-4de2-bcfd-c4db52b0e712 + - f3fed48b-dfcd-4766-973f-0941901f5426 Original-Request: - - req_FgaGhw8RC9o5Pm + - req_cOJ7qfkGxSq5Ea Request-Id: - - req_FgaGhw8RC9o5Pm + - req_cOJ7qfkGxSq5Ea Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OriEXKuuB1fWySn1Y5WhhiG", + "charge": "ch_3OtJRVKuuB1fWySn1e4Mkk0V", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OriEXKuuB1fWySn1s5ZwSCY", + "id": "pi_3OtJRVKuuB1fWySn11JkrqDM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +355,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEXKuuB1fWySn1s5ZwSCY_secret_MewO4sVrg7is7o4sk4eXrovY5", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822865, + "created": 1710204225, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OriEXKuuB1fWySn1Y5WhhiG", + "charge": "ch_3OtJRVKuuB1fWySn1e4Mkk0V", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OriEXKuuB1fWySnUnqSxegb", + "id": "pm_1OtJRUKuuB1fWySndhb5IdED", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822865, + "created": 1710204224, "customer": null, "livemode": false, "metadata": { @@ -428,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OriEXKuuB1fWySn1Y5WhhiG", + "latest_charge": "ch_3OtJRVKuuB1fWySn1e4Mkk0V", "livemode": false, "metadata": { }, @@ -460,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OriEXKuuB1fWySnUnqSxegb", + "id": "pm_1OtJRUKuuB1fWySndhb5IdED", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822865, + "created": 1710204224, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_FgaGhw8RC9o5Pm?t=1709822865", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_cOJ7qfkGxSq5Ea?t=1710204225", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:47:47 GMT + recorded_at: Tue, 12 Mar 2024 00:43:46 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 5631a37e84..7c82aa94a3 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MLSIt6Syj8nYDC","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_vFpugHm6BLgVb3","request_duration_ms":453}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:53 GMT + - Tue, 12 Mar 2024 00:43:53 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3df18ad6-9f6a-4d94-972b-74e4eefcf8d1 + - 3b650207-7c43-425c-a3d4-dfe983a08d1f Original-Request: - - req_ihaiEog850WDD9 + - req_5sueMlj5OquLeI Request-Id: - - req_ihaiEog850WDD9 + - req_5sueMlj5OquLeI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEfKuuB1fWySnfsNcS8rz", + "id": "pm_1OtJRdKuuB1fWySnvIQ7chve", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822873, + "created": 1710204233, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:54 GMT + recorded_at: Tue, 12 Mar 2024 00:43:53 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriEfKuuB1fWySnfsNcS8rz&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJRdKuuB1fWySnvIQ7chve&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ihaiEog850WDD9","request_duration_ms":465}}' + - '{"last_request_metrics":{"request_id":"req_5sueMlj5OquLeI","request_duration_ms":430}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:54 GMT + - Tue, 12 Mar 2024 00:43:53 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e5c789e9-c888-46e7-8d71-37538c4db390 + - 82472e68-8ea7-4308-9918-2231ef00b8b4 Original-Request: - - req_ZzDxRkQBr0dXKD + - req_Dtn9p0M1OUDHIg Request-Id: - - req_ZzDxRkQBr0dXKD + - req_Dtn9p0M1OUDHIg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEgKuuB1fWySn2JD4uyuK", + "id": "pi_3OtJRdKuuB1fWySn0tUPHoZK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEgKuuB1fWySn2JD4uyuK_secret_5djxhUO7lK8yb8Uv4zqPLO4VX", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822874, + "created": 1710204233, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEfKuuB1fWySnfsNcS8rz", + "payment_method": "pm_1OtJRdKuuB1fWySnvIQ7chve", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:54 GMT + recorded_at: Tue, 12 Mar 2024 00:43:53 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEgKuuB1fWySn2JD4uyuK/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRdKuuB1fWySn0tUPHoZK/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZzDxRkQBr0dXKD","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_Dtn9p0M1OUDHIg","request_duration_ms":448}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:55 GMT + - Tue, 12 Mar 2024 00:43:54 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bcd3f16b-8cdb-439a-ab6e-71723dfb1d64 + - 2ffae563-ae25-4fd7-bd2c-b98c950a7047 Original-Request: - - req_lSeZAnD0lD7jYa + - req_weBOT6I3suFSU0 Request-Id: - - req_lSeZAnD0lD7jYa + - req_weBOT6I3suFSU0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,12 +334,12 @@ http_interactions: string: | { "error": { - "charge": "ch_3OriEgKuuB1fWySn2BKEhrmo", + "charge": "ch_3OtJRdKuuB1fWySn0fVIOf9o", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_intent": { - "id": "pi_3OriEgKuuB1fWySn2JD4uyuK", + "id": "pi_3OtJRdKuuB1fWySn0tUPHoZK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -363,20 +354,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEgKuuB1fWySn2JD4uyuK_secret_5djxhUO7lK8yb8Uv4zqPLO4VX", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822874, + "created": 1710204233, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OriEgKuuB1fWySn2BKEhrmo", + "charge": "ch_3OtJRdKuuB1fWySn0fVIOf9o", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_method": { - "id": "pm_1OriEfKuuB1fWySnfsNcS8rz", + "id": "pm_1OtJRdKuuB1fWySnvIQ7chve", "object": "payment_method", "billing_details": { "address": { @@ -417,7 +408,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822873, + "created": 1710204233, "customer": null, "livemode": false, "metadata": { @@ -426,7 +417,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OriEgKuuB1fWySn2BKEhrmo", + "latest_charge": "ch_3OtJRdKuuB1fWySn0fVIOf9o", "livemode": false, "metadata": { }, @@ -458,7 +449,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OriEfKuuB1fWySnfsNcS8rz", + "id": "pm_1OtJRdKuuB1fWySnvIQ7chve", "object": "payment_method", "billing_details": { "address": { @@ -499,16 +490,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822873, + "created": 1710204233, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_lSeZAnD0lD7jYa?t=1709822874", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_weBOT6I3suFSU0?t=1710204233", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:47:55 GMT + recorded_at: Tue, 12 Mar 2024 00:43:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index a2ea5a84fc..96b89179cd 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ekEApDU5OYGvX6","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_uJn6aREWRDzUbJ","request_duration_ms":425}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:47 GMT + - Tue, 12 Mar 2024 00:43:47 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4416b8e5-a91f-4857-a8d5-2c75cb3eeffa + - b77126ec-884f-4c64-8a03-6bf3bc4b43f5 Original-Request: - - req_DTQkganWxHGsBZ + - req_FbSenodTH226S9 Request-Id: - - req_DTQkganWxHGsBZ + - req_FbSenodTH226S9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEZKuuB1fWySnKbsba8YD", + "id": "pm_1OtJRWKuuB1fWySnhY9iOoHi", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822867, + "created": 1710204226, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:47 GMT + recorded_at: Tue, 12 Mar 2024 00:43:47 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriEZKuuB1fWySnKbsba8YD&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJRWKuuB1fWySnhY9iOoHi&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DTQkganWxHGsBZ","request_duration_ms":564}}' + - '{"last_request_metrics":{"request_id":"req_FbSenodTH226S9","request_duration_ms":429}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:48 GMT + - Tue, 12 Mar 2024 00:43:47 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e475de03-1f19-41f1-bf3c-ac6bb4663e80 + - '00979ced-e7aa-4677-a88c-f9579906804b' Original-Request: - - req_k8Kq3xIk686y3x + - req_SZaPiI98N8S53Q Request-Id: - - req_k8Kq3xIk686y3x + - req_SZaPiI98N8S53Q Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEZKuuB1fWySn0plYoja2", + "id": "pi_3OtJRXKuuB1fWySn1Kd6gaSL", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEZKuuB1fWySn0plYoja2_secret_rQ7fSLfPPwQZkcxLYOaVYM8wm", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822867, + "created": 1710204227, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEZKuuB1fWySnKbsba8YD", + "payment_method": "pm_1OtJRWKuuB1fWySnhY9iOoHi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:48 GMT + recorded_at: Tue, 12 Mar 2024 00:43:47 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEZKuuB1fWySn0plYoja2/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRXKuuB1fWySn1Kd6gaSL/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_k8Kq3xIk686y3x","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_SZaPiI98N8S53Q","request_duration_ms":464}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:49 GMT + - Tue, 12 Mar 2024 00:43:48 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ec379022-6b1c-4bc7-ace1-4134b2b16d5a + - '090a54fe-80ab-4980-b75f-cafabe663e3c' Original-Request: - - req_OvB2TPiUbv6LSr + - req_CEQDPZksO8Yqkz Request-Id: - - req_OvB2TPiUbv6LSr + - req_CEQDPZksO8Yqkz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -343,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OriEZKuuB1fWySn0s3QgMuZ", + "charge": "ch_3OtJRXKuuB1fWySn1KZKvDrb", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OriEZKuuB1fWySn0plYoja2", + "id": "pi_3OtJRXKuuB1fWySn1Kd6gaSL", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -364,21 +355,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEZKuuB1fWySn0plYoja2_secret_rQ7fSLfPPwQZkcxLYOaVYM8wm", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822867, + "created": 1710204227, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OriEZKuuB1fWySn0s3QgMuZ", + "charge": "ch_3OtJRXKuuB1fWySn1KZKvDrb", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OriEZKuuB1fWySnKbsba8YD", + "id": "pm_1OtJRWKuuB1fWySnhY9iOoHi", "object": "payment_method", "billing_details": { "address": { @@ -419,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1709822867, + "created": 1710204226, "customer": null, "livemode": false, "metadata": { @@ -428,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OriEZKuuB1fWySn0s3QgMuZ", + "latest_charge": "ch_3OtJRXKuuB1fWySn1KZKvDrb", "livemode": false, "metadata": { }, @@ -460,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OriEZKuuB1fWySnKbsba8YD", + "id": "pm_1OtJRWKuuB1fWySnhY9iOoHi", "object": "payment_method", "billing_details": { "address": { @@ -501,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1709822867, + "created": 1710204226, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_OvB2TPiUbv6LSr?t=1709822868", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_CEQDPZksO8Yqkz?t=1710204227", "type": "card_error" } } - recorded_at: Thu, 07 Mar 2024 14:47:49 GMT + recorded_at: Tue, 12 Mar 2024 00:43:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml index ac5272a12f..176bc28aa9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lPOt5IxSU1SYMf","request_duration_ms":910}}' + - '{"last_request_metrics":{"request_id":"req_mxjNeby6sUHZea","request_duration_ms":950}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:46 GMT + - Tue, 12 Mar 2024 00:42:51 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c8a48357-0801-41fa-9182-649d17f30763 + - 646cbfaf-3dfa-41b9-9afd-6a19d71b3a64 Original-Request: - - req_GyjXCUdXQrtxO8 + - req_r8mxYFaVxx6acn Request-Id: - - req_GyjXCUdXQrtxO8 + - req_r8mxYFaVxx6acn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDZKuuB1fWySnlnjOu08c", + "id": "pm_1OtJQcKuuB1fWySnLpIT0LoM", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822805, + "created": 1710204171, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:46 GMT + recorded_at: Tue, 12 Mar 2024 00:42:51 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDZKuuB1fWySnlnjOu08c&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQcKuuB1fWySnLpIT0LoM&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GyjXCUdXQrtxO8","request_duration_ms":504}}' + - '{"last_request_metrics":{"request_id":"req_r8mxYFaVxx6acn","request_duration_ms":482}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:46 GMT + - Tue, 12 Mar 2024 00:42:51 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 45abc861-f84c-4895-a60b-45410410879b + - 38a11da2-c3e8-4f0d-a076-c62cb61fbea2 Original-Request: - - req_MvGhhdfsQvBvzQ + - req_Mr7wz5ThnudM6w Request-Id: - - req_MvGhhdfsQvBvzQ + - req_Mr7wz5ThnudM6w Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDaKuuB1fWySn2L0k1gFu", + "id": "pi_3OtJQdKuuB1fWySn116rMfmS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDaKuuB1fWySn2L0k1gFu_secret_YBVG6hShLWGKI4ibOLmlmXSXG", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822806, + "created": 1710204171, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDZKuuB1fWySnlnjOu08c", + "payment_method": "pm_1OtJQcKuuB1fWySnLpIT0LoM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:46 GMT + recorded_at: Tue, 12 Mar 2024 00:42:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDaKuuB1fWySn2L0k1gFu/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQdKuuB1fWySn116rMfmS/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MvGhhdfsQvBvzQ","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_Mr7wz5ThnudM6w","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:47 GMT + - Tue, 12 Mar 2024 00:42:52 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d409f2cd-fa5c-48d6-b8e4-128b269b37e0 + - 0351644a-2a7f-4409-b897-6aaafab4d949 Original-Request: - - req_dtF9deBfk54PvO + - req_Iy3UsRBbxgoiy5 Request-Id: - - req_dtF9deBfk54PvO + - req_Iy3UsRBbxgoiy5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDaKuuB1fWySn2L0k1gFu", + "id": "pi_3OtJQdKuuB1fWySn116rMfmS", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDaKuuB1fWySn2L0k1gFu_secret_YBVG6hShLWGKI4ibOLmlmXSXG", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822806, + "created": 1710204171, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDaKuuB1fWySn2wqv6SYg", + "latest_charge": "ch_3OtJQdKuuB1fWySn1XuihD0F", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDZKuuB1fWySnlnjOu08c", + "payment_method": "pm_1OtJQcKuuB1fWySnLpIT0LoM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:47 GMT + recorded_at: Tue, 12 Mar 2024 00:42:52 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDaKuuB1fWySn2L0k1gFu + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQdKuuB1fWySn116rMfmS body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dtF9deBfk54PvO","request_duration_ms":1016}}' + - '{"last_request_metrics":{"request_id":"req_Iy3UsRBbxgoiy5","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:47 GMT + - Tue, 12 Mar 2024 00:42:52 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_ZcCmvZxReAjXf6 + - req_GsgRMk0dEYDa87 Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDaKuuB1fWySn2L0k1gFu", + "id": "pi_3OtJQdKuuB1fWySn116rMfmS", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDaKuuB1fWySn2L0k1gFu_secret_YBVG6hShLWGKI4ibOLmlmXSXG", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822806, + "created": 1710204171, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDaKuuB1fWySn2wqv6SYg", + "latest_charge": "ch_3OtJQdKuuB1fWySn1XuihD0F", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDZKuuB1fWySnlnjOu08c", + "payment_method": "pm_1OtJQcKuuB1fWySnLpIT0LoM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:47 GMT + recorded_at: Tue, 12 Mar 2024 00:42:52 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDaKuuB1fWySn2L0k1gFu/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQdKuuB1fWySn116rMfmS/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZcCmvZxReAjXf6","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_GsgRMk0dEYDa87","request_duration_ms":296}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:48 GMT + - Tue, 12 Mar 2024 00:42:53 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - faec79b0-8160-49f9-b36d-3599682348e7 + - fbcd97d5-9c3e-4837-a3c0-f9d4ff3184f0 Original-Request: - - req_ujlneOpUrLNHku + - req_ezpKifAO2CHJYq Request-Id: - - req_ujlneOpUrLNHku + - req_ezpKifAO2CHJYq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDaKuuB1fWySn2L0k1gFu", + "id": "pi_3OtJQdKuuB1fWySn116rMfmS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDaKuuB1fWySn2L0k1gFu_secret_YBVG6hShLWGKI4ibOLmlmXSXG", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822806, + "created": 1710204171, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDaKuuB1fWySn2wqv6SYg", + "latest_charge": "ch_3OtJQdKuuB1fWySn1XuihD0F", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDZKuuB1fWySnlnjOu08c", + "payment_method": "pm_1OtJQcKuuB1fWySnLpIT0LoM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:49 GMT + recorded_at: Tue, 12 Mar 2024 00:42:54 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDaKuuB1fWySn2L0k1gFu + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQdKuuB1fWySn116rMfmS body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ujlneOpUrLNHku","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_ezpKifAO2CHJYq","request_duration_ms":1032}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:49 GMT + - Tue, 12 Mar 2024 00:42:54 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_RzicP4fDTMR7S6 + - req_WvhvX0lDWN0IZK Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDaKuuB1fWySn2L0k1gFu", + "id": "pi_3OtJQdKuuB1fWySn116rMfmS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDaKuuB1fWySn2L0k1gFu_secret_YBVG6hShLWGKI4ibOLmlmXSXG", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822806, + "created": 1710204171, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDaKuuB1fWySn2wqv6SYg", + "latest_charge": "ch_3OtJQdKuuB1fWySn1XuihD0F", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDZKuuB1fWySnlnjOu08c", + "payment_method": "pm_1OtJQcKuuB1fWySnLpIT0LoM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:49 GMT + recorded_at: Tue, 12 Mar 2024 00:42:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml index 1f6ada1b92..5846757e27 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fVxFUw2ERM7l44","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_6vQdCVBGNDmXjU","request_duration_ms":284}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:43 GMT + - Tue, 12 Mar 2024 00:42:49 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a451df23-29f0-4fbc-ba7f-ae69f843cdf5 + - c8175773-bbad-474e-ab5f-409bd7f3cf0b Original-Request: - - req_eATWZt62UsiKCz + - req_3rwAY7ecAMbBlh Request-Id: - - req_eATWZt62UsiKCz + - req_3rwAY7ecAMbBlh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDXKuuB1fWySnxC9k6o8p", + "id": "pm_1OtJQaKuuB1fWySnaoRzbZHb", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822803, + "created": 1710204169, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:43 GMT + recorded_at: Tue, 12 Mar 2024 00:42:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDXKuuB1fWySnxC9k6o8p&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQaKuuB1fWySnaoRzbZHb&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eATWZt62UsiKCz","request_duration_ms":447}}' + - '{"last_request_metrics":{"request_id":"req_3rwAY7ecAMbBlh","request_duration_ms":419}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:44 GMT + - Tue, 12 Mar 2024 00:42:49 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 215c9e84-c0b5-4e4f-a3fe-64d723d5a39d + - 9e2c49af-4fd8-42c4-a20b-5c9afd5906bd Original-Request: - - req_wPSGbAO3QtfnXA + - req_14QlENR3iAjGPx Request-Id: - - req_wPSGbAO3QtfnXA + - req_14QlENR3iAjGPx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDYKuuB1fWySn0zFlIAeJ", + "id": "pi_3OtJQbKuuB1fWySn2u21MCtq", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDYKuuB1fWySn0zFlIAeJ_secret_H1nOpv1hYTupdkd5cFwog2HCD", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822804, + "created": 1710204169, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDXKuuB1fWySnxC9k6o8p", + "payment_method": "pm_1OtJQaKuuB1fWySnaoRzbZHb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:44 GMT + recorded_at: Tue, 12 Mar 2024 00:42:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDYKuuB1fWySn0zFlIAeJ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQbKuuB1fWySn2u21MCtq/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wPSGbAO3QtfnXA","request_duration_ms":445}}' + - '{"last_request_metrics":{"request_id":"req_14QlENR3iAjGPx","request_duration_ms":479}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:45 GMT + - Tue, 12 Mar 2024 00:42:50 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7906c227-f4ac-4a29-8459-ecec12f69c63 + - 34587cc0-eeff-422c-b990-054ca5dd3887 Original-Request: - - req_lPOt5IxSU1SYMf + - req_mxjNeby6sUHZea Request-Id: - - req_lPOt5IxSU1SYMf + - req_mxjNeby6sUHZea Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDYKuuB1fWySn0zFlIAeJ", + "id": "pi_3OtJQbKuuB1fWySn2u21MCtq", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDYKuuB1fWySn0zFlIAeJ_secret_H1nOpv1hYTupdkd5cFwog2HCD", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822804, + "created": 1710204169, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDYKuuB1fWySn0FUeuc2N", + "latest_charge": "ch_3OtJQbKuuB1fWySn21c0Akq6", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDXKuuB1fWySnxC9k6o8p", + "payment_method": "pm_1OtJQaKuuB1fWySnaoRzbZHb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:45 GMT + recorded_at: Tue, 12 Mar 2024 00:42:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml index 23510f1dfa..640534e42d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YGy12UnzbacI1H","request_duration_ms":1095}}' + - '{"last_request_metrics":{"request_id":"req_Kt3VdQVg2vvv8r","request_duration_ms":920}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:17 GMT + - Tue, 12 Mar 2024 00:43:19 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - caa8fbac-ec83-49c2-a535-9f8d6456b2a3 + - c879bd8d-1c2b-478c-97b5-318988413f49 Original-Request: - - req_eAfqUpa2sa7aas + - req_Ya24N4dbnF8m82 Request-Id: - - req_eAfqUpa2sa7aas + - req_Ya24N4dbnF8m82 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriE5KuuB1fWySnxdapSMOd", + "id": "pm_1OtJR5KuuB1fWySn1mmFyypp", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822837, + "created": 1710204199, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:18 GMT + recorded_at: Tue, 12 Mar 2024 00:43:19 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriE5KuuB1fWySnxdapSMOd&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJR5KuuB1fWySn1mmFyypp&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eAfqUpa2sa7aas","request_duration_ms":534}}' + - '{"last_request_metrics":{"request_id":"req_Ya24N4dbnF8m82","request_duration_ms":528}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:18 GMT + - Tue, 12 Mar 2024 00:43:20 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ee3f8d02-d070-46e6-b64e-bc6b5facca0b + - 68736da4-a7d3-47ca-a5da-63fd441e3045 Original-Request: - - req_lUkmvKA0ENow15 + - req_PkxZ50hEj4YviI Request-Id: - - req_lUkmvKA0ENow15 + - req_PkxZ50hEj4YviI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriE6KuuB1fWySn1ypGGK8k", + "id": "pi_3OtJR5KuuB1fWySn2bmeaKF0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriE6KuuB1fWySn1ypGGK8k_secret_poBwlVvGgGffFLPH03E6Gqzyn", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822838, + "created": 1710204199, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriE5KuuB1fWySnxdapSMOd", + "payment_method": "pm_1OtJR5KuuB1fWySn1mmFyypp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:18 GMT + recorded_at: Tue, 12 Mar 2024 00:43:20 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriE6KuuB1fWySn1ypGGK8k/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR5KuuB1fWySn2bmeaKF0/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lUkmvKA0ENow15","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_PkxZ50hEj4YviI","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:19 GMT + - Tue, 12 Mar 2024 00:43:21 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 168c41b5-b8be-471f-9d58-78e62cf3f51e + - 17c70168-ab58-4ce6-8d6e-af09c71054ec Original-Request: - - req_XsqWnjycDPmL06 + - req_VHK407LLnCaOwq Request-Id: - - req_XsqWnjycDPmL06 + - req_VHK407LLnCaOwq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriE6KuuB1fWySn1ypGGK8k", + "id": "pi_3OtJR5KuuB1fWySn2bmeaKF0", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriE6KuuB1fWySn1ypGGK8k_secret_poBwlVvGgGffFLPH03E6Gqzyn", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822838, + "created": 1710204199, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriE6KuuB1fWySn1VNx8Zzv", + "latest_charge": "ch_3OtJR5KuuB1fWySn2c79Iv89", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriE5KuuB1fWySnxdapSMOd", + "payment_method": "pm_1OtJR5KuuB1fWySn1mmFyypp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:19 GMT + recorded_at: Tue, 12 Mar 2024 00:43:21 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriE6KuuB1fWySn1ypGGK8k + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR5KuuB1fWySn2bmeaKF0 body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XsqWnjycDPmL06","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_VHK407LLnCaOwq","request_duration_ms":919}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:19 GMT + - Tue, 12 Mar 2024 00:43:21 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_aiQDuintkS1gP5 + - req_tuJtbEVnCrpxWD Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriE6KuuB1fWySn1ypGGK8k", + "id": "pi_3OtJR5KuuB1fWySn2bmeaKF0", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriE6KuuB1fWySn1ypGGK8k_secret_poBwlVvGgGffFLPH03E6Gqzyn", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822838, + "created": 1710204199, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriE6KuuB1fWySn1VNx8Zzv", + "latest_charge": "ch_3OtJR5KuuB1fWySn2c79Iv89", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriE5KuuB1fWySnxdapSMOd", + "payment_method": "pm_1OtJR5KuuB1fWySn1mmFyypp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:19 GMT + recorded_at: Tue, 12 Mar 2024 00:43:21 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriE6KuuB1fWySn1ypGGK8k/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR5KuuB1fWySn2bmeaKF0/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aiQDuintkS1gP5","request_duration_ms":383}}' + - '{"last_request_metrics":{"request_id":"req_tuJtbEVnCrpxWD","request_duration_ms":318}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:20 GMT + - Tue, 12 Mar 2024 00:43:22 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1a1bca95-4a70-4766-bf6a-cb22f06cdca9 + - d2348e51-b673-488f-912c-20dd10d85df4 Original-Request: - - req_DH8qGSgtLfdbdP + - req_8GiAyL7g51q1nJ Request-Id: - - req_DH8qGSgtLfdbdP + - req_8GiAyL7g51q1nJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriE6KuuB1fWySn1ypGGK8k", + "id": "pi_3OtJR5KuuB1fWySn2bmeaKF0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriE6KuuB1fWySn1ypGGK8k_secret_poBwlVvGgGffFLPH03E6Gqzyn", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822838, + "created": 1710204199, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriE6KuuB1fWySn1VNx8Zzv", + "latest_charge": "ch_3OtJR5KuuB1fWySn2c79Iv89", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriE5KuuB1fWySnxdapSMOd", + "payment_method": "pm_1OtJR5KuuB1fWySn1mmFyypp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:21 GMT + recorded_at: Tue, 12 Mar 2024 00:43:22 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriE6KuuB1fWySn1ypGGK8k + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR5KuuB1fWySn2bmeaKF0 body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DH8qGSgtLfdbdP","request_duration_ms":1043}}' + - '{"last_request_metrics":{"request_id":"req_8GiAyL7g51q1nJ","request_duration_ms":1115}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:21 GMT + - Tue, 12 Mar 2024 00:43:22 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_3WxihqjmQGrxRd + - req_aKQXUM7euRPw16 Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriE6KuuB1fWySn1ypGGK8k", + "id": "pi_3OtJR5KuuB1fWySn2bmeaKF0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriE6KuuB1fWySn1ypGGK8k_secret_poBwlVvGgGffFLPH03E6Gqzyn", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822838, + "created": 1710204199, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriE6KuuB1fWySn1VNx8Zzv", + "latest_charge": "ch_3OtJR5KuuB1fWySn2c79Iv89", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriE5KuuB1fWySnxdapSMOd", + "payment_method": "pm_1OtJR5KuuB1fWySn1mmFyypp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:21 GMT + recorded_at: Tue, 12 Mar 2024 00:43:22 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml index e6168e34d2..38f851f300 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OTIzrR15GAgt5U","request_duration_ms":301}}' + - '{"last_request_metrics":{"request_id":"req_OQ0G5ywaMnXobY","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:15 GMT + - Tue, 12 Mar 2024 00:43:17 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1e7cf261-51de-422c-91b0-6dff207a17fc + - 860cffaf-6645-40d6-bd63-8b222ce3ee00 Original-Request: - - req_GUZzyidJC5JIMe + - req_uXljX6VBws390k Request-Id: - - req_GUZzyidJC5JIMe + - req_uXljX6VBws390k Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriE3KuuB1fWySncJbIoslR", + "id": "pm_1OtJR3KuuB1fWySnpS5I3NaD", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822835, + "created": 1710204197, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:15 GMT + recorded_at: Tue, 12 Mar 2024 00:43:17 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriE3KuuB1fWySncJbIoslR&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJR3KuuB1fWySnpS5I3NaD&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GUZzyidJC5JIMe","request_duration_ms":458}}' + - '{"last_request_metrics":{"request_id":"req_uXljX6VBws390k","request_duration_ms":500}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:15 GMT + - Tue, 12 Mar 2024 00:43:18 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ef113c73-f20c-49bd-b2f5-0e01f5fb91a2 + - a85ed08a-ba81-4002-8ec4-748793d4d813 Original-Request: - - req_MiUEsJ8tJLgjKr + - req_DInvajR1de2z9M Request-Id: - - req_MiUEsJ8tJLgjKr + - req_DInvajR1de2z9M Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriE3KuuB1fWySn2chIn6yL", + "id": "pi_3OtJR3KuuB1fWySn2wZlVluQ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriE3KuuB1fWySn2chIn6yL_secret_9mJXCLNKMt9pD2QDNFA3DVjVn", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822835, + "created": 1710204197, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriE3KuuB1fWySncJbIoslR", + "payment_method": "pm_1OtJR3KuuB1fWySnpS5I3NaD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:15 GMT + recorded_at: Tue, 12 Mar 2024 00:43:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriE3KuuB1fWySn2chIn6yL/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR3KuuB1fWySn2wZlVluQ/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MiUEsJ8tJLgjKr","request_duration_ms":431}}' + - '{"last_request_metrics":{"request_id":"req_DInvajR1de2z9M","request_duration_ms":411}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:16 GMT + - Tue, 12 Mar 2024 00:43:19 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 17575b4d-1549-4c52-b64b-f4ee1811aa99 + - 1692f9b5-1c3d-4b26-84e5-ed5e0f2eaa69 Original-Request: - - req_YGy12UnzbacI1H + - req_Kt3VdQVg2vvv8r Request-Id: - - req_YGy12UnzbacI1H + - req_Kt3VdQVg2vvv8r Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriE3KuuB1fWySn2chIn6yL", + "id": "pi_3OtJR3KuuB1fWySn2wZlVluQ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriE3KuuB1fWySn2chIn6yL_secret_9mJXCLNKMt9pD2QDNFA3DVjVn", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822835, + "created": 1710204197, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriE3KuuB1fWySn2FhXcuks", + "latest_charge": "ch_3OtJR3KuuB1fWySn2aBwfu2c", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriE3KuuB1fWySncJbIoslR", + "payment_method": "pm_1OtJR3KuuB1fWySnpS5I3NaD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:17 GMT + recorded_at: Tue, 12 Mar 2024 00:43:19 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml index b5b00d6bd6..a898edb2a6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CWfacuv1RpEC7q","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_yTKbyoG8NbWJW8","request_duration_ms":1070}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:05 GMT + - Tue, 12 Mar 2024 00:43:08 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 14c73572-3615-46ad-a5e9-cfe80ead5058 + - af2e8dc4-2bd2-4338-b913-79e9d777e97d Original-Request: - - req_Omj6ERKPwbqqYB + - req_LN271a5Xu6fMAE Request-Id: - - req_Omj6ERKPwbqqYB + - req_LN271a5Xu6fMAE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDtKuuB1fWySnzW5tBsXe", + "id": "pm_1OtJQuKuuB1fWySn4g7gAcWz", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822825, + "created": 1710204188, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:05 GMT + recorded_at: Tue, 12 Mar 2024 00:43:08 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDtKuuB1fWySnzW5tBsXe&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQuKuuB1fWySn4g7gAcWz&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Omj6ERKPwbqqYB","request_duration_ms":563}}' + - '{"last_request_metrics":{"request_id":"req_LN271a5Xu6fMAE","request_duration_ms":415}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:05 GMT + - Tue, 12 Mar 2024 00:43:08 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 187a4459-b29b-43c2-ad75-1414434f9528 + - ac179603-9f9b-40ac-9b9c-6b6169753ce1 Original-Request: - - req_S9lGrFaKUsIP2S + - req_QXIkwWsuP2iGnL Request-Id: - - req_S9lGrFaKUsIP2S + - req_QXIkwWsuP2iGnL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDtKuuB1fWySn06XuuB5s", + "id": "pi_3OtJQuKuuB1fWySn0NQjHWON", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDtKuuB1fWySn06XuuB5s_secret_ET6bvSIT5A3mWz0o4jUVi5mX2", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822825, + "created": 1710204188, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDtKuuB1fWySnzW5tBsXe", + "payment_method": "pm_1OtJQuKuuB1fWySn4g7gAcWz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:05 GMT + recorded_at: Tue, 12 Mar 2024 00:43:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDtKuuB1fWySn06XuuB5s/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQuKuuB1fWySn0NQjHWON/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_S9lGrFaKUsIP2S","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_QXIkwWsuP2iGnL","request_duration_ms":460}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:06 GMT + - Tue, 12 Mar 2024 00:43:09 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f81c97ab-7d66-47f1-9aa1-66b460c97de7 + - 88bea372-dd70-45ab-8f3a-e2ac86917491 Original-Request: - - req_BnZaEF4f5roHs9 + - req_EABl5tGa2UEz9B Request-Id: - - req_BnZaEF4f5roHs9 + - req_EABl5tGa2UEz9B Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDtKuuB1fWySn06XuuB5s", + "id": "pi_3OtJQuKuuB1fWySn0NQjHWON", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDtKuuB1fWySn06XuuB5s_secret_ET6bvSIT5A3mWz0o4jUVi5mX2", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822825, + "created": 1710204188, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDtKuuB1fWySn0tbPBo9C", + "latest_charge": "ch_3OtJQuKuuB1fWySn0xFwbAqZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDtKuuB1fWySnzW5tBsXe", + "payment_method": "pm_1OtJQuKuuB1fWySn4g7gAcWz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:07 GMT + recorded_at: Tue, 12 Mar 2024 00:43:09 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDtKuuB1fWySn06XuuB5s + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQuKuuB1fWySn0NQjHWON body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BnZaEF4f5roHs9","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_EABl5tGa2UEz9B","request_duration_ms":926}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:07 GMT + - Tue, 12 Mar 2024 00:43:10 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_lm1eTx9Ct7fVFQ + - req_5DPPSEpw6p8j5w Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDtKuuB1fWySn06XuuB5s", + "id": "pi_3OtJQuKuuB1fWySn0NQjHWON", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDtKuuB1fWySn06XuuB5s_secret_ET6bvSIT5A3mWz0o4jUVi5mX2", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822825, + "created": 1710204188, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDtKuuB1fWySn0tbPBo9C", + "latest_charge": "ch_3OtJQuKuuB1fWySn0xFwbAqZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDtKuuB1fWySnzW5tBsXe", + "payment_method": "pm_1OtJQuKuuB1fWySn4g7gAcWz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:07 GMT + recorded_at: Tue, 12 Mar 2024 00:43:10 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDtKuuB1fWySn06XuuB5s/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQuKuuB1fWySn0NQjHWON/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lm1eTx9Ct7fVFQ","request_duration_ms":303}}' + - '{"last_request_metrics":{"request_id":"req_5DPPSEpw6p8j5w","request_duration_ms":314}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:08 GMT + - Tue, 12 Mar 2024 00:43:11 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2a9a1428-21c0-4c2f-a84b-050344932afb + - bc1f3bd3-9e01-4171-b23a-6f246a050079 Original-Request: - - req_GlYSeI7l3U019E + - req_nxAtowO23YObnJ Request-Id: - - req_GlYSeI7l3U019E + - req_nxAtowO23YObnJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDtKuuB1fWySn06XuuB5s", + "id": "pi_3OtJQuKuuB1fWySn0NQjHWON", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDtKuuB1fWySn06XuuB5s_secret_ET6bvSIT5A3mWz0o4jUVi5mX2", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822825, + "created": 1710204188, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDtKuuB1fWySn0tbPBo9C", + "latest_charge": "ch_3OtJQuKuuB1fWySn0xFwbAqZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDtKuuB1fWySnzW5tBsXe", + "payment_method": "pm_1OtJQuKuuB1fWySn4g7gAcWz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:08 GMT + recorded_at: Tue, 12 Mar 2024 00:43:11 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDtKuuB1fWySn06XuuB5s + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQuKuuB1fWySn0NQjHWON body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GlYSeI7l3U019E","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_nxAtowO23YObnJ","request_duration_ms":1006}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:08 GMT + - Tue, 12 Mar 2024 00:43:11 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_pbLzqp5KrBy1nZ + - req_oEFE1hqbH75iOh Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDtKuuB1fWySn06XuuB5s", + "id": "pi_3OtJQuKuuB1fWySn0NQjHWON", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDtKuuB1fWySn06XuuB5s_secret_ET6bvSIT5A3mWz0o4jUVi5mX2", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822825, + "created": 1710204188, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDtKuuB1fWySn0tbPBo9C", + "latest_charge": "ch_3OtJQuKuuB1fWySn0xFwbAqZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDtKuuB1fWySnzW5tBsXe", + "payment_method": "pm_1OtJQuKuuB1fWySn4g7gAcWz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:08 GMT + recorded_at: Tue, 12 Mar 2024 00:43:11 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml index b99ae4d66f..b6dfa534a6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iN6HHVzSOfpc9E","request_duration_ms":325}}' + - '{"last_request_metrics":{"request_id":"req_5Unhvzz3dM5YTg","request_duration_ms":281}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:02 GMT + - Tue, 12 Mar 2024 00:43:06 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bd1f0a35-481d-4a95-9c49-555702156ae1 + - 8c111cd2-5205-4a74-81cb-dd0c513bb4f5 Original-Request: - - req_e8EOToritC8jhc + - req_srqWgCm2jvuyin Request-Id: - - req_e8EOToritC8jhc + - req_srqWgCm2jvuyin Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDqKuuB1fWySnFQ7AdMm2", + "id": "pm_1OtJQsKuuB1fWySnouFuUQDp", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822822, + "created": 1710204186, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:02 GMT + recorded_at: Tue, 12 Mar 2024 00:43:06 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDqKuuB1fWySnFQ7AdMm2&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQsKuuB1fWySnouFuUQDp&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_e8EOToritC8jhc","request_duration_ms":440}}' + - '{"last_request_metrics":{"request_id":"req_srqWgCm2jvuyin","request_duration_ms":524}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:03 GMT + - Tue, 12 Mar 2024 00:43:06 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cbb321aa-94ad-4227-a257-7c298406da70 + - 3d72f9a7-292c-4262-ae56-3f2165d04979 Original-Request: - - req_ocqgc9sCNvOjtQ + - req_PVFtDx1Cn8Ij1x Request-Id: - - req_ocqgc9sCNvOjtQ + - req_PVFtDx1Cn8Ij1x Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDrKuuB1fWySn1Ir57Z1x", + "id": "pi_3OtJQsKuuB1fWySn1oSI7xvg", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDrKuuB1fWySn1Ir57Z1x_secret_4OK5tqjJjQ0BBjRmyuTECYQgp", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822823, + "created": 1710204186, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDqKuuB1fWySnFQ7AdMm2", + "payment_method": "pm_1OtJQsKuuB1fWySnouFuUQDp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:03 GMT + recorded_at: Tue, 12 Mar 2024 00:43:06 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDrKuuB1fWySn1Ir57Z1x/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQsKuuB1fWySn1oSI7xvg/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ocqgc9sCNvOjtQ","request_duration_ms":501}}' + - '{"last_request_metrics":{"request_id":"req_PVFtDx1Cn8Ij1x","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:04 GMT + - Tue, 12 Mar 2024 00:43:07 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6f81a2b8-e4fe-45af-95c6-63193a91ae6e + - d4a158a8-7c9a-498b-8dca-6f2ec62dfa49 Original-Request: - - req_CWfacuv1RpEC7q + - req_yTKbyoG8NbWJW8 Request-Id: - - req_CWfacuv1RpEC7q + - req_yTKbyoG8NbWJW8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDrKuuB1fWySn1Ir57Z1x", + "id": "pi_3OtJQsKuuB1fWySn1oSI7xvg", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDrKuuB1fWySn1Ir57Z1x_secret_4OK5tqjJjQ0BBjRmyuTECYQgp", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822823, + "created": 1710204186, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDrKuuB1fWySn1Imqbs3f", + "latest_charge": "ch_3OtJQsKuuB1fWySn1v4iyAeD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDqKuuB1fWySnFQ7AdMm2", + "payment_method": "pm_1OtJQsKuuB1fWySnouFuUQDp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:04 GMT + recorded_at: Tue, 12 Mar 2024 00:43:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml index 1d97fc8752..d3c6b4d1b5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_r7XLKENl10pmmo","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_LzsPtfC90ymRlU","request_duration_ms":1010}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:11 GMT + - Tue, 12 Mar 2024 00:43:14 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 94fcfb6e-cb6a-41fe-90f1-49232422c5a1 + - 1191ddbc-cf0f-4122-a48e-762255b33a2c Original-Request: - - req_yzEhbHapR4p4VO + - req_1JWn6LSgupdemL Request-Id: - - req_yzEhbHapR4p4VO + - req_1JWn6LSgupdemL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDzKuuB1fWySnYW4lyW1O", + "id": "pm_1OtJQzKuuB1fWySnL005kB3u", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822831, + "created": 1710204193, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:11 GMT + recorded_at: Tue, 12 Mar 2024 00:43:14 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDzKuuB1fWySnYW4lyW1O&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQzKuuB1fWySnL005kB3u&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yzEhbHapR4p4VO","request_duration_ms":575}}' + - '{"last_request_metrics":{"request_id":"req_1JWn6LSgupdemL","request_duration_ms":450}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:12 GMT + - Tue, 12 Mar 2024 00:43:14 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a4a9e9cb-28e0-478b-9de9-90ac6e5c437f + - 00136525-828d-4605-83ee-04d13a29c73f Original-Request: - - req_sgUmLru7jTF4Ba + - req_rPA26PJnCvQD3o Request-Id: - - req_sgUmLru7jTF4Ba + - req_rPA26PJnCvQD3o Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDzKuuB1fWySn2GrzpumR", + "id": "pi_3OtJR0KuuB1fWySn1ACiZAwN", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDzKuuB1fWySn2GrzpumR_secret_iYJA3ZBL0TUpKMr1FWCjauBpJ", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822831, + "created": 1710204194, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDzKuuB1fWySnYW4lyW1O", + "payment_method": "pm_1OtJQzKuuB1fWySnL005kB3u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:12 GMT + recorded_at: Tue, 12 Mar 2024 00:43:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDzKuuB1fWySn2GrzpumR/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR0KuuB1fWySn1ACiZAwN/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sgUmLru7jTF4Ba","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_rPA26PJnCvQD3o","request_duration_ms":556}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:13 GMT + - Tue, 12 Mar 2024 00:43:15 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 25d52ab5-e138-4917-b1ff-026e6d668047 + - a0eed399-878d-43ef-81d6-9db641b86094 Original-Request: - - req_vYG5X2pKf3UP3H + - req_jPC8DHosL7yP0m Request-Id: - - req_vYG5X2pKf3UP3H + - req_jPC8DHosL7yP0m Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDzKuuB1fWySn2GrzpumR", + "id": "pi_3OtJR0KuuB1fWySn1ACiZAwN", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDzKuuB1fWySn2GrzpumR_secret_iYJA3ZBL0TUpKMr1FWCjauBpJ", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822831, + "created": 1710204194, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDzKuuB1fWySn2JYsqWE6", + "latest_charge": "ch_3OtJR0KuuB1fWySn132DyHzS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDzKuuB1fWySnYW4lyW1O", + "payment_method": "pm_1OtJQzKuuB1fWySnL005kB3u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:13 GMT + recorded_at: Tue, 12 Mar 2024 00:43:15 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDzKuuB1fWySn2GrzpumR + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR0KuuB1fWySn1ACiZAwN body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vYG5X2pKf3UP3H","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_jPC8DHosL7yP0m","request_duration_ms":948}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:13 GMT + - Tue, 12 Mar 2024 00:43:15 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_qVSFBG5ygktMFv + - req_Gwt9jgOuzRAh4q Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDzKuuB1fWySn2GrzpumR", + "id": "pi_3OtJR0KuuB1fWySn1ACiZAwN", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDzKuuB1fWySn2GrzpumR_secret_iYJA3ZBL0TUpKMr1FWCjauBpJ", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822831, + "created": 1710204194, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDzKuuB1fWySn2JYsqWE6", + "latest_charge": "ch_3OtJR0KuuB1fWySn132DyHzS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDzKuuB1fWySnYW4lyW1O", + "payment_method": "pm_1OtJQzKuuB1fWySnL005kB3u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:13 GMT + recorded_at: Tue, 12 Mar 2024 00:43:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDzKuuB1fWySn2GrzpumR/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR0KuuB1fWySn1ACiZAwN/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qVSFBG5ygktMFv","request_duration_ms":313}}' + - '{"last_request_metrics":{"request_id":"req_Gwt9jgOuzRAh4q","request_duration_ms":283}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:14 GMT + - Tue, 12 Mar 2024 00:43:16 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 91a14271-96fd-4edd-9746-38303332612f + - db40dfa1-693c-4d43-aa67-04bf345ad26b Original-Request: - - req_Z2LGeJPpN07bXK + - req_owLYBUbfYefcTy Request-Id: - - req_Z2LGeJPpN07bXK + - req_owLYBUbfYefcTy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDzKuuB1fWySn2GrzpumR", + "id": "pi_3OtJR0KuuB1fWySn1ACiZAwN", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDzKuuB1fWySn2GrzpumR_secret_iYJA3ZBL0TUpKMr1FWCjauBpJ", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822831, + "created": 1710204194, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDzKuuB1fWySn2JYsqWE6", + "latest_charge": "ch_3OtJR0KuuB1fWySn132DyHzS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDzKuuB1fWySnYW4lyW1O", + "payment_method": "pm_1OtJQzKuuB1fWySnL005kB3u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:14 GMT + recorded_at: Tue, 12 Mar 2024 00:43:16 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDzKuuB1fWySn2GrzpumR + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR0KuuB1fWySn1ACiZAwN body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Z2LGeJPpN07bXK","request_duration_ms":1012}}' + - '{"last_request_metrics":{"request_id":"req_owLYBUbfYefcTy","request_duration_ms":1019}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:14 GMT + - Tue, 12 Mar 2024 00:43:17 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_OTIzrR15GAgt5U + - req_OQ0G5ywaMnXobY Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDzKuuB1fWySn2GrzpumR", + "id": "pi_3OtJR0KuuB1fWySn1ACiZAwN", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDzKuuB1fWySn2GrzpumR_secret_iYJA3ZBL0TUpKMr1FWCjauBpJ", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822831, + "created": 1710204194, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDzKuuB1fWySn2JYsqWE6", + "latest_charge": "ch_3OtJR0KuuB1fWySn132DyHzS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDzKuuB1fWySnYW4lyW1O", + "payment_method": "pm_1OtJQzKuuB1fWySnL005kB3u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:14 GMT + recorded_at: Tue, 12 Mar 2024 00:43:17 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index aa9dfea2ff..50551f18b3 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pbLzqp5KrBy1nZ","request_duration_ms":303}}' + - '{"last_request_metrics":{"request_id":"req_oEFE1hqbH75iOh","request_duration_ms":306}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:09 GMT + - Tue, 12 Mar 2024 00:43:11 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 02551bb7-7dbc-4003-bbdd-afff34ccb2ae + - 7049bba3-2a03-4ea2-bdd6-5533dde22387 Original-Request: - - req_OZnXU6EaqctQNk + - req_J1TOdtgwxrVhVB Request-Id: - - req_OZnXU6EaqctQNk + - req_J1TOdtgwxrVhVB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDwKuuB1fWySneQOmAG01", + "id": "pm_1OtJQxKuuB1fWySnT72FxkgM", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822829, + "created": 1710204191, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:09 GMT + recorded_at: Tue, 12 Mar 2024 00:43:12 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDwKuuB1fWySneQOmAG01&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQxKuuB1fWySnT72FxkgM&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OZnXU6EaqctQNk","request_duration_ms":460}}' + - '{"last_request_metrics":{"request_id":"req_J1TOdtgwxrVhVB","request_duration_ms":497}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:09 GMT + - Tue, 12 Mar 2024 00:43:12 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fd42e530-a3d5-4da7-9c1f-d73db603fa54 + - e867b1ca-b612-49c0-94e0-faa480091df2 Original-Request: - - req_h84z34IItfrNUV + - req_64Vb1Bx1Al79ML Request-Id: - - req_h84z34IItfrNUV + - req_64Vb1Bx1Al79ML Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDxKuuB1fWySn1V5UW82J", + "id": "pi_3OtJQyKuuB1fWySn1ZE3q3Ri", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDxKuuB1fWySn1V5UW82J_secret_Ctusr1IkbXljYHIznnOBgWErU", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822829, + "created": 1710204192, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDwKuuB1fWySneQOmAG01", + "payment_method": "pm_1OtJQxKuuB1fWySnT72FxkgM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:09 GMT + recorded_at: Tue, 12 Mar 2024 00:43:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDxKuuB1fWySn1V5UW82J/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQyKuuB1fWySn1ZE3q3Ri/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_h84z34IItfrNUV","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_64Vb1Bx1Al79ML","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:10 GMT + - Tue, 12 Mar 2024 00:43:13 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9697446d-f57b-47cf-87fa-72afdac7b21f + - 453da759-9c7b-47bf-8c32-5f23a31533e2 Original-Request: - - req_r7XLKENl10pmmo + - req_LzsPtfC90ymRlU Request-Id: - - req_r7XLKENl10pmmo + - req_LzsPtfC90ymRlU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDxKuuB1fWySn1V5UW82J", + "id": "pi_3OtJQyKuuB1fWySn1ZE3q3Ri", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDxKuuB1fWySn1V5UW82J_secret_Ctusr1IkbXljYHIznnOBgWErU", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822829, + "created": 1710204192, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDxKuuB1fWySn1OYjQOVg", + "latest_charge": "ch_3OtJQyKuuB1fWySn1CiLuv7V", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDwKuuB1fWySneQOmAG01", + "payment_method": "pm_1OtJQxKuuB1fWySnT72FxkgM", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:10 GMT + recorded_at: Tue, 12 Mar 2024 00:43:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml index bf64b31c73..e6127a411d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kdy5UOR8YL2aBM","request_duration_ms":931}}' + - '{"last_request_metrics":{"request_id":"req_KkzbITh5ydfS16","request_duration_ms":984}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:52 GMT + - Tue, 12 Mar 2024 00:42:57 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9d4400de-37f8-4a05-8bde-a8c810f5a535 + - e682f3ac-3318-4b89-bfe5-8328a0783399 Original-Request: - - req_N2XMalSZSz0GMN + - req_RSF4JG5a8kYVQU Request-Id: - - req_N2XMalSZSz0GMN + - req_RSF4JG5a8kYVQU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDgKuuB1fWySn4TXENJwf", + "id": "pm_1OtJQiKuuB1fWySnuu7LLojl", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822812, + "created": 1710204176, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:52 GMT + recorded_at: Tue, 12 Mar 2024 00:42:57 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDgKuuB1fWySn4TXENJwf&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQiKuuB1fWySnuu7LLojl&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_N2XMalSZSz0GMN","request_duration_ms":440}}' + - '{"last_request_metrics":{"request_id":"req_RSF4JG5a8kYVQU","request_duration_ms":467}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:53 GMT + - Tue, 12 Mar 2024 00:42:57 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 310ddfa0-cc9b-4946-9a33-b1470523974d + - 6da5fa96-22bb-40f8-8e0f-c302899d167e Original-Request: - - req_tehmhL7wRCaVaC + - req_f6xS2NbA7eJDjl Request-Id: - - req_tehmhL7wRCaVaC + - req_f6xS2NbA7eJDjl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDhKuuB1fWySn2Pbdcy36", + "id": "pi_3OtJQjKuuB1fWySn2PPLKNBn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDhKuuB1fWySn2Pbdcy36_secret_m7L9kexwn5Gg5EB900U5OyZux", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822813, + "created": 1710204177, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDgKuuB1fWySn4TXENJwf", + "payment_method": "pm_1OtJQiKuuB1fWySnuu7LLojl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:53 GMT + recorded_at: Tue, 12 Mar 2024 00:42:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDhKuuB1fWySn2Pbdcy36/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQjKuuB1fWySn2PPLKNBn/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tehmhL7wRCaVaC","request_duration_ms":392}}' + - '{"last_request_metrics":{"request_id":"req_f6xS2NbA7eJDjl","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:54 GMT + - Tue, 12 Mar 2024 00:42:58 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - aa71f6a1-a038-48d0-8d4d-7748c7876795 + - 63d52712-2669-4633-82d9-90ef7465a6cd Original-Request: - - req_hWYgnIzeV5UiIG + - req_FsPTc0pMOxvZPG Request-Id: - - req_hWYgnIzeV5UiIG + - req_FsPTc0pMOxvZPG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDhKuuB1fWySn2Pbdcy36", + "id": "pi_3OtJQjKuuB1fWySn2PPLKNBn", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDhKuuB1fWySn2Pbdcy36_secret_m7L9kexwn5Gg5EB900U5OyZux", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822813, + "created": 1710204177, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDhKuuB1fWySn2zYnaFTr", + "latest_charge": "ch_3OtJQjKuuB1fWySn28L1NO7t", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDgKuuB1fWySn4TXENJwf", + "payment_method": "pm_1OtJQiKuuB1fWySnuu7LLojl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:54 GMT + recorded_at: Tue, 12 Mar 2024 00:42:58 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDhKuuB1fWySn2Pbdcy36 + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQjKuuB1fWySn2PPLKNBn body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hWYgnIzeV5UiIG","request_duration_ms":990}}' + - '{"last_request_metrics":{"request_id":"req_FsPTc0pMOxvZPG","request_duration_ms":925}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:54 GMT + - Tue, 12 Mar 2024 00:42:58 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_VWonqq3cd0b9yX + - req_AqyjUP8Tw7NQvY Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDhKuuB1fWySn2Pbdcy36", + "id": "pi_3OtJQjKuuB1fWySn2PPLKNBn", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDhKuuB1fWySn2Pbdcy36_secret_m7L9kexwn5Gg5EB900U5OyZux", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822813, + "created": 1710204177, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDhKuuB1fWySn2zYnaFTr", + "latest_charge": "ch_3OtJQjKuuB1fWySn28L1NO7t", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDgKuuB1fWySn4TXENJwf", + "payment_method": "pm_1OtJQiKuuB1fWySnuu7LLojl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:54 GMT + recorded_at: Tue, 12 Mar 2024 00:42:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDhKuuB1fWySn2Pbdcy36/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQjKuuB1fWySn2PPLKNBn/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VWonqq3cd0b9yX","request_duration_ms":391}}' + - '{"last_request_metrics":{"request_id":"req_AqyjUP8Tw7NQvY","request_duration_ms":298}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:55 GMT + - Tue, 12 Mar 2024 00:42:59 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f1c08736-9c82-4273-bbe8-297b8a328e00 + - cf496120-a5d8-42ca-b899-bdb1ce0afbe6 Original-Request: - - req_RyyEtsM2u5kWbL + - req_y2wOX2HpyUzknc Request-Id: - - req_RyyEtsM2u5kWbL + - req_y2wOX2HpyUzknc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDhKuuB1fWySn2Pbdcy36", + "id": "pi_3OtJQjKuuB1fWySn2PPLKNBn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDhKuuB1fWySn2Pbdcy36_secret_m7L9kexwn5Gg5EB900U5OyZux", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822813, + "created": 1710204177, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDhKuuB1fWySn2zYnaFTr", + "latest_charge": "ch_3OtJQjKuuB1fWySn28L1NO7t", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDgKuuB1fWySn4TXENJwf", + "payment_method": "pm_1OtJQiKuuB1fWySnuu7LLojl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:55 GMT + recorded_at: Tue, 12 Mar 2024 00:42:59 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDhKuuB1fWySn2Pbdcy36 + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQjKuuB1fWySn2PPLKNBn body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RyyEtsM2u5kWbL","request_duration_ms":984}}' + - '{"last_request_metrics":{"request_id":"req_y2wOX2HpyUzknc","request_duration_ms":920}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:55 GMT + - Tue, 12 Mar 2024 00:43:00 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_hHCFQIlXnZJW2W + - req_825sXoqvnaNKZc Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDhKuuB1fWySn2Pbdcy36", + "id": "pi_3OtJQjKuuB1fWySn2PPLKNBn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDhKuuB1fWySn2Pbdcy36_secret_m7L9kexwn5Gg5EB900U5OyZux", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822813, + "created": 1710204177, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDhKuuB1fWySn2zYnaFTr", + "latest_charge": "ch_3OtJQjKuuB1fWySn28L1NO7t", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDgKuuB1fWySn4TXENJwf", + "payment_method": "pm_1OtJQiKuuB1fWySnuu7LLojl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:56 GMT + recorded_at: Tue, 12 Mar 2024 00:43:00 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml index f3a072b288..8cbc0b92c1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RzicP4fDTMR7S6","request_duration_ms":1}}' + - '{"last_request_metrics":{"request_id":"req_WvhvX0lDWN0IZK","request_duration_ms":0}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:50 GMT + - Tue, 12 Mar 2024 00:42:54 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 48ae066f-01a3-42fa-a540-9126e624e8a8 + - c08361c4-04c7-4070-a2df-17d61b2ef1e3 Original-Request: - - req_bwSMU9MGDkknMh + - req_gLzYC8ngdv7Cnp Request-Id: - - req_bwSMU9MGDkknMh + - req_gLzYC8ngdv7Cnp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDeKuuB1fWySnfXX4Yr87", + "id": "pm_1OtJQgKuuB1fWySnuvhnG0dg", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822810, + "created": 1710204174, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:50 GMT + recorded_at: Tue, 12 Mar 2024 00:42:55 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDeKuuB1fWySnfXX4Yr87&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQgKuuB1fWySnuvhnG0dg&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bwSMU9MGDkknMh","request_duration_ms":597}}' + - '{"last_request_metrics":{"request_id":"req_gLzYC8ngdv7Cnp","request_duration_ms":591}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:51 GMT + - Tue, 12 Mar 2024 00:42:55 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7f657e62-dd4b-4647-97fc-2c1015268961 + - e90c5f5b-e37d-4b6c-aa11-b587d324688e Original-Request: - - req_pH6fvEmGW5VInM + - req_wsSatYsudtlh44 Request-Id: - - req_pH6fvEmGW5VInM + - req_wsSatYsudtlh44 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDeKuuB1fWySn1zwVdhcn", + "id": "pi_3OtJQhKuuB1fWySn2mAMSz7d", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDeKuuB1fWySn1zwVdhcn_secret_WunwqdhJkEfC8us7tBkToL4ji", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822810, + "created": 1710204175, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDeKuuB1fWySnfXX4Yr87", + "payment_method": "pm_1OtJQgKuuB1fWySnuvhnG0dg", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:51 GMT + recorded_at: Tue, 12 Mar 2024 00:42:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDeKuuB1fWySn1zwVdhcn/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQhKuuB1fWySn2mAMSz7d/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pH6fvEmGW5VInM","request_duration_ms":503}}' + - '{"last_request_metrics":{"request_id":"req_wsSatYsudtlh44","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:52 GMT + - Tue, 12 Mar 2024 00:42:56 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 35f71389-8f6e-4165-b1f6-04f658aca4c0 + - 7ca4c3d8-9039-43b7-89e1-0b900312ee0b Original-Request: - - req_kdy5UOR8YL2aBM + - req_KkzbITh5ydfS16 Request-Id: - - req_kdy5UOR8YL2aBM + - req_KkzbITh5ydfS16 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDeKuuB1fWySn1zwVdhcn", + "id": "pi_3OtJQhKuuB1fWySn2mAMSz7d", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDeKuuB1fWySn1zwVdhcn_secret_WunwqdhJkEfC8us7tBkToL4ji", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822810, + "created": 1710204175, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDeKuuB1fWySn1eQXkemj", + "latest_charge": "ch_3OtJQhKuuB1fWySn2UsnWouT", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDeKuuB1fWySnfXX4Yr87", + "payment_method": "pm_1OtJQgKuuB1fWySnuvhnG0dg", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:52 GMT + recorded_at: Tue, 12 Mar 2024 00:42:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml index 0871ceda29..d87c4b6cd8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_seOXIg7NjHNwUv","request_duration_ms":1033}}' + - '{"last_request_metrics":{"request_id":"req_sGPbGXyarufWX9","request_duration_ms":985}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:59 GMT + - Tue, 12 Mar 2024 00:43:02 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0ffeece3-4c91-426a-9bfe-26720eb76b7b + - 412d838c-f7ef-4342-a1ee-89b639c12d64 Original-Request: - - req_dv3cDmsvS5ZA8x + - req_4edG07wQzd2txT Request-Id: - - req_dv3cDmsvS5ZA8x + - req_4edG07wQzd2txT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDnKuuB1fWySnaNcva6s9", + "id": "pm_1OtJQoKuuB1fWySnfEEuUHAw", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822819, + "created": 1710204182, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:59 GMT + recorded_at: Tue, 12 Mar 2024 00:43:02 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDnKuuB1fWySnaNcva6s9&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQoKuuB1fWySnfEEuUHAw&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dv3cDmsvS5ZA8x","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_4edG07wQzd2txT","request_duration_ms":426}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:59 GMT + - Tue, 12 Mar 2024 00:43:03 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9f0f6666-1b5e-4cda-95ae-3f5f54081f4e + - 3369286c-4f18-4877-a617-7c2dbd77f3b0 Original-Request: - - req_xnk0uGWDPQ98mm + - req_ZfYMA7Otk2j4gk Request-Id: - - req_xnk0uGWDPQ98mm + - req_ZfYMA7Otk2j4gk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDnKuuB1fWySn0Fjfi21P", + "id": "pi_3OtJQoKuuB1fWySn0cDfyWRT", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDnKuuB1fWySn0Fjfi21P_secret_s5VgGEnufjBMAaEVdtGc1ZSa4", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822819, + "created": 1710204182, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDnKuuB1fWySnaNcva6s9", + "payment_method": "pm_1OtJQoKuuB1fWySnfEEuUHAw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:59 GMT + recorded_at: Tue, 12 Mar 2024 00:43:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDnKuuB1fWySn0Fjfi21P/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQoKuuB1fWySn0cDfyWRT/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xnk0uGWDPQ98mm","request_duration_ms":376}}' + - '{"last_request_metrics":{"request_id":"req_ZfYMA7Otk2j4gk","request_duration_ms":429}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:00 GMT + - Tue, 12 Mar 2024 00:43:04 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 97ad4762-728a-48a9-97ad-4e54810de107 + - b35dc3da-2c0c-45b5-b67c-00470234873b Original-Request: - - req_F57T6Wtsu7r0mg + - req_or6IiSMfg0thNY Request-Id: - - req_F57T6Wtsu7r0mg + - req_or6IiSMfg0thNY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDnKuuB1fWySn0Fjfi21P", + "id": "pi_3OtJQoKuuB1fWySn0cDfyWRT", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDnKuuB1fWySn0Fjfi21P_secret_s5VgGEnufjBMAaEVdtGc1ZSa4", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822819, + "created": 1710204182, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDnKuuB1fWySn0SytXJqJ", + "latest_charge": "ch_3OtJQoKuuB1fWySn01M4891N", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDnKuuB1fWySnaNcva6s9", + "payment_method": "pm_1OtJQoKuuB1fWySnfEEuUHAw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:00 GMT + recorded_at: Tue, 12 Mar 2024 00:43:04 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDnKuuB1fWySn0Fjfi21P + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQoKuuB1fWySn0cDfyWRT body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_F57T6Wtsu7r0mg","request_duration_ms":1052}}' + - '{"last_request_metrics":{"request_id":"req_or6IiSMfg0thNY","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:01 GMT + - Tue, 12 Mar 2024 00:43:04 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_rutNvEfCHoeFYi + - req_cIzx0paUNkOHc1 Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDnKuuB1fWySn0Fjfi21P", + "id": "pi_3OtJQoKuuB1fWySn0cDfyWRT", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDnKuuB1fWySn0Fjfi21P_secret_s5VgGEnufjBMAaEVdtGc1ZSa4", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822819, + "created": 1710204182, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDnKuuB1fWySn0SytXJqJ", + "latest_charge": "ch_3OtJQoKuuB1fWySn01M4891N", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDnKuuB1fWySnaNcva6s9", + "payment_method": "pm_1OtJQoKuuB1fWySnfEEuUHAw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:01 GMT + recorded_at: Tue, 12 Mar 2024 00:43:04 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDnKuuB1fWySn0Fjfi21P/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQoKuuB1fWySn0cDfyWRT/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rutNvEfCHoeFYi","request_duration_ms":389}}' + - '{"last_request_metrics":{"request_id":"req_cIzx0paUNkOHc1","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:02 GMT + - Tue, 12 Mar 2024 00:43:05 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 36666bdf-58e8-43cf-bd44-3373e0589fbb + - 1cf677a6-b523-4f4a-8163-80913beb0021 Original-Request: - - req_OeyOJaQF4YpRVY + - req_HkD5DnhibkZah0 Request-Id: - - req_OeyOJaQF4YpRVY + - req_HkD5DnhibkZah0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDnKuuB1fWySn0Fjfi21P", + "id": "pi_3OtJQoKuuB1fWySn0cDfyWRT", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDnKuuB1fWySn0Fjfi21P_secret_s5VgGEnufjBMAaEVdtGc1ZSa4", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822819, + "created": 1710204182, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDnKuuB1fWySn0SytXJqJ", + "latest_charge": "ch_3OtJQoKuuB1fWySn01M4891N", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDnKuuB1fWySnaNcva6s9", + "payment_method": "pm_1OtJQoKuuB1fWySnfEEuUHAw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:02 GMT + recorded_at: Tue, 12 Mar 2024 00:43:05 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDnKuuB1fWySn0Fjfi21P + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQoKuuB1fWySn0cDfyWRT body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OeyOJaQF4YpRVY","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_HkD5DnhibkZah0","request_duration_ms":1126}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:02 GMT + - Tue, 12 Mar 2024 00:43:05 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_iN6HHVzSOfpc9E + - req_5Unhvzz3dM5YTg Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDnKuuB1fWySn0Fjfi21P", + "id": "pi_3OtJQoKuuB1fWySn0cDfyWRT", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDnKuuB1fWySn0Fjfi21P_secret_s5VgGEnufjBMAaEVdtGc1ZSa4", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822819, + "created": 1710204182, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDnKuuB1fWySn0SytXJqJ", + "latest_charge": "ch_3OtJQoKuuB1fWySn01M4891N", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDnKuuB1fWySnaNcva6s9", + "payment_method": "pm_1OtJQoKuuB1fWySnfEEuUHAw", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:02 GMT + recorded_at: Tue, 12 Mar 2024 00:43:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml index 7a4e5eb4dc..a8b06dd0d9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hHCFQIlXnZJW2W","request_duration_ms":1}}' + - '{"last_request_metrics":{"request_id":"req_825sXoqvnaNKZc","request_duration_ms":0}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:57 GMT + - Tue, 12 Mar 2024 00:43:00 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 76a0c556-277f-4aca-9127-a2e26a3eb154 + - 0f317df7-1ab6-4422-a893-93134546fdb1 Original-Request: - - req_CGyQi18Aq3t8ni + - req_pWY98ff9CSNOwC Request-Id: - - req_CGyQi18Aq3t8ni + - req_pWY98ff9CSNOwC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDkKuuB1fWySnMcqriqJR", + "id": "pm_1OtJQmKuuB1fWySnrbIE8Yck", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822816, + "created": 1710204180, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:57 GMT + recorded_at: Tue, 12 Mar 2024 00:43:00 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDkKuuB1fWySnMcqriqJR&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQmKuuB1fWySnrbIE8Yck&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CGyQi18Aq3t8ni","request_duration_ms":545}}' + - '{"last_request_metrics":{"request_id":"req_pWY98ff9CSNOwC","request_duration_ms":593}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:57 GMT + - Tue, 12 Mar 2024 00:43:01 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c5ad0900-c624-4e82-9e17-312ea6bd77b3 + - 3374ad04-3a34-4a62-ab85-2664df911c46 Original-Request: - - req_gMmrsgA5JxHzdZ + - req_uIITRWIRQ0Cwmi Request-Id: - - req_gMmrsgA5JxHzdZ + - req_uIITRWIRQ0Cwmi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDlKuuB1fWySn2hj1vP11", + "id": "pi_3OtJQmKuuB1fWySn2NZVoLQi", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDlKuuB1fWySn2hj1vP11_secret_8nHCbQTTf7uqRwJi2LQI4u7sb", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822817, + "created": 1710204180, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDkKuuB1fWySnMcqriqJR", + "payment_method": "pm_1OtJQmKuuB1fWySnrbIE8Yck", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:57 GMT + recorded_at: Tue, 12 Mar 2024 00:43:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDlKuuB1fWySn2hj1vP11/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQmKuuB1fWySn2NZVoLQi/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gMmrsgA5JxHzdZ","request_duration_ms":417}}' + - '{"last_request_metrics":{"request_id":"req_uIITRWIRQ0Cwmi","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:58 GMT + - Tue, 12 Mar 2024 00:43:02 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c46e3dd1-fbdf-46d5-9196-10671fb3cfc1 + - 0fe4a92c-00fe-4794-856a-ad7aff96b7d5 Original-Request: - - req_seOXIg7NjHNwUv + - req_sGPbGXyarufWX9 Request-Id: - - req_seOXIg7NjHNwUv + - req_sGPbGXyarufWX9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDlKuuB1fWySn2hj1vP11", + "id": "pi_3OtJQmKuuB1fWySn2NZVoLQi", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDlKuuB1fWySn2hj1vP11_secret_8nHCbQTTf7uqRwJi2LQI4u7sb", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822817, + "created": 1710204180, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDlKuuB1fWySn2a0Wn5Wn", + "latest_charge": "ch_3OtJQmKuuB1fWySn2nRbRVj1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDkKuuB1fWySnMcqriqJR", + "payment_method": "pm_1OtJQmKuuB1fWySnrbIE8Yck", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:58 GMT + recorded_at: Tue, 12 Mar 2024 00:43:02 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml index e1466f80e4..e48d5badc7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vsRABWCTSCcYcM","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_1SSJFFGIV1bqtF","request_duration_ms":1327}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:24 GMT + - Tue, 12 Mar 2024 00:43:25 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4f2cb36a-e9da-4aa3-ba90-4733d4ff9c46 + - 507dc4bb-e8e4-4ed5-9e38-3f89af64c47e Original-Request: - - req_aRLtMA5eGhqP1e + - req_RXXZrFcplc4SLL Request-Id: - - req_aRLtMA5eGhqP1e + - req_RXXZrFcplc4SLL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriECKuuB1fWySn0sg25lkj", + "id": "pm_1OtJRBKuuB1fWySn7QPklEpW", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822844, + "created": 1710204205, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:24 GMT + recorded_at: Tue, 12 Mar 2024 00:43:25 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriECKuuB1fWySn0sg25lkj&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJRBKuuB1fWySn7QPklEpW&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aRLtMA5eGhqP1e","request_duration_ms":460}}' + - '{"last_request_metrics":{"request_id":"req_RXXZrFcplc4SLL","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:24 GMT + - Tue, 12 Mar 2024 00:43:26 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5b90e1a3-7406-4deb-9872-d40271b1a50d + - aa4ba140-16cc-4c2e-a731-f95c5f236dd5 Original-Request: - - req_8Y2Lg3Iunw0xGo + - req_XXQgCQR0l9gYIn Request-Id: - - req_8Y2Lg3Iunw0xGo + - req_XXQgCQR0l9gYIn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriECKuuB1fWySn2Hh5FFcx", + "id": "pi_3OtJRBKuuB1fWySn0tamq7xO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriECKuuB1fWySn2Hh5FFcx_secret_sj9oCmNdO0cYsgZNJSHdgHuRd", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822844, + "created": 1710204205, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriECKuuB1fWySn0sg25lkj", + "payment_method": "pm_1OtJRBKuuB1fWySn7QPklEpW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:24 GMT + recorded_at: Tue, 12 Mar 2024 00:43:26 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriECKuuB1fWySn2Hh5FFcx/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRBKuuB1fWySn0tamq7xO/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8Y2Lg3Iunw0xGo","request_duration_ms":400}}' + - '{"last_request_metrics":{"request_id":"req_XXQgCQR0l9gYIn","request_duration_ms":447}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:25 GMT + - Tue, 12 Mar 2024 00:43:27 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0cab9de1-163a-4d69-9eed-c217c877a70d + - f0e2c745-dd03-43ae-9f78-a3c9e756b624 Original-Request: - - req_o7kwu5Zf84iYMn + - req_JZwgy7Cjr9DbQn Request-Id: - - req_o7kwu5Zf84iYMn + - req_JZwgy7Cjr9DbQn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriECKuuB1fWySn2Hh5FFcx", + "id": "pi_3OtJRBKuuB1fWySn0tamq7xO", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriECKuuB1fWySn2Hh5FFcx_secret_sj9oCmNdO0cYsgZNJSHdgHuRd", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822844, + "created": 1710204205, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriECKuuB1fWySn2cWY1hYl", + "latest_charge": "ch_3OtJRBKuuB1fWySn0DkQa49U", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriECKuuB1fWySn0sg25lkj", + "payment_method": "pm_1OtJRBKuuB1fWySn7QPklEpW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:25 GMT + recorded_at: Tue, 12 Mar 2024 00:43:27 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriECKuuB1fWySn2Hh5FFcx + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRBKuuB1fWySn0tamq7xO body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_o7kwu5Zf84iYMn","request_duration_ms":1012}}' + - '{"last_request_metrics":{"request_id":"req_JZwgy7Cjr9DbQn","request_duration_ms":985}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:26 GMT + - Tue, 12 Mar 2024 00:43:27 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_edAd3giVHrcBJq + - req_zY7H9rSBgrUOVr Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriECKuuB1fWySn2Hh5FFcx", + "id": "pi_3OtJRBKuuB1fWySn0tamq7xO", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriECKuuB1fWySn2Hh5FFcx_secret_sj9oCmNdO0cYsgZNJSHdgHuRd", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822844, + "created": 1710204205, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriECKuuB1fWySn2cWY1hYl", + "latest_charge": "ch_3OtJRBKuuB1fWySn0DkQa49U", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriECKuuB1fWySn0sg25lkj", + "payment_method": "pm_1OtJRBKuuB1fWySn7QPklEpW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:26 GMT + recorded_at: Tue, 12 Mar 2024 00:43:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriECKuuB1fWySn2Hh5FFcx/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRBKuuB1fWySn0tamq7xO/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_edAd3giVHrcBJq","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_zY7H9rSBgrUOVr","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:27 GMT + - Tue, 12 Mar 2024 00:43:28 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fe601a84-e5dc-4763-9951-25bec197d7a6 + - 4a741d4a-4da4-4ad4-ba34-16ef32f432c6 Original-Request: - - req_D3axw8DK0wGfgl + - req_2VAILbuNN1o5D5 Request-Id: - - req_D3axw8DK0wGfgl + - req_2VAILbuNN1o5D5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriECKuuB1fWySn2Hh5FFcx", + "id": "pi_3OtJRBKuuB1fWySn0tamq7xO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriECKuuB1fWySn2Hh5FFcx_secret_sj9oCmNdO0cYsgZNJSHdgHuRd", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822844, + "created": 1710204205, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriECKuuB1fWySn2cWY1hYl", + "latest_charge": "ch_3OtJRBKuuB1fWySn0DkQa49U", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriECKuuB1fWySn0sg25lkj", + "payment_method": "pm_1OtJRBKuuB1fWySn7QPklEpW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:27 GMT + recorded_at: Tue, 12 Mar 2024 00:43:28 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriECKuuB1fWySn2Hh5FFcx + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRBKuuB1fWySn0tamq7xO body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_D3axw8DK0wGfgl","request_duration_ms":1069}}' + - '{"last_request_metrics":{"request_id":"req_2VAILbuNN1o5D5","request_duration_ms":1056}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:27 GMT + - Tue, 12 Mar 2024 00:43:28 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_BjD7xQLUnNY1QE + - req_XZw5q6sTWCRt10 Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriECKuuB1fWySn2Hh5FFcx", + "id": "pi_3OtJRBKuuB1fWySn0tamq7xO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriECKuuB1fWySn2Hh5FFcx_secret_sj9oCmNdO0cYsgZNJSHdgHuRd", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822844, + "created": 1710204205, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriECKuuB1fWySn2cWY1hYl", + "latest_charge": "ch_3OtJRBKuuB1fWySn0DkQa49U", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriECKuuB1fWySn0sg25lkj", + "payment_method": "pm_1OtJRBKuuB1fWySn7QPklEpW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:27 GMT + recorded_at: Tue, 12 Mar 2024 00:43:29 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml index f93c916c1f..7ab5c6c20f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3WxihqjmQGrxRd","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_aKQXUM7euRPw16","request_duration_ms":386}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:21 GMT + - Tue, 12 Mar 2024 00:43:23 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4099bcf1-cf74-407e-8d5c-44c15e4a7c07 + - ee51c777-4b00-495b-95fb-1c6b2517cda8 Original-Request: - - req_DCxgQ8hsYkaeia + - req_SzMh4NpgxSUhVu Request-Id: - - req_DCxgQ8hsYkaeia + - req_SzMh4NpgxSUhVu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriE9KuuB1fWySntLweSwQJ", + "id": "pm_1OtJR9KuuB1fWySnErTgTO8k", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822841, + "created": 1710204203, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:21 GMT + recorded_at: Tue, 12 Mar 2024 00:43:23 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriE9KuuB1fWySntLweSwQJ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJR9KuuB1fWySnErTgTO8k&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DCxgQ8hsYkaeia","request_duration_ms":458}}' + - '{"last_request_metrics":{"request_id":"req_SzMh4NpgxSUhVu","request_duration_ms":402}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:22 GMT + - Tue, 12 Mar 2024 00:43:23 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8e26e0ae-8a92-438b-974e-427f8a58ca1d + - 83e790dd-4ade-40ad-a047-6f7715f5f09b Original-Request: - - req_zcYdFPi27JxnfJ + - req_YPOapwEeLS7tLx Request-Id: - - req_zcYdFPi27JxnfJ + - req_YPOapwEeLS7tLx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEAKuuB1fWySn2YSo2Qme", + "id": "pi_3OtJR9KuuB1fWySn2hHvrCE4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEAKuuB1fWySn2YSo2Qme_secret_KJUXhwKhi4oQn55ZZPiPLDEO8", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822842, + "created": 1710204203, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriE9KuuB1fWySntLweSwQJ", + "payment_method": "pm_1OtJR9KuuB1fWySnErTgTO8k", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:22 GMT + recorded_at: Tue, 12 Mar 2024 00:43:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEAKuuB1fWySn2YSo2Qme/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR9KuuB1fWySn2hHvrCE4/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zcYdFPi27JxnfJ","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_YPOapwEeLS7tLx","request_duration_ms":425}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:23 GMT + - Tue, 12 Mar 2024 00:43:25 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f3331d82-9e78-454c-9a96-fbe47179a6db + - 75db175a-7733-49f4-a032-eef15cce6797 Original-Request: - - req_vsRABWCTSCcYcM + - req_1SSJFFGIV1bqtF Request-Id: - - req_vsRABWCTSCcYcM + - req_1SSJFFGIV1bqtF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEAKuuB1fWySn2YSo2Qme", + "id": "pi_3OtJR9KuuB1fWySn2hHvrCE4", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEAKuuB1fWySn2YSo2Qme_secret_KJUXhwKhi4oQn55ZZPiPLDEO8", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822842, + "created": 1710204203, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEAKuuB1fWySn2fAX4Mph", + "latest_charge": "ch_3OtJR9KuuB1fWySn2QdmGXLB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriE9KuuB1fWySntLweSwQJ", + "payment_method": "pm_1OtJR9KuuB1fWySnErTgTO8k", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:23 GMT + recorded_at: Tue, 12 Mar 2024 00:43:25 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml index 51f5c8bc70..45ba0ed365 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YUfWINDoSofrlw","request_duration_ms":1054}}' + - '{"last_request_metrics":{"request_id":"req_w7ssmyjTxslkmK","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:20 GMT + - Tue, 12 Mar 2024 00:42:28 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - de65b044-4f6d-405e-bab9-1383f1c36b18 + - '0229523e-9b99-4e52-b20c-fd83a5518e7d' Original-Request: - - req_i2RMdpnNkkdPhO + - req_kFNSYPhUgXBB3p Request-Id: - - req_i2RMdpnNkkdPhO + - req_kFNSYPhUgXBB3p Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDAKuuB1fWySnfupTE0od", + "id": "pm_1OtJQGKuuB1fWySnyOYFmQJp", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822780, + "created": 1710204148, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:20 GMT + recorded_at: Tue, 12 Mar 2024 00:42:28 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDAKuuB1fWySnfupTE0od&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQGKuuB1fWySnyOYFmQJp&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_i2RMdpnNkkdPhO","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_kFNSYPhUgXBB3p","request_duration_ms":423}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:21 GMT + - Tue, 12 Mar 2024 00:42:29 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5d3854c3-c401-416f-9648-7cacaca52b41 + - b78e6ea6-51c3-43b0-a704-e05d89667282 Original-Request: - - req_4lTba9jcXAFNUT + - req_n2rxuP2gfky0fg Request-Id: - - req_4lTba9jcXAFNUT + - req_n2rxuP2gfky0fg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDBKuuB1fWySn0ZUCJydC", + "id": "pi_3OtJQGKuuB1fWySn1raTmwkk", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDBKuuB1fWySn0ZUCJydC_secret_06CQ2KXr5tVVC8HJHxhVEnpDv", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822781, + "created": 1710204148, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDAKuuB1fWySnfupTE0od", + "payment_method": "pm_1OtJQGKuuB1fWySnyOYFmQJp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:21 GMT + recorded_at: Tue, 12 Mar 2024 00:42:29 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDBKuuB1fWySn0ZUCJydC/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQGKuuB1fWySn1raTmwkk/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4lTba9jcXAFNUT","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_n2rxuP2gfky0fg","request_duration_ms":469}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:22 GMT + - Tue, 12 Mar 2024 00:42:30 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b5aab9bd-6d5e-4f45-acf4-d79c37a13589 + - 149c5531-74e7-4cde-a1b6-2ce2366b6c84 Original-Request: - - req_CpTQ4vPCuxijPU + - req_DIeUZHFvmvjX8M Request-Id: - - req_CpTQ4vPCuxijPU + - req_DIeUZHFvmvjX8M Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDBKuuB1fWySn0ZUCJydC", + "id": "pi_3OtJQGKuuB1fWySn1raTmwkk", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDBKuuB1fWySn0ZUCJydC_secret_06CQ2KXr5tVVC8HJHxhVEnpDv", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822781, + "created": 1710204148, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDBKuuB1fWySn0tg1mo96", + "latest_charge": "ch_3OtJQGKuuB1fWySn11VOxrYM", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDAKuuB1fWySnfupTE0od", + "payment_method": "pm_1OtJQGKuuB1fWySnyOYFmQJp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:22 GMT + recorded_at: Tue, 12 Mar 2024 00:42:30 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDBKuuB1fWySn0ZUCJydC + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQGKuuB1fWySn1raTmwkk body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CpTQ4vPCuxijPU","request_duration_ms":1120}}' + - '{"last_request_metrics":{"request_id":"req_DIeUZHFvmvjX8M","request_duration_ms":1062}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:22 GMT + - Tue, 12 Mar 2024 00:42:30 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_7F00VroTo9CbLK + - req_z8sdiRjCfl7iau Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDBKuuB1fWySn0ZUCJydC", + "id": "pi_3OtJQGKuuB1fWySn1raTmwkk", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDBKuuB1fWySn0ZUCJydC_secret_06CQ2KXr5tVVC8HJHxhVEnpDv", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822781, + "created": 1710204148, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDBKuuB1fWySn0tg1mo96", + "latest_charge": "ch_3OtJQGKuuB1fWySn11VOxrYM", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDAKuuB1fWySnfupTE0od", + "payment_method": "pm_1OtJQGKuuB1fWySnyOYFmQJp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:22 GMT + recorded_at: Tue, 12 Mar 2024 00:42:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDBKuuB1fWySn0ZUCJydC/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQGKuuB1fWySn1raTmwkk/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7F00VroTo9CbLK","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_z8sdiRjCfl7iau","request_duration_ms":305}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:23 GMT + - Tue, 12 Mar 2024 00:42:31 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 69606bdc-00c8-4bf5-b460-5404cb6aaf6d + - bea425b4-b2c1-4fee-b2ef-e165b00d17bf Original-Request: - - req_MV8uV7mWOMUu08 + - req_3Z46VqNO72Jj6J Request-Id: - - req_MV8uV7mWOMUu08 + - req_3Z46VqNO72Jj6J Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDBKuuB1fWySn0ZUCJydC", + "id": "pi_3OtJQGKuuB1fWySn1raTmwkk", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDBKuuB1fWySn0ZUCJydC_secret_06CQ2KXr5tVVC8HJHxhVEnpDv", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822781, + "created": 1710204148, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDBKuuB1fWySn0tg1mo96", + "latest_charge": "ch_3OtJQGKuuB1fWySn11VOxrYM", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDAKuuB1fWySnfupTE0od", + "payment_method": "pm_1OtJQGKuuB1fWySnyOYFmQJp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:23 GMT + recorded_at: Tue, 12 Mar 2024 00:42:31 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDBKuuB1fWySn0ZUCJydC + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQGKuuB1fWySn1raTmwkk body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MV8uV7mWOMUu08","request_duration_ms":1018}}' + - '{"last_request_metrics":{"request_id":"req_3Z46VqNO72Jj6J","request_duration_ms":996}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:24 GMT + - Tue, 12 Mar 2024 00:42:31 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_OLv5QNX0eDfAVj + - req_QMLeqJudwaI6sD Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDBKuuB1fWySn0ZUCJydC", + "id": "pi_3OtJQGKuuB1fWySn1raTmwkk", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDBKuuB1fWySn0ZUCJydC_secret_06CQ2KXr5tVVC8HJHxhVEnpDv", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822781, + "created": 1710204148, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDBKuuB1fWySn0tg1mo96", + "latest_charge": "ch_3OtJQGKuuB1fWySn11VOxrYM", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDAKuuB1fWySnfupTE0od", + "payment_method": "pm_1OtJQGKuuB1fWySnyOYFmQJp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:24 GMT + recorded_at: Tue, 12 Mar 2024 00:42:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml index 5ed72e08b8..6821e400c1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oOnp67xVyiBUQR","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_pW0ECOBgDMm4CK","request_duration_ms":299}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:18 GMT + - Tue, 12 Mar 2024 00:42:26 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 91fe29f2-aef6-40fc-8598-e82df030a69b + - 3d7b96e5-fcfd-440c-bb06-d5375bc9c9d1 Original-Request: - - req_IT1FunFtZs1zEO + - req_TzgjhTxPCZbaTH Request-Id: - - req_IT1FunFtZs1zEO + - req_TzgjhTxPCZbaTH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriD8KuuB1fWySn0oyS4PcC", + "id": "pm_1OtJQEKuuB1fWySnB4U7m7xn", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822778, + "created": 1710204146, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:18 GMT + recorded_at: Tue, 12 Mar 2024 00:42:26 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriD8KuuB1fWySn0oyS4PcC&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQEKuuB1fWySnB4U7m7xn&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IT1FunFtZs1zEO","request_duration_ms":562}}' + - '{"last_request_metrics":{"request_id":"req_TzgjhTxPCZbaTH","request_duration_ms":442}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:18 GMT + - Tue, 12 Mar 2024 00:42:27 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7160d939-d8fe-4d50-a9cd-e652ed34ab86 + - 2d8ba9df-19e9-49de-b39f-a2284bb07804 Original-Request: - - req_OIihcvXcrWTZ0y + - req_3CjGfSFRrH65t8 Request-Id: - - req_OIihcvXcrWTZ0y + - req_3CjGfSFRrH65t8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriD8KuuB1fWySn0MtMp7aH", + "id": "pi_3OtJQEKuuB1fWySn28nM4wgt", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriD8KuuB1fWySn0MtMp7aH_secret_mvknmNpDvym1fhQdVU4NVAsSi", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822778, + "created": 1710204146, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriD8KuuB1fWySn0oyS4PcC", + "payment_method": "pm_1OtJQEKuuB1fWySnB4U7m7xn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:18 GMT + recorded_at: Tue, 12 Mar 2024 00:42:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriD8KuuB1fWySn0MtMp7aH/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQEKuuB1fWySn28nM4wgt/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OIihcvXcrWTZ0y","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_3CjGfSFRrH65t8","request_duration_ms":474}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:19 GMT + - Tue, 12 Mar 2024 00:42:27 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1963557d-8cb9-4bb0-8836-2b17e5477d47 + - ad73d875-5bb1-4ea9-92a5-5c3e53e4d45f Original-Request: - - req_YUfWINDoSofrlw + - req_w7ssmyjTxslkmK Request-Id: - - req_YUfWINDoSofrlw + - req_w7ssmyjTxslkmK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriD8KuuB1fWySn0MtMp7aH", + "id": "pi_3OtJQEKuuB1fWySn28nM4wgt", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriD8KuuB1fWySn0MtMp7aH_secret_mvknmNpDvym1fhQdVU4NVAsSi", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822778, + "created": 1710204146, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriD8KuuB1fWySn0yqfdzAg", + "latest_charge": "ch_3OtJQEKuuB1fWySn2GQoUQZD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriD8KuuB1fWySn0oyS4PcC", + "payment_method": "pm_1OtJQEKuuB1fWySnB4U7m7xn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:20 GMT + recorded_at: Tue, 12 Mar 2024 00:42:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml index b96f041447..db09af0c83 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gTL1Ui96bAY7i5","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_UJsMvj64RCtyft","request_duration_ms":1056}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:27 GMT + - Tue, 12 Mar 2024 00:42:34 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d4a5a410-1c60-4b42-9390-5ad53f77f2dd + - d1d43fe6-47b5-459f-8b4e-ae17a2347cad Original-Request: - - req_J7RjstUSBM4S9f + - req_rmW5Flqfc79fyH Request-Id: - - req_J7RjstUSBM4S9f + - req_rmW5Flqfc79fyH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDGKuuB1fWySno2YRtGRZ", + "id": "pm_1OtJQLKuuB1fWySnbs7xyuXf", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822786, + "created": 1710204154, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:27 GMT + recorded_at: Tue, 12 Mar 2024 00:42:34 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDGKuuB1fWySno2YRtGRZ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQLKuuB1fWySnbs7xyuXf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_J7RjstUSBM4S9f","request_duration_ms":499}}' + - '{"last_request_metrics":{"request_id":"req_rmW5Flqfc79fyH","request_duration_ms":473}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:27 GMT + - Tue, 12 Mar 2024 00:42:34 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 615fb8a4-b978-4730-b89a-439fcf0872a3 + - f81144c1-8f7e-4425-8b7c-5908eea8787e Original-Request: - - req_zCm1bsmkO5O4HC + - req_4qZbOGhEeh5a5z Request-Id: - - req_zCm1bsmkO5O4HC + - req_4qZbOGhEeh5a5z Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDHKuuB1fWySn2Id85hn8", + "id": "pi_3OtJQMKuuB1fWySn1TDvhygI", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDHKuuB1fWySn2Id85hn8_secret_MjuwkMLo08UiumEuzDsNhgI8J", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822787, + "created": 1710204154, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDGKuuB1fWySno2YRtGRZ", + "payment_method": "pm_1OtJQLKuuB1fWySnbs7xyuXf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:27 GMT + recorded_at: Tue, 12 Mar 2024 00:42:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDHKuuB1fWySn2Id85hn8/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQMKuuB1fWySn1TDvhygI/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zCm1bsmkO5O4HC","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_4qZbOGhEeh5a5z","request_duration_ms":455}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:28 GMT + - Tue, 12 Mar 2024 00:42:35 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3a9e8832-7890-4215-bb6e-ac92f5e360db + - 502099e0-73d6-4075-add9-968dd60dbdb6 Original-Request: - - req_Dn7qxWneEsYKqJ + - req_RhzkIspPQ7j1I0 Request-Id: - - req_Dn7qxWneEsYKqJ + - req_RhzkIspPQ7j1I0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDHKuuB1fWySn2Id85hn8", + "id": "pi_3OtJQMKuuB1fWySn1TDvhygI", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDHKuuB1fWySn2Id85hn8_secret_MjuwkMLo08UiumEuzDsNhgI8J", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822787, + "created": 1710204154, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDHKuuB1fWySn2sVMS0jz", + "latest_charge": "ch_3OtJQMKuuB1fWySn1S1iBfvc", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDGKuuB1fWySno2YRtGRZ", + "payment_method": "pm_1OtJQLKuuB1fWySnbs7xyuXf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:28 GMT + recorded_at: Tue, 12 Mar 2024 00:42:35 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDHKuuB1fWySn2Id85hn8 + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQMKuuB1fWySn1TDvhygI body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Dn7qxWneEsYKqJ","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_RhzkIspPQ7j1I0","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:28 GMT + - Tue, 12 Mar 2024 00:42:36 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_xipkUyS0meO2cs + - req_LFHAnuRr4pcNkm Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDHKuuB1fWySn2Id85hn8", + "id": "pi_3OtJQMKuuB1fWySn1TDvhygI", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDHKuuB1fWySn2Id85hn8_secret_MjuwkMLo08UiumEuzDsNhgI8J", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822787, + "created": 1710204154, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDHKuuB1fWySn2sVMS0jz", + "latest_charge": "ch_3OtJQMKuuB1fWySn1S1iBfvc", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDGKuuB1fWySno2YRtGRZ", + "payment_method": "pm_1OtJQLKuuB1fWySnbs7xyuXf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:29 GMT + recorded_at: Tue, 12 Mar 2024 00:42:36 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDHKuuB1fWySn2Id85hn8/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQMKuuB1fWySn1TDvhygI/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xipkUyS0meO2cs","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_LFHAnuRr4pcNkm","request_duration_ms":288}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:30 GMT + - Tue, 12 Mar 2024 00:42:37 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c5e23236-fffc-41e2-be31-f2785f741130 + - '07308cd8-60b3-40da-8604-e8cd6951fbd5' Original-Request: - - req_ykTo4mMnkjROpj + - req_I0kbkyfuw9wt0u Request-Id: - - req_ykTo4mMnkjROpj + - req_I0kbkyfuw9wt0u Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDHKuuB1fWySn2Id85hn8", + "id": "pi_3OtJQMKuuB1fWySn1TDvhygI", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDHKuuB1fWySn2Id85hn8_secret_MjuwkMLo08UiumEuzDsNhgI8J", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822787, + "created": 1710204154, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDHKuuB1fWySn2sVMS0jz", + "latest_charge": "ch_3OtJQMKuuB1fWySn1S1iBfvc", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDGKuuB1fWySno2YRtGRZ", + "payment_method": "pm_1OtJQLKuuB1fWySnbs7xyuXf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:30 GMT + recorded_at: Tue, 12 Mar 2024 00:42:37 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDHKuuB1fWySn2Id85hn8 + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQMKuuB1fWySn1TDvhygI body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ykTo4mMnkjROpj","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_I0kbkyfuw9wt0u","request_duration_ms":1041}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:30 GMT + - Tue, 12 Mar 2024 00:42:37 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_1UNWg7T1h1ieVY + - req_vs56mktKDteBpC Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDHKuuB1fWySn2Id85hn8", + "id": "pi_3OtJQMKuuB1fWySn1TDvhygI", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDHKuuB1fWySn2Id85hn8_secret_MjuwkMLo08UiumEuzDsNhgI8J", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822787, + "created": 1710204154, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDHKuuB1fWySn2sVMS0jz", + "latest_charge": "ch_3OtJQMKuuB1fWySn1S1iBfvc", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDGKuuB1fWySno2YRtGRZ", + "payment_method": "pm_1OtJQLKuuB1fWySnbs7xyuXf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:30 GMT + recorded_at: Tue, 12 Mar 2024 00:42:37 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml index d3d49f77c1..5e7091a9cf 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OLv5QNX0eDfAVj","request_duration_ms":307}}' + - '{"last_request_metrics":{"request_id":"req_QMLeqJudwaI6sD","request_duration_ms":337}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:24 GMT + - Tue, 12 Mar 2024 00:42:32 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 20c5cf0c-c546-466c-8542-a95a3cea11d5 + - 5b06aeba-3cb9-4dec-80ff-e89797d1f736 Original-Request: - - req_Qx08JLoH7MOWHj + - req_M6NgvrFBzltGi5 Request-Id: - - req_Qx08JLoH7MOWHj + - req_M6NgvrFBzltGi5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDEKuuB1fWySnJTZvJF1S", + "id": "pm_1OtJQJKuuB1fWySn4bSO4WGY", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822784, + "created": 1710204152, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:24 GMT + recorded_at: Tue, 12 Mar 2024 00:42:32 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDEKuuB1fWySnJTZvJF1S&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQJKuuB1fWySn4bSO4WGY&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Qx08JLoH7MOWHj","request_duration_ms":548}}' + - '{"last_request_metrics":{"request_id":"req_M6NgvrFBzltGi5","request_duration_ms":418}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:25 GMT + - Tue, 12 Mar 2024 00:42:32 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8251e68a-bdc2-4e2b-a94f-f1cf34a578e0 + - 9c8f71d5-419a-4f60-b520-34e3209f5d68 Original-Request: - - req_ACwN545dOXjNyk + - req_YiFOTeDGcrwLJ1 Request-Id: - - req_ACwN545dOXjNyk + - req_YiFOTeDGcrwLJ1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDEKuuB1fWySn0tJmhWC4", + "id": "pi_3OtJQKKuuB1fWySn2CkAoRsO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDEKuuB1fWySn0tJmhWC4_secret_T758o0cB6dMLXTIsLTBgUMQ9f", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822784, + "created": 1710204152, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDEKuuB1fWySnJTZvJF1S", + "payment_method": "pm_1OtJQJKuuB1fWySn4bSO4WGY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:25 GMT + recorded_at: Tue, 12 Mar 2024 00:42:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDEKuuB1fWySn0tJmhWC4/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQKKuuB1fWySn2CkAoRsO/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ACwN545dOXjNyk","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_YiFOTeDGcrwLJ1","request_duration_ms":453}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:26 GMT + - Tue, 12 Mar 2024 00:42:33 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 26ced46d-2e55-4f78-bf19-ca01a6225995 + - d06233a7-553f-4923-8a89-02544a6c0d01 Original-Request: - - req_gTL1Ui96bAY7i5 + - req_UJsMvj64RCtyft Request-Id: - - req_gTL1Ui96bAY7i5 + - req_UJsMvj64RCtyft Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDEKuuB1fWySn0tJmhWC4", + "id": "pi_3OtJQKKuuB1fWySn2CkAoRsO", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDEKuuB1fWySn0tJmhWC4_secret_T758o0cB6dMLXTIsLTBgUMQ9f", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822784, + "created": 1710204152, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDEKuuB1fWySn0bZ2h8zJ", + "latest_charge": "ch_3OtJQKKuuB1fWySn2aLV1ZCv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDEKuuB1fWySnJTZvJF1S", + "payment_method": "pm_1OtJQJKuuB1fWySn4bSO4WGY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:26 GMT + recorded_at: Tue, 12 Mar 2024 00:42:33 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml index 8c5702285b..3cb11257a1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UKOk2FmwRrBtp6","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_v50V09rXOsqcWA","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:33 GMT + - Tue, 12 Mar 2024 00:42:39 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 46994272-bcb3-45fc-8d27-33eae679bd45 + - e5d23af9-09ff-4b7a-bfd8-39948a373bd5 Original-Request: - - req_u3uK5LOVY1RSof + - req_aFfu9Ouf7eOiBs Request-Id: - - req_u3uK5LOVY1RSof + - req_aFfu9Ouf7eOiBs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDNKuuB1fWySn3pcRnNZM", + "id": "pm_1OtJQRKuuB1fWySnEHy4oEP2", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822793, + "created": 1710204159, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:33 GMT + recorded_at: Tue, 12 Mar 2024 00:42:40 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDNKuuB1fWySn3pcRnNZM&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQRKuuB1fWySnEHy4oEP2&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_u3uK5LOVY1RSof","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_aFfu9Ouf7eOiBs","request_duration_ms":436}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:34 GMT + - Tue, 12 Mar 2024 00:42:40 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 93fd0d3c-ccec-4372-892a-a69797d39c03 + - c8062884-80e1-44ee-9c6b-511f2e241e55 Original-Request: - - req_iO5YShaDzrjup4 + - req_R7oCFSbu5KoYyp Request-Id: - - req_iO5YShaDzrjup4 + - req_R7oCFSbu5KoYyp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDNKuuB1fWySn1jditZFT", + "id": "pi_3OtJQSKuuB1fWySn0Njz3ZNp", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDNKuuB1fWySn1jditZFT_secret_pn9PQlUhz6ZWV2Mnr9JO2SiuX", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822793, + "created": 1710204160, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDNKuuB1fWySn3pcRnNZM", + "payment_method": "pm_1OtJQRKuuB1fWySnEHy4oEP2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:34 GMT + recorded_at: Tue, 12 Mar 2024 00:42:40 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDNKuuB1fWySn1jditZFT/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQSKuuB1fWySn0Njz3ZNp/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iO5YShaDzrjup4","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_R7oCFSbu5KoYyp","request_duration_ms":497}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:35 GMT + - Tue, 12 Mar 2024 00:42:41 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 506ccc3e-f835-4b00-90be-f0857b34305b + - 84aada9e-cbe8-463a-bc10-25e78f6b6c94 Original-Request: - - req_32p1Wgi57eDxni + - req_v79QDWTSGyO5xn Request-Id: - - req_32p1Wgi57eDxni + - req_v79QDWTSGyO5xn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDNKuuB1fWySn1jditZFT", + "id": "pi_3OtJQSKuuB1fWySn0Njz3ZNp", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDNKuuB1fWySn1jditZFT_secret_pn9PQlUhz6ZWV2Mnr9JO2SiuX", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822793, + "created": 1710204160, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDNKuuB1fWySn1RVSUAvZ", + "latest_charge": "ch_3OtJQSKuuB1fWySn0UJBmRk8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDNKuuB1fWySn3pcRnNZM", + "payment_method": "pm_1OtJQRKuuB1fWySnEHy4oEP2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:35 GMT + recorded_at: Tue, 12 Mar 2024 00:42:41 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDNKuuB1fWySn1jditZFT + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQSKuuB1fWySn0Njz3ZNp body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_32p1Wgi57eDxni","request_duration_ms":1065}}' + - '{"last_request_metrics":{"request_id":"req_v79QDWTSGyO5xn","request_duration_ms":972}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:35 GMT + - Tue, 12 Mar 2024 00:42:41 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_62aV7X8j1vVzy7 + - req_If9RJUtGE9XDfU Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDNKuuB1fWySn1jditZFT", + "id": "pi_3OtJQSKuuB1fWySn0Njz3ZNp", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDNKuuB1fWySn1jditZFT_secret_pn9PQlUhz6ZWV2Mnr9JO2SiuX", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822793, + "created": 1710204160, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDNKuuB1fWySn1RVSUAvZ", + "latest_charge": "ch_3OtJQSKuuB1fWySn0UJBmRk8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDNKuuB1fWySn3pcRnNZM", + "payment_method": "pm_1OtJQRKuuB1fWySnEHy4oEP2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:35 GMT + recorded_at: Tue, 12 Mar 2024 00:42:41 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDNKuuB1fWySn1jditZFT/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQSKuuB1fWySn0Njz3ZNp/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_62aV7X8j1vVzy7","request_duration_ms":359}}' + - '{"last_request_metrics":{"request_id":"req_If9RJUtGE9XDfU","request_duration_ms":355}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:36 GMT + - Tue, 12 Mar 2024 00:42:42 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e5f84e23-3c79-4fd3-ac17-cb132e1b609d + - 5434c784-1e2b-4f71-a2db-a3b7fafe4b41 Original-Request: - - req_RvzwumprhmUXpr + - req_wwpcM4z4c6vjEY Request-Id: - - req_RvzwumprhmUXpr + - req_wwpcM4z4c6vjEY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDNKuuB1fWySn1jditZFT", + "id": "pi_3OtJQSKuuB1fWySn0Njz3ZNp", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDNKuuB1fWySn1jditZFT_secret_pn9PQlUhz6ZWV2Mnr9JO2SiuX", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822793, + "created": 1710204160, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDNKuuB1fWySn1RVSUAvZ", + "latest_charge": "ch_3OtJQSKuuB1fWySn0UJBmRk8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDNKuuB1fWySn3pcRnNZM", + "payment_method": "pm_1OtJQRKuuB1fWySnEHy4oEP2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:36 GMT + recorded_at: Tue, 12 Mar 2024 00:42:42 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDNKuuB1fWySn1jditZFT + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQSKuuB1fWySn0Njz3ZNp body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RvzwumprhmUXpr","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_wwpcM4z4c6vjEY","request_duration_ms":1053}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:36 GMT + - Tue, 12 Mar 2024 00:42:43 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_X9VW493dFHuSXA + - req_lcTqVKFqgwRu74 Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDNKuuB1fWySn1jditZFT", + "id": "pi_3OtJQSKuuB1fWySn0Njz3ZNp", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDNKuuB1fWySn1jditZFT_secret_pn9PQlUhz6ZWV2Mnr9JO2SiuX", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822793, + "created": 1710204160, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDNKuuB1fWySn1RVSUAvZ", + "latest_charge": "ch_3OtJQSKuuB1fWySn0UJBmRk8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDNKuuB1fWySn3pcRnNZM", + "payment_method": "pm_1OtJQRKuuB1fWySnEHy4oEP2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:37 GMT + recorded_at: Tue, 12 Mar 2024 00:42:43 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml index ca2309bcbe..6af4fb78de 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1UNWg7T1h1ieVY","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_vs56mktKDteBpC","request_duration_ms":292}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:31 GMT + - Tue, 12 Mar 2024 00:42:37 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c177db89-db76-4dd4-aa13-65f1022396c1 + - f15c23f6-a227-4748-8cf6-f0e3a5e888df Original-Request: - - req_IhTwV4lXYFfEbA + - req_LBYhjNcJMNoPjt Request-Id: - - req_IhTwV4lXYFfEbA + - req_LBYhjNcJMNoPjt Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDKKuuB1fWySnakQiXvnX", + "id": "pm_1OtJQPKuuB1fWySnk0MvxAnQ", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822790, + "created": 1710204157, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:31 GMT + recorded_at: Tue, 12 Mar 2024 00:42:37 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDKKuuB1fWySnakQiXvnX&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQPKuuB1fWySnk0MvxAnQ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IhTwV4lXYFfEbA","request_duration_ms":459}}' + - '{"last_request_metrics":{"request_id":"req_LBYhjNcJMNoPjt","request_duration_ms":435}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:31 GMT + - Tue, 12 Mar 2024 00:42:38 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1422db44-eb8c-4f71-b4f0-3a45c59ec638 + - bae52707-e044-4317-8bb3-d46543554099 Original-Request: - - req_08sCJS0quhefbb + - req_JaUfA7N9Dv9NcI Request-Id: - - req_08sCJS0quhefbb + - req_JaUfA7N9Dv9NcI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDLKuuB1fWySn0TVrpWbU", + "id": "pi_3OtJQQKuuB1fWySn0CutrfxK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDLKuuB1fWySn0TVrpWbU_secret_MkqRMOT82c6P4LLP6KM6pFRTq", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822791, + "created": 1710204158, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDKKuuB1fWySnakQiXvnX", + "payment_method": "pm_1OtJQPKuuB1fWySnk0MvxAnQ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:31 GMT + recorded_at: Tue, 12 Mar 2024 00:42:38 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDLKuuB1fWySn0TVrpWbU/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQQKuuB1fWySn0CutrfxK/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_08sCJS0quhefbb","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_JaUfA7N9Dv9NcI","request_duration_ms":485}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:32 GMT + - Tue, 12 Mar 2024 00:42:39 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cc555ccf-cef7-4453-8e59-b21abbe55c35 + - a3c18466-de2f-456a-9368-39d551ecde99 Original-Request: - - req_UKOk2FmwRrBtp6 + - req_v50V09rXOsqcWA Request-Id: - - req_UKOk2FmwRrBtp6 + - req_v50V09rXOsqcWA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDLKuuB1fWySn0TVrpWbU", + "id": "pi_3OtJQQKuuB1fWySn0CutrfxK", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDLKuuB1fWySn0TVrpWbU_secret_MkqRMOT82c6P4LLP6KM6pFRTq", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822791, + "created": 1710204158, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDLKuuB1fWySn0iluSSnD", + "latest_charge": "ch_3OtJQQKuuB1fWySn0KiuTLuu", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDKKuuB1fWySnakQiXvnX", + "payment_method": "pm_1OtJQPKuuB1fWySnk0MvxAnQ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:32 GMT + recorded_at: Tue, 12 Mar 2024 00:42:39 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml index a9a516ff91..a12151d405 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6yBw0x1vvhfdDj","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_Lmcx4bfwJ2jALm","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:39 GMT + - Tue, 12 Mar 2024 00:42:45 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3964aead-36f2-43d9-ba87-e096808086fd + - 3a99329e-bf27-403e-a23d-c810fe070562 Original-Request: - - req_Iw5SpMkXkSeAnb + - req_GcvJNoQV5buGkF Request-Id: - - req_Iw5SpMkXkSeAnb + - req_GcvJNoQV5buGkF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDTKuuB1fWySnbQpMhmHb", + "id": "pm_1OtJQXKuuB1fWySnRwHdXGsz", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822799, + "created": 1710204165, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:40 GMT + recorded_at: Tue, 12 Mar 2024 00:42:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDTKuuB1fWySnbQpMhmHb&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQXKuuB1fWySnRwHdXGsz&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Iw5SpMkXkSeAnb","request_duration_ms":461}}' + - '{"last_request_metrics":{"request_id":"req_GcvJNoQV5buGkF","request_duration_ms":419}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:40 GMT + - Tue, 12 Mar 2024 00:42:46 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a8bba441-13ea-4567-abf8-859faea3b7e3 + - 3e7b4ca4-c06e-4cfb-8762-e2c2162cca55 Original-Request: - - req_cPRPvwCELst4uU + - req_GyoulaJdpz6ds8 Request-Id: - - req_cPRPvwCELst4uU + - req_GyoulaJdpz6ds8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDUKuuB1fWySn1XNxtS35", + "id": "pi_3OtJQXKuuB1fWySn1b9r3XOA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDUKuuB1fWySn1XNxtS35_secret_ndcPIRjwMDMMheHuODo89gMDl", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822800, + "created": 1710204165, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDTKuuB1fWySnbQpMhmHb", + "payment_method": "pm_1OtJQXKuuB1fWySnRwHdXGsz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:40 GMT + recorded_at: Tue, 12 Mar 2024 00:42:46 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDUKuuB1fWySn1XNxtS35/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQXKuuB1fWySn1b9r3XOA/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cPRPvwCELst4uU","request_duration_ms":403}}' + - '{"last_request_metrics":{"request_id":"req_GyoulaJdpz6ds8","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:41 GMT + - Tue, 12 Mar 2024 00:42:47 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9f311044-a47f-45a5-88f1-bb5e32f775f5 + - 3ffc9b48-26ba-44da-92f3-bf4662b11733 Original-Request: - - req_U4E2c2lzgVBEIv + - req_bScFkmi61Dth7R Request-Id: - - req_U4E2c2lzgVBEIv + - req_bScFkmi61Dth7R Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDUKuuB1fWySn1XNxtS35", + "id": "pi_3OtJQXKuuB1fWySn1b9r3XOA", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDUKuuB1fWySn1XNxtS35_secret_ndcPIRjwMDMMheHuODo89gMDl", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822800, + "created": 1710204165, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDUKuuB1fWySn1GXB9i1v", + "latest_charge": "ch_3OtJQXKuuB1fWySn1aK1w0Lf", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDTKuuB1fWySnbQpMhmHb", + "payment_method": "pm_1OtJQXKuuB1fWySnRwHdXGsz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:41 GMT + recorded_at: Tue, 12 Mar 2024 00:42:47 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDUKuuB1fWySn1XNxtS35 + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQXKuuB1fWySn1b9r3XOA body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_U4E2c2lzgVBEIv","request_duration_ms":1010}}' + - '{"last_request_metrics":{"request_id":"req_bScFkmi61Dth7R","request_duration_ms":1025}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:41 GMT + - Tue, 12 Mar 2024 00:42:47 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_5Z4BBj7tSx6Mms + - req_k53p8qtEdjXGaY Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDUKuuB1fWySn1XNxtS35", + "id": "pi_3OtJQXKuuB1fWySn1b9r3XOA", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDUKuuB1fWySn1XNxtS35_secret_ndcPIRjwMDMMheHuODo89gMDl", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822800, + "created": 1710204165, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDUKuuB1fWySn1GXB9i1v", + "latest_charge": "ch_3OtJQXKuuB1fWySn1aK1w0Lf", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDTKuuB1fWySnbQpMhmHb", + "payment_method": "pm_1OtJQXKuuB1fWySnRwHdXGsz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:41 GMT + recorded_at: Tue, 12 Mar 2024 00:42:47 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDUKuuB1fWySn1XNxtS35/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQXKuuB1fWySn1b9r3XOA/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5Z4BBj7tSx6Mms","request_duration_ms":417}}' + - '{"last_request_metrics":{"request_id":"req_k53p8qtEdjXGaY","request_duration_ms":303}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:42 GMT + - Tue, 12 Mar 2024 00:42:48 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9bb46dd1-f7f5-4919-896a-90c463960d89 + - 860b6072-8753-4f18-81fe-8c29398d0231 Original-Request: - - req_52NhQ2RtZA3zIo + - req_qPlGXLkHntdBDt Request-Id: - - req_52NhQ2RtZA3zIo + - req_qPlGXLkHntdBDt Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDUKuuB1fWySn1XNxtS35", + "id": "pi_3OtJQXKuuB1fWySn1b9r3XOA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDUKuuB1fWySn1XNxtS35_secret_ndcPIRjwMDMMheHuODo89gMDl", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822800, + "created": 1710204165, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDUKuuB1fWySn1GXB9i1v", + "latest_charge": "ch_3OtJQXKuuB1fWySn1aK1w0Lf", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDTKuuB1fWySnbQpMhmHb", + "payment_method": "pm_1OtJQXKuuB1fWySnRwHdXGsz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:42 GMT + recorded_at: Tue, 12 Mar 2024 00:42:48 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDUKuuB1fWySn1XNxtS35 + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQXKuuB1fWySn1b9r3XOA body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_52NhQ2RtZA3zIo","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_qPlGXLkHntdBDt","request_duration_ms":1056}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:43 GMT + - Tue, 12 Mar 2024 00:42:48 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_fVxFUw2ERM7l44 + - req_6vQdCVBGNDmXjU Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDUKuuB1fWySn1XNxtS35", + "id": "pi_3OtJQXKuuB1fWySn1b9r3XOA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDUKuuB1fWySn1XNxtS35_secret_ndcPIRjwMDMMheHuODo89gMDl", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822800, + "created": 1710204165, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDUKuuB1fWySn1GXB9i1v", + "latest_charge": "ch_3OtJQXKuuB1fWySn1aK1w0Lf", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDTKuuB1fWySnbQpMhmHb", + "payment_method": "pm_1OtJQXKuuB1fWySnRwHdXGsz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:43 GMT + recorded_at: Tue, 12 Mar 2024 00:42:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml index c986b56eae..fb1b259cdd 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_X9VW493dFHuSXA","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_lcTqVKFqgwRu74","request_duration_ms":279}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:37 GMT + - Tue, 12 Mar 2024 00:42:43 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 55b01072-bf19-4099-8d68-8b85ee6a16d4 + - 509de387-e727-42d6-b6ea-65289f937f29 Original-Request: - - req_3YEAteEGd1J6XV + - req_7wAnLc8VzHGo2g Request-Id: - - req_3YEAteEGd1J6XV + - req_7wAnLc8VzHGo2g Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriDRKuuB1fWySnrK40L9CZ", + "id": "pm_1OtJQVKuuB1fWySnNOELo85U", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822797, + "created": 1710204163, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:37 GMT + recorded_at: Tue, 12 Mar 2024 00:42:43 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriDRKuuB1fWySnrK40L9CZ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQVKuuB1fWySnNOELo85U&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3YEAteEGd1J6XV","request_duration_ms":559}}' + - '{"last_request_metrics":{"request_id":"req_7wAnLc8VzHGo2g","request_duration_ms":451}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:38 GMT + - Tue, 12 Mar 2024 00:42:44 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7e0ebad3-c8ef-4878-aec9-ba3834849146 + - 27e0ed84-c811-4948-afda-4b768b5af4c9 Original-Request: - - req_srJYLHxp9ANUPP + - req_N133Znl3TARGoY Request-Id: - - req_srJYLHxp9ANUPP + - req_N133Znl3TARGoY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDRKuuB1fWySn0ZizZP07", + "id": "pi_3OtJQVKuuB1fWySn0dXzj9qv", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDRKuuB1fWySn0ZizZP07_secret_pLOP2pED7G2cIyMvce5rJsxZC", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822797, + "created": 1710204163, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDRKuuB1fWySnrK40L9CZ", + "payment_method": "pm_1OtJQVKuuB1fWySnNOELo85U", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:38 GMT + recorded_at: Tue, 12 Mar 2024 00:42:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriDRKuuB1fWySn0ZizZP07/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQVKuuB1fWySn0dXzj9qv/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_srJYLHxp9ANUPP","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_N133Znl3TARGoY","request_duration_ms":455}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:39 GMT + - Tue, 12 Mar 2024 00:42:45 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f1f60059-5b1e-4a31-bc20-d20da6514885 + - 8851e25e-c803-4397-9724-e24de076c4f3 Original-Request: - - req_6yBw0x1vvhfdDj + - req_Lmcx4bfwJ2jALm Request-Id: - - req_6yBw0x1vvhfdDj + - req_Lmcx4bfwJ2jALm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriDRKuuB1fWySn0ZizZP07", + "id": "pi_3OtJQVKuuB1fWySn0dXzj9qv", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriDRKuuB1fWySn0ZizZP07_secret_pLOP2pED7G2cIyMvce5rJsxZC", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822797, + "created": 1710204163, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriDRKuuB1fWySn0CoKKJoZ", + "latest_charge": "ch_3OtJQVKuuB1fWySn0GgTCxrN", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriDRKuuB1fWySnrK40L9CZ", + "payment_method": "pm_1OtJQVKuuB1fWySnNOELo85U", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:39 GMT + recorded_at: Tue, 12 Mar 2024 00:42:45 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml index 6d315cbd77..e9c8bd844e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RkMWKBmxA0AiPX","request_duration_ms":1018}}' + - '{"last_request_metrics":{"request_id":"req_2E9msFOj4w61tG","request_duration_ms":1043}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:30 GMT + - Tue, 12 Mar 2024 00:43:31 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 862bc2ad-e51e-40a1-b7ac-d1bf1612a16c + - 3fc7b4dc-8134-4563-827d-298d846e84ed Original-Request: - - req_RziQtjXkvt5KGy + - req_2dZUUODOKswgpq Request-Id: - - req_RziQtjXkvt5KGy + - req_2dZUUODOKswgpq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEIKuuB1fWySncUH2f2vT", + "id": "pm_1OtJRHKuuB1fWySnXkZGy8C8", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822850, + "created": 1710204211, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:30 GMT + recorded_at: Tue, 12 Mar 2024 00:43:31 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriEIKuuB1fWySncUH2f2vT&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJRHKuuB1fWySnXkZGy8C8&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RziQtjXkvt5KGy","request_duration_ms":494}}' + - '{"last_request_metrics":{"request_id":"req_2dZUUODOKswgpq","request_duration_ms":504}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:31 GMT + - Tue, 12 Mar 2024 00:43:31 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d316c4de-a152-46cd-bf12-a563784b3c3d + - 13c137cd-4974-40f6-8232-19dfe11266a7 Original-Request: - - req_M7FyHjkoPX7YWu + - req_zwSwCzArWF9SVx Request-Id: - - req_M7FyHjkoPX7YWu + - req_zwSwCzArWF9SVx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEIKuuB1fWySn1KK9gQtH", + "id": "pi_3OtJRHKuuB1fWySn0L7WVkNI", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEIKuuB1fWySn1KK9gQtH_secret_jSxVvPAxIdnDhzVD5UBMWIBag", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822850, + "created": 1710204211, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEIKuuB1fWySncUH2f2vT", + "payment_method": "pm_1OtJRHKuuB1fWySnXkZGy8C8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:31 GMT + recorded_at: Tue, 12 Mar 2024 00:43:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEIKuuB1fWySn1KK9gQtH/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRHKuuB1fWySn0L7WVkNI/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_M7FyHjkoPX7YWu","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_zwSwCzArWF9SVx","request_duration_ms":401}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:32 GMT + - Tue, 12 Mar 2024 00:43:33 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6829bdbf-4488-4b8c-9113-32d3d74a9a68 + - ce7bffd7-4f0b-4e85-b4a9-4cbd2ab63b54 Original-Request: - - req_TmpovbNEhiIQ9C + - req_M0BMXeq6OZtVCP Request-Id: - - req_TmpovbNEhiIQ9C + - req_M0BMXeq6OZtVCP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEIKuuB1fWySn1KK9gQtH", + "id": "pi_3OtJRHKuuB1fWySn0L7WVkNI", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEIKuuB1fWySn1KK9gQtH_secret_jSxVvPAxIdnDhzVD5UBMWIBag", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822850, + "created": 1710204211, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEIKuuB1fWySn1ubq1Hpx", + "latest_charge": "ch_3OtJRHKuuB1fWySn04TGjU56", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEIKuuB1fWySncUH2f2vT", + "payment_method": "pm_1OtJRHKuuB1fWySnXkZGy8C8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:32 GMT + recorded_at: Tue, 12 Mar 2024 00:43:33 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEIKuuB1fWySn1KK9gQtH + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRHKuuB1fWySn0L7WVkNI body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TmpovbNEhiIQ9C","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_M0BMXeq6OZtVCP","request_duration_ms":1017}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:32 GMT + - Tue, 12 Mar 2024 00:43:33 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_NrRO7s1DH4Bwyk + - req_8KSaqZF39M1t5V Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEIKuuB1fWySn1KK9gQtH", + "id": "pi_3OtJRHKuuB1fWySn0L7WVkNI", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEIKuuB1fWySn1KK9gQtH_secret_jSxVvPAxIdnDhzVD5UBMWIBag", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822850, + "created": 1710204211, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEIKuuB1fWySn1ubq1Hpx", + "latest_charge": "ch_3OtJRHKuuB1fWySn04TGjU56", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEIKuuB1fWySncUH2f2vT", + "payment_method": "pm_1OtJRHKuuB1fWySnXkZGy8C8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:32 GMT + recorded_at: Tue, 12 Mar 2024 00:43:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEIKuuB1fWySn1KK9gQtH/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRHKuuB1fWySn0L7WVkNI/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NrRO7s1DH4Bwyk","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_8KSaqZF39M1t5V","request_duration_ms":299}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:33 GMT + - Tue, 12 Mar 2024 00:43:34 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7d1082dc-d54f-4394-9c49-e96d3605902d + - 47694979-9641-4955-a1d5-c68b8ff5c9b7 Original-Request: - - req_tAoQzPexTq5MaU + - req_cQMOPExN210zo9 Request-Id: - - req_tAoQzPexTq5MaU + - req_cQMOPExN210zo9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEIKuuB1fWySn1KK9gQtH", + "id": "pi_3OtJRHKuuB1fWySn0L7WVkNI", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEIKuuB1fWySn1KK9gQtH_secret_jSxVvPAxIdnDhzVD5UBMWIBag", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822850, + "created": 1710204211, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEIKuuB1fWySn1ubq1Hpx", + "latest_charge": "ch_3OtJRHKuuB1fWySn04TGjU56", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEIKuuB1fWySncUH2f2vT", + "payment_method": "pm_1OtJRHKuuB1fWySnXkZGy8C8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:33 GMT + recorded_at: Tue, 12 Mar 2024 00:43:34 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEIKuuB1fWySn1KK9gQtH + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRHKuuB1fWySn0L7WVkNI body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tAoQzPexTq5MaU","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_cQMOPExN210zo9","request_duration_ms":1036}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:34 GMT + - Tue, 12 Mar 2024 00:43:34 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_olTWnVB6gCoiFG + - req_8HzGzAUlTCpTGu Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEIKuuB1fWySn1KK9gQtH", + "id": "pi_3OtJRHKuuB1fWySn0L7WVkNI", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEIKuuB1fWySn1KK9gQtH_secret_jSxVvPAxIdnDhzVD5UBMWIBag", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822850, + "created": 1710204211, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEIKuuB1fWySn1ubq1Hpx", + "latest_charge": "ch_3OtJRHKuuB1fWySn04TGjU56", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEIKuuB1fWySncUH2f2vT", + "payment_method": "pm_1OtJRHKuuB1fWySnXkZGy8C8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:34 GMT + recorded_at: Tue, 12 Mar 2024 00:43:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml index facb562190..c4924dd87b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BjD7xQLUnNY1QE","request_duration_ms":358}}' + - '{"last_request_metrics":{"request_id":"req_XZw5q6sTWCRt10","request_duration_ms":375}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:28 GMT + - Tue, 12 Mar 2024 00:43:29 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0be1d757-132b-41b3-bc56-ad6c8efc7903 + - 60a67bd7-b663-45e2-89f6-30336875824a Original-Request: - - req_Ih26NBNiM0I9rj + - req_o4XhboNfxrAX0A Request-Id: - - req_Ih26NBNiM0I9rj + - req_o4XhboNfxrAX0A Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEFKuuB1fWySnV6L8OpJh", + "id": "pm_1OtJRFKuuB1fWySnyXgWDgv2", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822847, + "created": 1710204209, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:28 GMT + recorded_at: Tue, 12 Mar 2024 00:43:29 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriEFKuuB1fWySnV6L8OpJh&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJRFKuuB1fWySnyXgWDgv2&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ih26NBNiM0I9rj","request_duration_ms":462}}' + - '{"last_request_metrics":{"request_id":"req_o4XhboNfxrAX0A","request_duration_ms":501}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:28 GMT + - Tue, 12 Mar 2024 00:43:29 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 49b91b81-8c85-4188-b64c-63fcfd3b93c3 + - 76b3b2fc-7b78-4cb5-82b8-0b97536ff929 Original-Request: - - req_UsKitz7hH7nZiG + - req_X992UbGqnRrdxx Request-Id: - - req_UsKitz7hH7nZiG + - req_X992UbGqnRrdxx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEGKuuB1fWySn0kJYdnQp", + "id": "pi_3OtJRFKuuB1fWySn0qqlK93f", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEGKuuB1fWySn0kJYdnQp_secret_jQuwoJ3FiqHtP2rIQKILRyYx5", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822848, + "created": 1710204209, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEFKuuB1fWySnV6L8OpJh", + "payment_method": "pm_1OtJRFKuuB1fWySnyXgWDgv2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:28 GMT + recorded_at: Tue, 12 Mar 2024 00:43:29 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEGKuuB1fWySn0kJYdnQp/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRFKuuB1fWySn0qqlK93f/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UsKitz7hH7nZiG","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_X992UbGqnRrdxx","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:29 GMT + - Tue, 12 Mar 2024 00:43:30 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 46c5c345-a01c-4cae-a03b-547c76f97e29 + - c542f425-07d0-4b83-bff3-d0fdfd1b6fa1 Original-Request: - - req_RkMWKBmxA0AiPX + - req_2E9msFOj4w61tG Request-Id: - - req_RkMWKBmxA0AiPX + - req_2E9msFOj4w61tG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEGKuuB1fWySn0kJYdnQp", + "id": "pi_3OtJRFKuuB1fWySn0qqlK93f", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEGKuuB1fWySn0kJYdnQp_secret_jQuwoJ3FiqHtP2rIQKILRyYx5", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822848, + "created": 1710204209, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEGKuuB1fWySn0fAWUfWH", + "latest_charge": "ch_3OtJRFKuuB1fWySn0k7dPsq7", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEFKuuB1fWySnV6L8OpJh", + "payment_method": "pm_1OtJRFKuuB1fWySnyXgWDgv2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:29 GMT + recorded_at: Tue, 12 Mar 2024 00:43:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml index ec8bd03ee6..e0a1bc3528 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EmrBGcNghMhnGF","request_duration_ms":1125}}' + - '{"last_request_metrics":{"request_id":"req_BF54lbMiRZuVRu","request_duration_ms":939}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:37 GMT + - Tue, 12 Mar 2024 00:43:37 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 592cc7de-d29a-4e02-aa6b-824b68e6f5b1 + - 801d9eb0-85f4-48b5-b598-2c0c0c3e5aef Original-Request: - - req_yQx2O1rhZ8j5iC + - req_pV1i3NwCqZeU0B Request-Id: - - req_yQx2O1rhZ8j5iC + - req_pV1i3NwCqZeU0B Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEOKuuB1fWySnBfUldOIQ", + "id": "pm_1OtJRMKuuB1fWySn0C4ab3vX", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822856, + "created": 1710204217, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:37 GMT + recorded_at: Tue, 12 Mar 2024 00:43:37 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriEOKuuB1fWySnBfUldOIQ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJRMKuuB1fWySn0C4ab3vX&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yQx2O1rhZ8j5iC","request_duration_ms":530}}' + - '{"last_request_metrics":{"request_id":"req_pV1i3NwCqZeU0B","request_duration_ms":496}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:37 GMT + - Tue, 12 Mar 2024 00:43:37 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 763f39f6-8b64-4c96-a600-58b924b7b3d9 + - 9b3a3215-877e-402e-9329-7f5b59f00f2f Original-Request: - - req_FPxZjTfSQSiYmi + - req_n2bUCRRce6ztHL Request-Id: - - req_FPxZjTfSQSiYmi + - req_n2bUCRRce6ztHL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEPKuuB1fWySn1mIk35f1", + "id": "pi_3OtJRNKuuB1fWySn0tsk4gh4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEPKuuB1fWySn1mIk35f1_secret_DCbddeEKsBLIDfwA6SqmMa4te", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822857, + "created": 1710204217, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEOKuuB1fWySnBfUldOIQ", + "payment_method": "pm_1OtJRMKuuB1fWySn0C4ab3vX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:37 GMT + recorded_at: Tue, 12 Mar 2024 00:43:37 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEPKuuB1fWySn1mIk35f1/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRNKuuB1fWySn0tsk4gh4/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FPxZjTfSQSiYmi","request_duration_ms":515}}' + - '{"last_request_metrics":{"request_id":"req_n2bUCRRce6ztHL","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:38 GMT + - Tue, 12 Mar 2024 00:43:38 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 04216f85-1f77-429d-92a1-79cf1a84bb70 + - af8e1e01-d0be-46a8-869f-c67ae7939438 Original-Request: - - req_PImCJj3pOTlJSV + - req_mHXBRSlSAk3t8E Request-Id: - - req_PImCJj3pOTlJSV + - req_mHXBRSlSAk3t8E Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEPKuuB1fWySn1mIk35f1", + "id": "pi_3OtJRNKuuB1fWySn0tsk4gh4", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEPKuuB1fWySn1mIk35f1_secret_DCbddeEKsBLIDfwA6SqmMa4te", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822857, + "created": 1710204217, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEPKuuB1fWySn1k98dg8W", + "latest_charge": "ch_3OtJRNKuuB1fWySn01GWGzct", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEOKuuB1fWySnBfUldOIQ", + "payment_method": "pm_1OtJRMKuuB1fWySn0C4ab3vX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:38 GMT + recorded_at: Tue, 12 Mar 2024 00:43:38 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEPKuuB1fWySn1mIk35f1 + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRNKuuB1fWySn0tsk4gh4 body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PImCJj3pOTlJSV","request_duration_ms":1018}}' + - '{"last_request_metrics":{"request_id":"req_mHXBRSlSAk3t8E","request_duration_ms":1032}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:39 GMT + - Tue, 12 Mar 2024 00:43:39 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_ITWRipYQYiMdOe + - req_EH6taNFm3ntH6P Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEPKuuB1fWySn1mIk35f1", + "id": "pi_3OtJRNKuuB1fWySn0tsk4gh4", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEPKuuB1fWySn1mIk35f1_secret_DCbddeEKsBLIDfwA6SqmMa4te", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822857, + "created": 1710204217, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEPKuuB1fWySn1k98dg8W", + "latest_charge": "ch_3OtJRNKuuB1fWySn01GWGzct", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEOKuuB1fWySnBfUldOIQ", + "payment_method": "pm_1OtJRMKuuB1fWySn0C4ab3vX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:39 GMT + recorded_at: Tue, 12 Mar 2024 00:43:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEPKuuB1fWySn1mIk35f1/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRNKuuB1fWySn0tsk4gh4/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ITWRipYQYiMdOe","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_EH6taNFm3ntH6P","request_duration_ms":302}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:40 GMT + - Tue, 12 Mar 2024 00:43:40 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1506ef0c-f813-4c2a-be5d-478b68017075 + - 7c890cc5-5bd4-4929-aa2c-462ed70a2b4b Original-Request: - - req_H1lRgsy3B5iDNz + - req_GISuMUCZLqcVlT Request-Id: - - req_H1lRgsy3B5iDNz + - req_GISuMUCZLqcVlT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEPKuuB1fWySn1mIk35f1", + "id": "pi_3OtJRNKuuB1fWySn0tsk4gh4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEPKuuB1fWySn1mIk35f1_secret_DCbddeEKsBLIDfwA6SqmMa4te", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822857, + "created": 1710204217, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEPKuuB1fWySn1k98dg8W", + "latest_charge": "ch_3OtJRNKuuB1fWySn01GWGzct", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEOKuuB1fWySnBfUldOIQ", + "payment_method": "pm_1OtJRMKuuB1fWySn0C4ab3vX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:40 GMT + recorded_at: Tue, 12 Mar 2024 00:43:40 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriEPKuuB1fWySn1mIk35f1 + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRNKuuB1fWySn0tsk4gh4 body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_H1lRgsy3B5iDNz","request_duration_ms":1059}}' + - '{"last_request_metrics":{"request_id":"req_GISuMUCZLqcVlT","request_duration_ms":1226}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:40 GMT + - Tue, 12 Mar 2024 00:43:40 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_bJVYoResSRIgAQ + - req_ClMkHqnJXF0G5M Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriEPKuuB1fWySn1mIk35f1", + "id": "pi_3OtJRNKuuB1fWySn0tsk4gh4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriEPKuuB1fWySn1mIk35f1_secret_DCbddeEKsBLIDfwA6SqmMa4te", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822857, + "created": 1710204217, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriEPKuuB1fWySn1k98dg8W", + "latest_charge": "ch_3OtJRNKuuB1fWySn01GWGzct", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEOKuuB1fWySnBfUldOIQ", + "payment_method": "pm_1OtJRMKuuB1fWySn0C4ab3vX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:40 GMT + recorded_at: Tue, 12 Mar 2024 00:43:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 237f44dbcb..8c56b51c1e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_olTWnVB6gCoiFG","request_duration_ms":321}}' + - '{"last_request_metrics":{"request_id":"req_8HzGzAUlTCpTGu","request_duration_ms":415}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:34 GMT + - Tue, 12 Mar 2024 00:43:35 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5ff9c45d-004e-4389-b0c9-3fdaaf82bb77 + - 84d00212-ac6e-4dab-b9da-816850f7a911 Original-Request: - - req_BNDtpeRXGB0qPF + - req_AsBmS7XzCxrALL Request-Id: - - req_BNDtpeRXGB0qPF + - req_AsBmS7XzCxrALL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEMKuuB1fWySn2tmDcHKn", + "id": "pm_1OtJRKKuuB1fWySndKk5N0vS", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822854, + "created": 1710204215, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:34 GMT + recorded_at: Tue, 12 Mar 2024 00:43:35 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriEMKuuB1fWySn2tmDcHKn&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJRKKuuB1fWySndKk5N0vS&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BNDtpeRXGB0qPF","request_duration_ms":545}}' + - '{"last_request_metrics":{"request_id":"req_AsBmS7XzCxrALL","request_duration_ms":403}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:35 GMT + - Tue, 12 Mar 2024 00:43:35 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b08e4a6a-3731-4ad6-9183-ea53a1aceafe + - 8e38fbef-a8e1-4d7b-8047-5cbbc6aaf6f4 Original-Request: - - req_pz9KkXiufb4xnv + - req_l3GxL0p1LL5E87 Request-Id: - - req_pz9KkXiufb4xnv + - req_l3GxL0p1LL5E87 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriENKuuB1fWySn26m1Y6OH", + "id": "pi_3OtJRLKuuB1fWySn0Il5wIS2", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriENKuuB1fWySn26m1Y6OH_secret_YvwTzrE8OySiN5EK49QFIawKZ", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822855, + "created": 1710204215, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEMKuuB1fWySn2tmDcHKn", + "payment_method": "pm_1OtJRKKuuB1fWySndKk5N0vS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:35 GMT + recorded_at: Tue, 12 Mar 2024 00:43:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriENKuuB1fWySn26m1Y6OH/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRLKuuB1fWySn0Il5wIS2/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pz9KkXiufb4xnv","request_duration_ms":403}}' + - '{"last_request_metrics":{"request_id":"req_l3GxL0p1LL5E87","request_duration_ms":504}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:36 GMT + - Tue, 12 Mar 2024 00:43:36 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9c7d879c-35d3-430e-bbb7-f395ef2e1272 + - c5ce09f3-67b8-4ec9-98bb-8ec21594fe52 Original-Request: - - req_EmrBGcNghMhnGF + - req_BF54lbMiRZuVRu Request-Id: - - req_EmrBGcNghMhnGF + - req_BF54lbMiRZuVRu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriENKuuB1fWySn26m1Y6OH", + "id": "pi_3OtJRLKuuB1fWySn0Il5wIS2", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriENKuuB1fWySn26m1Y6OH_secret_YvwTzrE8OySiN5EK49QFIawKZ", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822855, + "created": 1710204215, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriENKuuB1fWySn20FtEoaZ", + "latest_charge": "ch_3OtJRLKuuB1fWySn0FwckLah", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriEMKuuB1fWySn2tmDcHKn", + "payment_method": "pm_1OtJRKKuuB1fWySndKk5N0vS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:47:36 GMT + recorded_at: Tue, 12 Mar 2024 00:43:36 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml index 086993f279..53aa43f90f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8BkTuIO1zckE7j","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_65QHSH69dcPewJ","request_duration_ms":1063}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:07 GMT + - Tue, 12 Mar 2024 00:42:17 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b2c31c69-e6db-4160-9915-dd1127601f78 + - 3bab1898-db52-4dde-bd66-750f7f71f14c Original-Request: - - req_vowtXDH1HN8RBA + - req_H7tXMKqo33HPTG Request-Id: - - req_vowtXDH1HN8RBA + - req_H7tXMKqo33HPTG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCxKuuB1fWySniZ5cEFuT", + "id": "pm_1OtJQ4KuuB1fWySnmaZu6uzt", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822767, + "created": 1710204137, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:07 GMT + recorded_at: Tue, 12 Mar 2024 00:42:17 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriCxKuuB1fWySniZ5cEFuT&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQ4KuuB1fWySnmaZu6uzt&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vowtXDH1HN8RBA","request_duration_ms":480}}' + - '{"last_request_metrics":{"request_id":"req_H7tXMKqo33HPTG","request_duration_ms":536}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:08 GMT + - Tue, 12 Mar 2024 00:42:17 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e6e92581-0f24-4915-a110-3d807a9461e9 + - 60ee2f55-558d-4750-9653-f4acf07dca8f Original-Request: - - req_0W1xolyasPIpGI + - req_fDSVkbD2lL6pDs Request-Id: - - req_0W1xolyasPIpGI + - req_fDSVkbD2lL6pDs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriCyKuuB1fWySn2LzVCkmU", + "id": "pi_3OtJQ5KuuB1fWySn0kV9MLXg", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriCyKuuB1fWySn2LzVCkmU_secret_QcHpO9pVKUSlTBvNOwxlNP8Uh", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822768, + "created": 1710204137, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriCxKuuB1fWySniZ5cEFuT", + "payment_method": "pm_1OtJQ4KuuB1fWySnmaZu6uzt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:08 GMT + recorded_at: Tue, 12 Mar 2024 00:42:17 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriCyKuuB1fWySn2LzVCkmU/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQ5KuuB1fWySn0kV9MLXg/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0W1xolyasPIpGI","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_fDSVkbD2lL6pDs","request_duration_ms":413}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:09 GMT + - Tue, 12 Mar 2024 00:42:18 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a69ac82e-5342-4cae-b986-0ffb5971d807 + - fc8f6865-92c3-4d73-8151-836d79780520 Original-Request: - - req_naMayVeEMDqzGm + - req_JAU1Ue8rsNUKmT Request-Id: - - req_naMayVeEMDqzGm + - req_JAU1Ue8rsNUKmT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriCyKuuB1fWySn2LzVCkmU", + "id": "pi_3OtJQ5KuuB1fWySn0kV9MLXg", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriCyKuuB1fWySn2LzVCkmU_secret_QcHpO9pVKUSlTBvNOwxlNP8Uh", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822768, + "created": 1710204137, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriCyKuuB1fWySn2VhPIHxp", + "latest_charge": "ch_3OtJQ5KuuB1fWySn0vG8mA46", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriCxKuuB1fWySniZ5cEFuT", + "payment_method": "pm_1OtJQ4KuuB1fWySnmaZu6uzt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:09 GMT + recorded_at: Tue, 12 Mar 2024 00:42:18 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriCyKuuB1fWySn2LzVCkmU + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQ5KuuB1fWySn0kV9MLXg body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_naMayVeEMDqzGm","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_JAU1Ue8rsNUKmT","request_duration_ms":1117}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:09 GMT + - Tue, 12 Mar 2024 00:42:19 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_EK1gRIQnURQbcC + - req_JdwKKN0Zs6ZuiY Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriCyKuuB1fWySn2LzVCkmU", + "id": "pi_3OtJQ5KuuB1fWySn0kV9MLXg", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriCyKuuB1fWySn2LzVCkmU_secret_QcHpO9pVKUSlTBvNOwxlNP8Uh", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822768, + "created": 1710204137, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriCyKuuB1fWySn2VhPIHxp", + "latest_charge": "ch_3OtJQ5KuuB1fWySn0vG8mA46", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriCxKuuB1fWySniZ5cEFuT", + "payment_method": "pm_1OtJQ4KuuB1fWySnmaZu6uzt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:09 GMT + recorded_at: Tue, 12 Mar 2024 00:42:19 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriCyKuuB1fWySn2LzVCkmU/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQ5KuuB1fWySn0kV9MLXg/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EK1gRIQnURQbcC","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_JdwKKN0Zs6ZuiY","request_duration_ms":288}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:10 GMT + - Tue, 12 Mar 2024 00:42:20 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9a510f4e-2160-44eb-b52e-7afe37fc485a + - 9ef5e9b7-7918-49ee-8d32-312ef1f8717e Original-Request: - - req_AiHaCo9R7RYT0R + - req_nJf1RG7PHfB6NW Request-Id: - - req_AiHaCo9R7RYT0R + - req_nJf1RG7PHfB6NW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriCyKuuB1fWySn2LzVCkmU", + "id": "pi_3OtJQ5KuuB1fWySn0kV9MLXg", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriCyKuuB1fWySn2LzVCkmU_secret_QcHpO9pVKUSlTBvNOwxlNP8Uh", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822768, + "created": 1710204137, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriCyKuuB1fWySn2VhPIHxp", + "latest_charge": "ch_3OtJQ5KuuB1fWySn0vG8mA46", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriCxKuuB1fWySniZ5cEFuT", + "payment_method": "pm_1OtJQ4KuuB1fWySnmaZu6uzt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:11 GMT + recorded_at: Tue, 12 Mar 2024 00:42:20 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriCyKuuB1fWySn2LzVCkmU + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQ5KuuB1fWySn0kV9MLXg body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AiHaCo9R7RYT0R","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_nJf1RG7PHfB6NW","request_duration_ms":1216}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:11 GMT + - Tue, 12 Mar 2024 00:42:20 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_pATMGxLuG8m45N + - req_GyPccsJtE8EysH Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriCyKuuB1fWySn2LzVCkmU", + "id": "pi_3OtJQ5KuuB1fWySn0kV9MLXg", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriCyKuuB1fWySn2LzVCkmU_secret_QcHpO9pVKUSlTBvNOwxlNP8Uh", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822768, + "created": 1710204137, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriCyKuuB1fWySn2VhPIHxp", + "latest_charge": "ch_3OtJQ5KuuB1fWySn0vG8mA46", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriCxKuuB1fWySniZ5cEFuT", + "payment_method": "pm_1OtJQ4KuuB1fWySnmaZu6uzt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:11 GMT + recorded_at: Tue, 12 Mar 2024 00:42:20 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml index c2b7de2929..52c6808c10 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_h8LXdGtSHiZ1sO","request_duration_ms":540}}' + - '{"last_request_metrics":{"request_id":"req_YtIQrpyWFBhQmT","request_duration_ms":419}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:04 GMT + - Tue, 12 Mar 2024 00:42:15 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8d9409f2-4c60-4e61-b4ff-17c1123b3272 + - eaa73913-1a01-4d60-84aa-dd95231b91f8 Original-Request: - - req_V3ok70qquBIFYC + - req_NIMBataJgJc2yC Request-Id: - - req_V3ok70qquBIFYC + - req_NIMBataJgJc2yC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriCuKuuB1fWySnajzZFSYM", + "id": "pm_1OtJQ2KuuB1fWySn3S4aRJx6", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822764, + "created": 1710204134, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:05 GMT + recorded_at: Tue, 12 Mar 2024 00:42:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriCuKuuB1fWySnajzZFSYM&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQ2KuuB1fWySn3S4aRJx6&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_V3ok70qquBIFYC","request_duration_ms":478}}' + - '{"last_request_metrics":{"request_id":"req_NIMBataJgJc2yC","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:05 GMT + - Tue, 12 Mar 2024 00:42:15 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e9fd74c9-0318-492b-9a8d-b92eea5062f5 + - 29751ab2-9e33-4d03-915a-7b4838f4fd26 Original-Request: - - req_dvSuj6SSB1grvO + - req_NojQxbMDlNdrCU Request-Id: - - req_dvSuj6SSB1grvO + - req_NojQxbMDlNdrCU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriCvKuuB1fWySn2JYLSXUO", + "id": "pi_3OtJQ3KuuB1fWySn02lKNya1", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriCvKuuB1fWySn2JYLSXUO_secret_SMYW5yBYtBiDcbRJc3uMzWsN4", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822765, + "created": 1710204135, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriCuKuuB1fWySnajzZFSYM", + "payment_method": "pm_1OtJQ2KuuB1fWySn3S4aRJx6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:05 GMT + recorded_at: Tue, 12 Mar 2024 00:42:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriCvKuuB1fWySn2JYLSXUO/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQ3KuuB1fWySn02lKNya1/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dvSuj6SSB1grvO","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_NojQxbMDlNdrCU","request_duration_ms":433}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:06 GMT + - Tue, 12 Mar 2024 00:42:16 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e381121f-1559-4a7e-b644-71ab49dbab28 + - 99cac09a-96c5-48d0-b16b-3db54e3ccdad Original-Request: - - req_8BkTuIO1zckE7j + - req_65QHSH69dcPewJ Request-Id: - - req_8BkTuIO1zckE7j + - req_65QHSH69dcPewJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriCvKuuB1fWySn2JYLSXUO", + "id": "pi_3OtJQ3KuuB1fWySn02lKNya1", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriCvKuuB1fWySn2JYLSXUO_secret_SMYW5yBYtBiDcbRJc3uMzWsN4", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822765, + "created": 1710204135, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriCvKuuB1fWySn2KE2joQR", + "latest_charge": "ch_3OtJQ3KuuB1fWySn0HLN36A6", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriCuKuuB1fWySnajzZFSYM", + "payment_method": "pm_1OtJQ2KuuB1fWySn3S4aRJx6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:06 GMT + recorded_at: Tue, 12 Mar 2024 00:42:16 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml index 2898aae4b0..9d566a7cc5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0f9ifvBSrsUP2w","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_HIlIbzjgkeAqK6","request_duration_ms":941}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:14 GMT + - Tue, 12 Mar 2024 00:42:22 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 33d21a4e-5210-4297-8cab-f85754dda0bf + - ae5266c7-54df-49be-afa4-824cc8fc6246 Original-Request: - - req_kR9SzgnZuIeQ77 + - req_acpFloHod7Y4N0 Request-Id: - - req_kR9SzgnZuIeQ77 + - req_acpFloHod7Y4N0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriD4KuuB1fWySnyMfdalIf", + "id": "pm_1OtJQAKuuB1fWySndMXPbvEt", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822774, + "created": 1710204142, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:14 GMT + recorded_at: Tue, 12 Mar 2024 00:42:22 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriD4KuuB1fWySnyMfdalIf&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQAKuuB1fWySndMXPbvEt&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kR9SzgnZuIeQ77","request_duration_ms":549}}' + - '{"last_request_metrics":{"request_id":"req_acpFloHod7Y4N0","request_duration_ms":412}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:14 GMT + - Tue, 12 Mar 2024 00:42:23 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b0d8c840-4a2f-4a26-a6d7-f05f826b309f + - 17b7c1a6-9184-4938-9492-e13392c967eb Original-Request: - - req_1aebujngB1bDLm + - req_4sD6eIo78b22aX Request-Id: - - req_1aebujngB1bDLm + - req_4sD6eIo78b22aX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriD4KuuB1fWySn2A9Qa6uo", + "id": "pi_3OtJQBKuuB1fWySn1RtiK6AO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriD4KuuB1fWySn2A9Qa6uo_secret_voS6W7AyYorb7HANWqhRLS7pv", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822774, + "created": 1710204143, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriD4KuuB1fWySnyMfdalIf", + "payment_method": "pm_1OtJQAKuuB1fWySndMXPbvEt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:14 GMT + recorded_at: Tue, 12 Mar 2024 00:42:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriD4KuuB1fWySn2A9Qa6uo/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQBKuuB1fWySn1RtiK6AO/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1aebujngB1bDLm","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_4sD6eIo78b22aX","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:15 GMT + - Tue, 12 Mar 2024 00:42:24 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 44670de5-c9cf-4a67-a291-f4750e3b5ace + - b6ecb4f0-ea72-4b4e-9422-c27aacd0933d Original-Request: - - req_a34Z1UcTRQsJeV + - req_PsVFoRGDttzCmq Request-Id: - - req_a34Z1UcTRQsJeV + - req_PsVFoRGDttzCmq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriD4KuuB1fWySn2A9Qa6uo", + "id": "pi_3OtJQBKuuB1fWySn1RtiK6AO", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriD4KuuB1fWySn2A9Qa6uo_secret_voS6W7AyYorb7HANWqhRLS7pv", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822774, + "created": 1710204143, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriD4KuuB1fWySn2u3gah4C", + "latest_charge": "ch_3OtJQBKuuB1fWySn17djLvDQ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriD4KuuB1fWySnyMfdalIf", + "payment_method": "pm_1OtJQAKuuB1fWySndMXPbvEt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,10 +385,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:16 GMT + recorded_at: Tue, 12 Mar 2024 00:42:24 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriD4KuuB1fWySn2A9Qa6uo + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQBKuuB1fWySn1RtiK6AO body: encoding: US-ASCII string: '' @@ -409,14 +400,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_a34Z1UcTRQsJeV","request_duration_ms":1121}}' + - '{"last_request_metrics":{"request_id":"req_PsVFoRGDttzCmq","request_duration_ms":1125}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -429,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:16 GMT + - Tue, 12 Mar 2024 00:42:24 GMT Content-Type: - application/json Content-Length: @@ -457,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_hbZdmf3eLFlEZf + - req_2JVbAfiJaEgeTr Stripe-Version: - '2023-10-16' Vary: @@ -470,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriD4KuuB1fWySn2A9Qa6uo", + "id": "pi_3OtJQBKuuB1fWySn1RtiK6AO", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -484,20 +472,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriD4KuuB1fWySn2A9Qa6uo_secret_voS6W7AyYorb7HANWqhRLS7pv", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822774, + "created": 1710204143, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriD4KuuB1fWySn2u3gah4C", + "latest_charge": "ch_3OtJQBKuuB1fWySn17djLvDQ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriD4KuuB1fWySnyMfdalIf", + "payment_method": "pm_1OtJQAKuuB1fWySndMXPbvEt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -522,10 +510,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:16 GMT + recorded_at: Tue, 12 Mar 2024 00:42:24 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriD4KuuB1fWySn2A9Qa6uo/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQBKuuB1fWySn1RtiK6AO/capture body: encoding: US-ASCII string: '' @@ -537,14 +525,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hbZdmf3eLFlEZf","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_2JVbAfiJaEgeTr","request_duration_ms":293}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -557,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:17 GMT + - Tue, 12 Mar 2024 00:42:25 GMT Content-Type: - application/json Content-Length: @@ -585,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 76df0888-641e-42d3-81d8-c16f38d26b96 + - 6d4b499c-4494-4f65-a7d2-cad334d0317c Original-Request: - - req_yiOzw3lkOCvxkc + - req_34GyC9r6Nk2qk4 Request-Id: - - req_yiOzw3lkOCvxkc + - req_34GyC9r6Nk2qk4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriD4KuuB1fWySn2A9Qa6uo", + "id": "pi_3OtJQBKuuB1fWySn1RtiK6AO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -618,20 +603,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriD4KuuB1fWySn2A9Qa6uo_secret_voS6W7AyYorb7HANWqhRLS7pv", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822774, + "created": 1710204143, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriD4KuuB1fWySn2u3gah4C", + "latest_charge": "ch_3OtJQBKuuB1fWySn17djLvDQ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriD4KuuB1fWySnyMfdalIf", + "payment_method": "pm_1OtJQAKuuB1fWySndMXPbvEt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -656,10 +641,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:17 GMT + recorded_at: Tue, 12 Mar 2024 00:42:25 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriD4KuuB1fWySn2A9Qa6uo + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQBKuuB1fWySn1RtiK6AO body: encoding: US-ASCII string: '' @@ -671,14 +656,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yiOzw3lkOCvxkc","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_34GyC9r6Nk2qk4","request_duration_ms":1138}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -691,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:17 GMT + - Tue, 12 Mar 2024 00:42:26 GMT Content-Type: - application/json Content-Length: @@ -719,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_oOnp67xVyiBUQR + - req_pW0ECOBgDMm4CK Stripe-Version: - '2023-10-16' Vary: @@ -732,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriD4KuuB1fWySn2A9Qa6uo", + "id": "pi_3OtJQBKuuB1fWySn1RtiK6AO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -746,20 +728,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriD4KuuB1fWySn2A9Qa6uo_secret_voS6W7AyYorb7HANWqhRLS7pv", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822774, + "created": 1710204143, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriD4KuuB1fWySn2u3gah4C", + "latest_charge": "ch_3OtJQBKuuB1fWySn17djLvDQ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriD4KuuB1fWySnyMfdalIf", + "payment_method": "pm_1OtJQAKuuB1fWySndMXPbvEt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -784,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:17 GMT + recorded_at: Tue, 12 Mar 2024 00:42:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml index a4cc04ed42..f5381a1432 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pATMGxLuG8m45N","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_GyPccsJtE8EysH","request_duration_ms":306}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:11 GMT + - Tue, 12 Mar 2024 00:42:21 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 44293d4e-7978-42b2-ac08-b7edccb562ae + - f21a852c-2d6b-4189-9658-4cf82f3c417b Original-Request: - - req_U9rDhY5eeeJjfJ + - req_MWHr9NzymLljdS Request-Id: - - req_U9rDhY5eeeJjfJ + - req_MWHr9NzymLljdS Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriD1KuuB1fWySnNJhGcixK", + "id": "pm_1OtJQ8KuuB1fWySn1PHowTjR", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822771, + "created": 1710204140, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:46:11 GMT + recorded_at: Tue, 12 Mar 2024 00:42:21 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OriD1KuuB1fWySnNJhGcixK&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OtJQ8KuuB1fWySn1PHowTjR&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_U9rDhY5eeeJjfJ","request_duration_ms":458}}' + - '{"last_request_metrics":{"request_id":"req_MWHr9NzymLljdS","request_duration_ms":399}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:12 GMT + - Tue, 12 Mar 2024 00:42:21 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - dd137eec-5b32-484f-a46d-646fdae0100c + - 292b4274-082c-4af2-b9ac-65757aa9ddad Original-Request: - - req_vuaQoJA1KnOBGW + - req_GQX3kHbw2YyNg6 Request-Id: - - req_vuaQoJA1KnOBGW + - req_GQX3kHbw2YyNg6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriD2KuuB1fWySn0gezQ7K4", + "id": "pi_3OtJQ9KuuB1fWySn2xudmRuB", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -222,9 +216,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriD2KuuB1fWySn0gezQ7K4_secret_JMESHVYELkwSeZnY2Y0CBCKA9", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822772, + "created": 1710204141, "currency": "eur", "customer": null, "description": null, @@ -235,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriD1KuuB1fWySnNJhGcixK", + "payment_method": "pm_1OtJQ8KuuB1fWySn1PHowTjR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -260,10 +254,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:12 GMT + recorded_at: Tue, 12 Mar 2024 00:42:21 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OriD2KuuB1fWySn0gezQ7K4/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQ9KuuB1fWySn2xudmRuB/confirm body: encoding: US-ASCII string: '' @@ -275,14 +269,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vuaQoJA1KnOBGW","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_GQX3kHbw2YyNg6","request_duration_ms":388}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -295,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:46:13 GMT + - Tue, 12 Mar 2024 00:42:22 GMT Content-Type: - application/json Content-Length: @@ -323,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2eec599a-3da2-49b3-9311-f5deb6ad4c3f + - 99b1edac-6625-43b7-ad8a-f5d1f3989624 Original-Request: - - req_0f9ifvBSrsUP2w + - req_HIlIbzjgkeAqK6 Request-Id: - - req_0f9ifvBSrsUP2w + - req_HIlIbzjgkeAqK6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -342,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriD2KuuB1fWySn0gezQ7K4", + "id": "pi_3OtJQ9KuuB1fWySn2xudmRuB", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -356,20 +347,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3OriD2KuuB1fWySn0gezQ7K4_secret_JMESHVYELkwSeZnY2Y0CBCKA9", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822772, + "created": 1710204141, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriD2KuuB1fWySn0gUmYdom", + "latest_charge": "ch_3OtJQ9KuuB1fWySn277EQ1HH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriD1KuuB1fWySnNJhGcixK", + "payment_method": "pm_1OtJQ8KuuB1fWySn1PHowTjR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -394,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:46:13 GMT + recorded_at: Tue, 12 Mar 2024 00:42:22 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml index 67ffe70896..5c044d266f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PK8pPZXhK0xwdf","request_duration_ms":445}}' + - '{"last_request_metrics":{"request_id":"req_RJPs97R1gDwNAf","request_duration_ms":513}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:58 GMT + - Tue, 12 Mar 2024 00:43:57 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 20a4fa07-500b-403d-8b05-801ee22c758a + - fc4e38e6-08ea-4306-93a8-03c0cbb0a1bb Original-Request: - - req_N10nlTdUqtwtV6 + - req_vtqExB5P2TjphQ Request-Id: - - req_N10nlTdUqtwtV6 + - req_vtqExB5P2TjphQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEkKuuB1fWySnvaFz6noB", + "id": "pm_1OtJRhKuuB1fWySnBVBBWjG8", "object": "payment_method", "billing_details": { "address": { @@ -121,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822878, + "created": 1710204237, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:47:58 GMT + recorded_at: Tue, 12 Mar 2024 00:43:57 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=bethanie%40bergnaum.us + string: expand[0]=sources&email=hortense%40moore.name headers: Content-Type: - application/x-www-form-urlencoded @@ -144,7 +141,7 @@ http_interactions: Stripe-Version: - '2020-08-27' X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.133.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","publisher":"active_merchant"}' + - "" X-Stripe-Client-User-Metadata: - '{"ip":null}' Connection: @@ -161,11 +158,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:47:59 GMT + - Tue, 12 Mar 2024 00:43:57 GMT Content-Type: - application/json Content-Length: - - '817' + - '816' Connection: - close Access-Control-Allow-Credentials: @@ -188,11 +185,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5c432a6f-65d1-417a-8659-c9b64447e9e0 + - b81c0c71-d866-45c4-9a14-20c4f113896c Original-Request: - - req_YXsUS8b93RXYPo + - req_bjI1zCXu6yEsMB Request-Id: - - req_YXsUS8b93RXYPo + - req_bjI1zCXu6yEsMB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -207,19 +204,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6RU4ZvwkPC5X", + "id": "cus_PikxUzZO1QNRQm", "object": "customer", "address": null, "balance": 0, - "created": 1709822879, + "created": 1710204237, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "bethanie@bergnaum.us", - "invoice_prefix": "3CBA45D9", + "email": "hortense@moore.name", + "invoice_prefix": "1C3BBE35", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,18 +235,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_Ph6RU4ZvwkPC5X/sources" + "url": "/v1/customers/cus_PikxUzZO1QNRQm/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:47:59 GMT + recorded_at: Tue, 12 Mar 2024 00:43:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OriEkKuuB1fWySnvaFz6noB/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OtJRhKuuB1fWySnBVBBWjG8/attach body: encoding: UTF-8 - string: customer=cus_Ph6RU4ZvwkPC5X + string: customer=cus_PikxUzZO1QNRQm headers: Content-Type: - application/x-www-form-urlencoded @@ -260,7 +257,7 @@ http_interactions: Stripe-Version: - '2020-08-27' X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.133.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","publisher":"active_merchant"}' + - "" X-Stripe-Client-User-Metadata: - '{"ip":null}' Connection: @@ -277,7 +274,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:00 GMT + - Tue, 12 Mar 2024 00:43:58 GMT Content-Type: - application/json Content-Length: @@ -305,11 +302,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 718833b1-2fbe-4718-a123-01cda250c5e9 + - 3636d6ea-a443-4fff-9049-a282facc5cc2 Original-Request: - - req_thzmMBiDyGBtiR + - req_Jyxcuu4UAV6eev Request-Id: - - req_thzmMBiDyGBtiR + - req_Jyxcuu4UAV6eev Stripe-Should-Retry: - 'false' Stripe-Version: @@ -324,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEkKuuB1fWySnvaFz6noB", + "id": "pm_1OtJRhKuuB1fWySnBVBBWjG8", "object": "payment_method", "billing_details": { "address": { @@ -365,11 +362,11 @@ http_interactions: }, "wallet": null }, - "created": 1709822878, - "customer": "cus_Ph6RU4ZvwkPC5X", + "created": 1710204237, + "customer": "cus_PikxUzZO1QNRQm", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:00 GMT + recorded_at: Tue, 12 Mar 2024 00:43:58 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml index 6a2dffc2c5..1178ca0782 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_N10nlTdUqtwtV6","request_duration_ms":423}}' + - '{"last_request_metrics":{"request_id":"req_vtqExB5P2TjphQ","request_duration_ms":443}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:01 GMT + - Tue, 12 Mar 2024 00:43:59 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5a45019a-d77a-47e6-a302-2cab0bccb747 + - f094511e-7cbf-4362-9c5d-3c56cf12d8a0 Original-Request: - - req_sjjC4nibrDmJml + - req_gt3CH4dqxn6RKH Request-Id: - - req_sjjC4nibrDmJml + - req_gt3CH4dqxn6RKH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEmKuuB1fWySnQQB8djR3", + "id": "pm_1OtJRiKuuB1fWySnzLwbtqaE", "object": "payment_method", "billing_details": { "address": { @@ -121,13 +118,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822880, + "created": 1710204239, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:01 GMT + recorded_at: Tue, 12 Mar 2024 00:43:59 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -142,14 +139,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sjjC4nibrDmJml","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_gt3CH4dqxn6RKH","request_duration_ms":474}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -162,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:01 GMT + - Tue, 12 Mar 2024 00:43:59 GMT Content-Type: - application/json Content-Length: @@ -189,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - aad62f34-8d5c-4755-89c4-e6daa0e81d3a + - 7d347215-5454-488b-ad70-2fc72768b75c Original-Request: - - req_ZnELr0MRyVDty5 + - req_JJRMfeBg19bZL8 Request-Id: - - req_ZnELr0MRyVDty5 + - req_JJRMfeBg19bZL8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +202,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6RKDYy4DhhpK", + "id": "cus_PikxeaVSU34sVz", "object": "customer", "address": null, "balance": 0, - "created": 1709822881, + "created": 1710204239, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "807E094A", + "invoice_prefix": "6694FC6D", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,13 +230,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:48:01 GMT + recorded_at: Tue, 12 Mar 2024 00:43:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OriEmKuuB1fWySnQQB8djR3/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OtJRiKuuB1fWySnzLwbtqaE/attach body: encoding: UTF-8 - string: customer=cus_Ph6RKDYy4DhhpK + string: customer=cus_PikxeaVSU34sVz headers: User-Agent: - Stripe/v1 RubyBindings/10.11.0 @@ -251,14 +245,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZnELr0MRyVDty5","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_JJRMfeBg19bZL8","request_duration_ms":420}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -271,7 +262,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:02 GMT + - Tue, 12 Mar 2024 00:44:00 GMT Content-Type: - application/json Content-Length: @@ -299,11 +290,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7f53c5bd-78a5-4529-beed-d3263c6244ef + - 6710e1db-bdce-41cb-96f2-b1d4d8ef225c Original-Request: - - req_5nLjo9cll0MY0O + - req_bFrhUrgeXiLTFa Request-Id: - - req_5nLjo9cll0MY0O + - req_bFrhUrgeXiLTFa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -318,7 +309,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriEmKuuB1fWySnQQB8djR3", + "id": "pm_1OtJRiKuuB1fWySnzLwbtqaE", "object": "payment_method", "billing_details": { "address": { @@ -359,19 +350,19 @@ http_interactions: }, "wallet": null }, - "created": 1709822880, - "customer": "cus_Ph6RKDYy4DhhpK", + "created": 1710204239, + "customer": "cus_PikxeaVSU34sVz", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:02 GMT + recorded_at: Tue, 12 Mar 2024 00:44:00 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=logan_bruen%40graham.name + string: expand[0]=sources&email=jeanie%40loweadams.co.uk headers: Content-Type: - application/x-www-form-urlencoded @@ -382,7 +373,7 @@ http_interactions: Stripe-Version: - '2020-08-27' X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.133.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","publisher":"active_merchant"}' + - "" X-Stripe-Client-User-Metadata: - '{"ip":null}' Connection: @@ -399,11 +390,11 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:03 GMT + - Tue, 12 Mar 2024 00:44:00 GMT Content-Type: - application/json Content-Length: - - '820' + - '819' Connection: - close Access-Control-Allow-Credentials: @@ -426,11 +417,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b8cbfcf1-12e0-46cb-92c3-fbec010611b0 + - 2ece7b89-86c1-44bd-a7f4-335c112de723 Original-Request: - - req_QgAFxVg6sOLpP0 + - req_SDKy6UxhG3t8y9 Request-Id: - - req_QgAFxVg6sOLpP0 + - req_SDKy6UxhG3t8y9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -445,19 +436,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Ph6RQ3GCndCVWI", + "id": "cus_Pikx5aUCJNxmbF", "object": "customer", "address": null, "balance": 0, - "created": 1709822883, + "created": 1710204240, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "logan_bruen@graham.name", - "invoice_prefix": "4BD2558E", + "email": "jeanie@loweadams.co.uk", + "invoice_prefix": "13A95C0B", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -476,18 +467,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_Ph6RQ3GCndCVWI/sources" + "url": "/v1/customers/cus_Pikx5aUCJNxmbF/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 07 Mar 2024 14:48:03 GMT + recorded_at: Tue, 12 Mar 2024 00:44:00 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OriEmKuuB1fWySnQQB8djR3/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OtJRiKuuB1fWySnzLwbtqaE/attach body: encoding: UTF-8 - string: customer=cus_Ph6RQ3GCndCVWI + string: customer=cus_Pikx5aUCJNxmbF headers: Content-Type: - application/x-www-form-urlencoded @@ -498,7 +489,7 @@ http_interactions: Stripe-Version: - '2020-08-27' X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.133.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","publisher":"active_merchant"}' + - "" X-Stripe-Client-User-Metadata: - '{"ip":null}' Connection: @@ -515,7 +506,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:04 GMT + - Tue, 12 Mar 2024 00:44:01 GMT Content-Type: - application/json Content-Length: @@ -543,11 +534,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 24a929c1-8a7f-4e21-b0db-1125ea5d083f + - 6768c40c-f4e8-4284-94e5-194b1787f032 Original-Request: - - req_ylqd6iXnEgZNWe + - req_CavrUUiTpsrMUO Request-Id: - - req_ylqd6iXnEgZNWe + - req_CavrUUiTpsrMUO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -564,9 +555,9 @@ http_interactions: { "error": { "message": "The payment method you provided has already been attached to a customer.", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_ylqd6iXnEgZNWe?t=1709822883", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_CavrUUiTpsrMUO?t=1710204241", "type": "invalid_request_error" } } - recorded_at: Thu, 07 Mar 2024 14:48:04 GMT + recorded_at: Tue, 12 Mar 2024 00:44:01 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml index edfd477002..e16642e8c4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml @@ -14,14 +14,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_feXQoy32mXZnQ3","request_duration_ms":333}}' + - '{"last_request_metrics":{"request_id":"req_YU6F3SPSHd3Ht7","request_duration_ms":349}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:57 GMT + - Tue, 12 Mar 2024 00:44:41 GMT Content-Type: - application/json Content-Length: @@ -61,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b7f62999-de82-4aa8-841f-e88701d31eb2 + - 373009ad-57ee-464a-a064-d2fa6e84544d Original-Request: - - req_5TuygUI0DhB4Bw + - req_yp4QapFLTpNC7a Request-Id: - - req_5TuygUI0DhB4Bw + - req_yp4QapFLTpNC7a Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OriFfQTS9nOO0fo", + "id": "acct_1OtJSNQSrsozwx4j", "object": "account", "business_profile": { "annual_revenue": null, @@ -102,7 +99,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1709822936, + "created": 1710204280, "default_currency": "aud", "details_submitted": false, "email": "lettuce.producer@example.com", @@ -111,7 +108,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OriFfQTS9nOO0fo/external_accounts" + "url": "/v1/accounts/acct_1OtJSNQSrsozwx4j/external_accounts" }, "future_requirements": { "alternatives": [], @@ -208,7 +205,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 07 Mar 2024 14:48:57 GMT + recorded_at: Tue, 12 Mar 2024 00:44:41 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -223,14 +220,11 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5TuygUI0DhB4Bw","request_duration_ms":1860}}' + - '{"last_request_metrics":{"request_id":"req_yp4QapFLTpNC7a","request_duration_ms":1844}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -243,7 +237,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:57 GMT + - Tue, 12 Mar 2024 00:44:41 GMT Content-Type: - application/json Content-Length: @@ -271,7 +265,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_mtMNiLN8y2ccOS + - req_XwHIdQudduryeB Stripe-Version: - '2023-10-16' Vary: @@ -284,7 +278,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OriFhKuuB1fWySn8eESYhJG", + "id": "pm_1OtJSPKuuB1fWySnnYBM7BP4", "object": "payment_method", "billing_details": { "address": { @@ -325,13 +319,13 @@ http_interactions: }, "wallet": null }, - "created": 1709822937, + "created": 1710204281, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 07 Mar 2024 14:48:57 GMT + recorded_at: Tue, 12 Mar 2024 00:44:42 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -346,16 +340,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mtMNiLN8y2ccOS","request_duration_ms":377}}' + - '{"last_request_metrics":{"request_id":"req_XwHIdQudduryeB","request_duration_ms":490}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriFfQTS9nOO0fo + - acct_1OtJSNQSrsozwx4j Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -368,7 +359,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:48:59 GMT + - Tue, 12 Mar 2024 00:44:43 GMT Content-Type: - application/json Content-Length: @@ -395,13 +386,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ca2fe7e8-9644-4f47-aafd-5fb4d6f677e6 + - c64fe4b8-350b-4269-9584-8acf99ff1764 Original-Request: - - req_lV4fTlxjtrq6pR + - req_LYGinjpJQWDXt0 Request-Id: - - req_lV4fTlxjtrq6pR + - req_LYGinjpJQWDXt0 Stripe-Account: - - acct_1OriFfQTS9nOO0fo + - acct_1OtJSNQSrsozwx4j Stripe-Should-Retry: - 'false' Stripe-Version: @@ -416,7 +407,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFiQTS9nOO0fo07xRuiac", + "id": "pi_3OtJSQQSrsozwx4j0fswybHQ", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -430,20 +421,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3OriFiQTS9nOO0fo07xRuiac_secret_BZ69pUIUs7hilecP22OpCOnDw", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822938, + "created": 1710204282, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriFiQTS9nOO0fo0sCHN0Ht", + "latest_charge": "ch_3OtJSQQSrsozwx4j0Vykgqj3", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFiQTS9nOO0foNwMYTsli", + "payment_method": "pm_1OtJSQQSrsozwx4jN6GU7U6b", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -468,10 +459,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:48:59 GMT + recorded_at: Tue, 12 Mar 2024 00:44:43 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriFiQTS9nOO0fo07xRuiac + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSQQSrsozwx4j0fswybHQ body: encoding: US-ASCII string: '' @@ -485,12 +476,9 @@ http_interactions: Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.11.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-21-generic (buildd@lcy02-amd64-091) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2","hostname":"ff-LAT"}' + - "" Stripe-Account: - - acct_1OriFfQTS9nOO0fo + - acct_1OtJSNQSrsozwx4j Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -503,7 +491,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:49:05 GMT + - Tue, 12 Mar 2024 00:44:50 GMT Content-Type: - application/json Content-Length: @@ -531,9 +519,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_xcXjbsQbiDlBMT + - req_LMBgnmGH9pVivJ Stripe-Account: - - acct_1OriFfQTS9nOO0fo + - acct_1OtJSNQSrsozwx4j Stripe-Version: - '2023-10-16' Vary: @@ -546,7 +534,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFiQTS9nOO0fo07xRuiac", + "id": "pi_3OtJSQQSrsozwx4j0fswybHQ", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -560,20 +548,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", - "client_secret": "pi_3OriFiQTS9nOO0fo07xRuiac_secret_BZ69pUIUs7hilecP22OpCOnDw", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822938, + "created": 1710204282, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriFiQTS9nOO0fo0sCHN0Ht", + "latest_charge": "ch_3OtJSQQSrsozwx4j0Vykgqj3", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFiQTS9nOO0foNwMYTsli", + "payment_method": "pm_1OtJSQQSrsozwx4jN6GU7U6b", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -598,10 +586,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:49:05 GMT + recorded_at: Tue, 12 Mar 2024 00:44:50 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OriFiQTS9nOO0fo07xRuiac + uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSQQSrsozwx4j0fswybHQ body: encoding: US-ASCII string: '' @@ -613,11 +601,11 @@ http_interactions: Stripe-Version: - '2020-08-27' X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.133.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","publisher":"active_merchant"}' + - "" X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OriFfQTS9nOO0fo + - acct_1OtJSNQSrsozwx4j Connection: - close Accept-Encoding: @@ -632,7 +620,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:49:05 GMT + - Tue, 12 Mar 2024 00:44:51 GMT Content-Type: - application/json Content-Length: @@ -660,9 +648,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_x8W6tCf3W2MbgP + - req_KwsqtACmkbr5ge Stripe-Account: - - acct_1OriFfQTS9nOO0fo + - acct_1OtJSNQSrsozwx4j Stripe-Version: - '2020-08-27' Vary: @@ -675,7 +663,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OriFiQTS9nOO0fo07xRuiac", + "id": "pi_3OtJSQQSrsozwx4j0fswybHQ", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -693,7 +681,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OriFiQTS9nOO0fo0sCHN0Ht", + "id": "ch_3OtJSQQSrsozwx4j0Vykgqj3", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -701,7 +689,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OriFiQTS9nOO0fo0sG7sQat", + "balance_transaction": "txn_3OtJSQQSrsozwx4j0lEZdF7k", "billing_details": { "address": { "city": null, @@ -717,7 +705,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822938, + "created": 1710204282, "currency": "aud", "customer": null, "description": null, @@ -737,13 +725,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 10, + "risk_score": 39, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OriFiQTS9nOO0fo07xRuiac", - "payment_method": "pm_1OriFiQTS9nOO0foNwMYTsli", + "payment_intent": "pi_3OtJSQQSrsozwx4j0fswybHQ", + "payment_method": "pm_1OtJSQQSrsozwx4jN6GU7U6b", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -786,14 +774,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpRmZRVFM5bk9PMGZvKOGnp68GMgbTKZtPigI6LBbEdmRxkS21RUfcVLnc8hiSUxCCFX-bmZJHxGMPGbUR8KXiwCthNcpwjsBs", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3RKU05RU3Jzb3p3eDRqKILLvq8GMgasHd7WwDY6LBYrndINYhC1X6MLs6JVcPuOq44W5CUcLt7i8rtV3WFKx_XJw0gfkKiide_d", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OriFiQTS9nOO0fo0sCHN0Ht/refunds" + "url": "/v1/charges/ch_3OtJSQQSrsozwx4j0Vykgqj3/refunds" }, "review": null, "shipping": null, @@ -808,22 +796,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OriFiQTS9nOO0fo07xRuiac" + "url": "/v1/charges?payment_intent=pi_3OtJSQQSrsozwx4j0fswybHQ" }, - "client_secret": "pi_3OriFiQTS9nOO0fo07xRuiac_secret_BZ69pUIUs7hilecP22OpCOnDw", + "client_secret": "", "confirmation_method": "automatic", - "created": 1709822938, + "created": 1710204282, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OriFiQTS9nOO0fo0sCHN0Ht", + "latest_charge": "ch_3OtJSQQSrsozwx4j0Vykgqj3", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OriFiQTS9nOO0foNwMYTsli", + "payment_method": "pm_1OtJSQQSrsozwx4jN6GU7U6b", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -848,10 +836,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 07 Mar 2024 14:49:05 GMT + recorded_at: Tue, 12 Mar 2024 00:44:51 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3OriFiQTS9nOO0fo0sCHN0Ht/refunds + uri: https://api.stripe.com/v1/charges/ch_3OtJSQQSrsozwx4j0Vykgqj3/refunds body: encoding: UTF-8 string: amount=2600&expand[0]=charge @@ -865,11 +853,11 @@ http_interactions: Stripe-Version: - '2020-08-27' X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.133.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","publisher":"active_merchant"}' + - "" X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OriFfQTS9nOO0fo + - acct_1OtJSNQSrsozwx4j Connection: - close Accept-Encoding: @@ -884,7 +872,7 @@ http_interactions: Server: - nginx Date: - - Thu, 07 Mar 2024 14:49:07 GMT + - Tue, 12 Mar 2024 00:44:52 GMT Content-Type: - application/json Content-Length: @@ -912,13 +900,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9e9364bd-3244-4fff-80cb-150ae4ca4e99 + - e9095a66-8d51-48cb-8d40-58bfd75bb33b Original-Request: - - req_aJgMxJ9LaJTRyZ + - req_lGcPkVM3JTxSt8 Request-Id: - - req_aJgMxJ9LaJTRyZ + - req_lGcPkVM3JTxSt8 Stripe-Account: - - acct_1OriFfQTS9nOO0fo + - acct_1OtJSNQSrsozwx4j Stripe-Should-Retry: - 'false' Stripe-Version: @@ -933,12 +921,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3OriFiQTS9nOO0fo0yW4O65p", + "id": "re_3OtJSQQSrsozwx4j0Na60CWY", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3OriFiQTS9nOO0fo0akfshFV", + "balance_transaction": "txn_3OtJSQQSrsozwx4j0HN40t4X", "charge": { - "id": "ch_3OriFiQTS9nOO0fo0sCHN0Ht", + "id": "ch_3OtJSQQSrsozwx4j0Vykgqj3", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -946,7 +934,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OriFiQTS9nOO0fo0sG7sQat", + "balance_transaction": "txn_3OtJSQQSrsozwx4j0lEZdF7k", "billing_details": { "address": { "city": null, @@ -962,7 +950,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1709822938, + "created": 1710204282, "currency": "aud", "customer": null, "description": null, @@ -982,13 +970,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 10, + "risk_score": 39, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OriFiQTS9nOO0fo07xRuiac", - "payment_method": "pm_1OriFiQTS9nOO0foNwMYTsli", + "payment_intent": "pi_3OtJSQQSrsozwx4j0fswybHQ", + "payment_method": "pm_1OtJSQQSrsozwx4jN6GU7U6b", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -1031,18 +1019,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3JpRmZRVFM5bk9PMGZvKOOnp68GMgYw_sy3WVE6LBauCaJUk1gX3VnMvmEXCQ8UajSJryoVc9vX6LEedtJ1OFU6D2xbQJCMECKN", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3RKU05RU3Jzb3p3eDRqKITLvq8GMgak_IisoB06LBY0-hH-g083EWeJnUyPBgvh1BHOoJP0Om3qdB5HfCCCbRY-y3TIev3a2aGO", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3OriFiQTS9nOO0fo0yW4O65p", + "id": "re_3OtJSQQSrsozwx4j0Na60CWY", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3OriFiQTS9nOO0fo0akfshFV", - "charge": "ch_3OriFiQTS9nOO0fo0sCHN0Ht", - "created": 1709822946, + "balance_transaction": "txn_3OtJSQQSrsozwx4j0HN40t4X", + "charge": "ch_3OtJSQQSrsozwx4j0Vykgqj3", + "created": 1710204291, "currency": "aud", "destination_details": { "card": { @@ -1053,7 +1041,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OriFiQTS9nOO0fo07xRuiac", + "payment_intent": "pi_3OtJSQQSrsozwx4j0fswybHQ", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1063,7 +1051,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3OriFiQTS9nOO0fo0sCHN0Ht/refunds" + "url": "/v1/charges/ch_3OtJSQQSrsozwx4j0Vykgqj3/refunds" }, "review": null, "shipping": null, @@ -1075,7 +1063,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1709822946, + "created": 1710204291, "currency": "aud", "destination_details": { "card": { @@ -1086,12 +1074,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OriFiQTS9nOO0fo07xRuiac", + "payment_intent": "pi_3OtJSQQSrsozwx4j0fswybHQ", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 07 Mar 2024 14:49:07 GMT + recorded_at: Tue, 12 Mar 2024 00:44:52 GMT recorded_with: VCR 6.2.0 From 462c763cd13f40e46daf43f187ee7169ba5512dc Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Wed, 6 Mar 2024 14:27:33 +1100 Subject: [PATCH 087/374] Add spree_product_uri to SuppliedProduct Also update SuppliedProductBuilder and specs --- .../app/services/supplied_product_builder.rb | 27 ++- .../lib/dfc_provider/supplied_product.rb | 9 +- .../services/supplied_product_builder_spec.rb | 194 +++++++++++++++++- swagger/dfc.yaml | 4 + 4 files changed, 226 insertions(+), 8 deletions(-) diff --git a/engines/dfc_provider/app/services/supplied_product_builder.rb b/engines/dfc_provider/app/services/supplied_product_builder.rb index ea475da1ec..84b14f53af 100644 --- a/engines/dfc_provider/app/services/supplied_product_builder.rb +++ b/engines/dfc_provider/app/services/supplied_product_builder.rb @@ -6,6 +6,10 @@ class SuppliedProductBuilder < DfcBuilder enterprise_id: variant.product.supplier_id, id: variant.id, ) + product_uri = urls.enterprise_url( + variant.product.supplier_id, + spree_product_id: variant.product_id + ) DfcProvider::SuppliedProduct.new( id, @@ -13,16 +17,16 @@ class SuppliedProductBuilder < DfcBuilder description: variant.description, productType: product_type(variant), quantity: QuantitativeValueBuilder.quantity(variant), + spree_product_uri: product_uri, spree_product_id: variant.product.id, image_url: variant.product&.image&.url(:product) ) end def self.import_variant(supplied_product) - product_id = supplied_product.spree_product_id + product = referenced_spree_product(supplied_product) - if product_id.present? - product = Spree::Product.find(product_id) + if product Spree::Variant.new( product:, price: 0, @@ -36,6 +40,23 @@ class SuppliedProductBuilder < DfcBuilder end end + def self.referenced_spree_product(supplied_product) + uri = supplied_product.spree_product_uri + id = supplied_product.spree_product_id + + if uri.present? + route = Rails.application.routes.recognize_path(uri) + params = Rack::Utils.parse_nested_query(URI.parse(uri).query) + + # Check that the given URI points to us: + return unless uri == urls.enterprise_url(route.merge(params)) + + Spree::Product.find(params["spree_product_id"]) + elsif id.present? + Spree::Product.find(id) + end + end + def self.import_product(supplied_product) Spree::Product.new( name: supplied_product.name, diff --git a/engines/dfc_provider/lib/dfc_provider/supplied_product.rb b/engines/dfc_provider/lib/dfc_provider/supplied_product.rb index 8e8b258206..f2ebc9f61f 100644 --- a/engines/dfc_provider/lib/dfc_provider/supplied_product.rb +++ b/engines/dfc_provider/lib/dfc_provider/supplied_product.rb @@ -2,15 +2,20 @@ module DfcProvider class SuppliedProduct < DataFoodConsortium::Connector::SuppliedProduct - attr_accessor :spree_product_id, :image + attr_accessor :spree_product_id, :spree_product_uri, :image - def initialize(semantic_id, spree_product_id: nil, image_url: nil, **properties) + def initialize( + semantic_id, spree_product_id: nil, spree_product_uri: nil, image_url: nil, **properties + ) super(semantic_id, **properties) self.spree_product_id = spree_product_id + self.spree_product_uri = spree_product_uri self.image = image_url + # This is now replaced by spree_product_uri, keeping it for backward compatibility register_ofn_property("spree_product_id") + register_ofn_property("spree_product_uri") # Temporary solution, will be replaced by "dfc_b:image" in future version of the DFC connector register_ofn_property("image") end diff --git a/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb b/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb index b8e41df742..f4e1518735 100644 --- a/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb +++ b/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb @@ -7,11 +7,16 @@ describe SuppliedProductBuilder do subject(:builder) { described_class } let(:variant) { - build(:variant, id: 5).tap do |v| - v.product.supplier_id = 7 - v.product.primary_taxon = taxon + build(:variant, id: 5, product: spree_product) + } + let(:spree_product) { + create(:product, id: 6, supplier:).tap do |p| + p.primary_taxon = taxon end } + let(:supplier) { + build(:supplier_enterprise, id: 7) + } let(:taxon) { build( :taxon, @@ -79,6 +84,14 @@ describe SuppliedProductBuilder do expect(product.image).to eq variant.product.image.url(:product) end + + it "assigns the product uri" do + product = builder.supplied_product(variant) + + expect(product.spree_product_uri).to eq( + "http://test.host/api/dfc/enterprises/7?spree_product_id=6" + ) + end end describe ".import_product" do @@ -130,4 +143,179 @@ describe SuppliedProductBuilder do end end end + + describe ".import_variant" do + let(:imported_variant) { builder.import_variant(supplied_product) } + let(:supplied_product) do + DfcProvider::SuppliedProduct.new( + "https://example.net/tomato", + name: "Tomato", + description: "Awesome tomato", + quantity: DataFoodConsortium::Connector::QuantitativeValue.new( + unit: DfcLoader.connector.MEASURES.KILOGRAM, + value: 2, + ), + productType: product_type, + ) + end + let(:product_type) { DfcLoader.connector.PRODUCT_TYPES.VEGETABLE.NON_LOCAL_VEGETABLE } + + it "creates a new Spree::Product and variant" do + expect(imported_variant).to be_a(Spree::Variant) + expect(imported_variant.id).to be_nil + + imported_product = imported_variant.product + expect(imported_product).to be_a(Spree::Product) + expect(imported_product.id).to be_nil + expect(imported_product.name).to eq("Tomato") + expect(imported_product.description).to eq("Awesome tomato") + expect(imported_product.variant_unit).to eq("weight") + end + + context "with spree_product_id supplied" do + let(:imported_variant) { builder.import_variant(supplied_product) } + + let(:supplied_product) do + DfcProvider::SuppliedProduct.new( + "https://example.net/tomato", + name: "Tomato", + description: "Better Awesome tomato", + quantity: DataFoodConsortium::Connector::QuantitativeValue.new( + unit: DfcLoader.connector.MEASURES.KILOGRAM, + value: 2, + ), + productType: product_type, + spree_product_id: variant.product.id + ) + end + let(:product_type) { DfcLoader.connector.PRODUCT_TYPES.DRINK.SOFT_DRINK } + let!(:new_taxon) { + create( + :taxon, + name: "Soft Drink", + dfc_id: "https://github.com/datafoodconsortium/taxonomies/releases/latest/download/productTypes.rdf#soft-drink" + ) + } + + it "update an existing Spree::Product" do + imported_product = imported_variant.product + expect(imported_product.id).to eq(spree_product.id) + expect(imported_product.description).to eq("Better Awesome tomato") + expect(imported_product.primary_taxon).to eq(new_taxon) + end + + it "adds a new variant" do + expect(imported_variant.id).to be_nil + expect(imported_variant.product).to eq(spree_product) + expect(imported_variant.display_name).to eq("Tomato") + expect(imported_variant.unit_value).to eq(2000) + end + end + + context "with spree_product_uri supplied" do + let(:imported_variant) { builder.import_variant(supplied_product) } + let(:product_type) { DfcLoader.connector.PRODUCT_TYPES.DRINK.SOFT_DRINK } + let!(:new_taxon) { + create( + :taxon, + name: "Soft Drink", + dfc_id: "https://github.com/datafoodconsortium/taxonomies/releases/latest/download/productTypes.rdf#soft-drink" + ) + } + + context "when spree_product_uri match the server host" do + let(:supplied_product) do + variant.save! # referenced in spree_product_id + + DfcProvider::SuppliedProduct.new( + "https://example.net/tomato", + name: "Tomato", + description: "Better Awesome tomato", + quantity: DataFoodConsortium::Connector::QuantitativeValue.new( + unit: DfcLoader.connector.MEASURES.KILOGRAM, + value: 2, + ), + productType: product_type, + spree_product_uri: "http://test.host/api/dfc/enterprises/7?spree_product_id=6" + ) + end + + it "update an existing Spree::Product" do + imported_product = imported_variant.product + expect(imported_product.id).to eq(spree_product.id) + expect(imported_product.description).to eq("Better Awesome tomato") + expect(imported_product.primary_taxon).to eq(new_taxon) + end + + it "adds a new variant" do + expect(imported_variant.id).to be_nil + expect(imported_variant.product).to eq(spree_product) + expect(imported_variant.display_name).to eq("Tomato") + expect(imported_variant.unit_value).to eq(2000) + end + end + + context "when doesn't spree_product_uri match the server host" do + let(:supplied_product) do + DfcProvider::SuppliedProduct.new( + "https://example.net/tomato", + name: "Tomato", + description: "Awesome tomato", + quantity: DataFoodConsortium::Connector::QuantitativeValue.new( + unit: DfcLoader.connector.MEASURES.KILOGRAM, + value: 2, + ), + productType: product_type, + spree_product_uri: "http://another.host/api/dfc/enterprises/10/supplied_products/50" + ) + end + + it "creates a new Spree::Product and variant" do + expect(imported_variant).to be_a(Spree::Variant) + expect(imported_variant.id).to be_nil + + imported_product = imported_variant.product + expect(imported_product).to be_a(Spree::Product) + expect(imported_product.id).to be_nil + expect(imported_product.name).to eq("Tomato") + expect(imported_product.description).to eq("Awesome tomato") + expect(imported_product.variant_unit).to eq("weight") + end + end + end + end + + describe ".referenced_spree_product" do + let(:result) { builder.referenced_spree_product(supplied_product) } + let(:supplied_product) do + DfcProvider::SuppliedProduct.new( + "https://example.net/tomato", + name: "Tomato", + ) + end + + it "returns nil when no reference is given" do + expect(result).to eq nil + end + + it "returns a product referenced by URI" do + variant.save! + supplied_product.spree_product_uri = + "http://test.host/api/dfc/enterprises/7?spree_product_id=6" + expect(result).to eq spree_product + end + + it "doesn't return a foreign product referenced by URI" do + variant.save! + supplied_product.spree_product_uri = + "http://another.host/api/dfc/enterprises/7?spree_product_id=6" + expect(result).to eq nil + end + + it "returns a product referenced by id" do + variant.save! + supplied_product.spree_product_id = "6" + expect(result).to eq spree_product + end + end end diff --git a/swagger/dfc.yaml b/swagger/dfc.yaml index 9ba35ae272..acddec3237 100644 --- a/swagger/dfc.yaml +++ b/swagger/dfc.yaml @@ -121,6 +121,7 @@ paths: dfc-b:usageOrStorageCondition: '' dfc-b:totalTheoreticalStock: 0.0 ofn:spree_product_id: 90000 + ofn:spree_product_uri: http://test.host/api/dfc/enterprises/10000?spree_product_id=90000 - "@id": http://test.host/api/dfc/enterprises/10000/offers/10001 "@type": dfc-b:Offer dfc-b:hasPrice: 19.99 @@ -400,6 +401,7 @@ paths: dfc-b:usageOrStorageCondition: '' dfc-b:totalTheoreticalStock: 0.0 ofn:spree_product_id: 90000 + ofn:spree_product_uri: http://test.host/api/dfc/enterprises/10000?spree_product_id=90000 ofn:image: http://test.host/rails/active_storage/url/logo-white.png - "@id": http://test.host/api/dfc/enterprises/10000/catalog_items/10001 "@type": dfc-b:CatalogItem @@ -552,6 +554,7 @@ paths: dfc-b:usageOrStorageCondition: '' dfc-b:totalTheoreticalStock: 0.0 ofn:spree_product_id: 90000 + ofn:spree_product_uri: http://test.host/api/dfc/enterprises/10000?spree_product_id=142 requestBody: content: application/json: @@ -611,6 +614,7 @@ paths: dfc-b:usageOrStorageCondition: '' dfc-b:totalTheoreticalStock: 0.0 ofn:spree_product_id: 90000 + ofn:spree_product_uri: http://test.host/api/dfc/enterprises/10000?spree_product_id=90000 ofn:image: http://test.host/rails/active_storage/url/logo-white.png '404': description: not found From a4b7a8f95d25ce5da33ac6cf6dbccf0ad47a838a Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Wed, 6 Mar 2024 16:20:32 +1100 Subject: [PATCH 088/374] Spec creating variant via DFC API --- .../spec/requests/supplied_products_spec.rb | 30 +++++++++++++++++++ swagger/dfc.yaml | 6 ++-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/engines/dfc_provider/spec/requests/supplied_products_spec.rb b/engines/dfc_provider/spec/requests/supplied_products_spec.rb index 8ca59d0d84..6f22460e03 100644 --- a/engines/dfc_provider/spec/requests/supplied_products_spec.rb +++ b/engines/dfc_provider/spec/requests/supplied_products_spec.rb @@ -142,6 +142,36 @@ describe "SuppliedProducts", type: :request, swagger_doc: "dfc.yaml", rswag_auto '"ofn:spree_product_id":90000' ) end + + context "when supplying spree_product_uri matching the host" do + it "creates a variant for the existing product" do |example| + supplied_product[:'ofn:spree_product_uri'] = + "http://test.host/api/dfc/enterprises/10000?spree_product_id=90000" + supplied_product[:'dfc-b:hasQuantity'][:'dfc-b:value'] = 6 + + expect { + submit_request(example.metadata) + product.variants.reload + } + .to change { product.variants.count }.by(1) + + # Creates a variant for existing product + variant_id = json_response["@id"].split("/").last.to_i + new_variant = Spree::Variant.find(variant_id) + expect(product.variants).to include(new_variant) + expect(new_variant.unit_value).to eq 6 + + # Insert static value to keep documentation deterministic: + response.body.gsub!( + "supplied_products/#{variant_id}", + "supplied_products/10001" + ) + .gsub!( + %r{active_storage/[0-9A-Za-z/=-]*/logo-white.png}, + "active_storage/url/logo-white.png", + ) + end + end end end end diff --git a/swagger/dfc.yaml b/swagger/dfc.yaml index acddec3237..ba441c7dd7 100644 --- a/swagger/dfc.yaml +++ b/swagger/dfc.yaml @@ -542,7 +542,7 @@ paths: "@context": https://www.datafoodconsortium.org "@id": http://test.host/api/dfc/enterprises/10000/supplied_products/10001 "@type": dfc-b:SuppliedProduct - dfc-b:name: Apple (6g) + dfc-b:name: Pesto - Apple (6g) dfc-b:description: A delicious heritage apple dfc-b:hasType: dfc-pt:non-local-vegetable dfc-b:hasQuantity: @@ -554,7 +554,8 @@ paths: dfc-b:usageOrStorageCondition: '' dfc-b:totalTheoreticalStock: 0.0 ofn:spree_product_id: 90000 - ofn:spree_product_uri: http://test.host/api/dfc/enterprises/10000?spree_product_id=142 + ofn:spree_product_uri: http://test.host/api/dfc/enterprises/10000?spree_product_id=90000 + ofn:image: http://test.host/rails/active_storage/url/logo-white.png requestBody: content: application/json: @@ -575,6 +576,7 @@ paths: dfc-b:usageOrStorageCondition: '' dfc-b:totalTheoreticalStock: 0.0 ofn:spree_product_id: 90000 + ofn:spree_product_uri: http://test.host/api/dfc/enterprises/10000?spree_product_id=90000 "/api/dfc/enterprises/{enterprise_id}/supplied_products/{id}": parameters: - name: enterprise_id From 85a47e61fdbe3c11f00e41b75ac1b9f41da93002 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 12 Mar 2024 13:02:26 +1100 Subject: [PATCH 089/374] Create variants only for own products --- .../supplied_products_controller.rb | 5 ++++- .../app/services/supplied_product_builder.rb | 10 +++++----- .../services/supplied_product_builder_spec.rb | 17 +++++++++++++---- 3 files changed, 22 insertions(+), 10 deletions(-) diff --git a/engines/dfc_provider/app/controllers/dfc_provider/supplied_products_controller.rb b/engines/dfc_provider/app/controllers/dfc_provider/supplied_products_controller.rb index d4142f25d6..6d3dce2e58 100644 --- a/engines/dfc_provider/app/controllers/dfc_provider/supplied_products_controller.rb +++ b/engines/dfc_provider/app/controllers/dfc_provider/supplied_products_controller.rb @@ -14,7 +14,10 @@ module DfcProvider return head :bad_request unless supplied_product - variant = SuppliedProductBuilder.import_variant(supplied_product) + variant = SuppliedProductBuilder.import_variant( + supplied_product, + current_enterprise, + ) product = variant.product if product.new_record? diff --git a/engines/dfc_provider/app/services/supplied_product_builder.rb b/engines/dfc_provider/app/services/supplied_product_builder.rb index 84b14f53af..835d08261d 100644 --- a/engines/dfc_provider/app/services/supplied_product_builder.rb +++ b/engines/dfc_provider/app/services/supplied_product_builder.rb @@ -23,8 +23,8 @@ class SuppliedProductBuilder < DfcBuilder ) end - def self.import_variant(supplied_product) - product = referenced_spree_product(supplied_product) + def self.import_variant(supplied_product, supplier) + product = referenced_spree_product(supplied_product, supplier) if product Spree::Variant.new( @@ -40,7 +40,7 @@ class SuppliedProductBuilder < DfcBuilder end end - def self.referenced_spree_product(supplied_product) + def self.referenced_spree_product(supplied_product, supplier) uri = supplied_product.spree_product_uri id = supplied_product.spree_product_id @@ -51,9 +51,9 @@ class SuppliedProductBuilder < DfcBuilder # Check that the given URI points to us: return unless uri == urls.enterprise_url(route.merge(params)) - Spree::Product.find(params["spree_product_id"]) + supplier.supplied_products.find_by(id: params["spree_product_id"]) elsif id.present? - Spree::Product.find(id) + supplier.supplied_products.find_by(id:) end end diff --git a/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb b/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb index f4e1518735..49e33e6885 100644 --- a/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb +++ b/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb @@ -145,7 +145,7 @@ describe SuppliedProductBuilder do end describe ".import_variant" do - let(:imported_variant) { builder.import_variant(supplied_product) } + let(:imported_variant) { builder.import_variant(supplied_product, supplier) } let(:supplied_product) do DfcProvider::SuppliedProduct.new( "https://example.net/tomato", @@ -173,7 +173,7 @@ describe SuppliedProductBuilder do end context "with spree_product_id supplied" do - let(:imported_variant) { builder.import_variant(supplied_product) } + let(:imported_variant) { builder.import_variant(supplied_product, supplier) } let(:supplied_product) do DfcProvider::SuppliedProduct.new( @@ -213,7 +213,7 @@ describe SuppliedProductBuilder do end context "with spree_product_uri supplied" do - let(:imported_variant) { builder.import_variant(supplied_product) } + let(:imported_variant) { builder.import_variant(supplied_product, supplier) } let(:product_type) { DfcLoader.connector.PRODUCT_TYPES.DRINK.SOFT_DRINK } let!(:new_taxon) { create( @@ -286,7 +286,7 @@ describe SuppliedProductBuilder do end describe ".referenced_spree_product" do - let(:result) { builder.referenced_spree_product(supplied_product) } + let(:result) { builder.referenced_spree_product(supplied_product, supplier) } let(:supplied_product) do DfcProvider::SuppliedProduct.new( "https://example.net/tomato", @@ -305,6 +305,15 @@ describe SuppliedProductBuilder do expect(result).to eq spree_product end + it "doesn't return a product of another enterprise" do + variant.save! + create(:product, id: 8, supplier: create(:enterprise)) + + supplied_product.spree_product_uri = + "http://test.host/api/dfc/enterprises/7?spree_product_id=8" + expect(result).to eq nil + end + it "doesn't return a foreign product referenced by URI" do variant.save! supplied_product.spree_product_uri = From 1674d8ab5cd098f05cf4de462160f0e2a003243d Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 12 Mar 2024 13:05:48 +1100 Subject: [PATCH 090/374] Simplify DFC product controller --- .../dfc_provider/supplied_products_controller.rb | 10 ++-------- .../app/services/supplied_product_builder.rb | 1 + 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/engines/dfc_provider/app/controllers/dfc_provider/supplied_products_controller.rb b/engines/dfc_provider/app/controllers/dfc_provider/supplied_products_controller.rb index 6d3dce2e58..57d25c1929 100644 --- a/engines/dfc_provider/app/controllers/dfc_provider/supplied_products_controller.rb +++ b/engines/dfc_provider/app/controllers/dfc_provider/supplied_products_controller.rb @@ -20,14 +20,8 @@ module DfcProvider ) product = variant.product - if product.new_record? - product.supplier = current_enterprise - product.save! - end - - if variant.new_record? - variant.save! - end + product.save! if product.new_record? + variant.save! if variant.new_record? supplied_product = SuppliedProductBuilder.supplied_product(variant) render json: DfcIo.export(supplied_product) diff --git a/engines/dfc_provider/app/services/supplied_product_builder.rb b/engines/dfc_provider/app/services/supplied_product_builder.rb index 835d08261d..4e2b3d947b 100644 --- a/engines/dfc_provider/app/services/supplied_product_builder.rb +++ b/engines/dfc_provider/app/services/supplied_product_builder.rb @@ -35,6 +35,7 @@ class SuppliedProductBuilder < DfcBuilder end else product = import_product(supplied_product) + product.supplier = supplier product.ensure_standard_variant product.variants.first end From d253effc291a37ee4ae566c3ad0832085aad4131 Mon Sep 17 00:00:00 2001 From: Maikel Date: Tue, 12 Mar 2024 16:32:01 +1100 Subject: [PATCH 091/374] Fix typo in spec description Co-authored-by: Gaetan Craig-Riou <40413322+rioug@users.noreply.github.com> --- .../dfc_provider/spec/services/supplied_product_builder_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb b/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb index 49e33e6885..97c2236209 100644 --- a/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb +++ b/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb @@ -255,7 +255,7 @@ describe SuppliedProductBuilder do end end - context "when doesn't spree_product_uri match the server host" do + context "when spree_product_uri doesn't match the server host" do let(:supplied_product) do DfcProvider::SuppliedProduct.new( "https://example.net/tomato", From 163c45d30129f7ed0606d3d6cfa2fd5f0ed531ed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 09:18:26 +0000 Subject: [PATCH 092/374] chore(deps): bump rails-i18n from 7.0.8 to 7.0.9 Bumps [rails-i18n](https://github.com/svenfuchs/rails-i18n) from 7.0.8 to 7.0.9. - [Changelog](https://github.com/svenfuchs/rails-i18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/svenfuchs/rails-i18n/compare/v7.0.8...v7.0.9) --- updated-dependencies: - dependency-name: rails-i18n dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index c3fa078a49..4807b7a436 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -554,7 +554,7 @@ GEM rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - rails-i18n (7.0.8) + rails-i18n (7.0.9) i18n (>= 0.7, < 2) railties (>= 6.0.0, < 8) rails_safe_tasks (1.0.0) @@ -753,7 +753,7 @@ GEM faraday (~> 2.0) faraday-follow_redirects temple (0.8.2) - thor (1.3.0) + thor (1.3.1) thread-local (1.1.0) tilt (2.3.0) timecop (0.9.8) From 84551068ee86a1b047677ce894d640466b4f9b46 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 09:19:46 +0000 Subject: [PATCH 093/374] chore(deps): bump aws-sdk-s3 from 1.143.0 to 1.143.1 Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.143.0 to 1.143.1. - [Release notes](https://github.com/aws/aws-sdk-ruby/releases) - [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-ruby/commits) --- updated-dependencies: - dependency-name: aws-sdk-s3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index c3fa078a49..2c24b86e29 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -156,8 +156,8 @@ GEM awesome_nested_set (3.6.0) activerecord (>= 4.0.0, < 7.2) aws-eventstream (1.3.0) - aws-partitions (1.883.0) - aws-sdk-core (3.191.0) + aws-partitions (1.896.0) + aws-sdk-core (3.191.3) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) @@ -165,7 +165,7 @@ GEM aws-sdk-kms (1.77.0) aws-sdk-core (~> 3, >= 3.191.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.143.0) + aws-sdk-s3 (1.143.1) aws-sdk-core (~> 3, >= 3.191.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.8) From 43d13253e74958e23b5884cf2e7dc5174e0439a9 Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Wed, 13 Mar 2024 10:51:15 +0100 Subject: [PATCH 094/374] Add tests to the search product feature --- .../system/consumer/shopping/shopping_spec.rb | 43 ++++++++++++++++--- 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/spec/system/consumer/shopping/shopping_spec.rb b/spec/system/consumer/shopping/shopping_spec.rb index 07f6e736ea..9ace5cac70 100644 --- a/spec/system/consumer/shopping/shopping_spec.rb +++ b/spec/system/consumer/shopping/shopping_spec.rb @@ -11,7 +11,7 @@ describe "As a consumer I want to shop with a distributor" do describe "Viewing a distributor" do let(:distributor) { create(:distributor_enterprise, with_payment_and_shipping: true) } - let(:supplier) { create(:supplier_enterprise) } + let(:supplier) { create(:supplier_enterprise, name: 'The small mammals company') } let(:oc1) { create(:simple_order_cycle, distributors: [distributor], coordinator: create(:distributor_enterprise), @@ -291,9 +291,12 @@ describe "As a consumer I want to shop with a distributor" do describe "after selecting an order cycle with products visible" do let(:variant1) { create(:variant, product:, price: 20) } - let(:variant2) { create(:variant, product:, price: 30, display_name: "Badgers") } + let(:variant2) do + create(:variant, product:, price: 30, display_name: "Badgers", + display_as: 'displayedunderthename') + end let(:product2) { - create(:simple_product, supplier:, name: "Meercats", meta_keywords: "Wild") + create(:simple_product, supplier:, name: "Meercats", meta_keywords: "Wild Fresh") } let(:variant3) { create(:variant, product: product2, price: 40, display_name: "Ferrets") } let(:exchange) { Exchange.find(oc1.exchanges.to_enterprises(distributor).outgoing.first.id) } @@ -330,9 +333,11 @@ describe "As a consumer I want to shop with a distributor" do end context "filtering search results" do - it "returns no results and clears searches by clicking the clear-link" do + before do visit shop_path sleep(2) + end + it "returns no results and clears searches by clicking the clear-link" do fill_in "search", with: "74576345634XXXXXX" expect(page).to have_content "Sorry, no results found" expect(page).not_to have_content product2.name @@ -340,14 +345,40 @@ describe "As a consumer I want to shop with a distributor" do expect(page).to have_content("Add", count: 4) end it "returns results and clears searches by clicking the clear-button" do - visit shop_path - sleep(2) fill_in "search", with: "Meer" # For product named "Meercats" expect(page).to have_content product2.name expect(page).not_to have_content product.name find("a.clear").click # clears search by clicking the X button expect(page).to have_content("Add", count: 4) end + it "returns results by searching by keyword" do + # model: meta_keywords + fill_in "search", with: "Wild" # For product named "Meercats" + expect(page).to have_content product2.name + end + it 'returns results by searching by variants display_name' do + # model: variant display_name + fill_in "search", with: "Ferrets" # For variants named "Ferrets" + within('div.pad-top') do + expect(page).to have_content product2.variants[1].display_name # Ferrets + expect(page).not_to have_content product.variants[2].display_name # not Badgers + end + end + it 'returns results by searching by variants display_name' do + # model: variant display_as + fill_in "search", with: "displayedunder" # "Badgers" + within('div.pad-top') do + expect(page).not_to have_content product2.variants[1].display_name # Ferrets + expect(page).to have_content product.variants[2].display_name # not Badgers + end + end + it 'returns results by searching by variants display_name' do + # model: Enterprise name + fill_in "search", with: "Enterp" # Enterprise 1 sells nothing + within('p.no-results') do + expect(page).to have_content "Sorry, no results found for Enterp" + end + end end context "when supplier uses property" do From 29dad44f9fd181d4cdd7ff109b40f9c8d0985d77 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Thu, 14 Mar 2024 10:03:59 +1100 Subject: [PATCH 095/374] Update all locales with the latest Transifex translations --- config/locales/fr_CA.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/locales/fr_CA.yml b/config/locales/fr_CA.yml index 675ed397c2..d22c5ffd05 100644 --- a/config/locales/fr_CA.yml +++ b/config/locales/fr_CA.yml @@ -1202,6 +1202,7 @@ fr_CA: custom_tab_title: "Titre de l'onglet personnalisé" custom_tab_content: "Contenu de l'onglet personnalisé" connected_apps: + legend: "Connected apps https://n8n.openfoodnetwork.org.uk/webhook-test/regen/connect-enterprise/can" loading: "Chargement en cours" actions: edit_profile: Paramètres @@ -1452,6 +1453,7 @@ fr_CA: users: "Utilisateurs" vouchers: Bon de réduction white_label: "Marque blanche" + connected_apps: "Connected apps https://n8n.openfoodnetwork.org.uk/webhook-test/regen/connect-enterprise/can" enterprise_group: primary_details: "Informations de base" users: "Utilisateurs" From f59c43b8e95fbefc968c64a1d7417574a39a0125 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:19:04 +0000 Subject: [PATCH 096/374] chore(deps): bump aws-sdk-s3 from 1.143.1 to 1.144.0 Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.143.1 to 1.144.0. - [Release notes](https://github.com/aws/aws-sdk-ruby/releases) - [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-ruby/commits) --- updated-dependencies: - dependency-name: aws-sdk-s3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 65c02e72e4..625ba7130b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -165,7 +165,7 @@ GEM aws-sdk-kms (1.77.0) aws-sdk-core (~> 3, >= 3.191.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.143.1) + aws-sdk-s3 (1.144.0) aws-sdk-core (~> 3, >= 3.191.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.8) From 261cb2d81b2938f3df915c0cf9cba8be4bb29048 Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Thu, 14 Mar 2024 10:55:09 +0100 Subject: [PATCH 097/374] Requested changes: trimming number of examples - to improve speed of testing --- .../system/consumer/shopping/shopping_spec.rb | 31 +++++++------------ 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/spec/system/consumer/shopping/shopping_spec.rb b/spec/system/consumer/shopping/shopping_spec.rb index 9ace5cac70..9694059eb1 100644 --- a/spec/system/consumer/shopping/shopping_spec.rb +++ b/spec/system/consumer/shopping/shopping_spec.rb @@ -337,42 +337,35 @@ describe "As a consumer I want to shop with a distributor" do visit shop_path sleep(2) end - it "returns no results and clears searches by clicking the clear-link" do + it "returns results when successful" do fill_in "search", with: "74576345634XXXXXX" expect(page).to have_content "Sorry, no results found" - expect(page).not_to have_content product2.name + expect(page).not_to have_content 'Meercats' click_on "Clear search" # clears search by clicking text expect(page).to have_content("Add", count: 4) - end - it "returns results and clears searches by clicking the clear-button" do fill_in "search", with: "Meer" # For product named "Meercats" - expect(page).to have_content product2.name + expect(page).to have_content 'Meercats' expect(page).not_to have_content product.name find("a.clear").click # clears search by clicking the X button expect(page).to have_content("Add", count: 4) end - it "returns results by searching by keyword" do - # model: meta_keywords + it "returns results by looking at different columns in DB" do + # by keyword model: meta_keywords fill_in "search", with: "Wild" # For product named "Meercats" - expect(page).to have_content product2.name - end - it 'returns results by searching by variants display_name' do - # model: variant display_name + expect(page).to have_content 'Wild' + find("a.clear").click + # by variant display name model: variant display_name fill_in "search", with: "Ferrets" # For variants named "Ferrets" within('div.pad-top') do - expect(page).to have_content product2.variants[1].display_name # Ferrets - expect(page).not_to have_content product.variants[2].display_name # not Badgers + expect(page).to have_content 'Ferrets' + expect(page).not_to have_content 'Badgers' end - end - it 'returns results by searching by variants display_name' do # model: variant display_as fill_in "search", with: "displayedunder" # "Badgers" within('div.pad-top') do - expect(page).not_to have_content product2.variants[1].display_name # Ferrets - expect(page).to have_content product.variants[2].display_name # not Badgers + expect(page).not_to have_content 'Ferrets' + expect(page).to have_content 'Badgers' end - end - it 'returns results by searching by variants display_name' do # model: Enterprise name fill_in "search", with: "Enterp" # Enterprise 1 sells nothing within('p.no-results') do From 38b832cec2d7c272bda9389bb0902765140ca45f Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Tue, 27 Feb 2024 17:43:49 +0100 Subject: [PATCH 098/374] fix route to admin#order#invoice#generate --- config/routes/spree.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes/spree.rb b/config/routes/spree.rb index 462073b486..f59e4e7dca 100644 --- a/config/routes/spree.rb +++ b/config/routes/spree.rb @@ -110,7 +110,7 @@ Spree::Core::Engine.routes.draw do resources :adjustments resources :invoices, only: [:index] resource :invoices, only: [] do - post :generate, to: :generate + post :generate end resources :payments do From c497b3745293d097e01f4bc6fb27aee3c9521323 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Thu, 14 Mar 2024 14:32:14 +0100 Subject: [PATCH 099/374] set variant_processor to mini_magick Seem like the default variant processor become vips. https://github.com/openfoodfoundation/openfoodnetwork/actions/runs/8280341472/job/22656656944?pr=12209 https://github.com/rails/rails/issues/44211 The comment on the source code doesn't seem to be updated https://github.com/rails/rails/blob/4bb73233413f30fd7217bd7f08af44963f5832b1/activestorage/app/models/active_storage/variant.rb#L11 --- config/application.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/application.rb b/config/application.rb index 1146d04c77..09d8fb5abe 100644 --- a/config/application.rb +++ b/config/application.rb @@ -249,6 +249,7 @@ module Openfoodnetwork config.active_storage.content_types_to_serve_as_binary -= ["image/svg+xml"] config.active_storage.variable_content_types += ["image/svg+xml"] config.active_storage.url_options = config.action_controller.default_url_options + config.active_storage.variant_processor = :mini_magick config.exceptions_app = self.routes From c6a83588fef335d33b97dfd0335eee333ee240bc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 23:38:41 +0000 Subject: [PATCH 100/374] chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index ff946847a1..9a27b80531 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4048,9 +4048,9 @@ flush-write-stream@^1.0.0: readable-stream "^2.3.6" follow-redirects@^1.0.0: - version "1.15.4" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.4.tgz#cdc7d308bf6493126b17ea2191ea0ccf3e535adf" - integrity sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw== + version "1.15.6" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" + integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== for-in@^1.0.2: version "1.0.2" From 96ccea369143967ecce0ac50f252683544a64c86 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Mon, 19 Feb 2024 17:14:50 +1100 Subject: [PATCH 101/374] Add controller to handle import of DFC products It's not doing anything yet, but this is the basic setup. --- .../admin/dfc_product_imports_controller.rb | 19 ++++++++++++++ app/models/spree/ability.rb | 2 ++ .../admin/dfc_product_imports/index.html.haml | 2 ++ .../product_import/_dfc_import_form.html.haml | 11 ++++++++ .../admin/product_import/index.html.haml | 2 ++ config/routes/admin.rb | 2 ++ spec/system/admin/dfc_product_import_spec.rb | 26 +++++++++++++++++++ 7 files changed, 64 insertions(+) create mode 100644 app/controllers/admin/dfc_product_imports_controller.rb create mode 100644 app/views/admin/dfc_product_imports/index.html.haml create mode 100644 app/views/admin/product_import/_dfc_import_form.html.haml create mode 100644 spec/system/admin/dfc_product_import_spec.rb diff --git a/app/controllers/admin/dfc_product_imports_controller.rb b/app/controllers/admin/dfc_product_imports_controller.rb new file mode 100644 index 0000000000..000dfc9bf4 --- /dev/null +++ b/app/controllers/admin/dfc_product_imports_controller.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Admin + class DfcProductImportsController < Spree::Admin::BaseController + + # Define model class for `can?` permissions: + def model_class + self.class + end + + def index + # The plan: + # + # * Fetch DFC catalog as JSON from URL. + # * First step: import all products for given enterprise. + # * Second step: render table and let user decide which ones to import. + end + end +end diff --git a/app/models/spree/ability.rb b/app/models/spree/ability.rb index 127b9c2766..037bfecdb6 100644 --- a/app/models/spree/ability.rb +++ b/app/models/spree/ability.rb @@ -239,6 +239,8 @@ module Spree can [:admin, :index, :guide, :import, :save, :save_data, :validate_data, :reset_absent_products], ProductImport::ProductImporter + can [:admin, :index], ::Admin::DfcProductImportsController + # Reports page can [:admin, :index, :show], ::Admin::ReportsController can [:admin, :show, :customers, :orders_and_distributors, :group_buys, :payments, diff --git a/app/views/admin/dfc_product_imports/index.html.haml b/app/views/admin/dfc_product_imports/index.html.haml new file mode 100644 index 0000000000..635129cd94 --- /dev/null +++ b/app/views/admin/dfc_product_imports/index.html.haml @@ -0,0 +1,2 @@ +%h2 Importing a DFC product catalog +%p Catalog size: 0 diff --git a/app/views/admin/product_import/_dfc_import_form.html.haml b/app/views/admin/product_import/_dfc_import_form.html.haml new file mode 100644 index 0000000000..5339a9a862 --- /dev/null +++ b/app/views/admin/product_import/_dfc_import_form.html.haml @@ -0,0 +1,11 @@ +%h3 Import from DFC catalog +%br + += form_with url: main_app.admin_dfc_product_imports_path, method: :get do |form| + = form.label :enterprise_id + = form.text_field :enterprise_id + %br + = form.label :catalog_url + = form.text_field :catalog_url + %br + = form.submit "Import" diff --git a/app/views/admin/product_import/index.html.haml b/app/views/admin/product_import/index.html.haml index ef4c6ed9c3..15e413fcf9 100644 --- a/app/views/admin/product_import/index.html.haml +++ b/app/views/admin/product_import/index.html.haml @@ -13,3 +13,5 @@ %br = render 'upload_form' + += render 'dfc_import_form' if spree_current_user.oidc_account.present? diff --git a/config/routes/admin.rb b/config/routes/admin.rb index 20dace8c6a..8d0a9f6705 100644 --- a/config/routes/admin.rb +++ b/config/routes/admin.rb @@ -67,6 +67,8 @@ Openfoodnetwork::Application.routes.draw do post '/product_import/save_data', to: 'product_import#save_data', as: 'product_import_save_async' post '/product_import/reset_absent', to: 'product_import#reset_absent_products', as: 'product_import_reset_async' + resources :dfc_product_imports, only: [:index] + constraints FeatureToggleConstraint.new(:admin_style_v3) do resources :products, to: 'products_v3#index', only: :index do patch :bulk_update, on: :collection diff --git a/spec/system/admin/dfc_product_import_spec.rb b/spec/system/admin/dfc_product_import_spec.rb new file mode 100644 index 0000000000..d279e5b228 --- /dev/null +++ b/spec/system/admin/dfc_product_import_spec.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: false + +require 'system_helper' + +describe "DFC Product Import" do + let(:user) { create(:oidc_user, owned_enterprises: [enterprise]) } + let(:enterprise) { create(:enterprise) } + + before do + login_as user + end + + it "imports from given catalog" do + visit admin_product_import_path + + fill_in "enterprise_id", with: enterprise.id + + # We are testing against our own catalog for now but we want to replace + # this with the URL of another app when available. + fill_in "catalog_url", with: "/api/dfc/enterprises/#{enterprise.id}/supplied_products" + + click_button "Import" + + expect(page).to have_content "Importing a DFC product catalog" + end +end From 477336c6603f4ea88aa338fcfa072dd5a4549687 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 15 Mar 2024 12:17:48 +1100 Subject: [PATCH 102/374] Style RSpec/NotToNot --- .../spec/requests/enterprises_spec.rb | 2 +- .../spec/requests/persons_spec.rb | 2 +- .../stripe_sca_payment_authorize_spec.rb | 6 +- .../order_management/order/updater_spec.rb | 8 +- .../order_management/stock/package_spec.rb | 2 +- .../subscriptions/payment_setup_spec.rb | 2 +- .../subscriptions/proxy_order_syncer_spec.rb | 90 +++++++++---------- .../stripe_payment_setup_spec.rb | 8 +- .../subscriptions/summary_spec.rb | 4 +- .../subscriptions/validator_spec.rb | 44 ++++----- .../subscriptions/variants_list_spec.rb | 6 +- .../helpers/cookies_policy_helper_spec.rb | 4 +- spec/system/admin/orders_spec.rb | 12 +-- 13 files changed, 95 insertions(+), 95 deletions(-) diff --git a/engines/dfc_provider/spec/requests/enterprises_spec.rb b/engines/dfc_provider/spec/requests/enterprises_spec.rb index 766a2d3beb..587971a2ec 100644 --- a/engines/dfc_provider/spec/requests/enterprises_spec.rb +++ b/engines/dfc_provider/spec/requests/enterprises_spec.rb @@ -93,7 +93,7 @@ describe "Enterprises", type: :request, swagger_doc: "dfc.yaml", rswag_autodoc: let(:other_enterprise) { create(:distributor_enterprise) } run_test! do - expect(response.body).to_not include "Apple" + expect(response.body).not_to include "Apple" end end end diff --git a/engines/dfc_provider/spec/requests/persons_spec.rb b/engines/dfc_provider/spec/requests/persons_spec.rb index 8e03a7667e..3af17b76e9 100644 --- a/engines/dfc_provider/spec/requests/persons_spec.rb +++ b/engines/dfc_provider/spec/requests/persons_spec.rb @@ -26,7 +26,7 @@ describe "Persons", type: :request, swagger_doc: "dfc.yaml", rswag_autodoc: true let(:id) { other_user.id } run_test! do - expect(response.body).to_not include "dfc-b:Person" + expect(response.body).not_to include "dfc-b:Person" end end end diff --git a/engines/order_management/spec/services/order_management/order/stripe_sca_payment_authorize_spec.rb b/engines/order_management/spec/services/order_management/order/stripe_sca_payment_authorize_spec.rb index 9dd15e8a8b..afe866f15b 100644 --- a/engines/order_management/spec/services/order_management/order/stripe_sca_payment_authorize_spec.rb +++ b/engines/order_management/spec/services/order_management/order/stripe_sca_payment_authorize_spec.rb @@ -74,9 +74,9 @@ module OrderManagement payment_authorize.call! expect(order.errors.size).to eq 0 - expect(PaymentMailer).to_not have_received(:authorize_payment) - expect(PaymentMailer).to_not have_received(:authorization_required) - expect(mail_mock).to_not have_received(:deliver_now) + expect(PaymentMailer).not_to have_received(:authorize_payment) + expect(PaymentMailer).not_to have_received(:authorization_required) + expect(mail_mock).not_to have_received(:deliver_now) end context "when the processing is off-session (via backoffice/subscription)" do diff --git a/engines/order_management/spec/services/order_management/order/updater_spec.rb b/engines/order_management/spec/services/order_management/order/updater_spec.rb index 0447e84cb8..6c2542b9e0 100644 --- a/engines/order_management/spec/services/order_management/order/updater_spec.rb +++ b/engines/order_management/spec/services/order_management/order/updater_spec.rb @@ -237,7 +237,7 @@ module OrderManagement it "returns paid" do updater.update_payment_state - expect(order.payment_state).to_not eq("requires_authorization") + expect(order.payment_state).not_to eq("requires_authorization") end end @@ -362,7 +362,7 @@ module OrderManagement it "cancels unused payments requiring authorization" do expect(stripe_payment).to receive(:void_transaction!) - expect(cash_payment).to_not receive(:void_transaction!) + expect(cash_payment).not_to receive(:void_transaction!) order.updater.update_payment_state end @@ -416,7 +416,7 @@ module OrderManagement it "doesn't touch taxes" do allow(order).to receive(:completed?) { false } - expect(order).to_not receive(:create_tax_charge!) + expect(order).not_to receive(:create_tax_charge!) updater.__send__(:handle_legacy_taxes) end end @@ -439,7 +439,7 @@ module OrderManagement context "and the order has no legacy taxes" do it "leaves taxes untouched" do - expect(order).to_not receive(:create_tax_charge!) + expect(order).not_to receive(:create_tax_charge!) updater.__send__(:handle_legacy_taxes) end diff --git a/engines/order_management/spec/services/order_management/stock/package_spec.rb b/engines/order_management/spec/services/order_management/stock/package_spec.rb index 5f36592a67..64a9fd46d3 100644 --- a/engines/order_management/spec/services/order_management/stock/package_spec.rb +++ b/engines/order_management/spec/services/order_management/stock/package_spec.rb @@ -168,7 +168,7 @@ module OrderManagement end it "does not return soft-deleted shipping methods" do - expect(package.shipping_methods).to_not include shipping_method3 + expect(package.shipping_methods).not_to include shipping_method3 end it "returns an empty array if distributor is nil" do diff --git a/engines/order_management/spec/services/order_management/subscriptions/payment_setup_spec.rb b/engines/order_management/spec/services/order_management/subscriptions/payment_setup_spec.rb index b646ea5222..035021eb49 100644 --- a/engines/order_management/spec/services/order_management/subscriptions/payment_setup_spec.rb +++ b/engines/order_management/spec/services/order_management/subscriptions/payment_setup_spec.rb @@ -42,7 +42,7 @@ module OrderManagement before { allow(order).to receive(:new_outstanding_balance) { 10 } } it "does nothing" do - expect{ payment_setup.call! }.to_not change { payment.amount }.from(10) + expect{ payment_setup.call! }.not_to change { payment.amount }.from(10) end end end diff --git a/engines/order_management/spec/services/order_management/subscriptions/proxy_order_syncer_spec.rb b/engines/order_management/spec/services/order_management/subscriptions/proxy_order_syncer_spec.rb index 510bf780e0..fcf06793df 100644 --- a/engines/order_management/spec/services/order_management/subscriptions/proxy_order_syncer_spec.rb +++ b/engines/order_management/spec/services/order_management/subscriptions/proxy_order_syncer_spec.rb @@ -10,8 +10,8 @@ module OrderManagement it "raises an error when initialized with an object that is not a Subscription or an ActiveRecord::Relation" do - expect{ ProxyOrderSyncer.new(subscription) }.to_not raise_error - expect{ ProxyOrderSyncer.new(Subscription.where(id: subscription.id)) }.to_not raise_error + expect{ ProxyOrderSyncer.new(subscription) }.not_to raise_error + expect{ ProxyOrderSyncer.new(Subscription.where(id: subscription.id)) }.not_to raise_error expect{ ProxyOrderSyncer.new("something") }.to raise_error RuntimeError end end @@ -70,8 +70,8 @@ module OrderManagement let!(:oc) { closed_oc } it "does not create a new proxy order for that oc" do - expect{ subscription.save! }.to_not change { ProxyOrder.count }.from(0) - expect(order_cycles).to_not include oc + expect{ subscription.save! }.not_to change { ProxyOrder.count }.from(0) + expect(order_cycles).not_to include oc end end @@ -79,8 +79,8 @@ module OrderManagement let!(:oc) { open_oc_closes_before_begins_at_oc } it "does not create a new proxy order for that oc" do - expect{ subscription.save! }.to_not change { ProxyOrder.count }.from(0) - expect(order_cycles).to_not include oc + expect{ subscription.save! }.not_to change { ProxyOrder.count }.from(0) + expect(order_cycles).not_to include oc end end @@ -99,8 +99,8 @@ module OrderManagement let!(:oc) { upcoming_closes_before_begins_at_oc } it "does not create a new proxy order for that oc" do - expect{ subscription.save! }.to_not change { ProxyOrder.count }.from(0) - expect(order_cycles).to_not include oc + expect{ subscription.save! }.not_to change { ProxyOrder.count }.from(0) + expect(order_cycles).not_to include oc end end @@ -130,8 +130,8 @@ module OrderManagement let!(:oc) { upcoming_closes_after_ends_at_oc } it "does not create a new proxy order for that oc" do - expect{ subscription.save! }.to_not change { ProxyOrder.count }.from(0) - expect(order_cycles).to_not include oc + expect{ subscription.save! }.not_to change { ProxyOrder.count }.from(0) + expect(order_cycles).not_to include oc end end end @@ -149,7 +149,7 @@ module OrderManagement context "the oc is closed (ie. closed before opens_at)" do let(:oc) { closed_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -157,7 +157,7 @@ module OrderManagement context "and the schedule includes an open oc that closes before begins_at" do let(:oc) { open_oc_closes_before_begins_at_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -165,7 +165,7 @@ module OrderManagement context "and the oc is open and closes between begins_at and ends_at" do let(:oc) { open_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -173,7 +173,7 @@ module OrderManagement context "and the oc is upcoming and closes before begins_at" do let(:oc) { upcoming_closes_before_begins_at_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -181,7 +181,7 @@ module OrderManagement context "and the oc is upcoming and closes on begins_at" do let(:oc) { upcoming_closes_on_begins_at_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -189,7 +189,7 @@ module OrderManagement context "and the oc is upcoming and closes on ends_at" do let(:oc) { upcoming_closes_on_ends_at_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -197,7 +197,7 @@ module OrderManagement context "and the oc is upcoming and closes after ends_at" do let(:oc) { upcoming_closes_after_ends_at_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -209,7 +209,7 @@ module OrderManagement it "removes the proxy order" do expect{ syncer.sync! }.to change { ProxyOrder.count }.from(1).to(0) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end end @@ -218,7 +218,7 @@ module OrderManagement it "removes the proxy order" do expect{ syncer.sync! }.to change { ProxyOrder.count }.from(1).to(0) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end end @@ -238,7 +238,7 @@ module OrderManagement let(:oc) { open_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -247,7 +247,7 @@ module OrderManagement let(:oc) { upcoming_closes_on_begins_at_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -256,7 +256,7 @@ module OrderManagement let(:oc) { upcoming_closes_on_ends_at_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -267,7 +267,7 @@ module OrderManagement it "removes the proxy order" do expect{ syncer.sync! }.to change { ProxyOrder.count }.from(1).to(0) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end end @@ -276,7 +276,7 @@ module OrderManagement it "removes the proxy order" do expect{ syncer.sync! }.to change { ProxyOrder.count }.from(1).to(0) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end end end @@ -297,7 +297,7 @@ module OrderManagement context "the oc is closed (ie. closed before opens_at)" do let(:oc) { closed_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -305,7 +305,7 @@ module OrderManagement context "and the schedule includes an open oc that closes before begins_at" do let(:oc) { open_oc_closes_before_begins_at_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -313,7 +313,7 @@ module OrderManagement context "and the oc is open and closes between begins_at and ends_at" do let(:oc) { open_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -321,7 +321,7 @@ module OrderManagement context "and the oc is upcoming and closes before begins_at" do let(:oc) { upcoming_closes_before_begins_at_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -329,7 +329,7 @@ module OrderManagement context "and the oc is upcoming and closes on begins_at" do let(:oc) { upcoming_closes_on_begins_at_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -337,7 +337,7 @@ module OrderManagement context "and the oc is upcoming and closes on ends_at" do let(:oc) { upcoming_closes_on_ends_at_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -345,7 +345,7 @@ module OrderManagement context "and the oc is upcoming and closes after ends_at" do let(:oc) { upcoming_closes_after_ends_at_oc } it "keeps the proxy order" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(1) + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(1) expect(proxy_orders).to include proxy_order end end @@ -357,7 +357,7 @@ module OrderManagement let(:oc) { closed_oc } it "removes the proxy order" do expect{ syncer.sync! }.to change { ProxyOrder.count }.from(1).to(0) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end end @@ -366,7 +366,7 @@ module OrderManagement let(:oc) { open_oc } it "removes the proxy order" do expect{ syncer.sync! }.to change { ProxyOrder.count }.from(1).to(0) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end end @@ -374,7 +374,7 @@ module OrderManagement let(:oc) { upcoming_closes_before_begins_at_oc } it "removes the proxy order" do expect{ syncer.sync! }.to change { ProxyOrder.count }.from(1).to(0) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end end @@ -382,7 +382,7 @@ module OrderManagement let(:oc) { upcoming_closes_on_begins_at_oc } it "removes the proxy order" do expect{ syncer.sync! }.to change { ProxyOrder.count }.from(1).to(0) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end end @@ -390,7 +390,7 @@ module OrderManagement let(:oc) { upcoming_closes_on_ends_at_oc } it "removes the proxy order" do expect{ syncer.sync! }.to change { ProxyOrder.count }.from(1).to(0) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end end @@ -398,7 +398,7 @@ module OrderManagement let(:oc) { upcoming_closes_after_ends_at_oc } it "removes the proxy order" do expect{ syncer.sync! }.to change { ProxyOrder.count }.from(1).to(0) - expect(proxy_orders).to_not include proxy_order + expect(proxy_orders).not_to include proxy_order end end end @@ -421,8 +421,8 @@ module OrderManagement let!(:oc) { closed_oc } it "does not create a new proxy order for that oc" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(0) - expect(order_cycles).to_not include oc + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(0) + expect(order_cycles).not_to include oc end end @@ -430,8 +430,8 @@ module OrderManagement let(:oc) { open_oc_closes_before_begins_at_oc } it "does not create a new proxy order for that oc" do - expect{ subscription.save! }.to_not change { ProxyOrder.count }.from(0) - expect(order_cycles).to_not include oc + expect{ subscription.save! }.not_to change { ProxyOrder.count }.from(0) + expect(order_cycles).not_to include oc end end @@ -448,8 +448,8 @@ module OrderManagement let!(:oc) { upcoming_closes_before_begins_at_oc } it "does not create a new proxy order for that oc" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(0) - expect(order_cycles).to_not include oc + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(0) + expect(order_cycles).not_to include oc end end @@ -475,8 +475,8 @@ module OrderManagement let!(:oc) { upcoming_closes_after_ends_at_oc } it "does not create a new proxy order for that oc" do - expect{ syncer.sync! }.to_not change { ProxyOrder.count }.from(0) - expect(order_cycles).to_not include oc + expect{ syncer.sync! }.not_to change { ProxyOrder.count }.from(0) + expect(order_cycles).not_to include oc end end end diff --git a/engines/order_management/spec/services/order_management/subscriptions/stripe_payment_setup_spec.rb b/engines/order_management/spec/services/order_management/subscriptions/stripe_payment_setup_spec.rb index 8e9b063f3c..9c4e97157c 100644 --- a/engines/order_management/spec/services/order_management/subscriptions/stripe_payment_setup_spec.rb +++ b/engines/order_management/spec/services/order_management/subscriptions/stripe_payment_setup_spec.rb @@ -28,7 +28,7 @@ module OrderManagement let(:payment_method) { create(:payment_method) } it "returns the pending payment with no change" do - expect(payment).to_not receive(:update) + expect(payment).not_to receive(:update) expect(payment_setup.call!).to eq payment end end @@ -38,7 +38,7 @@ module OrderManagement context "and the card is already set (the payment source is a credit card)" do it "returns the pending payment with no change" do - expect(payment).to_not receive(:update) + expect(payment).not_to receive(:update) expect(payment_setup.call!).to eq payment end end @@ -54,7 +54,7 @@ module OrderManagement it "adds an error to the order and does not update the payment" do payment_setup.call! - expect(payment).to_not receive(:update) + expect(payment).not_to receive(:update) expect(payment_setup.call!).to eq payment expect(order.errors[:base].first).to eq "There are no authorised " \ "credit cards available to charge" @@ -80,7 +80,7 @@ module OrderManagement it "adds an error to the order and does not update the payment" do payment_setup.call! - expect(payment).to_not receive(:update) + expect(payment).not_to receive(:update) expect(payment_setup.call!).to eq payment expect(order.errors[:base].first).to eq "There are no authorised " \ "credit cards available to charge" diff --git a/engines/order_management/spec/services/order_management/subscriptions/summary_spec.rb b/engines/order_management/spec/services/order_management/subscriptions/summary_spec.rb index dcfd214008..6aeb292bf2 100644 --- a/engines/order_management/spec/services/order_management/subscriptions/summary_spec.rb +++ b/engines/order_management/spec/services/order_management/subscriptions/summary_spec.rb @@ -121,7 +121,7 @@ module OrderManagement it "returns orders specified by unrecorded_ids" do expect(orders).to include order1 - expect(orders).to_not include order2 + expect(orders).not_to include order2 end end @@ -130,7 +130,7 @@ module OrderManagement it "returns orders specified by the relevant issue hash" do expect(orders).to include order2 - expect(orders).to_not include order1 + expect(orders).not_to include order1 end end end diff --git a/engines/order_management/spec/services/order_management/subscriptions/validator_spec.rb b/engines/order_management/spec/services/order_management/subscriptions/validator_spec.rb index 6df7740d4e..55e4d28944 100644 --- a/engines/order_management/spec/services/order_management/subscriptions/validator_spec.rb +++ b/engines/order_management/spec/services/order_management/subscriptions/validator_spec.rb @@ -74,7 +74,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:shipping_method]).to_not be_empty + expect(validator.errors[:shipping_method]).not_to be_empty end end @@ -89,7 +89,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:shipping_method]).to_not be_empty + expect(validator.errors[:shipping_method]).not_to be_empty end end @@ -115,7 +115,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:payment_method]).to_not be_empty + expect(validator.errors[:payment_method]).not_to be_empty end end @@ -130,7 +130,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:payment_method]).to_not be_empty + expect(validator.errors[:payment_method]).not_to be_empty end end @@ -164,7 +164,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:payment_method]).to_not be_empty + expect(validator.errors[:payment_method]).not_to be_empty end end @@ -192,7 +192,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:begins_at]).to_not be_empty + expect(validator.errors[:begins_at]).not_to be_empty end end @@ -213,7 +213,7 @@ module OrderManagement let(:ends_at) { Time.zone.today } it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:ends_at]).to_not be_empty + expect(validator.errors[:ends_at]).not_to be_empty end end @@ -221,7 +221,7 @@ module OrderManagement let(:ends_at) { Time.zone.today - 1.day } it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:ends_at]).to_not be_empty + expect(validator.errors[:ends_at]).not_to be_empty end end @@ -249,8 +249,8 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:bill_address]).to_not be_empty - expect(validator.errors[:ship_address]).to_not be_empty + expect(validator.errors[:bill_address]).not_to be_empty + expect(validator.errors[:ship_address]).not_to be_empty end end @@ -276,7 +276,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:customer]).to_not be_empty + expect(validator.errors[:customer]).not_to be_empty end end @@ -288,7 +288,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:customer]).to_not be_empty + expect(validator.errors[:customer]).not_to be_empty end end @@ -313,7 +313,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:schedule]).to_not be_empty + expect(validator.errors[:schedule]).not_to be_empty end end @@ -325,7 +325,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:schedule]).to_not be_empty + expect(validator.errors[:schedule]).not_to be_empty end end @@ -371,7 +371,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:payment_method]).to_not be_empty + expect(validator.errors[:payment_method]).not_to be_empty end end @@ -383,7 +383,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:payment_method]).to_not be_empty + expect(validator.errors[:payment_method]).not_to be_empty end end @@ -395,7 +395,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:payment_method]).to_not be_empty + expect(validator.errors[:payment_method]).not_to be_empty end end @@ -428,7 +428,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:subscription_line_items]).to_not be_empty + expect(validator.errors[:subscription_line_items]).not_to be_empty end end @@ -441,7 +441,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:subscription_line_items]).to_not be_empty + expect(validator.errors[:subscription_line_items]).not_to be_empty end end @@ -468,7 +468,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:subscription_line_items]).to_not be_empty + expect(validator.errors[:subscription_line_items]).not_to be_empty end end @@ -480,7 +480,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:subscription_line_items]).to_not be_empty + expect(validator.errors[:subscription_line_items]).not_to be_empty end end end @@ -538,7 +538,7 @@ module OrderManagement it "adds an error and returns false" do expect(validator.valid?).to be false - expect(validator.errors[:subscription_line_items]).to_not be_empty + expect(validator.errors[:subscription_line_items]).not_to be_empty end end diff --git a/engines/order_management/spec/services/order_management/subscriptions/variants_list_spec.rb b/engines/order_management/spec/services/order_management/subscriptions/variants_list_spec.rb index 0e00df50df..dc51f14f8e 100644 --- a/engines/order_management/spec/services/order_management/subscriptions/variants_list_spec.rb +++ b/engines/order_management/spec/services/order_management/subscriptions/variants_list_spec.rb @@ -66,7 +66,7 @@ module OrderManagement } it "is not eligible" do - expect(described_class.eligible_variants(shop)).to_not include(variant) + expect(described_class.eligible_variants(shop)).not_to include(variant) end end @@ -106,7 +106,7 @@ module OrderManagement context "if the variant is unrelated" do it "is not eligible" do - expect(described_class.eligible_variants(shop)).to_not include(variant) + expect(described_class.eligible_variants(shop)).not_to include(variant) end end end @@ -154,7 +154,7 @@ module OrderManagement context "if the variant is unrelated" do it "is false" do - expect(described_class).to_not be_in_open_and_upcoming_order_cycles(shop, + expect(described_class).not_to be_in_open_and_upcoming_order_cycles(shop, schedule, variant) end diff --git a/engines/web/spec/helpers/cookies_policy_helper_spec.rb b/engines/web/spec/helpers/cookies_policy_helper_spec.rb index 6807786a36..02ff9910a0 100644 --- a/engines/web/spec/helpers/cookies_policy_helper_spec.rb +++ b/engines/web/spec/helpers/cookies_policy_helper_spec.rb @@ -24,13 +24,13 @@ module Web end scenario "is not equal to the matomo URL" do - expect(helper.matomo_iframe_src).to_not eq Spree::Config.matomo_url + expect(helper.matomo_iframe_src).not_to eq Spree::Config.matomo_url end end scenario "is not nil, when matomo url is nil" do Spree::Config.matomo_url = nil - expect(helper.matomo_iframe_src).to_not eq nil + expect(helper.matomo_iframe_src).not_to eq nil end end diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index 7a08a82974..9bcda2b2ee 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -652,11 +652,11 @@ describe ' invoice_content = extract_pdf_content expect(invoice_content).to have_content("TAX INVOICE", count: 1) - expect(invoice_content).to_not have_content(order4.number.to_s) + expect(invoice_content).not_to have_content(order4.number.to_s) expect(invoice_content).to have_content(order5.number.to_s) - expect(invoice_content).to_not have_content(distributor4.name.to_s) + expect(invoice_content).not_to have_content(distributor4.name.to_s) expect(invoice_content).to have_content(distributor5.name.to_s) - expect(invoice_content).to_not have_content(order_cycle4.name.to_s) + expect(invoice_content).not_to have_content(order_cycle4.name.to_s) expect(invoice_content).to have_content(order_cycle5.name.to_s) end end @@ -728,11 +728,11 @@ describe ' within ".ofn-drop-down .menu" do expect { page.find("span", text: "Print Invoices").click # Prints invoices in bulk - }.to_not enqueue_job(BulkInvoiceJob) + }.not_to enqueue_job(BulkInvoiceJob) end - expect(page).to_not have_content "Compiling Invoices" - expect(page).to_not have_content "Please wait until the PDF is ready " \ + expect(page).not_to have_content "Compiling Invoices" + expect(page).not_to have_content "Please wait until the PDF is ready " \ "before closing this modal." expect(page).to have_content "#{ From 931ee2f9d22d7ff66e43af7fd12272d678370903 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 15 Mar 2024 12:40:00 +1100 Subject: [PATCH 103/374] Style Style/RedundantLineContinuation --- lib/open_food_network/order_cycle_permissions.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/open_food_network/order_cycle_permissions.rb b/lib/open_food_network/order_cycle_permissions.rb index 7568ff970e..a20a6292e2 100644 --- a/lib/open_food_network/order_cycle_permissions.rb +++ b/lib/open_food_network/order_cycle_permissions.rb @@ -105,9 +105,9 @@ module OpenFoodNetwork where("spree_products.id IN (?)", product_ids).pluck(:id).uniq end - ids = managed_permitted_ids | hubs_permitted_ids | hubs_permitting_ids \ - | producers_permitted_ids | producers_permitting_ids | managed_active_ids \ - | hubs_active_ids | producers_active_ids + ids = managed_permitted_ids | hubs_permitted_ids | hubs_permitting_ids | + producers_permitted_ids | producers_permitting_ids | + managed_active_ids | hubs_active_ids | producers_active_ids Enterprise.where(id: ids) end From 7abe455899337ee43b105eff8dd7be99cb5c722e Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 15 Mar 2024 12:52:09 +1100 Subject: [PATCH 104/374] Exclude false Style/RedundantLineContinuation file The current Rubocop version flags good code as bad. Regenerating the todo file added it there and when the issue is fixed it will disappear from our generated todo list as well. --- .rubocop_todo.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 250bf7c60f..00b861c123 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 1400 --no-auto-gen-timestamp` -# using RuboCop version 1.60.2. +# using RuboCop version 1.62.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -113,6 +113,7 @@ Lint/SelfAssignment: # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). +# Configuration parameters: AutoCorrect. Lint/UselessMethodDefinition: Exclude: - 'app/models/spree/gateway.rb' @@ -602,14 +603,6 @@ Rails/SkipsModelValidations: - 'app/models/variant_override.rb' - 'spec/models/spree/line_item_spec.rb' -# Offense count: 3 -# This cop supports unsafe autocorrection (--autocorrect-all). -Rails/SquishedSQLHeredocs: - Exclude: - - 'app/queries/customers_with_balance.rb' - - 'app/queries/outstanding_balance.rb' - - 'spec/queries/outstanding_balance_spec.rb' - # Offense count: 7 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. @@ -656,7 +649,7 @@ Rails/UnusedRenderContent: - 'app/controllers/api/v0/taxons_controller.rb' - 'app/controllers/api/v0/variants_controller.rb' -# Offense count: 55 +# Offense count: 54 # This cop supports unsafe autocorrection (--autocorrect-all). Rails/WhereEquals: Exclude: @@ -678,7 +671,6 @@ Rails/WhereEquals: - 'app/models/spree/shipping_method.rb' - 'app/models/spree/variant.rb' - 'app/models/subscription.rb' - - 'app/queries/payments_requiring_action.rb' - 'app/serializers/api/enterprise_shopfront_serializer.rb' - 'app/serializers/api/order_serializer.rb' - 'lib/open_food_network/enterprise_fee_calculator.rb' @@ -883,7 +875,7 @@ Style/PreferredHashMethods: Exclude: - 'app/controllers/api/v0/shipments_controller.rb' -# Offense count: 3 +# Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Methods. Style/RedundantArgument: @@ -898,7 +890,7 @@ Style/RedundantAssignment: # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: AllowComments. +# Configuration parameters: AutoCorrect, AllowComments. Style/RedundantInitialize: Exclude: - 'spec/models/spree/gateway_spec.rb' @@ -910,6 +902,12 @@ Style/RedundantInterpolation: - 'lib/tasks/karma.rake' - 'spec/base_spec_helper.rb' +# Offense count: 8 +# This cop supports safe autocorrection (--autocorrect). +Style/RedundantLineContinuation: + Exclude: + - 'lib/reporting/reports/enterprise_fee_summary/scope.rb' + # Offense count: 19 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AllowedMethods, AllowedPatterns. From 30e8f9eb2834a7002f950dd0bab0cad7ac858cac Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 20 Feb 2024 16:58:42 +1100 Subject: [PATCH 105/374] Importing products from DFC catalog Technical demonstration of a complete product export-import roundtrip which we could now do between OFN instances. --- .../admin/dfc_product_imports_controller.rb | 48 ++++++++++++++++++- .../admin/dfc_product_imports/index.html.haml | 3 +- .../app/services/supplied_product_builder.rb | 2 + spec/system/admin/dfc_product_import_spec.rb | 22 ++++++++- 4 files changed, 71 insertions(+), 4 deletions(-) diff --git a/app/controllers/admin/dfc_product_imports_controller.rb b/app/controllers/admin/dfc_product_imports_controller.rb index 000dfc9bf4..d76e42e704 100644 --- a/app/controllers/admin/dfc_product_imports_controller.rb +++ b/app/controllers/admin/dfc_product_imports_controller.rb @@ -1,8 +1,10 @@ # frozen_string_literal: true +require "private_address_check" +require "private_address_check/tcpsocket_ext" + module Admin class DfcProductImportsController < Spree::Admin::BaseController - # Define model class for `can?` permissions: def model_class self.class @@ -12,8 +14,52 @@ module Admin # The plan: # # * Fetch DFC catalog as JSON from URL. + enterprise = OpenFoodNetwork::Permissions.new(spree_current_user) + .managed_product_enterprises.is_primary_producer + .find(params.require(:enterprise_id)) + + catalog_url = params.require(:catalog_url) + + json_catalog = fetch_catalog(catalog_url) + graph = DfcIo.import(json_catalog) + # * First step: import all products for given enterprise. # * Second step: render table and let user decide which ones to import. + imported = graph.map do |subject| + import_product(subject, enterprise) + end + + @count = imported.compact.count + end + + private + + def fetch_catalog(url) + connection = Faraday.new( + request: { timeout: 30 }, + headers: { + 'Content-Type' => 'application/json', + 'Authorization' => "Bearer #{spree_current_user.oidc_account.token}", + } + ) + response = PrivateAddressCheck.only_public_connections do + connection.get(url) + end + + response.body + end + + # Most of this code is the same as in the DfcProvider::SuppliedProductsController. + def import_product(subject, enterprise) + return unless subject.is_a? DataFoodConsortium::Connector::SuppliedProduct + + variant = SuppliedProductBuilder.import_variant(subject, enterprise) + product = variant.product + + product.save! if product.new_record? + variant.save! if variant.new_record? + + variant end end end diff --git a/app/views/admin/dfc_product_imports/index.html.haml b/app/views/admin/dfc_product_imports/index.html.haml index 635129cd94..2b285ac8bc 100644 --- a/app/views/admin/dfc_product_imports/index.html.haml +++ b/app/views/admin/dfc_product_imports/index.html.haml @@ -1,2 +1,3 @@ %h2 Importing a DFC product catalog -%p Catalog size: 0 +%p Imported products: += @count diff --git a/engines/dfc_provider/app/services/supplied_product_builder.rb b/engines/dfc_provider/app/services/supplied_product_builder.rb index 4e2b3d947b..db5195d53f 100644 --- a/engines/dfc_provider/app/services/supplied_product_builder.rb +++ b/engines/dfc_provider/app/services/supplied_product_builder.rb @@ -87,6 +87,8 @@ class SuppliedProductBuilder < DfcBuilder end def self.taxon(supplied_product) + return unless supplied_product.productType + dfc_id = supplied_product.productType.semanticId Spree::Taxon.find_by(dfc_id: ) end diff --git a/spec/system/admin/dfc_product_import_spec.rb b/spec/system/admin/dfc_product_import_spec.rb index d279e5b228..d3aea24884 100644 --- a/spec/system/admin/dfc_product_import_spec.rb +++ b/spec/system/admin/dfc_product_import_spec.rb @@ -1,13 +1,20 @@ # frozen_string_literal: false require 'system_helper' +require_relative '../../../engines/dfc_provider/spec/support/authorization_helper' describe "DFC Product Import" do + include AuthorizationHelper + let(:user) { create(:oidc_user, owned_enterprises: [enterprise]) } let(:enterprise) { create(:enterprise) } + let(:source_product) { create(:product, supplier: enterprise) } before do login_as user + source_product # to be imported + allow(PrivateAddressCheck).to receive(:private_address?).and_return(false) + user.oidc_account.update!(token: allow_token_for(email: user.email)) end it "imports from given catalog" do @@ -17,10 +24,21 @@ describe "DFC Product Import" do # We are testing against our own catalog for now but we want to replace # this with the URL of another app when available. - fill_in "catalog_url", with: "/api/dfc/enterprises/#{enterprise.id}/supplied_products" + host = Rails.application.default_url_options[:host] + url = "http://#{host}/api/dfc/enterprises/#{enterprise.id}/catalog_items" + fill_in "catalog_url", with: url - click_button "Import" + # By feeding our own catalog to the import, we are effectively cloning the + # products. But the DFC product references the spree_product_id which + # make the importer create a variant for that product instead of creating + # a new independent product. + expect { + click_button "Import" + }.to change { + source_product.variants.count + }.by(1) expect(page).to have_content "Importing a DFC product catalog" + expect(page).to have_content "Imported products: 1" end end From d6da52929f76aecee7e6ee50f80f682d3b55dfb5 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 13 Mar 2024 15:09:47 +1100 Subject: [PATCH 106/374] Allow local DFC import in development --- .../admin/dfc_product_imports_controller.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/controllers/admin/dfc_product_imports_controller.rb b/app/controllers/admin/dfc_product_imports_controller.rb index d76e42e704..ff5386f662 100644 --- a/app/controllers/admin/dfc_product_imports_controller.rb +++ b/app/controllers/admin/dfc_product_imports_controller.rb @@ -42,13 +42,21 @@ module Admin 'Authorization' => "Bearer #{spree_current_user.oidc_account.token}", } ) - response = PrivateAddressCheck.only_public_connections do + response = only_public_connections do connection.get(url) end response.body end + def only_public_connections + return yield if Rails.env.development? + + PrivateAddressCheck.only_public_connections do + yield + end + end + # Most of this code is the same as in the DfcProvider::SuppliedProductsController. def import_product(subject, enterprise) return unless subject.is_a? DataFoodConsortium::Connector::SuppliedProduct From 1c09b5d16c54fb431ecb41ee7adab8986b210595 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 13 Mar 2024 16:00:21 +1100 Subject: [PATCH 107/374] Move DFC API request logic to service object I'm planning to add more to it. --- .../admin/dfc_product_imports_controller.rb | 25 +------------- .../dfc_provider/app/services/dfc_request.rb | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 engines/dfc_provider/app/services/dfc_request.rb diff --git a/app/controllers/admin/dfc_product_imports_controller.rb b/app/controllers/admin/dfc_product_imports_controller.rb index ff5386f662..1b3f8dfb88 100644 --- a/app/controllers/admin/dfc_product_imports_controller.rb +++ b/app/controllers/admin/dfc_product_imports_controller.rb @@ -20,7 +20,7 @@ module Admin catalog_url = params.require(:catalog_url) - json_catalog = fetch_catalog(catalog_url) + json_catalog = DfcRequest.new(spree_current_user).get(catalog_url) graph = DfcIo.import(json_catalog) # * First step: import all products for given enterprise. @@ -34,29 +34,6 @@ module Admin private - def fetch_catalog(url) - connection = Faraday.new( - request: { timeout: 30 }, - headers: { - 'Content-Type' => 'application/json', - 'Authorization' => "Bearer #{spree_current_user.oidc_account.token}", - } - ) - response = only_public_connections do - connection.get(url) - end - - response.body - end - - def only_public_connections - return yield if Rails.env.development? - - PrivateAddressCheck.only_public_connections do - yield - end - end - # Most of this code is the same as in the DfcProvider::SuppliedProductsController. def import_product(subject, enterprise) return unless subject.is_a? DataFoodConsortium::Connector::SuppliedProduct diff --git a/engines/dfc_provider/app/services/dfc_request.rb b/engines/dfc_provider/app/services/dfc_request.rb new file mode 100644 index 0000000000..48f666b115 --- /dev/null +++ b/engines/dfc_provider/app/services/dfc_request.rb @@ -0,0 +1,34 @@ +# frozen_string_literal: true + +require "private_address_check" +require "private_address_check/tcpsocket_ext" + +# Request a JSON document from a DFC API with authentication. +class DfcRequest + def initialize(user) + @user = user + end + + def get(url) + connection = Faraday.new( + request: { timeout: 30 }, + headers: { + 'Content-Type' => 'application/json', + 'Authorization' => "Bearer #{@user.oidc_account.token}", + } + ) + response = only_public_connections do + connection.get(url) + end + + response.body + end + + private + + def only_public_connections(&) + return yield if Rails.env.development? + + PrivateAddressCheck.only_public_connections(&) + end +end From 2e101c5fe63a3db899fe25c902fad0a8d7baff35 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 13 Mar 2024 16:56:28 +1100 Subject: [PATCH 108/374] Refresh OIDC token and try again Access tokens are only valid for half an hour. So if requesting a DFC API fails, it's likely due to an expired token and we refresh it. --- .env.test | 1 + .../dfc_provider/app/services/dfc_request.rb | 45 +++++++- .../spec/services/dfc_request_spec.rb | 53 +++++++++ .../refreshes_the_access_token_on_fail.yml | 105 ++++++++++++++++++ spec/support/vcr_setup.rb | 15 +++ 5 files changed, 214 insertions(+), 5 deletions(-) create mode 100644 engines/dfc_provider/spec/services/dfc_request_spec.rb create mode 100644 spec/fixtures/vcr_cassettes/DfcRequest/refreshes_the_access_token_on_fail.yml diff --git a/.env.test b/.env.test index 535d37a9e0..09881648aa 100644 --- a/.env.test +++ b/.env.test @@ -14,3 +14,4 @@ SITE_URL="test.host" OPENID_APP_ID="test-provider" OPENID_APP_SECRET="12345" +OPENID_REFRESH_TOKEN="dummy-refresh-token" diff --git a/engines/dfc_provider/app/services/dfc_request.rb b/engines/dfc_provider/app/services/dfc_request.rb index 48f666b115..8de0108d99 100644 --- a/engines/dfc_provider/app/services/dfc_request.rb +++ b/engines/dfc_provider/app/services/dfc_request.rb @@ -4,12 +4,31 @@ require "private_address_check" require "private_address_check/tcpsocket_ext" # Request a JSON document from a DFC API with authentication. +# +# All DFC API interactions are authenticated via OIDC tokens. If the user's +# access token is expired, we try to get a new one with the user's refresh +# token. class DfcRequest def initialize(user) @user = user end def get(url) + response = request(url) + + return response.body if response.status == 200 + + return "" if @user.oidc_account.updated_at > 15.minutes.ago + + refresh_access_token! + + response = request(url) + response.body + end + + private + + def request(url) connection = Faraday.new( request: { timeout: 30 }, headers: { @@ -17,18 +36,34 @@ class DfcRequest 'Authorization' => "Bearer #{@user.oidc_account.token}", } ) - response = only_public_connections do + + only_public_connections do connection.get(url) end - - response.body end - private - def only_public_connections(&) return yield if Rails.env.development? PrivateAddressCheck.only_public_connections(&) end + + def refresh_access_token! + strategy = OmniAuth::Strategies::OpenIDConnect.new( + Rails.application, + Devise.omniauth_configs[:openid_connect].options + # Don't try to call `Devise.omniauth(:openid_connect)` first. + # It results in an empty config hash and we lose our config. + ) + client = strategy.client + client.token_endpoint = strategy.config.token_endpoint + client.refresh_token = @user.oidc_account.refresh_token + + token = client.access_token! + + @user.oidc_account.update!( + token: token.access_token, + refresh_token: token.refresh_token + ) + end end diff --git a/engines/dfc_provider/spec/services/dfc_request_spec.rb b/engines/dfc_provider/spec/services/dfc_request_spec.rb new file mode 100644 index 0000000000..a4f0421fad --- /dev/null +++ b/engines/dfc_provider/spec/services/dfc_request_spec.rb @@ -0,0 +1,53 @@ +# frozen_string_literal: true + +require_relative "../spec_helper" + +describe DfcRequest do + subject(:api) { DfcRequest.new(user) } + + let(:user) { build(:oidc_user) } + let(:account) { user.oidc_account } + + it "gets a DFC document" do + stub_request(:get, "http://example.net/api"). + to_return(status: 200, body: '{"@context":"/"}') + + expect(api.get("http://example.net/api")).to eq '{"@context":"/"}' + end + + it "refreshes the access token on fail", vcr: true do + # Live VCR recordings require the following secret ENV variables: + # - OPENID_APP_ID + # - OPENID_APP_SECRET + # - OPENID_REFRESH_TOKEN + # You can set them in the .env.test.local file. + + stub_request(:get, "http://example.net/api"). + to_return(status: 401) + + # A refresh is only attempted if the token is stale. + account.refresh_token = ENV.fetch("OPENID_REFRESH_TOKEN") + account.updated_at = 1.day.ago + + expect { + api.get("http://example.net/api") + }.to change { + account.token + }.and change { + account.refresh_token + } + end + + it "doesn't try to refresh the token when it's still fresh" do + stub_request(:get, "http://example.net/api"). + to_return(status: 401) + + user.oidc_account.updated_at = 1.minute.ago + + expect(api.get("http://example.net/api")).to eq "" + + # Trying to reach the OIDC server via network request to refresh the token + # would raise errors because we didn't setup Webmock or VCR. + # The absence of errors makes this test pass. + end +end diff --git a/spec/fixtures/vcr_cassettes/DfcRequest/refreshes_the_access_token_on_fail.yml b/spec/fixtures/vcr_cassettes/DfcRequest/refreshes_the_access_token_on_fail.yml new file mode 100644 index 0000000000..9a14071f73 --- /dev/null +++ b/spec/fixtures/vcr_cassettes/DfcRequest/refreshes_the_access_token_on_fail.yml @@ -0,0 +1,105 @@ +--- +http_interactions: +- request: + method: get + uri: https://login.lescommuns.org/auth/realms/data-food-consortium/.well-known/openid-configuration + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - SWD 2.0.3 + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 15 Mar 2024 05:44:06 GMT + Content-Type: + - application/json;charset=UTF-8 + Transfer-Encoding: + - chunked + Connection: + - keep-alive + Vary: + - Accept-Encoding + Set-Cookie: + - AUTH_SESSION_ID=1710481447.162.5206.870756|6055218c9898cae39f8ffd531999e49a; + Path=/; Secure; HttpOnly + Cache-Control: + - no-cache, must-revalidate, no-transform, no-store + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=15724800; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-Xss-Protection: + - 1; mode=block + body: + encoding: ASCII-8BIT + string: '{"issuer":"https://login.lescommuns.org/auth/realms/data-food-consortium","authorization_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/auth","token_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/token","introspection_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/token/introspect","userinfo_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/userinfo","end_session_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/logout","frontchannel_logout_session_supported":true,"frontchannel_logout_supported":true,"jwks_uri":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/certs","check_session_iframe":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/login-status-iframe.html","grant_types_supported":["authorization_code","implicit","refresh_token","password","client_credentials","urn:openid:params:grant-type:ciba","urn:ietf:params:oauth:grant-type:device_code"],"acr_values_supported":["0","1"],"response_types_supported":["code","none","id_token","token","id_token + token","code id_token","code token","code id_token token"],"subject_types_supported":["public","pairwise"],"id_token_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512"],"id_token_encryption_alg_values_supported":["RSA-OAEP","RSA-OAEP-256","RSA1_5"],"id_token_encryption_enc_values_supported":["A256GCM","A192GCM","A128GCM","A128CBC-HS256","A192CBC-HS384","A256CBC-HS512"],"userinfo_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512","none"],"userinfo_encryption_alg_values_supported":["RSA-OAEP","RSA-OAEP-256","RSA1_5"],"userinfo_encryption_enc_values_supported":["A256GCM","A192GCM","A128GCM","A128CBC-HS256","A192CBC-HS384","A256CBC-HS512"],"request_object_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512","none"],"request_object_encryption_alg_values_supported":["RSA-OAEP","RSA-OAEP-256","RSA1_5"],"request_object_encryption_enc_values_supported":["A256GCM","A192GCM","A128GCM","A128CBC-HS256","A192CBC-HS384","A256CBC-HS512"],"response_modes_supported":["query","fragment","form_post","query.jwt","fragment.jwt","form_post.jwt","jwt"],"registration_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/clients-registrations/openid-connect","token_endpoint_auth_methods_supported":["private_key_jwt","client_secret_basic","client_secret_post","tls_client_auth","client_secret_jwt"],"token_endpoint_auth_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512"],"introspection_endpoint_auth_methods_supported":["private_key_jwt","client_secret_basic","client_secret_post","tls_client_auth","client_secret_jwt"],"introspection_endpoint_auth_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512"],"authorization_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512"],"authorization_encryption_alg_values_supported":["RSA-OAEP","RSA-OAEP-256","RSA1_5"],"authorization_encryption_enc_values_supported":["A256GCM","A192GCM","A128GCM","A128CBC-HS256","A192CBC-HS384","A256CBC-HS512"],"claims_supported":["aud","sub","iss","auth_time","name","given_name","family_name","preferred_username","email","acr"],"claim_types_supported":["normal"],"claims_parameter_supported":true,"scopes_supported":["openid","microprofile-jwt","phone","roles","profile","email","address","web-origins","acr","offline_access"],"request_parameter_supported":true,"request_uri_parameter_supported":true,"require_request_uri_registration":true,"code_challenge_methods_supported":["plain","S256"],"tls_client_certificate_bound_access_tokens":true,"revocation_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/revoke","revocation_endpoint_auth_methods_supported":["private_key_jwt","client_secret_basic","client_secret_post","tls_client_auth","client_secret_jwt"],"revocation_endpoint_auth_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512"],"backchannel_logout_supported":true,"backchannel_logout_session_supported":true,"device_authorization_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/auth/device","backchannel_token_delivery_modes_supported":["poll","ping"],"backchannel_authentication_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/ext/ciba/auth","backchannel_authentication_request_signing_alg_values_supported":["PS384","ES384","RS384","ES256","RS256","ES512","PS256","PS512","RS512"],"require_pushed_authorization_requests":false,"pushed_authorization_request_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/ext/par/request","mtls_endpoint_aliases":{"token_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/token","revocation_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/revoke","introspection_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/token/introspect","device_authorization_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/auth/device","registration_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/clients-registrations/openid-connect","userinfo_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/userinfo","pushed_authorization_request_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/ext/par/request","backchannel_authentication_endpoint":"https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/ext/ciba/auth"},"authorization_response_iss_parameter_supported":true}' + recorded_at: Fri, 15 Mar 2024 05:44:05 GMT +- request: + method: post + uri: https://login.lescommuns.org/auth/realms/data-food-consortium/protocol/openid-connect/token + body: + encoding: UTF-8 + string: grant_type=refresh_token&refresh_token= + headers: + User-Agent: + - Rack::OAuth2 (2.2.1) + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 15 Mar 2024 05:44:07 GMT + Content-Type: + - application/json + Transfer-Encoding: + - chunked + Connection: + - keep-alive + Vary: + - Accept-Encoding + Set-Cookie: + - AUTH_SESSION_ID=1710481448.492.2309.531618|6055218c9898cae39f8ffd531999e49a; + Path=/; Secure; HttpOnly + Cache-Control: + - no-store + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=15724800; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-Xss-Protection: + - 1; mode=block + body: + encoding: ASCII-8BIT + string: '{"access_token":"","expires_in":1800,"refresh_expires_in":28510621,"refresh_token":"","token_type":"Bearer","id_token":"","not-before-policy":0,"session_state":"989db9a7-584c-4eeb-bff5-db77b53e8def","scope":"openid + profile email"}' + recorded_at: Fri, 15 Mar 2024 05:44:07 GMT +recorded_with: VCR 6.2.0 diff --git a/spec/support/vcr_setup.rb b/spec/support/vcr_setup.rb index 01cc2d9033..1b554f52f2 100644 --- a/spec/support/vcr_setup.rb +++ b/spec/support/vcr_setup.rb @@ -16,6 +16,9 @@ VCR.configure do |config| STRIPE_ACCOUNT STRIPE_CLIENT_ID STRIPE_ENDPOINT_SECRET + OPENID_APP_ID + OPENID_APP_SECRET + OPENID_REFRESH_TOKEN ].each do |env_var| config.filter_sensitive_data("") { ENV.fetch(env_var, nil) } end @@ -25,4 +28,16 @@ VCR.configure do |config| config.filter_sensitive_data('') { |interaction| interaction.response.body.match(/"client_secret": "(pi_.+)"/)&.public_send(:[], 1) } + config.filter_sensitive_data('') { |interaction| + interaction.request.headers['Authorization']&.public_send(:[], 0) + } + config.filter_sensitive_data('') { |interaction| + interaction.response.body.match(/"access_token":"([^"]+)"/)&.public_send(:[], 1) + } + config.filter_sensitive_data('') { |interaction| + interaction.response.body.match(/"id_token":"([^"]+)"/)&.public_send(:[], 1) + } + config.filter_sensitive_data('') { |interaction| + interaction.response.body.match(/"refresh_token":"([^"]+)"/)&.public_send(:[], 1) + } end From d47d3eba8f6a61b6aa3332934a3cb2912d74e6af Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 5 Jan 2024 16:17:37 +1100 Subject: [PATCH 109/374] Add SemanticLink model for variants We want to link variants/products to external DFC SuppliedProducts to trigger supplier orders when local stock is exhausted. This is the first step to enable the link. --- app/models/semantic_link.rb | 8 ++++++++ app/models/spree/variant.rb | 1 + db/migrate/20240105043228_create_semantic_links.rb | 12 ++++++++++++ db/schema.rb | 9 +++++++++ spec/models/semantic_link_spec.rb | 8 ++++++++ spec/models/spree/variant_spec.rb | 2 ++ 6 files changed, 40 insertions(+) create mode 100644 app/models/semantic_link.rb create mode 100644 db/migrate/20240105043228_create_semantic_links.rb create mode 100644 spec/models/semantic_link_spec.rb diff --git a/app/models/semantic_link.rb b/app/models/semantic_link.rb new file mode 100644 index 0000000000..ea8fa0bdba --- /dev/null +++ b/app/models/semantic_link.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +# Link a Spree::Variant to an external DFC SuppliedProduct. +class SemanticLink < ApplicationRecord + belongs_to :variant, class_name: "Spree::Variant" + + validates :semantic_id, presence: true +end diff --git a/app/models/spree/variant.rb b/app/models/spree/variant.rb index d91498e310..add27c8ad2 100644 --- a/app/models/spree/variant.rb +++ b/app/models/spree/variant.rb @@ -56,6 +56,7 @@ module Spree has_many :exchanges, through: :exchange_variants has_many :variant_overrides, dependent: :destroy has_many :inventory_items, dependent: :destroy + has_many :semantic_links, dependent: :delete_all localize_number :price, :weight diff --git a/db/migrate/20240105043228_create_semantic_links.rb b/db/migrate/20240105043228_create_semantic_links.rb new file mode 100644 index 0000000000..89ac707783 --- /dev/null +++ b/db/migrate/20240105043228_create_semantic_links.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +class CreateSemanticLinks < ActiveRecord::Migration[7.0] + def change + create_table :semantic_links do |t| + t.references :variant, null: false, foreign_key: { to_table: :spree_variants } + t.string :semantic_id, null: false + + t.timestamps + end + end +end diff --git a/db/schema.rb b/db/schema.rb index 0ab2fb2f2e..5c9ef39bf5 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -400,6 +400,14 @@ ActiveRecord::Schema[7.0].define(version: 2024_02_13_044159) do t.datetime "updated_at", precision: nil, null: false end + create_table "semantic_links", force: :cascade do |t| + t.bigint "variant_id", null: false + t.string "semantic_id", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.index ["variant_id"], name: "index_semantic_links_on_variant_id" + end + create_table "sessions", id: :serial, force: :cascade do |t| t.string "session_id", limit: 255, null: false t.text "data" @@ -1168,6 +1176,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_02_13_044159) do add_foreign_key "proxy_orders", "spree_orders", column: "order_id", name: "order_id_fk" add_foreign_key "proxy_orders", "subscriptions", name: "proxy_orders_subscription_id_fk" add_foreign_key "report_rendering_options", "spree_users", column: "user_id" + add_foreign_key "semantic_links", "spree_variants", column: "variant_id" add_foreign_key "spree_addresses", "spree_countries", column: "country_id", name: "spree_addresses_country_id_fk" add_foreign_key "spree_addresses", "spree_states", column: "state_id", name: "spree_addresses_state_id_fk" add_foreign_key "spree_inventory_units", "spree_orders", column: "order_id", name: "spree_inventory_units_order_id_fk", on_delete: :cascade diff --git a/spec/models/semantic_link_spec.rb b/spec/models/semantic_link_spec.rb new file mode 100644 index 0000000000..ac0eae743f --- /dev/null +++ b/spec/models/semantic_link_spec.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe SemanticLink, type: :model do + it { is_expected.to belong_to :variant } + it { is_expected.to validate_presence_of(:semantic_id) } +end diff --git a/spec/models/spree/variant_spec.rb b/spec/models/spree/variant_spec.rb index b2e93e01ba..696b4822d7 100644 --- a/spec/models/spree/variant_spec.rb +++ b/spec/models/spree/variant_spec.rb @@ -6,6 +6,8 @@ require 'spree/localized_number' describe Spree::Variant do subject(:variant) { build(:variant) } + it { is_expected.to have_many :semantic_links } + context "validations" do it "should validate price is greater than 0" do variant.price = -1 From b5c47b099e5594cc99a834f16e6ba95bea3c550b Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 15 Mar 2024 14:09:49 +1100 Subject: [PATCH 110/374] Store semantic link when importing DFC products --- engines/dfc_provider/app/services/supplied_product_builder.rb | 3 +++ .../spec/services/supplied_product_builder_spec.rb | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/engines/dfc_provider/app/services/supplied_product_builder.rb b/engines/dfc_provider/app/services/supplied_product_builder.rb index db5195d53f..d722179d22 100644 --- a/engines/dfc_provider/app/services/supplied_product_builder.rb +++ b/engines/dfc_provider/app/services/supplied_product_builder.rb @@ -38,6 +38,9 @@ class SuppliedProductBuilder < DfcBuilder product.supplier = supplier product.ensure_standard_variant product.variants.first + end.tap do |variant| + link = supplied_product.semanticId + variant.semantic_links.new(semantic_id: link) if link.present? end end diff --git a/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb b/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb index 97c2236209..ccc618998f 100644 --- a/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb +++ b/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb @@ -163,6 +163,10 @@ describe SuppliedProductBuilder do it "creates a new Spree::Product and variant" do expect(imported_variant).to be_a(Spree::Variant) expect(imported_variant.id).to be_nil + expect(imported_variant.semantic_links.size).to eq 1 + + link = imported_variant.semantic_links[0] + expect(link.semantic_id).to eq "https://example.net/tomato" imported_product = imported_variant.product expect(imported_product).to be_a(Spree::Product) From 3af7fa7521017779b55fcafe02e8e07dbc5eefa8 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 15 Mar 2024 14:35:37 +1100 Subject: [PATCH 111/374] Offer nice select box for enterprise id --- .../admin/product_import_controller.rb | 2 ++ .../product_import/_dfc_import_form.html.haml | 17 +++++++++++------ config/locales/en.yml | 5 +++++ spec/system/admin/dfc_product_import_spec.rb | 4 ++-- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/app/controllers/admin/product_import_controller.rb b/app/controllers/admin/product_import_controller.rb index 181870f3b2..c71e3ad015 100644 --- a/app/controllers/admin/product_import_controller.rb +++ b/app/controllers/admin/product_import_controller.rb @@ -10,6 +10,8 @@ module Admin @product_categories = Spree::Taxon.order('name ASC').pluck(:name).uniq @tax_categories = Spree::TaxCategory.order('name ASC').pluck(:name) @shipping_categories = Spree::ShippingCategory.order('name ASC').pluck(:name) + @producers = OpenFoodNetwork::Permissions.new(spree_current_user). + managed_product_enterprises.is_primary_producer.by_name.to_a end def import diff --git a/app/views/admin/product_import/_dfc_import_form.html.haml b/app/views/admin/product_import/_dfc_import_form.html.haml index 5339a9a862..3416a943e5 100644 --- a/app/views/admin/product_import/_dfc_import_form.html.haml +++ b/app/views/admin/product_import/_dfc_import_form.html.haml @@ -1,11 +1,16 @@ -%h3 Import from DFC catalog +%h3= t(".title") %br = form_with url: main_app.admin_dfc_product_imports_path, method: :get do |form| - = form.label :enterprise_id - = form.text_field :enterprise_id + = form.label :enterprise_id, t(".enterprise") + %span.required * %br - = form.label :catalog_url - = form.text_field :catalog_url + = form.select :enterprise_id, options_from_collection_for_select(@producers, :id, :name, @producers.first&.id), { "data-controller": "tom-select", class: "primary" } %br - = form.submit "Import" + %br + = form.label :catalog_url, t(".catalog_url") + %br + = form.text_field :catalog_url, size: 60 + %br + %br + = form.submit t(".import") diff --git a/config/locales/en.yml b/config/locales/en.yml index 5843a86b07..96b6ee7de5 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -929,6 +929,11 @@ en: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + title: "Import from DFC catalog" + enterprise: "Enterprise" + catalog_url: "DFC catalog URL" + import: "Import" import: review: Review import: Import diff --git a/spec/system/admin/dfc_product_import_spec.rb b/spec/system/admin/dfc_product_import_spec.rb index d3aea24884..195c8370c5 100644 --- a/spec/system/admin/dfc_product_import_spec.rb +++ b/spec/system/admin/dfc_product_import_spec.rb @@ -7,7 +7,7 @@ describe "DFC Product Import" do include AuthorizationHelper let(:user) { create(:oidc_user, owned_enterprises: [enterprise]) } - let(:enterprise) { create(:enterprise) } + let(:enterprise) { create(:supplier_enterprise) } let(:source_product) { create(:product, supplier: enterprise) } before do @@ -20,7 +20,7 @@ describe "DFC Product Import" do it "imports from given catalog" do visit admin_product_import_path - fill_in "enterprise_id", with: enterprise.id + select enterprise.name, from: "Enterprise" # We are testing against our own catalog for now but we want to replace # this with the URL of another app when available. From d2d2db8489a07001fa0fe6208d299d59bd0eeb2f Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 15 Mar 2024 15:03:26 +1100 Subject: [PATCH 112/374] Assign random product category on import if missing Failing in this case may be desired in some circumstances but most of the time we want compatibility and easy interoperability even when not all data matches. --- .../app/services/supplied_product_builder.rb | 7 +++--- .../services/supplied_product_builder_spec.rb | 22 ++++--------------- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/engines/dfc_provider/app/services/supplied_product_builder.rb b/engines/dfc_provider/app/services/supplied_product_builder.rb index d722179d22..31c343b524 100644 --- a/engines/dfc_provider/app/services/supplied_product_builder.rb +++ b/engines/dfc_provider/app/services/supplied_product_builder.rb @@ -90,10 +90,11 @@ class SuppliedProductBuilder < DfcBuilder end def self.taxon(supplied_product) - return unless supplied_product.productType + dfc_id = supplied_product.productType&.semanticId - dfc_id = supplied_product.productType.semanticId - Spree::Taxon.find_by(dfc_id: ) + # Every product needs a primary taxon to be valid. So if we don't have + # one or can't find it we just take a random one. + Spree::Taxon.find_by(dfc_id:) || Spree::Taxon.first end private_class_method :product_type, :taxon diff --git a/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb b/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb index ccc618998f..08db382860 100644 --- a/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb +++ b/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb @@ -64,14 +64,6 @@ describe SuppliedProductBuilder do expect(product.productType).to eq soft_drink end - - context "when no taxon set" do - let(:taxon) { nil } - - it "returns nil" do - expect(product.productType).to be_nil - end - end end it "assigns an image_url type" do @@ -131,16 +123,6 @@ describe SuppliedProductBuilder do expect(product.primary_taxon).to eq(taxon) end - - describe "when no matching taxon" do - let(:product_type) { DfcLoader.connector.PRODUCT_TYPES.DRINK } - - it "set the taxon to nil" do - product = builder.import_product(supplied_product) - - expect(product.primary_taxon).to be_nil - end - end end end @@ -161,7 +143,10 @@ describe SuppliedProductBuilder do let(:product_type) { DfcLoader.connector.PRODUCT_TYPES.VEGETABLE.NON_LOCAL_VEGETABLE } it "creates a new Spree::Product and variant" do + create(:taxon) + expect(imported_variant).to be_a(Spree::Variant) + expect(imported_variant).to be_valid expect(imported_variant.id).to be_nil expect(imported_variant.semantic_links.size).to eq 1 @@ -170,6 +155,7 @@ describe SuppliedProductBuilder do imported_product = imported_variant.product expect(imported_product).to be_a(Spree::Product) + expect(imported_product).to be_valid expect(imported_product.id).to be_nil expect(imported_product.name).to eq("Tomato") expect(imported_product.description).to eq("Awesome tomato") From 8efc215a14826d6a522a93261ddf189cef6133e1 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 15 Mar 2024 15:36:56 +1100 Subject: [PATCH 113/374] Include product submenu on product import confirmation --- app/views/admin/dfc_product_imports/index.html.haml | 8 ++++++-- config/locales/en.yml | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/views/admin/dfc_product_imports/index.html.haml b/app/views/admin/dfc_product_imports/index.html.haml index 2b285ac8bc..60a3f7a05a 100644 --- a/app/views/admin/dfc_product_imports/index.html.haml +++ b/app/views/admin/dfc_product_imports/index.html.haml @@ -1,3 +1,7 @@ -%h2 Importing a DFC product catalog -%p Imported products: +- content_for :page_title do + #{t(".title")} + += render partial: 'spree/admin/shared/product_sub_menu' + +%p= t(".imported_products") = @count diff --git a/config/locales/en.yml b/config/locales/en.yml index 96b6ee7de5..70e19ded48 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -757,6 +757,10 @@ en: user_guide: User Guide map: Map + dfc_product_imports: + index: + title: "Importing a DFC product catalog" + imported_products: "Imported products:" enterprise_fees: index: title: "Enterprise Fees" From 8858ed86ac0521a54a1bf38566f6ec2a4f42f27e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 10:05:17 +0000 Subject: [PATCH 114/374] chore(deps): bump activerecord-import from 1.5.1 to 1.6.0 Bumps [activerecord-import](https://github.com/zdennis/activerecord-import) from 1.5.1 to 1.6.0. - [Changelog](https://github.com/zdennis/activerecord-import/blob/master/CHANGELOG.md) - [Commits](https://github.com/zdennis/activerecord-import/compare/v1.5.1...v1.6.0) --- updated-dependencies: - dependency-name: activerecord-import dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 625ba7130b..12820c5bba 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -109,7 +109,7 @@ GEM activerecord (7.0.8) activemodel (= 7.0.8) activesupport (= 7.0.8) - activerecord-import (1.5.1) + activerecord-import (1.6.0) activerecord (>= 4.2) activerecord-postgresql-adapter (0.0.1) pg @@ -414,7 +414,7 @@ GEM mini_magick (4.11.0) mini_mime (1.1.5) mini_portile2 (2.8.5) - minitest (5.22.2) + minitest (5.22.3) monetize (1.13.0) money (~> 6.12) money (6.16.0) From 9d919938f38b564161fedbc61743ac7958fc5d24 Mon Sep 17 00:00:00 2001 From: Feruz Oripov Date: Sat, 16 Mar 2024 19:07:08 +0500 Subject: [PATCH 115/374] Group Order && OrderCycle related services and specs --- .rubocop_todo.yml | 12 +- .../admin/order_cycles_controller.rb | 6 +- .../api/v0/order_cycles_controller.rb | 3 +- app/controllers/api/v0/orders_controller.rb | 2 +- .../api/v0/shipments_controller.rb | 2 +- app/controllers/checkout_controller.rb | 2 +- .../concerns/checkout_callbacks.rb | 2 +- app/controllers/concerns/order_completion.rb | 2 +- app/controllers/concerns/order_stock_check.rb | 2 +- app/controllers/enterprises_controller.rb | 2 +- .../payment_gateways/stripe_controller.rb | 2 +- .../spree/admin/base_controller.rb | 2 +- .../spree/admin/invoices_controller.rb | 2 +- .../orders/customer_details_controller.rb | 2 +- .../spree/admin/orders_controller.rb | 4 +- .../spree/admin/payments_controller.rb | 2 +- app/controllers/spree/orders_controller.rb | 4 +- app/helpers/checkout_helper.rb | 2 +- app/helpers/enterprises_helper.rb | 4 +- app/helpers/order_helper.rb | 4 +- app/jobs/bulk_invoice_job.rb | 2 +- app/jobs/order_cycle_opened_job.rb | 2 +- app/mailers/spree/order_mailer.rb | 3 +- app/models/concerns/order_validations.rb | 2 +- app/models/order_cycle.rb | 2 +- app/models/proxy_order.rb | 2 +- app/models/spree/order.rb | 4 +- app/models/spree/payment/processing.rb | 2 +- app/reflexes/admin/orders_reflex.rb | 4 +- app/services/cap_quantity.rb | 3 +- app/services/cart_service.rb | 2 +- .../checkout/post_checkout_actions.rb | 2 +- app/services/create_order_cycle.rb | 67 ----- app/services/customer_order_cancellation.rb | 17 -- app/services/order_adjustments_fetcher.rb | 79 ------ .../order_available_payment_methods.rb | 43 ---- .../order_available_shipping_methods.rb | 56 ----- app/services/order_capture_service.rb | 22 -- app/services/order_cart_reset.rb | 56 ----- app/services/order_checkout_restart.rb | 34 --- app/services/order_cycle_clone.rb | 43 ---- .../order_cycle_distributed_products.rb | 83 ------- .../order_cycle_distributed_variants.rb | 22 -- app/services/order_cycle_form.rb | 230 ----------------- app/services/order_cycle_warning.rb | 37 --- app/services/order_cycle_webhook_service.rb | 21 -- app/services/order_cycles/clone_service.rb | 45 ++++ .../distributed_products_service.rb | 86 +++++++ .../distributed_variants_service.rb | 24 ++ app/services/order_cycles/form_service.rb | 233 ++++++++++++++++++ app/services/order_cycles/warning_service.rb | 39 +++ app/services/order_cycles/webhook_service.rb | 24 ++ app/services/order_data_masker.rb | 35 --- app/services/order_factory.rb | 97 -------- app/services/order_fees_handler.rb | 68 ----- app/services/order_invoice_comparator.rb | 86 ------- app/services/order_invoice_generator.rb | 38 --- app/services/order_payment_finder.rb | 28 --- app/services/order_syncer.rb | 138 ----------- app/services/order_tax_adjustments_fetcher.rb | 20 -- app/services/order_update_issues.rb | 21 -- app/services/order_workflow.rb | 95 ------- .../available_payment_methods_service.rb | 45 ++++ .../available_shipping_methods_service.rb | 58 +++++ app/services/orders/bulk_cancel_service.rb | 26 ++ app/services/orders/capture_service.rb | 24 ++ app/services/orders/cart_reset_service.rb | 59 +++++ .../orders/checkout_restart_service.rb | 37 +++ .../orders/compare_invoice_service.rb | 88 +++++++ .../orders/customer_cancellation_service.rb | 19 ++ app/services/orders/factory_service.rb | 99 ++++++++ .../orders/fetch_adjustments_service.rb | 81 ++++++ .../orders/fetch_tax_adjustments_service.rb | 22 ++ app/services/orders/find_payment_service.rb | 30 +++ .../orders/generate_invoice_service.rb | 40 +++ app/services/orders/handle_fees_service.rb | 70 ++++++ app/services/orders/mask_data_service.rb | 37 +++ app/services/orders/sync_service.rb | 141 +++++++++++ app/services/orders/update_issues_service.rb | 23 ++ app/services/orders/workflow_service.rb | 98 ++++++++ app/services/orders_bulk_cancel_service.rb | 24 -- app/services/place_proxy_order.rb | 2 +- app/services/process_payment_intent.rb | 2 +- app/services/products_renderer.rb | 2 +- app/services/shop/order_cycles_list.rb | 4 +- .../order/stripe_sca_payment_authorize.rb | 2 +- .../order_management/subscriptions/form.rb | 2 +- .../subscriptions/payment_setup.rb | 2 +- .../subscriptions/proxy_order_syncer.rb | 2 +- .../subscriptions/stripe_payment_setup.rb | 2 +- lib/reporting/line_items.rb | 2 +- .../reports/orders_and_distributors/base.rb | 2 +- lib/reporting/reports/sales_tax/tax_rates.rb | 2 +- lib/tasks/sample_data/order_factory.rb | 2 +- .../admin/bulk_line_items_controller_spec.rb | 2 +- .../admin/order_cycles_controller_spec.rb | 18 +- .../admin/proxy_orders_controller_spec.rb | 2 +- spec/controllers/checkout_controller_spec.rb | 6 +- .../stripe_controller_spec.rb | 8 +- spec/factories/order_factory.rb | 2 +- spec/jobs/order_cycle_opened_job_spec.rb | 12 +- spec/jobs/subscription_confirm_job_spec.rb | 4 +- ...e_fees_with_tax_report_by_producer_spec.rb | 2 +- .../reports/sales_tax_totals_by_order_spec.rb | 12 +- spec/mailers/order_mailer_spec.rb | 4 +- spec/models/invoice/data_presenter_spec.rb | 6 +- spec/models/proxy_order_spec.rb | 10 +- spec/models/spree/order_spec.rb | 4 +- .../requests/checkout/failed_checkout_spec.rb | 2 +- spec/requests/checkout/routes_spec.rb | 2 +- spec/requests/checkout/stripe_sca_spec.rb | 4 +- spec/requests/voucher_adjustments_spec.rb | 2 +- spec/services/cart_service_spec.rb | 6 +- .../checkout/post_checkout_actions_spec.rb | 6 +- .../services/checkout/stripe_redirect_spec.rb | 2 +- .../clone_service_spec.rb} | 4 +- .../distributed_products_service_spec.rb} | 2 +- .../distributed_variants_service_spec.rb} | 6 +- .../form_service_spec.rb} | 34 +-- .../warning_service_spec.rb} | 4 +- .../webhook_service_spec.rb} | 28 ++- ...available_payment_methods_service_spec.rb} | 26 +- ...vailable_shipping_methods_service_spec.rb} | 26 +- .../cart_reset_service_spec.rb} | 8 +- .../checkout_restart_service_spec.rb} | 12 +- .../compare_invoice_service_spec.rb} | 6 +- .../customer_cancellation_service_spec.rb} | 6 +- .../factory_service_spec.rb} | 6 +- .../find_payment_service_spec.rb} | 4 +- .../generate_invoice_service_spec.rb} | 4 +- .../handle_fees_service_spec.rb} | 4 +- .../mask_data_service_spec.rb} | 2 +- .../order_tax_adjustments_fetcher_spec.rb | 4 +- .../sync_service_spec.rb} | 26 +- .../workflow_service_spec.rb} | 2 +- spec/services/place_proxy_order_spec.rb | 4 +- spec/system/admin/invoice_print_spec.rb | 2 +- spec/system/admin/payments_stripe_spec.rb | 9 +- ...mmary_fee_with_tax_report_by_order_spec.rb | 4 +- .../sales_tax_totals_by_order_spec.rb | 8 +- 140 files changed, 1700 insertions(+), 1686 deletions(-) delete mode 100644 app/services/create_order_cycle.rb delete mode 100644 app/services/customer_order_cancellation.rb delete mode 100644 app/services/order_adjustments_fetcher.rb delete mode 100644 app/services/order_available_payment_methods.rb delete mode 100644 app/services/order_available_shipping_methods.rb delete mode 100644 app/services/order_capture_service.rb delete mode 100644 app/services/order_cart_reset.rb delete mode 100644 app/services/order_checkout_restart.rb delete mode 100644 app/services/order_cycle_clone.rb delete mode 100644 app/services/order_cycle_distributed_products.rb delete mode 100644 app/services/order_cycle_distributed_variants.rb delete mode 100644 app/services/order_cycle_form.rb delete mode 100644 app/services/order_cycle_warning.rb delete mode 100644 app/services/order_cycle_webhook_service.rb create mode 100644 app/services/order_cycles/clone_service.rb create mode 100644 app/services/order_cycles/distributed_products_service.rb create mode 100644 app/services/order_cycles/distributed_variants_service.rb create mode 100644 app/services/order_cycles/form_service.rb create mode 100644 app/services/order_cycles/warning_service.rb create mode 100644 app/services/order_cycles/webhook_service.rb delete mode 100644 app/services/order_data_masker.rb delete mode 100644 app/services/order_factory.rb delete mode 100644 app/services/order_fees_handler.rb delete mode 100644 app/services/order_invoice_comparator.rb delete mode 100644 app/services/order_invoice_generator.rb delete mode 100644 app/services/order_payment_finder.rb delete mode 100644 app/services/order_syncer.rb delete mode 100644 app/services/order_tax_adjustments_fetcher.rb delete mode 100644 app/services/order_update_issues.rb delete mode 100644 app/services/order_workflow.rb create mode 100644 app/services/orders/available_payment_methods_service.rb create mode 100644 app/services/orders/available_shipping_methods_service.rb create mode 100644 app/services/orders/bulk_cancel_service.rb create mode 100644 app/services/orders/capture_service.rb create mode 100644 app/services/orders/cart_reset_service.rb create mode 100644 app/services/orders/checkout_restart_service.rb create mode 100644 app/services/orders/compare_invoice_service.rb create mode 100644 app/services/orders/customer_cancellation_service.rb create mode 100644 app/services/orders/factory_service.rb create mode 100644 app/services/orders/fetch_adjustments_service.rb create mode 100644 app/services/orders/fetch_tax_adjustments_service.rb create mode 100644 app/services/orders/find_payment_service.rb create mode 100644 app/services/orders/generate_invoice_service.rb create mode 100644 app/services/orders/handle_fees_service.rb create mode 100644 app/services/orders/mask_data_service.rb create mode 100644 app/services/orders/sync_service.rb create mode 100644 app/services/orders/update_issues_service.rb create mode 100644 app/services/orders/workflow_service.rb delete mode 100644 app/services/orders_bulk_cancel_service.rb rename spec/services/{order_cycle_clone_spec.rb => order_cycles/clone_service_spec.rb} (97%) rename spec/services/{order_cycle_distributed_products_spec.rb => order_cycles/distributed_products_service_spec.rb} (98%) rename spec/services/{order_cycle_distributed_variants_spec.rb => order_cycles/distributed_variants_service_spec.rb} (86%) rename spec/services/{order_cycle_form_spec.rb => order_cycles/form_service_spec.rb} (95%) rename spec/services/{order_cycle_warning_spec.rb => order_cycles/warning_service_spec.rb} (91%) rename spec/services/{order_cycle_webhook_service_spec.rb => order_cycles/webhook_service_spec.rb} (81%) rename spec/services/{order_available_payment_methods_spec.rb => orders/available_payment_methods_service_spec.rb} (89%) rename spec/services/{order_available_shipping_methods_spec.rb => orders/available_shipping_methods_service_spec.rb} (90%) rename spec/services/{order_cart_reset_spec.rb => orders/cart_reset_service_spec.rb} (81%) rename spec/services/{order_checkout_restart_spec.rb => orders/checkout_restart_service_spec.rb} (86%) rename spec/services/{order_invoice_comparator_spec.rb => orders/compare_invoice_service_spec.rb} (98%) rename spec/services/{customer_order_cancellation_spec.rb => orders/customer_cancellation_service_spec.rb} (82%) rename spec/services/{order_factory_spec.rb => orders/factory_service_spec.rb} (97%) rename spec/services/{order_payment_finder_spec.rb => orders/find_payment_service_spec.rb} (93%) rename spec/services/{order_invoice_generator_spec.rb => orders/generate_invoice_service_spec.rb} (95%) rename spec/services/{order_fees_handler_spec.rb => orders/handle_fees_service_spec.rb} (95%) rename spec/services/{order_data_masker_spec.rb => orders/mask_data_service_spec.rb} (98%) rename spec/services/{ => orders}/order_tax_adjustments_fetcher_spec.rb (97%) rename spec/services/{order_syncer_spec.rb => orders/sync_service_spec.rb} (97%) rename spec/services/{order_workflow_spec.rb => orders/workflow_service_spec.rb} (98%) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 250bf7c60f..759d01801c 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -141,7 +141,7 @@ Metrics/AbcSize: - 'lib/open_food_network/order_cycle_permissions.rb' - 'lib/spree/core/controller_helpers/order.rb' - 'lib/tasks/enterprises.rake' - - 'spec/services/order_checkout_restart_spec.rb' + - 'spec/services/orders/checkout_restart_service_spec.rb' # Offense count: 9 # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode. @@ -200,8 +200,8 @@ Metrics/ClassLength: - 'app/serializers/api/cached_enterprise_serializer.rb' - 'app/serializers/api/enterprise_shopfront_serializer.rb' - 'app/services/cart_service.rb' - - 'app/services/order_cycle_form.rb' - - 'app/services/order_syncer.rb' + - 'app/services/orders/sync_service.rb' + - 'app/services/order_cycles/form_service.rb' - 'engines/order_management/app/services/order_management/order/updater.rb' - 'lib/open_food_network/enterprise_fee_calculator.rb' - 'lib/open_food_network/order_cycle_form_applicator.rb' @@ -397,7 +397,7 @@ Rails/FindEach: Exclude: - 'app/controllers/admin/order_cycles_controller.rb' - 'app/jobs/subscription_confirm_job.rb' - - 'app/services/orders_bulk_cancel_service.rb' + - 'app/services/orders/bulk_cancel_service.rb' - 'app/services/products_renderer.rb' - 'lib/tasks/data.rake' - 'lib/tasks/subscriptions/debug.rake' @@ -618,8 +618,8 @@ Rails/TimeZone: Exclude: - 'app/models/spree/gateway/pay_pal_express.rb' - 'spec/controllers/spree/credit_cards_controller_spec.rb' - - 'spec/services/customer_order_cancellation_spec.rb' - - 'spec/services/order_cycle_webhook_service_spec.rb' + - 'spec/services/orders/customer_cancellation_service_spec.rb' + - 'spec/services/order_cycles/webhook_service_spec.rb' # Offense count: 1 # Configuration parameters: TransactionMethods. diff --git a/app/controllers/admin/order_cycles_controller.rb b/app/controllers/admin/order_cycles_controller.rb index 2e1258eaa0..c06695d10b 100644 --- a/app/controllers/admin/order_cycles_controller.rb +++ b/app/controllers/admin/order_cycles_controller.rb @@ -45,7 +45,8 @@ module Admin end def create - @order_cycle_form = OrderCycleForm.new(@order_cycle, order_cycle_params, spree_current_user) + @order_cycle_form = OrderCycles::FormService.new(@order_cycle, order_cycle_params, + spree_current_user) if @order_cycle_form.save flash[:success] = t('.success') @@ -61,7 +62,8 @@ module Admin end def update - @order_cycle_form = OrderCycleForm.new(@order_cycle, order_cycle_params, spree_current_user) + @order_cycle_form = OrderCycles::FormService.new(@order_cycle, order_cycle_params, + spree_current_user) if @order_cycle_form.save update_nil_subscription_line_items_price_estimate(@order_cycle) diff --git a/app/controllers/api/v0/order_cycles_controller.rb b/app/controllers/api/v0/order_cycles_controller.rb index 289b0260e4..2c3c0b2318 100644 --- a/app/controllers/api/v0/order_cycles_controller.rb +++ b/app/controllers/api/v0/order_cycles_controller.rb @@ -101,7 +101,8 @@ module Api end def distributed_products - OrderCycleDistributedProducts.new(distributor, order_cycle, customer).products_relation + OrderCycles::DistributedProductsService.new(distributor, order_cycle, + customer).products_relation end end end diff --git a/app/controllers/api/v0/orders_controller.rb b/app/controllers/api/v0/orders_controller.rb index 8570ac3db5..2ffb4304b3 100644 --- a/app/controllers/api/v0/orders_controller.rb +++ b/app/controllers/api/v0/orders_controller.rb @@ -47,7 +47,7 @@ module Api def capture authorize! :admin, order - payment_capture = OrderCaptureService.new(order) + payment_capture = Orders::CaptureService.new(order) if payment_capture.call render json: order.reload, serializer: Api::Admin::OrderSerializer, status: :ok diff --git a/app/controllers/api/v0/shipments_controller.rb b/app/controllers/api/v0/shipments_controller.rb index d742f2c29e..82a042c8f4 100644 --- a/app/controllers/api/v0/shipments_controller.rb +++ b/app/controllers/api/v0/shipments_controller.rb @@ -21,7 +21,7 @@ module Api @shipment.refresh_rates @shipment.save! - OrderWorkflow.new(@order).advance_to_payment if @order.line_items.any? + Orders::WorkflowService.new(@order).advance_to_payment if @order.line_items.any? @order.recreate_all_fees! diff --git a/app/controllers/checkout_controller.rb b/app/controllers/checkout_controller.rb index 3c0254e0e4..efd8e80eeb 100644 --- a/app/controllers/checkout_controller.rb +++ b/app/controllers/checkout_controller.rb @@ -128,7 +128,7 @@ class CheckoutController < BaseController def advance_order_state return if @order.complete? - OrderWorkflow.new(@order).advance_checkout(raw_params.slice(:shipping_method_id)) + Orders::WorkflowService.new(@order).advance_checkout(raw_params.slice(:shipping_method_id)) end def order_params diff --git a/app/controllers/concerns/checkout_callbacks.rb b/app/controllers/concerns/checkout_callbacks.rb index 7da81a592b..c7eb90ebde 100644 --- a/app/controllers/concerns/checkout_callbacks.rb +++ b/app/controllers/concerns/checkout_callbacks.rb @@ -65,7 +65,7 @@ module CheckoutCallbacks def valid_order_line_items? @order.insufficient_stock_lines.empty? && - OrderCycleDistributedVariants.new(@order.order_cycle, @order.distributor). + OrderCycles::DistributedVariantsService.new(@order.order_cycle, @order.distributor). distributes_order_variants?(@order) end diff --git a/app/controllers/concerns/order_completion.rb b/app/controllers/concerns/order_completion.rb index 5e3d2c198c..58bf7a03b9 100644 --- a/app/controllers/concerns/order_completion.rb +++ b/app/controllers/concerns/order_completion.rb @@ -64,7 +64,7 @@ module OrderCompletion return redirect_to order_failed_route(step: 'payment') end - if OrderWorkflow.new(@order).next && @order.complete? + if Orders::WorkflowService.new(@order).next && @order.complete? processing_succeeded redirect_to order_completion_route else diff --git a/app/controllers/concerns/order_stock_check.rb b/app/controllers/concerns/order_stock_check.rb index c979948686..13ff145ae8 100644 --- a/app/controllers/concerns/order_stock_check.rb +++ b/app/controllers/concerns/order_stock_check.rb @@ -6,7 +6,7 @@ module OrderStockCheck def valid_order_line_items? @order.insufficient_stock_lines.empty? && - OrderCycleDistributedVariants.new(@order.order_cycle, @order.distributor). + OrderCycles::DistributedVariantsService.new(@order.order_cycle, @order.distributor). distributes_order_variants?(@order) end diff --git a/app/controllers/enterprises_controller.rb b/app/controllers/enterprises_controller.rb index 1043fdb4c6..bc16d12f18 100644 --- a/app/controllers/enterprises_controller.rb +++ b/app/controllers/enterprises_controller.rb @@ -70,7 +70,7 @@ class EnterprisesController < BaseController order = current_order(true) # reset_distributor must be called before any call to current_customer or current_distributor - order_cart_reset = OrderCartReset.new(order, params[:id]) + order_cart_reset = Orders::CartResetService.new(order, params[:id]) order_cart_reset.reset_distributor order_cart_reset.reset_other!(spree_current_user, current_customer) rescue ActiveRecord::RecordNotFound diff --git a/app/controllers/payment_gateways/stripe_controller.rb b/app/controllers/payment_gateways/stripe_controller.rb index cabf14b4bf..8364e8e376 100644 --- a/app/controllers/payment_gateways/stripe_controller.rb +++ b/app/controllers/payment_gateways/stripe_controller.rb @@ -79,7 +79,7 @@ module PaymentGateways end def last_payment - @last_payment ||= OrderPaymentFinder.new(@order).last_payment + @last_payment ||= Orders::FindPaymentService.new(@order).last_payment end def cancel_incomplete_payments diff --git a/app/controllers/spree/admin/base_controller.rb b/app/controllers/spree/admin/base_controller.rb index c03756814e..f926612ef0 100644 --- a/app/controllers/spree/admin/base_controller.rb +++ b/app/controllers/spree/admin/base_controller.rb @@ -26,7 +26,7 @@ module Spree def warn_invalid_order_cycles return if flash[:notice].present? - warning = OrderCycleWarning.new(spree_current_user).call + warning = OrderCycles::WarningService.new(spree_current_user).call flash[:notice] = warning if warning.present? end diff --git a/app/controllers/spree/admin/invoices_controller.rb b/app/controllers/spree/admin/invoices_controller.rb index 81f79a299e..8fa92475a3 100644 --- a/app/controllers/spree/admin/invoices_controller.rb +++ b/app/controllers/spree/admin/invoices_controller.rb @@ -20,7 +20,7 @@ module Spree def generate @order = Order.find_by(number: params[:order_id]) authorize! :invoice, @order - OrderInvoiceGenerator.new(@order).generate_or_update_latest_invoice + ::Orders::GenerateInvoiceService.new(@order).generate_or_update_latest_invoice redirect_back(fallback_location: spree.admin_dashboard_path) end diff --git a/app/controllers/spree/admin/orders/customer_details_controller.rb b/app/controllers/spree/admin/orders/customer_details_controller.rb index 7f93651e48..1f67f790df 100644 --- a/app/controllers/spree/admin/orders/customer_details_controller.rb +++ b/app/controllers/spree/admin/orders/customer_details_controller.rb @@ -24,7 +24,7 @@ module Spree end refresh_shipment_rates - OrderWorkflow.new(@order).advance_to_payment + ::Orders::WorkflowService.new(@order).advance_to_payment flash[:success] = Spree.t('customer_details_updated') redirect_to spree.admin_order_customer_path(@order) diff --git a/app/controllers/spree/admin/orders_controller.rb b/app/controllers/spree/admin/orders_controller.rb index 4e2b729dd6..a73adf58c4 100644 --- a/app/controllers/spree/admin/orders_controller.rb +++ b/app/controllers/spree/admin/orders_controller.rb @@ -50,7 +50,7 @@ module Spree return redirect_to spree.edit_admin_order_path(@order) end - OrderWorkflow.new(@order).advance_to_payment + ::Orders::WorkflowService.new(@order).advance_to_payment if @order.complete? redirect_to spree.edit_admin_order_path(@order) @@ -104,7 +104,7 @@ module Spree @order = if params[:invoice_id].present? @order.invoices.find(params[:invoice_id]).presenter else - OrderInvoiceGenerator.new(@order).generate_or_update_latest_invoice + ::Orders::GenerateInvoiceService.new(@order).generate_or_update_latest_invoice @order.invoices.first.presenter end end diff --git a/app/controllers/spree/admin/payments_controller.rb b/app/controllers/spree/admin/payments_controller.rb index 041dacf8d6..0afaa5227c 100644 --- a/app/controllers/spree/admin/payments_controller.rb +++ b/app/controllers/spree/admin/payments_controller.rb @@ -33,7 +33,7 @@ module Spree return end - OrderWorkflow.new(@order).complete! unless @order.completed? + ::Orders::WorkflowService.new(@order).complete! unless @order.completed? authorize_stripe_sca_payment @payment.process_offline! diff --git a/app/controllers/spree/orders_controller.rb b/app/controllers/spree/orders_controller.rb index 113f827628..f1055785c6 100644 --- a/app/controllers/spree/orders_controller.rb +++ b/app/controllers/spree/orders_controller.rb @@ -42,7 +42,7 @@ module Spree # Patching to redirect to shop if order is empty def edit @insufficient_stock_lines = @order.insufficient_stock_lines - @unavailable_order_variants = OrderCycleDistributedVariants. + @unavailable_order_variants = OrderCycles::DistributedVariantsService. new(current_order_cycle, current_distributor).unavailable_order_variants(@order) if @order.line_items.empty? @@ -102,7 +102,7 @@ module Spree @order = Spree::Order.find_by!(number: params[:id]) authorize! :cancel, @order - if CustomerOrderCancellation.new(@order).call + if Orders::CustomerCancellationService.new(@order).call flash[:success] = I18n.t(:orders_your_order_has_been_cancelled) else flash[:error] = I18n.t(:orders_could_not_cancel) diff --git a/app/helpers/checkout_helper.rb b/app/helpers/checkout_helper.rb index eb96a28dd7..393c606ed7 100644 --- a/app/helpers/checkout_helper.rb +++ b/app/helpers/checkout_helper.rb @@ -59,7 +59,7 @@ module CheckoutHelper end def display_checkout_taxes_hash(order) - totals = OrderTaxAdjustmentsFetcher.new(order).totals + totals = Orders::FetchTaxAdjustmentsService.new(order).totals totals.map do |tax_rate, tax_amount| { diff --git a/app/helpers/enterprises_helper.rb b/app/helpers/enterprises_helper.rb index efb09655dd..4a7c6ae817 100644 --- a/app/helpers/enterprises_helper.rb +++ b/app/helpers/enterprises_helper.rb @@ -12,11 +12,11 @@ module EnterprisesHelper end def available_shipping_methods - OrderAvailableShippingMethods.new(current_order, current_customer).to_a + Orders::AvailableShippingMethodsService.new(current_order, current_customer).to_a end def available_payment_methods - OrderAvailablePaymentMethods.new(current_order, current_customer).to_a + Orders::AvailablePaymentMethodsService.new(current_order, current_customer).to_a end def managed_enterprises diff --git a/app/helpers/order_helper.rb b/app/helpers/order_helper.rb index cdafb9f55b..e0d6c65313 100644 --- a/app/helpers/order_helper.rb +++ b/app/helpers/order_helper.rb @@ -2,7 +2,7 @@ module OrderHelper def last_payment_method(order) - OrderPaymentFinder.new(order).last_payment&.payment_method + Orders::FindPaymentService.new(order).last_payment&.payment_method end def outstanding_balance_label(order) @@ -16,6 +16,6 @@ module OrderHelper end def order_comparator(order) - OrderInvoiceComparator.new(order) + Orders::CompareInvoiceService.new(order) end end diff --git a/app/jobs/bulk_invoice_job.rb b/app/jobs/bulk_invoice_job.rb index 3c360005fa..517cba1c22 100644 --- a/app/jobs/bulk_invoice_job.rb +++ b/app/jobs/bulk_invoice_job.rb @@ -33,7 +33,7 @@ class BulkInvoiceJob < ApplicationJob def generate_invoice(order) renderer_data = if OpenFoodNetwork::FeatureToggle.enabled?(:invoices, current_user) - OrderInvoiceGenerator.new(order).generate_or_update_latest_invoice + Orders::GenerateInvoiceService.new(order).generate_or_update_latest_invoice order.invoices.first.presenter else order diff --git a/app/jobs/order_cycle_opened_job.rb b/app/jobs/order_cycle_opened_job.rb index 9d84027fe3..3b4cee16db 100644 --- a/app/jobs/order_cycle_opened_job.rb +++ b/app/jobs/order_cycle_opened_job.rb @@ -5,7 +5,7 @@ class OrderCycleOpenedJob < ApplicationJob def perform ActiveRecord::Base.transaction do recently_opened_order_cycles.find_each do |order_cycle| - OrderCycleWebhookService.create_webhook_job(order_cycle, 'order_cycle.opened') + OrderCycles::WebhookService.create_webhook_job(order_cycle, 'order_cycle.opened') end mark_as_opened(recently_opened_order_cycles) end diff --git a/app/mailers/spree/order_mailer.rb b/app/mailers/spree/order_mailer.rb index e3430c7787..97ffd3f6b1 100644 --- a/app/mailers/spree/order_mailer.rb +++ b/app/mailers/spree/order_mailer.rb @@ -52,7 +52,8 @@ module Spree find_user(options[:current_user_id]) end renderer_data = if OpenFoodNetwork::FeatureToggle.enabled?(:invoices, current_user) - OrderInvoiceGenerator.new(@order).generate_or_update_latest_invoice + ::Orders::GenerateInvoiceService + .new(@order).generate_or_update_latest_invoice @order.invoices.first.presenter else @order diff --git a/app/models/concerns/order_validations.rb b/app/models/concerns/order_validations.rb index 36733f5c35..52aa257b5f 100644 --- a/app/models/concerns/order_validations.rb +++ b/app/models/concerns/order_validations.rb @@ -15,7 +15,7 @@ module OrderValidations # Check that line_items in the current order are available from a newly selected distribution def products_available_from_new_distribution - return if OrderCycleDistributedVariants.new(order_cycle, distributor) + return if OrderCycles::DistributedVariantsService.new(order_cycle, distributor) .distributes_order_variants?(self) errors.add(:base, I18n.t(:spree_order_availability_error)) diff --git a/app/models/order_cycle.rb b/app/models/order_cycle.rb index b6e7d80913..7fa53009eb 100644 --- a/app/models/order_cycle.rb +++ b/app/models/order_cycle.rb @@ -175,7 +175,7 @@ class OrderCycle < ApplicationRecord end def clone! - OrderCycleClone.new(self).create + OrderCycles::CloneService.new(self).create end def variants diff --git a/app/models/proxy_order.rb b/app/models/proxy_order.rb index 449478b44e..2f64fe0a2b 100644 --- a/app/models/proxy_order.rb +++ b/app/models/proxy_order.rb @@ -58,7 +58,7 @@ class ProxyOrder < ApplicationRecord def initialise_order! return order if order.present? - factory = OrderFactory.new(order_attrs, skip_stock_check: true) + factory = Orders::FactoryService.new(order_attrs, skip_stock_check: true) self.order = factory.create save! order diff --git a/app/models/spree/order.rb b/app/models/spree/order.rb index a663b9b9c8..5e56610c07 100644 --- a/app/models/spree/order.rb +++ b/app/models/spree/order.rb @@ -652,7 +652,7 @@ module Spree end def fee_handler - @fee_handler ||= OrderFeesHandler.new(self) + @fee_handler ||= Orders::HandleFeesService.new(self) end def clear_legacy_taxes! @@ -701,7 +701,7 @@ module Spree end def adjustments_fetcher - @adjustments_fetcher ||= OrderAdjustmentsFetcher.new(self) + @adjustments_fetcher ||= Orders::FetchAdjustmentsService.new(self) end def skip_payment_for_subscription? diff --git a/app/models/spree/payment/processing.rb b/app/models/spree/payment/processing.rb index 499a669987..8f9d0e4573 100644 --- a/app/models/spree/payment/processing.rb +++ b/app/models/spree/payment/processing.rb @@ -48,7 +48,7 @@ module Spree end def capture_and_complete_order! - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! capture! end diff --git a/app/reflexes/admin/orders_reflex.rb b/app/reflexes/admin/orders_reflex.rb index fe84ebf7ea..8e5f43eb65 100644 --- a/app/reflexes/admin/orders_reflex.rb +++ b/app/reflexes/admin/orders_reflex.rb @@ -5,7 +5,7 @@ module Admin before_reflex :authorize_order, only: [:capture, :ship] def capture - payment_capture = OrderCaptureService.new(@order) + payment_capture = Orders::CaptureService.new(@order) if payment_capture.call cable_ready.replace(selector: dom_id(@order), @@ -55,7 +55,7 @@ module Admin end def cancel_orders(params) - cancelled_orders = OrdersBulkCancelService.new(params, current_user).call + cancelled_orders = Orders::BulkCancelService.new(params, current_user).call cable_ready.dispatch_event(name: "modal:close") diff --git a/app/services/cap_quantity.rb b/app/services/cap_quantity.rb index c1bfefaf5a..27bb86302c 100644 --- a/app/services/cap_quantity.rb +++ b/app/services/cap_quantity.rb @@ -46,6 +46,7 @@ class CapQuantity end def available_variants_for - OrderCycleDistributedVariants.new(order.order_cycle, order.distributor).available_variants + OrderCycles::DistributedVariantsService.new(order.order_cycle, + order.distributor).available_variants end end diff --git a/app/services/cart_service.rb b/app/services/cart_service.rb index 97a53613b0..ce6bc85652 100644 --- a/app/services/cart_service.rb +++ b/app/services/cart_service.rb @@ -154,7 +154,7 @@ class CartService end def check_variant_available_under_distribution(variant) - return true if OrderCycleDistributedVariants.new(@order_cycle, @distributor) + return true if OrderCycles::DistributedVariantsService.new(@order_cycle, @distributor) .available_variants.include? variant errors.add(:base, I18n.t(:spree_order_populator_availability_error)) diff --git a/app/services/checkout/post_checkout_actions.rb b/app/services/checkout/post_checkout_actions.rb index 5e8071012d..5484a70c09 100644 --- a/app/services/checkout/post_checkout_actions.rb +++ b/app/services/checkout/post_checkout_actions.rb @@ -14,7 +14,7 @@ module Checkout def failure @order.updater.shipping_address_from_distributor - OrderCheckoutRestart.new(@order).call + Orders::CheckoutRestartService.new(@order).call end private diff --git a/app/services/create_order_cycle.rb b/app/services/create_order_cycle.rb deleted file mode 100644 index 50900f1c88..0000000000 --- a/app/services/create_order_cycle.rb +++ /dev/null @@ -1,67 +0,0 @@ -# frozen_string_literal: true - -# Creates an order cycle for the provided enterprise and selecting all the -# variants specified for both incoming and outgoing exchanges -class CreateOrderCycle - # Constructor - # - # @param enterprise [Enterprise] - # @param variants [Array] - def initialize(enterprise, variants) - @enterprise = enterprise - @variants = variants - end - - # Creates the order cycle - def call - incoming_exchange.order_cycle = order_cycle - incoming_exchange.variants << variants - - outgoing_exchange.order_cycle = order_cycle - outgoing_exchange.variants << variants - - order_cycle.exchanges << incoming_exchange - order_cycle.exchanges << outgoing_exchange - - order_cycle.save! - end - - private - - attr_reader :enterprise, :variants - - # Builds an order cycle for the next month, starting now - # - # @return [OrderCycle] - def order_cycle - @order_cycle ||= OrderCycle.new( - coordinator_id: enterprise.id, - name: 'Monthly order cycle', - orders_open_at: Time.zone.now, - orders_close_at: 1.month.from_now - ) - end - - # Builds an exchange with the enterprise both as sender and receiver - # - # @return [Exchange] - def incoming_exchange - @incoming_exchange ||= Exchange.new( - sender_id: enterprise.id, - receiver_id: enterprise.id, - incoming: true - ) - end - - # Builds an exchange with the enterprise both as sender and receiver - # - # @return [Exchange] - def outgoing_exchange - @outgoing_exchange ||= Exchange.new( - sender_id: enterprise.id, - receiver_id: enterprise.id, - pickup_time: '8 am', - incoming: false - ) - end -end diff --git a/app/services/customer_order_cancellation.rb b/app/services/customer_order_cancellation.rb deleted file mode 100644 index 2e3f51c6e6..0000000000 --- a/app/services/customer_order_cancellation.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -class CustomerOrderCancellation - def initialize(order) - @order = order - end - - def call - return unless order.cancel - - Spree::OrderMailer.cancel_email_for_shop(order).deliver_later - end - - private - - attr_reader :order -end diff --git a/app/services/order_adjustments_fetcher.rb b/app/services/order_adjustments_fetcher.rb deleted file mode 100644 index 6f236074b9..0000000000 --- a/app/services/order_adjustments_fetcher.rb +++ /dev/null @@ -1,79 +0,0 @@ -# frozen_string_literal: true - -# This class allows orders with eager-loaded adjustment objects to calculate various adjustment -# types without triggering additional queries. -# -# For example; `order.adjustments.shipping.sum(:amount)` would normally trigger a new query -# regardless of whether or not adjustments have been preloaded, as `#shipping` is an adjustment -# scope, eg; `scope :shipping, where(originator_type: 'Spree::ShippingMethod')`. -# -# Here the adjustment scopes are moved to a shared module, and `adjustments.loaded?` is used to -# check if the objects have already been fetched and initialized. If they have, `order.adjustments` -# will be an Array, and we can select the required objects without hitting the database. If not, it -# will fetch the adjustments via their scopes as normal. - -class OrderAdjustmentsFetcher - include AdjustmentScopes - - def initialize(order) - @order = order - end - - def admin_and_handling_total - admin_and_handling_fees.map(&:amount).sum - end - - def payment_fee - sum_adjustments "payment_fee" - end - - def ship_total - sum_adjustments "shipping" - end - - private - - attr_reader :order - - def adjustments - order.all_adjustments - end - - def adjustments_eager_loaded? - adjustments.loaded? - end - - def sum_adjustments(scope) - collect_adjustments(scope).map(&:amount).sum - end - - def collect_adjustments(scope) - if adjustments_eager_loaded? - adjustment_scope = public_send("#{scope}_scope") - - # Adjustments are already loaded here, this block is using `Array#select` - adjustments.select do |adjustment| - match_by_scope(adjustment, adjustment_scope) && match_by_scope(adjustment, eligible_scope) - end - else - adjustments.where(nil).eligible.public_send scope - end - end - - def admin_and_handling_fees - if adjustments_eager_loaded? - adjustments.select do |adjustment| - match_by_scope(adjustment, eligible_scope) && - adjustment.originator_type == 'EnterpriseFee' && - adjustment.adjustable_type != 'Spree::LineItem' - end - else - adjustments.eligible. - where("originator_type = ? AND adjustable_type != ?", 'EnterpriseFee', 'Spree::LineItem') - end - end - - def match_by_scope(adjustment, scope) - adjustment.public_send(scope.keys.first) == scope.values.first - end -end diff --git a/app/services/order_available_payment_methods.rb b/app/services/order_available_payment_methods.rb deleted file mode 100644 index 84ea0f870f..0000000000 --- a/app/services/order_available_payment_methods.rb +++ /dev/null @@ -1,43 +0,0 @@ -# frozen_string_literal: true - -require 'open_food_network/tag_rule_applicator' - -class OrderAvailablePaymentMethods - attr_reader :order, :customer - - delegate :distributor, - :order_cycle, - to: :order - - def initialize(order, customer = nil) - @order, @customer = order, customer - end - - def to_a - return [] if distributor.blank? - - payment_methods = payment_methods_before_tag_rules_applied - - applicator = OpenFoodNetwork::TagRuleApplicator.new(distributor, - "FilterPaymentMethods", customer&.tag_list) - applicator.filter(payment_methods) - end - - private - - def payment_methods_before_tag_rules_applied - if order_cycle.nil? || order_cycle.simple? - distributor.payment_methods - else - distributor.payment_methods.where( - id: available_distributor_payment_methods_ids - ) - end.available.select(&:configured?).uniq - end - - def available_distributor_payment_methods_ids - order_cycle.distributor_payment_methods - .where(distributor_id: distributor.id) - .select(:payment_method_id) - end -end diff --git a/app/services/order_available_shipping_methods.rb b/app/services/order_available_shipping_methods.rb deleted file mode 100644 index 8cd30fd804..0000000000 --- a/app/services/order_available_shipping_methods.rb +++ /dev/null @@ -1,56 +0,0 @@ -# frozen_string_literal: true - -require 'open_food_network/tag_rule_applicator' - -class OrderAvailableShippingMethods - attr_reader :order, :customer - - delegate :distributor, :order_cycle, to: :order - - def initialize(order, customer = nil) - @order, @customer = order, customer - end - - def to_a - return [] if distributor.blank? - - filter_by_category(tag_rules.filter(shipping_methods)) - end - - private - - def filter_by_category(methods) - return methods unless OpenFoodNetwork::FeatureToggle.enabled?(:match_shipping_categories, - distributor&.owner) - - required_category_ids = order.variants.pluck(:shipping_category_id).to_set - return methods if required_category_ids.empty? - - methods.select do |method| - provided_category_ids = method.shipping_categories.pluck(:id).to_set - required_category_ids.subset?(provided_category_ids) - end - end - - def shipping_methods - if order_cycle.nil? || order_cycle.simple? - distributor.shipping_methods - else - distributor.shipping_methods.where( - id: available_distributor_shipping_methods_ids - ) - end.frontend.to_a.uniq - end - - def available_distributor_shipping_methods_ids - order_cycle.distributor_shipping_methods - .where(distributor_id: distributor.id) - .select(:shipping_method_id) - end - - def tag_rules - OpenFoodNetwork::TagRuleApplicator.new( - distributor, "FilterShippingMethods", customer&.tag_list - ) - end -end diff --git a/app/services/order_capture_service.rb b/app/services/order_capture_service.rb deleted file mode 100644 index 78e69c9a1d..0000000000 --- a/app/services/order_capture_service.rb +++ /dev/null @@ -1,22 +0,0 @@ -# frozen_string_literal: true - -# Use `authorize! :admin order` before calling this service - -class OrderCaptureService - attr_reader :gateway_error - - def initialize(order) - @order = order - @gateway_error = nil - end - - def call - return false unless @order.payment_required? - return false unless (pending_payment = @order.pending_payments.first) - - pending_payment.capture! - rescue Spree::Core::GatewayError => e - @gateway_error = e - false - end -end diff --git a/app/services/order_cart_reset.rb b/app/services/order_cart_reset.rb deleted file mode 100644 index e84fd67e88..0000000000 --- a/app/services/order_cart_reset.rb +++ /dev/null @@ -1,56 +0,0 @@ -# frozen_string_literal: false - -# Resets an order by verifying it's state and fixing any issues -class OrderCartReset - def initialize(order, distributor_id) - @order = order - @distributor ||= Enterprise.is_distributor.find_by(permalink: distributor_id) || - Enterprise.is_distributor.find(distributor_id) - end - - def reset_distributor - if order.distributor && order.distributor != distributor - order.empty! - order.set_order_cycle! nil - end - order.distributor = distributor - end - - def reset_other!(current_user, current_customer) - reset_user_and_customer(current_user) - reset_order_cycle(current_customer) - order.save! - end - - private - - attr_reader :order, :distributor, :current_user - - def reset_user_and_customer(current_user) - return unless current_user - - order.associate_user!(current_user) if order.user.blank? || order.email.blank? - end - - def reset_order_cycle(current_customer) - listed_order_cycles = Shop::OrderCyclesList.active_for(distributor, current_customer) - - if order_cycle_not_listed?(order.order_cycle, listed_order_cycles) - order.order_cycle = nil - order.empty! - end - - select_default_order_cycle(order, listed_order_cycles) - end - - def order_cycle_not_listed?(order_cycle, listed_order_cycles) - order_cycle.present? && !listed_order_cycles.include?(order_cycle) - end - - # If no OC is selected and there is only one in the list of OCs, selects it - def select_default_order_cycle(order, listed_order_cycles) - return unless order.order_cycle.blank? && listed_order_cycles.size == 1 - - order.order_cycle = listed_order_cycles.first - end -end diff --git a/app/services/order_checkout_restart.rb b/app/services/order_checkout_restart.rb deleted file mode 100644 index f43380636f..0000000000 --- a/app/services/order_checkout_restart.rb +++ /dev/null @@ -1,34 +0,0 @@ -# frozen_string_literal: true - -# Resets the passed order to cart state while clearing associated payments and shipments -class OrderCheckoutRestart - def initialize(order) - @order = order - end - - def call - return if order.cart? - - reset_state_to_cart - clear_shipments - clear_payments - - order.reload.update_order! - end - - private - - attr_reader :order - - def reset_state_to_cart - order.restart_checkout! - end - - def clear_shipments - order.shipments.with_state(:pending).destroy_all - end - - def clear_payments - order.payments.with_state(:checkout).destroy_all - end -end diff --git a/app/services/order_cycle_clone.rb b/app/services/order_cycle_clone.rb deleted file mode 100644 index 2d349a4f29..0000000000 --- a/app/services/order_cycle_clone.rb +++ /dev/null @@ -1,43 +0,0 @@ -# frozen_string_literal: true - -class OrderCycleClone - def initialize(order_cycle) - @original_order_cycle = order_cycle - end - - def create - oc = @original_order_cycle.dup - oc.name = I18n.t("models.order_cycle.cloned_order_cycle_name", order_cycle: oc.name) - oc.orders_open_at = oc.orders_close_at = oc.mails_sent = oc.processed_at = nil - oc.coordinator_fee_ids = @original_order_cycle.coordinator_fee_ids - oc.preferred_product_selection_from_coordinator_inventory_only = - @original_order_cycle.preferred_product_selection_from_coordinator_inventory_only - oc.schedule_ids = @original_order_cycle.schedule_ids - oc.save! - @original_order_cycle.exchanges.each { |e| e.clone!(oc) } - oc.selected_distributor_payment_method_ids = selected_distributor_payment_method_ids - oc.selected_distributor_shipping_method_ids = selected_distributor_shipping_method_ids - sync_subscriptions - oc.reload - end - - private - - def selected_distributor_payment_method_ids - @original_order_cycle.attachable_distributor_payment_methods.map(&:id) & - @original_order_cycle.selected_distributor_payment_method_ids - end - - def selected_distributor_shipping_method_ids - @original_order_cycle.attachable_distributor_shipping_methods.map(&:id) & - @original_order_cycle.selected_distributor_shipping_method_ids - end - - def sync_subscriptions - return unless @original_order_cycle.schedule_ids.any? - - OrderManagement::Subscriptions::ProxyOrderSyncer.new( - Subscription.where(schedule_id: @original_order_cycle.schedule_ids) - ).sync! - end -end diff --git a/app/services/order_cycle_distributed_products.rb b/app/services/order_cycle_distributed_products.rb deleted file mode 100644 index afe47b6cf7..0000000000 --- a/app/services/order_cycle_distributed_products.rb +++ /dev/null @@ -1,83 +0,0 @@ -# frozen_string_literal: true - -# Returns a (paginatable) AR object for the products or variants in stock for a given shop and OC. -# The stock-checking includes on_demand and stock level overrides from variant_overrides. -class OrderCycleDistributedProducts - def initialize(distributor, order_cycle, customer) - @distributor = distributor - @order_cycle = order_cycle - @customer = customer - end - - def products_relation - Spree::Product.where(id: stocked_products).group("spree_products.id") - end - - def variants_relation - order_cycle. - variants_distributed_by(distributor). - merge(stocked_variants_and_overrides). - select("DISTINCT spree_variants.*") - end - - private - - attr_reader :distributor, :order_cycle, :customer - - def stocked_products - order_cycle. - variants_distributed_by(distributor). - merge(stocked_variants_and_overrides). - select("DISTINCT spree_variants.product_id") - end - - def stocked_variants_and_overrides - stocked_variants = Spree::Variant. - joins("LEFT OUTER JOIN variant_overrides ON variant_overrides.variant_id = spree_variants.id - AND variant_overrides.hub_id = #{distributor.id}"). - joins(:stock_items). - where(query_stock_with_overrides) - - ProductTagRulesFilterer.new(distributor, customer, stocked_variants).call - end - - def query_stock_with_overrides - "( #{variant_not_overriden} AND ( #{variant_on_demand} OR #{variant_in_stock} ) ) - OR ( #{variant_overriden} AND ( #{override_on_demand} OR #{override_in_stock} ) ) - OR ( #{variant_overriden} AND ( #{override_on_demand_null} AND #{variant_on_demand} ) ) - OR ( #{variant_overriden} AND ( #{override_on_demand_null} - AND #{variant_not_on_demand} AND #{variant_in_stock} ) )" - end - - def variant_not_overriden - "variant_overrides.id IS NULL" - end - - def variant_overriden - "variant_overrides.id IS NOT NULL" - end - - def variant_in_stock - "spree_stock_items.count_on_hand > 0" - end - - def variant_on_demand - "spree_stock_items.backorderable IS TRUE" - end - - def variant_not_on_demand - "spree_stock_items.backorderable IS FALSE" - end - - def override_on_demand - "variant_overrides.on_demand IS TRUE" - end - - def override_in_stock - "variant_overrides.count_on_hand > 0" - end - - def override_on_demand_null - "variant_overrides.on_demand IS NULL" - end -end diff --git a/app/services/order_cycle_distributed_variants.rb b/app/services/order_cycle_distributed_variants.rb deleted file mode 100644 index 1b5c64c83e..0000000000 --- a/app/services/order_cycle_distributed_variants.rb +++ /dev/null @@ -1,22 +0,0 @@ -# frozen_string_literal: true - -class OrderCycleDistributedVariants - def initialize(order_cycle, distributor) - @order_cycle = order_cycle - @distributor = distributor - end - - def distributes_order_variants?(order) - unavailable_order_variants(order).empty? - end - - def unavailable_order_variants(order) - order.line_item_variants - available_variants - end - - def available_variants - return [] unless @order_cycle - - @order_cycle.variants_distributed_by(@distributor) - end -end diff --git a/app/services/order_cycle_form.rb b/app/services/order_cycle_form.rb deleted file mode 100644 index fbcfdf401d..0000000000 --- a/app/services/order_cycle_form.rb +++ /dev/null @@ -1,230 +0,0 @@ -# frozen_string_literal: true - -require 'open_food_network/permissions' -require 'open_food_network/order_cycle_form_applicator' - -class OrderCycleForm - def initialize(order_cycle, order_cycle_params, user) - @order_cycle = order_cycle - @order_cycle_params = order_cycle_params - @specified_params = order_cycle_params.keys - @user = user - @permissions = OpenFoodNetwork::Permissions.new(user) - @schedule_ids = order_cycle_params.delete(:schedule_ids) - @selected_distributor_payment_method_ids = order_cycle_params.delete( - :selected_distributor_payment_method_ids - ) - @selected_distributor_shipping_method_ids = order_cycle_params.delete( - :selected_distributor_shipping_method_ids - ) - end - - def save - schedule_ids = build_schedule_ids - order_cycle.assign_attributes(order_cycle_params) - return false unless order_cycle.valid? - - order_cycle.transaction do - order_cycle.save! - order_cycle.schedule_ids = schedule_ids if parameter_specified?(:schedule_ids) - order_cycle.save! - apply_exchange_changes - if can_update_selected_payment_or_shipping_methods? - attach_selected_distributor_payment_methods - attach_selected_distributor_shipping_methods - end - sync_subscriptions - true - end - rescue ActiveRecord::RecordInvalid => e - add_exception_to_order_cycle_errors(e) - false - end - - private - - attr_accessor :order_cycle, :order_cycle_params, :user, :permissions - - def add_exception_to_order_cycle_errors(exception) - error = exception.message.split(":").last.strip - order_cycle.errors.add(:base, error) if order_cycle.errors.to_a.exclude?(error) - end - - def apply_exchange_changes - return if exchanges_unchanged? - - OpenFoodNetwork::OrderCycleFormApplicator.new(order_cycle, user).go! - - # reload so outgoing exchanges are up-to-date for shipping/payment method validations - order_cycle.reload - end - - def attach_selected_distributor_payment_methods - return if @selected_distributor_payment_method_ids.nil? - - if distributor_only? - payment_method_ids = order_cycle.selected_distributor_payment_method_ids - payment_method_ids -= user_distributor_payment_method_ids - payment_method_ids += user_only_selected_distributor_payment_method_ids - order_cycle.selected_distributor_payment_method_ids = payment_method_ids - else - order_cycle.selected_distributor_payment_method_ids = selected_distributor_payment_method_ids - end - order_cycle.save! - end - - def attach_selected_distributor_shipping_methods - return if @selected_distributor_shipping_method_ids.nil? - - if distributor_only? - # A distributor can only update methods associated with their own - # enterprise, so we load all previously selected methods, and replace - # only the distributor's methods with their selection (not touching other - # distributor's methods). - shipping_method_ids = order_cycle.selected_distributor_shipping_method_ids - shipping_method_ids -= user_distributor_shipping_method_ids - shipping_method_ids += user_only_selected_distributor_shipping_method_ids - order_cycle.selected_distributor_shipping_method_ids = shipping_method_ids - else - order_cycle.selected_distributor_shipping_method_ids = - selected_distributor_shipping_method_ids - end - - order_cycle.save! - end - - def attachable_distributor_payment_method_ids - @attachable_distributor_payment_method_ids ||= - order_cycle.attachable_distributor_payment_methods.map(&:id) - end - - def attachable_distributor_shipping_method_ids - @attachable_distributor_shipping_method_ids ||= - order_cycle.attachable_distributor_shipping_methods.map(&:id) - end - - def exchanges_unchanged? - [:incoming_exchanges, :outgoing_exchanges].all? do |direction| - order_cycle_params[direction].nil? - end - end - - def selected_distributor_payment_method_ids - @selected_distributor_payment_method_ids = ( - attachable_distributor_payment_method_ids & - @selected_distributor_payment_method_ids.compact_blank.map(&:to_i) - ) - - if attachable_distributor_payment_method_ids.sort == - @selected_distributor_payment_method_ids.sort - @selected_distributor_payment_method_ids = [] - end - - @selected_distributor_payment_method_ids - end - - def user_only_selected_distributor_payment_method_ids - user_distributor_payment_method_ids.intersection(selected_distributor_payment_method_ids) - end - - def selected_distributor_shipping_method_ids - @selected_distributor_shipping_method_ids = ( - attachable_distributor_shipping_method_ids & - @selected_distributor_shipping_method_ids.compact_blank.map(&:to_i) - ) - - if attachable_distributor_shipping_method_ids.sort == - @selected_distributor_shipping_method_ids.sort - @selected_distributor_shipping_method_ids = [] - end - - @selected_distributor_shipping_method_ids - end - - def user_only_selected_distributor_shipping_method_ids - user_distributor_shipping_method_ids.intersection(selected_distributor_shipping_method_ids) - end - - def build_schedule_ids - return unless parameter_specified?(:schedule_ids) - - result = existing_schedule_ids - result |= (requested_schedule_ids & permitted_schedule_ids) # Add permitted and requested - # Remove permitted but not requested - result -= ((result & permitted_schedule_ids) - requested_schedule_ids) - result - end - - def sync_subscriptions - return unless parameter_specified?(:schedule_ids) - return unless schedule_sync_required? - - OrderManagement::Subscriptions::ProxyOrderSyncer.new(subscriptions_to_sync).sync! - end - - def schedule_sync_required? - removed_schedule_ids.any? || new_schedule_ids.any? - end - - def subscriptions_to_sync - Subscription.where(schedule_id: removed_schedule_ids + new_schedule_ids) - end - - def requested_schedule_ids - @schedule_ids.map(&:to_i) - end - - def parameter_specified?(key) - @specified_params.map(&:to_s).include?(key.to_s) - end - - def permitted_schedule_ids - Schedule.where(id: requested_schedule_ids | existing_schedule_ids) - .merge(permissions.editable_schedules).pluck(:id) - end - - def existing_schedule_ids - @existing_schedule_ids ||= order_cycle.persisted? ? order_cycle.schedule_ids : [] - end - - def removed_schedule_ids - existing_schedule_ids - order_cycle.schedule_ids - end - - def new_schedule_ids - @order_cycle.schedule_ids - existing_schedule_ids - end - - def can_update_selected_payment_or_shipping_methods? - @user.admin? || coordinator? || distributor? - end - - def coordinator? - @user.enterprises.include?(@order_cycle.coordinator) - end - - def distributor? - !user_distributors_ids.empty? - end - - def distributor_only? - distributor? && !@user.admin? && !coordinator? - end - - def user_distributors_ids - @user_distributors_ids ||= @user.enterprises.pluck(:id) - .intersection(@order_cycle.distributors.pluck(:id)) - end - - def user_distributor_payment_method_ids - @user_distributor_payment_method_ids ||= - DistributorPaymentMethod.where(distributor_id: user_distributors_ids) - .pluck(:id) - end - - def user_distributor_shipping_method_ids - @user_distributor_shipping_method_ids ||= - DistributorShippingMethod.where(distributor_id: user_distributors_ids) - .pluck(:id) - end -end diff --git a/app/services/order_cycle_warning.rb b/app/services/order_cycle_warning.rb deleted file mode 100644 index 7e7afad8d8..0000000000 --- a/app/services/order_cycle_warning.rb +++ /dev/null @@ -1,37 +0,0 @@ -# frozen_string_literal: true - -class OrderCycleWarning - def initialize(current_user) - @current_user = current_user - end - - def call - distributors = active_distributors_not_ready_for_checkout - - return if distributors.empty? - - active_distributors_not_ready_for_checkout_message(distributors) - end - - private - - attr_reader :current_user - - def active_distributors_not_ready_for_checkout - ocs = OrderCycle.managed_by(current_user).active - distributors = ocs.includes(:distributors).map(&:distributors).flatten.uniq - Enterprise.where(id: distributors.map(&:id)).not_ready_for_checkout - end - - def active_distributors_not_ready_for_checkout_message(distributors) - distributor_names = distributors.map(&:name).join ', ' - - if distributors.count > 1 - I18n.t(:active_distributors_not_ready_for_checkout_message_plural, - distributor_names:) - else - I18n.t(:active_distributors_not_ready_for_checkout_message_singular, - distributor_names:) - end - end -end diff --git a/app/services/order_cycle_webhook_service.rb b/app/services/order_cycle_webhook_service.rb deleted file mode 100644 index f2d4df152a..0000000000 --- a/app/services/order_cycle_webhook_service.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -# Create a webhook payload for an order cycle event. -# The payload will be delivered asynchronously. -class OrderCycleWebhookService - def self.create_webhook_job(order_cycle, event) - webhook_payload = order_cycle - .slice(:id, :name, :orders_open_at, :orders_close_at, :coordinator_id) - .merge(coordinator_name: order_cycle.coordinator.name) - - # Endpoints for coordinator owner - webhook_endpoints = order_cycle.coordinator.owner.webhook_endpoints - - # Plus unique endpoints for distributor owners (ignore duplicates) - webhook_endpoints |= order_cycle.distributors.map(&:owner).flat_map(&:webhook_endpoints) - - webhook_endpoints.each do |endpoint| - WebhookDeliveryJob.perform_later(endpoint.url, event, webhook_payload) - end - end -end diff --git a/app/services/order_cycles/clone_service.rb b/app/services/order_cycles/clone_service.rb new file mode 100644 index 0000000000..56e8c79247 --- /dev/null +++ b/app/services/order_cycles/clone_service.rb @@ -0,0 +1,45 @@ +# frozen_string_literal: true + +module OrderCycles + class CloneService + def initialize(order_cycle) + @original_order_cycle = order_cycle + end + + def create + oc = @original_order_cycle.dup + oc.name = I18n.t("models.order_cycle.cloned_order_cycle_name", order_cycle: oc.name) + oc.orders_open_at = oc.orders_close_at = oc.mails_sent = oc.processed_at = nil + oc.coordinator_fee_ids = @original_order_cycle.coordinator_fee_ids + oc.preferred_product_selection_from_coordinator_inventory_only = + @original_order_cycle.preferred_product_selection_from_coordinator_inventory_only + oc.schedule_ids = @original_order_cycle.schedule_ids + oc.save! + @original_order_cycle.exchanges.each { |e| e.clone!(oc) } + oc.selected_distributor_payment_method_ids = selected_distributor_payment_method_ids + oc.selected_distributor_shipping_method_ids = selected_distributor_shipping_method_ids + sync_subscriptions + oc.reload + end + + private + + def selected_distributor_payment_method_ids + @original_order_cycle.attachable_distributor_payment_methods.map(&:id) & + @original_order_cycle.selected_distributor_payment_method_ids + end + + def selected_distributor_shipping_method_ids + @original_order_cycle.attachable_distributor_shipping_methods.map(&:id) & + @original_order_cycle.selected_distributor_shipping_method_ids + end + + def sync_subscriptions + return unless @original_order_cycle.schedule_ids.any? + + OrderManagement::Subscriptions::ProxyOrderSyncer.new( + Subscription.where(schedule_id: @original_order_cycle.schedule_ids) + ).sync! + end + end +end diff --git a/app/services/order_cycles/distributed_products_service.rb b/app/services/order_cycles/distributed_products_service.rb new file mode 100644 index 0000000000..567478c7eb --- /dev/null +++ b/app/services/order_cycles/distributed_products_service.rb @@ -0,0 +1,86 @@ +# frozen_string_literal: true + +# Returns a (paginatable) AR object for the products or variants in stock for a given shop and OC. +# The stock-checking includes on_demand and stock level overrides from variant_overrides. + +module OrderCycles + class DistributedProductsService + def initialize(distributor, order_cycle, customer) + @distributor = distributor + @order_cycle = order_cycle + @customer = customer + end + + def products_relation + Spree::Product.where(id: stocked_products).group("spree_products.id") + end + + def variants_relation + order_cycle. + variants_distributed_by(distributor). + merge(stocked_variants_and_overrides). + select("DISTINCT spree_variants.*") + end + + private + + attr_reader :distributor, :order_cycle, :customer + + def stocked_products + order_cycle. + variants_distributed_by(distributor). + merge(stocked_variants_and_overrides). + select("DISTINCT spree_variants.product_id") + end + + def stocked_variants_and_overrides + stocked_variants = Spree::Variant. + joins("LEFT OUTER JOIN variant_overrides ON variant_overrides.variant_id = spree_variants.id + AND variant_overrides.hub_id = #{distributor.id}"). + joins(:stock_items). + where(query_stock_with_overrides) + + ProductTagRulesFilterer.new(distributor, customer, stocked_variants).call + end + + def query_stock_with_overrides + "( #{variant_not_overriden} AND ( #{variant_on_demand} OR #{variant_in_stock} ) ) + OR ( #{variant_overriden} AND ( #{override_on_demand} OR #{override_in_stock} ) ) + OR ( #{variant_overriden} AND ( #{override_on_demand_null} AND #{variant_on_demand} ) ) + OR ( #{variant_overriden} AND ( #{override_on_demand_null} + AND #{variant_not_on_demand} AND #{variant_in_stock} ) )" + end + + def variant_not_overriden + "variant_overrides.id IS NULL" + end + + def variant_overriden + "variant_overrides.id IS NOT NULL" + end + + def variant_in_stock + "spree_stock_items.count_on_hand > 0" + end + + def variant_on_demand + "spree_stock_items.backorderable IS TRUE" + end + + def variant_not_on_demand + "spree_stock_items.backorderable IS FALSE" + end + + def override_on_demand + "variant_overrides.on_demand IS TRUE" + end + + def override_in_stock + "variant_overrides.count_on_hand > 0" + end + + def override_on_demand_null + "variant_overrides.on_demand IS NULL" + end + end +end diff --git a/app/services/order_cycles/distributed_variants_service.rb b/app/services/order_cycles/distributed_variants_service.rb new file mode 100644 index 0000000000..cf4bb1c03f --- /dev/null +++ b/app/services/order_cycles/distributed_variants_service.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module OrderCycles + class DistributedVariantsService + def initialize(order_cycle, distributor) + @order_cycle = order_cycle + @distributor = distributor + end + + def distributes_order_variants?(order) + unavailable_order_variants(order).empty? + end + + def unavailable_order_variants(order) + order.line_item_variants - available_variants + end + + def available_variants + return [] unless @order_cycle + + @order_cycle.variants_distributed_by(@distributor) + end + end +end diff --git a/app/services/order_cycles/form_service.rb b/app/services/order_cycles/form_service.rb new file mode 100644 index 0000000000..0b2f62d988 --- /dev/null +++ b/app/services/order_cycles/form_service.rb @@ -0,0 +1,233 @@ +# frozen_string_literal: true + +require 'open_food_network/permissions' +require 'open_food_network/order_cycle_form_applicator' + +module OrderCycles + class FormService + def initialize(order_cycle, order_cycle_params, user) + @order_cycle = order_cycle + @order_cycle_params = order_cycle_params + @specified_params = order_cycle_params.keys + @user = user + @permissions = OpenFoodNetwork::Permissions.new(user) + @schedule_ids = order_cycle_params.delete(:schedule_ids) + @selected_distributor_payment_method_ids = order_cycle_params.delete( + :selected_distributor_payment_method_ids + ) + @selected_distributor_shipping_method_ids = order_cycle_params.delete( + :selected_distributor_shipping_method_ids + ) + end + + def save + schedule_ids = build_schedule_ids + order_cycle.assign_attributes(order_cycle_params) + return false unless order_cycle.valid? + + order_cycle.transaction do + order_cycle.save! + order_cycle.schedule_ids = schedule_ids if parameter_specified?(:schedule_ids) + order_cycle.save! + apply_exchange_changes + if can_update_selected_payment_or_shipping_methods? + attach_selected_distributor_payment_methods + attach_selected_distributor_shipping_methods + end + sync_subscriptions + true + end + rescue ActiveRecord::RecordInvalid => e + add_exception_to_order_cycle_errors(e) + false + end + + private + + attr_accessor :order_cycle, :order_cycle_params, :user, :permissions + + def add_exception_to_order_cycle_errors(exception) + error = exception.message.split(":").last.strip + order_cycle.errors.add(:base, error) if order_cycle.errors.to_a.exclude?(error) + end + + def apply_exchange_changes + return if exchanges_unchanged? + + OpenFoodNetwork::OrderCycleFormApplicator.new(order_cycle, user).go! + + # reload so outgoing exchanges are up-to-date for shipping/payment method validations + order_cycle.reload + end + + def attach_selected_distributor_payment_methods + return if @selected_distributor_payment_method_ids.nil? + + if distributor_only? + payment_method_ids = order_cycle.selected_distributor_payment_method_ids + payment_method_ids -= user_distributor_payment_method_ids + payment_method_ids += user_only_selected_distributor_payment_method_ids + order_cycle.selected_distributor_payment_method_ids = payment_method_ids + else + order_cycle + .selected_distributor_payment_method_ids = selected_distributor_payment_method_ids + end + order_cycle.save! + end + + def attach_selected_distributor_shipping_methods + return if @selected_distributor_shipping_method_ids.nil? + + if distributor_only? + # A distributor can only update methods associated with their own + # enterprise, so we load all previously selected methods, and replace + # only the distributor's methods with their selection (not touching other + # distributor's methods). + shipping_method_ids = order_cycle.selected_distributor_shipping_method_ids + shipping_method_ids -= user_distributor_shipping_method_ids + shipping_method_ids += user_only_selected_distributor_shipping_method_ids + order_cycle.selected_distributor_shipping_method_ids = shipping_method_ids + else + order_cycle.selected_distributor_shipping_method_ids = + selected_distributor_shipping_method_ids + end + + order_cycle.save! + end + + def attachable_distributor_payment_method_ids + @attachable_distributor_payment_method_ids ||= + order_cycle.attachable_distributor_payment_methods.map(&:id) + end + + def attachable_distributor_shipping_method_ids + @attachable_distributor_shipping_method_ids ||= + order_cycle.attachable_distributor_shipping_methods.map(&:id) + end + + def exchanges_unchanged? + [:incoming_exchanges, :outgoing_exchanges].all? do |direction| + order_cycle_params[direction].nil? + end + end + + def selected_distributor_payment_method_ids + @selected_distributor_payment_method_ids = ( + attachable_distributor_payment_method_ids & + @selected_distributor_payment_method_ids.compact_blank.map(&:to_i) + ) + + if attachable_distributor_payment_method_ids.sort == + @selected_distributor_payment_method_ids.sort + @selected_distributor_payment_method_ids = [] + end + + @selected_distributor_payment_method_ids + end + + def user_only_selected_distributor_payment_method_ids + user_distributor_payment_method_ids.intersection(selected_distributor_payment_method_ids) + end + + def selected_distributor_shipping_method_ids + @selected_distributor_shipping_method_ids = ( + attachable_distributor_shipping_method_ids & + @selected_distributor_shipping_method_ids.compact_blank.map(&:to_i) + ) + + if attachable_distributor_shipping_method_ids.sort == + @selected_distributor_shipping_method_ids.sort + @selected_distributor_shipping_method_ids = [] + end + + @selected_distributor_shipping_method_ids + end + + def user_only_selected_distributor_shipping_method_ids + user_distributor_shipping_method_ids.intersection(selected_distributor_shipping_method_ids) + end + + def build_schedule_ids + return unless parameter_specified?(:schedule_ids) + + result = existing_schedule_ids + result |= (requested_schedule_ids & permitted_schedule_ids) # Add permitted and requested + # Remove permitted but not requested + result -= ((result & permitted_schedule_ids) - requested_schedule_ids) + result + end + + def sync_subscriptions + return unless parameter_specified?(:schedule_ids) + return unless schedule_sync_required? + + OrderManagement::Subscriptions::ProxyOrderSyncer.new(subscriptions_to_sync).sync! + end + + def schedule_sync_required? + removed_schedule_ids.any? || new_schedule_ids.any? + end + + def subscriptions_to_sync + Subscription.where(schedule_id: removed_schedule_ids + new_schedule_ids) + end + + def requested_schedule_ids + @schedule_ids.map(&:to_i) + end + + def parameter_specified?(key) + @specified_params.map(&:to_s).include?(key.to_s) + end + + def permitted_schedule_ids + Schedule.where(id: requested_schedule_ids | existing_schedule_ids) + .merge(permissions.editable_schedules).pluck(:id) + end + + def existing_schedule_ids + @existing_schedule_ids ||= order_cycle.persisted? ? order_cycle.schedule_ids : [] + end + + def removed_schedule_ids + existing_schedule_ids - order_cycle.schedule_ids + end + + def new_schedule_ids + @order_cycle.schedule_ids - existing_schedule_ids + end + + def can_update_selected_payment_or_shipping_methods? + @user.admin? || coordinator? || distributor? + end + + def coordinator? + @user.enterprises.include?(@order_cycle.coordinator) + end + + def distributor? + !user_distributors_ids.empty? + end + + def distributor_only? + distributor? && !@user.admin? && !coordinator? + end + + def user_distributors_ids + @user_distributors_ids ||= @user.enterprises.pluck(:id) + .intersection(@order_cycle.distributors.pluck(:id)) + end + + def user_distributor_payment_method_ids + @user_distributor_payment_method_ids ||= + DistributorPaymentMethod.where(distributor_id: user_distributors_ids) + .pluck(:id) + end + + def user_distributor_shipping_method_ids + @user_distributor_shipping_method_ids ||= + DistributorShippingMethod.where(distributor_id: user_distributors_ids) + .pluck(:id) + end + end +end diff --git a/app/services/order_cycles/warning_service.rb b/app/services/order_cycles/warning_service.rb new file mode 100644 index 0000000000..35859424d0 --- /dev/null +++ b/app/services/order_cycles/warning_service.rb @@ -0,0 +1,39 @@ +# frozen_string_literal: true + +module OrderCycles + class WarningService + def initialize(current_user) + @current_user = current_user + end + + def call + distributors = active_distributors_not_ready_for_checkout + + return if distributors.empty? + + active_distributors_not_ready_for_checkout_message(distributors) + end + + private + + attr_reader :current_user + + def active_distributors_not_ready_for_checkout + ocs = OrderCycle.managed_by(current_user).active + distributors = ocs.includes(:distributors).map(&:distributors).flatten.uniq + Enterprise.where(id: distributors.map(&:id)).not_ready_for_checkout + end + + def active_distributors_not_ready_for_checkout_message(distributors) + distributor_names = distributors.map(&:name).join ', ' + + if distributors.count > 1 + I18n.t(:active_distributors_not_ready_for_checkout_message_plural, + distributor_names:) + else + I18n.t(:active_distributors_not_ready_for_checkout_message_singular, + distributor_names:) + end + end + end +end diff --git a/app/services/order_cycles/webhook_service.rb b/app/services/order_cycles/webhook_service.rb new file mode 100644 index 0000000000..f12c94ea1b --- /dev/null +++ b/app/services/order_cycles/webhook_service.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +# Create a webhook payload for an order cycle event. +# The payload will be delivered asynchronously. + +module OrderCycles + class WebhookService + def self.create_webhook_job(order_cycle, event) + webhook_payload = order_cycle + .slice(:id, :name, :orders_open_at, :orders_close_at, :coordinator_id) + .merge(coordinator_name: order_cycle.coordinator.name) + + # Endpoints for coordinator owner + webhook_endpoints = order_cycle.coordinator.owner.webhook_endpoints + + # Plus unique endpoints for distributor owners (ignore duplicates) + webhook_endpoints |= order_cycle.distributors.map(&:owner).flat_map(&:webhook_endpoints) + + webhook_endpoints.each do |endpoint| + WebhookDeliveryJob.perform_later(endpoint.url, event, webhook_payload) + end + end + end +end diff --git a/app/services/order_data_masker.rb b/app/services/order_data_masker.rb deleted file mode 100644 index e5ae198332..0000000000 --- a/app/services/order_data_masker.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -class OrderDataMasker - def initialize(order) - @order = order - end - - def call - mask_customer_names unless customer_names_allowed? - mask_contact_data - end - - private - - attr_accessor :order - - def customer_names_allowed? - order.distributor.show_customer_names_to_suppliers - end - - def mask_customer_names - order.bill_address&.assign_attributes(firstname: I18n.t('admin.reports.hidden'), - lastname: "") - order.ship_address&.assign_attributes(firstname: I18n.t('admin.reports.hidden'), - lastname: "") - end - - def mask_contact_data - order.bill_address&.assign_attributes(phone: "", address1: "", address2: "", - city: "", zipcode: "", state: nil) - order.ship_address&.assign_attributes(phone: "", address1: "", address2: "", - city: "", zipcode: "", state: nil) - order.assign_attributes(email: I18n.t('admin.reports.hidden')) - end -end diff --git a/app/services/order_factory.rb b/app/services/order_factory.rb deleted file mode 100644 index 077dbac288..0000000000 --- a/app/services/order_factory.rb +++ /dev/null @@ -1,97 +0,0 @@ -# frozen_string_literal: true - -require 'open_food_network/scope_variant_to_hub' - -# Builds orders based on a set of attributes -# There are some idiosyncracies in the order creation process, -# and it is nice to have them dealt with in one place. - -class OrderFactory - def initialize(attrs, opts = {}) - @attrs = attrs.with_indifferent_access - @opts = opts.with_indifferent_access - end - - def create - create_order - set_user - build_line_items - set_addresses - create_shipment - set_shipping_method - create_payment - - @order - end - - private - - attr_reader :attrs, :opts - - def customer - @customer ||= Customer.find(attrs[:customer_id]) - end - - def shop - @shop ||= Enterprise.find(attrs[:distributor_id]) - end - - def create_order - @order = Spree::Order.create!(create_attrs) - end - - def create_attrs - create_attrs = attrs.slice(:customer_id, :order_cycle_id, :distributor_id) - create_attrs[:email] = customer.email - create_attrs - end - - def build_line_items - attrs[:line_items].each do |li| - next unless variant = Spree::Variant.find_by(id: li[:variant_id]) - - scoper.scope(variant) - li[:quantity] = stock_limited_quantity(variant.on_demand, variant.on_hand, li[:quantity]) - li[:price] = variant.price - build_item_from(li) - end - end - - def build_item_from(attrs) - @order.line_items.build( - attrs.merge(skip_stock_check: opts[:skip_stock_check]) - ) - end - - def set_user - @order.update_attribute(:user_id, customer.user_id) - end - - def set_addresses - @order.update(attrs.slice(:bill_address_attributes, :ship_address_attributes)) - end - - def create_shipment - @order.create_proposed_shipments - end - - def set_shipping_method - @order.select_shipping_method(attrs[:shipping_method_id]) - end - - def create_payment - @order.recreate_all_fees! - @order.payments.create(payment_method_id: attrs[:payment_method_id], - amount: @order.reload.total) - end - - def stock_limited_quantity(variant_on_demand, variant_on_hand, requested) - return requested if opts[:skip_stock_check] || variant_on_demand - - [variant_on_hand, requested].min - end - - def scoper - @scoper ||= OpenFoodNetwork::ScopeVariantToHub.new(shop) - end -end diff --git a/app/services/order_fees_handler.rb b/app/services/order_fees_handler.rb deleted file mode 100644 index 47be2c9903..0000000000 --- a/app/services/order_fees_handler.rb +++ /dev/null @@ -1,68 +0,0 @@ -# frozen_string_literal: true - -class OrderFeesHandler - attr_reader :order - - delegate :distributor, :order_cycle, to: :order - - def initialize(order) - @order = order - end - - def recreate_all_fees! - # `with_lock` acquires an exclusive row lock on order so no other - # requests can update it until the transaction is commited. - # See https://github.com/rails/rails/blob/3-2-stable/activerecord/lib/active_record/locking/pessimistic.rb#L69 - # and https://www.postgresql.org/docs/current/static/sql-select.html#SQL-FOR-UPDATE-SHARE - order.with_lock do - EnterpriseFee.clear_all_adjustments order - - create_line_item_fees! - create_order_fees! - end - - tax_enterprise_fees! unless order.before_payment_state? - order.update_order! - end - - def create_line_item_fees! - order.line_items.includes(variant: :product).each do |line_item| - if provided_by_order_cycle? line_item - calculator.create_line_item_adjustments_for line_item - end - end - end - - def create_order_fees! - return unless order_cycle - - calculator.create_order_adjustments_for order - end - - def tax_enterprise_fees! - Spree::TaxRate.adjust(order, order.all_adjustments.enterprise_fee) - end - - def update_line_item_fees!(line_item) - line_item.adjustments.enterprise_fee.each do |fee| - fee.update_adjustment!(line_item, force: true) - end - end - - def update_order_fees! - order.adjustments.enterprise_fee.where(adjustable_type: 'Spree::Order').each do |fee| - fee.update_adjustment!(order, force: true) - end - end - - private - - def calculator - @calculator ||= OpenFoodNetwork::EnterpriseFeeCalculator.new(distributor, order_cycle) - end - - def provided_by_order_cycle?(line_item) - @order_cycle_variant_ids ||= order_cycle&.variants&.map(&:id) || [] - @order_cycle_variant_ids.include? line_item.variant_id - end -end diff --git a/app/services/order_invoice_comparator.rb b/app/services/order_invoice_comparator.rb deleted file mode 100644 index d306a972ce..0000000000 --- a/app/services/order_invoice_comparator.rb +++ /dev/null @@ -1,86 +0,0 @@ -# frozen_string_literal: true - -class OrderInvoiceComparator - attr_reader :order - - def initialize(order) - @order = order - end - - def can_generate_new_invoice? - return true if invoices.empty? - - # We'll use a recursive BFS algorithm to find if the invoice is outdated - # the root will be the order - # On each node, we'll a list of relevant attributes that will be used on the comparison - different?(current_state_invoice, latest_invoice, invoice_generation_selector) - end - - def can_update_latest_invoice? - return false if invoices.empty? - - different?(current_state_invoice, latest_invoice, invoice_update_selector) - end - - private - - def different?(node1, node2, attributes_selector) - simple_values1, presenters1 = attributes_selector.call(node1) - simple_values2, presenters2 = attributes_selector.call(node2) - return true if simple_values1 != simple_values2 - - return true if presenters1.size != presenters2.size - - presenters1.zip(presenters2).any? do |presenter1, presenter2| - different?(presenter1, presenter2, attributes_selector) - end - end - - def invoice_generation_selector - values_selector(:invoice_generation_values) - end - - def invoice_update_selector - values_selector(:invoice_update_values) - end - - def values_selector(attribute) - proc do |node| - return [[], []] unless node.respond_to?(attribute) - - grouped = node.public_send(attribute).group_by(&grouper) - [grouped[:simple] || [], grouped[:presenters]&.flatten || []] - end - end - - def grouper - proc do |value| - if value.is_a?(Array) || value.class.to_s.starts_with?("Invoice::DataPresenter") - :presenters - else - :simple - end - end - end - - def current_state_invoice - @current_state_invoice ||= Invoice.new( - order:, - data: serialize_for_invoice, - date: Time.zone.today, - number: invoices.count + 1 - ).presenter - end - - def invoices - order.invoices - end - - def latest_invoice - @latest_invoice ||= invoices.first.presenter - end - - def serialize_for_invoice - InvoiceDataGenerator.new(order).serialize_for_invoice - end -end diff --git a/app/services/order_invoice_generator.rb b/app/services/order_invoice_generator.rb deleted file mode 100644 index 1d91fec8da..0000000000 --- a/app/services/order_invoice_generator.rb +++ /dev/null @@ -1,38 +0,0 @@ -# frozen_string_literal: true - -class OrderInvoiceGenerator - def initialize(order) - @order = order - end - - def generate_or_update_latest_invoice - if comparator.can_generate_new_invoice? - order.invoices.create!( - date: Time.zone.today, - number: total_invoices_created_by_distributor + 1, - data: invoice_data - ) - elsif comparator.can_update_latest_invoice? - order.invoices.latest.update!( - date: Time.zone.today, - data: invoice_data - ) - end - end - - private - - attr_reader :order - - def comparator - @comparator ||= OrderInvoiceComparator.new(order) - end - - def invoice_data - @invoice_data ||= InvoiceDataGenerator.new(order).generate - end - - def total_invoices_created_by_distributor - Invoice.joins(:order).where(order: { distributor: order.distributor }).count - end -end diff --git a/app/services/order_payment_finder.rb b/app/services/order_payment_finder.rb deleted file mode 100644 index 54b19654a3..0000000000 --- a/app/services/order_payment_finder.rb +++ /dev/null @@ -1,28 +0,0 @@ -# frozen_string_literal: true - -class OrderPaymentFinder - def initialize(order) - @order = order - end - - def last_payment - last(@order.payments) - end - - def last_pending_payment - last(@order.pending_payments) - end - - private - - # `max_by` avoids additional database queries when payments are loaded - # already. There is usually only one payment and this shouldn't cause - # any overhead compared to `order(:created_at).last`. Using `last` - # without order is not deterministic. - # - # We are not using `updated_at` because all payments are touched when the - # order is updated and then all payments have the same `updated_at` value. - def last(payments) - payments.max_by(&:created_at) - end -end diff --git a/app/services/order_syncer.rb b/app/services/order_syncer.rb deleted file mode 100644 index 83ed767426..0000000000 --- a/app/services/order_syncer.rb +++ /dev/null @@ -1,138 +0,0 @@ -# frozen_string_literal: true - -# Responsible for ensuring that any updates to a Subscription are propagated to any -# orders belonging to that Subscription which have been instantiated -class OrderSyncer - attr_reader :order_update_issues - - def initialize(subscription) - @subscription = subscription - @order_update_issues = OrderUpdateIssues.new - @line_item_syncer = LineItemSyncer.new(subscription, order_update_issues) - end - - def sync! - orders_in_order_cycles_not_closed.all? do |order| - order.assign_attributes(customer_id:, email: customer&.email, - distributor_id: shop_id) - update_associations_for(order) - line_item_syncer.sync!(order) - order.update_order! - order.save - end - end - - private - - attr_reader :subscription, :line_item_syncer - - delegate :orders, :bill_address, :ship_address, :subscription_line_items, to: :subscription - delegate :shop_id, :customer, :customer_id, to: :subscription - delegate :shipping_method, :shipping_method_id, - :payment_method, :payment_method_id, to: :subscription - delegate :shipping_method_id_changed?, :shipping_method_id_was, to: :subscription - delegate :payment_method_id_changed?, :payment_method_id_was, to: :subscription - - def update_associations_for(order) - update_bill_address_for(order) if (bill_address.changes.keys & relevant_address_attrs).any? - update_shipment_for(order) if shipping_method_id_changed? - update_ship_address_for(order) - update_payment_for(order) if payment_method_id_changed? - end - - def orders_in_order_cycles_not_closed - return @orders_in_order_cycles_not_closed unless @orders_in_order_cycles_not_closed.nil? - - @orders_in_order_cycles_not_closed = orders.joins(:order_cycle). - merge(OrderCycle.not_closed).readonly(false) - end - - def update_bill_address_for(order) - unless addresses_match?(order.bill_address, bill_address) - return order_update_issues.add(order, I18n.t('bill_address')) - end - - order.bill_address.update(bill_address.attributes.slice(*relevant_address_attrs)) - end - - def update_payment_for(order) - payment = order.payments. - with_state('checkout').where(payment_method_id: payment_method_id_was).last - if payment - payment&.void_transaction! - order.payments.create(payment_method_id:, amount: order.reload.total) - else - unless order.payments.with_state('checkout').where(payment_method_id:).any? - order_update_issues.add(order, I18n.t('admin.payment_method')) - end - end - end - - def update_shipment_for(order) - return if pending_shipment_with?(order, shipping_method_id) # No need to do anything. - - if pending_shipment_with?(order, shipping_method_id_was) - order.select_shipping_method(shipping_method_id) - else - order_update_issues.add(order, I18n.t('admin.shipping_method')) - end - end - - def update_ship_address_for(order) - # The conditions here are to achieve the same behaviour in earlier versions of Spree, where - # switching from pick-up to delivery affects whether simultaneous changes to shipping address - # are ignored or not. - pickup_to_delivery = force_ship_address_required?(order) - if (!pickup_to_delivery || order.shipment.present?) && - (ship_address.changes.keys & relevant_address_attrs).any? - save_ship_address_in_order(order) - end - return unless !pickup_to_delivery || order.shipment.blank? - - order.updater.shipping_address_from_distributor - end - - def relevant_address_attrs - ["firstname", "lastname", "address1", "zipcode", "city", "state_id", "country_id", "phone"] - end - - def addresses_match?(order_address, subscription_address) - relevant_address_attrs.all? do |attr| - order_address[attr] == subscription_address.public_send("#{attr}_was") || - order_address[attr] == subscription_address[attr] - end - end - - def ship_address_updatable?(order) - return true if force_ship_address_required?(order) - return false unless order.shipping_method.require_ship_address? - return true if addresses_match?(order.ship_address, ship_address) - - order_update_issues.add(order, I18n.t('ship_address')) - false - end - - # This returns true when the shipping method on the subscription has changed - # to a delivery (ie. a shipping address is required) AND the existing shipping - # address on the order matches the shop's address - def force_ship_address_required?(order) - return false unless shipping_method.require_ship_address? - - distributor_address = order.address_from_distributor - relevant_address_attrs.all? do |attr| - order.ship_address[attr] == distributor_address[attr] - end - end - - def save_ship_address_in_order(order) - return unless ship_address_updatable?(order) - - order.ship_address.update(ship_address.attributes.slice(*relevant_address_attrs)) - end - - def pending_shipment_with?(order, shipping_method_id) - return false unless order.shipment.present? && order.shipment.state == "pending" - - order.shipping_method.id == shipping_method_id - end -end diff --git a/app/services/order_tax_adjustments_fetcher.rb b/app/services/order_tax_adjustments_fetcher.rb deleted file mode 100644 index 72a20a2257..0000000000 --- a/app/services/order_tax_adjustments_fetcher.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -# Collects Tax Adjustments related to an order, and returns a hash with a total for each rate. - -class OrderTaxAdjustmentsFetcher - def initialize(order) - @order = order - end - - def totals(tax_adjustments = order.all_adjustments.tax) - tax_adjustments.each_with_object({}) do |adjustment, hash| - tax_rate = adjustment.originator - hash[tax_rate] = hash[tax_rate].to_f + adjustment.amount - end - end - - private - - attr_reader :order -end diff --git a/app/services/order_update_issues.rb b/app/services/order_update_issues.rb deleted file mode 100644 index bcdf3c644e..0000000000 --- a/app/services/order_update_issues.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -# Wrapper for a hash of issues encountered by instances of OrderSyncer and LineItemSyncer -# Used to report issues to the user when they attempt to update a subscription - -class OrderUpdateIssues - def initialize - @issues = {} - end - - delegate :[], :keys, to: :issues - - def add(order, issue) - @issues[order.id] ||= [] - @issues[order.id] << issue - end - - private - - attr_reader :issues -end diff --git a/app/services/order_workflow.rb b/app/services/order_workflow.rb deleted file mode 100644 index 815f3e1ee4..0000000000 --- a/app/services/order_workflow.rb +++ /dev/null @@ -1,95 +0,0 @@ -# frozen_string_literal: true - -class OrderWorkflow - attr_reader :order - - def initialize(order) - @order = order - end - - def complete - advance_to_state("complete", advance_order_options) - end - - def complete! - advance_order!(advance_order_options) - end - - def next(options = {}) - result = advance_order_one_step - - after_transition_hook(options) - - result - end - - def advance_to_payment - return unless order.before_payment_state? - - advance_to_state("payment", advance_order_options) - end - - def advance_checkout(options = {}) - advance_to = order.before_payment_state? ? "payment" : "confirmation" - - advance_to_state(advance_to, advance_order_options.merge(options)) - end - - private - - def advance_order_options - shipping_method_id = order.shipping_method.id if order.shipping_method.present? - { "shipping_method_id" => shipping_method_id } - end - - def advance_to_state(target_state, options = {}) - until order.state == target_state - break unless order.next - - after_transition_hook(options) - end - - order.state == target_state - end - - def advance_order!(options) - until order.completed? - order.next! - after_transition_hook(options) - end - end - - def advance_order_one_step - tries ||= 3 - order.next - rescue ActiveRecord::StaleObjectError - retry unless (tries -= 1).zero? - false - end - - def after_transition_hook(options) - if order.state == "delivery" - order.select_shipping_method(options["shipping_method_id"]) - end - - persist_all_payments if order.state == "payment" - end - - # When a payment fails, the order state machine stays in 'payment' and rollbacks all transactions - # This rollback also reverts the payment state from 'failed', 'void' or 'invalid' to 'pending' - # Despite the rollback, the in-memory payment still has the correct state, so we persist it - def persist_all_payments - order.payments.each do |payment| - in_memory_payment_state = payment.state - if different_from_db_payment_state?(in_memory_payment_state, payment.id) - payment.reload.update(state: in_memory_payment_state) - end - end - end - - # Verifies if the in-memory payment state is different from the one stored in the database - # This is be done without reloading the payment so that in-memory data is not changed - def different_from_db_payment_state?(in_memory_payment_state, payment_id) - in_memory_payment_state != Spree::Payment.find(payment_id).state - end -end diff --git a/app/services/orders/available_payment_methods_service.rb b/app/services/orders/available_payment_methods_service.rb new file mode 100644 index 0000000000..86b58ffc14 --- /dev/null +++ b/app/services/orders/available_payment_methods_service.rb @@ -0,0 +1,45 @@ +# frozen_string_literal: true + +require 'open_food_network/tag_rule_applicator' + +module Orders + class AvailablePaymentMethodsService + attr_reader :order, :customer + + delegate :distributor, + :order_cycle, + to: :order + + def initialize(order, customer = nil) + @order, @customer = order, customer + end + + def to_a + return [] if distributor.blank? + + payment_methods = payment_methods_before_tag_rules_applied + + applicator = OpenFoodNetwork::TagRuleApplicator + .new(distributor, "FilterPaymentMethods", customer&.tag_list) + applicator.filter(payment_methods) + end + + private + + def payment_methods_before_tag_rules_applied + if order_cycle.nil? || order_cycle.simple? + distributor.payment_methods + else + distributor.payment_methods.where( + id: available_distributor_payment_methods_ids + ) + end.available.select(&:configured?).uniq + end + + def available_distributor_payment_methods_ids + order_cycle.distributor_payment_methods + .where(distributor_id: distributor.id) + .select(:payment_method_id) + end + end +end diff --git a/app/services/orders/available_shipping_methods_service.rb b/app/services/orders/available_shipping_methods_service.rb new file mode 100644 index 0000000000..f264c2cca6 --- /dev/null +++ b/app/services/orders/available_shipping_methods_service.rb @@ -0,0 +1,58 @@ +# frozen_string_literal: true + +require 'open_food_network/tag_rule_applicator' + +module Orders + class AvailableShippingMethodsService + attr_reader :order, :customer + + delegate :distributor, :order_cycle, to: :order + + def initialize(order, customer = nil) + @order, @customer = order, customer + end + + def to_a + return [] if distributor.blank? + + filter_by_category(tag_rules.filter(shipping_methods)) + end + + private + + def filter_by_category(methods) + return methods unless OpenFoodNetwork::FeatureToggle.enabled?(:match_shipping_categories, + distributor&.owner) + + required_category_ids = order.variants.pluck(:shipping_category_id).to_set + return methods if required_category_ids.empty? + + methods.select do |method| + provided_category_ids = method.shipping_categories.pluck(:id).to_set + required_category_ids.subset?(provided_category_ids) + end + end + + def shipping_methods + if order_cycle.nil? || order_cycle.simple? + distributor.shipping_methods + else + distributor.shipping_methods.where( + id: available_distributor_shipping_methods_ids + ) + end.frontend.to_a.uniq + end + + def available_distributor_shipping_methods_ids + order_cycle.distributor_shipping_methods + .where(distributor_id: distributor.id) + .select(:shipping_method_id) + end + + def tag_rules + OpenFoodNetwork::TagRuleApplicator.new( + distributor, "FilterShippingMethods", customer&.tag_list + ) + end + end +end diff --git a/app/services/orders/bulk_cancel_service.rb b/app/services/orders/bulk_cancel_service.rb new file mode 100644 index 0000000000..fd2e867dcd --- /dev/null +++ b/app/services/orders/bulk_cancel_service.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Orders + class BulkCancelService + def initialize(params, current_user) + @order_ids = params[:bulk_ids] + @current_user = current_user + @send_cancellation_email = params[:send_cancellation_email] + @restock_items = params[:restock_items] + end + + def call + editable_orders.where(id: @order_ids).each do |order| + order.send_cancellation_email = @send_cancellation_email + order.restock_items = @restock_items + order.cancel + end + end + + private + + def editable_orders + Permissions::Order.new(@current_user).editable_orders + end + end +end diff --git a/app/services/orders/capture_service.rb b/app/services/orders/capture_service.rb new file mode 100644 index 0000000000..abdcbb9f0a --- /dev/null +++ b/app/services/orders/capture_service.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +# Use `authorize! :admin order` before calling this service + +module Orders + class CaptureService + attr_reader :gateway_error + + def initialize(order) + @order = order + @gateway_error = nil + end + + def call + return false unless @order.payment_required? + return false unless (pending_payment = @order.pending_payments.first) + + pending_payment.capture! + rescue Spree::Core::GatewayError => e + @gateway_error = e + false + end + end +end diff --git a/app/services/orders/cart_reset_service.rb b/app/services/orders/cart_reset_service.rb new file mode 100644 index 0000000000..418b386aa7 --- /dev/null +++ b/app/services/orders/cart_reset_service.rb @@ -0,0 +1,59 @@ +# frozen_string_literal: false + +# Resets an order by verifying it's state and fixing any issues + +module Orders + class CartResetService + def initialize(order, distributor_id) + @order = order + @distributor ||= Enterprise.is_distributor.find_by(permalink: distributor_id) || + Enterprise.is_distributor.find(distributor_id) + end + + def reset_distributor + if order.distributor && order.distributor != distributor + order.empty! + order.set_order_cycle! nil + end + order.distributor = distributor + end + + def reset_other!(current_user, current_customer) + reset_user_and_customer(current_user) + reset_order_cycle(current_customer) + order.save! + end + + private + + attr_reader :order, :distributor, :current_user + + def reset_user_and_customer(current_user) + return unless current_user + + order.associate_user!(current_user) if order.user.blank? || order.email.blank? + end + + def reset_order_cycle(current_customer) + listed_order_cycles = Shop::OrderCyclesList.active_for(distributor, current_customer) + + if order_cycle_not_listed?(order.order_cycle, listed_order_cycles) + order.order_cycle = nil + order.empty! + end + + select_default_order_cycle(order, listed_order_cycles) + end + + def order_cycle_not_listed?(order_cycle, listed_order_cycles) + order_cycle.present? && listed_order_cycles.exclude?(order_cycle) + end + + # If no OC is selected and there is only one in the list of OCs, selects it + def select_default_order_cycle(order, listed_order_cycles) + return unless order.order_cycle.blank? && listed_order_cycles.size == 1 + + order.order_cycle = listed_order_cycles.first + end + end +end diff --git a/app/services/orders/checkout_restart_service.rb b/app/services/orders/checkout_restart_service.rb new file mode 100644 index 0000000000..793d8a7efe --- /dev/null +++ b/app/services/orders/checkout_restart_service.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +# Resets the passed order to cart state while clearing associated payments and shipments + +module Orders + class CheckoutRestartService + def initialize(order) + @order = order + end + + def call + return if order.cart? + + reset_state_to_cart + clear_shipments + clear_payments + + order.reload.update_order! + end + + private + + attr_reader :order + + def reset_state_to_cart + order.restart_checkout! + end + + def clear_shipments + order.shipments.with_state(:pending).destroy_all + end + + def clear_payments + order.payments.with_state(:checkout).destroy_all + end + end +end diff --git a/app/services/orders/compare_invoice_service.rb b/app/services/orders/compare_invoice_service.rb new file mode 100644 index 0000000000..797506d21c --- /dev/null +++ b/app/services/orders/compare_invoice_service.rb @@ -0,0 +1,88 @@ +# frozen_string_literal: true + +module Orders + class CompareInvoiceService + attr_reader :order + + def initialize(order) + @order = order + end + + def can_generate_new_invoice? + return true if invoices.empty? + + # We'll use a recursive BFS algorithm to find if the invoice is outdated + # the root will be the order + # On each node, we'll a list of relevant attributes that will be used on the comparison + different?(current_state_invoice, latest_invoice, invoice_generation_selector) + end + + def can_update_latest_invoice? + return false if invoices.empty? + + different?(current_state_invoice, latest_invoice, invoice_update_selector) + end + + private + + def different?(node1, node2, attributes_selector) + simple_values1, presenters1 = attributes_selector.call(node1) + simple_values2, presenters2 = attributes_selector.call(node2) + return true if simple_values1 != simple_values2 + + return true if presenters1.size != presenters2.size + + presenters1.zip(presenters2).any? do |presenter1, presenter2| + different?(presenter1, presenter2, attributes_selector) + end + end + + def invoice_generation_selector + values_selector(:invoice_generation_values) + end + + def invoice_update_selector + values_selector(:invoice_update_values) + end + + def values_selector(attribute) + proc do |node| + return [[], []] unless node.respond_to?(attribute) + + grouped = node.public_send(attribute).group_by(&grouper) + [grouped[:simple] || [], grouped[:presenters]&.flatten || []] + end + end + + def grouper + proc do |value| + if value.is_a?(Array) || value.class.to_s.starts_with?("Invoice::DataPresenter") + :presenters + else + :simple + end + end + end + + def current_state_invoice + @current_state_invoice ||= Invoice.new( + order:, + data: serialize_for_invoice, + date: Time.zone.today, + number: invoices.count + 1 + ).presenter + end + + def invoices + order.invoices + end + + def latest_invoice + @latest_invoice ||= invoices.first.presenter + end + + def serialize_for_invoice + InvoiceDataGenerator.new(order).serialize_for_invoice + end + end +end diff --git a/app/services/orders/customer_cancellation_service.rb b/app/services/orders/customer_cancellation_service.rb new file mode 100644 index 0000000000..7385139db0 --- /dev/null +++ b/app/services/orders/customer_cancellation_service.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Orders + class CustomerCancellationService + def initialize(order) + @order = order + end + + def call + return unless order.cancel + + Spree::OrderMailer.cancel_email_for_shop(order).deliver_later + end + + private + + attr_reader :order + end +end diff --git a/app/services/orders/factory_service.rb b/app/services/orders/factory_service.rb new file mode 100644 index 0000000000..eef377734b --- /dev/null +++ b/app/services/orders/factory_service.rb @@ -0,0 +1,99 @@ +# frozen_string_literal: true + +require 'open_food_network/scope_variant_to_hub' + +# Builds orders based on a set of attributes +# There are some idiosyncracies in the order creation process, +# and it is nice to have them dealt with in one place. + +module Orders + class FactoryService + def initialize(attrs, opts = {}) + @attrs = attrs.with_indifferent_access + @opts = opts.with_indifferent_access + end + + def create + create_order + set_user + build_line_items + set_addresses + create_shipment + set_shipping_method + create_payment + + @order + end + + private + + attr_reader :attrs, :opts + + def customer + @customer ||= Customer.find(attrs[:customer_id]) + end + + def shop + @shop ||= Enterprise.find(attrs[:distributor_id]) + end + + def create_order + @order = Spree::Order.create!(create_attrs) + end + + def create_attrs + create_attrs = attrs.slice(:customer_id, :order_cycle_id, :distributor_id) + create_attrs[:email] = customer.email + create_attrs + end + + def build_line_items + attrs[:line_items].each do |li| + next unless variant = Spree::Variant.find_by(id: li[:variant_id]) + + scoper.scope(variant) + li[:quantity] = stock_limited_quantity(variant.on_demand, variant.on_hand, li[:quantity]) + li[:price] = variant.price + build_item_from(li) + end + end + + def build_item_from(attrs) + @order.line_items.build( + attrs.merge(skip_stock_check: opts[:skip_stock_check]) + ) + end + + def set_user + @order.update_attribute(:user_id, customer.user_id) + end + + def set_addresses + @order.update(attrs.slice(:bill_address_attributes, :ship_address_attributes)) + end + + def create_shipment + @order.create_proposed_shipments + end + + def set_shipping_method + @order.select_shipping_method(attrs[:shipping_method_id]) + end + + def create_payment + @order.recreate_all_fees! + @order.payments.create(payment_method_id: attrs[:payment_method_id], + amount: @order.reload.total) + end + + def stock_limited_quantity(variant_on_demand, variant_on_hand, requested) + return requested if opts[:skip_stock_check] || variant_on_demand + + [variant_on_hand, requested].min + end + + def scoper + @scoper ||= OpenFoodNetwork::ScopeVariantToHub.new(shop) + end + end +end diff --git a/app/services/orders/fetch_adjustments_service.rb b/app/services/orders/fetch_adjustments_service.rb new file mode 100644 index 0000000000..8cb3d76c41 --- /dev/null +++ b/app/services/orders/fetch_adjustments_service.rb @@ -0,0 +1,81 @@ +# frozen_string_literal: true + +# This service allows orders with eager-loaded adjustment objects to calculate various adjustment +# types without triggering additional queries. +# +# For example; `order.adjustments.shipping.sum(:amount)` would normally trigger a new query +# regardless of whether or not adjustments have been preloaded, as `#shipping` is an adjustment +# scope, eg; `scope :shipping, where(originator_type: 'Spree::ShippingMethod')`. +# +# Here the adjustment scopes are moved to a shared module, and `adjustments.loaded?` is used to +# check if the objects have already been fetched and initialized. If they have, `order.adjustments` +# will be an Array, and we can select the required objects without hitting the database. If not, it +# will fetch the adjustments via their scopes as normal. + +module Orders + class FetchAdjustmentsService + include AdjustmentScopes + + def initialize(order) + @order = order + end + + def admin_and_handling_total + admin_and_handling_fees.map(&:amount).sum + end + + def payment_fee + sum_adjustments "payment_fee" + end + + def ship_total + sum_adjustments "shipping" + end + + private + + attr_reader :order + + def adjustments + order.all_adjustments + end + + def adjustments_eager_loaded? + adjustments.loaded? + end + + def sum_adjustments(scope) + collect_adjustments(scope).map(&:amount).sum + end + + def collect_adjustments(scope) + if adjustments_eager_loaded? + adjustment_scope = public_send("#{scope}_scope") + + # Adjustments are already loaded here, this block is using `Array#select` + adjustments.select do |adjustment| + match_by_scope(adjustment, adjustment_scope) && match_by_scope(adjustment, eligible_scope) + end + else + adjustments.where(nil).eligible.public_send scope + end + end + + def admin_and_handling_fees + if adjustments_eager_loaded? + adjustments.select do |adjustment| + match_by_scope(adjustment, eligible_scope) && + adjustment.originator_type == 'EnterpriseFee' && + adjustment.adjustable_type != 'Spree::LineItem' + end + else + adjustments.eligible. + where("originator_type = ? AND adjustable_type != ?", 'EnterpriseFee', 'Spree::LineItem') + end + end + + def match_by_scope(adjustment, scope) + adjustment.public_send(scope.keys.first) == scope.values.first + end + end +end diff --git a/app/services/orders/fetch_tax_adjustments_service.rb b/app/services/orders/fetch_tax_adjustments_service.rb new file mode 100644 index 0000000000..0aef4cc319 --- /dev/null +++ b/app/services/orders/fetch_tax_adjustments_service.rb @@ -0,0 +1,22 @@ +# frozen_string_literal: true + +# Collects Tax Adjustments related to an order, and returns a hash with a total for each rate. + +module Orders + class FetchTaxAdjustmentsService + def initialize(order) + @order = order + end + + def totals(tax_adjustments = order.all_adjustments.tax) + tax_adjustments.each_with_object({}) do |adjustment, hash| + tax_rate = adjustment.originator + hash[tax_rate] = hash[tax_rate].to_f + adjustment.amount + end + end + + private + + attr_reader :order + end +end diff --git a/app/services/orders/find_payment_service.rb b/app/services/orders/find_payment_service.rb new file mode 100644 index 0000000000..fe8eac2b5a --- /dev/null +++ b/app/services/orders/find_payment_service.rb @@ -0,0 +1,30 @@ +# frozen_string_literal: true + +module Orders + class FindPaymentService + def initialize(order) + @order = order + end + + def last_payment + last(@order.payments) + end + + def last_pending_payment + last(@order.pending_payments) + end + + private + + # `max_by` avoids additional database queries when payments are loaded + # already. There is usually only one payment and this shouldn't cause + # any overhead compared to `order(:created_at).last`. Using `last` + # without order is not deterministic. + # + # We are not using `updated_at` because all payments are touched when the + # order is updated and then all payments have the same `updated_at` value. + def last(payments) + payments.max_by(&:created_at) + end + end +end diff --git a/app/services/orders/generate_invoice_service.rb b/app/services/orders/generate_invoice_service.rb new file mode 100644 index 0000000000..99cf17f781 --- /dev/null +++ b/app/services/orders/generate_invoice_service.rb @@ -0,0 +1,40 @@ +# frozen_string_literal: true + +module Orders + class GenerateInvoiceService + def initialize(order) + @order = order + end + + def generate_or_update_latest_invoice + if comparator.can_generate_new_invoice? + order.invoices.create!( + date: Time.zone.today, + number: total_invoices_created_by_distributor + 1, + data: invoice_data + ) + elsif comparator.can_update_latest_invoice? + order.invoices.latest.update!( + date: Time.zone.today, + data: invoice_data + ) + end + end + + private + + attr_reader :order + + def comparator + @comparator ||= Orders::CompareInvoiceService.new(order) + end + + def invoice_data + @invoice_data ||= InvoiceDataGenerator.new(order).generate + end + + def total_invoices_created_by_distributor + Invoice.joins(:order).where(order: { distributor: order.distributor }).count + end + end +end diff --git a/app/services/orders/handle_fees_service.rb b/app/services/orders/handle_fees_service.rb new file mode 100644 index 0000000000..09ee04f1a2 --- /dev/null +++ b/app/services/orders/handle_fees_service.rb @@ -0,0 +1,70 @@ +# frozen_string_literal: true + +module Orders + class HandleFeesService + attr_reader :order + + delegate :distributor, :order_cycle, to: :order + + def initialize(order) + @order = order + end + + def recreate_all_fees! + # `with_lock` acquires an exclusive row lock on order so no other + # requests can update it until the transaction is commited. + # See https://github.com/rails/rails/blob/3-2-stable/activerecord/lib/active_record/locking/pessimistic.rb#L69 + # and https://www.postgresql.org/docs/current/static/sql-select.html#SQL-FOR-UPDATE-SHARE + order.with_lock do + EnterpriseFee.clear_all_adjustments order + + create_line_item_fees! + create_order_fees! + end + + tax_enterprise_fees! unless order.before_payment_state? + order.update_order! + end + + def create_line_item_fees! + order.line_items.includes(variant: :product).each do |line_item| + if provided_by_order_cycle? line_item + calculator.create_line_item_adjustments_for line_item + end + end + end + + def create_order_fees! + return unless order_cycle + + calculator.create_order_adjustments_for order + end + + def tax_enterprise_fees! + Spree::TaxRate.adjust(order, order.all_adjustments.enterprise_fee) + end + + def update_line_item_fees!(line_item) + line_item.adjustments.enterprise_fee.each do |fee| + fee.update_adjustment!(line_item, force: true) + end + end + + def update_order_fees! + order.adjustments.enterprise_fee.where(adjustable_type: 'Spree::Order').each do |fee| + fee.update_adjustment!(order, force: true) + end + end + + private + + def calculator + @calculator ||= OpenFoodNetwork::EnterpriseFeeCalculator.new(distributor, order_cycle) + end + + def provided_by_order_cycle?(line_item) + @order_cycle_variant_ids ||= order_cycle&.variants&.map(&:id) || [] + @order_cycle_variant_ids.include? line_item.variant_id + end + end +end diff --git a/app/services/orders/mask_data_service.rb b/app/services/orders/mask_data_service.rb new file mode 100644 index 0000000000..35cbc7482b --- /dev/null +++ b/app/services/orders/mask_data_service.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +module Orders + class MaskDataService + def initialize(order) + @order = order + end + + def call + mask_customer_names unless customer_names_allowed? + mask_contact_data + end + + private + + attr_accessor :order + + def customer_names_allowed? + order.distributor.show_customer_names_to_suppliers + end + + def mask_customer_names + order.bill_address&.assign_attributes(firstname: I18n.t('admin.reports.hidden'), + lastname: "") + order.ship_address&.assign_attributes(firstname: I18n.t('admin.reports.hidden'), + lastname: "") + end + + def mask_contact_data + order.bill_address&.assign_attributes(phone: "", address1: "", address2: "", + city: "", zipcode: "", state: nil) + order.ship_address&.assign_attributes(phone: "", address1: "", address2: "", + city: "", zipcode: "", state: nil) + order.assign_attributes(email: I18n.t('admin.reports.hidden')) + end + end +end diff --git a/app/services/orders/sync_service.rb b/app/services/orders/sync_service.rb new file mode 100644 index 0000000000..590e622209 --- /dev/null +++ b/app/services/orders/sync_service.rb @@ -0,0 +1,141 @@ +# frozen_string_literal: true + +# Responsible for ensuring that any updates to a Subscription are propagated to any +# orders belonging to that Subscription which have been instantiated + +module Orders + class SyncService + attr_reader :order_update_issues + + def initialize(subscription) + @subscription = subscription + @order_update_issues = Orders::UpdateIssuesService.new + @line_item_syncer = LineItemSyncer.new(subscription, order_update_issues) + end + + def sync! + orders_in_order_cycles_not_closed.all? do |order| + order.assign_attributes(customer_id:, email: customer&.email, + distributor_id: shop_id) + update_associations_for(order) + line_item_syncer.sync!(order) + order.update_order! + order.save + end + end + + private + + attr_reader :subscription, :line_item_syncer + + delegate :orders, :bill_address, :ship_address, :subscription_line_items, to: :subscription + delegate :shop_id, :customer, :customer_id, to: :subscription + delegate :shipping_method, :shipping_method_id, + :payment_method, :payment_method_id, to: :subscription + delegate :shipping_method_id_changed?, :shipping_method_id_was, to: :subscription + delegate :payment_method_id_changed?, :payment_method_id_was, to: :subscription + + def update_associations_for(order) + update_bill_address_for(order) if bill_address.changes.keys.intersect?(relevant_address_attrs) + update_shipment_for(order) if shipping_method_id_changed? + update_ship_address_for(order) + update_payment_for(order) if payment_method_id_changed? + end + + def orders_in_order_cycles_not_closed + return @orders_in_order_cycles_not_closed unless @orders_in_order_cycles_not_closed.nil? + + @orders_in_order_cycles_not_closed = orders.joins(:order_cycle). + merge(OrderCycle.not_closed).readonly(false) + end + + def update_bill_address_for(order) + unless addresses_match?(order.bill_address, bill_address) + return order_update_issues.add(order, I18n.t('bill_address')) + end + + order.bill_address.update(bill_address.attributes.slice(*relevant_address_attrs)) + end + + def update_payment_for(order) + payment = order.payments. + with_state('checkout').where(payment_method_id: payment_method_id_was).last + if payment + payment&.void_transaction! + order.payments.create(payment_method_id:, amount: order.reload.total) + else + unless order.payments.with_state('checkout').where(payment_method_id:).any? + order_update_issues.add(order, I18n.t('admin.payment_method')) + end + end + end + + def update_shipment_for(order) + return if pending_shipment_with?(order, shipping_method_id) # No need to do anything. + + if pending_shipment_with?(order, shipping_method_id_was) + order.select_shipping_method(shipping_method_id) + else + order_update_issues.add(order, I18n.t('admin.shipping_method')) + end + end + + def update_ship_address_for(order) + # The conditions here are to achieve the same behaviour in earlier versions of Spree, where + # switching from pick-up to delivery affects whether simultaneous changes to shipping address + # are ignored or not. + pickup_to_delivery = force_ship_address_required?(order) + if (!pickup_to_delivery || order.shipment.present?) && + ship_address.changes.keys.intersect?(relevant_address_attrs) + save_ship_address_in_order(order) + end + return unless !pickup_to_delivery || order.shipment.blank? + + order.updater.shipping_address_from_distributor + end + + def relevant_address_attrs + ["firstname", "lastname", "address1", "zipcode", "city", "state_id", "country_id", "phone"] + end + + def addresses_match?(order_address, subscription_address) + relevant_address_attrs.all? do |attr| + order_address[attr] == subscription_address.public_send("#{attr}_was") || + order_address[attr] == subscription_address[attr] + end + end + + def ship_address_updatable?(order) + return true if force_ship_address_required?(order) + return false unless order.shipping_method.require_ship_address? + return true if addresses_match?(order.ship_address, ship_address) + + order_update_issues.add(order, I18n.t('ship_address')) + false + end + + # This returns true when the shipping method on the subscription has changed + # to a delivery (ie. a shipping address is required) AND the existing shipping + # address on the order matches the shop's address + def force_ship_address_required?(order) + return false unless shipping_method.require_ship_address? + + distributor_address = order.address_from_distributor + relevant_address_attrs.all? do |attr| + order.ship_address[attr] == distributor_address[attr] + end + end + + def save_ship_address_in_order(order) + return unless ship_address_updatable?(order) + + order.ship_address.update(ship_address.attributes.slice(*relevant_address_attrs)) + end + + def pending_shipment_with?(order, shipping_method_id) + return false unless order.shipment.present? && order.shipment.state == "pending" + + order.shipping_method.id == shipping_method_id + end + end +end diff --git a/app/services/orders/update_issues_service.rb b/app/services/orders/update_issues_service.rb new file mode 100644 index 0000000000..0f0eba5277 --- /dev/null +++ b/app/services/orders/update_issues_service.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +# Wrapper for a hash of issues encountered by instances of Orders::SyncService and LineItemSyncer +# Used to report issues to the user when they attempt to update a subscription + +module Orders + class UpdateIssuesService + def initialize + @issues = {} + end + + delegate :[], :keys, to: :issues + + def add(order, issue) + @issues[order.id] ||= [] + @issues[order.id] << issue + end + + private + + attr_reader :issues + end +end diff --git a/app/services/orders/workflow_service.rb b/app/services/orders/workflow_service.rb new file mode 100644 index 0000000000..99eec1bd17 --- /dev/null +++ b/app/services/orders/workflow_service.rb @@ -0,0 +1,98 @@ +# frozen_string_literal: true + +module Orders + class WorkflowService + attr_reader :order + + def initialize(order) + @order = order + end + + def complete + advance_to_state("complete", advance_order_options) + end + + def complete! + advance_order!(advance_order_options) + end + + def next(options = {}) + result = advance_order_one_step + + after_transition_hook(options) + + result + end + + def advance_to_payment + return unless order.before_payment_state? + + advance_to_state("payment", advance_order_options) + end + + def advance_checkout(options = {}) + advance_to = order.before_payment_state? ? "payment" : "confirmation" + + advance_to_state(advance_to, advance_order_options.merge(options)) + end + + private + + def advance_order_options + shipping_method_id = order.shipping_method.id if order.shipping_method.present? + { "shipping_method_id" => shipping_method_id } + end + + def advance_to_state(target_state, options = {}) + until order.state == target_state + break unless order.next + + after_transition_hook(options) + end + + order.state == target_state + end + + def advance_order!(options) + until order.completed? + order.next! + after_transition_hook(options) + end + end + + def advance_order_one_step + tries ||= 3 + order.next + rescue ActiveRecord::StaleObjectError + retry unless (tries -= 1).zero? + false + end + + def after_transition_hook(options) + if order.state == "delivery" + order.select_shipping_method(options["shipping_method_id"]) + end + + persist_all_payments if order.state == "payment" + end + + # When a payment fails, the order state machine stays in 'payment' + # and rollbacks all transactions + # This rollback also reverts the payment state from 'failed', 'void' or 'invalid' to 'pending' + # Despite the rollback, the in-memory payment still has the correct state, so we persist it + def persist_all_payments + order.payments.each do |payment| + in_memory_payment_state = payment.state + if different_from_db_payment_state?(in_memory_payment_state, payment.id) + payment.reload.update(state: in_memory_payment_state) + end + end + end + + # Verifies if the in-memory payment state is different from the one stored in the database + # This is be done without reloading the payment so that in-memory data is not changed + def different_from_db_payment_state?(in_memory_payment_state, payment_id) + in_memory_payment_state != Spree::Payment.find(payment_id).state + end + end +end diff --git a/app/services/orders_bulk_cancel_service.rb b/app/services/orders_bulk_cancel_service.rb deleted file mode 100644 index a788183ffc..0000000000 --- a/app/services/orders_bulk_cancel_service.rb +++ /dev/null @@ -1,24 +0,0 @@ -# frozen_string_literal: true - -class OrdersBulkCancelService - def initialize(params, current_user) - @order_ids = params[:bulk_ids] - @current_user = current_user - @send_cancellation_email = params[:send_cancellation_email] - @restock_items = params[:restock_items] - end - - def call - editable_orders.where(id: @order_ids).each do |order| - order.send_cancellation_email = @send_cancellation_email - order.restock_items = @restock_items - order.cancel - end - end - - private - - def editable_orders - Permissions::Order.new(@current_user).editable_orders - end -end diff --git a/app/services/place_proxy_order.rb b/app/services/place_proxy_order.rb index aaa88f620d..03bd379d9d 100644 --- a/app/services/place_proxy_order.rb +++ b/app/services/place_proxy_order.rb @@ -87,7 +87,7 @@ class PlaceProxyOrder end def move_to_completion - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! end def send_placement_email diff --git a/app/services/process_payment_intent.rb b/app/services/process_payment_intent.rb index be6d4f233f..eb4429edbb 100644 --- a/app/services/process_payment_intent.rb +++ b/app/services/process_payment_intent.rb @@ -58,7 +58,7 @@ class ProcessPaymentIntent def process_payment return unless order.process_payments! - OrderWorkflow.new(order).complete + Orders::WorkflowService.new(order).complete end def ready_for_capture? diff --git a/app/services/products_renderer.rb b/app/services/products_renderer.rb index 99745ca451..22db37687a 100644 --- a/app/services/products_renderer.rb +++ b/app/services/products_renderer.rb @@ -64,7 +64,7 @@ class ProductsRenderer end def distributed_products - OrderCycleDistributedProducts.new(distributor, order_cycle, customer) + OrderCycles::DistributedProductsService.new(distributor, order_cycle, customer) end def products_order diff --git a/app/services/shop/order_cycles_list.rb b/app/services/shop/order_cycles_list.rb index 5b0a6930cd..dd505c569e 100644 --- a/app/services/shop/order_cycles_list.rb +++ b/app/services/shop/order_cycles_list.rb @@ -12,8 +12,8 @@ module Shop def self.ready_for_checkout_for(distributor, customer) new(distributor, customer).call.select do |order_cycle| order = Spree::Order.new(distributor:, order_cycle:) - OrderAvailablePaymentMethods.new(order, customer).to_a.any? && - OrderAvailableShippingMethods.new(order, customer).to_a.any? + Orders::AvailablePaymentMethodsService.new(order, customer).to_a.any? && + Orders::AvailableShippingMethodsService.new(order, customer).to_a.any? end end diff --git a/engines/order_management/app/services/order_management/order/stripe_sca_payment_authorize.rb b/engines/order_management/app/services/order_management/order/stripe_sca_payment_authorize.rb index cfecbc7de9..0763a32b1a 100644 --- a/engines/order_management/app/services/order_management/order/stripe_sca_payment_authorize.rb +++ b/engines/order_management/app/services/order_management/order/stripe_sca_payment_authorize.rb @@ -12,7 +12,7 @@ module OrderManagement def initialize(order, payment: nil, off_session: false, notify_hub: false) @order = order - @payment = payment || OrderPaymentFinder.new(order).last_pending_payment + @payment = payment || Orders::FindPaymentService.new(order).last_pending_payment @off_session = off_session @notify_hub = notify_hub end diff --git a/engines/order_management/app/services/order_management/subscriptions/form.rb b/engines/order_management/app/services/order_management/subscriptions/form.rb index 53c0e615cd..74aa78d72f 100644 --- a/engines/order_management/app/services/order_management/subscriptions/form.rb +++ b/engines/order_management/app/services/order_management/subscriptions/form.rb @@ -15,7 +15,7 @@ module OrderManagement @options = options @estimator = OrderManagement::Subscriptions::Estimator.new(subscription) @validator = OrderManagement::Subscriptions::Validator.new(subscription) - @order_syncer = OrderSyncer.new(subscription) + @order_syncer = Orders::SyncService.new(subscription) end def save diff --git a/engines/order_management/app/services/order_management/subscriptions/payment_setup.rb b/engines/order_management/app/services/order_management/subscriptions/payment_setup.rb index fea4da84e5..15cab96ee2 100644 --- a/engines/order_management/app/services/order_management/subscriptions/payment_setup.rb +++ b/engines/order_management/app/services/order_management/subscriptions/payment_setup.rb @@ -18,7 +18,7 @@ module OrderManagement private def create_payment - payment = OrderPaymentFinder.new(@order).last_pending_payment + payment = Orders::FindPaymentService.new(@order).last_pending_payment return payment if payment.present? @order.payments.create( diff --git a/engines/order_management/app/services/order_management/subscriptions/proxy_order_syncer.rb b/engines/order_management/app/services/order_management/subscriptions/proxy_order_syncer.rb index 9c50e175d5..e906a0ed16 100644 --- a/engines/order_management/app/services/order_management/subscriptions/proxy_order_syncer.rb +++ b/engines/order_management/app/services/order_management/subscriptions/proxy_order_syncer.rb @@ -14,7 +14,7 @@ module OrderManagement when ActiveRecord::Relation @subscriptions = subscriptions.not_ended.not_canceled else - raise "ProxyOrderSyncer must be initialized with " \ + raise "ProxyOrders::SyncService must be initialized with " \ "an instance of Subscription or ActiveRecord::Relation" end end diff --git a/engines/order_management/app/services/order_management/subscriptions/stripe_payment_setup.rb b/engines/order_management/app/services/order_management/subscriptions/stripe_payment_setup.rb index df79b45ddd..e3d01bdfc1 100644 --- a/engines/order_management/app/services/order_management/subscriptions/stripe_payment_setup.rb +++ b/engines/order_management/app/services/order_management/subscriptions/stripe_payment_setup.rb @@ -5,7 +5,7 @@ module OrderManagement class StripePaymentSetup def initialize(order) @order = order - @payment = OrderPaymentFinder.new(@order).last_pending_payment + @payment = Orders::FindPaymentService.new(@order).last_pending_payment end def call! diff --git a/lib/reporting/line_items.rb b/lib/reporting/line_items.rb index fe56194417..233c965c2a 100644 --- a/lib/reporting/line_items.rb +++ b/lib/reporting/line_items.rb @@ -36,7 +36,7 @@ module Reporting without_editable_line_items = line_items - editable_line_items(line_items) without_editable_line_items.each do |line_item| - OrderDataMasker.new(line_item.order).call + Orders::MaskDataService.new(line_item.order).call end line_items diff --git a/lib/reporting/reports/orders_and_distributors/base.rb b/lib/reporting/reports/orders_and_distributors/base.rb index 9225096680..2f54235d5e 100644 --- a/lib/reporting/reports/orders_and_distributors/base.rb +++ b/lib/reporting/reports/orders_and_distributors/base.rb @@ -43,7 +43,7 @@ module Reporting editable_orders_ids = permissions.editable_orders.select(&:id).map(&:id) orders .filter { |order| order.in?(editable_orders_ids) } - .each { |order| OrderDataMasker.new(order).call } + .each { |order| Orders::MaskDataService.new(order).call } # Get Line Items orders.map(&:line_items).flatten end diff --git a/lib/reporting/reports/sales_tax/tax_rates.rb b/lib/reporting/reports/sales_tax/tax_rates.rb index 83bd3f2eb0..8c82d44b66 100644 --- a/lib/reporting/reports/sales_tax/tax_rates.rb +++ b/lib/reporting/reports/sales_tax/tax_rates.rb @@ -11,7 +11,7 @@ module Reporting total_excl_vat: proc { |order| order.total - order.total_tax } } add_key_for_each_rate(result, proc { |rate| - proc { |order| OrderTaxAdjustmentsFetcher.new(order).totals.fetch(rate, 0) } + proc { |order| Orders::FetchTaxAdjustmentsService.new(order).totals.fetch(rate, 0) } }) other = { total_tax: proc { |order| order.total_tax }, diff --git a/lib/tasks/sample_data/order_factory.rb b/lib/tasks/sample_data/order_factory.rb index 39cfdb2996..ef670aa5e0 100644 --- a/lib/tasks/sample_data/order_factory.rb +++ b/lib/tasks/sample_data/order_factory.rb @@ -51,7 +51,7 @@ module SampleData def create_complete_order order = create_cart_order - OrderWorkflow.new(order).complete + Orders::WorkflowService.new(order).complete order end diff --git a/spec/controllers/admin/bulk_line_items_controller_spec.rb b/spec/controllers/admin/bulk_line_items_controller_spec.rb index 9fab630c8e..15e540c97b 100644 --- a/spec/controllers/admin/bulk_line_items_controller_spec.rb +++ b/spec/controllers/admin/bulk_line_items_controller_spec.rb @@ -390,7 +390,7 @@ describe Admin::BulkLineItemsController, type: :controller do order.shipments.map(&:refresh_rates) order.select_shipping_method(shipping_method.id) - OrderWorkflow.new(order).advance_to_payment + Orders::WorkflowService.new(order).advance_to_payment order.finalize! order.recreate_all_fees! order.create_tax_charge! diff --git a/spec/controllers/admin/order_cycles_controller_spec.rb b/spec/controllers/admin/order_cycles_controller_spec.rb index 27cfbff2e8..fd154b7118 100644 --- a/spec/controllers/admin/order_cycles_controller_spec.rb +++ b/spec/controllers/admin/order_cycles_controller_spec.rb @@ -160,12 +160,12 @@ module Admin let(:shop) { create(:distributor_enterprise) } context "as a manager of a shop" do - let(:form_mock) { instance_double(OrderCycleForm) } + let(:form_mock) { instance_double(OrderCycles::FormService) } let(:params) { { as: :json, order_cycle: {} } } before do controller_login_as_enterprise_user([shop]) - allow(OrderCycleForm).to receive(:new) { form_mock } + allow(OrderCycles::FormService).to receive(:new) { form_mock } end context "when creation is successful" do @@ -203,10 +203,10 @@ module Admin describe "update" do let(:order_cycle) { create(:simple_order_cycle) } let(:coordinator) { order_cycle.coordinator } - let(:form_mock) { instance_double(OrderCycleForm) } + let(:form_mock) { instance_double(OrderCycles::FormService) } before do - allow(OrderCycleForm).to receive(:new) { form_mock } + allow(OrderCycles::FormService).to receive(:new) { form_mock } end context "as a manager of the coordinator" do @@ -275,7 +275,7 @@ module Admin end it "can update preference product_selection_from_coordinator_inventory_only" do - expect(OrderCycleForm).to receive(:new). + expect(OrderCycles::FormService).to receive(:new). with(order_cycle, { "preferred_product_selection_from_coordinator_inventory_only" => true }, anything) { form_mock } @@ -288,7 +288,7 @@ module Admin end it "can update preference automatic_notifications" do - expect(OrderCycleForm).to receive(:new). + expect(OrderCycles::FormService).to receive(:new). with(order_cycle, { "automatic_notifications" => true }, anything) { form_mock } @@ -324,7 +324,7 @@ module Admin format: :json, id: order_cycle.id, order_cycle: allowed.merge(restricted) } } - let(:form_mock) { instance_double(OrderCycleForm, save: true) } + let(:form_mock) { instance_double(OrderCycles::FormService, save: true) } before { allow(controller).to receive(:spree_current_user) { user } } @@ -333,7 +333,7 @@ module Admin let(:expected) { [order_cycle, allowed.merge(restricted), user] } it "allows me to update exchange information for exchanges, name and dates" do - expect(OrderCycleForm).to receive(:new).with(*expected) { form_mock } + expect(OrderCycles::FormService).to receive(:new).with(*expected) { form_mock } spree_put :update, params end end @@ -343,7 +343,7 @@ module Admin let(:expected) { [order_cycle, allowed, user] } it "allows me to update exchange information for exchanges, but not name or dates" do - expect(OrderCycleForm).to receive(:new).with(*expected) { form_mock } + expect(OrderCycles::FormService).to receive(:new).with(*expected) { form_mock } spree_put :update, params end end diff --git a/spec/controllers/admin/proxy_orders_controller_spec.rb b/spec/controllers/admin/proxy_orders_controller_spec.rb index a19f94a14a..6e505530b6 100644 --- a/spec/controllers/admin/proxy_orders_controller_spec.rb +++ b/spec/controllers/admin/proxy_orders_controller_spec.rb @@ -83,7 +83,7 @@ describe Admin::ProxyOrdersController, type: :controller do before do # Processing order to completion allow(Spree::OrderMailer).to receive(:cancel_email) { double(:email, deliver_later: true) } - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! proxy_order.reload proxy_order.cancel allow(controller).to receive(:spree_current_user) { user } diff --git a/spec/controllers/checkout_controller_spec.rb b/spec/controllers/checkout_controller_spec.rb index a56d97e549..4f948cdefa 100644 --- a/spec/controllers/checkout_controller_spec.rb +++ b/spec/controllers/checkout_controller_spec.rb @@ -256,7 +256,7 @@ describe CheckoutController, type: :controller do order.bill_address = address order.ship_address = address order.select_shipping_method shipping_method.id - OrderWorkflow.new(order).advance_to_payment + Orders::WorkflowService.new(order).advance_to_payment end context "with incomplete data" do @@ -387,7 +387,7 @@ describe CheckoutController, type: :controller do order.bill_address = address order.ship_address = address order.select_shipping_method shipping_method.id - OrderWorkflow.new(order).advance_to_payment + Orders::WorkflowService.new(order).advance_to_payment order.payments << build(:payment, amount: order.total, payment_method:) order.next @@ -459,7 +459,7 @@ describe CheckoutController, type: :controller do allow(order).to receive(:distributor).and_return(distributor) order.update(order_cycle:) - allow(OrderCycleDistributedVariants).to receive(:new).and_return( + allow(OrderCycles::DistributedVariantsService).to receive(:new).and_return( order_cycle_distributed_variants ) end diff --git a/spec/controllers/payment_gateways/stripe_controller_spec.rb b/spec/controllers/payment_gateways/stripe_controller_spec.rb index 72ceef6bfe..9b2e3233d9 100644 --- a/spec/controllers/payment_gateways/stripe_controller_spec.rb +++ b/spec/controllers/payment_gateways/stripe_controller_spec.rb @@ -11,7 +11,9 @@ module PaymentGateways let!(:order) { create(:order_with_totals, distributor:, order_cycle:) } let(:exchange) { order_cycle.exchanges.to_enterprises(distributor).outgoing.first } - let(:order_cycle_distributed_variants) { instance_double(OrderCycleDistributedVariants) } + let(:order_cycle_distributed_variants) { + instance_double(OrderCycles::DistributedVariantsService) + } before do exchange.variants << order.line_items.first.variant @@ -305,11 +307,11 @@ completed due to stock issues." context "with an invalid last payment" do let(:payment_intent) { "valid" } - let(:finder) { instance_double(OrderPaymentFinder, last_payment: payment) } + let(:finder) { instance_double(Orders::FindPaymentService, last_payment: payment) } before do allow(payment).to receive(:response_code).and_return("invalid") - allow(OrderPaymentFinder).to receive(:new).with(order).and_return(finder) + allow(Orders::FindPaymentService).to receive(:new).with(order).and_return(finder) allow(Stripe::PaymentIntentValidator) .to receive_message_chain(:new, :call).and_return(payment_intent) stub_payment_intent_get_request(payment_intent_id: "valid") diff --git a/spec/factories/order_factory.rb b/spec/factories/order_factory.rb index 096753389b..b9726a3614 100644 --- a/spec/factories/order_factory.rb +++ b/spec/factories/order_factory.rb @@ -28,7 +28,7 @@ FactoryBot.define do after(:create) do |order, evaluator| order.select_shipping_method evaluator.shipping_method.id - OrderWorkflow.new(order).advance_to_payment + Orders::WorkflowService.new(order).advance_to_payment end factory :order_ready_for_confirmation do diff --git a/spec/jobs/order_cycle_opened_job_spec.rb b/spec/jobs/order_cycle_opened_job_spec.rb index e7bb800e0a..c36421480b 100644 --- a/spec/jobs/order_cycle_opened_job_spec.rb +++ b/spec/jobs/order_cycle_opened_job_spec.rb @@ -14,14 +14,14 @@ describe OrderCycleOpenedJob do } it "enqueues jobs for recently opened order cycles only" do - expect(OrderCycleWebhookService) + expect(OrderCycles::WebhookService) .to receive(:create_webhook_job).with(oc_opened_now, 'order_cycle.opened') - expect(OrderCycleWebhookService) - .not_to receive(:create_webhook_job).with(oc_opened_before, 'order_cycle.opened') + expect(OrderCycles::WebhookService) + .to_not receive(:create_webhook_job).with(oc_opened_before, 'order_cycle.opened') - expect(OrderCycleWebhookService) - .not_to receive(:create_webhook_job).with(oc_opening_soon, 'order_cycle.opened') + expect(OrderCycles::WebhookService) + .to_not receive(:create_webhook_job).with(oc_opening_soon, 'order_cycle.opened') OrderCycleOpenedJob.perform_now end @@ -41,7 +41,7 @@ describe OrderCycleOpenedJob do end ) - expect(OrderCycleWebhookService) + expect(OrderCycles::WebhookService) .to receive(:create_webhook_job).with(oc_opened_now, 'order_cycle.opened').once # Start two jobs in parallel: diff --git a/spec/jobs/subscription_confirm_job_spec.rb b/spec/jobs/subscription_confirm_job_spec.rb index 22f06c0a8d..d5cf92c40c 100644 --- a/spec/jobs/subscription_confirm_job_spec.rb +++ b/spec/jobs/subscription_confirm_job_spec.rb @@ -25,7 +25,7 @@ describe SubscriptionConfirmJob do let(:proxy_orders) { job.send(:unconfirmed_proxy_orders) } before do - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! end it "returns proxy orders that meet all of the criteria" do @@ -140,7 +140,7 @@ describe SubscriptionConfirmJob do let(:order) { proxy_order.initialise_order! } before do - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! allow(job).to receive(:send_confirmation_email).and_call_original allow(job).to receive(:send_payment_authorization_emails).and_call_original expect(job).to receive(:record_order) diff --git a/spec/lib/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer_spec.rb b/spec/lib/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer_spec.rb index 4c25519041..76bfe69459 100644 --- a/spec/lib/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer_spec.rb +++ b/spec/lib/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer_spec.rb @@ -34,7 +34,7 @@ describe Reporting::Reports::EnterpriseFeeSummary::EnterpriseFeesWithTaxReportBy shipping_method:, ship_address: create(:address) ).tap do |order| order.recreate_all_fees! - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! end } diff --git a/spec/lib/reports/sales_tax_totals_by_order_spec.rb b/spec/lib/reports/sales_tax_totals_by_order_spec.rb index 9194ae3dbb..088d889bb0 100644 --- a/spec/lib/reports/sales_tax_totals_by_order_spec.rb +++ b/spec/lib/reports/sales_tax_totals_by_order_spec.rb @@ -80,7 +80,7 @@ describe "Reporting::Reports::SalesTax::SalesTaxTotalsByOrder" do end it "returns tax amount filtered by tax rate in query_row" do - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! mock_voucher_adjustment_service filtered_tax_total = report.filtered_tax_rate_total(query_row) @@ -94,7 +94,7 @@ describe "Reporting::Reports::SalesTax::SalesTaxTotalsByOrder" do describe "#tax_rate_total" do it "returns the tax amount filtered by tax rate in the query_row" do - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! mock_voucher_adjustment_service tax_total = report.tax_rate_total(query_row) @@ -124,7 +124,7 @@ describe "Reporting::Reports::SalesTax::SalesTaxTotalsByOrder" do describe "#total_excl_tax" do it "returns the total excluding tax specified in query_row" do - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! mock_voucher_adjustment_service total = report.total_excl_tax(query_row) @@ -152,7 +152,7 @@ describe "Reporting::Reports::SalesTax::SalesTaxTotalsByOrder" do describe "#total_incl_tax" do it "returns the total including the tax specified in query_row" do - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! mock_voucher_adjustment_service total = report.total_incl_tax(query_row) @@ -164,7 +164,7 @@ describe "Reporting::Reports::SalesTax::SalesTaxTotalsByOrder" do describe "#rules" do before do - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! end it "returns rules" do @@ -274,7 +274,7 @@ describe "Reporting::Reports::SalesTax::SalesTaxTotalsByOrder" do VoucherAdjustmentsService.new(order).update order.update_totals_and_states - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! end def mock_voucher_adjustment_service(included_tax: 0.0, excluded_tax: 0.0) diff --git a/spec/mailers/order_mailer_spec.rb b/spec/mailers/order_mailer_spec.rb index 0f2c2073e0..506a05d6b4 100644 --- a/spec/mailers/order_mailer_spec.rb +++ b/spec/mailers/order_mailer_spec.rb @@ -226,12 +226,12 @@ describe Spree::OrderMailer do data: invoice_data_generator.serialize_for_invoice) } - let(:generator){ instance_double(OrderInvoiceGenerator) } + let(:generator){ instance_double(Orders::GenerateInvoiceService) } let(:renderer){ instance_double(InvoiceRenderer) } let(:attachment_filename){ "invoice-#{order.number}.pdf" } let(:deliveries){ ActionMailer::Base.deliveries } before do - allow(OrderInvoiceGenerator).to receive(:new).with(order).and_return(generator) + allow(Orders::GenerateInvoiceService).to receive(:new).with(order).and_return(generator) allow(InvoiceRenderer).to receive(:new).and_return(renderer) end context "When invoices feature is not enabled" do diff --git a/spec/models/invoice/data_presenter_spec.rb b/spec/models/invoice/data_presenter_spec.rb index 0a0cc24676..bd35562762 100644 --- a/spec/models/invoice/data_presenter_spec.rb +++ b/spec/models/invoice/data_presenter_spec.rb @@ -25,7 +25,7 @@ describe Invoice::DataPresenter do let(:presenter){ Invoice::DataPresenter.new(invoice) } before do order.create_tax_charge! - OrderInvoiceGenerator.new(order).generate_or_update_latest_invoice + Orders::GenerateInvoiceService.new(order).generate_or_update_latest_invoice end it "displays nothing when the line item refer to a non taxable product" do @@ -53,7 +53,7 @@ describe Invoice::DataPresenter do tax_rate_clone.save! tax_rate_clone.calculator.save! order.create_tax_charge! - OrderInvoiceGenerator.new(order).generate_or_update_latest_invoice + Orders::GenerateInvoiceService.new(order).generate_or_update_latest_invoice end it "displays the tax rate when the line item refer to a taxable product" do @@ -65,7 +65,7 @@ describe Invoice::DataPresenter do before do order.line_items.last.tax_category.tax_rates.last.update!(zone: create(:zone)) order.create_tax_charge! - OrderInvoiceGenerator.new(order).generate_or_update_latest_invoice + Orders::GenerateInvoiceService.new(order).generate_or_update_latest_invoice end it "displays only the tax rates that were applied to the line items" do diff --git a/spec/models/proxy_order_spec.rb b/spec/models/proxy_order_spec.rb index 808a762486..5965521c27 100644 --- a/spec/models/proxy_order_spec.rb +++ b/spec/models/proxy_order_spec.rb @@ -186,12 +186,12 @@ describe ProxyOrder, type: :model do describe "initialise_order!" do let(:order) { create(:order) } - let(:factory) { instance_double(OrderFactory) } + let(:factory) { instance_double(Orders::FactoryService) } let!(:proxy_order) { create(:proxy_order) } context "when the order has not already been initialised" do - it "creates a new order using the OrderFactory, and returns it" do - expect(OrderFactory).to receive(:new) { factory } + it "creates a new order using the Orders::FactoryService, and returns it" do + expect(Orders::FactoryService).to receive(:new) { factory } expect(factory).to receive(:create) { order } expect(proxy_order.initialise_order!).to eq order end @@ -205,8 +205,8 @@ describe ProxyOrder, type: :model do end it "returns the existing order" do - expect(OrderFactory).not_to receive(:new) - expect(proxy_order).not_to receive(:save!) + expect(Orders::FactoryService).to_not receive(:new) + expect(proxy_order).to_not receive(:save!) expect(proxy_order.initialise_order!).to eq existing_order end end diff --git a/spec/models/spree/order_spec.rb b/spec/models/spree/order_spec.rb index c4fcc9fff5..480cef7cab 100644 --- a/spec/models/spree/order_spec.rb +++ b/spec/models/spree/order_spec.rb @@ -616,7 +616,7 @@ describe Spree::Order do describe "applying enterprise fees" do subject { create(:order) } - let(:fee_handler) { OrderFeesHandler.new(subject) } + let(:fee_handler) { Orders::HandleFeesService.new(subject) } before do allow(subject).to receive(:fee_handler) { fee_handler } @@ -628,7 +628,7 @@ describe Spree::Order do subject.recreate_all_fees! end - it "creates line item and order fee adjustments via OrderFeesHandler" do + it "creates line item and order fee adjustments via Orders::HandleFeesService" do expect(fee_handler).to receive(:create_line_item_fees!) expect(fee_handler).to receive(:create_order_fees!) subject.recreate_all_fees! diff --git a/spec/requests/checkout/failed_checkout_spec.rb b/spec/requests/checkout/failed_checkout_spec.rb index 555d93e827..fdde8cb297 100644 --- a/spec/requests/checkout/failed_checkout_spec.rb +++ b/spec/requests/checkout/failed_checkout_spec.rb @@ -39,7 +39,7 @@ describe "checking out an order that initially fails", type: :request do before do order_cycle_distributed_variants = double(:order_cycle_distributed_variants) - allow(OrderCycleDistributedVariants).to receive(:new) + allow(OrderCycles::DistributedVariantsService).to receive(:new) .and_return(order_cycle_distributed_variants) allow(order_cycle_distributed_variants) .to receive(:distributes_order_variants?).and_return(true) diff --git a/spec/requests/checkout/routes_spec.rb b/spec/requests/checkout/routes_spec.rb index 4d51386a7b..0f1b518b8d 100644 --- a/spec/requests/checkout/routes_spec.rb +++ b/spec/requests/checkout/routes_spec.rb @@ -26,7 +26,7 @@ describe 'checkout endpoints', type: :request do before do order_cycle_distributed_variants = double(:order_cycle_distributed_variants) - allow(OrderCycleDistributedVariants).to receive(:new) + allow(OrderCycles::DistributedVariantsService).to receive(:new) .and_return(order_cycle_distributed_variants) allow(order_cycle_distributed_variants).to receive(:distributes_order_variants?) .and_return(true) diff --git a/spec/requests/checkout/stripe_sca_spec.rb b/spec/requests/checkout/stripe_sca_spec.rb index d6acbc0857..8c5c48a363 100644 --- a/spec/requests/checkout/stripe_sca_spec.rb +++ b/spec/requests/checkout/stripe_sca_spec.rb @@ -84,7 +84,9 @@ describe "checking out an order with a Stripe SCA payment method", type: :reques before do order_cycle_distributed_variants = double(:order_cycle_distributed_variants) - allow(OrderCycleDistributedVariants).to receive(:new) { order_cycle_distributed_variants } + allow(OrderCycles::DistributedVariantsService).to receive(:new) { + order_cycle_distributed_variants + } allow(order_cycle_distributed_variants).to receive(:distributes_order_variants?) { true } allow(Stripe).to receive(:publishable_key).and_return("some_token") allow(Spree::Config).to receive(:stripe_connect_enabled).and_return(true) diff --git a/spec/requests/voucher_adjustments_spec.rb b/spec/requests/voucher_adjustments_spec.rb index 39d2e78545..56af4db442 100644 --- a/spec/requests/voucher_adjustments_spec.rb +++ b/spec/requests/voucher_adjustments_spec.rb @@ -25,7 +25,7 @@ describe VoucherAdjustmentsController, type: :request do order.update!(created_by: user) order.select_shipping_method shipping_method.id - OrderWorkflow.new(order).advance_to_payment + Orders::WorkflowService.new(order).advance_to_payment sign_in user end diff --git a/spec/services/cart_service_spec.rb b/spec/services/cart_service_spec.rb index 89d7432752..ea5b1dc731 100644 --- a/spec/services/cart_service_spec.rb +++ b/spec/services/cart_service_spec.rb @@ -284,12 +284,12 @@ describe CartService do let(:order_cycle_distributed_variants) { double(:order_cycle_distributed_variants) } before do - expect(OrderCycleDistributedVariants) + expect(OrderCycles::DistributedVariantsService) .to receive(:new).with(234, 123).and_return(order_cycle_distributed_variants) cart_service.instance_eval { @distributor = 123; @order_cycle = 234 } end - it "delegates to OrderCycleDistributedVariants, returning true when available" do + it "delegates to OrderCycles::DistributedVariantsService, returning true when available" do expect(order_cycle_distributed_variants).to receive(:available_variants) .and_return([variant]) @@ -297,7 +297,7 @@ describe CartService do expect(cart_service.errors).to be_empty end - it "delegates to OrderCycleDistributedVariants, returning false and erroring otherwise" do + it "delegates to OrderCycles::DistributedVariantsService, returns false - error otherwise" do expect(order_cycle_distributed_variants).to receive(:available_variants).and_return([]) expect(cart_service.send(:check_variant_available_under_distribution, variant)).to be false diff --git a/spec/services/checkout/post_checkout_actions_spec.rb b/spec/services/checkout/post_checkout_actions_spec.rb index d2859e11aa..765b84e541 100644 --- a/spec/services/checkout/post_checkout_actions_spec.rb +++ b/spec/services/checkout/post_checkout_actions_spec.rb @@ -51,10 +51,12 @@ describe Checkout::PostCheckoutActions do end describe "#failure" do - let(:restart_checkout_service) { instance_double(OrderCheckoutRestart) } + let(:restart_checkout_service) { instance_double(Orders::CheckoutRestartService) } it "restarts the checkout process" do - expect(OrderCheckoutRestart).to receive(:new).with(order).and_return(restart_checkout_service) + expect(Orders::CheckoutRestartService).to receive(:new) + .with(order) + .and_return(restart_checkout_service) expect(restart_checkout_service).to receive(:call) postCheckoutActions.failure diff --git a/spec/services/checkout/stripe_redirect_spec.rb b/spec/services/checkout/stripe_redirect_spec.rb index 164151e145..a2d547e886 100644 --- a/spec/services/checkout/stripe_redirect_spec.rb +++ b/spec/services/checkout/stripe_redirect_spec.rb @@ -25,7 +25,7 @@ describe Checkout::StripeRedirect do end it "authorizes the payment and returns the redirect path" do - expect(OrderPaymentFinder).to receive_message_chain(:new, :last_pending_payment). + expect(Orders::FindPaymentService).to receive_message_chain(:new, :last_pending_payment). and_return(stripe_payment) expect(OrderManagement::Order::StripeScaPaymentAuthorize).to receive(:new).and_call_original diff --git a/spec/services/order_cycle_clone_spec.rb b/spec/services/order_cycles/clone_service_spec.rb similarity index 97% rename from spec/services/order_cycle_clone_spec.rb rename to spec/services/order_cycles/clone_service_spec.rb index 7779b19da3..32525a5b73 100644 --- a/spec/services/order_cycle_clone_spec.rb +++ b/spec/services/order_cycles/clone_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe OrderCycleForm do +describe OrderCycles::CloneService do describe "#create" do it "clones the order cycle" do coordinator = create(:enterprise); @@ -14,7 +14,7 @@ describe OrderCycleForm do ex1 = create(:exchange, order_cycle: oc) ex2 = create(:exchange, order_cycle: oc) - occ = OrderCycleClone.new(oc).create + occ = OrderCycles::CloneService.new(oc).create expect(occ.name).to eq("COPY OF #{oc.name}") expect(occ.orders_open_at).to be_nil expect(occ.orders_close_at).to be_nil diff --git a/spec/services/order_cycle_distributed_products_spec.rb b/spec/services/order_cycles/distributed_products_service_spec.rb similarity index 98% rename from spec/services/order_cycle_distributed_products_spec.rb rename to spec/services/order_cycles/distributed_products_service_spec.rb index 37edaedbe7..76a41be2d7 100644 --- a/spec/services/order_cycle_distributed_products_spec.rb +++ b/spec/services/order_cycles/distributed_products_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe OrderCycleDistributedProducts do +describe OrderCycles::DistributedProductsService do describe "#products_relation" do let(:distributor) { create(:distributor_enterprise) } let(:product) { create(:product) } diff --git a/spec/services/order_cycle_distributed_variants_spec.rb b/spec/services/order_cycles/distributed_variants_service_spec.rb similarity index 86% rename from spec/services/order_cycle_distributed_variants_spec.rb rename to spec/services/order_cycles/distributed_variants_service_spec.rb index 672f33a3e5..6c5bde8aa1 100644 --- a/spec/services/order_cycle_distributed_variants_spec.rb +++ b/spec/services/order_cycles/distributed_variants_service_spec.rb @@ -2,11 +2,11 @@ require 'spec_helper' -describe OrderCycleDistributedVariants do +describe OrderCycles::DistributedVariantsService do let(:order) { double(:order) } let(:distributor) { double(:distributor) } let(:order_cycle) { double(:order_cycle) } - let(:subject) { OrderCycleDistributedVariants.new(order_cycle, distributor) } + let(:subject) { OrderCycles::DistributedVariantsService.new(order_cycle, distributor) } let(:product) { double(:product) } describe "checking if an order can change to a specified new distribution" do @@ -33,7 +33,7 @@ describe OrderCycleDistributedVariants do end it "returns an empty array when order cycle is nil" do - subject = OrderCycleDistributedVariants.new(nil, nil) + subject = OrderCycles::DistributedVariantsService.new(nil, nil) expect(subject.available_variants).to eq [] end end diff --git a/spec/services/order_cycle_form_spec.rb b/spec/services/order_cycles/form_service_spec.rb similarity index 95% rename from spec/services/order_cycle_form_spec.rb rename to spec/services/order_cycles/form_service_spec.rb index 6d15344e42..3f39ad5439 100644 --- a/spec/services/order_cycle_form_spec.rb +++ b/spec/services/order_cycles/form_service_spec.rb @@ -2,12 +2,12 @@ require 'spec_helper' -describe OrderCycleForm do +describe OrderCycles::FormService do describe "save" do describe "creating a new order cycle from params" do let(:shop) { create(:enterprise) } let(:order_cycle) { OrderCycle.new } - let(:form) { OrderCycleForm.new(order_cycle, params, shop.owner) } + let(:form) { OrderCycles::FormService.new(order_cycle, params, shop.owner) } context "when creation is successful" do let(:params) { { name: "Test Order Cycle", coordinator_id: shop.id } } @@ -33,7 +33,7 @@ describe OrderCycleForm do describe "updating an existing order cycle from params" do let(:shop) { create(:enterprise) } let(:order_cycle) { create(:simple_order_cycle, name: "Old Name") } - let(:form) { OrderCycleForm.new(order_cycle, params, shop.owner) } + let(:form) { OrderCycles::FormService.new(order_cycle, params, shop.owner) } context "when update is successful" do let(:params) { { name: "Test Order Cycle", coordinator_id: shop.id } } @@ -86,7 +86,7 @@ describe OrderCycleForm do let!(:uncoordinated_schedule) { create(:schedule, order_cycles: [uncoordinated_order_cycle] ) } context "where I manage the order_cycle's coordinator" do - let(:form) { OrderCycleForm.new(coordinated_order_cycle, params, user) } + let(:form) { OrderCycles::FormService.new(coordinated_order_cycle, params, user) } let(:syncer_mock) { instance_double(OrderManagement::Subscriptions::ProxyOrderSyncer, sync!: true) } @@ -140,7 +140,7 @@ describe OrderCycleForm do let(:distributor_shipping_method) { shipping_method.distributor_shipping_methods.first } let(:variant) { create(:variant, product: create(:product, supplier:)) } let(:params) { { name: 'Some new name' } } - let(:form) { OrderCycleForm.new(order_cycle, params, user) } + let(:form) { OrderCycles::FormService.new(order_cycle, params, user) } let(:outgoing_exchange_params) do { enterprise_id: distributor.id, @@ -233,7 +233,7 @@ describe OrderCycleForm do it "saves the changes" do order_cycle = create(:distributor_order_cycle, distributors: [distributor]) - form = OrderCycleForm.new( + form = OrderCycles::FormService.new( order_cycle, { selected_distributor_payment_method_ids: [distributor_payment_method] }, order_cycle.coordinator.users.first @@ -250,7 +250,7 @@ describe OrderCycleForm do order_cycle = create(:distributor_order_cycle, distributors: [distributor], suppliers: [supplier]) - form = OrderCycleForm.new( + form = OrderCycles::FormService.new( order_cycle, { selected_distributor_payment_method_ids: [distributor_payment_method] }, supplier.users.first @@ -264,7 +264,7 @@ describe OrderCycleForm do it "saves the changes" do order_cycle = create(:distributor_order_cycle, distributors: [distributor]) - form = OrderCycleForm.new( + form = OrderCycles::FormService.new( order_cycle, { selected_distributor_payment_method_ids: [distributor_payment_method2] }, create(:admin_user) @@ -281,7 +281,7 @@ describe OrderCycleForm do it "saves the changes" do order_cycle = create(:distributor_order_cycle, distributors: [distributor]) - form = OrderCycleForm.new( + form = OrderCycles::FormService.new( order_cycle, { selected_distributor_payment_method_ids: [distributor_payment_method] }, distributor.users.first @@ -300,7 +300,7 @@ describe OrderCycleForm do order_cycle = create(:distributor_order_cycle, distributors: [distributor, distributor2]) - form = OrderCycleForm.new( + form = OrderCycles::FormService.new( order_cycle, { selected_distributor_payment_method_ids: [distributor_payment_method] }, distributor2.users.first @@ -329,7 +329,7 @@ describe OrderCycleForm do order_cycle = create(:distributor_order_cycle, distributors: [distributor_i]) - form = OrderCycleForm.new( + form = OrderCycles::FormService.new( order_cycle, { selected_distributor_payment_method_ids: [distributor_payment_method_ii.id] }, order_cycle.coordinator.users.first @@ -355,7 +355,7 @@ describe OrderCycleForm do it "saves the changes" do order_cycle = create(:distributor_order_cycle, distributors: [distributor]) - form = OrderCycleForm.new( + form = OrderCycles::FormService.new( order_cycle, { selected_distributor_shipping_method_ids: [distributor_shipping_method] }, order_cycle.coordinator.users.first @@ -373,7 +373,7 @@ describe OrderCycleForm do order_cycle = create(:distributor_order_cycle, distributors: [distributor], suppliers: [supplier]) - form = OrderCycleForm.new( + form = OrderCycles::FormService.new( order_cycle, { selected_distributor_shipping_method_ids: [distributor_shipping_method] }, supplier.users.first @@ -388,7 +388,7 @@ describe OrderCycleForm do it "saves the changes" do order_cycle = create(:distributor_order_cycle, distributors: [distributor]) - form = OrderCycleForm.new( + form = OrderCycles::FormService.new( order_cycle, { selected_distributor_shipping_method_ids: [distributor_shipping_method] }, create(:admin_user) @@ -406,7 +406,7 @@ describe OrderCycleForm do it "saves the changes" do order_cycle = create(:distributor_order_cycle, distributors: [distributor]) - form = OrderCycleForm.new( + form = OrderCycles::FormService.new( order_cycle, { selected_distributor_shipping_method_ids: [distributor_shipping_method] }, distributor.users.first @@ -428,7 +428,7 @@ describe OrderCycleForm do order_cycle = create(:distributor_order_cycle, distributors: [distributor, distributor2]) - form = OrderCycleForm.new( + form = OrderCycles::FormService.new( order_cycle, { selected_distributor_shipping_method_ids: [distributor_shipping_method] }, distributor2.users.first @@ -460,7 +460,7 @@ describe OrderCycleForm do order_cycle = create(:distributor_order_cycle, distributors: [distributor_i]) - form = OrderCycleForm.new( + form = OrderCycles::FormService.new( order_cycle, { selected_distributor_shipping_method_ids: [distributor_shipping_method_ii.id] }, order_cycle.coordinator.users.first diff --git a/spec/services/order_cycle_warning_spec.rb b/spec/services/order_cycles/warning_service_spec.rb similarity index 91% rename from spec/services/order_cycle_warning_spec.rb rename to spec/services/order_cycles/warning_service_spec.rb index 3adf5e21f9..1cb7e0bb9f 100644 --- a/spec/services/order_cycle_warning_spec.rb +++ b/spec/services/order_cycles/warning_service_spec.rb @@ -2,9 +2,9 @@ require 'spec_helper' -describe OrderCycleWarning do +describe OrderCycles::WarningService do let(:user) { create(:user) } - let(:subject) { OrderCycleWarning } + let(:subject) { OrderCycles::WarningService } let!(:distributor) { create(:enterprise, owner: user) } let!(:order_cycle) { create(:simple_order_cycle, distributors: [distributor]) } diff --git a/spec/services/order_cycle_webhook_service_spec.rb b/spec/services/order_cycles/webhook_service_spec.rb similarity index 81% rename from spec/services/order_cycle_webhook_service_spec.rb rename to spec/services/order_cycles/webhook_service_spec.rb index 4ab08691db..45841f8e1b 100644 --- a/spec/services/order_cycle_webhook_service_spec.rb +++ b/spec/services/order_cycles/webhook_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe OrderCycleWebhookService do +describe OrderCycles::WebhookService do let(:order_cycle) { create( :simple_order_cycle, @@ -21,8 +21,8 @@ describe OrderCycleWebhookService do coordinator_user = create(:user, enterprises: [coordinator]) coordinator_user.webhook_endpoints.create!(url: "http://coordinator_user_url") - expect{ OrderCycleWebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } - .not_to enqueue_job(WebhookDeliveryJob).with("http://coordinator_user_url", any_args) + expect{ OrderCycles::WebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } + .to_not enqueue_job(WebhookDeliveryJob).with("http://coordinator_user_url", any_args) end context "coordinator owner has endpoint configured" do @@ -31,7 +31,7 @@ describe OrderCycleWebhookService do end it "creates webhook payload for order cycle coordinator" do - expect{ OrderCycleWebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } + expect{ OrderCycles::WebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } .to enqueue_job(WebhookDeliveryJob).with("http://coordinator_owner_url", any_args) end @@ -48,7 +48,7 @@ describe OrderCycleWebhookService do coordinator_name: "Starship Enterprise", } - expect{ OrderCycleWebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } + expect{ OrderCycles::WebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } .to enqueue_job(WebhookDeliveryJob).exactly(1).times .with("http://coordinator_owner_url", "order_cycle.opened", hash_including(data)) end @@ -56,7 +56,7 @@ describe OrderCycleWebhookService do context "coordinator owner doesn't have endpoint configured" do it "doesn't create webhook payload" do - expect{ OrderCycleWebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } + expect{ OrderCycles::WebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } .not_to enqueue_job(WebhookDeliveryJob) end end @@ -84,7 +84,9 @@ describe OrderCycleWebhookService do coordinator_name: "Starship Enterprise", } - expect{ OrderCycleWebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } + expect{ + OrderCycles::WebhookService.create_webhook_job(order_cycle, "order_cycle.opened") + } .to enqueue_job(WebhookDeliveryJob).with("http://distributor1_owner_url", "order_cycle.opened", hash_including(data)) .and enqueue_job(WebhookDeliveryJob).with("http://distributor2_owner_url", @@ -105,7 +107,9 @@ describe OrderCycleWebhookService do it "creates only one webhook payload for the user's endpoint" do user.webhook_endpoints.create! url: "http://coordinator_owner_url" - expect{ OrderCycleWebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } + expect{ + OrderCycles::WebhookService.create_webhook_job(order_cycle, "order_cycle.opened") + } .to enqueue_job(WebhookDeliveryJob).with("http://coordinator_owner_url", any_args) end end @@ -127,8 +131,10 @@ describe OrderCycleWebhookService do } it "doesn't create a webhook payload for supplier owner" do - expect{ OrderCycleWebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } - .not_to enqueue_job(WebhookDeliveryJob).with("http://supplier_owner_url", any_args) + expect{ + OrderCycles::WebhookService.create_webhook_job(order_cycle, "order_cycle.opened") + } + .to_not enqueue_job(WebhookDeliveryJob).with("http://supplier_owner_url", any_args) end end end @@ -136,7 +142,7 @@ describe OrderCycleWebhookService do context "without webhook subscribed to enterprise" do it "doesn't create webhook payload" do - expect{ OrderCycleWebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } + expect{ OrderCycles::WebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } .not_to enqueue_job(WebhookDeliveryJob) end end diff --git a/spec/services/order_available_payment_methods_spec.rb b/spec/services/orders/available_payment_methods_service_spec.rb similarity index 89% rename from spec/services/order_available_payment_methods_spec.rb rename to spec/services/orders/available_payment_methods_service_spec.rb index 6d9a9e4185..b31d3af5f6 100644 --- a/spec/services/order_available_payment_methods_spec.rb +++ b/spec/services/orders/available_payment_methods_service_spec.rb @@ -2,13 +2,13 @@ require 'spec_helper' -describe OrderAvailablePaymentMethods do +describe Orders::AvailablePaymentMethodsService do context "when the order has no current_distributor" do it "returns an empty array" do order_cycle = create(:sells_own_order_cycle) order = build(:order, distributor: nil, order_cycle:) - expect(OrderAvailablePaymentMethods.new(order).to_a).to eq [] + expect(Orders::AvailablePaymentMethodsService.new(order).to_a).to eq [] end end @@ -21,7 +21,7 @@ describe OrderAvailablePaymentMethods do order_cycle = create(:sells_own_order_cycle) order = build(:order, distributor:, order_cycle:) - available_payment_methods = OrderAvailablePaymentMethods.new(order).to_a + available_payment_methods = Orders::AvailablePaymentMethodsService.new(order).to_a expect(available_payment_methods).to eq [frontend_payment_method] end @@ -35,7 +35,7 @@ describe OrderAvailablePaymentMethods do order_cycle = create(:sells_own_order_cycle) order = build(:order, distributor:, order_cycle:) - available_payment_methods = OrderAvailablePaymentMethods.new(order).to_a + available_payment_methods = Orders::AvailablePaymentMethodsService.new(order).to_a expect(available_payment_methods).to eq [frontend_payment_method] end @@ -53,7 +53,7 @@ describe OrderAvailablePaymentMethods do order_cycle = create(:sells_own_order_cycle, distributors: [distributor_i, distributor_ii]) order = build(:order, distributor: distributor_i, order_cycle:) - available_payment_methods = OrderAvailablePaymentMethods.new(order).to_a + available_payment_methods = Orders::AvailablePaymentMethodsService.new(order).to_a expect(available_payment_methods).to eq [payment_method_i] end @@ -76,7 +76,7 @@ describe OrderAvailablePaymentMethods do ] order = build(:order, distributor: distributor_i, order_cycle:) - available_payment_methods = OrderAvailablePaymentMethods.new(order).to_a + available_payment_methods = Orders::AvailablePaymentMethodsService.new(order).to_a expect(available_payment_methods).to eq [payment_method_i] end @@ -125,7 +125,7 @@ describe OrderAvailablePaymentMethods do let(:order) { build(:order, distributor:, order_cycle:) } context "when the customer is nil" do - let(:available_payment_methods) { OrderAvailablePaymentMethods.new(order).to_a } + let(:available_payment_methods) { Orders::AvailablePaymentMethodsService.new(order).to_a } it "applies default action (hide)" do expect(available_payment_methods).to include untagged_payment_method @@ -134,7 +134,9 @@ describe OrderAvailablePaymentMethods do end context "when a customer is present" do - let(:available_payment_methods) { OrderAvailablePaymentMethods.new(order, customer).to_a } + let(:available_payment_methods) { + Orders::AvailablePaymentMethodsService.new(order, customer).to_a + } context "and the customer's tags match" do before do @@ -175,7 +177,7 @@ describe OrderAvailablePaymentMethods do let(:order) { build(:order, distributor:, order_cycle:) } context "when the customer is nil" do - let(:available_payment_methods) { OrderAvailablePaymentMethods.new(order).to_a } + let(:available_payment_methods) { Orders::AvailablePaymentMethodsService.new(order).to_a } it "applies default action (show)" do expect(available_payment_methods).to include( @@ -186,7 +188,9 @@ describe OrderAvailablePaymentMethods do end context "when a customer is present" do - let(:available_payment_methods) { OrderAvailablePaymentMethods.new(order, customer).to_a } + let(:available_payment_methods) { + Orders::AvailablePaymentMethodsService.new(order, customer).to_a + } context "and the customer's tags match" do before do @@ -233,7 +237,7 @@ describe OrderAvailablePaymentMethods do } it do order = build(:order, distributor: d2, order_cycle: oc) - order_available_payment_methods = OrderAvailablePaymentMethods.new(order).to_a + order_available_payment_methods = Orders::AvailablePaymentMethodsService.new(order).to_a expect(order_available_payment_methods).to eq([d2.payment_methods.first]) end end diff --git a/spec/services/order_available_shipping_methods_spec.rb b/spec/services/orders/available_shipping_methods_service_spec.rb similarity index 90% rename from spec/services/order_available_shipping_methods_spec.rb rename to spec/services/orders/available_shipping_methods_service_spec.rb index 325a5801d2..9ee26ca804 100644 --- a/spec/services/order_available_shipping_methods_spec.rb +++ b/spec/services/orders/available_shipping_methods_service_spec.rb @@ -2,13 +2,13 @@ require 'spec_helper' -describe OrderAvailableShippingMethods do +describe Orders::AvailableShippingMethodsService do context "when the order has no current_distributor" do it "returns an empty array" do order_cycle = create(:sells_own_order_cycle) order = build(:order, distributor: nil, order_cycle:) - expect(OrderAvailableShippingMethods.new(order).to_a).to eq [] + expect(Orders::AvailableShippingMethodsService.new(order).to_a).to eq [] end end @@ -20,7 +20,7 @@ describe OrderAvailableShippingMethods do order_cycle = create(:sells_own_order_cycle) order = build(:order, distributor:, order_cycle:) - available_shipping_methods = OrderAvailableShippingMethods.new(order).to_a + available_shipping_methods = Orders::AvailableShippingMethodsService.new(order).to_a expect(available_shipping_methods).to eq [frontend_shipping_method] end @@ -38,7 +38,7 @@ describe OrderAvailableShippingMethods do order_cycle = create(:sells_own_order_cycle, distributors: [distributor_i, distributor_ii]) order = build(:order, distributor: distributor_i, order_cycle:) - available_shipping_methods = OrderAvailableShippingMethods.new(order).to_a + available_shipping_methods = Orders::AvailableShippingMethodsService.new(order).to_a expect(available_shipping_methods).to eq [shipping_method_i] end @@ -61,7 +61,7 @@ describe OrderAvailableShippingMethods do ] order = build(:order, distributor: distributor_i, order_cycle:) - available_shipping_methods = OrderAvailableShippingMethods.new(order).to_a + available_shipping_methods = Orders::AvailableShippingMethodsService.new(order).to_a expect(available_shipping_methods).to eq [shipping_method_i] end @@ -110,7 +110,7 @@ describe OrderAvailableShippingMethods do let(:order) { build(:order, distributor:, order_cycle:) } context "when the customer is nil" do - let(:available_shipping_methods) { OrderAvailableShippingMethods.new(order).to_a } + let(:available_shipping_methods) { Orders::AvailableShippingMethodsService.new(order).to_a } it "applies default action (hide)" do expect(available_shipping_methods).to include untagged_sm @@ -119,7 +119,9 @@ describe OrderAvailableShippingMethods do end context "when a customer is present" do - let(:available_shipping_methods) { OrderAvailableShippingMethods.new(order, customer).to_a } + let(:available_shipping_methods) { + Orders::AvailableShippingMethodsService.new(order, customer).to_a + } context "and the customer's tags match" do before do @@ -157,7 +159,7 @@ describe OrderAvailableShippingMethods do let(:order) { build(:order, distributor:, order_cycle:) } context "when the customer is nil" do - let(:available_shipping_methods) { OrderAvailableShippingMethods.new(order).to_a } + let(:available_shipping_methods) { Orders::AvailableShippingMethodsService.new(order).to_a } it "applies default action (show)" do expect(available_shipping_methods).to include tagged_sm, untagged_sm @@ -165,7 +167,9 @@ describe OrderAvailableShippingMethods do end context "when a customer is present" do - let(:available_shipping_methods) { OrderAvailableShippingMethods.new(order, customer).to_a } + let(:available_shipping_methods) { + Orders::AvailableShippingMethodsService.new(order, customer).to_a + } context "and the customer's tags match" do before do @@ -209,14 +213,14 @@ describe OrderAvailableShippingMethods do } it do order = build(:order, distributor: d2, order_cycle: oc) - order_available_shipping_methods = OrderAvailableShippingMethods.new(order).to_a + order_available_shipping_methods = Orders::AvailableShippingMethodsService.new(order).to_a expect(order_available_shipping_methods).to eq([d2.shipping_methods.first]) end end end context "when certain shipping categories are required", feature: :match_shipping_categories do - subject { OrderAvailableShippingMethods.new(order) } + subject { Orders::AvailableShippingMethodsService.new(order) } let(:order) { build(:order, distributor:, order_cycle: oc) } let(:oc) { create(:order_cycle) } let(:distributor) { oc.distributors.first } diff --git a/spec/services/order_cart_reset_spec.rb b/spec/services/orders/cart_reset_service_spec.rb similarity index 81% rename from spec/services/order_cart_reset_spec.rb rename to spec/services/orders/cart_reset_service_spec.rb index c8a1b4c3c8..05e2ea4387 100644 --- a/spec/services/order_cart_reset_spec.rb +++ b/spec/services/orders/cart_reset_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe OrderCartReset do +describe Orders::CartResetService do let(:distributor) { create(:distributor_enterprise) } let(:order) { create(:order, :with_line_item, distributor:) } @@ -10,7 +10,7 @@ describe OrderCartReset do let(:new_distributor) { create(:distributor_enterprise) } it "empties order" do - OrderCartReset.new(order, new_distributor.id.to_s).reset_distributor + Orders::CartResetService.new(order, new_distributor.id.to_s).reset_distributor expect(order.line_items).to be_empty end @@ -28,7 +28,7 @@ describe OrderCartReset do it "empties order and makes order cycle nil" do expect(order_cycle_list).to receive(:call).and_return([]) - OrderCartReset.new(order, distributor.id.to_s).reset_other!(nil, nil) + Orders::CartResetService.new(order, distributor.id.to_s).reset_other!(nil, nil) expect(order.line_items).to be_empty expect(order.order_cycle).to be_nil @@ -38,7 +38,7 @@ describe OrderCartReset do other_order_cycle = create(:simple_order_cycle, distributors: [distributor]) expect(order_cycle_list).to receive(:call).and_return([other_order_cycle]) - OrderCartReset.new(order, distributor.id.to_s).reset_other!(nil, nil) + Orders::CartResetService.new(order, distributor.id.to_s).reset_other!(nil, nil) expect(order.order_cycle).to eq other_order_cycle end diff --git a/spec/services/order_checkout_restart_spec.rb b/spec/services/orders/checkout_restart_service_spec.rb similarity index 86% rename from spec/services/order_checkout_restart_spec.rb rename to spec/services/orders/checkout_restart_service_spec.rb index c4f10fb5e6..f8f051c5b9 100644 --- a/spec/services/order_checkout_restart_spec.rb +++ b/spec/services/orders/checkout_restart_service_spec.rb @@ -2,14 +2,14 @@ require 'spec_helper' -describe OrderCheckoutRestart do +describe Orders::CheckoutRestartService do let(:order) { create(:order_with_distributor) } describe "#call" do context "when the order is already in the 'cart' state" do it "does nothing" do - expect(order).not_to receive(:restart_checkout!) - OrderCheckoutRestart.new(order).call + expect(order).to_not receive(:restart_checkout!) + Orders::CheckoutRestartService.new(order).call end end @@ -27,7 +27,7 @@ describe OrderCheckoutRestart do before { order.ship_address = nil } it "resets the order state, and clears incomplete shipments and payments" do - OrderCheckoutRestart.new(order).call + Orders::CheckoutRestartService.new(order).call expect_cart_state_and_reset_adjustments end @@ -37,7 +37,7 @@ describe OrderCheckoutRestart do before { order.ship_address = order.address_from_distributor } it "resets the order state, and clears incomplete shipments and payments" do - OrderCheckoutRestart.new(order).call + Orders::CheckoutRestartService.new(order).call expect_cart_state_and_reset_adjustments end @@ -48,7 +48,7 @@ describe OrderCheckoutRestart do it "does not reset the order state nor clears incomplete shipments and payments" do expect do - OrderCheckoutRestart.new(order).call + Orders::CheckoutRestartService.new(order).call end.to raise_error(StateMachines::InvalidTransition) expect(order.state).to eq 'payment' diff --git a/spec/services/order_invoice_comparator_spec.rb b/spec/services/orders/compare_invoice_service_spec.rb similarity index 98% rename from spec/services/order_invoice_comparator_spec.rb rename to spec/services/orders/compare_invoice_service_spec.rb index 870c5866e3..932e5b54b6 100644 --- a/spec/services/order_invoice_comparator_spec.rb +++ b/spec/services/orders/compare_invoice_service_spec.rb @@ -299,7 +299,7 @@ shared_examples "attribute changes - payment state" do |boolean, type| end end -describe OrderInvoiceComparator do +describe Orders::CompareInvoiceService do let!(:invoice){ create(:invoice, order:, @@ -311,7 +311,7 @@ describe OrderInvoiceComparator do let(:order) { create(:completed_order_with_fees) } let!(:invoice_data_generator){ InvoiceDataGenerator.new(order) } let(:subject) { - OrderInvoiceComparator.new(order).can_generate_new_invoice? + Orders::CompareInvoiceService.new(order).can_generate_new_invoice? } context "changes on the order object" do @@ -351,7 +351,7 @@ describe OrderInvoiceComparator do let!(:order) { create(:completed_order_with_fees) } let!(:invoice_data_generator){ InvoiceDataGenerator.new(order) } let(:subject) { - OrderInvoiceComparator.new(order).can_update_latest_invoice? + Orders::CompareInvoiceService.new(order).can_update_latest_invoice? } context "changes on the order object" do diff --git a/spec/services/customer_order_cancellation_spec.rb b/spec/services/orders/customer_cancellation_service_spec.rb similarity index 82% rename from spec/services/customer_order_cancellation_spec.rb rename to spec/services/orders/customer_cancellation_service_spec.rb index 9c8c6a8508..624ea08fd3 100644 --- a/spec/services/customer_order_cancellation_spec.rb +++ b/spec/services/orders/customer_cancellation_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe CustomerOrderCancellation do +describe Orders::CustomerCancellationService do let(:mail_mock) { double(:mailer_mock, deliver_later: true) } before do allow(Spree::OrderMailer).to receive(:cancel_email_for_shop) { mail_mock } @@ -12,7 +12,7 @@ describe CustomerOrderCancellation do it "notifies the distributor by email" do order = create(:order, completed_at: Time.now, state: 'complete') - CustomerOrderCancellation.new(order).call + Orders::CustomerCancellationService.new(order).call expect(Spree::OrderMailer).to have_received(:cancel_email_for_shop).with(order) expect(mail_mock).to have_received(:deliver_later) @@ -23,7 +23,7 @@ describe CustomerOrderCancellation do it "doesn't notify the distributor by email" do order = create(:order, state: 'canceled') - CustomerOrderCancellation.new(order).call + Orders::CustomerCancellationService.new(order).call expect(Spree::OrderMailer).not_to have_received(:cancel_email_for_shop) end diff --git a/spec/services/order_factory_spec.rb b/spec/services/orders/factory_service_spec.rb similarity index 97% rename from spec/services/order_factory_spec.rb rename to spec/services/orders/factory_service_spec.rb index 5a346ff810..26c8ec2564 100644 --- a/spec/services/order_factory_spec.rb +++ b/spec/services/orders/factory_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe OrderFactory do +describe Orders::FactoryService do let(:variant1) { create(:variant, price: 5.0) } let(:variant2) { create(:variant, price: 7.0) } let(:user) { create(:user) } @@ -16,7 +16,7 @@ describe OrderFactory do let(:ship_address) { create(:address) } let(:bill_address) { create(:address) } let(:opts) { {} } - let(:factory) { OrderFactory.new(attrs, opts) } + let(:factory) { Orders::FactoryService.new(attrs, opts) } let(:order) { factory.create } describe "create" do @@ -50,7 +50,7 @@ describe OrderFactory do end it "retains address, delivery, and payment attributes until completion of the order" do - OrderWorkflow.new(order).complete + Orders::WorkflowService.new(order).complete order.reload diff --git a/spec/services/order_payment_finder_spec.rb b/spec/services/orders/find_payment_service_spec.rb similarity index 93% rename from spec/services/order_payment_finder_spec.rb rename to spec/services/orders/find_payment_service_spec.rb index ff90369fb8..0777d5ed2c 100644 --- a/spec/services/order_payment_finder_spec.rb +++ b/spec/services/orders/find_payment_service_spec.rb @@ -2,9 +2,9 @@ require 'spec_helper' -describe OrderPaymentFinder do +describe Orders::FindPaymentService do let(:order) { create(:order_with_distributor) } - let(:finder) { OrderPaymentFinder.new(order) } + let(:finder) { Orders::FindPaymentService.new(order) } context "when order has several non pending payments" do let!(:failed_payment) { create(:payment, order:, state: 'failed') } diff --git a/spec/services/order_invoice_generator_spec.rb b/spec/services/orders/generate_invoice_service_spec.rb similarity index 95% rename from spec/services/order_invoice_generator_spec.rb rename to spec/services/orders/generate_invoice_service_spec.rb index 24b83143de..50fb5350d5 100644 --- a/spec/services/order_invoice_generator_spec.rb +++ b/spec/services/orders/generate_invoice_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe OrderInvoiceGenerator do +describe Orders::GenerateInvoiceService do let!(:order) { create(:completed_order_with_fees) } let!(:invoice_data_generator){ InvoiceDataGenerator.new(order) } let!(:latest_invoice){ @@ -12,7 +12,7 @@ describe OrderInvoiceGenerator do } let(:instance) { described_class.new(order) } - let(:comparator){ double("OrderInvoiceComparator") } + let(:comparator){ double("Orders::CompareInvoiceService") } before do allow(instance).to receive(:comparator).and_return(comparator) diff --git a/spec/services/order_fees_handler_spec.rb b/spec/services/orders/handle_fees_service_spec.rb similarity index 95% rename from spec/services/order_fees_handler_spec.rb rename to spec/services/orders/handle_fees_service_spec.rb index 29ef8428af..6b92683331 100644 --- a/spec/services/order_fees_handler_spec.rb +++ b/spec/services/orders/handle_fees_service_spec.rb @@ -2,12 +2,12 @@ require 'spec_helper' -describe OrderFeesHandler do +describe Orders::HandleFeesService do let(:order_cycle) { create(:order_cycle) } let(:order) { create(:order_with_line_items, line_items_count: 1, order_cycle:) } let(:line_item) { order.line_items.first } - let(:service) { OrderFeesHandler.new(order) } + let(:service) { Orders::HandleFeesService.new(order) } let(:calculator) { double(OpenFoodNetwork::EnterpriseFeeCalculator, create_order_adjustments_for: true) } diff --git a/spec/services/order_data_masker_spec.rb b/spec/services/orders/mask_data_service_spec.rb similarity index 98% rename from spec/services/order_data_masker_spec.rb rename to spec/services/orders/mask_data_service_spec.rb index d68e90ff86..f23141922c 100644 --- a/spec/services/order_data_masker_spec.rb +++ b/spec/services/orders/mask_data_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe OrderDataMasker do +describe Orders::MaskDataService do describe '#call' do let(:distributor) { create(:enterprise) } let(:order) { create(:order, distributor:, ship_address: create(:address)) } diff --git a/spec/services/order_tax_adjustments_fetcher_spec.rb b/spec/services/orders/order_tax_adjustments_fetcher_spec.rb similarity index 97% rename from spec/services/order_tax_adjustments_fetcher_spec.rb rename to spec/services/orders/order_tax_adjustments_fetcher_spec.rb index 31f71b80b5..f45280c27a 100644 --- a/spec/services/order_tax_adjustments_fetcher_spec.rb +++ b/spec/services/orders/order_tax_adjustments_fetcher_spec.rb @@ -2,7 +2,7 @@ require "spec_helper" -describe OrderTaxAdjustmentsFetcher do +describe Orders::FetchTaxAdjustmentsService do describe "#totals" do let(:zone) { create(:zone_with_member) } let(:coordinator) { create(:distributor_enterprise, charges_sales_tax: true) } @@ -94,7 +94,7 @@ describe OrderTaxAdjustmentsFetcher do legacy_tax_adjustment end - subject { OrderTaxAdjustmentsFetcher.new(order).totals } + subject { Orders::FetchTaxAdjustmentsService.new(order).totals } it "returns a hash with all 5 taxes" do expect(subject.size).to eq(5) diff --git a/spec/services/order_syncer_spec.rb b/spec/services/orders/sync_service_spec.rb similarity index 97% rename from spec/services/order_syncer_spec.rb rename to spec/services/orders/sync_service_spec.rb index 4251354902..f45a009a9c 100644 --- a/spec/services/order_syncer_spec.rb +++ b/spec/services/orders/sync_service_spec.rb @@ -2,14 +2,14 @@ require "spec_helper" -describe OrderSyncer do +describe Orders::SyncService do describe "updating the shipping method" do let!(:subscription) { create(:subscription, with_items: true, with_proxy_orders: true) } let!(:order) { subscription.proxy_orders.first.initialise_order! } let!(:shipping_method) { subscription.shipping_method } let!(:new_shipping_method) { create(:shipping_method, distributors: [subscription.shop]) } - let(:syncer) { OrderSyncer.new(subscription) } + let(:syncer) { Orders::SyncService.new(subscription) } context "when the shipping method on an order is the same as the subscription" do let(:params) { { shipping_method_id: new_shipping_method.id } } @@ -88,7 +88,7 @@ describe OrderSyncer do let(:payment_method) { subscription.payment_method } let(:new_payment_method) { create(:payment_method, distributors: [subscription.shop]) } let(:invalid_payment_method) { create(:payment_method, distributors: [create(:enterprise)]) } - let(:syncer) { OrderSyncer.new(subscription) } + let(:syncer) { Orders::SyncService.new(subscription) } context "when the payment method on an order is the same as the subscription" do let(:params) { { payment_method_id: new_payment_method.id } } @@ -160,7 +160,7 @@ describe OrderSyncer do { bill_address_attributes: { id: bill_address_attrs["id"], firstname: "Bill", address1: "123 abc st", phone: "1123581321" } } } - let(:syncer) { OrderSyncer.new(subscription) } + let(:syncer) { Orders::SyncService.new(subscription) } context "when a ship address is not required" do let!(:shipping_method) do @@ -268,7 +268,7 @@ describe OrderSyncer do { ship_address_attributes: { id: ship_address_attrs["id"], firstname: "Ship", address1: "123 abc st", phone: "1123581321" } } } - let(:syncer) { OrderSyncer.new(subscription) } + let(:syncer) { Orders::SyncService.new(subscription) } context "when a ship address is not required" do let!(:shipping_method) do @@ -394,7 +394,7 @@ describe OrderSyncer do context "when quantity is within available stock" do let(:params) { { subscription_line_items_attributes: [{ id: sli.id, quantity: 2 }] } } - let(:syncer) { OrderSyncer.new(subscription) } + let(:syncer) { Orders::SyncService.new(subscription) } it "updates the line_item quantities and totals on all orders" do expect(order.reload.total.to_f).to eq 59.97 @@ -409,7 +409,7 @@ describe OrderSyncer do context "when quantity is greater than available stock" do let(:params) { { subscription_line_items_attributes: [{ id: sli.id, quantity: 3 }] } } - let(:syncer) { OrderSyncer.new(subscription) } + let(:syncer) { Orders::SyncService.new(subscription) } before do expect(order.reload.total.to_f).to eq 59.97 @@ -430,7 +430,7 @@ describe OrderSyncer do context "when order is complete" do it "does not update the line_item quantities and adds the order " \ "to order_update_issues with insufficient stock" do - OrderWorkflow.new(order).complete + Orders::WorkflowService.new(order).complete expect(syncer.sync!).to be true @@ -449,7 +449,7 @@ describe OrderSyncer do # this single item available is used when the order is completed below, # making the item out of stock variant.update_attribute(:on_hand, 1) - OrderWorkflow.new(order).complete + Orders::WorkflowService.new(order).complete expect(syncer.sync!).to be true @@ -462,7 +462,7 @@ describe OrderSyncer do context "where the quantity of the item on an initialised order has already been changed" do let(:params) { { subscription_line_items_attributes: [{ id: sli.id, quantity: 3 }] } } - let(:syncer) { OrderSyncer.new(subscription) } + let(:syncer) { Orders::SyncService.new(subscription) } let(:changed_line_item) { order.line_items.find_by(variant_id: sli.variant_id) } before { variant.update_attribute(:on_hand, 3) } @@ -510,7 +510,7 @@ describe OrderSyncer do let(:subscription) { create(:subscription, with_items: true, with_proxy_orders: true) } let(:order) { subscription.proxy_orders.first.initialise_order! } let(:variant) { create(:variant) } - let(:syncer) { OrderSyncer.new(subscription) } + let(:syncer) { Orders::SyncService.new(subscription) } before do expect(order.reload.total.to_f).to eq 59.97 @@ -547,7 +547,7 @@ describe OrderSyncer do end context "when order is complete" do - before { OrderWorkflow.new(order).complete } + before { Orders::WorkflowService.new(order).complete } it "does not add line_item and adds the order to order_update_issues" do expect(syncer.sync!).to be true @@ -593,7 +593,7 @@ describe OrderSyncer do let(:sli) { subscription.subscription_line_items.first } let(:variant) { sli.variant } let(:params) { { subscription_line_items_attributes: [{ id: sli.id, _destroy: true }] } } - let(:syncer) { OrderSyncer.new(subscription) } + let(:syncer) { Orders::SyncService.new(subscription) } it "removes the line item and updates totals on all orders" do expect(order.reload.total.to_f).to eq 59.97 diff --git a/spec/services/order_workflow_spec.rb b/spec/services/orders/workflow_service_spec.rb similarity index 98% rename from spec/services/order_workflow_spec.rb rename to spec/services/orders/workflow_service_spec.rb index 3aa715aa4f..08e48fa0cd 100644 --- a/spec/services/order_workflow_spec.rb +++ b/spec/services/orders/workflow_service_spec.rb @@ -2,7 +2,7 @@ require "spec_helper" -describe OrderWorkflow do +describe Orders::WorkflowService do let!(:distributor) { create(:distributor_enterprise) } let!(:order) do create(:order_with_totals_and_distribution, distributor:, diff --git a/spec/services/place_proxy_order_spec.rb b/spec/services/place_proxy_order_spec.rb index ba6db17353..2fc895ec53 100644 --- a/spec/services/place_proxy_order_spec.rb +++ b/spec/services/place_proxy_order_spec.rb @@ -114,8 +114,8 @@ describe PlaceProxyOrder do order.line_items << build(:line_item) - order_workflow = instance_double(OrderWorkflow, complete!: true) - allow(OrderWorkflow).to receive(:new).with(order).and_return(order_workflow) + order_workflow = instance_double(Orders::WorkflowService, complete!: true) + allow(Orders::WorkflowService).to receive(:new).with(order).and_return(order_workflow) end context "when no changes are present" do diff --git a/spec/system/admin/invoice_print_spec.rb b/spec/system/admin/invoice_print_spec.rb index 111b1c074b..e4246a9d69 100644 --- a/spec/system/admin/invoice_print_spec.rb +++ b/spec/system/admin/invoice_print_spec.rb @@ -678,7 +678,7 @@ describe ' context "Order has previous invoices" do before do - OrderInvoiceGenerator.new(order).generate_or_update_latest_invoice + Orders::GenerateInvoiceService.new(order).generate_or_update_latest_invoice first_line_item = order.line_items.first order.line_items.first.update(quantity: first_line_item.quantity + 1) end diff --git a/spec/system/admin/payments_stripe_spec.rb b/spec/system/admin/payments_stripe_spec.rb index 13ff3a6b6f..1c6b96ae58 100644 --- a/spec/system/admin/payments_stripe_spec.rb +++ b/spec/system/admin/payments_stripe_spec.rb @@ -47,7 +47,8 @@ describe ' click_button "Update" expect(page).to have_link "StripeSCA" - expect(OrderPaymentFinder.new(order.reload).last_payment.state).to eq "completed" + last_payment_state = Orders::FindPaymentService.new(order.reload).last_payment.state + expect(last_payment_state).to eq 'completed' end end @@ -66,7 +67,7 @@ describe ' expect(page).to have_link "StripeSCA" expect(page).to have_content "FAILED" - expect(OrderPaymentFinder.new(order.reload).last_payment.state).to eq "failed" + expect(Orders::FindPaymentService.new(order.reload).last_payment.state).to eq "failed" end end end @@ -87,7 +88,7 @@ describe ' expect(page).to have_link "StripeSCA" expect(page).to have_content "AUTHORIZATION REQUIRED" - expect(OrderPaymentFinder.new(order.reload).last_payment.state) + expect(Orders::FindPaymentService.new(order.reload).last_payment.state) .to eq "requires_authorization" end end @@ -112,7 +113,7 @@ describe ' click_button "Update" expect(page).to have_link "StripeSCA" - expect(OrderPaymentFinder.new(order.reload).last_payment.state).to eq "completed" + expect(Orders::FindPaymentService.new(order.reload).last_payment.state).to eq "completed" end end end diff --git a/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_order_spec.rb b/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_order_spec.rb index 5831946361..bd833db5d8 100644 --- a/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_order_spec.rb +++ b/spec/system/admin/reports/enterprise_summary_fees/enterprise_summary_fee_with_tax_report_by_order_spec.rb @@ -110,7 +110,7 @@ describe "Enterprise Summary Fee with Tax Report By Order" do # independently of the order_cycle. # order.reload order.recreate_all_fees! - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! order.customer.update!({ first_name: customer_first_name, @@ -188,7 +188,7 @@ describe "Enterprise Summary Fee with Tax Report By Order" do ship_address_id: ship_address.id }) order.recreate_all_fees! - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! order.customer.update!({ first_name: customer_first_name, diff --git a/spec/system/admin/reports/sales_tax/sales_tax_totals_by_order_spec.rb b/spec/system/admin/reports/sales_tax/sales_tax_totals_by_order_spec.rb index 7678f59c02..1ff6b557b0 100644 --- a/spec/system/admin/reports/sales_tax/sales_tax_totals_by_order_spec.rb +++ b/spec/system/admin/reports/sales_tax/sales_tax_totals_by_order_spec.rb @@ -100,7 +100,7 @@ describe "Sales Tax Totals By order" do # the enterprise fees can be known only when the user selects the variants # we'll need to create them by calling recreate_all_fees! order.recreate_all_fees! - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! end it "generates the report" do @@ -166,7 +166,7 @@ describe "Sales Tax Totals By order" do it "generates the report" do order.recreate_all_fees! - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! visit_sales_tax_totals_by_order @@ -319,7 +319,7 @@ describe "Sales Tax Totals By order" do before do order.recreate_all_fees! - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! customer2.update!({ first_name: 'c2fname', last_name: 'c2lname', code: 'DEF456' }) order2.line_items.create({ variant:, quantity: 1, price: 200 }) @@ -331,7 +331,7 @@ describe "Sales Tax Totals By order" do email: 'order2@example.com' }) order2.recreate_all_fees! - OrderWorkflow.new(order2).complete! + Orders::WorkflowService.new(order2).complete! visit_sales_tax_totals_by_order end From 778ed46d50ae4139cf3f43f47249257b22196bb4 Mon Sep 17 00:00:00 2001 From: Feruz Oripov Date: Sat, 16 Mar 2024 19:14:18 +0500 Subject: [PATCH 116/374] cops --- spec/jobs/order_cycle_opened_job_spec.rb | 4 ++-- spec/models/proxy_order_spec.rb | 4 ++-- spec/services/order_cycles/webhook_service_spec.rb | 4 ++-- spec/services/orders/checkout_restart_service_spec.rb | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/jobs/order_cycle_opened_job_spec.rb b/spec/jobs/order_cycle_opened_job_spec.rb index c36421480b..b0ebfbe927 100644 --- a/spec/jobs/order_cycle_opened_job_spec.rb +++ b/spec/jobs/order_cycle_opened_job_spec.rb @@ -18,10 +18,10 @@ describe OrderCycleOpenedJob do .to receive(:create_webhook_job).with(oc_opened_now, 'order_cycle.opened') expect(OrderCycles::WebhookService) - .to_not receive(:create_webhook_job).with(oc_opened_before, 'order_cycle.opened') + .not_to receive(:create_webhook_job).with(oc_opened_before, 'order_cycle.opened') expect(OrderCycles::WebhookService) - .to_not receive(:create_webhook_job).with(oc_opening_soon, 'order_cycle.opened') + .not_to receive(:create_webhook_job).with(oc_opening_soon, 'order_cycle.opened') OrderCycleOpenedJob.perform_now end diff --git a/spec/models/proxy_order_spec.rb b/spec/models/proxy_order_spec.rb index 5965521c27..0061284d5b 100644 --- a/spec/models/proxy_order_spec.rb +++ b/spec/models/proxy_order_spec.rb @@ -205,8 +205,8 @@ describe ProxyOrder, type: :model do end it "returns the existing order" do - expect(Orders::FactoryService).to_not receive(:new) - expect(proxy_order).to_not receive(:save!) + expect(Orders::FactoryService).not_to receive(:new) + expect(proxy_order).not_to receive(:save!) expect(proxy_order.initialise_order!).to eq existing_order end end diff --git a/spec/services/order_cycles/webhook_service_spec.rb b/spec/services/order_cycles/webhook_service_spec.rb index 45841f8e1b..060607b8f9 100644 --- a/spec/services/order_cycles/webhook_service_spec.rb +++ b/spec/services/order_cycles/webhook_service_spec.rb @@ -22,7 +22,7 @@ describe OrderCycles::WebhookService do coordinator_user.webhook_endpoints.create!(url: "http://coordinator_user_url") expect{ OrderCycles::WebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } - .to_not enqueue_job(WebhookDeliveryJob).with("http://coordinator_user_url", any_args) + .not_to enqueue_job(WebhookDeliveryJob).with("http://coordinator_user_url", any_args) end context "coordinator owner has endpoint configured" do @@ -134,7 +134,7 @@ describe OrderCycles::WebhookService do expect{ OrderCycles::WebhookService.create_webhook_job(order_cycle, "order_cycle.opened") } - .to_not enqueue_job(WebhookDeliveryJob).with("http://supplier_owner_url", any_args) + .not_to enqueue_job(WebhookDeliveryJob).with("http://supplier_owner_url", any_args) end end end diff --git a/spec/services/orders/checkout_restart_service_spec.rb b/spec/services/orders/checkout_restart_service_spec.rb index f8f051c5b9..414838e31b 100644 --- a/spec/services/orders/checkout_restart_service_spec.rb +++ b/spec/services/orders/checkout_restart_service_spec.rb @@ -8,7 +8,7 @@ describe Orders::CheckoutRestartService do describe "#call" do context "when the order is already in the 'cart' state" do it "does nothing" do - expect(order).to_not receive(:restart_checkout!) + expect(order).not_to receive(:restart_checkout!) Orders::CheckoutRestartService.new(order).call end end From bdcb0856af896ae819a78fa81b74a547b5eea0c4 Mon Sep 17 00:00:00 2001 From: Feruz Oripov Date: Sat, 16 Mar 2024 19:23:17 +0500 Subject: [PATCH 117/374] Fix failed specs --- .../sales_tax/sales_tax_totals_by_producer_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb b/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb index b1d319b887..da3244cef5 100644 --- a/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb +++ b/spec/system/admin/reports/sales_tax/sales_tax_totals_by_producer_spec.rb @@ -70,7 +70,7 @@ describe "Sales Tax Totals By Producer" do ship_address_id: ship_address.id }) - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! end it "generates the report" do @@ -128,7 +128,7 @@ describe "Sales Tax Totals By Producer" do ship_address_id: ship_address.id }) - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! end it 'generates the report' do @@ -177,7 +177,7 @@ describe "Sales Tax Totals By Producer" do ship_address_id: ship_address.id }) - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! end it "generates the report" do login_as admin @@ -353,7 +353,7 @@ describe "Sales Tax Totals By Producer" do ship_address_id: customer1.bill_address_id, customer_id: customer1.id }) - OrderWorkflow.new(order).complete! + Orders::WorkflowService.new(order).complete! order2.line_items.create({ variant:, quantity: 1, price: 200 }) order2.update!({ @@ -361,7 +361,7 @@ describe "Sales Tax Totals By Producer" do ship_address_id: customer2.bill_address_id, customer_id: customer2.id }) - OrderWorkflow.new(order2).complete! + Orders::WorkflowService.new(order2).complete! login_as admin visit admin_reports_path click_on 'Sales Tax Totals By Producer' From 8a84e0084fed9e5d4ee700c4887ccecf53bb83af Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 7 Mar 2024 11:42:43 +1100 Subject: [PATCH 118/374] Enqueue cable_ready actions to perform at end of reflex I think this resolves [this discussion](https://github.com/openfoodfoundation/openfoodnetwork/pull/11163#discussion_r1260531844) I guess we just didn't know [how it works](https://docs.stimulusreflex.com/guide/cableready.html#order-of-operations) before.. --- app/reflexes/products_reflex.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/reflexes/products_reflex.rb b/app/reflexes/products_reflex.rb index e6dd59e41d..dd56972517 100644 --- a/app/reflexes/products_reflex.rb +++ b/app/reflexes/products_reflex.rb @@ -116,11 +116,11 @@ class ProductsReflex < ApplicationReflex producer_options: producers, producer_id: @producer_id, category_options: categories, category_id: @category_id, flashes: flash }) - ).broadcast + ) cable_ready.replace_state( url: current_url, - ).broadcast_later + ) morph :nothing end @@ -133,7 +133,7 @@ class ProductsReflex < ApplicationReflex cable_ready.replace( selector: "#products-form", html: render(partial: "admin/products_v3/table", locals:) - ).broadcast + ) morph :nothing # dunno why this doesn't work. From 63549b3dcaac17f9404be32437b3c8c0c330b13c Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 7 Mar 2024 12:07:35 +1100 Subject: [PATCH 119/374] Add comment I still don't know why the morph method doesn't work in this context.. --- app/reflexes/products_reflex.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/reflexes/products_reflex.rb b/app/reflexes/products_reflex.rb index dd56972517..b312c74205 100644 --- a/app/reflexes/products_reflex.rb +++ b/app/reflexes/products_reflex.rb @@ -136,9 +136,8 @@ class ProductsReflex < ApplicationReflex ) morph :nothing - # dunno why this doesn't work. - # morph "#products-form", render(partial: "admin/products_v3/table", - # locals: { products: products }) + # dunno why this doesn't work. The HTML stops after the first `` element, wtf?! + # morph "#products-form", render(partial: "admin/products_v3/table", locals:) end def producers From ad7d19a0beebe7789db18b0cc0e0d40fe8ccfeeb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 09:36:35 +0000 Subject: [PATCH 120/374] chore(deps-dev): bump shoulda-matchers from 6.1.0 to 6.2.0 Bumps [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers) from 6.1.0 to 6.2.0. - [Release notes](https://github.com/thoughtbot/shoulda-matchers/releases) - [Changelog](https://github.com/thoughtbot/shoulda-matchers/blob/main/CHANGELOG.md) - [Commits](https://github.com/thoughtbot/shoulda-matchers/compare/v6.1.0...v6.2.0) --- updated-dependencies: - dependency-name: shoulda-matchers dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 12820c5bba..7e3612a021 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -693,7 +693,7 @@ GEM tilt (>= 1.1, < 3) sd_notify (0.1.1) semantic_range (3.0.0) - shoulda-matchers (6.1.0) + shoulda-matchers (6.2.0) activesupport (>= 5.2.0) sidekiq (7.2.2) concurrent-ruby (< 2) From c4fa936f15c6d98e04d99f5416f69083559cf559 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 09:37:59 +0000 Subject: [PATCH 121/374] chore(deps): bump aws-sdk-s3 from 1.144.0 to 1.145.0 Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.144.0 to 1.145.0. - [Release notes](https://github.com/aws/aws-sdk-ruby/releases) - [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-ruby/commits) --- updated-dependencies: - dependency-name: aws-sdk-s3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 12820c5bba..4576b58987 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -156,8 +156,8 @@ GEM awesome_nested_set (3.6.0) activerecord (>= 4.0.0, < 7.2) aws-eventstream (1.3.0) - aws-partitions (1.896.0) - aws-sdk-core (3.191.3) + aws-partitions (1.898.0) + aws-sdk-core (3.191.4) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) @@ -165,7 +165,7 @@ GEM aws-sdk-kms (1.77.0) aws-sdk-core (~> 3, >= 3.191.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.144.0) + aws-sdk-s3 (1.145.0) aws-sdk-core (~> 3, >= 3.191.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.8) From cad1140b181595e6c8e05405ea97370c5eeb0c85 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 10:01:32 +0000 Subject: [PATCH 122/374] chore(deps): bump stripe from 10.11.0 to 10.12.0 Bumps [stripe](https://github.com/stripe/stripe-ruby) from 10.11.0 to 10.12.0. - [Release notes](https://github.com/stripe/stripe-ruby/releases) - [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md) - [Commits](https://github.com/stripe/stripe-ruby/compare/v10.11.0...v10.12.0) --- updated-dependencies: - dependency-name: stripe dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 12820c5bba..d4ee5399f2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -746,7 +746,7 @@ GEM stimulus_reflex (>= 3.3.0) stringex (2.8.6) stringio (3.1.0) - stripe (10.11.0) + stripe (10.12.0) swd (2.0.3) activesupport (>= 3) attr_required (>= 0.0.5) From 73eeaaabc21b33b871b06865039b431f113ad420 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Mon, 18 Mar 2024 11:29:15 +1100 Subject: [PATCH 123/374] Update Stripe API recordings for new version --- .../saves_the_card_locally.yml | 64 +++--- .../_credit/refunds_the_payment.yml | 134 +++++------ ...t_intent_state_is_not_requires_capture.yml | 54 ++--- .../_purchase/completes_the_purchase.yml | 120 +++++----- ..._error_message_to_help_developer_debug.yml | 60 ++--- .../refunds_the_payment.yml | 176 +++++++------- .../void_the_payment.yml | 106 ++++----- ...stroys_the_record_and_notifies_Bugsnag.yml | 26 +-- .../destroys_the_record.yml | 50 ++-- .../returns_true.yml | 108 ++++----- .../returns_false.yml | 88 +++---- .../returns_failed_response.yml | 40 ++-- ...tus_with_Stripe_PaymentIntentValidator.yml | 58 ++--- .../returns_nil.yml | 40 ++-- .../clones_the_payment_method_only.yml | 92 ++++---- ...th_the_payment_method_and_the_customer.yml | 216 +++++++++--------- .../raises_an_error.yml | 30 +-- .../deletes_the_credit_card_clone.yml | 62 ++--- ...the_credit_card_clone_and_the_customer.yml | 94 ++++---- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- .../captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../from_Diners_Club/captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../from_Discover/captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../from_JCB/captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../from_Mastercard/captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../from_UnionPay/captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../from_Visa/captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- .../from_Visa_debit_/captures_the_payment.yml | 128 +++++------ ...s_payment_intent_id_and_does_not_raise.yml | 64 +++--- ...rd_id_from_the_correct_response_fields.yml | 62 ++--- .../when_request_fails/raises_an_error.yml | 102 ++++----- .../allows_to_refund_the_payment.yml | 170 +++++++------- 60 files changed, 2719 insertions(+), 2721 deletions(-) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml (85%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml (71%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.11.0 => Stripe-v10.12.0}/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml (88%) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml similarity index 85% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml index c71fedb719..71c0fb9179 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml @@ -8,7 +8,7 @@ http_interactions: string: card[number]=4242424242424242&card[exp_month]=9&card[exp_year]=2024&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: @@ -29,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:41:58 GMT + - Mon, 18 Mar 2024 00:14:57 GMT Content-Type: - application/json Content-Length: @@ -56,11 +56,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fa85648c-254d-4bb1-aef1-675ede847193 + - e6514b0a-784c-4cea-8450-5b4a1af22768 Original-Request: - - req_kGMKWF3QnaSZ2J + - req_hbqb0vQQUNrdXU Request-Id: - - req_kGMKWF3QnaSZ2J + - req_hbqb0vQQUNrdXU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -75,10 +75,10 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "tok_1OtJPmKuuB1fWySn86nyAha9", + "id": "tok_1OvTqvKuuB1fWySnEX98PvTy", "object": "token", "card": { - "id": "card_1OtJPmKuuB1fWySnMwt9bUev", + "id": "card_1OvTqvKuuB1fWySnrmlTcJKr", "object": "card", "address_city": null, "address_country": null, @@ -106,27 +106,27 @@ http_interactions: "wallet": null }, "client_ip": "124.188.129.192", - "created": 1710204118, + "created": 1710720897, "livemode": false, "type": "card", "used": false } - recorded_at: Tue, 12 Mar 2024 00:41:58 GMT + recorded_at: Mon, 18 Mar 2024 00:14:57 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: email=evan%40farrell.com&source=tok_1OtJPmKuuB1fWySn86nyAha9 + string: email=tristan%40dibbertdaniel.co.uk&source=tok_1OvTqvKuuB1fWySnEX98PvTy headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kGMKWF3QnaSZ2J","request_duration_ms":559}}' + - '{"last_request_metrics":{"request_id":"req_hbqb0vQQUNrdXU","request_duration_ms":538}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -143,11 +143,11 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:41:59 GMT + - Mon, 18 Mar 2024 00:14:58 GMT Content-Type: - application/json Content-Length: - - '655' + - '666' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -170,11 +170,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a40c2507-9c3a-400e-ac2e-18728ecefa67 + - 2db286e4-5eae-4cc4-897d-7d3591f55a95 Original-Request: - - req_TbrtE7Sb3xxEgI + - req_S37wLPFxPMlINX Request-Id: - - req_TbrtE7Sb3xxEgI + - req_S37wLPFxPMlINX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -189,18 +189,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PikvyOJAAyJOVc", + "id": "cus_PkzquAAy75gQda", "object": "customer", "address": null, "balance": 0, - "created": 1710204119, + "created": 1710720898, "currency": null, - "default_source": "card_1OtJPmKuuB1fWySnMwt9bUev", + "default_source": "card_1OvTqvKuuB1fWySnrmlTcJKr", "delinquent": false, "description": null, "discount": null, - "email": "evan@farrell.com", - "invoice_prefix": "D8AE504D", + "email": "tristan@dibbertdaniel.co.uk", + "invoice_prefix": "13C28000", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -217,22 +217,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Tue, 12 Mar 2024 00:41:59 GMT + recorded_at: Mon, 18 Mar 2024 00:14:58 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PikvyOJAAyJOVc/sources?limit=1&object=card + uri: https://api.stripe.com/v1/customers/cus_PkzquAAy75gQda/sources?limit=1&object=card body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TbrtE7Sb3xxEgI","request_duration_ms":887}}' + - '{"last_request_metrics":{"request_id":"req_S37wLPFxPMlINX","request_duration_ms":937}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -249,7 +249,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:00 GMT + - Mon, 18 Mar 2024 00:14:59 GMT Content-Type: - application/json Content-Length: @@ -277,7 +277,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_MdZ2Zf3SKYoZ4w + - req_g9XAFj7rXoyJdL Stripe-Version: - '2023-10-16' Vary: @@ -293,7 +293,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1OtJPmKuuB1fWySnMwt9bUev", + "id": "card_1OvTqvKuuB1fWySnrmlTcJKr", "object": "card", "address_city": null, "address_country": null, @@ -305,7 +305,7 @@ http_interactions: "address_zip_check": null, "brand": "Visa", "country": "US", - "customer": "cus_PikvyOJAAyJOVc", + "customer": "cus_PkzquAAy75gQda", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 9, @@ -320,7 +320,7 @@ http_interactions: } ], "has_more": false, - "url": "/v1/customers/cus_PikvyOJAAyJOVc/sources" + "url": "/v1/customers/cus_PkzquAAy75gQda/sources" } - recorded_at: Tue, 12 Mar 2024 00:42:00 GMT + recorded_at: Mon, 18 Mar 2024 00:14:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml index 674eaea0f2..319d76a1d2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wAIvcVuEszJDN4","request_duration_ms":393}}' + - '{"last_request_metrics":{"request_id":"req_kYJ3h29vQqkIEB","request_duration_ms":422}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:20 GMT + - Mon, 18 Mar 2024 00:17:16 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '09aa852c-fff3-4041-b45b-92d05d11e6cc' + - 2147d3e8-fd96-4217-9772-5cf9cb8b8f4c Original-Request: - - req_NS8jzc1JePHrLw + - req_Jmj6S8kHu0Oyay Request-Id: - - req_NS8jzc1JePHrLw + - req_Jmj6S8kHu0Oyay Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OtJS233iCaYDwD0", + "id": "acct_1OvTt94EhW9TXYs3", "object": "account", "business_profile": { "annual_revenue": null, @@ -99,7 +99,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710204259, + "created": 1710721035, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -108,7 +108,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OtJS233iCaYDwD0/external_accounts" + "url": "/v1/accounts/acct_1OvTt94EhW9TXYs3/external_accounts" }, "future_requirements": { "alternatives": [], @@ -205,7 +205,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Tue, 12 Mar 2024 00:44:20 GMT + recorded_at: Mon, 18 Mar 2024 00:17:16 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -214,19 +214,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NS8jzc1JePHrLw","request_duration_ms":1836}}' + - '{"last_request_metrics":{"request_id":"req_Jmj6S8kHu0Oyay","request_duration_ms":1832}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJS233iCaYDwD0 + - acct_1OvTt94EhW9TXYs3 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -239,7 +239,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:21 GMT + - Mon, 18 Mar 2024 00:17:18 GMT Content-Type: - application/json Content-Length: @@ -266,13 +266,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4d3abf70-2c12-4593-9aa5-f5cc79e5907f + - b238a3b1-3a75-4bf0-92a6-9f001ffb90e9 Original-Request: - - req_4vHV3LZobKwl5n + - req_Eg0MPkARpYy2HA Request-Id: - - req_4vHV3LZobKwl5n + - req_Eg0MPkARpYy2HA Stripe-Account: - - acct_1OtJS233iCaYDwD0 + - acct_1OvTt94EhW9TXYs3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -287,7 +287,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJS433iCaYDwD017pmce3a", + "id": "pi_3OvTtB4EhW9TXYs30P7DQrvf", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -303,18 +303,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204260, + "created": 1710721037, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJS433iCaYDwD01dnX6QIw", + "latest_charge": "ch_3OvTtB4EhW9TXYs30K2JbDsH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJS433iCaYDwD03EOob79L", + "payment_method": "pm_1OvTtA4EhW9TXYs3yQzqJZ6R", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -339,10 +339,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:21 GMT + recorded_at: Mon, 18 Mar 2024 00:17:18 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJS433iCaYDwD017pmce3a + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtB4EhW9TXYs30P7DQrvf body: encoding: US-ASCII string: '' @@ -358,7 +358,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OtJS233iCaYDwD0 + - acct_1OvTt94EhW9TXYs3 Connection: - close Accept-Encoding: @@ -373,7 +373,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:22 GMT + - Mon, 18 Mar 2024 00:17:18 GMT Content-Type: - application/json Content-Length: @@ -401,9 +401,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_L7rjZImJsMAVT0 + - req_6mchEb8KrwJnDy Stripe-Account: - - acct_1OtJS233iCaYDwD0 + - acct_1OvTt94EhW9TXYs3 Stripe-Version: - '2020-08-27' Vary: @@ -416,7 +416,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJS433iCaYDwD017pmce3a", + "id": "pi_3OvTtB4EhW9TXYs30P7DQrvf", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -434,7 +434,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OtJS433iCaYDwD01dnX6QIw", + "id": "ch_3OvTtB4EhW9TXYs30K2JbDsH", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -442,7 +442,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OtJS433iCaYDwD01tXyUhxj", + "balance_transaction": "txn_3OvTtB4EhW9TXYs30OAdKdmx", "billing_details": { "address": { "city": null, @@ -458,7 +458,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710204261, + "created": 1710721037, "currency": "aud", "customer": null, "description": null, @@ -478,13 +478,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 34, + "risk_score": 48, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OtJS433iCaYDwD017pmce3a", - "payment_method": "pm_1OtJS433iCaYDwD03EOob79L", + "payment_intent": "pi_3OvTtB4EhW9TXYs30P7DQrvf", + "payment_method": "pm_1OvTtA4EhW9TXYs3yQzqJZ6R", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -527,14 +527,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3RKUzIzM2lDYVlEd0QwKObKvq8GMgaJHqqMNvk6LBbqCt9LWezrOnaDRRmnXGBcDja2trSN0RHt6HJAchSX2BkS1b8n84VxPdz2", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3ZUdDk0RWhXOVRYWXMzKI6Q3q8GMgZgMLg51FE6LBa7DhmVzOB7aEaZOIKCLNkc77zPMd7CB-qAQorzTueRz9-lWLN8nu1aowIS", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OtJS433iCaYDwD01dnX6QIw/refunds" + "url": "/v1/charges/ch_3OvTtB4EhW9TXYs30K2JbDsH/refunds" }, "review": null, "shipping": null, @@ -549,22 +549,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OtJS433iCaYDwD017pmce3a" + "url": "/v1/charges?payment_intent=pi_3OvTtB4EhW9TXYs30P7DQrvf" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1710204260, + "created": 1710721037, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJS433iCaYDwD01dnX6QIw", + "latest_charge": "ch_3OvTtB4EhW9TXYs30K2JbDsH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJS433iCaYDwD03EOob79L", + "payment_method": "pm_1OvTtA4EhW9TXYs3yQzqJZ6R", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -589,10 +589,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:22 GMT + recorded_at: Mon, 18 Mar 2024 00:17:18 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3OtJS433iCaYDwD01dnX6QIw/refunds + uri: https://api.stripe.com/v1/charges/ch_3OvTtB4EhW9TXYs30K2JbDsH/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -610,7 +610,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OtJS233iCaYDwD0 + - acct_1OvTt94EhW9TXYs3 Connection: - close Accept-Encoding: @@ -625,7 +625,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:23 GMT + - Mon, 18 Mar 2024 00:17:20 GMT Content-Type: - application/json Content-Length: @@ -653,13 +653,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 340e2383-fab1-4928-b57e-f0c249ca813e + - '05483c67-05ff-49b5-be76-7fac44ee4e85' Original-Request: - - req_iJudarmwjMf0Z0 + - req_Xf3bGarHmTjryy Request-Id: - - req_iJudarmwjMf0Z0 + - req_Xf3bGarHmTjryy Stripe-Account: - - acct_1OtJS233iCaYDwD0 + - acct_1OvTt94EhW9TXYs3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -674,12 +674,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3OtJS433iCaYDwD01iGi2Ql5", + "id": "re_3OvTtB4EhW9TXYs304KdB74m", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OtJS433iCaYDwD01PhdhWG0", + "balance_transaction": "txn_3OvTtB4EhW9TXYs30u93CfDo", "charge": { - "id": "ch_3OtJS433iCaYDwD01dnX6QIw", + "id": "ch_3OvTtB4EhW9TXYs30K2JbDsH", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -687,7 +687,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OtJS433iCaYDwD01tXyUhxj", + "balance_transaction": "txn_3OvTtB4EhW9TXYs30OAdKdmx", "billing_details": { "address": { "city": null, @@ -703,7 +703,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710204261, + "created": 1710721037, "currency": "aud", "customer": null, "description": null, @@ -723,13 +723,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 34, + "risk_score": 48, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OtJS433iCaYDwD017pmce3a", - "payment_method": "pm_1OtJS433iCaYDwD03EOob79L", + "payment_intent": "pi_3OvTtB4EhW9TXYs30P7DQrvf", + "payment_method": "pm_1OvTtA4EhW9TXYs3yQzqJZ6R", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -772,18 +772,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3RKUzIzM2lDYVlEd0QwKOfKvq8GMgbhvtAbosc6LBYOOfL0szaPwmESXr44hw18z3TBhY7q3S6FnxxOC2YtsGJOI8fex3IcuKgM", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3ZUdDk0RWhXOVRYWXMzKJCQ3q8GMgbaIirMk_Y6LBace1yVWNol5c5enrMWzkoofA6DGu56yIdc3OsN9L51Yush79KvBr6W9ayG", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3OtJS433iCaYDwD01iGi2Ql5", + "id": "re_3OvTtB4EhW9TXYs304KdB74m", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OtJS433iCaYDwD01PhdhWG0", - "charge": "ch_3OtJS433iCaYDwD01dnX6QIw", - "created": 1710204262, + "balance_transaction": "txn_3OvTtB4EhW9TXYs30u93CfDo", + "charge": "ch_3OvTtB4EhW9TXYs30K2JbDsH", + "created": 1710721039, "currency": "aud", "destination_details": { "card": { @@ -794,7 +794,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OtJS433iCaYDwD017pmce3a", + "payment_intent": "pi_3OvTtB4EhW9TXYs30P7DQrvf", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -804,7 +804,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3OtJS433iCaYDwD01dnX6QIw/refunds" + "url": "/v1/charges/ch_3OvTtB4EhW9TXYs30K2JbDsH/refunds" }, "review": null, "shipping": null, @@ -816,7 +816,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1710204262, + "created": 1710721039, "currency": "aud", "destination_details": { "card": { @@ -827,12 +827,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OtJS433iCaYDwD017pmce3a", + "payment_intent": "pi_3OvTtB4EhW9TXYs30P7DQrvf", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Tue, 12 Mar 2024 00:44:23 GMT + recorded_at: Mon, 18 Mar 2024 00:17:20 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml index 9e58d55843..48da20231c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4vHV3LZobKwl5n","request_duration_ms":1491}}' + - '{"last_request_metrics":{"request_id":"req_Eg0MPkARpYy2HA","request_duration_ms":1493}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:24 GMT + - Mon, 18 Mar 2024 00:17:21 GMT Content-Type: - application/json Content-Length: @@ -59,7 +59,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_cUuUgS8NVMnKdh + - req_k0V0K2ZLOcE0Mw Stripe-Version: - '2023-10-16' Vary: @@ -72,7 +72,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJS8KuuB1fWySnmmlaCdez", + "id": "pm_1OvTtEKuuB1fWySnkwpbbLl4", "object": "payment_method", "billing_details": { "address": { @@ -113,28 +113,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204264, + "created": 1710721040, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:44:24 GMT + recorded_at: Mon, 18 Mar 2024 00:17:21 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OtJS8KuuB1fWySnmmlaCdez&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1OvTtEKuuB1fWySnkwpbbLl4&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cUuUgS8NVMnKdh","request_duration_ms":360}}' + - '{"last_request_metrics":{"request_id":"req_k0V0K2ZLOcE0Mw","request_duration_ms":371}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -151,7 +151,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:24 GMT + - Mon, 18 Mar 2024 00:17:21 GMT Content-Type: - application/json Content-Length: @@ -178,11 +178,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cd8321d6-4c79-411e-a665-fb64bc62add1 + - c4a2ebba-6599-4440-bb2e-b058ef5e66f5 Original-Request: - - req_atNZP9tsSeLiUV + - req_xmnXHMTrvfFTUl Request-Id: - - req_atNZP9tsSeLiUV + - req_xmnXHMTrvfFTUl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -197,7 +197,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJS8KuuB1fWySn24nxM8gf", + "id": "pi_3OvTtFKuuB1fWySn1ZEhZXxY", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -213,7 +213,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204264, + "created": 1710721041, "currency": "aud", "customer": null, "description": null, @@ -224,7 +224,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJS8KuuB1fWySnmmlaCdez", + "payment_method": "pm_1OvTtEKuuB1fWySnkwpbbLl4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -249,22 +249,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:25 GMT + recorded_at: Mon, 18 Mar 2024 00:17:21 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJS8KuuB1fWySn24nxM8gf + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtFKuuB1fWySn1ZEhZXxY body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_atNZP9tsSeLiUV","request_duration_ms":433}}' + - '{"last_request_metrics":{"request_id":"req_xmnXHMTrvfFTUl","request_duration_ms":466}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -281,7 +281,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:25 GMT + - Mon, 18 Mar 2024 00:17:21 GMT Content-Type: - application/json Content-Length: @@ -309,7 +309,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_zvZ5rcMjbH8Xnt + - req_B79MaIEhVEEPAQ Stripe-Version: - '2023-10-16' Vary: @@ -322,7 +322,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJS8KuuB1fWySn24nxM8gf", + "id": "pi_3OvTtFKuuB1fWySn1ZEhZXxY", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -338,7 +338,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204264, + "created": 1710721041, "currency": "aud", "customer": null, "description": null, @@ -349,7 +349,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJS8KuuB1fWySnmmlaCdez", + "payment_method": "pm_1OvTtEKuuB1fWySnkwpbbLl4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -374,5 +374,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:25 GMT + recorded_at: Mon, 18 Mar 2024 00:17:21 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml index c3a056c219..6c5b802852 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bFrhUrgeXiLTFa","request_duration_ms":679}}' + - '{"last_request_metrics":{"request_id":"req_LAXaOxGMoXOMBE","request_duration_ms":747}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:01 GMT + - Mon, 18 Mar 2024 00:16:57 GMT Content-Type: - application/json Content-Length: @@ -59,7 +59,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_NOUqDFgm7TXCFN + - req_8etFHaQHXszxZG Stripe-Version: - '2023-10-16' Vary: @@ -72,7 +72,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRlKuuB1fWySn5qLXc128", + "id": "pm_1OvTsrKuuB1fWySn1NlQqx0m", "object": "payment_method", "billing_details": { "address": { @@ -113,28 +113,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204241, + "created": 1710721017, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:44:01 GMT + recorded_at: Mon, 18 Mar 2024 00:16:57 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OtJRlKuuB1fWySn5qLXc128&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1OvTsrKuuB1fWySn1NlQqx0m&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NOUqDFgm7TXCFN","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_8etFHaQHXszxZG","request_duration_ms":317}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -151,7 +151,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:02 GMT + - Mon, 18 Mar 2024 00:16:57 GMT Content-Type: - application/json Content-Length: @@ -178,11 +178,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cd6ab652-235c-4285-abf5-315176451b9b + - 3397c0b1-661d-4b21-a457-4ca4ad93c7bf Original-Request: - - req_HV5WyYbGfVJMRB + - req_V65kJy2UAQwxCI Request-Id: - - req_HV5WyYbGfVJMRB + - req_V65kJy2UAQwxCI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -197,7 +197,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRmKuuB1fWySn0hdj0aTx", + "id": "pi_3OvTsrKuuB1fWySn09EU0Roi", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -213,7 +213,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204242, + "created": 1710721017, "currency": "aud", "customer": null, "description": null, @@ -224,7 +224,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRlKuuB1fWySn5qLXc128", + "payment_method": "pm_1OvTsrKuuB1fWySn1NlQqx0m", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -249,22 +249,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:02 GMT + recorded_at: Mon, 18 Mar 2024 00:16:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRmKuuB1fWySn0hdj0aTx/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsrKuuB1fWySn09EU0Roi/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HV5WyYbGfVJMRB","request_duration_ms":420}}' + - '{"last_request_metrics":{"request_id":"req_V65kJy2UAQwxCI","request_duration_ms":479}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -281,7 +281,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:03 GMT + - Mon, 18 Mar 2024 00:16:58 GMT Content-Type: - application/json Content-Length: @@ -309,11 +309,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fecb26c1-cbdb-40ee-b5ef-394ec2976351 + - 69b2c079-80ad-43b6-96ae-cf8ee6caa50f Original-Request: - - req_Uz6bvR58qwiJUD + - req_pL44RyfX6Im79F Request-Id: - - req_Uz6bvR58qwiJUD + - req_pL44RyfX6Im79F Stripe-Should-Retry: - 'false' Stripe-Version: @@ -328,7 +328,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRmKuuB1fWySn0hdj0aTx", + "id": "pi_3OvTsrKuuB1fWySn09EU0Roi", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -344,18 +344,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204242, + "created": 1710721017, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRmKuuB1fWySn0OqIywia", + "latest_charge": "ch_3OvTsrKuuB1fWySn0ADqhOVF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRlKuuB1fWySn5qLXc128", + "payment_method": "pm_1OvTsrKuuB1fWySn1NlQqx0m", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -380,22 +380,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:03 GMT + recorded_at: Mon, 18 Mar 2024 00:16:58 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRmKuuB1fWySn0hdj0aTx + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsrKuuB1fWySn09EU0Roi body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Uz6bvR58qwiJUD","request_duration_ms":1100}}' + - '{"last_request_metrics":{"request_id":"req_pL44RyfX6Im79F","request_duration_ms":921}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -412,7 +412,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:04 GMT + - Mon, 18 Mar 2024 00:16:59 GMT Content-Type: - application/json Content-Length: @@ -440,7 +440,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_RCRdEbwVFqPy3N + - req_Je3JZYGqfsoY6v Stripe-Version: - '2023-10-16' Vary: @@ -453,7 +453,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRmKuuB1fWySn0hdj0aTx", + "id": "pi_3OvTsrKuuB1fWySn09EU0Roi", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -469,18 +469,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204242, + "created": 1710721017, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRmKuuB1fWySn0OqIywia", + "latest_charge": "ch_3OvTsrKuuB1fWySn0ADqhOVF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRlKuuB1fWySn5qLXc128", + "payment_method": "pm_1OvTsrKuuB1fWySn1NlQqx0m", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -505,10 +505,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:04 GMT + recorded_at: Mon, 18 Mar 2024 00:16:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRmKuuB1fWySn0hdj0aTx/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsrKuuB1fWySn09EU0Roi/capture body: encoding: UTF-8 string: amount_to_capture=1000 @@ -539,7 +539,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:05 GMT + - Mon, 18 Mar 2024 00:17:01 GMT Content-Type: - application/json Content-Length: @@ -567,11 +567,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3d88642f-9e6c-4907-b9da-d45ce5a9089c + - e8c8ab11-efa8-4ae7-a8c2-d0b5afe4171c Original-Request: - - req_KH5Y4N20Jqjwy7 + - req_0Cn1MwTlgORHBK Request-Id: - - req_KH5Y4N20Jqjwy7 + - req_0Cn1MwTlgORHBK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -586,7 +586,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRmKuuB1fWySn0hdj0aTx", + "id": "pi_3OvTsrKuuB1fWySn09EU0Roi", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -604,7 +604,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OtJRmKuuB1fWySn0OqIywia", + "id": "ch_3OvTsrKuuB1fWySn0ADqhOVF", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -613,7 +613,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OtJRmKuuB1fWySn0WCpOVpj", + "balance_transaction": "txn_3OvTsrKuuB1fWySn0fRay9LN", "billing_details": { "address": { "city": null, @@ -629,7 +629,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710204242, + "created": 1710721018, "currency": "aud", "customer": null, "description": null, @@ -649,18 +649,18 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 41, + "risk_score": 60, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OtJRmKuuB1fWySn0hdj0aTx", - "payment_method": "pm_1OtJRlKuuB1fWySn5qLXc128", + "payment_intent": "pi_3OvTsrKuuB1fWySn09EU0Roi", + "payment_method": "pm_1OvTsrKuuB1fWySn1NlQqx0m", "payment_method_details": { "card": { "amount_authorized": 1000, "brand": "mastercard", - "capture_before": 1710809042, + "capture_before": 1711325818, "checks": { "address_line1_check": null, "address_postal_code_check": null, @@ -699,14 +699,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKNXKvq8GMgY_QpG0TZs6LBZ4U5V40MMFzQCl_N_x6-bolNyhYzDCYRC33UkPoPgBuyDIQRmrdnE5unrU", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKPyP3q8GMgZR9qeMufA6LBYL69eHefKPSJr7NcncC3gdmlCpLJj1stOhBI2VfYSfCoS1QyNenvmjqZVa", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OtJRmKuuB1fWySn0OqIywia/refunds" + "url": "/v1/charges/ch_3OvTsrKuuB1fWySn0ADqhOVF/refunds" }, "review": null, "shipping": null, @@ -721,22 +721,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OtJRmKuuB1fWySn0hdj0aTx" + "url": "/v1/charges?payment_intent=pi_3OvTsrKuuB1fWySn09EU0Roi" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1710204242, + "created": 1710721017, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRmKuuB1fWySn0OqIywia", + "latest_charge": "ch_3OvTsrKuuB1fWySn0ADqhOVF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRlKuuB1fWySn5qLXc128", + "payment_method": "pm_1OvTsrKuuB1fWySn1NlQqx0m", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -761,5 +761,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:05 GMT + recorded_at: Mon, 18 Mar 2024 00:17:01 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml index 74ba0c5b20..2077d1ec88 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RCRdEbwVFqPy3N","request_duration_ms":307}}' + - '{"last_request_metrics":{"request_id":"req_Je3JZYGqfsoY6v","request_duration_ms":286}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:05 GMT + - Mon, 18 Mar 2024 00:17:01 GMT Content-Type: - application/json Content-Length: @@ -59,7 +59,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_Gu7WuKpiPtel3n + - req_qOImK0gC8EtBKg Stripe-Version: - '2023-10-16' Vary: @@ -72,7 +72,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRpKuuB1fWySnU6g61paT", + "id": "pm_1OvTsvKuuB1fWySnmhjmvAfj", "object": "payment_method", "billing_details": { "address": { @@ -113,28 +113,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204245, + "created": 1710721021, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:44:06 GMT + recorded_at: Mon, 18 Mar 2024 00:17:01 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OtJRpKuuB1fWySnU6g61paT&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1OvTsvKuuB1fWySnmhjmvAfj&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Gu7WuKpiPtel3n","request_duration_ms":396}}' + - '{"last_request_metrics":{"request_id":"req_qOImK0gC8EtBKg","request_duration_ms":456}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -151,7 +151,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:06 GMT + - Mon, 18 Mar 2024 00:17:01 GMT Content-Type: - application/json Content-Length: @@ -178,11 +178,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c4e40cd5-8b06-4a2b-beca-2221e35d0cbf + - 95d1b1ea-2763-4117-a007-53bf7ac839f4 Original-Request: - - req_KGrsVBjPkr5moz + - req_pMu6L70PG5BmHc Request-Id: - - req_KGrsVBjPkr5moz + - req_pMu6L70PG5BmHc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -197,7 +197,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRqKuuB1fWySn1C23Kl1L", + "id": "pi_3OvTsvKuuB1fWySn14C8n9le", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -213,7 +213,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204246, + "created": 1710721021, "currency": "aud", "customer": null, "description": null, @@ -224,7 +224,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRpKuuB1fWySnU6g61paT", + "payment_method": "pm_1OvTsvKuuB1fWySnmhjmvAfj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -249,22 +249,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:06 GMT + recorded_at: Mon, 18 Mar 2024 00:17:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRqKuuB1fWySn1C23Kl1L/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsvKuuB1fWySn14C8n9le/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KGrsVBjPkr5moz","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_pMu6L70PG5BmHc","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -281,7 +281,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:07 GMT + - Mon, 18 Mar 2024 00:17:02 GMT Content-Type: - application/json Content-Length: @@ -309,11 +309,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a0869715-84b1-4b45-abf4-a8f3246c6bf3 + - fdeff711-2503-49ea-bf8e-c780d6fb38da Original-Request: - - req_L1EL5DY2BFz9pM + - req_tpFKmpYlEHPZTy Request-Id: - - req_L1EL5DY2BFz9pM + - req_tpFKmpYlEHPZTy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -328,7 +328,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRqKuuB1fWySn1C23Kl1L", + "id": "pi_3OvTsvKuuB1fWySn14C8n9le", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -344,18 +344,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204246, + "created": 1710721021, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRqKuuB1fWySn1aHIVfC5", + "latest_charge": "ch_3OvTsvKuuB1fWySn1tc7LulR", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRpKuuB1fWySnU6g61paT", + "payment_method": "pm_1OvTsvKuuB1fWySnmhjmvAfj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -380,5 +380,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:07 GMT + recorded_at: Mon, 18 Mar 2024 00:17:03 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml index 0e7d568067..893fe4bfa5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_L1EL5DY2BFz9pM","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_tpFKmpYlEHPZTy","request_duration_ms":1026}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:09 GMT + - Mon, 18 Mar 2024 00:17:05 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cf189941-b86d-4e31-bcd7-00fe97d4d1bc + - 985f0eb8-05ab-45a5-8208-da288cbbac45 Original-Request: - - req_SW97588iNyni05 + - req_znMjsKJzcmNgAS Request-Id: - - req_SW97588iNyni05 + - req_znMjsKJzcmNgAS Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OtJRsQPAGzeTwgW", + "id": "acct_1OvTsx4DXqtLEoR8", "object": "account", "business_profile": { "annual_revenue": null, @@ -99,7 +99,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710204249, + "created": 1710721024, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -108,7 +108,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OtJRsQPAGzeTwgW/external_accounts" + "url": "/v1/accounts/acct_1OvTsx4DXqtLEoR8/external_accounts" }, "future_requirements": { "alternatives": [], @@ -205,7 +205,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Tue, 12 Mar 2024 00:44:09 GMT + recorded_at: Mon, 18 Mar 2024 00:17:05 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -214,13 +214,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SW97588iNyni05","request_duration_ms":1802}}' + - '{"last_request_metrics":{"request_id":"req_znMjsKJzcmNgAS","request_duration_ms":1766}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -237,7 +237,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:10 GMT + - Mon, 18 Mar 2024 00:17:06 GMT Content-Type: - application/json Content-Length: @@ -265,7 +265,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_0YWwDjbFM6bOhj + - req_wyLJZvPiCiFdnm Stripe-Version: - '2023-10-16' Vary: @@ -278,7 +278,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRuKuuB1fWySnzbIXFqEd", + "id": "pm_1OvTt0KuuB1fWySnUCztcYD7", "object": "payment_method", "billing_details": { "address": { @@ -319,13 +319,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204250, + "created": 1710721026, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:44:10 GMT + recorded_at: Mon, 18 Mar 2024 00:17:06 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -334,19 +334,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0YWwDjbFM6bOhj","request_duration_ms":465}}' + - '{"last_request_metrics":{"request_id":"req_wyLJZvPiCiFdnm","request_duration_ms":448}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJRsQPAGzeTwgW + - acct_1OvTsx4DXqtLEoR8 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -359,7 +359,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:12 GMT + - Mon, 18 Mar 2024 00:17:07 GMT Content-Type: - application/json Content-Length: @@ -386,13 +386,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 66e995a2-e581-4b88-8296-863f2975658f + - e612060a-27e0-4041-b981-631957bf8016 Original-Request: - - req_188mafzjaFTxXw + - req_EYLl0zFhfPcJj3 Request-Id: - - req_188mafzjaFTxXw + - req_EYLl0zFhfPcJj3 Stripe-Account: - - acct_1OtJRsQPAGzeTwgW + - acct_1OvTsx4DXqtLEoR8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -407,7 +407,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRvQPAGzeTwgW128JpRLv", + "id": "pi_3OvTt04DXqtLEoR80GthblMq", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -423,18 +423,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204251, + "created": 1710721026, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRvQPAGzeTwgW19mLvSZR", + "latest_charge": "ch_3OvTt04DXqtLEoR80d2uLuNK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRvQPAGzeTwgWFT01Qz8M", + "payment_method": "pm_1OvTt04DXqtLEoR81erYM7xD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -459,28 +459,28 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:12 GMT + recorded_at: Mon, 18 Mar 2024 00:17:07 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRvQPAGzeTwgW128JpRLv + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTt04DXqtLEoR80GthblMq body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_188mafzjaFTxXw","request_duration_ms":1430}}' + - '{"last_request_metrics":{"request_id":"req_EYLl0zFhfPcJj3","request_duration_ms":1533}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJRsQPAGzeTwgW + - acct_1OvTsx4DXqtLEoR8 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -493,7 +493,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:12 GMT + - Mon, 18 Mar 2024 00:17:08 GMT Content-Type: - application/json Content-Length: @@ -521,9 +521,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_iPuNEy0dT770A0 + - req_n21ZueS6MuFNLw Stripe-Account: - - acct_1OtJRsQPAGzeTwgW + - acct_1OvTsx4DXqtLEoR8 Stripe-Version: - '2023-10-16' Vary: @@ -536,7 +536,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRvQPAGzeTwgW128JpRLv", + "id": "pi_3OvTt04DXqtLEoR80GthblMq", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -552,18 +552,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204251, + "created": 1710721026, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRvQPAGzeTwgW19mLvSZR", + "latest_charge": "ch_3OvTt04DXqtLEoR80d2uLuNK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRvQPAGzeTwgWFT01Qz8M", + "payment_method": "pm_1OvTt04DXqtLEoR81erYM7xD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -588,10 +588,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:12 GMT + recorded_at: Mon, 18 Mar 2024 00:17:08 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRvQPAGzeTwgW128JpRLv + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTt04DXqtLEoR80GthblMq body: encoding: US-ASCII string: '' @@ -607,7 +607,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OtJRsQPAGzeTwgW + - acct_1OvTsx4DXqtLEoR8 Connection: - close Accept-Encoding: @@ -622,11 +622,11 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:13 GMT + - Mon, 18 Mar 2024 00:17:08 GMT Content-Type: - application/json Content-Length: - - '5159' + - '5160' Connection: - close Access-Control-Allow-Credentials: @@ -650,9 +650,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_qA4tkufzQs40VF + - req_cBHWzojWArVSj4 Stripe-Account: - - acct_1OtJRsQPAGzeTwgW + - acct_1OvTsx4DXqtLEoR8 Stripe-Version: - '2020-08-27' Vary: @@ -665,7 +665,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRvQPAGzeTwgW128JpRLv", + "id": "pi_3OvTt04DXqtLEoR80GthblMq", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -683,7 +683,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OtJRvQPAGzeTwgW19mLvSZR", + "id": "ch_3OvTt04DXqtLEoR80d2uLuNK", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -691,7 +691,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OtJRvQPAGzeTwgW1TIOhpow", + "balance_transaction": "txn_3OvTt04DXqtLEoR80PxY1ex2", "billing_details": { "address": { "city": null, @@ -707,7 +707,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710204251, + "created": 1710721027, "currency": "aud", "customer": null, "description": null, @@ -727,13 +727,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 4, + "risk_score": 40, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OtJRvQPAGzeTwgW128JpRLv", - "payment_method": "pm_1OtJRvQPAGzeTwgWFT01Qz8M", + "payment_intent": "pi_3OvTt04DXqtLEoR80GthblMq", + "payment_method": "pm_1OvTt04DXqtLEoR81erYM7xD", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -776,14 +776,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3RKUnNRUEFHemVUd2dXKN3Kvq8GMgYAw-L5avo6LBaslMDtvb66Ldo_DVkSxTXlW3lQhN5fRWaFIYqna1q_r4qz5fzdtFCQL4_K", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3ZUc3g0RFhxdExFb1I4KISQ3q8GMgYbTnjasls6LBbzE7IU_NM3iee_T-sMt21-a4qQf9r_dmHCzVwTEiSA0cE1B4p_hGYPye3Q", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OtJRvQPAGzeTwgW19mLvSZR/refunds" + "url": "/v1/charges/ch_3OvTt04DXqtLEoR80d2uLuNK/refunds" }, "review": null, "shipping": null, @@ -798,22 +798,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OtJRvQPAGzeTwgW128JpRLv" + "url": "/v1/charges?payment_intent=pi_3OvTt04DXqtLEoR80GthblMq" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1710204251, + "created": 1710721026, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRvQPAGzeTwgW19mLvSZR", + "latest_charge": "ch_3OvTt04DXqtLEoR80d2uLuNK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRvQPAGzeTwgWFT01Qz8M", + "payment_method": "pm_1OvTt04DXqtLEoR81erYM7xD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -838,10 +838,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:13 GMT + recorded_at: Mon, 18 Mar 2024 00:17:08 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3OtJRvQPAGzeTwgW19mLvSZR/refunds + uri: https://api.stripe.com/v1/charges/ch_3OvTt04DXqtLEoR80d2uLuNK/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -859,7 +859,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OtJRsQPAGzeTwgW + - acct_1OvTsx4DXqtLEoR8 Connection: - close Accept-Encoding: @@ -874,11 +874,11 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:14 GMT + - Mon, 18 Mar 2024 00:17:10 GMT Content-Type: - application/json Content-Length: - - '4535' + - '4536' Connection: - close Access-Control-Allow-Credentials: @@ -902,13 +902,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ad33a807-bf8d-4d09-a426-763f7f7f0281 + - 333302cd-636e-49b6-838c-569de3326974 Original-Request: - - req_f4dMcqYkRs70jc + - req_ApI8tFa43Mgg37 Request-Id: - - req_f4dMcqYkRs70jc + - req_ApI8tFa43Mgg37 Stripe-Account: - - acct_1OtJRsQPAGzeTwgW + - acct_1OvTsx4DXqtLEoR8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -923,12 +923,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3OtJRvQPAGzeTwgW1Dg9f6Xv", + "id": "re_3OvTt04DXqtLEoR8015urEeE", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OtJRvQPAGzeTwgW1HHNRRMu", + "balance_transaction": "txn_3OvTt04DXqtLEoR80z4jFrdN", "charge": { - "id": "ch_3OtJRvQPAGzeTwgW19mLvSZR", + "id": "ch_3OvTt04DXqtLEoR80d2uLuNK", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -936,7 +936,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OtJRvQPAGzeTwgW1TIOhpow", + "balance_transaction": "txn_3OvTt04DXqtLEoR80PxY1ex2", "billing_details": { "address": { "city": null, @@ -952,7 +952,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710204251, + "created": 1710721027, "currency": "aud", "customer": null, "description": null, @@ -972,13 +972,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 4, + "risk_score": 40, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OtJRvQPAGzeTwgW128JpRLv", - "payment_method": "pm_1OtJRvQPAGzeTwgWFT01Qz8M", + "payment_intent": "pi_3OvTt04DXqtLEoR80GthblMq", + "payment_method": "pm_1OvTt04DXqtLEoR81erYM7xD", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -1021,18 +1021,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3RKUnNRUEFHemVUd2dXKN7Kvq8GMgZ_W9tWyvc6LBZfSr_XLsyGcjHALkQBCGsWglX0J88ZCAF2Jrhv9uwlru2zR5RnGxWGGuN2", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3ZUc3g0RFhxdExFb1I4KIaQ3q8GMgazDzHjCFg6LBZloYn7cGSHX1hBFAqrxBRr29LSSltqjrbTOFC2Z-eJv485WFoQ65n0mgAh", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3OtJRvQPAGzeTwgW1Dg9f6Xv", + "id": "re_3OvTt04DXqtLEoR8015urEeE", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OtJRvQPAGzeTwgW1HHNRRMu", - "charge": "ch_3OtJRvQPAGzeTwgW19mLvSZR", - "created": 1710204253, + "balance_transaction": "txn_3OvTt04DXqtLEoR80z4jFrdN", + "charge": "ch_3OvTt04DXqtLEoR80d2uLuNK", + "created": 1710721029, "currency": "aud", "destination_details": { "card": { @@ -1043,7 +1043,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OtJRvQPAGzeTwgW128JpRLv", + "payment_intent": "pi_3OvTt04DXqtLEoR80GthblMq", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1053,7 +1053,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3OtJRvQPAGzeTwgW19mLvSZR/refunds" + "url": "/v1/charges/ch_3OvTt04DXqtLEoR80d2uLuNK/refunds" }, "review": null, "shipping": null, @@ -1065,7 +1065,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1710204253, + "created": 1710721029, "currency": "aud", "destination_details": { "card": { @@ -1076,12 +1076,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OtJRvQPAGzeTwgW128JpRLv", + "payment_intent": "pi_3OvTt04DXqtLEoR80GthblMq", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Tue, 12 Mar 2024 00:44:14 GMT + recorded_at: Mon, 18 Mar 2024 00:17:10 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml index 115af4dadf..1fe86c7e5c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iPuNEy0dT770A0","request_duration_ms":395}}' + - '{"last_request_metrics":{"request_id":"req_n21ZueS6MuFNLw","request_duration_ms":396}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:16 GMT + - Mon, 18 Mar 2024 00:17:12 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4c9f85c7-6177-4411-8384-59acb6a913dc + - d8e003ae-f7b1-4c5a-8ecb-af13cddb4da9 Original-Request: - - req_uUhsE3ReO2LJQT + - req_jBAjzFqvG3cbm1 Request-Id: - - req_uUhsE3ReO2LJQT + - req_jBAjzFqvG3cbm1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OtJRyQT1drlI5ho", + "id": "acct_1OvTt4QMCDDol8mg", "object": "account", "business_profile": { "annual_revenue": null, @@ -99,7 +99,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710204255, + "created": 1710721031, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -108,7 +108,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OtJRyQT1drlI5ho/external_accounts" + "url": "/v1/accounts/acct_1OvTt4QMCDDol8mg/external_accounts" }, "future_requirements": { "alternatives": [], @@ -205,7 +205,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Tue, 12 Mar 2024 00:44:16 GMT + recorded_at: Mon, 18 Mar 2024 00:17:12 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -214,13 +214,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uUhsE3ReO2LJQT","request_duration_ms":1834}}' + - '{"last_request_metrics":{"request_id":"req_jBAjzFqvG3cbm1","request_duration_ms":1728}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -237,7 +237,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:17 GMT + - Mon, 18 Mar 2024 00:17:13 GMT Content-Type: - application/json Content-Length: @@ -265,7 +265,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_pJPWm2rgo5wjq3 + - req_a5fwaAIdzPpbV7 Stripe-Version: - '2023-10-16' Vary: @@ -278,7 +278,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJS0KuuB1fWySnmqFB4L3B", + "id": "pm_1OvTt6KuuB1fWySnlNssK55r", "object": "payment_method", "billing_details": { "address": { @@ -319,13 +319,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204256, + "created": 1710721032, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:44:17 GMT + recorded_at: Mon, 18 Mar 2024 00:17:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -334,19 +334,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pJPWm2rgo5wjq3","request_duration_ms":365}}' + - '{"last_request_metrics":{"request_id":"req_a5fwaAIdzPpbV7","request_duration_ms":461}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJRyQT1drlI5ho + - acct_1OvTt4QMCDDol8mg Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -359,7 +359,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:17 GMT + - Mon, 18 Mar 2024 00:17:13 GMT Content-Type: - application/json Content-Length: @@ -386,13 +386,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 21a94f79-5d42-4453-9831-63d22f264730 + - a501026b-0adb-41c9-87e5-28788481cc26 Original-Request: - - req_QxCz6L3YudCPMh + - req_d2BOLiwt5JKLAU Request-Id: - - req_QxCz6L3YudCPMh + - req_d2BOLiwt5JKLAU Stripe-Account: - - acct_1OtJRyQT1drlI5ho + - acct_1OvTt4QMCDDol8mg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -407,7 +407,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJS1QT1drlI5ho1JhAsNMK", + "id": "pi_3OvTt7QMCDDol8mg0B4AiMn3", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -423,7 +423,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204257, + "created": 1710721033, "currency": "aud", "customer": null, "description": null, @@ -434,7 +434,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJS1QT1drlI5hoz9up7S0B", + "payment_method": "pm_1OvTt7QMCDDol8mgfgbwjUd9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -459,28 +459,28 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:17 GMT + recorded_at: Mon, 18 Mar 2024 00:17:13 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJS1QT1drlI5ho1JhAsNMK + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTt7QMCDDol8mg0B4AiMn3 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QxCz6L3YudCPMh","request_duration_ms":505}}' + - '{"last_request_metrics":{"request_id":"req_d2BOLiwt5JKLAU","request_duration_ms":483}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJRyQT1drlI5ho + - acct_1OvTt4QMCDDol8mg Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -493,7 +493,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:17 GMT + - Mon, 18 Mar 2024 00:17:13 GMT Content-Type: - application/json Content-Length: @@ -521,9 +521,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_wAIvcVuEszJDN4 + - req_kYJ3h29vQqkIEB Stripe-Account: - - acct_1OtJRyQT1drlI5ho + - acct_1OvTt4QMCDDol8mg Stripe-Version: - '2023-10-16' Vary: @@ -536,7 +536,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJS1QT1drlI5ho1JhAsNMK", + "id": "pi_3OvTt7QMCDDol8mg0B4AiMn3", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -552,7 +552,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204257, + "created": 1710721033, "currency": "aud", "customer": null, "description": null, @@ -563,7 +563,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJS1QT1drlI5hoz9up7S0B", + "payment_method": "pm_1OvTt7QMCDDol8mgfgbwjUd9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -588,10 +588,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:18 GMT + recorded_at: Mon, 18 Mar 2024 00:17:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJS1QT1drlI5ho1JhAsNMK/cancel + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTt7QMCDDol8mg0B4AiMn3/cancel body: encoding: US-ASCII string: '' @@ -609,7 +609,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OtJRyQT1drlI5ho + - acct_1OvTt4QMCDDol8mg Connection: - close Accept-Encoding: @@ -624,7 +624,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:18 GMT + - Mon, 18 Mar 2024 00:17:14 GMT Content-Type: - application/json Content-Length: @@ -652,13 +652,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5263781b-a4a5-4be9-99b8-c70ffed1b8b2 + - 6593aa6b-f115-4786-9e43-b253222a656a Original-Request: - - req_BkZjfB01tjuBZl + - req_XuJWYnH8jq6uQR Request-Id: - - req_BkZjfB01tjuBZl + - req_XuJWYnH8jq6uQR Stripe-Account: - - acct_1OtJRyQT1drlI5ho + - acct_1OvTt4QMCDDol8mg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -673,7 +673,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJS1QT1drlI5ho1JhAsNMK", + "id": "pi_3OvTt7QMCDDol8mg0B4AiMn3", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -684,7 +684,7 @@ http_interactions: "application": "", "application_fee_amount": null, "automatic_payment_methods": null, - "canceled_at": 1710204258, + "canceled_at": 1710721034, "cancellation_reason": null, "capture_method": "manual", "charges": { @@ -692,11 +692,11 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges?payment_intent=pi_3OtJS1QT1drlI5ho1JhAsNMK" + "url": "/v1/charges?payment_intent=pi_3OvTt7QMCDDol8mg0B4AiMn3" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1710204257, + "created": 1710721033, "currency": "aud", "customer": null, "description": null, @@ -707,7 +707,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJS1QT1drlI5hoz9up7S0B", + "payment_method": "pm_1OvTt7QMCDDol8mgfgbwjUd9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -732,5 +732,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:18 GMT + recorded_at: Mon, 18 Mar 2024 00:17:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml similarity index 71% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml index 67913aa227..f45daa7ad8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml @@ -8,13 +8,13 @@ http_interactions: string: stripe_user_id=&client_id=bogus_client_id headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zvZ5rcMjbH8Xnt","request_duration_ms":381}}' + - '{"last_request_metrics":{"request_id":"req_B79MaIEhVEEPAQ","request_duration_ms":311}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:25 GMT + - Mon, 18 Mar 2024 00:17:22 GMT Content-Type: - application/json; charset=utf-8 Content-Length: @@ -53,24 +53,24 @@ http_interactions: Referrer-Policy: - strict-origin-when-cross-origin Request-Id: - - req_SSmm4AaFsw8Zhp + - req_GHrVmVa7FGmpaS Set-Cookie: - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Wed, 12 Mar 2025 00:44:25 GMT; secure; + domain=stripe.com; path=/; expires=Tue, 18 Mar 2025 00:17:22 GMT; secure; HttpOnly; SameSite=Lax - - cid=0433e759-4348-455e-8a58-809cae4b0108; domain=stripe.com; path=/; expires=Mon, - 10 Jun 2024 00:44:25 GMT; secure; SameSite=Lax - - machine_identifier=uNKapiqCKO2tGCnD1LyGcPLKhq38hyKbReLquxbNScK2nD5Ccis%2BqpyPtlnePV7aRnQ%3D; - domain=stripe.com; path=/; expires=Wed, 12 Mar 2025 00:44:25 GMT; secure; + - cid=2582bbce-6937-4242-8cf6-c4343f511344; domain=stripe.com; path=/; expires=Sun, + 16 Jun 2024 00:17:22 GMT; secure; SameSite=Lax + - machine_identifier=u08LMPqUrD5B1kp1zW091JTX1MYNXe2GXreB9n879fzGcPyBLxvc1GSNLjOs5sUCJgc%3D; + domain=stripe.com; path=/; expires=Tue, 18 Mar 2025 00:17:22 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=lZ2jDgxoWxrKQ2xHEnY5mZBYpdMlxiEBE258wqLy6sut%2Bddj8t%2BPuN5gsdwfh2zI7Ew%3D; - domain=stripe.com; path=/; expires=Wed, 12 Mar 2025 00:44:25 GMT; secure; + - private_machine_identifier=0RNxLTzWt20%2BdTYyGlYw33oFTzBCS0DcoCPxJ0x4mBQXzB3ZPxI2XLgrMIOu85fwhMI%3D; + domain=stripe.com; path=/; expires=Tue, 18 Mar 2025 00:17:22 GMT; secure; HttpOnly; SameSite=None - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure - - stripe.csrf=AhKjxrkUZ_zSalGGUzAJ4komJ6czJiP3DY0jFovw9d9xOEGc7Noz-3eMFXOOpL3AThecyivhKnc2Bj_vIFo4tDw-AYTZVJw2S8ZoYOES-Zwx2vgIdODPWR3T1YNdWXti8GAQBYlxQw%3D%3D; + - stripe.csrf=aSus_H8-dkvYjBCLXdh8ntg0xuAW1tkywbt_IwbHZRnT37RbQnHIDIMXzyB345bI1i97FekAm_9ddOCbwUDqrjw-AYTZVJz9GFAUrBpzKH_O3PHD6OAxKYSYiUWLtYNMqKvDFBVQ3g%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -87,5 +87,5 @@ http_interactions: "error": "invalid_client", "error_description": "No such application: 'bogus_client_id'" } - recorded_at: Tue, 12 Mar 2024 00:44:25 GMT + recorded_at: Mon, 18 Mar 2024 00:17:22 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml index 32af4f0f6e..b52145f516 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zvZ5rcMjbH8Xnt","request_duration_ms":381}}' + - '{"last_request_metrics":{"request_id":"req_B79MaIEhVEEPAQ","request_duration_ms":311}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:27 GMT + - Mon, 18 Mar 2024 00:17:24 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d1b1f16e-fbef-4d19-99f8-abb0ba083258 + - 788464b4-12cd-4010-9f2c-1f9f6084c894 Original-Request: - - req_UDo1aYPenB0i3G + - req_DESgTgTGnGMKSG Request-Id: - - req_UDo1aYPenB0i3G + - req_DESgTgTGnGMKSG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OtJSAQRnGWqp1EO", + "id": "acct_1OvTtGQMp0lyFQ94", "object": "account", "business_profile": { "annual_revenue": null, @@ -99,7 +99,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710204267, + "created": 1710721043, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -108,7 +108,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OtJSAQRnGWqp1EO/external_accounts" + "url": "/v1/accounts/acct_1OvTtGQMp0lyFQ94/external_accounts" }, "future_requirements": { "alternatives": [], @@ -205,22 +205,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Tue, 12 Mar 2024 00:44:27 GMT + recorded_at: Mon, 18 Mar 2024 00:17:24 GMT - request: method: post uri: https://connect.stripe.com/oauth/deauthorize body: encoding: UTF-8 - string: stripe_user_id=acct_1OtJSAQRnGWqp1EO&client_id= + string: stripe_user_id=acct_1OvTtGQMp0lyFQ94&client_id= headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UDo1aYPenB0i3G","request_duration_ms":1911}}' + - '{"last_request_metrics":{"request_id":"req_DESgTgTGnGMKSG","request_duration_ms":1866}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -237,7 +237,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:28 GMT + - Mon, 18 Mar 2024 00:17:24 GMT Content-Type: - application/json Content-Length: @@ -259,24 +259,24 @@ http_interactions: Referrer-Policy: - strict-origin-when-cross-origin Request-Id: - - req_ge0Gn5qnamVO4Z + - req_NRuOqrZYZsOvY4 Set-Cookie: - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Wed, 12 Mar 2025 00:44:28 GMT; secure; + domain=stripe.com; path=/; expires=Tue, 18 Mar 2025 00:17:24 GMT; secure; HttpOnly; SameSite=Lax - - cid=f7c2e118-2466-492c-8b70-111998df47f4; domain=stripe.com; path=/; expires=Mon, - 10 Jun 2024 00:44:28 GMT; secure; SameSite=Lax - - machine_identifier=dkQrsWU1v3i39QVq9KudZOao11F7KsMhYZJgBiisjOEWfC6bHTHFkEJcCLcNxgh4Frk%3D; - domain=stripe.com; path=/; expires=Wed, 12 Mar 2025 00:44:28 GMT; secure; + - cid=5c415000-74b6-4cc1-a552-9585aa5c3405; domain=stripe.com; path=/; expires=Sun, + 16 Jun 2024 00:17:24 GMT; secure; SameSite=Lax + - machine_identifier=dFbFbEgmqfRTYoQrHRZPV8Viaa3TdXOcyaHzp9%2FbuTwpTJv4Y4UqtYkSdos6I4upkkw%3D; + domain=stripe.com; path=/; expires=Tue, 18 Mar 2025 00:17:24 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=ZoOGnX5xYkvlbHX8uTyzC%2B89Y31O0drKfdeIyfP04qjUV%2Fjv407N5m7I4610%2FjFHsc8%3D; - domain=stripe.com; path=/; expires=Wed, 12 Mar 2025 00:44:28 GMT; secure; + - private_machine_identifier=xE%2BK2%2BlUylTzVVomPbZiN8i0mlFHXzYekKDtQ%2BEsmyvOLfBVPJwXM6vpHxPtl2Vh94g%3D; + domain=stripe.com; path=/; expires=Tue, 18 Mar 2025 00:17:24 GMT; secure; HttpOnly; SameSite=None - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure - - stripe.csrf=sVRm1QahM56YuGpruBcGA8vRYLdoC28rKEgYh6vAExeC34WXyb-nMChodDi-nhezRjsNyYUA0G-paDgKRAs3yjw-AYTZVJycFZa8ScetDwh7KUs34CN4UBhsUDwMjUT405CuWBHsIQ%3D%3D; + - stripe.csrf=GqBzZzi63YUV_sTHahtU-rcSjGe9iPImil-9-M3yqjCAc3SZ_sCrydfEB9rbU2glYEHo_MElt8muUgAy2eKuBzw-AYTZVJyqhoBLAXavr-PDpNbPXZ_YEue4llqvZbqHDPxWXPFAvA%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -288,7 +288,7 @@ http_interactions: encoding: UTF-8 string: |- { - "stripe_user_id": "acct_1OtJSAQRnGWqp1EO" + "stripe_user_id": "acct_1OvTtGQMp0lyFQ94" } - recorded_at: Tue, 12 Mar 2024 00:44:28 GMT + recorded_at: Mon, 18 Mar 2024 00:17:24 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml index b4aaf48441..fdf43f639a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Xhi5zBbTXN8g60","request_duration_ms":1228}}' + - '{"last_request_metrics":{"request_id":"req_jIiMyuL3cGyXiu","request_duration_ms":1328}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:35 GMT + - Mon, 18 Mar 2024 00:17:32 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4803f797-e9b6-4bc5-bd3a-60071f1b9626 + - 83da0cfb-bd95-44fc-afb8-01634ecd8d3a Original-Request: - - req_hCpD6q0In7rsdx + - req_25HytWVowVqHlu Request-Id: - - req_hCpD6q0In7rsdx + - req_25HytWVowVqHlu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJSJKuuB1fWySnvve1SxMO", + "id": "pm_1OvTtQKuuB1fWySn9aNF8uS7", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204275, + "created": 1710721052, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:44:35 GMT + recorded_at: Mon, 18 Mar 2024 00:17:32 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OtJSJKuuB1fWySnvve1SxMO&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OvTtQKuuB1fWySn9aNF8uS7&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hCpD6q0In7rsdx","request_duration_ms":426}}' + - '{"last_request_metrics":{"request_id":"req_25HytWVowVqHlu","request_duration_ms":598}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:36 GMT + - Mon, 18 Mar 2024 00:17:33 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 435dd0ca-b7e3-47ae-9ef0-ef2607340c48 + - 335e7ba2-193c-4e2a-a7ec-f0b1a4315e1f Original-Request: - - req_wnX7WOrWohtQ3S + - req_KxWXDLCJ5MaOtW Request-Id: - - req_wnX7WOrWohtQ3S + - req_KxWXDLCJ5MaOtW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSJKuuB1fWySn1kQGGALz", + "id": "pi_3OvTtRKuuB1fWySn2GrEKUaE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204275, + "created": 1710721053, "currency": "aud", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSJKuuB1fWySnvve1SxMO", + "payment_method": "pm_1OvTtQKuuB1fWySn9aNF8uS7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:36 GMT + recorded_at: Mon, 18 Mar 2024 00:17:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSJKuuB1fWySn1kQGGALz/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtRKuuB1fWySn2GrEKUaE/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wnX7WOrWohtQ3S","request_duration_ms":396}}' + - '{"last_request_metrics":{"request_id":"req_KxWXDLCJ5MaOtW","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:37 GMT + - Mon, 18 Mar 2024 00:17:34 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 98a4696f-3ec1-49b5-8117-ca93834c985f + - 6b124504-22a9-46c7-a601-f68ab1e8c335 Original-Request: - - req_pt1UkOCNuecnsd + - req_LZ5CHZyseYpGK2 Request-Id: - - req_pt1UkOCNuecnsd + - req_LZ5CHZyseYpGK2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSJKuuB1fWySn1kQGGALz", + "id": "pi_3OvTtRKuuB1fWySn2GrEKUaE", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204275, + "created": 1710721053, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJSJKuuB1fWySn18iqg4bO", + "latest_charge": "ch_3OvTtRKuuB1fWySn2luCuMhP", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSJKuuB1fWySnvve1SxMO", + "payment_method": "pm_1OvTtQKuuB1fWySn9aNF8uS7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:37 GMT + recorded_at: Mon, 18 Mar 2024 00:17:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSJKuuB1fWySn1kQGGALz/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtRKuuB1fWySn2GrEKUaE/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pt1UkOCNuecnsd","request_duration_ms":1097}}' + - '{"last_request_metrics":{"request_id":"req_LZ5CHZyseYpGK2","request_duration_ms":920}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:38 GMT + - Mon, 18 Mar 2024 00:17:35 GMT Content-Type: - application/json Content-Length: @@ -445,11 +445,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 80014955-a076-4c8d-b509-aa2a5bd1e4ad + - de418712-e7ef-42be-9659-f8af5a2f4b8a Original-Request: - - req_3l2ahMeMhkDSIj + - req_lyqI9elLYo4CtZ Request-Id: - - req_3l2ahMeMhkDSIj + - req_lyqI9elLYo4CtZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -464,7 +464,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSJKuuB1fWySn1kQGGALz", + "id": "pi_3OvTtRKuuB1fWySn2GrEKUaE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -480,18 +480,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204275, + "created": 1710721053, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJSJKuuB1fWySn18iqg4bO", + "latest_charge": "ch_3OvTtRKuuB1fWySn2luCuMhP", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSJKuuB1fWySnvve1SxMO", + "payment_method": "pm_1OvTtQKuuB1fWySn9aNF8uS7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -516,22 +516,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:38 GMT + recorded_at: Mon, 18 Mar 2024 00:17:35 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSJKuuB1fWySn1kQGGALz + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtRKuuB1fWySn2GrEKUaE body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3l2ahMeMhkDSIj","request_duration_ms":1273}}' + - '{"last_request_metrics":{"request_id":"req_lyqI9elLYo4CtZ","request_duration_ms":1227}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -548,7 +548,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:38 GMT + - Mon, 18 Mar 2024 00:17:35 GMT Content-Type: - application/json Content-Length: @@ -576,7 +576,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_YU6F3SPSHd3Ht7 + - req_QLgFMvG0k7taRw Stripe-Version: - '2023-10-16' Vary: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSJKuuB1fWySn1kQGGALz", + "id": "pi_3OvTtRKuuB1fWySn2GrEKUaE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204275, + "created": 1710721053, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJSJKuuB1fWySn18iqg4bO", + "latest_charge": "ch_3OvTtRKuuB1fWySn2luCuMhP", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSJKuuB1fWySnvve1SxMO", + "payment_method": "pm_1OvTtQKuuB1fWySn9aNF8uS7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,5 +641,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:38 GMT + recorded_at: Mon, 18 Mar 2024 00:17:35 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml index 6b47a95d71..1be5dacc57 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cmhcf2eXUbFA1Q","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_AUnct1pFCKDHcy","request_duration_ms":472}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:32 GMT + - Mon, 18 Mar 2024 00:17:29 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4dfb1315-cd81-485c-b2ff-95c11067881c + - e7502dab-d61a-41df-b97b-32475f4c5071 Original-Request: - - req_7E1jfCtxTMI0bW + - req_24mN6lAsSAN3gG Request-Id: - - req_7E1jfCtxTMI0bW + - req_24mN6lAsSAN3gG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJSGKuuB1fWySnJoNWYzpY", + "id": "pm_1OvTtMKuuB1fWySnT962jz7H", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204272, + "created": 1710721049, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:44:32 GMT + recorded_at: Mon, 18 Mar 2024 00:17:29 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OtJSGKuuB1fWySnJoNWYzpY&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OvTtMKuuB1fWySnT962jz7H&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7E1jfCtxTMI0bW","request_duration_ms":478}}' + - '{"last_request_metrics":{"request_id":"req_24mN6lAsSAN3gG","request_duration_ms":498}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:32 GMT + - Mon, 18 Mar 2024 00:17:29 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 88666c4b-364a-46ff-a32b-63a91bac2ab0 + - 86ac3170-9499-46c4-8658-1f907cade657 Original-Request: - - req_h4LdLtQhivvUVA + - req_VOLcnzKz3tfBOI Request-Id: - - req_h4LdLtQhivvUVA + - req_VOLcnzKz3tfBOI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSGKuuB1fWySn21K9ajlR", + "id": "pi_3OvTtNKuuB1fWySn1GSigJJY", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204272, + "created": 1710721049, "currency": "aud", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSGKuuB1fWySnJoNWYzpY", + "payment_method": "pm_1OvTtMKuuB1fWySnT962jz7H", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:32 GMT + recorded_at: Mon, 18 Mar 2024 00:17:29 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSGKuuB1fWySn21K9ajlR/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtNKuuB1fWySn1GSigJJY/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_h4LdLtQhivvUVA","request_duration_ms":385}}' + - '{"last_request_metrics":{"request_id":"req_VOLcnzKz3tfBOI","request_duration_ms":476}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:33 GMT + - Mon, 18 Mar 2024 00:17:30 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f4c19993-7a1e-4266-86e1-5483619c8270 + - e682276e-9ca1-453d-be77-5d1911ace78d Original-Request: - - req_2bfstFOl8ku3qo + - req_BJlSZz2HxFEmzf Request-Id: - - req_2bfstFOl8ku3qo + - req_BJlSZz2HxFEmzf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSGKuuB1fWySn21K9ajlR", + "id": "pi_3OvTtNKuuB1fWySn1GSigJJY", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204272, + "created": 1710721049, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJSGKuuB1fWySn2AgqfD9d", + "latest_charge": "ch_3OvTtNKuuB1fWySn1wBO9TUB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSGKuuB1fWySnJoNWYzpY", + "payment_method": "pm_1OvTtMKuuB1fWySnT962jz7H", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:33 GMT + recorded_at: Mon, 18 Mar 2024 00:17:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSGKuuB1fWySn21K9ajlR/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtNKuuB1fWySn1GSigJJY/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2bfstFOl8ku3qo","request_duration_ms":1044}}' + - '{"last_request_metrics":{"request_id":"req_BJlSZz2HxFEmzf","request_duration_ms":1039}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:35 GMT + - Mon, 18 Mar 2024 00:17:31 GMT Content-Type: - application/json Content-Length: @@ -445,11 +445,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6d4d5ea9-3269-4590-ad31-8ba6e1097808 + - b2e910a7-a77a-4101-aeac-d1cddd8a00cb Original-Request: - - req_Xhi5zBbTXN8g60 + - req_jIiMyuL3cGyXiu Request-Id: - - req_Xhi5zBbTXN8g60 + - req_jIiMyuL3cGyXiu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -464,7 +464,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSGKuuB1fWySn21K9ajlR", + "id": "pi_3OvTtNKuuB1fWySn1GSigJJY", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -480,18 +480,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204272, + "created": 1710721049, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJSGKuuB1fWySn2AgqfD9d", + "latest_charge": "ch_3OvTtNKuuB1fWySn1wBO9TUB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSGKuuB1fWySnJoNWYzpY", + "payment_method": "pm_1OvTtMKuuB1fWySnT962jz7H", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -516,5 +516,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:35 GMT + recorded_at: Mon, 18 Mar 2024 00:17:32 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml index 4a3ec7e40d..6793cd95b2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SkdaPx37iNCRLI","request_duration_ms":376}}' + - '{"last_request_metrics":{"request_id":"req_fbp76TyEf0Myfo","request_duration_ms":331}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:31 GMT + - Mon, 18 Mar 2024 00:17:28 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3ca40f0e-0a25-4cd5-aefc-48fd8dffb69f + - b721012c-96d9-4601-8673-b65dec902779 Original-Request: - - req_tusuw4mCLdtPd9 + - req_opUjOcKKxkh5vb Request-Id: - - req_tusuw4mCLdtPd9 + - req_opUjOcKKxkh5vb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJSFKuuB1fWySnqrELdW3E", + "id": "pm_1OvTtLKuuB1fWySnEmIUiiVy", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204271, + "created": 1710721048, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:44:31 GMT + recorded_at: Mon, 18 Mar 2024 00:17:28 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OtJSFKuuB1fWySnqrELdW3E&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OvTtLKuuB1fWySnEmIUiiVy&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tusuw4mCLdtPd9","request_duration_ms":413}}' + - '{"last_request_metrics":{"request_id":"req_opUjOcKKxkh5vb","request_duration_ms":465}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:31 GMT + - Mon, 18 Mar 2024 00:17:28 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a23b34d3-a5dd-477c-9824-ba5db895bdc3 + - c4686184-37c6-458f-b749-7792a8a7b005 Original-Request: - - req_cmhcf2eXUbFA1Q + - req_AUnct1pFCKDHcy Request-Id: - - req_cmhcf2eXUbFA1Q + - req_AUnct1pFCKDHcy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSFKuuB1fWySn1FmwbLwU", + "id": "pi_3OvTtMKuuB1fWySn0bOj3ofn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204271, + "created": 1710721048, "currency": "aud", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSFKuuB1fWySnqrELdW3E", + "payment_method": "pm_1OvTtLKuuB1fWySnEmIUiiVy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,5 +254,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:31 GMT + recorded_at: Mon, 18 Mar 2024 00:17:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml index e90c36e817..16e82d0fe5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZYLaaCWwj8PMQu","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_USv3mvc5dCZdDZ","request_duration_ms":502}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:30 GMT + - Mon, 18 Mar 2024 00:17:26 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fedb0269-6ffc-4b72-a089-e20a8b2ca880 + - 071b0f81-d3a1-45de-b83c-4d5064292bdf Original-Request: - - req_ohgCWUO0MjkZ8V + - req_p9wvMPEXGsUpLv Request-Id: - - req_ohgCWUO0MjkZ8V + - req_p9wvMPEXGsUpLv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJSDKuuB1fWySnmgwxT4ZW", + "id": "pm_1OvTtKKuuB1fWySngKDk5AoV", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204269, + "created": 1710721046, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:44:30 GMT + recorded_at: Mon, 18 Mar 2024 00:17:26 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OtJSDKuuB1fWySnmgwxT4ZW&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OvTtKKuuB1fWySngKDk5AoV&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ohgCWUO0MjkZ8V","request_duration_ms":444}}' + - '{"last_request_metrics":{"request_id":"req_p9wvMPEXGsUpLv","request_duration_ms":597}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:30 GMT + - Mon, 18 Mar 2024 00:17:27 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5f769b63-addb-4ba1-b82b-e77e1955c48e + - de05649f-ee50-4da1-8d5d-23014b4a46bf Original-Request: - - req_amgQJheC9uBeVy + - req_1uqsFUSRNJGcgX Request-Id: - - req_amgQJheC9uBeVy + - req_1uqsFUSRNJGcgX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSEKuuB1fWySn05B2UN1F", + "id": "pi_3OvTtLKuuB1fWySn2FHWVRuE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204270, + "created": 1710721047, "currency": "aud", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSDKuuB1fWySnmgwxT4ZW", + "payment_method": "pm_1OvTtKKuuB1fWySngKDk5AoV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:30 GMT + recorded_at: Mon, 18 Mar 2024 00:17:27 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSEKuuB1fWySn05B2UN1F + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtLKuuB1fWySn2FHWVRuE body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_amgQJheC9uBeVy","request_duration_ms":454}}' + - '{"last_request_metrics":{"request_id":"req_1uqsFUSRNJGcgX","request_duration_ms":531}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:30 GMT + - Mon, 18 Mar 2024 00:17:27 GMT Content-Type: - application/json Content-Length: @@ -314,7 +314,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_SkdaPx37iNCRLI + - req_fbp76TyEf0Myfo Stripe-Version: - '2023-10-16' Vary: @@ -327,7 +327,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSEKuuB1fWySn05B2UN1F", + "id": "pi_3OvTtLKuuB1fWySn2FHWVRuE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -343,7 +343,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204270, + "created": 1710721047, "currency": "aud", "customer": null, "description": null, @@ -354,7 +354,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSDKuuB1fWySnmgwxT4ZW", + "payment_method": "pm_1OvTtKKuuB1fWySngKDk5AoV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -379,5 +379,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:30 GMT + recorded_at: Mon, 18 Mar 2024 00:17:27 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml index aeea9986e8..0d519648c1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ge0Gn5qnamVO4Z","request_duration_ms":465}}' + - '{"last_request_metrics":{"request_id":"req_NRuOqrZYZsOvY4","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:28 GMT + - Mon, 18 Mar 2024 00:17:25 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2d745dac-d454-4159-bf77-351ab8ef5476 + - d5936b5b-28ae-4f15-813e-7eb13cf7ae1e Original-Request: - - req_u7uiI1lCTdIzWn + - req_4pxrlQQVZcEEnb Request-Id: - - req_u7uiI1lCTdIzWn + - req_4pxrlQQVZcEEnb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJSCKuuB1fWySnSl3jBdEe", + "id": "pm_1OvTtJKuuB1fWySnX8xe4FWX", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204268, + "created": 1710721045, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:44:29 GMT + recorded_at: Mon, 18 Mar 2024 00:17:25 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OtJSCKuuB1fWySnSl3jBdEe&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1OvTtJKuuB1fWySnX8xe4FWX&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_u7uiI1lCTdIzWn","request_duration_ms":459}}' + - '{"last_request_metrics":{"request_id":"req_4pxrlQQVZcEEnb","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:29 GMT + - Mon, 18 Mar 2024 00:17:25 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 17133c8d-6355-4c9e-a672-ba69f4c1d74a + - 23d57b84-7c4f-478e-875a-ad784ec21b08 Original-Request: - - req_ZYLaaCWwj8PMQu + - req_USv3mvc5dCZdDZ Request-Id: - - req_ZYLaaCWwj8PMQu + - req_USv3mvc5dCZdDZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSDKuuB1fWySn1101CeN6", + "id": "pi_3OvTtJKuuB1fWySn0UQ7dfp2", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204269, + "created": 1710721045, "currency": "aud", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSCKuuB1fWySnSl3jBdEe", + "payment_method": "pm_1OvTtJKuuB1fWySnX8xe4FWX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,5 +254,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:29 GMT + recorded_at: Mon, 18 Mar 2024 00:17:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml index a42dabcee0..5622322d2e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MdZ2Zf3SKYoZ4w","request_duration_ms":362}}' + - '{"last_request_metrics":{"request_id":"req_g9XAFj7rXoyJdL","request_duration_ms":284}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:00 GMT + - Mon, 18 Mar 2024 00:14:59 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c83ca401-de9a-44b4-a2fd-bfa159fab390 + - 3d3ad09e-41e2-4ca5-9295-8da644a90250 Original-Request: - - req_UDQ3k7IILPIpN2 + - req_bBC0qNNWFQPFwx Request-Id: - - req_UDQ3k7IILPIpN2 + - req_bBC0qNNWFQPFwx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJPoKuuB1fWySnfhsQradh", + "id": "pm_1OvTqxKuuB1fWySnCSkG86bK", "object": "payment_method", "billing_details": { "address": { @@ -118,13 +118,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204120, + "created": 1710720899, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:00 GMT + recorded_at: Mon, 18 Mar 2024 00:14:59 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -133,13 +133,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UDQ3k7IILPIpN2","request_duration_ms":481}}' + - '{"last_request_metrics":{"request_id":"req_bBC0qNNWFQPFwx","request_duration_ms":457}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:02 GMT + - Mon, 18 Mar 2024 00:15:01 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b70251de-9e06-4dc5-bb64-b5f987b1a686 + - def56cc1-bfb8-4161-a275-cd846983f9ad Original-Request: - - req_reL9tquyA5MrwJ + - req_IFyLI7pm6FNaWz Request-Id: - - req_reL9tquyA5MrwJ + - req_IFyLI7pm6FNaWz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OtJPo4KFBgILUOM", + "id": "acct_1OvTqy4JnzBWpcWU", "object": "account", "business_profile": { "annual_revenue": null, @@ -224,7 +224,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710204121, + "created": 1710720900, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -233,7 +233,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OtJPo4KFBgILUOM/external_accounts" + "url": "/v1/accounts/acct_1OvTqy4JnzBWpcWU/external_accounts" }, "future_requirements": { "alternatives": [], @@ -330,22 +330,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Tue, 12 Mar 2024 00:42:02 GMT + recorded_at: Mon, 18 Mar 2024 00:15:01 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1OtJPoKuuB1fWySnfhsQradh + uri: https://api.stripe.com/v1/payment_methods/pm_1OvTqxKuuB1fWySnCSkG86bK body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_reL9tquyA5MrwJ","request_duration_ms":1891}}' + - '{"last_request_metrics":{"request_id":"req_IFyLI7pm6FNaWz","request_duration_ms":2141}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -362,7 +362,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:02 GMT + - Mon, 18 Mar 2024 00:15:02 GMT Content-Type: - application/json Content-Length: @@ -390,7 +390,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_aeNk3rsdThVNKj + - req_dSevEFHysAQ7yf Stripe-Version: - '2023-10-16' Vary: @@ -403,7 +403,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJPoKuuB1fWySnfhsQradh", + "id": "pm_1OvTqxKuuB1fWySnCSkG86bK", "object": "payment_method", "billing_details": { "address": { @@ -444,13 +444,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204120, + "created": 1710720899, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:02 GMT + recorded_at: Mon, 18 Mar 2024 00:15:02 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -459,19 +459,19 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aeNk3rsdThVNKj","request_duration_ms":288}}' + - '{"last_request_metrics":{"request_id":"req_dSevEFHysAQ7yf","request_duration_ms":271}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJPo4KFBgILUOM + - acct_1OvTqy4JnzBWpcWU Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -484,7 +484,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:03 GMT + - Mon, 18 Mar 2024 00:15:02 GMT Content-Type: - application/json Content-Length: @@ -511,9 +511,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_p17paGyk3midQO + - req_IQWVmgSPe44Ei9 Stripe-Account: - - acct_1OtJPo4KFBgILUOM + - acct_1OvTqy4JnzBWpcWU Stripe-Version: - '2023-10-16' Vary: @@ -531,28 +531,28 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Tue, 12 Mar 2024 00:42:03 GMT + recorded_at: Mon, 18 Mar 2024 00:15:02 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: payment_method=pm_1OtJPoKuuB1fWySnfhsQradh + string: payment_method=pm_1OvTqxKuuB1fWySnCSkG86bK headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_p17paGyk3midQO","request_duration_ms":367}}' + - '{"last_request_metrics":{"request_id":"req_IQWVmgSPe44Ei9","request_duration_ms":341}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJPo4KFBgILUOM + - acct_1OvTqy4JnzBWpcWU Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -565,7 +565,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:03 GMT + - Mon, 18 Mar 2024 00:15:02 GMT Content-Type: - application/json Content-Length: @@ -592,13 +592,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8353cc22-4420-4c12-9da3-8e2c74b9a531 + - 45dffaff-6a12-4ca7-838b-6cb570fd6c20 Original-Request: - - req_78SyWkSlN35oWJ + - req_s5SCuqf1YmkWEQ Request-Id: - - req_78SyWkSlN35oWJ + - req_s5SCuqf1YmkWEQ Stripe-Account: - - acct_1OtJPo4KFBgILUOM + - acct_1OvTqy4JnzBWpcWU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -613,7 +613,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJPr4KFBgILUOMRuUfPmoL", + "id": "pm_1OvTr04JnzBWpcWUVcpJovNu", "object": "payment_method", "billing_details": { "address": { @@ -654,11 +654,11 @@ http_interactions: }, "wallet": null }, - "created": 1710204123, + "created": 1710720902, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:03 GMT + recorded_at: Mon, 18 Mar 2024 00:15:03 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml index 6028ee0add..5d6f1e9dee 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_78SyWkSlN35oWJ","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_s5SCuqf1YmkWEQ","request_duration_ms":412}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:04 GMT + - Mon, 18 Mar 2024 00:15:03 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '084b70ac-923d-4387-994e-ac0fa9a6f467' + - 9cc8da25-5ccf-4448-bbc9-265f53be0858 Original-Request: - - req_p3NBRVUUEnrpxS + - req_yGPPYYDoFt6kNx Request-Id: - - req_p3NBRVUUEnrpxS + - req_yGPPYYDoFt6kNx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJPsKuuB1fWySnfAJy7ydH", + "id": "pm_1OvTr1KuuB1fWySnMXLPMlil", "object": "payment_method", "billing_details": { "address": { @@ -118,13 +118,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204124, + "created": 1710720903, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:04 GMT + recorded_at: Mon, 18 Mar 2024 00:15:03 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -133,13 +133,13 @@ http_interactions: string: name=Apple+Customer&email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_p3NBRVUUEnrpxS","request_duration_ms":429}}' + - '{"last_request_metrics":{"request_id":"req_yGPPYYDoFt6kNx","request_duration_ms":456}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:04 GMT + - Mon, 18 Mar 2024 00:15:03 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e5e1ff73-32f8-4d3a-8348-14f22875dd6c + - 1173847d-05e2-4685-ae60-45d8d9f801f3 Original-Request: - - req_xysp6U3Y0Na5uM + - req_lfyMVzX1xo2mso Request-Id: - - req_xysp6U3Y0Na5uM + - req_lfyMVzX1xo2mso Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,18 +202,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PikvhEeATNGL3X", + "id": "cus_PkzqRCn2t6YtTS", "object": "customer", "address": null, "balance": 0, - "created": 1710204124, + "created": 1710720903, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "4E18B31B", + "invoice_prefix": "E1D3A9D5", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -230,22 +230,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Tue, 12 Mar 2024 00:42:04 GMT + recorded_at: Mon, 18 Mar 2024 00:15:04 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OtJPsKuuB1fWySnfAJy7ydH/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OvTr1KuuB1fWySnMXLPMlil/attach body: encoding: UTF-8 - string: customer=cus_PikvhEeATNGL3X + string: customer=cus_PkzqRCn2t6YtTS headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xysp6U3Y0Na5uM","request_duration_ms":501}}' + - '{"last_request_metrics":{"request_id":"req_lfyMVzX1xo2mso","request_duration_ms":484}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -262,7 +262,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:05 GMT + - Mon, 18 Mar 2024 00:15:04 GMT Content-Type: - application/json Content-Length: @@ -290,11 +290,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bf90cde0-2cb1-457c-83cb-4f40d183a39d + - edadf19d-d102-442d-ba3b-d3609c1594bc Original-Request: - - req_y83HLd4ETWEYSP + - req_VOKM1bRJ9ZgzoW Request-Id: - - req_y83HLd4ETWEYSP + - req_VOKM1bRJ9ZgzoW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -309,7 +309,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJPsKuuB1fWySnfAJy7ydH", + "id": "pm_1OvTr1KuuB1fWySnMXLPMlil", "object": "payment_method", "billing_details": { "address": { @@ -350,13 +350,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204124, - "customer": "cus_PikvhEeATNGL3X", + "created": 1710720903, + "customer": "cus_PkzqRCn2t6YtTS", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:05 GMT + recorded_at: Mon, 18 Mar 2024 00:15:04 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -365,13 +365,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_y83HLd4ETWEYSP","request_duration_ms":818}}' + - '{"last_request_metrics":{"request_id":"req_VOKM1bRJ9ZgzoW","request_duration_ms":740}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -388,7 +388,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:07 GMT + - Mon, 18 Mar 2024 00:15:06 GMT Content-Type: - application/json Content-Length: @@ -415,11 +415,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c1d5dcd1-23c0-46ec-889a-85b3e87701e0 + - 4109397a-178a-43b5-bdcd-978f02771a87 Original-Request: - - req_t4d2akQbz69WXY + - req_sEcpXDU4jBEkkq Request-Id: - - req_t4d2akQbz69WXY + - req_sEcpXDU4jBEkkq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -434,7 +434,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OtJPtQPamH8qwFf", + "id": "acct_1OvTr24C6BmtoRvb", "object": "account", "business_profile": { "annual_revenue": null, @@ -456,7 +456,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710204126, + "created": 1710720905, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -465,7 +465,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OtJPtQPamH8qwFf/external_accounts" + "url": "/v1/accounts/acct_1OvTr24C6BmtoRvb/external_accounts" }, "future_requirements": { "alternatives": [], @@ -562,22 +562,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Tue, 12 Mar 2024 00:42:07 GMT + recorded_at: Mon, 18 Mar 2024 00:15:06 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1OtJPsKuuB1fWySnfAJy7ydH + uri: https://api.stripe.com/v1/payment_methods/pm_1OvTr1KuuB1fWySnMXLPMlil body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t4d2akQbz69WXY","request_duration_ms":2038}}' + - '{"last_request_metrics":{"request_id":"req_sEcpXDU4jBEkkq","request_duration_ms":1655}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -594,7 +594,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:07 GMT + - Mon, 18 Mar 2024 00:15:06 GMT Content-Type: - application/json Content-Length: @@ -622,7 +622,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_Dq9X8WUWGvV9z2 + - req_aM4luej1FH080B Stripe-Version: - '2023-10-16' Vary: @@ -635,7 +635,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJPsKuuB1fWySnfAJy7ydH", + "id": "pm_1OvTr1KuuB1fWySnMXLPMlil", "object": "payment_method", "billing_details": { "address": { @@ -676,13 +676,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204124, - "customer": "cus_PikvhEeATNGL3X", + "created": 1710720903, + "customer": "cus_PkzqRCn2t6YtTS", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:07 GMT + recorded_at: Mon, 18 Mar 2024 00:15:06 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -691,19 +691,19 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Dq9X8WUWGvV9z2","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_aM4luej1FH080B","request_duration_ms":284}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJPtQPamH8qwFf + - acct_1OvTr24C6BmtoRvb Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -716,7 +716,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:08 GMT + - Mon, 18 Mar 2024 00:15:06 GMT Content-Type: - application/json Content-Length: @@ -743,9 +743,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_HniZsLcuU5EtO7 + - req_cwF2fSEHkH8Ojd Stripe-Account: - - acct_1OtJPtQPamH8qwFf + - acct_1OvTr24C6BmtoRvb Stripe-Version: - '2023-10-16' Vary: @@ -763,28 +763,28 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Tue, 12 Mar 2024 00:42:08 GMT + recorded_at: Mon, 18 Mar 2024 00:15:06 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: customer=cus_PikvhEeATNGL3X&payment_method=pm_1OtJPsKuuB1fWySnfAJy7ydH + string: customer=cus_PkzqRCn2t6YtTS&payment_method=pm_1OvTr1KuuB1fWySnMXLPMlil headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HniZsLcuU5EtO7","request_duration_ms":307}}' + - '{"last_request_metrics":{"request_id":"req_cwF2fSEHkH8Ojd","request_duration_ms":302}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJPtQPamH8qwFf + - acct_1OvTr24C6BmtoRvb Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -797,7 +797,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:08 GMT + - Mon, 18 Mar 2024 00:15:07 GMT Content-Type: - application/json Content-Length: @@ -824,13 +824,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5e78b217-d445-4e6b-b838-33f7de0ee9ab + - 1ce67b02-edfd-4b6f-844e-cec1abf59265 Original-Request: - - req_HxbobSRFBT4tsd + - req_1jCvDBU6dIkYVR Request-Id: - - req_HxbobSRFBT4tsd + - req_1jCvDBU6dIkYVR Stripe-Account: - - acct_1OtJPtQPamH8qwFf + - acct_1OvTr24C6BmtoRvb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -845,7 +845,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJPwQPamH8qwFf1xMszZIW", + "id": "pm_1OvTr54C6BmtoRvbFVBgSIi4", "object": "payment_method", "billing_details": { "address": { @@ -886,13 +886,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204128, + "created": 1710720907, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:08 GMT + recorded_at: Mon, 18 Mar 2024 00:15:07 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -901,19 +901,19 @@ http_interactions: string: email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HxbobSRFBT4tsd","request_duration_ms":411}}' + - '{"last_request_metrics":{"request_id":"req_1jCvDBU6dIkYVR","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJPtQPamH8qwFf + - acct_1OvTr24C6BmtoRvb Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -926,7 +926,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:09 GMT + - Mon, 18 Mar 2024 00:15:07 GMT Content-Type: - application/json Content-Length: @@ -953,13 +953,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 15598e86-f9d9-4f3d-bdc6-7da91e3e10e5 + - 4a503310-e9cb-4cb2-b102-c06ee984e9c6 Original-Request: - - req_e5p2ZIWWpzMtpe + - req_Obb9BYdZKNUJeI Request-Id: - - req_e5p2ZIWWpzMtpe + - req_Obb9BYdZKNUJeI Stripe-Account: - - acct_1OtJPtQPamH8qwFf + - acct_1OvTr24C6BmtoRvb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -974,18 +974,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PikvIcQ0V0OFmt", + "id": "cus_Pkzq62KbE37Fmo", "object": "customer", "address": null, "balance": 0, - "created": 1710204128, + "created": 1710720907, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "3B88A896", + "invoice_prefix": "47842A70", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -1002,28 +1002,28 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Tue, 12 Mar 2024 00:42:09 GMT + recorded_at: Mon, 18 Mar 2024 00:15:07 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OtJPwQPamH8qwFf1xMszZIW/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OvTr54C6BmtoRvbFVBgSIi4/attach body: encoding: UTF-8 - string: customer=cus_PikvIcQ0V0OFmt + string: customer=cus_Pkzq62KbE37Fmo headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_e5p2ZIWWpzMtpe","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_Obb9BYdZKNUJeI","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJPtQPamH8qwFf + - acct_1OvTr24C6BmtoRvb Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1036,7 +1036,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:09 GMT + - Mon, 18 Mar 2024 00:15:08 GMT Content-Type: - application/json Content-Length: @@ -1064,13 +1064,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bcd1130a-9cf7-40af-bc16-fdd36e459c09 + - 0ac93fe8-91ec-4b90-9e2e-b57e461918cd Original-Request: - - req_2tXb2jT5yyt9N2 + - req_jdf4c6lfaxD0Yc Request-Id: - - req_2tXb2jT5yyt9N2 + - req_jdf4c6lfaxD0Yc Stripe-Account: - - acct_1OtJPtQPamH8qwFf + - acct_1OvTr24C6BmtoRvb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1085,7 +1085,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJPwQPamH8qwFf1xMszZIW", + "id": "pm_1OvTr54C6BmtoRvbFVBgSIi4", "object": "payment_method", "billing_details": { "address": { @@ -1126,34 +1126,34 @@ http_interactions: }, "wallet": null }, - "created": 1710204128, - "customer": "cus_PikvIcQ0V0OFmt", + "created": 1710720907, + "customer": "cus_Pkzq62KbE37Fmo", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:09 GMT + recorded_at: Mon, 18 Mar 2024 00:15:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OtJPwQPamH8qwFf1xMszZIW + uri: https://api.stripe.com/v1/payment_methods/pm_1OvTr54C6BmtoRvbFVBgSIi4 body: encoding: UTF-8 string: metadata[ofn-clone]=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2tXb2jT5yyt9N2","request_duration_ms":392}}' + - '{"last_request_metrics":{"request_id":"req_jdf4c6lfaxD0Yc","request_duration_ms":382}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJPtQPamH8qwFf + - acct_1OvTr24C6BmtoRvb Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1166,7 +1166,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:09 GMT + - Mon, 18 Mar 2024 00:15:08 GMT Content-Type: - application/json Content-Length: @@ -1194,13 +1194,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d67adb2c-f386-4cb4-82be-503d6fa3f9be + - 80b154ea-c0df-403d-af14-55e6c3c9cdcd Original-Request: - - req_DwNoT7pynHL20n + - req_sVjwduoedlBMUP Request-Id: - - req_DwNoT7pynHL20n + - req_sVjwduoedlBMUP Stripe-Account: - - acct_1OtJPtQPamH8qwFf + - acct_1OvTr24C6BmtoRvb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1215,7 +1215,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJPwQPamH8qwFf1xMszZIW", + "id": "pm_1OvTr54C6BmtoRvbFVBgSIi4", "object": "payment_method", "billing_details": { "address": { @@ -1256,13 +1256,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204128, - "customer": "cus_PikvIcQ0V0OFmt", + "created": 1710720907, + "customer": "cus_Pkzq62KbE37Fmo", "livemode": false, "metadata": { "ofn-clone": "true" }, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:09 GMT + recorded_at: Mon, 18 Mar 2024 00:15:08 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml index fc25424597..044da8c5a8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_D0EFwMYMIKVqnd","request_duration_ms":684}}' + - '{"last_request_metrics":{"request_id":"req_1B4QZ4hAlW2eCO","request_duration_ms":650}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:14 GMT + - Mon, 18 Mar 2024 00:15:12 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 29a1e7f6-91e6-40d9-988a-c73c66270c1d + - bebef18d-452d-4b28-92a3-8ef784513ccd Original-Request: - - req_YtIQrpyWFBhQmT + - req_7jejsG3JSQBIRE Request-Id: - - req_YtIQrpyWFBhQmT + - req_7jejsG3JSQBIRE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQ2KuuB1fWySnMpw6fVpe", + "id": "pm_1OvTrAKuuB1fWySnW3Z0QqtX", "object": "payment_method", "billing_details": { "address": { @@ -118,13 +118,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204134, + "created": 1710720912, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:14 GMT + recorded_at: Mon, 18 Mar 2024 00:15:12 GMT - request: method: get uri: https://api.stripe.com/v1/customers/non_existing_customer_id @@ -133,13 +133,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YtIQrpyWFBhQmT","request_duration_ms":419}}' + - '{"last_request_metrics":{"request_id":"req_7jejsG3JSQBIRE","request_duration_ms":391}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:14 GMT + - Mon, 18 Mar 2024 00:15:13 GMT Content-Type: - application/json Content-Length: @@ -184,7 +184,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_seIfoVEzAEj9WA + - req_pao2UbJSanD9Dp Stripe-Version: - '2023-10-16' Vary: @@ -202,9 +202,9 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/resource-missing", "message": "No such customer: 'non_existing_customer_id'", "param": "id", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_seIfoVEzAEj9WA?t=1710204134", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_pao2UbJSanD9Dp?t=1710720913", "type": "invalid_request_error" } } - recorded_at: Tue, 12 Mar 2024 00:42:14 GMT + recorded_at: Mon, 18 Mar 2024 00:15:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml index 3e3a6012d5..0a66200f40 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SmCwC0vFIwBMOZ","request_duration_ms":413}}' + - '{"last_request_metrics":{"request_id":"req_ypX8qLRDGVuEPU","request_duration_ms":392}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:12 GMT + - Mon, 18 Mar 2024 00:15:11 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a194835a-e07e-4cca-88c2-7ca5f0c6f742 + - b347bd9a-8d7d-4358-bce5-470a2f044a61 Original-Request: - - req_XZzrKJNqA1xQD3 + - req_aOo8om3yszVYt6 Request-Id: - - req_XZzrKJNqA1xQD3 + - req_aOo8om3yszVYt6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQ0KuuB1fWySnF73mJfxJ", + "id": "pm_1OvTr9KuuB1fWySnTjrL4o4W", "object": "payment_method", "billing_details": { "address": { @@ -118,13 +118,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204132, + "created": 1710720911, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:12 GMT + recorded_at: Mon, 18 Mar 2024 00:15:11 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -133,13 +133,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XZzrKJNqA1xQD3","request_duration_ms":470}}' + - '{"last_request_metrics":{"request_id":"req_aOo8om3yszVYt6","request_duration_ms":434}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:13 GMT + - Mon, 18 Mar 2024 00:15:11 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 58447800-e9f1-409e-980d-cf191e7ed76c + - f75a7cba-7c9a-4bcb-9f61-4bcc759477e9 Original-Request: - - req_xI4cLhsxJozAiX + - req_VDXR9y2kuyd0no Request-Id: - - req_xI4cLhsxJozAiX + - req_VDXR9y2kuyd0no Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,18 +202,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pikvs5u7VIkBTV", + "id": "cus_Pkzq2qR31aEubD", "object": "customer", "address": null, "balance": 0, - "created": 1710204133, + "created": 1710720911, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "32B54A18", + "invoice_prefix": "D630F7A7", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -230,22 +230,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Tue, 12 Mar 2024 00:42:13 GMT + recorded_at: Mon, 18 Mar 2024 00:15:11 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OtJQ0KuuB1fWySnF73mJfxJ/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OvTr9KuuB1fWySnTjrL4o4W/attach body: encoding: UTF-8 - string: customer=cus_Pikvs5u7VIkBTV + string: customer=cus_Pkzq2qR31aEubD headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xI4cLhsxJozAiX","request_duration_ms":386}}' + - '{"last_request_metrics":{"request_id":"req_VDXR9y2kuyd0no","request_duration_ms":415}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -262,7 +262,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:13 GMT + - Mon, 18 Mar 2024 00:15:12 GMT Content-Type: - application/json Content-Length: @@ -290,11 +290,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 733d7bcc-3d67-4741-bc72-3c4a34dfb6f7 + - 3f63c95b-0b6e-4fcc-b0ad-6802e874777c Original-Request: - - req_D0EFwMYMIKVqnd + - req_1B4QZ4hAlW2eCO Request-Id: - - req_D0EFwMYMIKVqnd + - req_1B4QZ4hAlW2eCO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -309,7 +309,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQ0KuuB1fWySnF73mJfxJ", + "id": "pm_1OvTr9KuuB1fWySnTjrL4o4W", "object": "payment_method", "billing_details": { "address": { @@ -350,11 +350,11 @@ http_interactions: }, "wallet": null }, - "created": 1710204132, - "customer": "cus_Pikvs5u7VIkBTV", + "created": 1710720911, + "customer": "cus_Pkzq2qR31aEubD", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:13 GMT + recorded_at: Mon, 18 Mar 2024 00:15:12 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml index ab9c51b072..f2e2d36b94 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DwNoT7pynHL20n","request_duration_ms":422}}' + - '{"last_request_metrics":{"request_id":"req_sVjwduoedlBMUP","request_duration_ms":420}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:10 GMT + - Mon, 18 Mar 2024 00:15:09 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3b427b20-8025-4957-b887-12552c2554d4 + - b8096734-0645-4c1a-9aa2-6a86ae39a8e3 Original-Request: - - req_tWOHm1QbeN3XSY + - req_oQTeF6nvN6SdGN Request-Id: - - req_tWOHm1QbeN3XSY + - req_oQTeF6nvN6SdGN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJPyKuuB1fWySnZ18jfCnn", + "id": "pm_1OvTr6KuuB1fWySnBoqO3RSP", "object": "payment_method", "billing_details": { "address": { @@ -118,13 +118,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204130, + "created": 1710720908, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:10 GMT + recorded_at: Mon, 18 Mar 2024 00:15:09 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -133,13 +133,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tWOHm1QbeN3XSY","request_duration_ms":488}}' + - '{"last_request_metrics":{"request_id":"req_oQTeF6nvN6SdGN","request_duration_ms":443}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:10 GMT + - Mon, 18 Mar 2024 00:15:09 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f5989995-1336-41a8-99c7-df28714feeff + - a6578083-e4a0-4d37-8b95-391dd7ef8d3a Original-Request: - - req_VRvRwTS2laqbVA + - req_ZiZGFQNamgcRXg Request-Id: - - req_VRvRwTS2laqbVA + - req_ZiZGFQNamgcRXg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,18 +202,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PikvzWNtQ8ba3O", + "id": "cus_PkzquQLM8Ru9YM", "object": "customer", "address": null, "balance": 0, - "created": 1710204130, + "created": 1710720909, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "401295A4", + "invoice_prefix": "3A772772", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -230,22 +230,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Tue, 12 Mar 2024 00:42:10 GMT + recorded_at: Mon, 18 Mar 2024 00:15:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OtJPyKuuB1fWySnZ18jfCnn/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OvTr6KuuB1fWySnBoqO3RSP/attach body: encoding: UTF-8 - string: customer=cus_PikvzWNtQ8ba3O + string: customer=cus_PkzquQLM8Ru9YM headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VRvRwTS2laqbVA","request_duration_ms":428}}' + - '{"last_request_metrics":{"request_id":"req_ZiZGFQNamgcRXg","request_duration_ms":426}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -262,7 +262,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:11 GMT + - Mon, 18 Mar 2024 00:15:10 GMT Content-Type: - application/json Content-Length: @@ -290,11 +290,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f8ab1305-3a25-4d01-aca4-c494951471e5 + - 04a3aa69-7ca7-454c-9749-386fa532cae4 Original-Request: - - req_gEwonrzBME7M9l + - req_vYJTWA0yQoqyY0 Request-Id: - - req_gEwonrzBME7M9l + - req_vYJTWA0yQoqyY0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -309,7 +309,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJPyKuuB1fWySnZ18jfCnn", + "id": "pm_1OvTr6KuuB1fWySnBoqO3RSP", "object": "payment_method", "billing_details": { "address": { @@ -350,28 +350,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204130, - "customer": "cus_PikvzWNtQ8ba3O", + "created": 1710720908, + "customer": "cus_PkzquQLM8Ru9YM", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:11 GMT + recorded_at: Mon, 18 Mar 2024 00:15:10 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PikvzWNtQ8ba3O + uri: https://api.stripe.com/v1/customers/cus_PkzquQLM8Ru9YM body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gEwonrzBME7M9l","request_duration_ms":753}}' + - '{"last_request_metrics":{"request_id":"req_vYJTWA0yQoqyY0","request_duration_ms":718}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -388,7 +388,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:11 GMT + - Mon, 18 Mar 2024 00:15:10 GMT Content-Type: - application/json Content-Length: @@ -416,7 +416,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_PncwoPyovLyQb4 + - req_4yQh3JIMoftz7J Stripe-Version: - '2023-10-16' Vary: @@ -429,18 +429,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PikvzWNtQ8ba3O", + "id": "cus_PkzquQLM8Ru9YM", "object": "customer", "address": null, "balance": 0, - "created": 1710204130, + "created": 1710720909, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "401295A4", + "invoice_prefix": "3A772772", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -457,22 +457,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Tue, 12 Mar 2024 00:42:11 GMT + recorded_at: Mon, 18 Mar 2024 00:15:10 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_PikvzWNtQ8ba3O + uri: https://api.stripe.com/v1/customers/cus_PkzquQLM8Ru9YM body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PncwoPyovLyQb4","request_duration_ms":302}}' + - '{"last_request_metrics":{"request_id":"req_4yQh3JIMoftz7J","request_duration_ms":299}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -489,7 +489,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:12 GMT + - Mon, 18 Mar 2024 00:15:10 GMT Content-Type: - application/json Content-Length: @@ -517,7 +517,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_SmCwC0vFIwBMOZ + - req_ypX8qLRDGVuEPU Stripe-Version: - '2023-10-16' Vary: @@ -530,9 +530,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PikvzWNtQ8ba3O", + "id": "cus_PkzquQLM8Ru9YM", "object": "customer", "deleted": true } - recorded_at: Tue, 12 Mar 2024 00:42:12 GMT + recorded_at: Mon, 18 Mar 2024 00:15:10 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 4c7fcd7538..765201ef99 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000006975&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Dtn9p0M1OUDHIg","request_duration_ms":448}}' + - '{"last_request_metrics":{"request_id":"req_FTty1oLKmkciRM","request_duration_ms":370}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:55 GMT + - Mon, 18 Mar 2024 00:16:51 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 96479c69-30de-4385-a0c7-7858d261a8bb + - 31c1564d-41bb-4b36-9c8a-d9d446859137 Original-Request: - - req_GsLNfH3jhyefBP + - req_3j0FV5avjWFI2E Request-Id: - - req_GsLNfH3jhyefBP + - req_3j0FV5avjWFI2E Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJReKuuB1fWySnp719TDDz", + "id": "pm_1OvTskKuuB1fWySnR2olGPyY", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204235, + "created": 1710721010, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:55 GMT + recorded_at: Mon, 18 Mar 2024 00:16:51 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJReKuuB1fWySnp719TDDz&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTskKuuB1fWySnR2olGPyY&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GsLNfH3jhyefBP","request_duration_ms":446}}' + - '{"last_request_metrics":{"request_id":"req_3j0FV5avjWFI2E","request_duration_ms":448}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:55 GMT + - Mon, 18 Mar 2024 00:16:51 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e6038cb7-9385-49e3-b224-ab1d09cf88f5 + - 7db2a2c2-fc69-438d-beb8-cdd8572e8ebb Original-Request: - - req_RJPs97R1gDwNAf + - req_CyTKXekG7OQLuV Request-Id: - - req_RJPs97R1gDwNAf + - req_CyTKXekG7OQLuV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRfKuuB1fWySn2xD7sXKV", + "id": "pi_3OvTslKuuB1fWySn2Ai8AtTP", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204235, + "created": 1710721011, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJReKuuB1fWySnp719TDDz", + "payment_method": "pm_1OvTskKuuB1fWySnR2olGPyY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:55 GMT + recorded_at: Mon, 18 Mar 2024 00:16:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRfKuuB1fWySn2xD7sXKV/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTslKuuB1fWySn2Ai8AtTP/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RJPs97R1gDwNAf","request_duration_ms":513}}' + - '{"last_request_metrics":{"request_id":"req_CyTKXekG7OQLuV","request_duration_ms":459}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:56 GMT + - Mon, 18 Mar 2024 00:16:52 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c7d2f7a8-fc1f-407e-b542-90694a558b59 + - e62ca50b-59b3-4950-b5fb-3cdfbd334494 Original-Request: - - req_HMeDvAJscrMMfH + - req_cEPErBWpyI3fXe Request-Id: - - req_HMeDvAJscrMMfH + - req_cEPErBWpyI3fXe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OtJRfKuuB1fWySn2k75HZmT", + "charge": "ch_3OvTslKuuB1fWySn2Xs3w4BH", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_intent": { - "id": "pi_3OtJRfKuuB1fWySn2xD7sXKV", + "id": "pi_3OvTslKuuB1fWySn2Ai8AtTP", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +357,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204235, + "created": 1710721011, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OtJRfKuuB1fWySn2k75HZmT", + "charge": "ch_3OvTslKuuB1fWySn2Xs3w4BH", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_method": { - "id": "pm_1OtJReKuuB1fWySnp719TDDz", + "id": "pm_1OvTskKuuB1fWySnR2olGPyY", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1710204235, + "created": 1710721010, "customer": null, "livemode": false, "metadata": { @@ -419,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OtJRfKuuB1fWySn2k75HZmT", + "latest_charge": "ch_3OvTslKuuB1fWySn2Xs3w4BH", "livemode": false, "metadata": { }, @@ -451,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OtJReKuuB1fWySnp719TDDz", + "id": "pm_1OvTskKuuB1fWySnR2olGPyY", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1710204235, + "created": 1710721010, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_HMeDvAJscrMMfH?t=1710204235", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_cEPErBWpyI3fXe?t=1710721011", "type": "card_error" } } - recorded_at: Tue, 12 Mar 2024 00:43:56 GMT + recorded_at: Mon, 18 Mar 2024 00:16:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 066e282e24..0907f0d2d4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000069&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SZaPiI98N8S53Q","request_duration_ms":464}}' + - '{"last_request_metrics":{"request_id":"req_oeGLyCRcs5bHid","request_duration_ms":440}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:49 GMT + - Mon, 18 Mar 2024 00:16:45 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8e2180b8-98fd-412a-b73c-17e1271f818d + - 32433daf-3960-4548-8b3a-70fae08fb979 Original-Request: - - req_KbTmnHkI0Fa9Y1 + - req_WsemZhDyoAK6mW Request-Id: - - req_KbTmnHkI0Fa9Y1 + - req_WsemZhDyoAK6mW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRYKuuB1fWySnrTnN0jCE", + "id": "pm_1OvTsfKuuB1fWySnNQaJbSj1", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204228, + "created": 1710721005, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:49 GMT + recorded_at: Mon, 18 Mar 2024 00:16:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJRYKuuB1fWySnrTnN0jCE&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsfKuuB1fWySnNQaJbSj1&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KbTmnHkI0Fa9Y1","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_WsemZhDyoAK6mW","request_duration_ms":434}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:49 GMT + - Mon, 18 Mar 2024 00:16:45 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - eff536a4-dd03-4a13-bece-8724ec281647 + - 291419df-5c1f-47eb-b442-c612fb4a1f72 Original-Request: - - req_8sTrkZZ3VTeEcd + - req_at7IEHLp7T2iKL Request-Id: - - req_8sTrkZZ3VTeEcd + - req_at7IEHLp7T2iKL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRZKuuB1fWySn1RVZ8hfo", + "id": "pi_3OvTsfKuuB1fWySn05I3MyFj", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204229, + "created": 1710721005, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRYKuuB1fWySnrTnN0jCE", + "payment_method": "pm_1OvTsfKuuB1fWySnNQaJbSj1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:49 GMT + recorded_at: Mon, 18 Mar 2024 00:16:45 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRZKuuB1fWySn1RVZ8hfo/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsfKuuB1fWySn05I3MyFj/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8sTrkZZ3VTeEcd","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_at7IEHLp7T2iKL","request_duration_ms":470}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:50 GMT + - Mon, 18 Mar 2024 00:16:46 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - aa398134-b762-4cf1-811e-fd7a44df8332 + - 2ad5f071-6576-41ae-8a63-fc36f4899486 Original-Request: - - req_jfT67dATyT5zvl + - req_ZFRdRHyPlL3PnQ Request-Id: - - req_jfT67dATyT5zvl + - req_ZFRdRHyPlL3PnQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OtJRZKuuB1fWySn13qIWK3S", + "charge": "ch_3OvTsfKuuB1fWySn0xB2TuIx", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_intent": { - "id": "pi_3OtJRZKuuB1fWySn1RVZ8hfo", + "id": "pi_3OvTsfKuuB1fWySn05I3MyFj", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +357,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204229, + "created": 1710721005, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OtJRZKuuB1fWySn13qIWK3S", + "charge": "ch_3OvTsfKuuB1fWySn0xB2TuIx", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_method": { - "id": "pm_1OtJRYKuuB1fWySnrTnN0jCE", + "id": "pm_1OvTsfKuuB1fWySnNQaJbSj1", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1710204228, + "created": 1710721005, "customer": null, "livemode": false, "metadata": { @@ -419,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OtJRZKuuB1fWySn13qIWK3S", + "latest_charge": "ch_3OvTsfKuuB1fWySn0xB2TuIx", "livemode": false, "metadata": { }, @@ -451,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OtJRYKuuB1fWySnrTnN0jCE", + "id": "pm_1OvTsfKuuB1fWySnNQaJbSj1", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1710204228, + "created": 1710721005, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_jfT67dATyT5zvl?t=1710204229", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_ZFRdRHyPlL3PnQ?t=1710721005", "type": "card_error" } } - recorded_at: Tue, 12 Mar 2024 00:43:50 GMT + recorded_at: Mon, 18 Mar 2024 00:16:46 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 8e32bffcce..094fdad69f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000002&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ClMkHqnJXF0G5M","request_duration_ms":613}}' + - '{"last_request_metrics":{"request_id":"req_rMYTwbu1M5H7eN","request_duration_ms":337}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:41 GMT + - Mon, 18 Mar 2024 00:16:37 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6557f7d2-fb76-41a2-bfb7-9ba1152e316a + - e50d37ee-b9e0-4565-9be8-9647eed9aebc Original-Request: - - req_CwLsBhjIqEdlti + - req_dK376gX1VvnQFd Request-Id: - - req_CwLsBhjIqEdlti + - req_dK376gX1VvnQFd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRRKuuB1fWySn6nVITKxY", + "id": "pm_1OvTsWKuuB1fWySnOOB4JvEa", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204221, + "created": 1710720997, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:41 GMT + recorded_at: Mon, 18 Mar 2024 00:16:37 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJRRKuuB1fWySn6nVITKxY&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsWKuuB1fWySnOOB4JvEa&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CwLsBhjIqEdlti","request_duration_ms":497}}' + - '{"last_request_metrics":{"request_id":"req_dK376gX1VvnQFd","request_duration_ms":594}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:41 GMT + - Mon, 18 Mar 2024 00:16:37 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c0cc5579-17b2-4cf3-b4b8-e69c6d40227f + - 75db1a1e-be42-4ff1-a69d-c1c227f3c804 Original-Request: - - req_JtfxLm95FMGOai + - req_0nflBr539AASIu Request-Id: - - req_JtfxLm95FMGOai + - req_0nflBr539AASIu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRRKuuB1fWySn0lqB1iM9", + "id": "pi_3OvTsXKuuB1fWySn09hnqIH7", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204221, + "created": 1710720997, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRRKuuB1fWySn6nVITKxY", + "payment_method": "pm_1OvTsWKuuB1fWySnOOB4JvEa", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:41 GMT + recorded_at: Mon, 18 Mar 2024 00:16:37 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRRKuuB1fWySn0lqB1iM9/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsXKuuB1fWySn09hnqIH7/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JtfxLm95FMGOai","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_0nflBr539AASIu","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:42 GMT + - Mon, 18 Mar 2024 00:16:38 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f04b368f-a139-429e-b8cc-9d62f6f9537c + - a131704a-eb0f-4e75-8373-71ddb456afbd Original-Request: - - req_yLYSwb8wE87va2 + - req_eu8GEL3fuhSGTN Request-Id: - - req_yLYSwb8wE87va2 + - req_eu8GEL3fuhSGTN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OtJRRKuuB1fWySn0Neiwlp7", + "charge": "ch_3OvTsXKuuB1fWySn0Uu8H5ZX", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OtJRRKuuB1fWySn0lqB1iM9", + "id": "pi_3OvTsXKuuB1fWySn09hnqIH7", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +357,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204221, + "created": 1710720997, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OtJRRKuuB1fWySn0Neiwlp7", + "charge": "ch_3OvTsXKuuB1fWySn0Uu8H5ZX", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OtJRRKuuB1fWySn6nVITKxY", + "id": "pm_1OvTsWKuuB1fWySnOOB4JvEa", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1710204221, + "created": 1710720997, "customer": null, "livemode": false, "metadata": { @@ -419,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OtJRRKuuB1fWySn0Neiwlp7", + "latest_charge": "ch_3OvTsXKuuB1fWySn0Uu8H5ZX", "livemode": false, "metadata": { }, @@ -451,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OtJRRKuuB1fWySn6nVITKxY", + "id": "pm_1OvTsWKuuB1fWySnOOB4JvEa", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1710204221, + "created": 1710720997, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_yLYSwb8wE87va2?t=1710204221", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_eu8GEL3fuhSGTN?t=1710720997", "type": "card_error" } } - recorded_at: Tue, 12 Mar 2024 00:43:42 GMT + recorded_at: Mon, 18 Mar 2024 00:16:38 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 4c56bd684f..f7873bf076 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000127&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8sTrkZZ3VTeEcd","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_at7IEHLp7T2iKL","request_duration_ms":470}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:51 GMT + - Mon, 18 Mar 2024 00:16:47 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 041deb74-33f4-4345-b15f-fb84ed30ff14 + - 66946a2e-513f-482d-816a-b9884c637e12 Original-Request: - - req_dQ8GTWm9GTUuSS + - req_qSMF0S3thwU9h1 Request-Id: - - req_dQ8GTWm9GTUuSS + - req_qSMF0S3thwU9h1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRbKuuB1fWySnmPBBJlrR", + "id": "pm_1OvTshKuuB1fWySnl6MBim02", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204231, + "created": 1710721007, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:51 GMT + recorded_at: Mon, 18 Mar 2024 00:16:47 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJRbKuuB1fWySnmPBBJlrR&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTshKuuB1fWySnl6MBim02&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dQ8GTWm9GTUuSS","request_duration_ms":456}}' + - '{"last_request_metrics":{"request_id":"req_qSMF0S3thwU9h1","request_duration_ms":429}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:51 GMT + - Mon, 18 Mar 2024 00:16:47 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 90279634-1cfa-4cf6-9205-5798d9343704 + - 9a7b18c9-ba6f-45ac-9c12-953fe7516667 Original-Request: - - req_vFpugHm6BLgVb3 + - req_F2NBjS4FcqBzcc Request-Id: - - req_vFpugHm6BLgVb3 + - req_F2NBjS4FcqBzcc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRbKuuB1fWySn06uFWJtF", + "id": "pi_3OvTshKuuB1fWySn1ONkqFK3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204231, + "created": 1710721007, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRbKuuB1fWySnmPBBJlrR", + "payment_method": "pm_1OvTshKuuB1fWySnl6MBim02", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:51 GMT + recorded_at: Mon, 18 Mar 2024 00:16:47 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRbKuuB1fWySn06uFWJtF/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTshKuuB1fWySn1ONkqFK3/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vFpugHm6BLgVb3","request_duration_ms":453}}' + - '{"last_request_metrics":{"request_id":"req_F2NBjS4FcqBzcc","request_duration_ms":387}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:52 GMT + - Mon, 18 Mar 2024 00:16:48 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7070969d-cb41-4466-8519-7aa8ff0199d8 + - 94ed595b-4319-4ad8-9faf-5133c7c79d4b Original-Request: - - req_OZkLnyifTeG2cZ + - req_XSGtmMjAhMsd9c Request-Id: - - req_OZkLnyifTeG2cZ + - req_XSGtmMjAhMsd9c Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OtJRbKuuB1fWySn0utClyAP", + "charge": "ch_3OvTshKuuB1fWySn1J2Vm4DC", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_intent": { - "id": "pi_3OtJRbKuuB1fWySn06uFWJtF", + "id": "pi_3OvTshKuuB1fWySn1ONkqFK3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +357,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204231, + "created": 1710721007, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OtJRbKuuB1fWySn0utClyAP", + "charge": "ch_3OvTshKuuB1fWySn1J2Vm4DC", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_method": { - "id": "pm_1OtJRbKuuB1fWySnmPBBJlrR", + "id": "pm_1OvTshKuuB1fWySnl6MBim02", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1710204231, + "created": 1710721007, "customer": null, "livemode": false, "metadata": { @@ -419,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OtJRbKuuB1fWySn0utClyAP", + "latest_charge": "ch_3OvTshKuuB1fWySn1J2Vm4DC", "livemode": false, "metadata": { }, @@ -451,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OtJRbKuuB1fWySnmPBBJlrR", + "id": "pm_1OvTshKuuB1fWySnl6MBim02", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1710204231, + "created": 1710721007, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_OZkLnyifTeG2cZ?t=1710204231", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_XSGtmMjAhMsd9c?t=1710721007", "type": "card_error" } } - recorded_at: Tue, 12 Mar 2024 00:43:52 GMT + recorded_at: Mon, 18 Mar 2024 00:16:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 8a2f902317..29f24e442c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009995&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JtfxLm95FMGOai","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_0nflBr539AASIu","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:43 GMT + - Mon, 18 Mar 2024 00:16:39 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d0b50cab-ed66-4954-813f-c385b2435627 + - 35b61012-436a-41cc-80c2-b7db23f7c35b Original-Request: - - req_eVSlGwwjGVy3Wm + - req_zVIOjYxp5zHWU5 Request-Id: - - req_eVSlGwwjGVy3Wm + - req_zVIOjYxp5zHWU5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRTKuuB1fWySnDu86uDQU", + "id": "pm_1OvTsZKuuB1fWySn38adKrtd", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204223, + "created": 1710720999, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:43 GMT + recorded_at: Mon, 18 Mar 2024 00:16:39 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJRTKuuB1fWySnDu86uDQU&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsZKuuB1fWySn38adKrtd&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eVSlGwwjGVy3Wm","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_zVIOjYxp5zHWU5","request_duration_ms":449}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:43 GMT + - Mon, 18 Mar 2024 00:16:39 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 590b225a-797c-4794-8671-c9caea610f0e + - 67ff2a64-1d6d-4967-9c09-f04c315e2268 Original-Request: - - req_bBcI4YUVM7r8J9 + - req_DnNTN3UyDvUcFb Request-Id: - - req_bBcI4YUVM7r8J9 + - req_DnNTN3UyDvUcFb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRTKuuB1fWySn2QOZrPnQ", + "id": "pi_3OvTsZKuuB1fWySn183Uk8Ct", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204223, + "created": 1710720999, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRTKuuB1fWySnDu86uDQU", + "payment_method": "pm_1OvTsZKuuB1fWySn38adKrtd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:43 GMT + recorded_at: Mon, 18 Mar 2024 00:16:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRTKuuB1fWySn2QOZrPnQ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsZKuuB1fWySn183Uk8Ct/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bBcI4YUVM7r8J9","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_DnNTN3UyDvUcFb","request_duration_ms":448}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:44 GMT + - Mon, 18 Mar 2024 00:16:40 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 21a9ab9a-0e24-4a37-a54d-b121d67f26b5 + - 98e9be9e-def1-47fc-a75e-3b05a2c4e556 Original-Request: - - req_K37BGpKeXOUgdY + - req_rHDaznC22p7wem Request-Id: - - req_K37BGpKeXOUgdY + - req_rHDaznC22p7wem Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OtJRTKuuB1fWySn2zRpCz5m", + "charge": "ch_3OvTsZKuuB1fWySn1H38yAXr", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_intent": { - "id": "pi_3OtJRTKuuB1fWySn2QOZrPnQ", + "id": "pi_3OvTsZKuuB1fWySn183Uk8Ct", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +357,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204223, + "created": 1710720999, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OtJRTKuuB1fWySn2zRpCz5m", + "charge": "ch_3OvTsZKuuB1fWySn1H38yAXr", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_method": { - "id": "pm_1OtJRTKuuB1fWySnDu86uDQU", + "id": "pm_1OvTsZKuuB1fWySn38adKrtd", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1710204223, + "created": 1710720999, "customer": null, "livemode": false, "metadata": { @@ -419,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OtJRTKuuB1fWySn2zRpCz5m", + "latest_charge": "ch_3OvTsZKuuB1fWySn1H38yAXr", "livemode": false, "metadata": { }, @@ -451,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OtJRTKuuB1fWySnDu86uDQU", + "id": "pm_1OvTsZKuuB1fWySn38adKrtd", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1710204223, + "created": 1710720999, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_K37BGpKeXOUgdY?t=1710204223", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_rHDaznC22p7wem?t=1710720999", "type": "card_error" } } - recorded_at: Tue, 12 Mar 2024 00:43:44 GMT + recorded_at: Mon, 18 Mar 2024 00:16:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 2fe22d0a82..4b16b9a2a0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009987&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bBcI4YUVM7r8J9","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_DnNTN3UyDvUcFb","request_duration_ms":448}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:45 GMT + - Mon, 18 Mar 2024 00:16:41 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d30fc3ac-a63a-4a65-b467-63ab43698944 + - 19f5c01a-d28b-454b-930b-6da099348ef3 Original-Request: - - req_uz7Qx2VK1mp7GT + - req_tI7E1R4GUPLRyh Request-Id: - - req_uz7Qx2VK1mp7GT + - req_tI7E1R4GUPLRyh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRUKuuB1fWySndhb5IdED", + "id": "pm_1OvTsbKuuB1fWySnL76GiUf9", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204224, + "created": 1710721001, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:45 GMT + recorded_at: Mon, 18 Mar 2024 00:16:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJRUKuuB1fWySndhb5IdED&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsbKuuB1fWySnL76GiUf9&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uz7Qx2VK1mp7GT","request_duration_ms":485}}' + - '{"last_request_metrics":{"request_id":"req_tI7E1R4GUPLRyh","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:45 GMT + - Mon, 18 Mar 2024 00:16:41 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a172ad31-41c5-4265-812d-6a13b613acd8 + - f4e1bd20-47fa-4f21-818a-bc1fa31fbf44 Original-Request: - - req_uJn6aREWRDzUbJ + - req_5zdcYe3sjZduBs Request-Id: - - req_uJn6aREWRDzUbJ + - req_5zdcYe3sjZduBs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRVKuuB1fWySn11JkrqDM", + "id": "pi_3OvTsbKuuB1fWySn1HGsGt81", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204225, + "created": 1710721001, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRUKuuB1fWySndhb5IdED", + "payment_method": "pm_1OvTsbKuuB1fWySnL76GiUf9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:45 GMT + recorded_at: Mon, 18 Mar 2024 00:16:41 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRVKuuB1fWySn11JkrqDM/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsbKuuB1fWySn1HGsGt81/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uJn6aREWRDzUbJ","request_duration_ms":425}}' + - '{"last_request_metrics":{"request_id":"req_5zdcYe3sjZduBs","request_duration_ms":471}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:46 GMT + - Mon, 18 Mar 2024 00:16:42 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f3fed48b-dfcd-4766-973f-0941901f5426 + - 5c714dab-23c7-4dee-815e-b6f4194d1bf0 Original-Request: - - req_cOJ7qfkGxSq5Ea + - req_8XTD2Wch8mKJiH Request-Id: - - req_cOJ7qfkGxSq5Ea + - req_8XTD2Wch8mKJiH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OtJRVKuuB1fWySn1e4Mkk0V", + "charge": "ch_3OvTsbKuuB1fWySn1RQHwDgC", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OtJRVKuuB1fWySn11JkrqDM", + "id": "pi_3OvTsbKuuB1fWySn1HGsGt81", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +357,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204225, + "created": 1710721001, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OtJRVKuuB1fWySn1e4Mkk0V", + "charge": "ch_3OvTsbKuuB1fWySn1RQHwDgC", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OtJRUKuuB1fWySndhb5IdED", + "id": "pm_1OvTsbKuuB1fWySnL76GiUf9", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1710204224, + "created": 1710721001, "customer": null, "livemode": false, "metadata": { @@ -419,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OtJRVKuuB1fWySn1e4Mkk0V", + "latest_charge": "ch_3OvTsbKuuB1fWySn1RQHwDgC", "livemode": false, "metadata": { }, @@ -451,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OtJRUKuuB1fWySndhb5IdED", + "id": "pm_1OvTsbKuuB1fWySnL76GiUf9", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1710204224, + "created": 1710721001, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_cOJ7qfkGxSq5Ea?t=1710204225", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_8XTD2Wch8mKJiH?t=1710721001", "type": "card_error" } } - recorded_at: Tue, 12 Mar 2024 00:43:46 GMT + recorded_at: Mon, 18 Mar 2024 00:16:42 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 7c82aa94a3..55bf038115 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000119&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vFpugHm6BLgVb3","request_duration_ms":453}}' + - '{"last_request_metrics":{"request_id":"req_F2NBjS4FcqBzcc","request_duration_ms":387}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:53 GMT + - Mon, 18 Mar 2024 00:16:49 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3b650207-7c43-425c-a3d4-dfe983a08d1f + - f49249aa-d923-40d5-9c5f-5b6c83002c8a Original-Request: - - req_5sueMlj5OquLeI + - req_F59ww0jNzASmIE Request-Id: - - req_5sueMlj5OquLeI + - req_F59ww0jNzASmIE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRdKuuB1fWySnvIQ7chve", + "id": "pm_1OvTsiKuuB1fWySnNdsdfxyR", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204233, + "created": 1710721009, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:53 GMT + recorded_at: Mon, 18 Mar 2024 00:16:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJRdKuuB1fWySnvIQ7chve&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsiKuuB1fWySnNdsdfxyR&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5sueMlj5OquLeI","request_duration_ms":430}}' + - '{"last_request_metrics":{"request_id":"req_F59ww0jNzASmIE","request_duration_ms":470}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:53 GMT + - Mon, 18 Mar 2024 00:16:49 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 82472e68-8ea7-4308-9918-2231ef00b8b4 + - 5772c367-06eb-4924-9626-347c3c6bf678 Original-Request: - - req_Dtn9p0M1OUDHIg + - req_FTty1oLKmkciRM Request-Id: - - req_Dtn9p0M1OUDHIg + - req_FTty1oLKmkciRM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRdKuuB1fWySn0tUPHoZK", + "id": "pi_3OvTsjKuuB1fWySn0kEgb4cI", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204233, + "created": 1710721009, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRdKuuB1fWySnvIQ7chve", + "payment_method": "pm_1OvTsiKuuB1fWySnNdsdfxyR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:53 GMT + recorded_at: Mon, 18 Mar 2024 00:16:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRdKuuB1fWySn0tUPHoZK/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsjKuuB1fWySn0kEgb4cI/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Dtn9p0M1OUDHIg","request_duration_ms":448}}' + - '{"last_request_metrics":{"request_id":"req_FTty1oLKmkciRM","request_duration_ms":370}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:54 GMT + - Mon, 18 Mar 2024 00:16:50 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2ffae563-ae25-4fd7-bd2c-b98c950a7047 + - ee11ff7c-b8c5-4170-b8bc-52f2bf3ea7ba Original-Request: - - req_weBOT6I3suFSU0 + - req_ChQ33Qh1ZKiZAY Request-Id: - - req_weBOT6I3suFSU0 + - req_ChQ33Qh1ZKiZAY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,12 +334,12 @@ http_interactions: string: | { "error": { - "charge": "ch_3OtJRdKuuB1fWySn0fVIOf9o", + "charge": "ch_3OvTsjKuuB1fWySn0uxfNIGe", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_intent": { - "id": "pi_3OtJRdKuuB1fWySn0tUPHoZK", + "id": "pi_3OvTsjKuuB1fWySn0kEgb4cI", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -356,18 +356,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204233, + "created": 1710721009, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OtJRdKuuB1fWySn0fVIOf9o", + "charge": "ch_3OvTsjKuuB1fWySn0uxfNIGe", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_method": { - "id": "pm_1OtJRdKuuB1fWySnvIQ7chve", + "id": "pm_1OvTsiKuuB1fWySnNdsdfxyR", "object": "payment_method", "billing_details": { "address": { @@ -408,7 +408,7 @@ http_interactions: }, "wallet": null }, - "created": 1710204233, + "created": 1710721009, "customer": null, "livemode": false, "metadata": { @@ -417,7 +417,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OtJRdKuuB1fWySn0fVIOf9o", + "latest_charge": "ch_3OvTsjKuuB1fWySn0uxfNIGe", "livemode": false, "metadata": { }, @@ -449,7 +449,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OtJRdKuuB1fWySnvIQ7chve", + "id": "pm_1OvTsiKuuB1fWySnNdsdfxyR", "object": "payment_method", "billing_details": { "address": { @@ -490,16 +490,16 @@ http_interactions: }, "wallet": null }, - "created": 1710204233, + "created": 1710721009, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_weBOT6I3suFSU0?t=1710204233", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_ChQ33Qh1ZKiZAY?t=1710721009", "type": "card_error" } } - recorded_at: Tue, 12 Mar 2024 00:43:54 GMT + recorded_at: Mon, 18 Mar 2024 00:16:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 96b89179cd..cc3ab50c6a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009979&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uJn6aREWRDzUbJ","request_duration_ms":425}}' + - '{"last_request_metrics":{"request_id":"req_5zdcYe3sjZduBs","request_duration_ms":471}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:47 GMT + - Mon, 18 Mar 2024 00:16:43 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b77126ec-884f-4c64-8a03-6bf3bc4b43f5 + - 79e61cbc-801b-4498-824d-65edcc42e41b Original-Request: - - req_FbSenodTH226S9 + - req_Fo4qtgYiOPMmoN Request-Id: - - req_FbSenodTH226S9 + - req_Fo4qtgYiOPMmoN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRWKuuB1fWySnhY9iOoHi", + "id": "pm_1OvTsdKuuB1fWySnbf8DElDr", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204226, + "created": 1710721003, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:47 GMT + recorded_at: Mon, 18 Mar 2024 00:16:43 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJRWKuuB1fWySnhY9iOoHi&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsdKuuB1fWySnbf8DElDr&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FbSenodTH226S9","request_duration_ms":429}}' + - '{"last_request_metrics":{"request_id":"req_Fo4qtgYiOPMmoN","request_duration_ms":467}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:47 GMT + - Mon, 18 Mar 2024 00:16:43 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '00979ced-e7aa-4677-a88c-f9579906804b' + - 9995bc21-6de2-4484-9d3e-d5515641d2b9 Original-Request: - - req_SZaPiI98N8S53Q + - req_oeGLyCRcs5bHid Request-Id: - - req_SZaPiI98N8S53Q + - req_oeGLyCRcs5bHid Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRXKuuB1fWySn1Kd6gaSL", + "id": "pi_3OvTsdKuuB1fWySn0MgByDPp", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204227, + "created": 1710721003, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRWKuuB1fWySnhY9iOoHi", + "payment_method": "pm_1OvTsdKuuB1fWySnbf8DElDr", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:47 GMT + recorded_at: Mon, 18 Mar 2024 00:16:43 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRXKuuB1fWySn1Kd6gaSL/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsdKuuB1fWySn0MgByDPp/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SZaPiI98N8S53Q","request_duration_ms":464}}' + - '{"last_request_metrics":{"request_id":"req_oeGLyCRcs5bHid","request_duration_ms":440}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:48 GMT + - Mon, 18 Mar 2024 00:16:44 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '090a54fe-80ab-4980-b75f-cafabe663e3c' + - 6651e15d-ff33-43f3-a076-c1e70e5e6105 Original-Request: - - req_CEQDPZksO8Yqkz + - req_XSMdJvSz6syccz Request-Id: - - req_CEQDPZksO8Yqkz + - req_XSMdJvSz6syccz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +334,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OtJRXKuuB1fWySn1KZKvDrb", + "charge": "ch_3OvTsdKuuB1fWySn0LHjFCev", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OtJRXKuuB1fWySn1Kd6gaSL", + "id": "pi_3OvTsdKuuB1fWySn0MgByDPp", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +357,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204227, + "created": 1710721003, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OtJRXKuuB1fWySn1KZKvDrb", + "charge": "ch_3OvTsdKuuB1fWySn0LHjFCev", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OtJRWKuuB1fWySnhY9iOoHi", + "id": "pm_1OvTsdKuuB1fWySnbf8DElDr", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +410,7 @@ http_interactions: }, "wallet": null }, - "created": 1710204226, + "created": 1710721003, "customer": null, "livemode": false, "metadata": { @@ -419,7 +419,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OtJRXKuuB1fWySn1KZKvDrb", + "latest_charge": "ch_3OvTsdKuuB1fWySn0LHjFCev", "livemode": false, "metadata": { }, @@ -451,7 +451,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OtJRWKuuB1fWySnhY9iOoHi", + "id": "pm_1OvTsdKuuB1fWySnbf8DElDr", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +492,16 @@ http_interactions: }, "wallet": null }, - "created": 1710204226, + "created": 1710721003, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_CEQDPZksO8Yqkz?t=1710204227", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_XSMdJvSz6syccz?t=1710721003", "type": "card_error" } } - recorded_at: Tue, 12 Mar 2024 00:43:48 GMT + recorded_at: Mon, 18 Mar 2024 00:16:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml index 176bc28aa9..3693409f8f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mxjNeby6sUHZea","request_duration_ms":950}}' + - '{"last_request_metrics":{"request_id":"req_gda2k7gbAL9VMv","request_duration_ms":927}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:51 GMT + - Mon, 18 Mar 2024 00:15:49 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 646cbfaf-3dfa-41b9-9afd-6a19d71b3a64 + - d020a87f-0d88-455e-99ee-d420375d9c29 Original-Request: - - req_r8mxYFaVxx6acn + - req_GrzKVJverAWs1N Request-Id: - - req_r8mxYFaVxx6acn + - req_GrzKVJverAWs1N Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQcKuuB1fWySnLpIT0LoM", + "id": "pm_1OvTrkKuuB1fWySn7zhPa7J5", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204171, + "created": 1710720949, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:51 GMT + recorded_at: Mon, 18 Mar 2024 00:15:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQcKuuB1fWySnLpIT0LoM&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrkKuuB1fWySn7zhPa7J5&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_r8mxYFaVxx6acn","request_duration_ms":482}}' + - '{"last_request_metrics":{"request_id":"req_GrzKVJverAWs1N","request_duration_ms":441}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:51 GMT + - Mon, 18 Mar 2024 00:15:49 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 38a11da2-c3e8-4f0d-a076-c62cb61fbea2 + - b7d93f26-46fc-4680-a24b-0ab9710f1bc3 Original-Request: - - req_Mr7wz5ThnudM6w + - req_8pkLZgQ4FyDILv Request-Id: - - req_Mr7wz5ThnudM6w + - req_8pkLZgQ4FyDILv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQdKuuB1fWySn116rMfmS", + "id": "pi_3OvTrlKuuB1fWySn0UWvAFQv", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204171, + "created": 1710720949, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQcKuuB1fWySnLpIT0LoM", + "payment_method": "pm_1OvTrkKuuB1fWySn7zhPa7J5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:51 GMT + recorded_at: Mon, 18 Mar 2024 00:15:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQdKuuB1fWySn116rMfmS/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrlKuuB1fWySn0UWvAFQv/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Mr7wz5ThnudM6w","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_8pkLZgQ4FyDILv","request_duration_ms":445}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:52 GMT + - Mon, 18 Mar 2024 00:15:50 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0351644a-2a7f-4409-b897-6aaafab4d949 + - b080eed9-3fce-484e-badb-a58d5eddcd25 Original-Request: - - req_Iy3UsRBbxgoiy5 + - req_xyLG0KtSD7SWDN Request-Id: - - req_Iy3UsRBbxgoiy5 + - req_xyLG0KtSD7SWDN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQdKuuB1fWySn116rMfmS", + "id": "pi_3OvTrlKuuB1fWySn0UWvAFQv", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204171, + "created": 1710720949, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQdKuuB1fWySn1XuihD0F", + "latest_charge": "ch_3OvTrlKuuB1fWySn0JYcsknx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQcKuuB1fWySnLpIT0LoM", + "payment_method": "pm_1OvTrkKuuB1fWySn7zhPa7J5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:52 GMT + recorded_at: Mon, 18 Mar 2024 00:15:50 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQdKuuB1fWySn116rMfmS + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrlKuuB1fWySn0UWvAFQv body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Iy3UsRBbxgoiy5","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_xyLG0KtSD7SWDN","request_duration_ms":974}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:52 GMT + - Mon, 18 Mar 2024 00:15:50 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_GsgRMk0dEYDa87 + - req_ZCwfGMV65edTDC Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQdKuuB1fWySn116rMfmS", + "id": "pi_3OvTrlKuuB1fWySn0UWvAFQv", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204171, + "created": 1710720949, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQdKuuB1fWySn1XuihD0F", + "latest_charge": "ch_3OvTrlKuuB1fWySn0JYcsknx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQcKuuB1fWySnLpIT0LoM", + "payment_method": "pm_1OvTrkKuuB1fWySn7zhPa7J5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:52 GMT + recorded_at: Mon, 18 Mar 2024 00:15:50 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQdKuuB1fWySn116rMfmS/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrlKuuB1fWySn0UWvAFQv/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GsgRMk0dEYDa87","request_duration_ms":296}}' + - '{"last_request_metrics":{"request_id":"req_ZCwfGMV65edTDC","request_duration_ms":290}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:53 GMT + - Mon, 18 Mar 2024 00:15:51 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fbcd97d5-9c3e-4837-a3c0-f9d4ff3184f0 + - 06a0a71a-a5d4-4516-82c6-4df5c3e01b67 Original-Request: - - req_ezpKifAO2CHJYq + - req_KMjbvDPh0hR90a Request-Id: - - req_ezpKifAO2CHJYq + - req_KMjbvDPh0hR90a Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQdKuuB1fWySn116rMfmS", + "id": "pi_3OvTrlKuuB1fWySn0UWvAFQv", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204171, + "created": 1710720949, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQdKuuB1fWySn1XuihD0F", + "latest_charge": "ch_3OvTrlKuuB1fWySn0JYcsknx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQcKuuB1fWySnLpIT0LoM", + "payment_method": "pm_1OvTrkKuuB1fWySn7zhPa7J5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:54 GMT + recorded_at: Mon, 18 Mar 2024 00:15:51 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQdKuuB1fWySn116rMfmS + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrlKuuB1fWySn0UWvAFQv body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ezpKifAO2CHJYq","request_duration_ms":1032}}' + - '{"last_request_metrics":{"request_id":"req_KMjbvDPh0hR90a","request_duration_ms":985}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:54 GMT + - Mon, 18 Mar 2024 00:15:52 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_WvhvX0lDWN0IZK + - req_8vqX4xpyNVZMxF Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQdKuuB1fWySn116rMfmS", + "id": "pi_3OvTrlKuuB1fWySn0UWvAFQv", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204171, + "created": 1710720949, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQdKuuB1fWySn1XuihD0F", + "latest_charge": "ch_3OvTrlKuuB1fWySn0JYcsknx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQcKuuB1fWySnLpIT0LoM", + "payment_method": "pm_1OvTrkKuuB1fWySn7zhPa7J5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:54 GMT + recorded_at: Mon, 18 Mar 2024 00:15:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml index 5846757e27..7a585189e1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6vQdCVBGNDmXjU","request_duration_ms":284}}' + - '{"last_request_metrics":{"request_id":"req_b7rfB7ZShjT8E0","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:49 GMT + - Mon, 18 Mar 2024 00:15:47 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c8175773-bbad-474e-ab5f-409bd7f3cf0b + - a2a8eab9-4a71-402e-98e5-a611a641e252 Original-Request: - - req_3rwAY7ecAMbBlh + - req_OJgRWYVT250hSM Request-Id: - - req_3rwAY7ecAMbBlh + - req_OJgRWYVT250hSM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQaKuuB1fWySnaoRzbZHb", + "id": "pm_1OvTrjKuuB1fWySnJEnMHZYn", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204169, + "created": 1710720947, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:49 GMT + recorded_at: Mon, 18 Mar 2024 00:15:47 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQaKuuB1fWySnaoRzbZHb&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrjKuuB1fWySnJEnMHZYn&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3rwAY7ecAMbBlh","request_duration_ms":419}}' + - '{"last_request_metrics":{"request_id":"req_OJgRWYVT250hSM","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:49 GMT + - Mon, 18 Mar 2024 00:15:47 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9e2c49af-4fd8-42c4-a20b-5c9afd5906bd + - 15ecd09b-2259-4c0a-a149-04db606d157f Original-Request: - - req_14QlENR3iAjGPx + - req_BrR0DKbyEthfeW Request-Id: - - req_14QlENR3iAjGPx + - req_BrR0DKbyEthfeW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQbKuuB1fWySn2u21MCtq", + "id": "pi_3OvTrjKuuB1fWySn0F1EPBzd", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204169, + "created": 1710720947, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQaKuuB1fWySnaoRzbZHb", + "payment_method": "pm_1OvTrjKuuB1fWySnJEnMHZYn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:49 GMT + recorded_at: Mon, 18 Mar 2024 00:15:47 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQbKuuB1fWySn2u21MCtq/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrjKuuB1fWySn0F1EPBzd/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_14QlENR3iAjGPx","request_duration_ms":479}}' + - '{"last_request_metrics":{"request_id":"req_BrR0DKbyEthfeW","request_duration_ms":361}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:50 GMT + - Mon, 18 Mar 2024 00:15:48 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 34587cc0-eeff-422c-b990-054ca5dd3887 + - 993b2154-6e15-4060-90fc-86ffb7287451 Original-Request: - - req_mxjNeby6sUHZea + - req_gda2k7gbAL9VMv Request-Id: - - req_mxjNeby6sUHZea + - req_gda2k7gbAL9VMv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQbKuuB1fWySn2u21MCtq", + "id": "pi_3OvTrjKuuB1fWySn0F1EPBzd", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204169, + "created": 1710720947, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQbKuuB1fWySn21c0Akq6", + "latest_charge": "ch_3OvTrjKuuB1fWySn0nhLuf6P", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQaKuuB1fWySnaoRzbZHb", + "payment_method": "pm_1OvTrjKuuB1fWySnJEnMHZYn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:50 GMT + recorded_at: Mon, 18 Mar 2024 00:15:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml index 640534e42d..03b44d3035 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Kt3VdQVg2vvv8r","request_duration_ms":920}}' + - '{"last_request_metrics":{"request_id":"req_Sm42Wtb00Gaohq","request_duration_ms":931}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:19 GMT + - Mon, 18 Mar 2024 00:16:16 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c879bd8d-1c2b-478c-97b5-318988413f49 + - 3bb6dc8d-41c9-42ec-a498-fc95301be844 Original-Request: - - req_Ya24N4dbnF8m82 + - req_JsMyoeCnvU76V4 Request-Id: - - req_Ya24N4dbnF8m82 + - req_JsMyoeCnvU76V4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJR5KuuB1fWySn1mmFyypp", + "id": "pm_1OvTsCKuuB1fWySnc9M8OPUu", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204199, + "created": 1710720976, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:19 GMT + recorded_at: Mon, 18 Mar 2024 00:16:16 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJR5KuuB1fWySn1mmFyypp&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsCKuuB1fWySnc9M8OPUu&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ya24N4dbnF8m82","request_duration_ms":528}}' + - '{"last_request_metrics":{"request_id":"req_JsMyoeCnvU76V4","request_duration_ms":429}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:20 GMT + - Mon, 18 Mar 2024 00:16:16 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 68736da4-a7d3-47ca-a5da-63fd441e3045 + - d1441f97-ee80-456d-aa83-4cff438bff32 Original-Request: - - req_PkxZ50hEj4YviI + - req_kQ4mIbaiPq4RIN Request-Id: - - req_PkxZ50hEj4YviI + - req_kQ4mIbaiPq4RIN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR5KuuB1fWySn2bmeaKF0", + "id": "pi_3OvTsCKuuB1fWySn2n8pFsQO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204199, + "created": 1710720976, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJR5KuuB1fWySn1mmFyypp", + "payment_method": "pm_1OvTsCKuuB1fWySnc9M8OPUu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:20 GMT + recorded_at: Mon, 18 Mar 2024 00:16:17 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR5KuuB1fWySn2bmeaKF0/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsCKuuB1fWySn2n8pFsQO/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PkxZ50hEj4YviI","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_kQ4mIbaiPq4RIN","request_duration_ms":496}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:21 GMT + - Mon, 18 Mar 2024 00:16:18 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 17c70168-ab58-4ce6-8d6e-af09c71054ec + - 9c39a296-fb99-4c74-871d-d500ede04f14 Original-Request: - - req_VHK407LLnCaOwq + - req_SB4DzXMFi50gTk Request-Id: - - req_VHK407LLnCaOwq + - req_SB4DzXMFi50gTk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR5KuuB1fWySn2bmeaKF0", + "id": "pi_3OvTsCKuuB1fWySn2n8pFsQO", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204199, + "created": 1710720976, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJR5KuuB1fWySn2c79Iv89", + "latest_charge": "ch_3OvTsCKuuB1fWySn2YJt7xAr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJR5KuuB1fWySn1mmFyypp", + "payment_method": "pm_1OvTsCKuuB1fWySnc9M8OPUu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:21 GMT + recorded_at: Mon, 18 Mar 2024 00:16:18 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR5KuuB1fWySn2bmeaKF0 + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsCKuuB1fWySn2n8pFsQO body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VHK407LLnCaOwq","request_duration_ms":919}}' + - '{"last_request_metrics":{"request_id":"req_SB4DzXMFi50gTk","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:21 GMT + - Mon, 18 Mar 2024 00:16:18 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_tuJtbEVnCrpxWD + - req_gOcDrrD6YXTUl1 Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR5KuuB1fWySn2bmeaKF0", + "id": "pi_3OvTsCKuuB1fWySn2n8pFsQO", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204199, + "created": 1710720976, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJR5KuuB1fWySn2c79Iv89", + "latest_charge": "ch_3OvTsCKuuB1fWySn2YJt7xAr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJR5KuuB1fWySn1mmFyypp", + "payment_method": "pm_1OvTsCKuuB1fWySnc9M8OPUu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:21 GMT + recorded_at: Mon, 18 Mar 2024 00:16:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR5KuuB1fWySn2bmeaKF0/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsCKuuB1fWySn2n8pFsQO/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tuJtbEVnCrpxWD","request_duration_ms":318}}' + - '{"last_request_metrics":{"request_id":"req_gOcDrrD6YXTUl1","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:22 GMT + - Mon, 18 Mar 2024 00:16:19 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d2348e51-b673-488f-912c-20dd10d85df4 + - 0b229f0e-8878-41c6-84e7-91ade34bba6f Original-Request: - - req_8GiAyL7g51q1nJ + - req_vTmo6BUCETnxfE Request-Id: - - req_8GiAyL7g51q1nJ + - req_vTmo6BUCETnxfE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR5KuuB1fWySn2bmeaKF0", + "id": "pi_3OvTsCKuuB1fWySn2n8pFsQO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204199, + "created": 1710720976, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJR5KuuB1fWySn2c79Iv89", + "latest_charge": "ch_3OvTsCKuuB1fWySn2YJt7xAr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJR5KuuB1fWySn1mmFyypp", + "payment_method": "pm_1OvTsCKuuB1fWySnc9M8OPUu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:22 GMT + recorded_at: Mon, 18 Mar 2024 00:16:19 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR5KuuB1fWySn2bmeaKF0 + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsCKuuB1fWySn2n8pFsQO body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8GiAyL7g51q1nJ","request_duration_ms":1115}}' + - '{"last_request_metrics":{"request_id":"req_vTmo6BUCETnxfE","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:22 GMT + - Mon, 18 Mar 2024 00:16:19 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_aKQXUM7euRPw16 + - req_0NP9abiv73dbAY Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR5KuuB1fWySn2bmeaKF0", + "id": "pi_3OvTsCKuuB1fWySn2n8pFsQO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204199, + "created": 1710720976, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJR5KuuB1fWySn2c79Iv89", + "latest_charge": "ch_3OvTsCKuuB1fWySn2YJt7xAr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJR5KuuB1fWySn1mmFyypp", + "payment_method": "pm_1OvTsCKuuB1fWySnc9M8OPUu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:22 GMT + recorded_at: Mon, 18 Mar 2024 00:16:19 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml index 38f851f300..468cd094b9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OQ0G5ywaMnXobY","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_lAQZo297GkbSla","request_duration_ms":274}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:17 GMT + - Mon, 18 Mar 2024 00:16:14 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 860cffaf-6645-40d6-bd63-8b222ce3ee00 + - 2c676138-f27a-4784-8ccb-ecedf837d08f Original-Request: - - req_uXljX6VBws390k + - req_3On9wtXeBvLsBh Request-Id: - - req_uXljX6VBws390k + - req_3On9wtXeBvLsBh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJR3KuuB1fWySnpS5I3NaD", + "id": "pm_1OvTsAKuuB1fWySn1ITYdALk", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204197, + "created": 1710720974, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:17 GMT + recorded_at: Mon, 18 Mar 2024 00:16:14 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJR3KuuB1fWySnpS5I3NaD&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsAKuuB1fWySn1ITYdALk&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uXljX6VBws390k","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_3On9wtXeBvLsBh","request_duration_ms":430}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:18 GMT + - Mon, 18 Mar 2024 00:16:15 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a85ed08a-ba81-4002-8ec4-748793d4d813 + - c67ef120-22fb-4da3-a19e-5ea869102628 Original-Request: - - req_DInvajR1de2z9M + - req_fV52kLYGOr4KUT Request-Id: - - req_DInvajR1de2z9M + - req_fV52kLYGOr4KUT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR3KuuB1fWySn2wZlVluQ", + "id": "pi_3OvTsAKuuB1fWySn0SMsGIat", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204197, + "created": 1710720974, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJR3KuuB1fWySnpS5I3NaD", + "payment_method": "pm_1OvTsAKuuB1fWySn1ITYdALk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:18 GMT + recorded_at: Mon, 18 Mar 2024 00:16:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR3KuuB1fWySn2wZlVluQ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsAKuuB1fWySn0SMsGIat/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DInvajR1de2z9M","request_duration_ms":411}}' + - '{"last_request_metrics":{"request_id":"req_fV52kLYGOr4KUT","request_duration_ms":395}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:19 GMT + - Mon, 18 Mar 2024 00:16:15 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1692f9b5-1c3d-4b26-84e5-ed5e0f2eaa69 + - 6e87773a-bc50-4fb1-ac55-3f07068563c2 Original-Request: - - req_Kt3VdQVg2vvv8r + - req_Sm42Wtb00Gaohq Request-Id: - - req_Kt3VdQVg2vvv8r + - req_Sm42Wtb00Gaohq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR3KuuB1fWySn2wZlVluQ", + "id": "pi_3OvTsAKuuB1fWySn0SMsGIat", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204197, + "created": 1710720974, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJR3KuuB1fWySn2aBwfu2c", + "latest_charge": "ch_3OvTsAKuuB1fWySn09czHrmY", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJR3KuuB1fWySnpS5I3NaD", + "payment_method": "pm_1OvTsAKuuB1fWySn1ITYdALk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:19 GMT + recorded_at: Mon, 18 Mar 2024 00:16:16 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml index a898edb2a6..2098f6be2a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yTKbyoG8NbWJW8","request_duration_ms":1070}}' + - '{"last_request_metrics":{"request_id":"req_iZ6RNIQNWljp8W","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:08 GMT + - Mon, 18 Mar 2024 00:16:05 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - af2e8dc4-2bd2-4338-b913-79e9d777e97d + - 7a7f6d9e-b596-44f0-8b09-e3f3655c7b9e Original-Request: - - req_LN271a5Xu6fMAE + - req_xoXtZBtUNqxjtT Request-Id: - - req_LN271a5Xu6fMAE + - req_xoXtZBtUNqxjtT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQuKuuB1fWySn4g7gAcWz", + "id": "pm_1OvTs1KuuB1fWySne1dgVDRG", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204188, + "created": 1710720965, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:08 GMT + recorded_at: Mon, 18 Mar 2024 00:16:05 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQuKuuB1fWySn4g7gAcWz&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTs1KuuB1fWySne1dgVDRG&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LN271a5Xu6fMAE","request_duration_ms":415}}' + - '{"last_request_metrics":{"request_id":"req_xoXtZBtUNqxjtT","request_duration_ms":529}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:08 GMT + - Mon, 18 Mar 2024 00:16:06 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ac179603-9f9b-40ac-9b9c-6b6169753ce1 + - 6b53d4b9-9ed9-470d-a694-a5d740489913 Original-Request: - - req_QXIkwWsuP2iGnL + - req_GPY1Ljma4kYOq0 Request-Id: - - req_QXIkwWsuP2iGnL + - req_GPY1Ljma4kYOq0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQuKuuB1fWySn0NQjHWON", + "id": "pi_3OvTs1KuuB1fWySn1S9ruLf8", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204188, + "created": 1710720965, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQuKuuB1fWySn4g7gAcWz", + "payment_method": "pm_1OvTs1KuuB1fWySne1dgVDRG", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:08 GMT + recorded_at: Mon, 18 Mar 2024 00:16:06 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQuKuuB1fWySn0NQjHWON/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs1KuuB1fWySn1S9ruLf8/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QXIkwWsuP2iGnL","request_duration_ms":460}}' + - '{"last_request_metrics":{"request_id":"req_GPY1Ljma4kYOq0","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:09 GMT + - Mon, 18 Mar 2024 00:16:07 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 88bea372-dd70-45ab-8f3a-e2ac86917491 + - 6ece7036-540b-4427-98de-f95e3ed5fc17 Original-Request: - - req_EABl5tGa2UEz9B + - req_p4FuOn88owd471 Request-Id: - - req_EABl5tGa2UEz9B + - req_p4FuOn88owd471 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQuKuuB1fWySn0NQjHWON", + "id": "pi_3OvTs1KuuB1fWySn1S9ruLf8", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204188, + "created": 1710720965, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQuKuuB1fWySn0xFwbAqZ", + "latest_charge": "ch_3OvTs1KuuB1fWySn1ZspPK6I", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQuKuuB1fWySn4g7gAcWz", + "payment_method": "pm_1OvTs1KuuB1fWySne1dgVDRG", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:09 GMT + recorded_at: Mon, 18 Mar 2024 00:16:07 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQuKuuB1fWySn0NQjHWON + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs1KuuB1fWySn1S9ruLf8 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EABl5tGa2UEz9B","request_duration_ms":926}}' + - '{"last_request_metrics":{"request_id":"req_p4FuOn88owd471","request_duration_ms":943}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:10 GMT + - Mon, 18 Mar 2024 00:16:07 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_5DPPSEpw6p8j5w + - req_D656CCebXucvGt Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQuKuuB1fWySn0NQjHWON", + "id": "pi_3OvTs1KuuB1fWySn1S9ruLf8", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204188, + "created": 1710720965, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQuKuuB1fWySn0xFwbAqZ", + "latest_charge": "ch_3OvTs1KuuB1fWySn1ZspPK6I", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQuKuuB1fWySn4g7gAcWz", + "payment_method": "pm_1OvTs1KuuB1fWySne1dgVDRG", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:10 GMT + recorded_at: Mon, 18 Mar 2024 00:16:07 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQuKuuB1fWySn0NQjHWON/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs1KuuB1fWySn1S9ruLf8/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5DPPSEpw6p8j5w","request_duration_ms":314}}' + - '{"last_request_metrics":{"request_id":"req_D656CCebXucvGt","request_duration_ms":291}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:11 GMT + - Mon, 18 Mar 2024 00:16:08 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bc1f3bd3-9e01-4171-b23a-6f246a050079 + - 103d880a-8c89-4419-9895-2d0390cf771f Original-Request: - - req_nxAtowO23YObnJ + - req_b62GR8S8sa9B4w Request-Id: - - req_nxAtowO23YObnJ + - req_b62GR8S8sa9B4w Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQuKuuB1fWySn0NQjHWON", + "id": "pi_3OvTs1KuuB1fWySn1S9ruLf8", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204188, + "created": 1710720965, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQuKuuB1fWySn0xFwbAqZ", + "latest_charge": "ch_3OvTs1KuuB1fWySn1ZspPK6I", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQuKuuB1fWySn4g7gAcWz", + "payment_method": "pm_1OvTs1KuuB1fWySne1dgVDRG", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:11 GMT + recorded_at: Mon, 18 Mar 2024 00:16:08 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQuKuuB1fWySn0NQjHWON + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs1KuuB1fWySn1S9ruLf8 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nxAtowO23YObnJ","request_duration_ms":1006}}' + - '{"last_request_metrics":{"request_id":"req_b62GR8S8sa9B4w","request_duration_ms":943}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:11 GMT + - Mon, 18 Mar 2024 00:16:08 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_oEFE1hqbH75iOh + - req_yDW6lOmTkBf8DQ Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQuKuuB1fWySn0NQjHWON", + "id": "pi_3OvTs1KuuB1fWySn1S9ruLf8", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204188, + "created": 1710720965, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQuKuuB1fWySn0xFwbAqZ", + "latest_charge": "ch_3OvTs1KuuB1fWySn1ZspPK6I", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQuKuuB1fWySn4g7gAcWz", + "payment_method": "pm_1OvTs1KuuB1fWySne1dgVDRG", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:11 GMT + recorded_at: Mon, 18 Mar 2024 00:16:08 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml index b6dfa534a6..799234ba48 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5Unhvzz3dM5YTg","request_duration_ms":281}}' + - '{"last_request_metrics":{"request_id":"req_XSjJwBtpszuVl9","request_duration_ms":306}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:06 GMT + - Mon, 18 Mar 2024 00:16:03 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8c111cd2-5205-4a74-81cb-dd0c513bb4f5 + - fbc6e5a6-8901-4d34-822a-5e50d3edbff0 Original-Request: - - req_srqWgCm2jvuyin + - req_lW3GU1K1MMOjCh Request-Id: - - req_srqWgCm2jvuyin + - req_lW3GU1K1MMOjCh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQsKuuB1fWySnouFuUQDp", + "id": "pm_1OvTrzKuuB1fWySn7pSJbRQ4", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204186, + "created": 1710720963, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:06 GMT + recorded_at: Mon, 18 Mar 2024 00:16:03 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQsKuuB1fWySnouFuUQDp&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrzKuuB1fWySn7pSJbRQ4&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_srqWgCm2jvuyin","request_duration_ms":524}}' + - '{"last_request_metrics":{"request_id":"req_lW3GU1K1MMOjCh","request_duration_ms":498}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:06 GMT + - Mon, 18 Mar 2024 00:16:04 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3d72f9a7-292c-4262-ae56-3f2165d04979 + - ab368c58-df2c-4386-9f1b-65f25cf00bf7 Original-Request: - - req_PVFtDx1Cn8Ij1x + - req_NevU5UX8s1SAiu Request-Id: - - req_PVFtDx1Cn8Ij1x + - req_NevU5UX8s1SAiu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQsKuuB1fWySn1oSI7xvg", + "id": "pi_3OvTrzKuuB1fWySn2XCJcxNT", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204186, + "created": 1710720963, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQsKuuB1fWySnouFuUQDp", + "payment_method": "pm_1OvTrzKuuB1fWySn7pSJbRQ4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:06 GMT + recorded_at: Mon, 18 Mar 2024 00:16:04 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQsKuuB1fWySn1oSI7xvg/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrzKuuB1fWySn2XCJcxNT/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PVFtDx1Cn8Ij1x","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_NevU5UX8s1SAiu","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:07 GMT + - Mon, 18 Mar 2024 00:16:05 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d4a158a8-7c9a-498b-8dca-6f2ec62dfa49 + - a1635647-2bc2-4123-9b0b-e282c8479104 Original-Request: - - req_yTKbyoG8NbWJW8 + - req_iZ6RNIQNWljp8W Request-Id: - - req_yTKbyoG8NbWJW8 + - req_iZ6RNIQNWljp8W Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQsKuuB1fWySn1oSI7xvg", + "id": "pi_3OvTrzKuuB1fWySn2XCJcxNT", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204186, + "created": 1710720963, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQsKuuB1fWySn1v4iyAeD", + "latest_charge": "ch_3OvTrzKuuB1fWySn2LJIRjRn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQsKuuB1fWySnouFuUQDp", + "payment_method": "pm_1OvTrzKuuB1fWySn7pSJbRQ4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:07 GMT + recorded_at: Mon, 18 Mar 2024 00:16:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml index d3c6b4d1b5..7e964fbc18 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LzsPtfC90ymRlU","request_duration_ms":1010}}' + - '{"last_request_metrics":{"request_id":"req_rPbaP8bXqEKqt9","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:14 GMT + - Mon, 18 Mar 2024 00:16:11 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1191ddbc-cf0f-4122-a48e-762255b33a2c + - e6080b62-ac48-4a10-a376-bdde2a9c85ba Original-Request: - - req_1JWn6LSgupdemL + - req_n53jKGE64zf5NT Request-Id: - - req_1JWn6LSgupdemL + - req_n53jKGE64zf5NT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQzKuuB1fWySnL005kB3u", + "id": "pm_1OvTs6KuuB1fWySnf31Y2Oa3", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204193, + "created": 1710720971, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:14 GMT + recorded_at: Mon, 18 Mar 2024 00:16:11 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQzKuuB1fWySnL005kB3u&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTs6KuuB1fWySnf31Y2Oa3&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1JWn6LSgupdemL","request_duration_ms":450}}' + - '{"last_request_metrics":{"request_id":"req_n53jKGE64zf5NT","request_duration_ms":523}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:14 GMT + - Mon, 18 Mar 2024 00:16:11 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 00136525-828d-4605-83ee-04d13a29c73f + - 77b3d3b8-33a6-42ba-8f40-7dd34a03b882 Original-Request: - - req_rPA26PJnCvQD3o + - req_tmX1i9smrgNiZU Request-Id: - - req_rPA26PJnCvQD3o + - req_tmX1i9smrgNiZU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR0KuuB1fWySn1ACiZAwN", + "id": "pi_3OvTs7KuuB1fWySn1Bf0ysYc", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204194, + "created": 1710720971, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQzKuuB1fWySnL005kB3u", + "payment_method": "pm_1OvTs6KuuB1fWySnf31Y2Oa3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:14 GMT + recorded_at: Mon, 18 Mar 2024 00:16:11 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR0KuuB1fWySn1ACiZAwN/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs7KuuB1fWySn1Bf0ysYc/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rPA26PJnCvQD3o","request_duration_ms":556}}' + - '{"last_request_metrics":{"request_id":"req_tmX1i9smrgNiZU","request_duration_ms":377}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:15 GMT + - Mon, 18 Mar 2024 00:16:12 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a0eed399-878d-43ef-81d6-9db641b86094 + - 87614ff8-8a68-4b58-9705-56676a4150cc Original-Request: - - req_jPC8DHosL7yP0m + - req_SqQrA0CjnEHSBo Request-Id: - - req_jPC8DHosL7yP0m + - req_SqQrA0CjnEHSBo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR0KuuB1fWySn1ACiZAwN", + "id": "pi_3OvTs7KuuB1fWySn1Bf0ysYc", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204194, + "created": 1710720971, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJR0KuuB1fWySn132DyHzS", + "latest_charge": "ch_3OvTs7KuuB1fWySn1ewt57Re", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQzKuuB1fWySnL005kB3u", + "payment_method": "pm_1OvTs6KuuB1fWySnf31Y2Oa3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:15 GMT + recorded_at: Mon, 18 Mar 2024 00:16:12 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR0KuuB1fWySn1ACiZAwN + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs7KuuB1fWySn1Bf0ysYc body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jPC8DHosL7yP0m","request_duration_ms":948}}' + - '{"last_request_metrics":{"request_id":"req_SqQrA0CjnEHSBo","request_duration_ms":901}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:15 GMT + - Mon, 18 Mar 2024 00:16:12 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_Gwt9jgOuzRAh4q + - req_kPlmXnsAfVwRKt Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR0KuuB1fWySn1ACiZAwN", + "id": "pi_3OvTs7KuuB1fWySn1Bf0ysYc", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204194, + "created": 1710720971, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJR0KuuB1fWySn132DyHzS", + "latest_charge": "ch_3OvTs7KuuB1fWySn1ewt57Re", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQzKuuB1fWySnL005kB3u", + "payment_method": "pm_1OvTs6KuuB1fWySnf31Y2Oa3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:15 GMT + recorded_at: Mon, 18 Mar 2024 00:16:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR0KuuB1fWySn1ACiZAwN/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs7KuuB1fWySn1Bf0ysYc/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Gwt9jgOuzRAh4q","request_duration_ms":283}}' + - '{"last_request_metrics":{"request_id":"req_kPlmXnsAfVwRKt","request_duration_ms":308}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:16 GMT + - Mon, 18 Mar 2024 00:16:13 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - db40dfa1-693c-4d43-aa67-04bf345ad26b + - 2060ac76-afdf-4b71-bc60-1e337e9a0084 Original-Request: - - req_owLYBUbfYefcTy + - req_39Kex9rIQw5rCU Request-Id: - - req_owLYBUbfYefcTy + - req_39Kex9rIQw5rCU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR0KuuB1fWySn1ACiZAwN", + "id": "pi_3OvTs7KuuB1fWySn1Bf0ysYc", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204194, + "created": 1710720971, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJR0KuuB1fWySn132DyHzS", + "latest_charge": "ch_3OvTs7KuuB1fWySn1ewt57Re", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQzKuuB1fWySnL005kB3u", + "payment_method": "pm_1OvTs6KuuB1fWySnf31Y2Oa3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:16 GMT + recorded_at: Mon, 18 Mar 2024 00:16:13 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR0KuuB1fWySn1ACiZAwN + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs7KuuB1fWySn1Bf0ysYc body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_owLYBUbfYefcTy","request_duration_ms":1019}}' + - '{"last_request_metrics":{"request_id":"req_39Kex9rIQw5rCU","request_duration_ms":1069}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:17 GMT + - Mon, 18 Mar 2024 00:16:14 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_OQ0G5ywaMnXobY + - req_lAQZo297GkbSla Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR0KuuB1fWySn1ACiZAwN", + "id": "pi_3OvTs7KuuB1fWySn1Bf0ysYc", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204194, + "created": 1710720971, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJR0KuuB1fWySn132DyHzS", + "latest_charge": "ch_3OvTs7KuuB1fWySn1ewt57Re", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQzKuuB1fWySnL005kB3u", + "payment_method": "pm_1OvTs6KuuB1fWySnf31Y2Oa3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:17 GMT + recorded_at: Mon, 18 Mar 2024 00:16:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 50551f18b3..2fe1836900 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oEFE1hqbH75iOh","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_yDW6lOmTkBf8DQ","request_duration_ms":378}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:11 GMT + - Mon, 18 Mar 2024 00:16:09 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7049bba3-2a03-4ea2-bdd6-5533dde22387 + - ce11a9ba-0c54-4f99-977d-8fae0762ab5a Original-Request: - - req_J1TOdtgwxrVhVB + - req_A6YkOfPMDfoUp9 Request-Id: - - req_J1TOdtgwxrVhVB + - req_A6YkOfPMDfoUp9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQxKuuB1fWySnT72FxkgM", + "id": "pm_1OvTs5KuuB1fWySnnAw0e1Tl", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204191, + "created": 1710720969, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:12 GMT + recorded_at: Mon, 18 Mar 2024 00:16:09 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQxKuuB1fWySnT72FxkgM&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTs5KuuB1fWySnnAw0e1Tl&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_J1TOdtgwxrVhVB","request_duration_ms":497}}' + - '{"last_request_metrics":{"request_id":"req_A6YkOfPMDfoUp9","request_duration_ms":418}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:12 GMT + - Mon, 18 Mar 2024 00:16:09 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e867b1ca-b612-49c0-94e0-faa480091df2 + - bf779317-4c18-439c-a2a1-369df209da80 Original-Request: - - req_64Vb1Bx1Al79ML + - req_gIPaPraplh7sxm Request-Id: - - req_64Vb1Bx1Al79ML + - req_gIPaPraplh7sxm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQyKuuB1fWySn1ZE3q3Ri", + "id": "pi_3OvTs5KuuB1fWySn0ZYyikLq", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204192, + "created": 1710720969, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQxKuuB1fWySnT72FxkgM", + "payment_method": "pm_1OvTs5KuuB1fWySnnAw0e1Tl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:12 GMT + recorded_at: Mon, 18 Mar 2024 00:16:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQyKuuB1fWySn1ZE3q3Ri/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs5KuuB1fWySn0ZYyikLq/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_64Vb1Bx1Al79ML","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_gIPaPraplh7sxm","request_duration_ms":386}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:13 GMT + - Mon, 18 Mar 2024 00:16:10 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 453da759-9c7b-47bf-8c32-5f23a31533e2 + - d0447ef5-7e66-43bc-bf68-150c606cfa9e Original-Request: - - req_LzsPtfC90ymRlU + - req_rPbaP8bXqEKqt9 Request-Id: - - req_LzsPtfC90ymRlU + - req_rPbaP8bXqEKqt9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQyKuuB1fWySn1ZE3q3Ri", + "id": "pi_3OvTs5KuuB1fWySn0ZYyikLq", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204192, + "created": 1710720969, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQyKuuB1fWySn1CiLuv7V", + "latest_charge": "ch_3OvTs5KuuB1fWySn0LnnOkx8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQxKuuB1fWySnT72FxkgM", + "payment_method": "pm_1OvTs5KuuB1fWySnnAw0e1Tl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:13 GMT + recorded_at: Mon, 18 Mar 2024 00:16:10 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml index e6127a411d..b209b8aeec 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KkzbITh5ydfS16","request_duration_ms":984}}' + - '{"last_request_metrics":{"request_id":"req_Nt2XjVoIEMYBME","request_duration_ms":958}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:57 GMT + - Mon, 18 Mar 2024 00:15:54 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e682f3ac-3318-4b89-bfe5-8328a0783399 + - 905957b2-9209-44a9-bd5e-3747b731d81e Original-Request: - - req_RSF4JG5a8kYVQU + - req_pj0DkbmO03PC11 Request-Id: - - req_RSF4JG5a8kYVQU + - req_pj0DkbmO03PC11 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQiKuuB1fWySnuu7LLojl", + "id": "pm_1OvTrqKuuB1fWySnWrZDtIlV", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204176, + "created": 1710720954, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:57 GMT + recorded_at: Mon, 18 Mar 2024 00:15:54 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQiKuuB1fWySnuu7LLojl&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrqKuuB1fWySnWrZDtIlV&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RSF4JG5a8kYVQU","request_duration_ms":467}}' + - '{"last_request_metrics":{"request_id":"req_pj0DkbmO03PC11","request_duration_ms":512}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:57 GMT + - Mon, 18 Mar 2024 00:15:55 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6da5fa96-22bb-40f8-8e0f-c302899d167e + - d4a88a66-46b0-433f-8df4-efcf19582a01 Original-Request: - - req_f6xS2NbA7eJDjl + - req_z3kDjxX8LS4Too Request-Id: - - req_f6xS2NbA7eJDjl + - req_z3kDjxX8LS4Too Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQjKuuB1fWySn2PPLKNBn", + "id": "pi_3OvTrrKuuB1fWySn20Ymh718", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204177, + "created": 1710720955, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQiKuuB1fWySnuu7LLojl", + "payment_method": "pm_1OvTrqKuuB1fWySnWrZDtIlV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:57 GMT + recorded_at: Mon, 18 Mar 2024 00:15:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQjKuuB1fWySn2PPLKNBn/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrrKuuB1fWySn20Ymh718/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_f6xS2NbA7eJDjl","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_z3kDjxX8LS4Too","request_duration_ms":398}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:58 GMT + - Mon, 18 Mar 2024 00:15:56 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 63d52712-2669-4633-82d9-90ef7465a6cd + - c18408a7-353a-4afb-b3d8-606e900a7332 Original-Request: - - req_FsPTc0pMOxvZPG + - req_ILwI8dnjB0DxNE Request-Id: - - req_FsPTc0pMOxvZPG + - req_ILwI8dnjB0DxNE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQjKuuB1fWySn2PPLKNBn", + "id": "pi_3OvTrrKuuB1fWySn20Ymh718", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204177, + "created": 1710720955, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQjKuuB1fWySn28L1NO7t", + "latest_charge": "ch_3OvTrrKuuB1fWySn2txObMp7", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQiKuuB1fWySnuu7LLojl", + "payment_method": "pm_1OvTrqKuuB1fWySnWrZDtIlV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:58 GMT + recorded_at: Mon, 18 Mar 2024 00:15:56 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQjKuuB1fWySn2PPLKNBn + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrrKuuB1fWySn20Ymh718 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FsPTc0pMOxvZPG","request_duration_ms":925}}' + - '{"last_request_metrics":{"request_id":"req_ILwI8dnjB0DxNE","request_duration_ms":1034}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:58 GMT + - Mon, 18 Mar 2024 00:15:56 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_AqyjUP8Tw7NQvY + - req_5BDEZhMGqpPKH9 Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQjKuuB1fWySn2PPLKNBn", + "id": "pi_3OvTrrKuuB1fWySn20Ymh718", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204177, + "created": 1710720955, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQjKuuB1fWySn28L1NO7t", + "latest_charge": "ch_3OvTrrKuuB1fWySn2txObMp7", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQiKuuB1fWySnuu7LLojl", + "payment_method": "pm_1OvTrqKuuB1fWySnWrZDtIlV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:58 GMT + recorded_at: Mon, 18 Mar 2024 00:15:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQjKuuB1fWySn2PPLKNBn/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrrKuuB1fWySn20Ymh718/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AqyjUP8Tw7NQvY","request_duration_ms":298}}' + - '{"last_request_metrics":{"request_id":"req_5BDEZhMGqpPKH9","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:59 GMT + - Mon, 18 Mar 2024 00:15:57 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - cf496120-a5d8-42ca-b899-bdb1ce0afbe6 + - 216e1964-ea93-4ba4-bf6b-7c870a8a25e4 Original-Request: - - req_y2wOX2HpyUzknc + - req_SOi11n45i7xIot Request-Id: - - req_y2wOX2HpyUzknc + - req_SOi11n45i7xIot Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQjKuuB1fWySn2PPLKNBn", + "id": "pi_3OvTrrKuuB1fWySn20Ymh718", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204177, + "created": 1710720955, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQjKuuB1fWySn28L1NO7t", + "latest_charge": "ch_3OvTrrKuuB1fWySn2txObMp7", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQiKuuB1fWySnuu7LLojl", + "payment_method": "pm_1OvTrqKuuB1fWySnWrZDtIlV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:59 GMT + recorded_at: Mon, 18 Mar 2024 00:15:57 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQjKuuB1fWySn2PPLKNBn + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrrKuuB1fWySn20Ymh718 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_y2wOX2HpyUzknc","request_duration_ms":920}}' + - '{"last_request_metrics":{"request_id":"req_SOi11n45i7xIot","request_duration_ms":913}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:00 GMT + - Mon, 18 Mar 2024 00:15:57 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_825sXoqvnaNKZc + - req_6r91uA6K8iIwbh Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQjKuuB1fWySn2PPLKNBn", + "id": "pi_3OvTrrKuuB1fWySn20Ymh718", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204177, + "created": 1710720955, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQjKuuB1fWySn28L1NO7t", + "latest_charge": "ch_3OvTrrKuuB1fWySn2txObMp7", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQiKuuB1fWySnuu7LLojl", + "payment_method": "pm_1OvTrqKuuB1fWySnWrZDtIlV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:00 GMT + recorded_at: Mon, 18 Mar 2024 00:15:57 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml index 8cbc0b92c1..3120c33092 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WvhvX0lDWN0IZK","request_duration_ms":0}}' + - '{"last_request_metrics":{"request_id":"req_8vqX4xpyNVZMxF","request_duration_ms":0}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:54 GMT + - Mon, 18 Mar 2024 00:15:52 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c08361c4-04c7-4070-a2df-17d61b2ef1e3 + - d8d3eeb0-c81a-4424-b33d-03d956326085 Original-Request: - - req_gLzYC8ngdv7Cnp + - req_H4sjt740Jzqc5G Request-Id: - - req_gLzYC8ngdv7Cnp + - req_H4sjt740Jzqc5G Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQgKuuB1fWySnuvhnG0dg", + "id": "pm_1OvTroKuuB1fWySnhXq3B35O", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204174, + "created": 1710720952, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:55 GMT + recorded_at: Mon, 18 Mar 2024 00:15:52 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQgKuuB1fWySnuvhnG0dg&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTroKuuB1fWySnhXq3B35O&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gLzYC8ngdv7Cnp","request_duration_ms":591}}' + - '{"last_request_metrics":{"request_id":"req_H4sjt740Jzqc5G","request_duration_ms":488}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:55 GMT + - Mon, 18 Mar 2024 00:15:53 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e90c5f5b-e37d-4b6c-aa11-b587d324688e + - 88504cd8-3fb7-4bf3-83e8-beb3a0c64615 Original-Request: - - req_wsSatYsudtlh44 + - req_gy3shbiiJSMlbv Request-Id: - - req_wsSatYsudtlh44 + - req_gy3shbiiJSMlbv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQhKuuB1fWySn2mAMSz7d", + "id": "pi_3OvTrpKuuB1fWySn10lsL7cb", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204175, + "created": 1710720953, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQgKuuB1fWySnuvhnG0dg", + "payment_method": "pm_1OvTroKuuB1fWySnhXq3B35O", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:55 GMT + recorded_at: Mon, 18 Mar 2024 00:15:53 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQhKuuB1fWySn2mAMSz7d/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrpKuuB1fWySn10lsL7cb/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wsSatYsudtlh44","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_gy3shbiiJSMlbv","request_duration_ms":369}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:56 GMT + - Mon, 18 Mar 2024 00:15:54 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7ca4c3d8-9039-43b7-89e1-0b900312ee0b + - 5e6af337-de3a-46c3-bdff-35c4bcc4447b Original-Request: - - req_KkzbITh5ydfS16 + - req_Nt2XjVoIEMYBME Request-Id: - - req_KkzbITh5ydfS16 + - req_Nt2XjVoIEMYBME Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQhKuuB1fWySn2mAMSz7d", + "id": "pi_3OvTrpKuuB1fWySn10lsL7cb", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204175, + "created": 1710720953, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQhKuuB1fWySn2UsnWouT", + "latest_charge": "ch_3OvTrpKuuB1fWySn1XB2PFtm", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQgKuuB1fWySnuvhnG0dg", + "payment_method": "pm_1OvTroKuuB1fWySnhXq3B35O", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:56 GMT + recorded_at: Mon, 18 Mar 2024 00:15:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml index d87c4b6cd8..5fb23e2a8b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sGPbGXyarufWX9","request_duration_ms":985}}' + - '{"last_request_metrics":{"request_id":"req_yatKJVrxlvFge6","request_duration_ms":848}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:02 GMT + - Mon, 18 Mar 2024 00:16:00 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 412d838c-f7ef-4342-a1ee-89b639c12d64 + - c5c59b48-7183-43fb-bf52-52091ac19f27 Original-Request: - - req_4edG07wQzd2txT + - req_1t2hLcURtLlQVi Request-Id: - - req_4edG07wQzd2txT + - req_1t2hLcURtLlQVi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQoKuuB1fWySnfEEuUHAw", + "id": "pm_1OvTrwKuuB1fWySnri3tHSXe", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204182, + "created": 1710720960, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:02 GMT + recorded_at: Mon, 18 Mar 2024 00:16:00 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQoKuuB1fWySnfEEuUHAw&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrwKuuB1fWySnri3tHSXe&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4edG07wQzd2txT","request_duration_ms":426}}' + - '{"last_request_metrics":{"request_id":"req_1t2hLcURtLlQVi","request_duration_ms":473}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:03 GMT + - Mon, 18 Mar 2024 00:16:00 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3369286c-4f18-4877-a617-7c2dbd77f3b0 + - 5a5a7c3a-42c0-477c-87ec-87dfc941cc4f Original-Request: - - req_ZfYMA7Otk2j4gk + - req_mKWLwcQF6Mkusv Request-Id: - - req_ZfYMA7Otk2j4gk + - req_mKWLwcQF6Mkusv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQoKuuB1fWySn0cDfyWRT", + "id": "pi_3OvTrwKuuB1fWySn0WdD9T2H", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204182, + "created": 1710720960, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQoKuuB1fWySnfEEuUHAw", + "payment_method": "pm_1OvTrwKuuB1fWySnri3tHSXe", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:03 GMT + recorded_at: Mon, 18 Mar 2024 00:16:00 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQoKuuB1fWySn0cDfyWRT/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrwKuuB1fWySn0WdD9T2H/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZfYMA7Otk2j4gk","request_duration_ms":429}}' + - '{"last_request_metrics":{"request_id":"req_mKWLwcQF6Mkusv","request_duration_ms":434}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:04 GMT + - Mon, 18 Mar 2024 00:16:01 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b35dc3da-2c0c-45b5-b67c-00470234873b + - a6b53504-f38f-4c1a-b9e1-b705bb1de29e Original-Request: - - req_or6IiSMfg0thNY + - req_d1VtMvxkl601Eh Request-Id: - - req_or6IiSMfg0thNY + - req_d1VtMvxkl601Eh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQoKuuB1fWySn0cDfyWRT", + "id": "pi_3OvTrwKuuB1fWySn0WdD9T2H", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204182, + "created": 1710720960, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQoKuuB1fWySn01M4891N", + "latest_charge": "ch_3OvTrwKuuB1fWySn0WvxcN5y", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQoKuuB1fWySnfEEuUHAw", + "payment_method": "pm_1OvTrwKuuB1fWySnri3tHSXe", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:04 GMT + recorded_at: Mon, 18 Mar 2024 00:16:01 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQoKuuB1fWySn0cDfyWRT + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrwKuuB1fWySn0WdD9T2H body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_or6IiSMfg0thNY","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_d1VtMvxkl601Eh","request_duration_ms":824}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:04 GMT + - Mon, 18 Mar 2024 00:16:01 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_cIzx0paUNkOHc1 + - req_NtN8lL51529VsL Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQoKuuB1fWySn0cDfyWRT", + "id": "pi_3OvTrwKuuB1fWySn0WdD9T2H", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204182, + "created": 1710720960, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQoKuuB1fWySn01M4891N", + "latest_charge": "ch_3OvTrwKuuB1fWySn0WvxcN5y", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQoKuuB1fWySnfEEuUHAw", + "payment_method": "pm_1OvTrwKuuB1fWySnri3tHSXe", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:04 GMT + recorded_at: Mon, 18 Mar 2024 00:16:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQoKuuB1fWySn0cDfyWRT/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrwKuuB1fWySn0WdD9T2H/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cIzx0paUNkOHc1","request_duration_ms":307}}' + - '{"last_request_metrics":{"request_id":"req_NtN8lL51529VsL","request_duration_ms":312}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:05 GMT + - Mon, 18 Mar 2024 00:16:02 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 1cf677a6-b523-4f4a-8163-80913beb0021 + - e263e140-d3d3-47c2-a628-2eb3d68e97df Original-Request: - - req_HkD5DnhibkZah0 + - req_WHOqLbBAGy8rcu Request-Id: - - req_HkD5DnhibkZah0 + - req_WHOqLbBAGy8rcu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQoKuuB1fWySn0cDfyWRT", + "id": "pi_3OvTrwKuuB1fWySn0WdD9T2H", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204182, + "created": 1710720960, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQoKuuB1fWySn01M4891N", + "latest_charge": "ch_3OvTrwKuuB1fWySn0WvxcN5y", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQoKuuB1fWySnfEEuUHAw", + "payment_method": "pm_1OvTrwKuuB1fWySnri3tHSXe", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:05 GMT + recorded_at: Mon, 18 Mar 2024 00:16:02 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQoKuuB1fWySn0cDfyWRT + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrwKuuB1fWySn0WdD9T2H body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HkD5DnhibkZah0","request_duration_ms":1126}}' + - '{"last_request_metrics":{"request_id":"req_WHOqLbBAGy8rcu","request_duration_ms":983}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:05 GMT + - Mon, 18 Mar 2024 00:16:03 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_5Unhvzz3dM5YTg + - req_XSjJwBtpszuVl9 Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQoKuuB1fWySn0cDfyWRT", + "id": "pi_3OvTrwKuuB1fWySn0WdD9T2H", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204182, + "created": 1710720960, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQoKuuB1fWySn01M4891N", + "latest_charge": "ch_3OvTrwKuuB1fWySn0WvxcN5y", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQoKuuB1fWySnfEEuUHAw", + "payment_method": "pm_1OvTrwKuuB1fWySnri3tHSXe", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:05 GMT + recorded_at: Mon, 18 Mar 2024 00:16:03 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml index a8b06dd0d9..e96af06683 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_825sXoqvnaNKZc","request_duration_ms":0}}' + - '{"last_request_metrics":{"request_id":"req_6r91uA6K8iIwbh","request_duration_ms":0}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:00 GMT + - Mon, 18 Mar 2024 00:15:58 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0f317df7-1ab6-4422-a893-93134546fdb1 + - 2ffd1fef-2e1f-4415-8fe5-66f37ab8870a Original-Request: - - req_pWY98ff9CSNOwC + - req_yMHJ8WbQRxhmmZ Request-Id: - - req_pWY98ff9CSNOwC + - req_yMHJ8WbQRxhmmZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQmKuuB1fWySnrbIE8Yck", + "id": "pm_1OvTruKuuB1fWySnPMzFtGoa", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204180, + "created": 1710720958, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:00 GMT + recorded_at: Mon, 18 Mar 2024 00:15:58 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQmKuuB1fWySnrbIE8Yck&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTruKuuB1fWySnPMzFtGoa&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pWY98ff9CSNOwC","request_duration_ms":593}}' + - '{"last_request_metrics":{"request_id":"req_yMHJ8WbQRxhmmZ","request_duration_ms":462}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:01 GMT + - Mon, 18 Mar 2024 00:15:58 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3374ad04-3a34-4a62-ab85-2664df911c46 + - 2841ca57-eab0-4011-8c84-3571cc0ce235 Original-Request: - - req_uIITRWIRQ0Cwmi + - req_w8fDrhxDE86O7z Request-Id: - - req_uIITRWIRQ0Cwmi + - req_w8fDrhxDE86O7z Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQmKuuB1fWySn2NZVoLQi", + "id": "pi_3OvTruKuuB1fWySn0TUGd08Z", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204180, + "created": 1710720958, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQmKuuB1fWySnrbIE8Yck", + "payment_method": "pm_1OvTruKuuB1fWySnPMzFtGoa", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:01 GMT + recorded_at: Mon, 18 Mar 2024 00:15:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQmKuuB1fWySn2NZVoLQi/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTruKuuB1fWySn0TUGd08Z/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uIITRWIRQ0Cwmi","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_w8fDrhxDE86O7z","request_duration_ms":481}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:02 GMT + - Mon, 18 Mar 2024 00:15:59 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 0fe4a92c-00fe-4794-856a-ad7aff96b7d5 + - d904944b-fe8d-47f2-99ca-1e473cf4a005 Original-Request: - - req_sGPbGXyarufWX9 + - req_yatKJVrxlvFge6 Request-Id: - - req_sGPbGXyarufWX9 + - req_yatKJVrxlvFge6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQmKuuB1fWySn2NZVoLQi", + "id": "pi_3OvTruKuuB1fWySn0TUGd08Z", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204180, + "created": 1710720958, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQmKuuB1fWySn2nRbRVj1", + "latest_charge": "ch_3OvTruKuuB1fWySn0Qa2PFIH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQmKuuB1fWySnrbIE8Yck", + "payment_method": "pm_1OvTruKuuB1fWySnPMzFtGoa", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:02 GMT + recorded_at: Mon, 18 Mar 2024 00:15:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml index e48d5badc7..29d084742f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1SSJFFGIV1bqtF","request_duration_ms":1327}}' + - '{"last_request_metrics":{"request_id":"req_XsEWpqUYZGkMTy","request_duration_ms":869}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:25 GMT + - Mon, 18 Mar 2024 00:16:22 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 507dc4bb-e8e4-4ed5-9e38-3f89af64c47e + - ed07381f-d500-4167-bbf9-b8e275e96e3a Original-Request: - - req_RXXZrFcplc4SLL + - req_NtdVOImSJGfmJB Request-Id: - - req_RXXZrFcplc4SLL + - req_NtdVOImSJGfmJB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRBKuuB1fWySn7QPklEpW", + "id": "pm_1OvTsHKuuB1fWySn9Zdn9YCf", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204205, + "created": 1710720981, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:25 GMT + recorded_at: Mon, 18 Mar 2024 00:16:22 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJRBKuuB1fWySn7QPklEpW&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsHKuuB1fWySn9Zdn9YCf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RXXZrFcplc4SLL","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_NtdVOImSJGfmJB","request_duration_ms":471}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:26 GMT + - Mon, 18 Mar 2024 00:16:22 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - aa4ba140-16cc-4c2e-a731-f95c5f236dd5 + - cd5f7b81-5d9b-41f2-bff6-1f6ec88d70ff Original-Request: - - req_XXQgCQR0l9gYIn + - req_f4mH2wKBJw5xy9 Request-Id: - - req_XXQgCQR0l9gYIn + - req_f4mH2wKBJw5xy9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRBKuuB1fWySn0tamq7xO", + "id": "pi_3OvTsIKuuB1fWySn2h6v6jLa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204205, + "created": 1710720982, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRBKuuB1fWySn7QPklEpW", + "payment_method": "pm_1OvTsHKuuB1fWySn9Zdn9YCf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:26 GMT + recorded_at: Mon, 18 Mar 2024 00:16:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRBKuuB1fWySn0tamq7xO/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsIKuuB1fWySn2h6v6jLa/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XXQgCQR0l9gYIn","request_duration_ms":447}}' + - '{"last_request_metrics":{"request_id":"req_f4mH2wKBJw5xy9","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:27 GMT + - Mon, 18 Mar 2024 00:16:23 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f0e2c745-dd03-43ae-9f78-a3c9e756b624 + - 68dc2b67-4646-45ce-8a55-9642cc829079 Original-Request: - - req_JZwgy7Cjr9DbQn + - req_eHvL6Nuuzjgs9N Request-Id: - - req_JZwgy7Cjr9DbQn + - req_eHvL6Nuuzjgs9N Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRBKuuB1fWySn0tamq7xO", + "id": "pi_3OvTsIKuuB1fWySn2h6v6jLa", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204205, + "created": 1710720982, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRBKuuB1fWySn0DkQa49U", + "latest_charge": "ch_3OvTsIKuuB1fWySn2Ay6cTCd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRBKuuB1fWySn7QPklEpW", + "payment_method": "pm_1OvTsHKuuB1fWySn9Zdn9YCf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:27 GMT + recorded_at: Mon, 18 Mar 2024 00:16:23 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRBKuuB1fWySn0tamq7xO + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsIKuuB1fWySn2h6v6jLa body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JZwgy7Cjr9DbQn","request_duration_ms":985}}' + - '{"last_request_metrics":{"request_id":"req_eHvL6Nuuzjgs9N","request_duration_ms":934}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:27 GMT + - Mon, 18 Mar 2024 00:16:23 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_zY7H9rSBgrUOVr + - req_74MpOtu2vrbWNG Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRBKuuB1fWySn0tamq7xO", + "id": "pi_3OvTsIKuuB1fWySn2h6v6jLa", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204205, + "created": 1710720982, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRBKuuB1fWySn0DkQa49U", + "latest_charge": "ch_3OvTsIKuuB1fWySn2Ay6cTCd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRBKuuB1fWySn7QPklEpW", + "payment_method": "pm_1OvTsHKuuB1fWySn9Zdn9YCf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:27 GMT + recorded_at: Mon, 18 Mar 2024 00:16:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRBKuuB1fWySn0tamq7xO/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsIKuuB1fWySn2h6v6jLa/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zY7H9rSBgrUOVr","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_74MpOtu2vrbWNG","request_duration_ms":394}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:28 GMT + - Mon, 18 Mar 2024 00:16:24 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 4a741d4a-4da4-4ad4-ba34-16ef32f432c6 + - 7d2c347c-75e4-46e1-9bfc-038469b40a55 Original-Request: - - req_2VAILbuNN1o5D5 + - req_2k51weDL40CUJt Request-Id: - - req_2VAILbuNN1o5D5 + - req_2k51weDL40CUJt Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRBKuuB1fWySn0tamq7xO", + "id": "pi_3OvTsIKuuB1fWySn2h6v6jLa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204205, + "created": 1710720982, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRBKuuB1fWySn0DkQa49U", + "latest_charge": "ch_3OvTsIKuuB1fWySn2Ay6cTCd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRBKuuB1fWySn7QPklEpW", + "payment_method": "pm_1OvTsHKuuB1fWySn9Zdn9YCf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:28 GMT + recorded_at: Mon, 18 Mar 2024 00:16:25 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRBKuuB1fWySn0tamq7xO + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsIKuuB1fWySn2h6v6jLa body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2VAILbuNN1o5D5","request_duration_ms":1056}}' + - '{"last_request_metrics":{"request_id":"req_2k51weDL40CUJt","request_duration_ms":1125}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:28 GMT + - Mon, 18 Mar 2024 00:16:25 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_XZw5q6sTWCRt10 + - req_4eRWQMiyznFClQ Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRBKuuB1fWySn0tamq7xO", + "id": "pi_3OvTsIKuuB1fWySn2h6v6jLa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204205, + "created": 1710720982, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRBKuuB1fWySn0DkQa49U", + "latest_charge": "ch_3OvTsIKuuB1fWySn2Ay6cTCd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRBKuuB1fWySn7QPklEpW", + "payment_method": "pm_1OvTsHKuuB1fWySn9Zdn9YCf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:29 GMT + recorded_at: Mon, 18 Mar 2024 00:16:25 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml index 7ab5c6c20f..2eae020c36 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aKQXUM7euRPw16","request_duration_ms":386}}' + - '{"last_request_metrics":{"request_id":"req_0NP9abiv73dbAY","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:23 GMT + - Mon, 18 Mar 2024 00:16:20 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ee51c777-4b00-495b-95fb-1c6b2517cda8 + - d9452e53-fd70-4d8b-89af-c4e3bd092d18 Original-Request: - - req_SzMh4NpgxSUhVu + - req_2SV1wqboTa5qCm Request-Id: - - req_SzMh4NpgxSUhVu + - req_2SV1wqboTa5qCm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJR9KuuB1fWySnErTgTO8k", + "id": "pm_1OvTsFKuuB1fWySnaCdYCzVI", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204203, + "created": 1710720980, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:23 GMT + recorded_at: Mon, 18 Mar 2024 00:16:20 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJR9KuuB1fWySnErTgTO8k&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsFKuuB1fWySnaCdYCzVI&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SzMh4NpgxSUhVu","request_duration_ms":402}}' + - '{"last_request_metrics":{"request_id":"req_2SV1wqboTa5qCm","request_duration_ms":501}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:23 GMT + - Mon, 18 Mar 2024 00:16:20 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 83e790dd-4ade-40ad-a047-6f7715f5f09b + - e89f6844-8be9-4fae-8579-19303ce17602 Original-Request: - - req_YPOapwEeLS7tLx + - req_1cs9SEfKW2eq3k Request-Id: - - req_YPOapwEeLS7tLx + - req_1cs9SEfKW2eq3k Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR9KuuB1fWySn2hHvrCE4", + "id": "pi_3OvTsGKuuB1fWySn06qMPeZF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204203, + "created": 1710720980, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJR9KuuB1fWySnErTgTO8k", + "payment_method": "pm_1OvTsFKuuB1fWySnaCdYCzVI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:23 GMT + recorded_at: Mon, 18 Mar 2024 00:16:20 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJR9KuuB1fWySn2hHvrCE4/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsGKuuB1fWySn06qMPeZF/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YPOapwEeLS7tLx","request_duration_ms":425}}' + - '{"last_request_metrics":{"request_id":"req_1cs9SEfKW2eq3k","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:25 GMT + - Mon, 18 Mar 2024 00:16:21 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 75db175a-7733-49f4-a032-eef15cce6797 + - 8a2b4589-bc09-4366-95b2-81018e43d1fe Original-Request: - - req_1SSJFFGIV1bqtF + - req_XsEWpqUYZGkMTy Request-Id: - - req_1SSJFFGIV1bqtF + - req_XsEWpqUYZGkMTy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJR9KuuB1fWySn2hHvrCE4", + "id": "pi_3OvTsGKuuB1fWySn06qMPeZF", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204203, + "created": 1710720980, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJR9KuuB1fWySn2QdmGXLB", + "latest_charge": "ch_3OvTsGKuuB1fWySn0lhXW14p", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJR9KuuB1fWySnErTgTO8k", + "payment_method": "pm_1OvTsFKuuB1fWySnaCdYCzVI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:25 GMT + recorded_at: Mon, 18 Mar 2024 00:16:21 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml index 45ba0ed365..387f1f77e7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_w7ssmyjTxslkmK","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_y1K1o8i4n95p6j","request_duration_ms":1063}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:28 GMT + - Mon, 18 Mar 2024 00:15:26 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '0229523e-9b99-4e52-b20c-fd83a5518e7d' + - ced58fca-771b-490f-bcb9-fded957023c0 Original-Request: - - req_kFNSYPhUgXBB3p + - req_SE6rzY46VZ3kOI Request-Id: - - req_kFNSYPhUgXBB3p + - req_SE6rzY46VZ3kOI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQGKuuB1fWySnyOYFmQJp", + "id": "pm_1OvTrOKuuB1fWySnIMLVsnqc", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204148, + "created": 1710720926, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:28 GMT + recorded_at: Mon, 18 Mar 2024 00:15:26 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQGKuuB1fWySnyOYFmQJp&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrOKuuB1fWySnIMLVsnqc&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kFNSYPhUgXBB3p","request_duration_ms":423}}' + - '{"last_request_metrics":{"request_id":"req_SE6rzY46VZ3kOI","request_duration_ms":411}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:29 GMT + - Mon, 18 Mar 2024 00:15:27 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b78e6ea6-51c3-43b0-a704-e05d89667282 + - b723bac9-e029-4886-9317-562f242936a4 Original-Request: - - req_n2rxuP2gfky0fg + - req_ie2CNfGK0R6fF7 Request-Id: - - req_n2rxuP2gfky0fg + - req_ie2CNfGK0R6fF7 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQGKuuB1fWySn1raTmwkk", + "id": "pi_3OvTrPKuuB1fWySn1dwfaQr0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204148, + "created": 1710720927, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQGKuuB1fWySnyOYFmQJp", + "payment_method": "pm_1OvTrOKuuB1fWySnIMLVsnqc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:29 GMT + recorded_at: Mon, 18 Mar 2024 00:15:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQGKuuB1fWySn1raTmwkk/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrPKuuB1fWySn1dwfaQr0/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_n2rxuP2gfky0fg","request_duration_ms":469}}' + - '{"last_request_metrics":{"request_id":"req_ie2CNfGK0R6fF7","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:30 GMT + - Mon, 18 Mar 2024 00:15:28 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 149c5531-74e7-4cde-a1b6-2ce2366b6c84 + - e50b4e3d-5fec-427a-83e8-dd42b6debf1d Original-Request: - - req_DIeUZHFvmvjX8M + - req_6pJA1xe5gmzgBw Request-Id: - - req_DIeUZHFvmvjX8M + - req_6pJA1xe5gmzgBw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQGKuuB1fWySn1raTmwkk", + "id": "pi_3OvTrPKuuB1fWySn1dwfaQr0", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204148, + "created": 1710720927, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQGKuuB1fWySn11VOxrYM", + "latest_charge": "ch_3OvTrPKuuB1fWySn1oFX0t4d", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQGKuuB1fWySnyOYFmQJp", + "payment_method": "pm_1OvTrOKuuB1fWySnIMLVsnqc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:30 GMT + recorded_at: Mon, 18 Mar 2024 00:15:28 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQGKuuB1fWySn1raTmwkk + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrPKuuB1fWySn1dwfaQr0 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DIeUZHFvmvjX8M","request_duration_ms":1062}}' + - '{"last_request_metrics":{"request_id":"req_6pJA1xe5gmzgBw","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:30 GMT + - Mon, 18 Mar 2024 00:15:28 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_z8sdiRjCfl7iau + - req_RVlKj5lmk3NRuX Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQGKuuB1fWySn1raTmwkk", + "id": "pi_3OvTrPKuuB1fWySn1dwfaQr0", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204148, + "created": 1710720927, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQGKuuB1fWySn11VOxrYM", + "latest_charge": "ch_3OvTrPKuuB1fWySn1oFX0t4d", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQGKuuB1fWySnyOYFmQJp", + "payment_method": "pm_1OvTrOKuuB1fWySnIMLVsnqc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:30 GMT + recorded_at: Mon, 18 Mar 2024 00:15:28 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQGKuuB1fWySn1raTmwkk/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrPKuuB1fWySn1dwfaQr0/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_z8sdiRjCfl7iau","request_duration_ms":305}}' + - '{"last_request_metrics":{"request_id":"req_RVlKj5lmk3NRuX","request_duration_ms":306}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:31 GMT + - Mon, 18 Mar 2024 00:15:29 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bea425b4-b2c1-4fee-b2ef-e165b00d17bf + - b804d2cc-5c91-4c4f-b26b-cb0b47467943 Original-Request: - - req_3Z46VqNO72Jj6J + - req_N2lThYADiH2V5P Request-Id: - - req_3Z46VqNO72Jj6J + - req_N2lThYADiH2V5P Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQGKuuB1fWySn1raTmwkk", + "id": "pi_3OvTrPKuuB1fWySn1dwfaQr0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204148, + "created": 1710720927, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQGKuuB1fWySn11VOxrYM", + "latest_charge": "ch_3OvTrPKuuB1fWySn1oFX0t4d", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQGKuuB1fWySnyOYFmQJp", + "payment_method": "pm_1OvTrOKuuB1fWySnIMLVsnqc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:31 GMT + recorded_at: Mon, 18 Mar 2024 00:15:29 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQGKuuB1fWySn1raTmwkk + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrPKuuB1fWySn1dwfaQr0 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3Z46VqNO72Jj6J","request_duration_ms":996}}' + - '{"last_request_metrics":{"request_id":"req_N2lThYADiH2V5P","request_duration_ms":998}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:31 GMT + - Mon, 18 Mar 2024 00:15:29 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_QMLeqJudwaI6sD + - req_4hAPqGLT8Xc0hy Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQGKuuB1fWySn1raTmwkk", + "id": "pi_3OvTrPKuuB1fWySn1dwfaQr0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204148, + "created": 1710720927, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQGKuuB1fWySn11VOxrYM", + "latest_charge": "ch_3OvTrPKuuB1fWySn1oFX0t4d", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQGKuuB1fWySnyOYFmQJp", + "payment_method": "pm_1OvTrOKuuB1fWySnIMLVsnqc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:31 GMT + recorded_at: Mon, 18 Mar 2024 00:15:30 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml index 6821e400c1..99530b2678 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pW0ECOBgDMm4CK","request_duration_ms":299}}' + - '{"last_request_metrics":{"request_id":"req_7WiaUKb3OVSyj9","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:26 GMT + - Mon, 18 Mar 2024 00:15:24 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3d7b96e5-fcfd-440c-bb06-d5375bc9c9d1 + - 2b1b87e4-2425-40ee-afe7-39d1f100843c Original-Request: - - req_TzgjhTxPCZbaTH + - req_FU5dQmIIwAt5UB Request-Id: - - req_TzgjhTxPCZbaTH + - req_FU5dQmIIwAt5UB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQEKuuB1fWySnB4U7m7xn", + "id": "pm_1OvTrMKuuB1fWySnWocJpQow", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204146, + "created": 1710720924, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:26 GMT + recorded_at: Mon, 18 Mar 2024 00:15:24 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQEKuuB1fWySnB4U7m7xn&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrMKuuB1fWySnWocJpQow&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TzgjhTxPCZbaTH","request_duration_ms":442}}' + - '{"last_request_metrics":{"request_id":"req_FU5dQmIIwAt5UB","request_duration_ms":499}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:27 GMT + - Mon, 18 Mar 2024 00:15:25 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2d8ba9df-19e9-49de-b39f-a2284bb07804 + - 1cd682ce-61d8-4a00-a9bf-4e2800fa326b Original-Request: - - req_3CjGfSFRrH65t8 + - req_YxV8Bf1rs27Y11 Request-Id: - - req_3CjGfSFRrH65t8 + - req_YxV8Bf1rs27Y11 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQEKuuB1fWySn28nM4wgt", + "id": "pi_3OvTrNKuuB1fWySn0qriyTFb", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204146, + "created": 1710720925, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQEKuuB1fWySnB4U7m7xn", + "payment_method": "pm_1OvTrMKuuB1fWySnWocJpQow", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:27 GMT + recorded_at: Mon, 18 Mar 2024 00:15:25 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQEKuuB1fWySn28nM4wgt/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrNKuuB1fWySn0qriyTFb/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3CjGfSFRrH65t8","request_duration_ms":474}}' + - '{"last_request_metrics":{"request_id":"req_YxV8Bf1rs27Y11","request_duration_ms":367}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:27 GMT + - Mon, 18 Mar 2024 00:15:26 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ad73d875-5bb1-4ea9-92a5-5c3e53e4d45f + - 499d9299-3962-478a-92da-07af2b0e1f5b Original-Request: - - req_w7ssmyjTxslkmK + - req_y1K1o8i4n95p6j Request-Id: - - req_w7ssmyjTxslkmK + - req_y1K1o8i4n95p6j Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQEKuuB1fWySn28nM4wgt", + "id": "pi_3OvTrNKuuB1fWySn0qriyTFb", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204146, + "created": 1710720925, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQEKuuB1fWySn2GQoUQZD", + "latest_charge": "ch_3OvTrNKuuB1fWySn0FIhUqIF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQEKuuB1fWySnB4U7m7xn", + "payment_method": "pm_1OvTrMKuuB1fWySnWocJpQow", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:28 GMT + recorded_at: Mon, 18 Mar 2024 00:15:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml index db09af0c83..6f9eca8224 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UJsMvj64RCtyft","request_duration_ms":1056}}' + - '{"last_request_metrics":{"request_id":"req_F6SV3n8p827ldm","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:34 GMT + - Mon, 18 Mar 2024 00:15:32 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d1d43fe6-47b5-459f-8b4e-ae17a2347cad + - 1cba080e-8010-4551-ad03-13c288e4bd11 Original-Request: - - req_rmW5Flqfc79fyH + - req_5Qkx6WtOtfvt74 Request-Id: - - req_rmW5Flqfc79fyH + - req_5Qkx6WtOtfvt74 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQLKuuB1fWySnbs7xyuXf", + "id": "pm_1OvTrUKuuB1fWySng3Hl6jn3", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204154, + "created": 1710720932, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:34 GMT + recorded_at: Mon, 18 Mar 2024 00:15:32 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQLKuuB1fWySnbs7xyuXf&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrUKuuB1fWySng3Hl6jn3&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rmW5Flqfc79fyH","request_duration_ms":473}}' + - '{"last_request_metrics":{"request_id":"req_5Qkx6WtOtfvt74","request_duration_ms":387}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:34 GMT + - Mon, 18 Mar 2024 00:15:32 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f81144c1-8f7e-4425-8b7c-5908eea8787e + - 6e580196-a75b-44fa-8815-83caac56e2aa Original-Request: - - req_4qZbOGhEeh5a5z + - req_SR9Ey547AhrYaq Request-Id: - - req_4qZbOGhEeh5a5z + - req_SR9Ey547AhrYaq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQMKuuB1fWySn1TDvhygI", + "id": "pi_3OvTrUKuuB1fWySn0OJBRMzt", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204154, + "created": 1710720932, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQLKuuB1fWySnbs7xyuXf", + "payment_method": "pm_1OvTrUKuuB1fWySng3Hl6jn3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:34 GMT + recorded_at: Mon, 18 Mar 2024 00:15:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQMKuuB1fWySn1TDvhygI/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrUKuuB1fWySn0OJBRMzt/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4qZbOGhEeh5a5z","request_duration_ms":455}}' + - '{"last_request_metrics":{"request_id":"req_SR9Ey547AhrYaq","request_duration_ms":432}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:35 GMT + - Mon, 18 Mar 2024 00:15:33 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 502099e0-73d6-4075-add9-968dd60dbdb6 + - 5ee9e03f-e7ba-4404-8e0d-5cc5da530ecc Original-Request: - - req_RhzkIspPQ7j1I0 + - req_jyUToa4RdO5AN4 Request-Id: - - req_RhzkIspPQ7j1I0 + - req_jyUToa4RdO5AN4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQMKuuB1fWySn1TDvhygI", + "id": "pi_3OvTrUKuuB1fWySn0OJBRMzt", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204154, + "created": 1710720932, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQMKuuB1fWySn1S1iBfvc", + "latest_charge": "ch_3OvTrUKuuB1fWySn0Rrth1wF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQLKuuB1fWySnbs7xyuXf", + "payment_method": "pm_1OvTrUKuuB1fWySng3Hl6jn3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:35 GMT + recorded_at: Mon, 18 Mar 2024 00:15:33 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQMKuuB1fWySn1TDvhygI + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrUKuuB1fWySn0OJBRMzt body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RhzkIspPQ7j1I0","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_jyUToa4RdO5AN4","request_duration_ms":918}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:36 GMT + - Mon, 18 Mar 2024 00:15:34 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_LFHAnuRr4pcNkm + - req_jM63eYpKejss6m Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQMKuuB1fWySn1TDvhygI", + "id": "pi_3OvTrUKuuB1fWySn0OJBRMzt", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204154, + "created": 1710720932, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQMKuuB1fWySn1S1iBfvc", + "latest_charge": "ch_3OvTrUKuuB1fWySn0Rrth1wF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQLKuuB1fWySnbs7xyuXf", + "payment_method": "pm_1OvTrUKuuB1fWySng3Hl6jn3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:36 GMT + recorded_at: Mon, 18 Mar 2024 00:15:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQMKuuB1fWySn1TDvhygI/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrUKuuB1fWySn0OJBRMzt/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LFHAnuRr4pcNkm","request_duration_ms":288}}' + - '{"last_request_metrics":{"request_id":"req_jM63eYpKejss6m","request_duration_ms":306}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:37 GMT + - Mon, 18 Mar 2024 00:15:35 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - '07308cd8-60b3-40da-8604-e8cd6951fbd5' + - 95dc4daf-26e2-4ed1-b505-12ffe2be3437 Original-Request: - - req_I0kbkyfuw9wt0u + - req_H9X6oSdMCQg8PN Request-Id: - - req_I0kbkyfuw9wt0u + - req_H9X6oSdMCQg8PN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQMKuuB1fWySn1TDvhygI", + "id": "pi_3OvTrUKuuB1fWySn0OJBRMzt", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204154, + "created": 1710720932, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQMKuuB1fWySn1S1iBfvc", + "latest_charge": "ch_3OvTrUKuuB1fWySn0Rrth1wF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQLKuuB1fWySnbs7xyuXf", + "payment_method": "pm_1OvTrUKuuB1fWySng3Hl6jn3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:37 GMT + recorded_at: Mon, 18 Mar 2024 00:15:35 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQMKuuB1fWySn1TDvhygI + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrUKuuB1fWySn0OJBRMzt body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_I0kbkyfuw9wt0u","request_duration_ms":1041}}' + - '{"last_request_metrics":{"request_id":"req_H9X6oSdMCQg8PN","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:37 GMT + - Mon, 18 Mar 2024 00:15:35 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_vs56mktKDteBpC + - req_BMIQ8UnaBeKHJc Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQMKuuB1fWySn1TDvhygI", + "id": "pi_3OvTrUKuuB1fWySn0OJBRMzt", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204154, + "created": 1710720932, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQMKuuB1fWySn1S1iBfvc", + "latest_charge": "ch_3OvTrUKuuB1fWySn0Rrth1wF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQLKuuB1fWySnbs7xyuXf", + "payment_method": "pm_1OvTrUKuuB1fWySng3Hl6jn3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:37 GMT + recorded_at: Mon, 18 Mar 2024 00:15:35 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml index 5e7091a9cf..450df03c50 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QMLeqJudwaI6sD","request_duration_ms":337}}' + - '{"last_request_metrics":{"request_id":"req_4hAPqGLT8Xc0hy","request_duration_ms":297}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:32 GMT + - Mon, 18 Mar 2024 00:15:30 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5b06aeba-3cb9-4dec-80ff-e89797d1f736 + - 40f0f090-9dc0-4ffa-a2ac-b7ed01d25633 Original-Request: - - req_M6NgvrFBzltGi5 + - req_A1T5hkkTfwVdbQ Request-Id: - - req_M6NgvrFBzltGi5 + - req_A1T5hkkTfwVdbQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQJKuuB1fWySn4bSO4WGY", + "id": "pm_1OvTrSKuuB1fWySnhjlVrL9a", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204152, + "created": 1710720930, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:32 GMT + recorded_at: Mon, 18 Mar 2024 00:15:30 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQJKuuB1fWySn4bSO4WGY&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrSKuuB1fWySnhjlVrL9a&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_M6NgvrFBzltGi5","request_duration_ms":418}}' + - '{"last_request_metrics":{"request_id":"req_A1T5hkkTfwVdbQ","request_duration_ms":539}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:32 GMT + - Mon, 18 Mar 2024 00:15:30 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9c8f71d5-419a-4f60-b520-34e3209f5d68 + - 59bfcd3f-e926-4dd3-9257-f7074b298e24 Original-Request: - - req_YiFOTeDGcrwLJ1 + - req_BH5m2BIHfjWhrF Request-Id: - - req_YiFOTeDGcrwLJ1 + - req_BH5m2BIHfjWhrF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQKKuuB1fWySn2CkAoRsO", + "id": "pi_3OvTrSKuuB1fWySn21KZfYYg", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204152, + "created": 1710720930, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQJKuuB1fWySn4bSO4WGY", + "payment_method": "pm_1OvTrSKuuB1fWySnhjlVrL9a", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:32 GMT + recorded_at: Mon, 18 Mar 2024 00:15:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQKKuuB1fWySn2CkAoRsO/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrSKuuB1fWySn21KZfYYg/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YiFOTeDGcrwLJ1","request_duration_ms":453}}' + - '{"last_request_metrics":{"request_id":"req_BH5m2BIHfjWhrF","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:33 GMT + - Mon, 18 Mar 2024 00:15:31 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - d06233a7-553f-4923-8a89-02544a6c0d01 + - 9f94a41e-730d-458c-9988-726003d79e0f Original-Request: - - req_UJsMvj64RCtyft + - req_F6SV3n8p827ldm Request-Id: - - req_UJsMvj64RCtyft + - req_F6SV3n8p827ldm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQKKuuB1fWySn2CkAoRsO", + "id": "pi_3OvTrSKuuB1fWySn21KZfYYg", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204152, + "created": 1710720930, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQKKuuB1fWySn2aLV1ZCv", + "latest_charge": "ch_3OvTrSKuuB1fWySn2tFA4riM", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQJKuuB1fWySn4bSO4WGY", + "payment_method": "pm_1OvTrSKuuB1fWySnhjlVrL9a", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:33 GMT + recorded_at: Mon, 18 Mar 2024 00:15:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml index 3cb11257a1..eddf2604b6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_v50V09rXOsqcWA","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_cArA6vQ0QX9xBg","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:39 GMT + - Mon, 18 Mar 2024 00:15:37 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e5d23af9-09ff-4b7a-bfd8-39948a373bd5 + - 6d9172b8-6e72-4018-a012-37408e15d687 Original-Request: - - req_aFfu9Ouf7eOiBs + - req_O92V0lbqUdmmWK Request-Id: - - req_aFfu9Ouf7eOiBs + - req_O92V0lbqUdmmWK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQRKuuB1fWySnEHy4oEP2", + "id": "pm_1OvTrZKuuB1fWySnu99drOTk", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204159, + "created": 1710720937, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:40 GMT + recorded_at: Mon, 18 Mar 2024 00:15:38 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQRKuuB1fWySnEHy4oEP2&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrZKuuB1fWySnu99drOTk&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aFfu9Ouf7eOiBs","request_duration_ms":436}}' + - '{"last_request_metrics":{"request_id":"req_O92V0lbqUdmmWK","request_duration_ms":526}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:40 GMT + - Mon, 18 Mar 2024 00:15:38 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c8062884-80e1-44ee-9c6b-511f2e241e55 + - b931f807-f426-4232-8162-80717198db54 Original-Request: - - req_R7oCFSbu5KoYyp + - req_xYkL2JI0yIi6IW Request-Id: - - req_R7oCFSbu5KoYyp + - req_xYkL2JI0yIi6IW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQSKuuB1fWySn0Njz3ZNp", + "id": "pi_3OvTraKuuB1fWySn0yoy26V4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204160, + "created": 1710720938, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQRKuuB1fWySnEHy4oEP2", + "payment_method": "pm_1OvTrZKuuB1fWySnu99drOTk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:40 GMT + recorded_at: Mon, 18 Mar 2024 00:15:38 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQSKuuB1fWySn0Njz3ZNp/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTraKuuB1fWySn0yoy26V4/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_R7oCFSbu5KoYyp","request_duration_ms":497}}' + - '{"last_request_metrics":{"request_id":"req_xYkL2JI0yIi6IW","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:41 GMT + - Mon, 18 Mar 2024 00:15:39 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 84aada9e-cbe8-463a-bc10-25e78f6b6c94 + - c51fd5d9-0d17-49d3-98f8-7b968a1778c1 Original-Request: - - req_v79QDWTSGyO5xn + - req_KfZYdqvzUvqZji Request-Id: - - req_v79QDWTSGyO5xn + - req_KfZYdqvzUvqZji Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQSKuuB1fWySn0Njz3ZNp", + "id": "pi_3OvTraKuuB1fWySn0yoy26V4", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204160, + "created": 1710720938, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQSKuuB1fWySn0UJBmRk8", + "latest_charge": "ch_3OvTraKuuB1fWySn0EVAvMbS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQRKuuB1fWySnEHy4oEP2", + "payment_method": "pm_1OvTrZKuuB1fWySnu99drOTk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:41 GMT + recorded_at: Mon, 18 Mar 2024 00:15:39 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQSKuuB1fWySn0Njz3ZNp + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTraKuuB1fWySn0yoy26V4 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_v79QDWTSGyO5xn","request_duration_ms":972}}' + - '{"last_request_metrics":{"request_id":"req_KfZYdqvzUvqZji","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:41 GMT + - Mon, 18 Mar 2024 00:15:39 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_If9RJUtGE9XDfU + - req_nO5OefF8xqH0cl Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQSKuuB1fWySn0Njz3ZNp", + "id": "pi_3OvTraKuuB1fWySn0yoy26V4", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204160, + "created": 1710720938, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQSKuuB1fWySn0UJBmRk8", + "latest_charge": "ch_3OvTraKuuB1fWySn0EVAvMbS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQRKuuB1fWySnEHy4oEP2", + "payment_method": "pm_1OvTrZKuuB1fWySnu99drOTk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:41 GMT + recorded_at: Mon, 18 Mar 2024 00:15:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQSKuuB1fWySn0Njz3ZNp/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTraKuuB1fWySn0yoy26V4/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_If9RJUtGE9XDfU","request_duration_ms":355}}' + - '{"last_request_metrics":{"request_id":"req_nO5OefF8xqH0cl","request_duration_ms":411}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:42 GMT + - Mon, 18 Mar 2024 00:15:40 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 5434c784-1e2b-4f71-a2db-a3b7fafe4b41 + - 152262b0-1437-47c5-af47-c71f6528bca4 Original-Request: - - req_wwpcM4z4c6vjEY + - req_51MsGhRNg8nEpk Request-Id: - - req_wwpcM4z4c6vjEY + - req_51MsGhRNg8nEpk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQSKuuB1fWySn0Njz3ZNp", + "id": "pi_3OvTraKuuB1fWySn0yoy26V4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204160, + "created": 1710720938, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQSKuuB1fWySn0UJBmRk8", + "latest_charge": "ch_3OvTraKuuB1fWySn0EVAvMbS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQRKuuB1fWySnEHy4oEP2", + "payment_method": "pm_1OvTrZKuuB1fWySnu99drOTk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:42 GMT + recorded_at: Mon, 18 Mar 2024 00:15:40 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQSKuuB1fWySn0Njz3ZNp + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTraKuuB1fWySn0yoy26V4 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wwpcM4z4c6vjEY","request_duration_ms":1053}}' + - '{"last_request_metrics":{"request_id":"req_51MsGhRNg8nEpk","request_duration_ms":1091}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:43 GMT + - Mon, 18 Mar 2024 00:15:41 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_lcTqVKFqgwRu74 + - req_qYAVAOt5tolkRn Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQSKuuB1fWySn0Njz3ZNp", + "id": "pi_3OvTraKuuB1fWySn0yoy26V4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204160, + "created": 1710720938, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQSKuuB1fWySn0UJBmRk8", + "latest_charge": "ch_3OvTraKuuB1fWySn0EVAvMbS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQRKuuB1fWySnEHy4oEP2", + "payment_method": "pm_1OvTrZKuuB1fWySnu99drOTk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:43 GMT + recorded_at: Mon, 18 Mar 2024 00:15:41 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml index 6af4fb78de..de240ff81a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vs56mktKDteBpC","request_duration_ms":292}}' + - '{"last_request_metrics":{"request_id":"req_BMIQ8UnaBeKHJc","request_duration_ms":306}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:37 GMT + - Mon, 18 Mar 2024 00:15:35 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f15c23f6-a227-4748-8cf6-f0e3a5e888df + - 7ab630b8-1ac8-4020-86a5-a587923c26d8 Original-Request: - - req_LBYhjNcJMNoPjt + - req_Gv6XA9ilksWfbE Request-Id: - - req_LBYhjNcJMNoPjt + - req_Gv6XA9ilksWfbE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQPKuuB1fWySnk0MvxAnQ", + "id": "pm_1OvTrXKuuB1fWySniJsmZueZ", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204157, + "created": 1710720935, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:37 GMT + recorded_at: Mon, 18 Mar 2024 00:15:35 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQPKuuB1fWySnk0MvxAnQ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrXKuuB1fWySniJsmZueZ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LBYhjNcJMNoPjt","request_duration_ms":435}}' + - '{"last_request_metrics":{"request_id":"req_Gv6XA9ilksWfbE","request_duration_ms":456}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:38 GMT + - Mon, 18 Mar 2024 00:15:36 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - bae52707-e044-4317-8bb3-d46543554099 + - 4ce0e164-5eb4-435b-b585-275e0d4b84a1 Original-Request: - - req_JaUfA7N9Dv9NcI + - req_HYZbpogYU5LRGY Request-Id: - - req_JaUfA7N9Dv9NcI + - req_HYZbpogYU5LRGY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQQKuuB1fWySn0CutrfxK", + "id": "pi_3OvTrYKuuB1fWySn1cKDcQWx", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204158, + "created": 1710720936, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQPKuuB1fWySnk0MvxAnQ", + "payment_method": "pm_1OvTrXKuuB1fWySniJsmZueZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:38 GMT + recorded_at: Mon, 18 Mar 2024 00:15:36 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQQKuuB1fWySn0CutrfxK/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrYKuuB1fWySn1cKDcQWx/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JaUfA7N9Dv9NcI","request_duration_ms":485}}' + - '{"last_request_metrics":{"request_id":"req_HYZbpogYU5LRGY","request_duration_ms":449}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:39 GMT + - Mon, 18 Mar 2024 00:15:37 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - a3c18466-de2f-456a-9368-39d551ecde99 + - cd50b15c-15ac-4f54-9730-0c8b8a2ee2e3 Original-Request: - - req_v50V09rXOsqcWA + - req_cArA6vQ0QX9xBg Request-Id: - - req_v50V09rXOsqcWA + - req_cArA6vQ0QX9xBg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQQKuuB1fWySn0CutrfxK", + "id": "pi_3OvTrYKuuB1fWySn1cKDcQWx", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204158, + "created": 1710720936, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQQKuuB1fWySn0KiuTLuu", + "latest_charge": "ch_3OvTrYKuuB1fWySn1hK8i87T", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQPKuuB1fWySnk0MvxAnQ", + "payment_method": "pm_1OvTrXKuuB1fWySniJsmZueZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:39 GMT + recorded_at: Mon, 18 Mar 2024 00:15:37 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml index a12151d405..ecd7f8d361 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Lmcx4bfwJ2jALm","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_z8BN0i7c97soJU","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:45 GMT + - Mon, 18 Mar 2024 00:15:43 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3a99329e-bf27-403e-a23d-c810fe070562 + - 1f6eb8c3-bad3-451c-ae1f-edc439e77e56 Original-Request: - - req_GcvJNoQV5buGkF + - req_kYgXlX6iCM6uNQ Request-Id: - - req_GcvJNoQV5buGkF + - req_kYgXlX6iCM6uNQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQXKuuB1fWySnRwHdXGsz", + "id": "pm_1OvTrfKuuB1fWySnIUhRVp2j", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204165, + "created": 1710720943, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:45 GMT + recorded_at: Mon, 18 Mar 2024 00:15:43 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQXKuuB1fWySnRwHdXGsz&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrfKuuB1fWySnIUhRVp2j&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GcvJNoQV5buGkF","request_duration_ms":419}}' + - '{"last_request_metrics":{"request_id":"req_kYgXlX6iCM6uNQ","request_duration_ms":528}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:46 GMT + - Mon, 18 Mar 2024 00:15:44 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3e7b4ca4-c06e-4cfb-8762-e2c2162cca55 + - c613f9d8-ab73-4f88-a22e-783f4ece702e Original-Request: - - req_GyoulaJdpz6ds8 + - req_rVdCaan3PkQrwo Request-Id: - - req_GyoulaJdpz6ds8 + - req_rVdCaan3PkQrwo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQXKuuB1fWySn1b9r3XOA", + "id": "pi_3OvTrgKuuB1fWySn02SeVhW9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204165, + "created": 1710720944, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQXKuuB1fWySnRwHdXGsz", + "payment_method": "pm_1OvTrfKuuB1fWySnIUhRVp2j", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:46 GMT + recorded_at: Mon, 18 Mar 2024 00:15:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQXKuuB1fWySn1b9r3XOA/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrgKuuB1fWySn02SeVhW9/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GyoulaJdpz6ds8","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_rVdCaan3PkQrwo","request_duration_ms":401}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:47 GMT + - Mon, 18 Mar 2024 00:15:45 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3ffc9b48-26ba-44da-92f3-bf4662b11733 + - d4160081-eca6-4ef4-99d0-5097b556496d Original-Request: - - req_bScFkmi61Dth7R + - req_rOpCYqlEXLeean Request-Id: - - req_bScFkmi61Dth7R + - req_rOpCYqlEXLeean Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQXKuuB1fWySn1b9r3XOA", + "id": "pi_3OvTrgKuuB1fWySn02SeVhW9", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204165, + "created": 1710720944, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQXKuuB1fWySn1aK1w0Lf", + "latest_charge": "ch_3OvTrgKuuB1fWySn0bQZYfUr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQXKuuB1fWySnRwHdXGsz", + "payment_method": "pm_1OvTrfKuuB1fWySnIUhRVp2j", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:47 GMT + recorded_at: Mon, 18 Mar 2024 00:15:45 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQXKuuB1fWySn1b9r3XOA + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrgKuuB1fWySn02SeVhW9 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bScFkmi61Dth7R","request_duration_ms":1025}}' + - '{"last_request_metrics":{"request_id":"req_rOpCYqlEXLeean","request_duration_ms":1029}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:47 GMT + - Mon, 18 Mar 2024 00:15:45 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_k53p8qtEdjXGaY + - req_Wv0iqO5pTMnI8u Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQXKuuB1fWySn1b9r3XOA", + "id": "pi_3OvTrgKuuB1fWySn02SeVhW9", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204165, + "created": 1710720944, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQXKuuB1fWySn1aK1w0Lf", + "latest_charge": "ch_3OvTrgKuuB1fWySn0bQZYfUr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQXKuuB1fWySnRwHdXGsz", + "payment_method": "pm_1OvTrfKuuB1fWySnIUhRVp2j", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:47 GMT + recorded_at: Mon, 18 Mar 2024 00:15:45 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQXKuuB1fWySn1b9r3XOA/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrgKuuB1fWySn02SeVhW9/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_k53p8qtEdjXGaY","request_duration_ms":303}}' + - '{"last_request_metrics":{"request_id":"req_Wv0iqO5pTMnI8u","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:48 GMT + - Mon, 18 Mar 2024 00:15:46 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 860b6072-8753-4f18-81fe-8c29398d0231 + - 12c304f1-c5d3-4f5d-8fa4-dbaba0db827b Original-Request: - - req_qPlGXLkHntdBDt + - req_T6XJK9yFeA0sGw Request-Id: - - req_qPlGXLkHntdBDt + - req_T6XJK9yFeA0sGw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQXKuuB1fWySn1b9r3XOA", + "id": "pi_3OvTrgKuuB1fWySn02SeVhW9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204165, + "created": 1710720944, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQXKuuB1fWySn1aK1w0Lf", + "latest_charge": "ch_3OvTrgKuuB1fWySn0bQZYfUr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQXKuuB1fWySnRwHdXGsz", + "payment_method": "pm_1OvTrfKuuB1fWySnIUhRVp2j", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:48 GMT + recorded_at: Mon, 18 Mar 2024 00:15:46 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQXKuuB1fWySn1b9r3XOA + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrgKuuB1fWySn02SeVhW9 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qPlGXLkHntdBDt","request_duration_ms":1056}}' + - '{"last_request_metrics":{"request_id":"req_T6XJK9yFeA0sGw","request_duration_ms":919}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:48 GMT + - Mon, 18 Mar 2024 00:15:46 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_6vQdCVBGNDmXjU + - req_b7rfB7ZShjT8E0 Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQXKuuB1fWySn1b9r3XOA", + "id": "pi_3OvTrgKuuB1fWySn02SeVhW9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204165, + "created": 1710720944, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQXKuuB1fWySn1aK1w0Lf", + "latest_charge": "ch_3OvTrgKuuB1fWySn0bQZYfUr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQXKuuB1fWySnRwHdXGsz", + "payment_method": "pm_1OvTrfKuuB1fWySnIUhRVp2j", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:48 GMT + recorded_at: Mon, 18 Mar 2024 00:15:46 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml index fb1b259cdd..ee64617400 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lcTqVKFqgwRu74","request_duration_ms":279}}' + - '{"last_request_metrics":{"request_id":"req_qYAVAOt5tolkRn","request_duration_ms":337}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:43 GMT + - Mon, 18 Mar 2024 00:15:41 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 509de387-e727-42d6-b6ea-65289f937f29 + - c553eb0e-f7a2-4fcc-81e5-fa727d4948ce Original-Request: - - req_7wAnLc8VzHGo2g + - req_NVE3ICLZo5lI4O Request-Id: - - req_7wAnLc8VzHGo2g + - req_NVE3ICLZo5lI4O Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQVKuuB1fWySnNOELo85U", + "id": "pm_1OvTrdKuuB1fWySnTpxZ4mch", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204163, + "created": 1710720941, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:43 GMT + recorded_at: Mon, 18 Mar 2024 00:15:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQVKuuB1fWySnNOELo85U&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrdKuuB1fWySnTpxZ4mch&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7wAnLc8VzHGo2g","request_duration_ms":451}}' + - '{"last_request_metrics":{"request_id":"req_NVE3ICLZo5lI4O","request_duration_ms":429}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:44 GMT + - Mon, 18 Mar 2024 00:15:42 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 27e0ed84-c811-4948-afda-4b768b5af4c9 + - ec9a598a-d016-4100-be44-44eef068357a Original-Request: - - req_N133Znl3TARGoY + - req_hQNN9biDMsF081 Request-Id: - - req_N133Znl3TARGoY + - req_hQNN9biDMsF081 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQVKuuB1fWySn0dXzj9qv", + "id": "pi_3OvTrdKuuB1fWySn0m88VIt4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204163, + "created": 1710720941, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQVKuuB1fWySnNOELo85U", + "payment_method": "pm_1OvTrdKuuB1fWySnTpxZ4mch", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:44 GMT + recorded_at: Mon, 18 Mar 2024 00:15:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQVKuuB1fWySn0dXzj9qv/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrdKuuB1fWySn0m88VIt4/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_N133Znl3TARGoY","request_duration_ms":455}}' + - '{"last_request_metrics":{"request_id":"req_hQNN9biDMsF081","request_duration_ms":477}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:45 GMT + - Mon, 18 Mar 2024 00:15:43 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8851e25e-c803-4397-9724-e24de076c4f3 + - f58acce0-e939-46e5-8217-b8a53a93b631 Original-Request: - - req_Lmcx4bfwJ2jALm + - req_z8BN0i7c97soJU Request-Id: - - req_Lmcx4bfwJ2jALm + - req_z8BN0i7c97soJU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQVKuuB1fWySn0dXzj9qv", + "id": "pi_3OvTrdKuuB1fWySn0m88VIt4", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204163, + "created": 1710720941, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQVKuuB1fWySn0GgTCxrN", + "latest_charge": "ch_3OvTrdKuuB1fWySn02qfpzDs", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQVKuuB1fWySnNOELo85U", + "payment_method": "pm_1OvTrdKuuB1fWySnTpxZ4mch", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:45 GMT + recorded_at: Mon, 18 Mar 2024 00:15:43 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml index e9c8bd844e..fb3486c7ab 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2E9msFOj4w61tG","request_duration_ms":1043}}' + - '{"last_request_metrics":{"request_id":"req_eUBysKV03XEYxT","request_duration_ms":1015}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:31 GMT + - Mon, 18 Mar 2024 00:16:27 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3fc7b4dc-8134-4563-827d-298d846e84ed + - ad5f47e5-6f33-4f99-9e26-ad99435153d8 Original-Request: - - req_2dZUUODOKswgpq + - req_5vGOTNUa54PiMA Request-Id: - - req_2dZUUODOKswgpq + - req_5vGOTNUa54PiMA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRHKuuB1fWySnXkZGy8C8", + "id": "pm_1OvTsNKuuB1fWySno7bqhpsP", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204211, + "created": 1710720987, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:31 GMT + recorded_at: Mon, 18 Mar 2024 00:16:27 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJRHKuuB1fWySnXkZGy8C8&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsNKuuB1fWySno7bqhpsP&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2dZUUODOKswgpq","request_duration_ms":504}}' + - '{"last_request_metrics":{"request_id":"req_5vGOTNUa54PiMA","request_duration_ms":533}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:31 GMT + - Mon, 18 Mar 2024 00:16:28 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 13c137cd-4974-40f6-8232-19dfe11266a7 + - 7560ef01-4e32-43b3-abb6-260085e3c31d Original-Request: - - req_zwSwCzArWF9SVx + - req_1Hb6sMc2vThowU Request-Id: - - req_zwSwCzArWF9SVx + - req_1Hb6sMc2vThowU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRHKuuB1fWySn0L7WVkNI", + "id": "pi_3OvTsOKuuB1fWySn0XQgsbZs", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204211, + "created": 1710720988, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRHKuuB1fWySnXkZGy8C8", + "payment_method": "pm_1OvTsNKuuB1fWySno7bqhpsP", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:32 GMT + recorded_at: Mon, 18 Mar 2024 00:16:28 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRHKuuB1fWySn0L7WVkNI/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsOKuuB1fWySn0XQgsbZs/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zwSwCzArWF9SVx","request_duration_ms":401}}' + - '{"last_request_metrics":{"request_id":"req_1Hb6sMc2vThowU","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:33 GMT + - Mon, 18 Mar 2024 00:16:29 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ce7bffd7-4f0b-4e85-b4a9-4cbd2ab63b54 + - 8f5cfd58-43d7-44ce-8e72-ed5781ae61fd Original-Request: - - req_M0BMXeq6OZtVCP + - req_6Ostq0AowQZf4U Request-Id: - - req_M0BMXeq6OZtVCP + - req_6Ostq0AowQZf4U Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRHKuuB1fWySn0L7WVkNI", + "id": "pi_3OvTsOKuuB1fWySn0XQgsbZs", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204211, + "created": 1710720988, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRHKuuB1fWySn04TGjU56", + "latest_charge": "ch_3OvTsOKuuB1fWySn0Yjm5Cxs", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRHKuuB1fWySnXkZGy8C8", + "payment_method": "pm_1OvTsNKuuB1fWySno7bqhpsP", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:33 GMT + recorded_at: Mon, 18 Mar 2024 00:16:29 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRHKuuB1fWySn0L7WVkNI + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsOKuuB1fWySn0XQgsbZs body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_M0BMXeq6OZtVCP","request_duration_ms":1017}}' + - '{"last_request_metrics":{"request_id":"req_6Ostq0AowQZf4U","request_duration_ms":943}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:33 GMT + - Mon, 18 Mar 2024 00:16:29 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_8KSaqZF39M1t5V + - req_WJ7FqNzhfD4r3w Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRHKuuB1fWySn0L7WVkNI", + "id": "pi_3OvTsOKuuB1fWySn0XQgsbZs", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204211, + "created": 1710720988, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRHKuuB1fWySn04TGjU56", + "latest_charge": "ch_3OvTsOKuuB1fWySn0Yjm5Cxs", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRHKuuB1fWySnXkZGy8C8", + "payment_method": "pm_1OvTsNKuuB1fWySno7bqhpsP", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:33 GMT + recorded_at: Mon, 18 Mar 2024 00:16:29 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRHKuuB1fWySn0L7WVkNI/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsOKuuB1fWySn0XQgsbZs/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8KSaqZF39M1t5V","request_duration_ms":299}}' + - '{"last_request_metrics":{"request_id":"req_WJ7FqNzhfD4r3w","request_duration_ms":388}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:34 GMT + - Mon, 18 Mar 2024 00:16:30 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 47694979-9641-4955-a1d5-c68b8ff5c9b7 + - b0dd54f6-793b-4e09-b886-85229fbfb2b0 Original-Request: - - req_cQMOPExN210zo9 + - req_vh8eEroZBMIR7E Request-Id: - - req_cQMOPExN210zo9 + - req_vh8eEroZBMIR7E Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRHKuuB1fWySn0L7WVkNI", + "id": "pi_3OvTsOKuuB1fWySn0XQgsbZs", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204211, + "created": 1710720988, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRHKuuB1fWySn04TGjU56", + "latest_charge": "ch_3OvTsOKuuB1fWySn0Yjm5Cxs", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRHKuuB1fWySnXkZGy8C8", + "payment_method": "pm_1OvTsNKuuB1fWySno7bqhpsP", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:34 GMT + recorded_at: Mon, 18 Mar 2024 00:16:30 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRHKuuB1fWySn0L7WVkNI + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsOKuuB1fWySn0XQgsbZs body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cQMOPExN210zo9","request_duration_ms":1036}}' + - '{"last_request_metrics":{"request_id":"req_vh8eEroZBMIR7E","request_duration_ms":1221}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:34 GMT + - Mon, 18 Mar 2024 00:16:31 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_8HzGzAUlTCpTGu + - req_wpFH10pcTSBRrz Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRHKuuB1fWySn0L7WVkNI", + "id": "pi_3OvTsOKuuB1fWySn0XQgsbZs", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204211, + "created": 1710720988, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRHKuuB1fWySn04TGjU56", + "latest_charge": "ch_3OvTsOKuuB1fWySn0Yjm5Cxs", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRHKuuB1fWySnXkZGy8C8", + "payment_method": "pm_1OvTsNKuuB1fWySno7bqhpsP", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:34 GMT + recorded_at: Mon, 18 Mar 2024 00:16:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml index c4924dd87b..baee8d727b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XZw5q6sTWCRt10","request_duration_ms":375}}' + - '{"last_request_metrics":{"request_id":"req_4eRWQMiyznFClQ","request_duration_ms":411}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:29 GMT + - Mon, 18 Mar 2024 00:16:25 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 60a67bd7-b663-45e2-89f6-30336875824a + - da85eb81-2b37-435c-abc4-9a8d9815b0cb Original-Request: - - req_o4XhboNfxrAX0A + - req_pALh6hN0ULK9jh Request-Id: - - req_o4XhboNfxrAX0A + - req_pALh6hN0ULK9jh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRFKuuB1fWySnyXgWDgv2", + "id": "pm_1OvTsLKuuB1fWySnpMKbegER", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204209, + "created": 1710720985, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:29 GMT + recorded_at: Mon, 18 Mar 2024 00:16:25 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJRFKuuB1fWySnyXgWDgv2&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsLKuuB1fWySnpMKbegER&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_o4XhboNfxrAX0A","request_duration_ms":501}}' + - '{"last_request_metrics":{"request_id":"req_pALh6hN0ULK9jh","request_duration_ms":458}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:29 GMT + - Mon, 18 Mar 2024 00:16:26 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 76b3b2fc-7b78-4cb5-82b8-0b97536ff929 + - 2e82521d-8bbb-4c20-8395-2c4892cc1a79 Original-Request: - - req_X992UbGqnRrdxx + - req_5qJ1fAR54XPl36 Request-Id: - - req_X992UbGqnRrdxx + - req_5qJ1fAR54XPl36 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRFKuuB1fWySn0qqlK93f", + "id": "pi_3OvTsMKuuB1fWySn0Ufm2pIh", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204209, + "created": 1710720986, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRFKuuB1fWySnyXgWDgv2", + "payment_method": "pm_1OvTsLKuuB1fWySnpMKbegER", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:29 GMT + recorded_at: Mon, 18 Mar 2024 00:16:26 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRFKuuB1fWySn0qqlK93f/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsMKuuB1fWySn0Ufm2pIh/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_X992UbGqnRrdxx","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_5qJ1fAR54XPl36","request_duration_ms":448}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:30 GMT + - Mon, 18 Mar 2024 00:16:27 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c542f425-07d0-4b83-bff3-d0fdfd1b6fa1 + - 86eab2a5-e6d7-4669-a7eb-03f88ab9930a Original-Request: - - req_2E9msFOj4w61tG + - req_eUBysKV03XEYxT Request-Id: - - req_2E9msFOj4w61tG + - req_eUBysKV03XEYxT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRFKuuB1fWySn0qqlK93f", + "id": "pi_3OvTsMKuuB1fWySn0Ufm2pIh", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204209, + "created": 1710720986, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRFKuuB1fWySn0k7dPsq7", + "latest_charge": "ch_3OvTsMKuuB1fWySn0d0qYlWV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRFKuuB1fWySnyXgWDgv2", + "payment_method": "pm_1OvTsLKuuB1fWySnpMKbegER", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:31 GMT + recorded_at: Mon, 18 Mar 2024 00:16:27 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml index e0a1bc3528..ae89ac5c41 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BF54lbMiRZuVRu","request_duration_ms":939}}' + - '{"last_request_metrics":{"request_id":"req_C1ZGBOTnpRE8B3","request_duration_ms":1051}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:37 GMT + - Mon, 18 Mar 2024 00:16:33 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 801d9eb0-85f4-48b5-b598-2c0c0c3e5aef + - 710671f6-dffe-4bd9-9a06-f8f62796f6cd Original-Request: - - req_pV1i3NwCqZeU0B + - req_gsnCkR0MvWyxK7 Request-Id: - - req_pV1i3NwCqZeU0B + - req_gsnCkR0MvWyxK7 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRMKuuB1fWySn0C4ab3vX", + "id": "pm_1OvTsTKuuB1fWySnwlzmB90u", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204217, + "created": 1710720993, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:37 GMT + recorded_at: Mon, 18 Mar 2024 00:16:33 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJRMKuuB1fWySn0C4ab3vX&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsTKuuB1fWySnwlzmB90u&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pV1i3NwCqZeU0B","request_duration_ms":496}}' + - '{"last_request_metrics":{"request_id":"req_gsnCkR0MvWyxK7","request_duration_ms":518}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:37 GMT + - Mon, 18 Mar 2024 00:16:34 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9b3a3215-877e-402e-9329-7f5b59f00f2f + - 314b047e-698c-4988-8c31-538ca168661c Original-Request: - - req_n2bUCRRce6ztHL + - req_58h3yprJqoo9Ws Request-Id: - - req_n2bUCRRce6ztHL + - req_58h3yprJqoo9Ws Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRNKuuB1fWySn0tsk4gh4", + "id": "pi_3OvTsUKuuB1fWySn2jx7jK6U", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204217, + "created": 1710720994, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRMKuuB1fWySn0C4ab3vX", + "payment_method": "pm_1OvTsTKuuB1fWySnwlzmB90u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:37 GMT + recorded_at: Mon, 18 Mar 2024 00:16:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRNKuuB1fWySn0tsk4gh4/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsUKuuB1fWySn2jx7jK6U/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_n2bUCRRce6ztHL","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_58h3yprJqoo9Ws","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:38 GMT + - Mon, 18 Mar 2024 00:16:35 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - af8e1e01-d0be-46a8-869f-c67ae7939438 + - 0dc74051-0bb0-4998-8e75-2666e0a4bf72 Original-Request: - - req_mHXBRSlSAk3t8E + - req_3geYw0tnTsr9TH Request-Id: - - req_mHXBRSlSAk3t8E + - req_3geYw0tnTsr9TH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRNKuuB1fWySn0tsk4gh4", + "id": "pi_3OvTsUKuuB1fWySn2jx7jK6U", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204217, + "created": 1710720994, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRNKuuB1fWySn01GWGzct", + "latest_charge": "ch_3OvTsUKuuB1fWySn28v0baTh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRMKuuB1fWySn0C4ab3vX", + "payment_method": "pm_1OvTsTKuuB1fWySnwlzmB90u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:38 GMT + recorded_at: Mon, 18 Mar 2024 00:16:35 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRNKuuB1fWySn0tsk4gh4 + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsUKuuB1fWySn2jx7jK6U body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mHXBRSlSAk3t8E","request_duration_ms":1032}}' + - '{"last_request_metrics":{"request_id":"req_3geYw0tnTsr9TH","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:39 GMT + - Mon, 18 Mar 2024 00:16:35 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_EH6taNFm3ntH6P + - req_jrK6wdykIG5KTK Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRNKuuB1fWySn0tsk4gh4", + "id": "pi_3OvTsUKuuB1fWySn2jx7jK6U", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204217, + "created": 1710720994, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRNKuuB1fWySn01GWGzct", + "latest_charge": "ch_3OvTsUKuuB1fWySn28v0baTh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRMKuuB1fWySn0C4ab3vX", + "payment_method": "pm_1OvTsTKuuB1fWySnwlzmB90u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:39 GMT + recorded_at: Mon, 18 Mar 2024 00:16:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRNKuuB1fWySn0tsk4gh4/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsUKuuB1fWySn2jx7jK6U/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EH6taNFm3ntH6P","request_duration_ms":302}}' + - '{"last_request_metrics":{"request_id":"req_jrK6wdykIG5KTK","request_duration_ms":289}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:40 GMT + - Mon, 18 Mar 2024 00:16:36 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7c890cc5-5bd4-4929-aa2c-462ed70a2b4b + - 33fc0972-11c0-4cbd-8858-75cfc375d1d4 Original-Request: - - req_GISuMUCZLqcVlT + - req_KdMYJ4N4VJbwhE Request-Id: - - req_GISuMUCZLqcVlT + - req_KdMYJ4N4VJbwhE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRNKuuB1fWySn0tsk4gh4", + "id": "pi_3OvTsUKuuB1fWySn2jx7jK6U", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204217, + "created": 1710720994, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRNKuuB1fWySn01GWGzct", + "latest_charge": "ch_3OvTsUKuuB1fWySn28v0baTh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRMKuuB1fWySn0C4ab3vX", + "payment_method": "pm_1OvTsTKuuB1fWySnwlzmB90u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:40 GMT + recorded_at: Mon, 18 Mar 2024 00:16:36 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRNKuuB1fWySn0tsk4gh4 + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsUKuuB1fWySn2jx7jK6U body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GISuMUCZLqcVlT","request_duration_ms":1226}}' + - '{"last_request_metrics":{"request_id":"req_KdMYJ4N4VJbwhE","request_duration_ms":908}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:40 GMT + - Mon, 18 Mar 2024 00:16:36 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_ClMkHqnJXF0G5M + - req_rMYTwbu1M5H7eN Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRNKuuB1fWySn0tsk4gh4", + "id": "pi_3OvTsUKuuB1fWySn2jx7jK6U", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204217, + "created": 1710720994, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRNKuuB1fWySn01GWGzct", + "latest_charge": "ch_3OvTsUKuuB1fWySn28v0baTh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRMKuuB1fWySn0C4ab3vX", + "payment_method": "pm_1OvTsTKuuB1fWySnwlzmB90u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:40 GMT + recorded_at: Mon, 18 Mar 2024 00:16:36 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 8c56b51c1e..beb275e285 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8HzGzAUlTCpTGu","request_duration_ms":415}}' + - '{"last_request_metrics":{"request_id":"req_wpFH10pcTSBRrz","request_duration_ms":310}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:35 GMT + - Mon, 18 Mar 2024 00:16:31 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 84d00212-ac6e-4dab-b9da-816850f7a911 + - 7c1de68c-4dff-4f66-a53d-23d3fd85d652 Original-Request: - - req_AsBmS7XzCxrALL + - req_MdBf01aEdewhO9 Request-Id: - - req_AsBmS7XzCxrALL + - req_MdBf01aEdewhO9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRKKuuB1fWySndKk5N0vS", + "id": "pm_1OvTsRKuuB1fWySndh5jdI4P", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204215, + "created": 1710720991, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:35 GMT + recorded_at: Mon, 18 Mar 2024 00:16:31 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJRKKuuB1fWySndKk5N0vS&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTsRKuuB1fWySndh5jdI4P&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AsBmS7XzCxrALL","request_duration_ms":403}}' + - '{"last_request_metrics":{"request_id":"req_MdBf01aEdewhO9","request_duration_ms":433}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:35 GMT + - Mon, 18 Mar 2024 00:16:32 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 8e38fbef-a8e1-4d7b-8047-5cbbc6aaf6f4 + - 9bfc5e5a-8118-4a88-b281-a3c6f4db085b Original-Request: - - req_l3GxL0p1LL5E87 + - req_sidZ3gsvRwFm8p Request-Id: - - req_l3GxL0p1LL5E87 + - req_sidZ3gsvRwFm8p Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRLKuuB1fWySn0Il5wIS2", + "id": "pi_3OvTsRKuuB1fWySn2tWEtp5t", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204215, + "created": 1710720991, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRKKuuB1fWySndKk5N0vS", + "payment_method": "pm_1OvTsRKuuB1fWySndh5jdI4P", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:35 GMT + recorded_at: Mon, 18 Mar 2024 00:16:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJRLKuuB1fWySn0Il5wIS2/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsRKuuB1fWySn2tWEtp5t/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_l3GxL0p1LL5E87","request_duration_ms":504}}' + - '{"last_request_metrics":{"request_id":"req_sidZ3gsvRwFm8p","request_duration_ms":449}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:36 GMT + - Mon, 18 Mar 2024 00:16:33 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c5ce09f3-67b8-4ec9-98bb-8ec21594fe52 + - 4f7df98c-e671-4fcd-89f2-882bb2dd639f Original-Request: - - req_BF54lbMiRZuVRu + - req_C1ZGBOTnpRE8B3 Request-Id: - - req_BF54lbMiRZuVRu + - req_C1ZGBOTnpRE8B3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJRLKuuB1fWySn0Il5wIS2", + "id": "pi_3OvTsRKuuB1fWySn2tWEtp5t", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204215, + "created": 1710720991, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJRLKuuB1fWySn0FwckLah", + "latest_charge": "ch_3OvTsRKuuB1fWySn2A9nRyGl", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJRKKuuB1fWySndKk5N0vS", + "payment_method": "pm_1OvTsRKuuB1fWySndh5jdI4P", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:43:36 GMT + recorded_at: Mon, 18 Mar 2024 00:16:33 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml index 53aa43f90f..1dd0fc7de9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_65QHSH69dcPewJ","request_duration_ms":1063}}' + - '{"last_request_metrics":{"request_id":"req_dtS949YMjjoHya","request_duration_ms":930}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:17 GMT + - Mon, 18 Mar 2024 00:15:15 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3bab1898-db52-4dde-bd66-750f7f71f14c + - 0ea43829-0202-45de-88eb-9a748d74649f Original-Request: - - req_H7tXMKqo33HPTG + - req_dTkrpJyibE6wg7 Request-Id: - - req_H7tXMKqo33HPTG + - req_dTkrpJyibE6wg7 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQ4KuuB1fWySnmaZu6uzt", + "id": "pm_1OvTrDKuuB1fWySnRwZg9BlO", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204137, + "created": 1710720915, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:17 GMT + recorded_at: Mon, 18 Mar 2024 00:15:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQ4KuuB1fWySnmaZu6uzt&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrDKuuB1fWySnRwZg9BlO&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_H7tXMKqo33HPTG","request_duration_ms":536}}' + - '{"last_request_metrics":{"request_id":"req_dTkrpJyibE6wg7","request_duration_ms":455}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:17 GMT + - Mon, 18 Mar 2024 00:15:16 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 60ee2f55-558d-4750-9653-f4acf07dca8f + - ffaf625d-1712-49fc-8b01-9c75f0a3b575 Original-Request: - - req_fDSVkbD2lL6pDs + - req_davbqaDMQ97Pg2 Request-Id: - - req_fDSVkbD2lL6pDs + - req_davbqaDMQ97Pg2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQ5KuuB1fWySn0kV9MLXg", + "id": "pi_3OvTrDKuuB1fWySn091mKkgk", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204137, + "created": 1710720915, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQ4KuuB1fWySnmaZu6uzt", + "payment_method": "pm_1OvTrDKuuB1fWySnRwZg9BlO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:17 GMT + recorded_at: Mon, 18 Mar 2024 00:15:16 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQ5KuuB1fWySn0kV9MLXg/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrDKuuB1fWySn091mKkgk/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fDSVkbD2lL6pDs","request_duration_ms":413}}' + - '{"last_request_metrics":{"request_id":"req_davbqaDMQ97Pg2","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:18 GMT + - Mon, 18 Mar 2024 00:15:17 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fc8f6865-92c3-4d73-8151-836d79780520 + - 3f0f5e97-4448-48b0-8223-194b2783a4df Original-Request: - - req_JAU1Ue8rsNUKmT + - req_oHMk0SMK4wGsOZ Request-Id: - - req_JAU1Ue8rsNUKmT + - req_oHMk0SMK4wGsOZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQ5KuuB1fWySn0kV9MLXg", + "id": "pi_3OvTrDKuuB1fWySn091mKkgk", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204137, + "created": 1710720915, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQ5KuuB1fWySn0vG8mA46", + "latest_charge": "ch_3OvTrDKuuB1fWySn0KaM6WCS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQ4KuuB1fWySnmaZu6uzt", + "payment_method": "pm_1OvTrDKuuB1fWySnRwZg9BlO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:18 GMT + recorded_at: Mon, 18 Mar 2024 00:15:17 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQ5KuuB1fWySn0kV9MLXg + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrDKuuB1fWySn091mKkgk body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JAU1Ue8rsNUKmT","request_duration_ms":1117}}' + - '{"last_request_metrics":{"request_id":"req_oHMk0SMK4wGsOZ","request_duration_ms":920}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:19 GMT + - Mon, 18 Mar 2024 00:15:17 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_JdwKKN0Zs6ZuiY + - req_5YxBuXnlaembay Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQ5KuuB1fWySn0kV9MLXg", + "id": "pi_3OvTrDKuuB1fWySn091mKkgk", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204137, + "created": 1710720915, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQ5KuuB1fWySn0vG8mA46", + "latest_charge": "ch_3OvTrDKuuB1fWySn0KaM6WCS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQ4KuuB1fWySnmaZu6uzt", + "payment_method": "pm_1OvTrDKuuB1fWySnRwZg9BlO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:19 GMT + recorded_at: Mon, 18 Mar 2024 00:15:17 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQ5KuuB1fWySn0kV9MLXg/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrDKuuB1fWySn091mKkgk/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JdwKKN0Zs6ZuiY","request_duration_ms":288}}' + - '{"last_request_metrics":{"request_id":"req_5YxBuXnlaembay","request_duration_ms":306}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:20 GMT + - Mon, 18 Mar 2024 00:15:18 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 9ef5e9b7-7918-49ee-8d32-312ef1f8717e + - 1f432206-beb4-4806-a191-b4d3842d8c3e Original-Request: - - req_nJf1RG7PHfB6NW + - req_YiXPVJtRKb7HN9 Request-Id: - - req_nJf1RG7PHfB6NW + - req_YiXPVJtRKb7HN9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQ5KuuB1fWySn0kV9MLXg", + "id": "pi_3OvTrDKuuB1fWySn091mKkgk", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204137, + "created": 1710720915, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQ5KuuB1fWySn0vG8mA46", + "latest_charge": "ch_3OvTrDKuuB1fWySn0KaM6WCS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQ4KuuB1fWySnmaZu6uzt", + "payment_method": "pm_1OvTrDKuuB1fWySnRwZg9BlO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:20 GMT + recorded_at: Mon, 18 Mar 2024 00:15:18 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQ5KuuB1fWySn0kV9MLXg + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrDKuuB1fWySn091mKkgk body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nJf1RG7PHfB6NW","request_duration_ms":1216}}' + - '{"last_request_metrics":{"request_id":"req_YiXPVJtRKb7HN9","request_duration_ms":1125}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:20 GMT + - Mon, 18 Mar 2024 00:15:18 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_GyPccsJtE8EysH + - req_Ogqtdp3mqHyWXS Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQ5KuuB1fWySn0kV9MLXg", + "id": "pi_3OvTrDKuuB1fWySn091mKkgk", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204137, + "created": 1710720915, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQ5KuuB1fWySn0vG8mA46", + "latest_charge": "ch_3OvTrDKuuB1fWySn0KaM6WCS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQ4KuuB1fWySnmaZu6uzt", + "payment_method": "pm_1OvTrDKuuB1fWySnRwZg9BlO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:20 GMT + recorded_at: Mon, 18 Mar 2024 00:15:18 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml index 52c6808c10..1737335093 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YtIQrpyWFBhQmT","request_duration_ms":419}}' + - '{"last_request_metrics":{"request_id":"req_7jejsG3JSQBIRE","request_duration_ms":391}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:15 GMT + - Mon, 18 Mar 2024 00:15:13 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - eaa73913-1a01-4d60-84aa-dd95231b91f8 + - 7dbb85ac-2d3f-4f24-a1bd-4b64236450b9 Original-Request: - - req_NIMBataJgJc2yC + - req_MUoxPGHkVEFb0n Request-Id: - - req_NIMBataJgJc2yC + - req_MUoxPGHkVEFb0n Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQ2KuuB1fWySn3S4aRJx6", + "id": "pm_1OvTrBKuuB1fWySnSi5zVbTF", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204134, + "created": 1710720913, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:15 GMT + recorded_at: Mon, 18 Mar 2024 00:15:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQ2KuuB1fWySn3S4aRJx6&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrBKuuB1fWySnSi5zVbTF&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NIMBataJgJc2yC","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_MUoxPGHkVEFb0n","request_duration_ms":504}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:15 GMT + - Mon, 18 Mar 2024 00:15:14 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 29751ab2-9e33-4d03-915a-7b4838f4fd26 + - 1d06fdb1-8042-4249-b298-6e23aac036e8 Original-Request: - - req_NojQxbMDlNdrCU + - req_bSxxsIwoq3ebxB Request-Id: - - req_NojQxbMDlNdrCU + - req_bSxxsIwoq3ebxB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQ3KuuB1fWySn02lKNya1", + "id": "pi_3OvTrCKuuB1fWySn2xWagSLc", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204135, + "created": 1710720914, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQ2KuuB1fWySn3S4aRJx6", + "payment_method": "pm_1OvTrBKuuB1fWySnSi5zVbTF", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:15 GMT + recorded_at: Mon, 18 Mar 2024 00:15:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQ3KuuB1fWySn02lKNya1/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrCKuuB1fWySn2xWagSLc/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NojQxbMDlNdrCU","request_duration_ms":433}}' + - '{"last_request_metrics":{"request_id":"req_bSxxsIwoq3ebxB","request_duration_ms":399}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:16 GMT + - Mon, 18 Mar 2024 00:15:15 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 99cac09a-96c5-48d0-b16b-3db54e3ccdad + - 984212ad-6a8e-4107-a070-2ee5e4cec7fc Original-Request: - - req_65QHSH69dcPewJ + - req_dtS949YMjjoHya Request-Id: - - req_65QHSH69dcPewJ + - req_dtS949YMjjoHya Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQ3KuuB1fWySn02lKNya1", + "id": "pi_3OvTrCKuuB1fWySn2xWagSLc", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204135, + "created": 1710720914, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQ3KuuB1fWySn0HLN36A6", + "latest_charge": "ch_3OvTrCKuuB1fWySn2HY9WrJD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQ2KuuB1fWySn3S4aRJx6", + "payment_method": "pm_1OvTrBKuuB1fWySnSi5zVbTF", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:16 GMT + recorded_at: Mon, 18 Mar 2024 00:15:15 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml index 9d566a7cc5..d62e9509cd 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HIlIbzjgkeAqK6","request_duration_ms":941}}' + - '{"last_request_metrics":{"request_id":"req_65bdb7xckNrfv9","request_duration_ms":1055}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:22 GMT + - Mon, 18 Mar 2024 00:15:21 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - ae5266c7-54df-49be-afa4-824cc8fc6246 + - 2f2b1c16-751a-4363-a9dd-083f04061395 Original-Request: - - req_acpFloHod7Y4N0 + - req_hxl0E0yRBSqFwP Request-Id: - - req_acpFloHod7Y4N0 + - req_hxl0E0yRBSqFwP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQAKuuB1fWySndMXPbvEt", + "id": "pm_1OvTrJKuuB1fWySn717F2dAV", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204142, + "created": 1710720921, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:22 GMT + recorded_at: Mon, 18 Mar 2024 00:15:21 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQAKuuB1fWySndMXPbvEt&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrJKuuB1fWySn717F2dAV&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_acpFloHod7Y4N0","request_duration_ms":412}}' + - '{"last_request_metrics":{"request_id":"req_hxl0E0yRBSqFwP","request_duration_ms":530}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:23 GMT + - Mon, 18 Mar 2024 00:15:21 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 17b7c1a6-9184-4938-9492-e13392c967eb + - ce6a3fb4-8b72-466c-8894-ea91c3944bf3 Original-Request: - - req_4sD6eIo78b22aX + - req_aWFEGpu95D9tCJ Request-Id: - - req_4sD6eIo78b22aX + - req_aWFEGpu95D9tCJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQBKuuB1fWySn1RtiK6AO", + "id": "pi_3OvTrJKuuB1fWySn1slHNzIA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204143, + "created": 1710720921, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQAKuuB1fWySndMXPbvEt", + "payment_method": "pm_1OvTrJKuuB1fWySn717F2dAV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:23 GMT + recorded_at: Mon, 18 Mar 2024 00:15:21 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQBKuuB1fWySn1RtiK6AO/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrJKuuB1fWySn1slHNzIA/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4sD6eIo78b22aX","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_aWFEGpu95D9tCJ","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:24 GMT + - Mon, 18 Mar 2024 00:15:22 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b6ecb4f0-ea72-4b4e-9422-c27aacd0933d + - 9cbd8a9f-9a48-4ad6-b000-5c6d8b5cec7c Original-Request: - - req_PsVFoRGDttzCmq + - req_EsILKUysv5Pc78 Request-Id: - - req_PsVFoRGDttzCmq + - req_EsILKUysv5Pc78 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQBKuuB1fWySn1RtiK6AO", + "id": "pi_3OvTrJKuuB1fWySn1slHNzIA", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204143, + "created": 1710720921, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQBKuuB1fWySn17djLvDQ", + "latest_charge": "ch_3OvTrJKuuB1fWySn1WEgdABW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQAKuuB1fWySndMXPbvEt", + "payment_method": "pm_1OvTrJKuuB1fWySn717F2dAV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +385,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:24 GMT + recorded_at: Mon, 18 Mar 2024 00:15:22 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQBKuuB1fWySn1RtiK6AO + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrJKuuB1fWySn1slHNzIA body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PsVFoRGDttzCmq","request_duration_ms":1125}}' + - '{"last_request_metrics":{"request_id":"req_EsILKUysv5Pc78","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +417,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:24 GMT + - Mon, 18 Mar 2024 00:15:23 GMT Content-Type: - application/json Content-Length: @@ -445,7 +445,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_2JVbAfiJaEgeTr + - req_VVHj9NlENtzYEp Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +458,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQBKuuB1fWySn1RtiK6AO", + "id": "pi_3OvTrJKuuB1fWySn1slHNzIA", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +474,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204143, + "created": 1710720921, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQBKuuB1fWySn17djLvDQ", + "latest_charge": "ch_3OvTrJKuuB1fWySn1WEgdABW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQAKuuB1fWySndMXPbvEt", + "payment_method": "pm_1OvTrJKuuB1fWySn717F2dAV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +510,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:24 GMT + recorded_at: Mon, 18 Mar 2024 00:15:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQBKuuB1fWySn1RtiK6AO/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrJKuuB1fWySn1slHNzIA/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2JVbAfiJaEgeTr","request_duration_ms":293}}' + - '{"last_request_metrics":{"request_id":"req_VVHj9NlENtzYEp","request_duration_ms":275}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +542,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:25 GMT + - Mon, 18 Mar 2024 00:15:24 GMT Content-Type: - application/json Content-Length: @@ -570,11 +570,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6d4b499c-4494-4f65-a7d2-cad334d0317c + - bcaa1f12-45f2-4e7d-9759-f8830f30545c Original-Request: - - req_34GyC9r6Nk2qk4 + - req_S62m5ncks84tAm Request-Id: - - req_34GyC9r6Nk2qk4 + - req_S62m5ncks84tAm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +589,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQBKuuB1fWySn1RtiK6AO", + "id": "pi_3OvTrJKuuB1fWySn1slHNzIA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +605,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204143, + "created": 1710720921, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQBKuuB1fWySn17djLvDQ", + "latest_charge": "ch_3OvTrJKuuB1fWySn1WEgdABW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQAKuuB1fWySndMXPbvEt", + "payment_method": "pm_1OvTrJKuuB1fWySn717F2dAV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +641,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:25 GMT + recorded_at: Mon, 18 Mar 2024 00:15:24 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQBKuuB1fWySn1RtiK6AO + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrJKuuB1fWySn1slHNzIA body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_34GyC9r6Nk2qk4","request_duration_ms":1138}}' + - '{"last_request_metrics":{"request_id":"req_S62m5ncks84tAm","request_duration_ms":952}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +673,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:26 GMT + - Mon, 18 Mar 2024 00:15:24 GMT Content-Type: - application/json Content-Length: @@ -701,7 +701,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_pW0ECOBgDMm4CK + - req_7WiaUKb3OVSyj9 Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +714,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQBKuuB1fWySn1RtiK6AO", + "id": "pi_3OvTrJKuuB1fWySn1slHNzIA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +730,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204143, + "created": 1710720921, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQBKuuB1fWySn17djLvDQ", + "latest_charge": "ch_3OvTrJKuuB1fWySn1WEgdABW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQAKuuB1fWySndMXPbvEt", + "payment_method": "pm_1OvTrJKuuB1fWySn717F2dAV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +766,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:26 GMT + recorded_at: Mon, 18 Mar 2024 00:15:24 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml index f5381a1432..e827e61906 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GyPccsJtE8EysH","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_Ogqtdp3mqHyWXS","request_duration_ms":306}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:21 GMT + - Mon, 18 Mar 2024 00:15:19 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f21a852c-2d6b-4189-9658-4cf82f3c417b + - '0938e7ba-3eb3-4b14-bb65-e14cf2a840c2' Original-Request: - - req_MWHr9NzymLljdS + - req_Mjhsfd0XyWDLXd Request-Id: - - req_MWHr9NzymLljdS + - req_Mjhsfd0XyWDLXd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJQ8KuuB1fWySn1PHowTjR", + "id": "pm_1OvTrHKuuB1fWySnpGKE35pW", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1710204140, + "created": 1710720919, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:42:21 GMT + recorded_at: Mon, 18 Mar 2024 00:15:19 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OtJQ8KuuB1fWySn1PHowTjR&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OvTrHKuuB1fWySnpGKE35pW&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MWHr9NzymLljdS","request_duration_ms":399}}' + - '{"last_request_metrics":{"request_id":"req_Mjhsfd0XyWDLXd","request_duration_ms":442}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:21 GMT + - Mon, 18 Mar 2024 00:15:19 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 292b4274-082c-4af2-b9ac-65757aa9ddad + - b6bc186f-adbb-4310-8bcb-d10fa5c85939 Original-Request: - - req_GQX3kHbw2YyNg6 + - req_o8NUtAqs1AeIGV Request-Id: - - req_GQX3kHbw2YyNg6 + - req_o8NUtAqs1AeIGV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +202,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQ9KuuB1fWySn2xudmRuB", + "id": "pi_3OvTrHKuuB1fWySn2RFIvGyx", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +218,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204141, + "created": 1710720919, "currency": "eur", "customer": null, "description": null, @@ -229,7 +229,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQ8KuuB1fWySn1PHowTjR", + "payment_method": "pm_1OvTrHKuuB1fWySnpGKE35pW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +254,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:21 GMT + recorded_at: Mon, 18 Mar 2024 00:15:19 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJQ9KuuB1fWySn2xudmRuB/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrHKuuB1fWySn2RFIvGyx/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GQX3kHbw2YyNg6","request_duration_ms":388}}' + - '{"last_request_metrics":{"request_id":"req_o8NUtAqs1AeIGV","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +286,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:42:22 GMT + - Mon, 18 Mar 2024 00:15:20 GMT Content-Type: - application/json Content-Length: @@ -314,11 +314,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 99b1edac-6625-43b7-ad8a-f5d1f3989624 + - 723b109e-9c51-4388-a489-ac568058dc1a Original-Request: - - req_HIlIbzjgkeAqK6 + - req_65bdb7xckNrfv9 Request-Id: - - req_HIlIbzjgkeAqK6 + - req_65bdb7xckNrfv9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJQ9KuuB1fWySn2xudmRuB", + "id": "pi_3OvTrHKuuB1fWySn2RFIvGyx", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +349,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204141, + "created": 1710720919, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJQ9KuuB1fWySn277EQ1HH", + "latest_charge": "ch_3OvTrHKuuB1fWySn2YfTt57Z", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJQ8KuuB1fWySn1PHowTjR", + "payment_method": "pm_1OvTrHKuuB1fWySnpGKE35pW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +385,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:42:22 GMT + recorded_at: Mon, 18 Mar 2024 00:15:20 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml index 5c044d266f..04c27a50a8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RJPs97R1gDwNAf","request_duration_ms":513}}' + - '{"last_request_metrics":{"request_id":"req_CyTKXekG7OQLuV","request_duration_ms":459}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:57 GMT + - Mon, 18 Mar 2024 00:16:53 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - fc4e38e6-08ea-4306-93a8-03c0cbb0a1bb + - 7fa698ed-1a56-4f04-b932-9c2d9843fb38 Original-Request: - - req_vtqExB5P2TjphQ + - req_mpPtHOpP9NsWW8 Request-Id: - - req_vtqExB5P2TjphQ + - req_mpPtHOpP9NsWW8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRhKuuB1fWySnBVBBWjG8", + "id": "pm_1OvTsmKuuB1fWySnc3AVREoG", "object": "payment_method", "billing_details": { "address": { @@ -118,19 +118,19 @@ http_interactions: }, "wallet": null }, - "created": 1710204237, + "created": 1710721012, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:57 GMT + recorded_at: Mon, 18 Mar 2024 00:16:53 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=hortense%40moore.name + string: expand[0]=sources&email=alvaro_metz%40streich.co.uk headers: Content-Type: - application/x-www-form-urlencoded @@ -158,11 +158,11 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:57 GMT + - Mon, 18 Mar 2024 00:16:53 GMT Content-Type: - application/json Content-Length: - - '816' + - '822' Connection: - close Access-Control-Allow-Credentials: @@ -185,11 +185,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - b81c0c71-d866-45c4-9a14-20c4f113896c + - a0a6726b-c54a-473f-9e19-424da37ac207 Original-Request: - - req_bjI1zCXu6yEsMB + - req_7hK3AvMaZOoQIi Request-Id: - - req_bjI1zCXu6yEsMB + - req_7hK3AvMaZOoQIi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,19 +204,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PikxUzZO1QNRQm", + "id": "cus_Pkzsx4eT5IoBhL", "object": "customer", "address": null, "balance": 0, - "created": 1710204237, + "created": 1710721013, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "hortense@moore.name", - "invoice_prefix": "1C3BBE35", + "email": "alvaro_metz@streich.co.uk", + "invoice_prefix": "24C0B07A", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -235,18 +235,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_PikxUzZO1QNRQm/sources" + "url": "/v1/customers/cus_Pkzsx4eT5IoBhL/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Tue, 12 Mar 2024 00:43:58 GMT + recorded_at: Mon, 18 Mar 2024 00:16:53 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OtJRhKuuB1fWySnBVBBWjG8/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OvTsmKuuB1fWySnc3AVREoG/attach body: encoding: UTF-8 - string: customer=cus_PikxUzZO1QNRQm + string: customer=cus_Pkzsx4eT5IoBhL headers: Content-Type: - application/x-www-form-urlencoded @@ -274,7 +274,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:58 GMT + - Mon, 18 Mar 2024 00:16:54 GMT Content-Type: - application/json Content-Length: @@ -302,11 +302,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 3636d6ea-a443-4fff-9049-a282facc5cc2 + - 37f4e127-e85b-40c8-87b3-37e0f03636d6 Original-Request: - - req_Jyxcuu4UAV6eev + - req_DTlxu8LY6tOPWM Request-Id: - - req_Jyxcuu4UAV6eev + - req_DTlxu8LY6tOPWM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRhKuuB1fWySnBVBBWjG8", + "id": "pm_1OvTsmKuuB1fWySnc3AVREoG", "object": "payment_method", "billing_details": { "address": { @@ -362,11 +362,11 @@ http_interactions: }, "wallet": null }, - "created": 1710204237, - "customer": "cus_PikxUzZO1QNRQm", + "created": 1710721012, + "customer": "cus_Pkzsx4eT5IoBhL", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:58 GMT + recorded_at: Mon, 18 Mar 2024 00:16:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml index 1178ca0782..bf4b65936c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vtqExB5P2TjphQ","request_duration_ms":443}}' + - '{"last_request_metrics":{"request_id":"req_mpPtHOpP9NsWW8","request_duration_ms":517}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:59 GMT + - Mon, 18 Mar 2024 00:16:54 GMT Content-Type: - application/json Content-Length: @@ -58,11 +58,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - f094511e-7cbf-4362-9c5d-3c56cf12d8a0 + - f5feb700-deab-47e6-a3bb-1f7876e0c19d Original-Request: - - req_gt3CH4dqxn6RKH + - req_jO2hgjzzNwuqXx Request-Id: - - req_gt3CH4dqxn6RKH + - req_jO2hgjzzNwuqXx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +77,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRiKuuB1fWySnzLwbtqaE", + "id": "pm_1OvTsoKuuB1fWySnCzCb8eht", "object": "payment_method", "billing_details": { "address": { @@ -118,13 +118,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204239, + "created": 1710721014, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:43:59 GMT + recorded_at: Mon, 18 Mar 2024 00:16:54 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -133,13 +133,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gt3CH4dqxn6RKH","request_duration_ms":474}}' + - '{"last_request_metrics":{"request_id":"req_jO2hgjzzNwuqXx","request_duration_ms":419}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:43:59 GMT + - Mon, 18 Mar 2024 00:16:55 GMT Content-Type: - application/json Content-Length: @@ -183,11 +183,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 7d347215-5454-488b-ad70-2fc72768b75c + - '0906982f-87ad-4dbe-b4fd-767448e9af6e' Original-Request: - - req_JJRMfeBg19bZL8 + - req_kMpp9oFdLMAdlu Request-Id: - - req_JJRMfeBg19bZL8 + - req_kMpp9oFdLMAdlu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,18 +202,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PikxeaVSU34sVz", + "id": "cus_Pkzs7IZP3pd5Zf", "object": "customer", "address": null, "balance": 0, - "created": 1710204239, + "created": 1710721015, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "6694FC6D", + "invoice_prefix": "07F225F9", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -230,22 +230,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Tue, 12 Mar 2024 00:43:59 GMT + recorded_at: Mon, 18 Mar 2024 00:16:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OtJRiKuuB1fWySnzLwbtqaE/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OvTsoKuuB1fWySnCzCb8eht/attach body: encoding: UTF-8 - string: customer=cus_PikxeaVSU34sVz + string: customer=cus_Pkzs7IZP3pd5Zf headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JJRMfeBg19bZL8","request_duration_ms":420}}' + - '{"last_request_metrics":{"request_id":"req_kMpp9oFdLMAdlu","request_duration_ms":358}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -262,7 +262,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:00 GMT + - Mon, 18 Mar 2024 00:16:55 GMT Content-Type: - application/json Content-Length: @@ -290,11 +290,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6710e1db-bdce-41cb-96f2-b1d4d8ef225c + - 49f9efd1-275c-4002-b6ff-41b74bbade31 Original-Request: - - req_bFrhUrgeXiLTFa + - req_LAXaOxGMoXOMBE Request-Id: - - req_bFrhUrgeXiLTFa + - req_LAXaOxGMoXOMBE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -309,7 +309,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJRiKuuB1fWySnzLwbtqaE", + "id": "pm_1OvTsoKuuB1fWySnCzCb8eht", "object": "payment_method", "billing_details": { "address": { @@ -350,19 +350,19 @@ http_interactions: }, "wallet": null }, - "created": 1710204239, - "customer": "cus_PikxeaVSU34sVz", + "created": 1710721014, + "customer": "cus_Pkzs7IZP3pd5Zf", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:44:00 GMT + recorded_at: Mon, 18 Mar 2024 00:16:56 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=jeanie%40loweadams.co.uk + string: expand[0]=sources&email=cristy_bins%40schoenauer.ca headers: Content-Type: - application/x-www-form-urlencoded @@ -390,11 +390,11 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:00 GMT + - Mon, 18 Mar 2024 00:16:56 GMT Content-Type: - application/json Content-Length: - - '819' + - '822' Connection: - close Access-Control-Allow-Credentials: @@ -417,11 +417,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 2ece7b89-86c1-44bd-a7f4-335c112de723 + - 39039f16-97fc-438a-87ab-26f0c1c14e85 Original-Request: - - req_SDKy6UxhG3t8y9 + - req_4sTXiju5KGSaXj Request-Id: - - req_SDKy6UxhG3t8y9 + - req_4sTXiju5KGSaXj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -436,19 +436,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pikx5aUCJNxmbF", + "id": "cus_PkzsgzTLJgS1ty", "object": "customer", "address": null, "balance": 0, - "created": 1710204240, + "created": 1710721016, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "jeanie@loweadams.co.uk", - "invoice_prefix": "13A95C0B", + "email": "cristy_bins@schoenauer.ca", + "invoice_prefix": "90D76186", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -467,18 +467,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_Pikx5aUCJNxmbF/sources" + "url": "/v1/customers/cus_PkzsgzTLJgS1ty/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Tue, 12 Mar 2024 00:44:00 GMT + recorded_at: Mon, 18 Mar 2024 00:16:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OtJRiKuuB1fWySnzLwbtqaE/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1OvTsoKuuB1fWySnCzCb8eht/attach body: encoding: UTF-8 - string: customer=cus_Pikx5aUCJNxmbF + string: customer=cus_PkzsgzTLJgS1ty headers: Content-Type: - application/x-www-form-urlencoded @@ -506,7 +506,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:01 GMT + - Mon, 18 Mar 2024 00:16:57 GMT Content-Type: - application/json Content-Length: @@ -534,11 +534,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 6768c40c-f4e8-4284-94e5-194b1787f032 + - 3256a36a-15d6-4aa6-9b24-3b16d12a8052 Original-Request: - - req_CavrUUiTpsrMUO + - req_i442hC44iepq49 Request-Id: - - req_CavrUUiTpsrMUO + - req_i442hC44iepq49 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -555,9 +555,9 @@ http_interactions: { "error": { "message": "The payment method you provided has already been attached to a customer.", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_CavrUUiTpsrMUO?t=1710204241", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_i442hC44iepq49?t=1710721016", "type": "invalid_request_error" } } - recorded_at: Tue, 12 Mar 2024 00:44:01 GMT + recorded_at: Mon, 18 Mar 2024 00:16:57 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.12.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml index e16642e8c4..46a49f88b8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.11.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml @@ -8,13 +8,11 @@ http_interactions: string: type=standard&country=AU&email=lettuce.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YU6F3SPSHd3Ht7","request_duration_ms":349}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:41 GMT + - Mon, 18 Mar 2024 00:23:06 GMT Content-Type: - application/json Content-Length: @@ -58,11 +56,11 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - 373009ad-57ee-464a-a064-d2fa6e84544d + - c24c84fc-1a5d-43b9-ba61-3cc4953c0a70 Original-Request: - - req_yp4QapFLTpNC7a + - req_n54Ppkea7rp67x Request-Id: - - req_yp4QapFLTpNC7a + - req_n54Ppkea7rp67x Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +75,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OtJSNQSrsozwx4j", + "id": "acct_1OvTyn4K4RMDjS4m", "object": "account", "business_profile": { "annual_revenue": null, @@ -99,7 +97,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710204280, + "created": 1710721386, "default_currency": "aud", "details_submitted": false, "email": "lettuce.producer@example.com", @@ -108,7 +106,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OtJSNQSrsozwx4j/external_accounts" + "url": "/v1/accounts/acct_1OvTyn4K4RMDjS4m/external_accounts" }, "future_requirements": { "alternatives": [], @@ -205,7 +203,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Tue, 12 Mar 2024 00:44:41 GMT + recorded_at: Mon, 18 Mar 2024 00:23:06 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -214,13 +212,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yp4QapFLTpNC7a","request_duration_ms":1844}}' + - '{"last_request_metrics":{"request_id":"req_n54Ppkea7rp67x","request_duration_ms":1766}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -237,7 +235,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:41 GMT + - Mon, 18 Mar 2024 00:23:07 GMT Content-Type: - application/json Content-Length: @@ -265,7 +263,7 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_XwHIdQudduryeB + - req_UHdxBdF4f19v09 Stripe-Version: - '2023-10-16' Vary: @@ -278,7 +276,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OtJSPKuuB1fWySnnYBM7BP4", + "id": "pm_1OvTypKuuB1fWySn0d5PeiEU", "object": "payment_method", "billing_details": { "address": { @@ -319,13 +317,13 @@ http_interactions: }, "wallet": null }, - "created": 1710204281, + "created": 1710721387, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Tue, 12 Mar 2024 00:44:42 GMT + recorded_at: Mon, 18 Mar 2024 00:23:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -334,19 +332,19 @@ http_interactions: string: amount=2600¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XwHIdQudduryeB","request_duration_ms":490}}' + - '{"last_request_metrics":{"request_id":"req_UHdxBdF4f19v09","request_duration_ms":433}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJSNQSrsozwx4j + - acct_1OvTyn4K4RMDjS4m Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -359,7 +357,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:43 GMT + - Mon, 18 Mar 2024 00:23:08 GMT Content-Type: - application/json Content-Length: @@ -386,13 +384,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - c64fe4b8-350b-4269-9584-8acf99ff1764 + - 86d0fb70-d451-4969-9d3f-d8beb36dd080 Original-Request: - - req_LYGinjpJQWDXt0 + - req_BGFuTj3WuvBHH4 Request-Id: - - req_LYGinjpJQWDXt0 + - req_BGFuTj3WuvBHH4 Stripe-Account: - - acct_1OtJSNQSrsozwx4j + - acct_1OvTyn4K4RMDjS4m Stripe-Should-Retry: - 'false' Stripe-Version: @@ -407,7 +405,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSQQSrsozwx4j0fswybHQ", + "id": "pi_3OvTyp4K4RMDjS4m1NqnFF25", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -423,18 +421,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204282, + "created": 1710721387, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJSQQSrsozwx4j0Vykgqj3", + "latest_charge": "ch_3OvTyp4K4RMDjS4m1wuevOiC", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSQQSrsozwx4jN6GU7U6b", + "payment_method": "pm_1OvTyp4K4RMDjS4m4clZuyBB", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -459,16 +457,16 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:43 GMT + recorded_at: Mon, 18 Mar 2024 00:23:08 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSQQSrsozwx4j0fswybHQ + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTyp4K4RMDjS4m1NqnFF25 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.11.0 + - Stripe/v1 RubyBindings/10.12.0 Authorization: - Bearer Content-Type: @@ -478,7 +476,7 @@ http_interactions: X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OtJSNQSrsozwx4j + - acct_1OvTyn4K4RMDjS4m Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -491,7 +489,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:50 GMT + - Mon, 18 Mar 2024 00:23:11 GMT Content-Type: - application/json Content-Length: @@ -519,9 +517,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_LMBgnmGH9pVivJ + - req_n6H77sljF3kMec Stripe-Account: - - acct_1OtJSNQSrsozwx4j + - acct_1OvTyn4K4RMDjS4m Stripe-Version: - '2023-10-16' Vary: @@ -534,7 +532,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSQQSrsozwx4j0fswybHQ", + "id": "pi_3OvTyp4K4RMDjS4m1NqnFF25", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -550,18 +548,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1710204282, + "created": 1710721387, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJSQQSrsozwx4j0Vykgqj3", + "latest_charge": "ch_3OvTyp4K4RMDjS4m1wuevOiC", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSQQSrsozwx4jN6GU7U6b", + "payment_method": "pm_1OvTyp4K4RMDjS4m4clZuyBB", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -586,10 +584,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:50 GMT + recorded_at: Mon, 18 Mar 2024 00:23:11 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OtJSQQSrsozwx4j0fswybHQ + uri: https://api.stripe.com/v1/payment_intents/pi_3OvTyp4K4RMDjS4m1NqnFF25 body: encoding: US-ASCII string: '' @@ -605,7 +603,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OtJSNQSrsozwx4j + - acct_1OvTyn4K4RMDjS4m Connection: - close Accept-Encoding: @@ -620,7 +618,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:51 GMT + - Mon, 18 Mar 2024 00:23:12 GMT Content-Type: - application/json Content-Length: @@ -648,9 +646,9 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Request-Id: - - req_KwsqtACmkbr5ge + - req_jzDttzyCPbqzsW Stripe-Account: - - acct_1OtJSNQSrsozwx4j + - acct_1OvTyn4K4RMDjS4m Stripe-Version: - '2020-08-27' Vary: @@ -663,7 +661,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OtJSQQSrsozwx4j0fswybHQ", + "id": "pi_3OvTyp4K4RMDjS4m1NqnFF25", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -681,7 +679,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OtJSQQSrsozwx4j0Vykgqj3", + "id": "ch_3OvTyp4K4RMDjS4m1wuevOiC", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -689,7 +687,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OtJSQQSrsozwx4j0lEZdF7k", + "balance_transaction": "txn_3OvTyp4K4RMDjS4m13eitOcT", "billing_details": { "address": { "city": null, @@ -705,7 +703,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710204282, + "created": 1710721387, "currency": "aud", "customer": null, "description": null, @@ -725,13 +723,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 39, + "risk_score": 23, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OtJSQQSrsozwx4j0fswybHQ", - "payment_method": "pm_1OtJSQQSrsozwx4jN6GU7U6b", + "payment_intent": "pi_3OvTyp4K4RMDjS4m1NqnFF25", + "payment_method": "pm_1OvTyp4K4RMDjS4m4clZuyBB", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -774,14 +772,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3RKU05RU3Jzb3p3eDRqKILLvq8GMgasHd7WwDY6LBYrndINYhC1X6MLs6JVcPuOq44W5CUcLt7i8rtV3WFKx_XJw0gfkKiide_d", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3ZUeW40SzRSTURqUzRtKO-S3q8GMgYHrQRhcO46LBZa3OT0mlUOjx0tFVDoM-QN3uHeJaHtIY-iSfNNDolfxU_76v50Kn8ZBMy0", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OtJSQQSrsozwx4j0Vykgqj3/refunds" + "url": "/v1/charges/ch_3OvTyp4K4RMDjS4m1wuevOiC/refunds" }, "review": null, "shipping": null, @@ -796,22 +794,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OtJSQQSrsozwx4j0fswybHQ" + "url": "/v1/charges?payment_intent=pi_3OvTyp4K4RMDjS4m1NqnFF25" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1710204282, + "created": 1710721387, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OtJSQQSrsozwx4j0Vykgqj3", + "latest_charge": "ch_3OvTyp4K4RMDjS4m1wuevOiC", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OtJSQQSrsozwx4jN6GU7U6b", + "payment_method": "pm_1OvTyp4K4RMDjS4m4clZuyBB", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -836,10 +834,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Tue, 12 Mar 2024 00:44:51 GMT + recorded_at: Mon, 18 Mar 2024 00:23:12 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3OtJSQQSrsozwx4j0Vykgqj3/refunds + uri: https://api.stripe.com/v1/charges/ch_3OvTyp4K4RMDjS4m1wuevOiC/refunds body: encoding: UTF-8 string: amount=2600&expand[0]=charge @@ -857,7 +855,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OtJSNQSrsozwx4j + - acct_1OvTyn4K4RMDjS4m Connection: - close Accept-Encoding: @@ -872,7 +870,7 @@ http_interactions: Server: - nginx Date: - - Tue, 12 Mar 2024 00:44:52 GMT + - Mon, 18 Mar 2024 00:23:13 GMT Content-Type: - application/json Content-Length: @@ -900,13 +898,13 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to=https://q.stripe.com/coop-report Idempotency-Key: - - e9095a66-8d51-48cb-8d40-58bfd75bb33b + - 2ca5b545-7c74-4543-bb6c-2f3b71d75044 Original-Request: - - req_lGcPkVM3JTxSt8 + - req_3hmvj4355uuaoS Request-Id: - - req_lGcPkVM3JTxSt8 + - req_3hmvj4355uuaoS Stripe-Account: - - acct_1OtJSNQSrsozwx4j + - acct_1OvTyn4K4RMDjS4m Stripe-Should-Retry: - 'false' Stripe-Version: @@ -921,12 +919,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3OtJSQQSrsozwx4j0Na60CWY", + "id": "re_3OvTyp4K4RMDjS4m1x8ErKMf", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3OtJSQQSrsozwx4j0HN40t4X", + "balance_transaction": "txn_3OvTyp4K4RMDjS4m1BdcDvrJ", "charge": { - "id": "ch_3OtJSQQSrsozwx4j0Vykgqj3", + "id": "ch_3OvTyp4K4RMDjS4m1wuevOiC", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -934,7 +932,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OtJSQQSrsozwx4j0lEZdF7k", + "balance_transaction": "txn_3OvTyp4K4RMDjS4m13eitOcT", "billing_details": { "address": { "city": null, @@ -950,7 +948,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710204282, + "created": 1710721387, "currency": "aud", "customer": null, "description": null, @@ -970,13 +968,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 39, + "risk_score": 23, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OtJSQQSrsozwx4j0fswybHQ", - "payment_method": "pm_1OtJSQQSrsozwx4jN6GU7U6b", + "payment_intent": "pi_3OvTyp4K4RMDjS4m1NqnFF25", + "payment_method": "pm_1OvTyp4K4RMDjS4m4clZuyBB", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -1019,18 +1017,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3RKU05RU3Jzb3p3eDRqKITLvq8GMgak_IisoB06LBY0-hH-g083EWeJnUyPBgvh1BHOoJP0Om3qdB5HfCCCbRY-y3TIev3a2aGO", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3ZUeW40SzRSTURqUzRtKPGS3q8GMgbJATLnHKk6LBbZ-xLSlGY0PCIODJO7zHlijb68jSzdZw-U57pYDuYMQOXFGOQlYpq-n1qr", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3OtJSQQSrsozwx4j0Na60CWY", + "id": "re_3OvTyp4K4RMDjS4m1x8ErKMf", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3OtJSQQSrsozwx4j0HN40t4X", - "charge": "ch_3OtJSQQSrsozwx4j0Vykgqj3", - "created": 1710204291, + "balance_transaction": "txn_3OvTyp4K4RMDjS4m1BdcDvrJ", + "charge": "ch_3OvTyp4K4RMDjS4m1wuevOiC", + "created": 1710721392, "currency": "aud", "destination_details": { "card": { @@ -1041,7 +1039,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OtJSQQSrsozwx4j0fswybHQ", + "payment_intent": "pi_3OvTyp4K4RMDjS4m1NqnFF25", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1051,7 +1049,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3OtJSQQSrsozwx4j0Vykgqj3/refunds" + "url": "/v1/charges/ch_3OvTyp4K4RMDjS4m1wuevOiC/refunds" }, "review": null, "shipping": null, @@ -1063,7 +1061,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1710204291, + "created": 1710721392, "currency": "aud", "destination_details": { "card": { @@ -1074,12 +1072,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OtJSQQSrsozwx4j0fswybHQ", + "payment_intent": "pi_3OvTyp4K4RMDjS4m1NqnFF25", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Tue, 12 Mar 2024 00:44:52 GMT + recorded_at: Mon, 18 Mar 2024 00:23:13 GMT recorded_with: VCR 6.2.0 From 526069dbb3c784e39b872709fccd13c875de5584 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 19 Mar 2024 12:18:52 +1100 Subject: [PATCH 124/374] Limit enterprise image sizes on DFC API Uploaded images can be several MB in size. While offering the big size would enable other apps to resize it and store the image size they need, we have only one app using it in practice and it's using the image directly. It's much simpler and if a default size will work for others in the future then why not just serve that. We can revise this in the future. There is a DFC discussion about publishing several sizes which I started: https://github.com/datafoodconsortium/ontology/discussions/77#discussioncomment-8228094 --- engines/dfc_provider/app/services/enterprise_builder.rb | 4 ++-- swagger/dfc.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/engines/dfc_provider/app/services/enterprise_builder.rb b/engines/dfc_provider/app/services/enterprise_builder.rb index d1af0afad9..b2087c2601 100644 --- a/engines/dfc_provider/app/services/enterprise_builder.rb +++ b/engines/dfc_provider/app/services/enterprise_builder.rb @@ -29,8 +29,8 @@ class EnterpriseBuilder < DfcBuilder # But that would require a new endpoint for a single string. add_ofn_property(e, "ofn:contact_name", enterprise.contact_name) - add_ofn_property(e, "ofn:logo_url", enterprise.logo.url) - add_ofn_property(e, "ofn:promo_image_url", enterprise.promo_image.url) + add_ofn_property(e, "ofn:logo_url", enterprise.logo_url(:small)) + add_ofn_property(e, "ofn:promo_image_url", enterprise.promo_image_url(:large)) end end diff --git a/swagger/dfc.yaml b/swagger/dfc.yaml index ba441c7dd7..02fe096be6 100644 --- a/swagger/dfc.yaml +++ b/swagger/dfc.yaml @@ -377,8 +377,8 @@ paths: dfc-b:supplies: http://test.host/api/dfc/enterprises/10000/supplied_products/10001 ofn:long_description: "

Hello, world!

This is a paragraph.

" ofn:contact_name: Fred Farmer - ofn:logo_url: http://www.example.com/rails/active_storage/url/logo.png - ofn:promo_image_url: http://www.example.com/rails/active_storage/url/promo.png + ofn:logo_url: http://test.host/rails/active_storage/url/logo.png + ofn:promo_image_url: http://test.host/rails/active_storage/url/promo.png dfc-b:affiliates: http://test.host/api/dfc/enterprise_groups/60000 - "@id": http://test.host/api/dfc/addresses/40000 "@type": dfc-b:Address From 794f92d9f5548fd3448f1c2d20a69d0ba5ef928f Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 19 Mar 2024 15:06:23 +1100 Subject: [PATCH 125/374] Add placeholder file with comments I was surprised to find there's a channel defined by our app code, because it's not defined in the standard place. --- app/webpacker/channels/scoped_channel.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 app/webpacker/channels/scoped_channel.js diff --git a/app/webpacker/channels/scoped_channel.js b/app/webpacker/channels/scoped_channel.js new file mode 100644 index 0000000000..359cf5c26d --- /dev/null +++ b/app/webpacker/channels/scoped_channel.js @@ -0,0 +1 @@ +// ScopedChannel is created with a specific ID in ../controllers/scoped_channel_controller.js From dd86222391d7ac4fc42aeaf0b005d10ec10dd008 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 09:34:23 +0000 Subject: [PATCH 126/374] chore(deps): bump aws-sdk-s3 from 1.145.0 to 1.146.0 Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.145.0 to 1.146.0. - [Release notes](https://github.com/aws/aws-sdk-ruby/releases) - [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-ruby/commits) --- updated-dependencies: - dependency-name: aws-sdk-s3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 998cef9f91..daa850d5cc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -156,16 +156,16 @@ GEM awesome_nested_set (3.6.0) activerecord (>= 4.0.0, < 7.2) aws-eventstream (1.3.0) - aws-partitions (1.898.0) + aws-partitions (1.899.0) aws-sdk-core (3.191.4) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.77.0) + aws-sdk-kms (1.78.0) aws-sdk-core (~> 3, >= 3.191.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.145.0) + aws-sdk-s3 (1.146.0) aws-sdk-core (~> 3, >= 3.191.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.8) From fc24a830a56ae2d57b7a142ab4d5357b05a598bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 09:35:00 +0000 Subject: [PATCH 127/374] chore(deps-dev): bump rspec-rails from 6.1.1 to 6.1.2 Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 6.1.1 to 6.1.2. - [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md) - [Commits](https://github.com/rspec/rspec-rails/compare/v6.1.1...v6.1.2) --- updated-dependencies: - dependency-name: rspec-rails dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 998cef9f91..cfee0c49b1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -256,7 +256,7 @@ GEM devise (>= 4.9.0) devise-token_authenticatable (1.1.0) devise (>= 4.0.0, < 5.0.0) - diff-lcs (1.5.0) + diff-lcs (1.5.1) digest (3.1.1) docile (1.4.0) dotenv (3.1.0) @@ -435,7 +435,7 @@ GEM net-protocol newrelic_rpm (9.7.1) nio4r (2.7.0) - nokogiri (1.16.2) + nokogiri (1.16.3) mini_portile2 (~> 2.8.2) racc (~> 1.4) oauth2 (1.4.11) @@ -605,32 +605,32 @@ GEM roo (2.10.1) nokogiri (~> 1) rubyzip (>= 1.3.0, < 3.0.0) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-core (3.12.2) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.3) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.6) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-rails (6.1.1) + rspec-support (~> 3.13.0) + rspec-rails (6.1.2) actionpack (>= 6.1) activesupport (>= 6.1) railties (>= 6.1) - rspec-core (~> 3.12) - rspec-expectations (~> 3.12) - rspec-mocks (~> 3.12) - rspec-support (~> 3.12) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) rspec-retry (0.6.2) rspec-core (> 3.3) rspec-sql (0.0.1) activesupport rspec - rspec-support (3.12.1) + rspec-support (3.13.1) rswag (2.13.0) rswag-api (= 2.13.0) rswag-specs (= 2.13.0) From 13f387e0a4b8778741f524df325525e14218cfbf Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Tue, 19 Mar 2024 16:17:27 -0300 Subject: [PATCH 128/374] chore(README.md): change the order the instalation guide appears. Make clear ruby and node versions must be checked bebore running the script --- GETTING_STARTED.md | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index 65b8cca69d..0be05bdb65 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -6,28 +6,9 @@ This is a general guide to setting up an Open Food Network **development environ Head to our wiki on [Learning Rails](https://github.com/openfoodfoundation/openfoodnetwork/wiki/Learning-Rails) to find some good starting points. -### Requirements - -The fastest way to make it work locally is to use Docker, you only need to setup git, see the [Docker setup guide](docker/README.md). -Otherwise, for a local setup you will need: -* Ruby and bundler (check current Ruby version in [.ruby-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.ruby-version) file) - - To manage versions, it's recommended to use [rbenv](https://github.com/rbenv/rbenv) or [RVM](https://rvm.io/) -* Node and yarn (check current Node version in [.node-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.node-version) file) - - [nodevn](https://github.com/nodenv/nodenv) is recommended. -* PostgreSQL database -* Redis (for background jobs) -* Chrome (for testing) - -The following guides will provide OS-specific step-by-step instructions to get these requirements installed: -- [Ubuntu Setup Guide][ubuntu] -- [Debian Setup Guide][debian] -- [OSX Setup Guide][osx] - -For those new to Rails, the following tutorial will help get you up to speed with configuring a [Rails environment](http://guides.rubyonrails.org/getting_started.html). - ### Get it -So you have set up your local environment according to the requirements listed above. If you're planning on contributing code to the project (which we [LOVE](CONTRIBUTING.md)), it is a good idea to begin by forking this repo using the `Fork` button in the top-right corner of this screen. You should then be able to use `git clone` to copy your fork onto your local machine: +If you're planning on contributing code to the project (which we [LOVE](CONTRIBUTING.md)), it is a good idea to begin by forking this repo using the `Fork` button in the top-right corner of this screen. You should then be able to use `git clone` to copy your fork onto your local machine: git clone git@github.com:YOUR_GITHUB_USERNAME_HERE/openfoodnetwork.git @@ -43,6 +24,25 @@ Fetch the latest version of `master` from `upstream` (ie. the main repo): git fetch upstream master +### Instalation + +This project needs specific ruby/bundler versions as well as node/yarn specific versions. For a local setup you will need: + +* Install or change your Ruby version according to the one specified at [.ruby-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.ruby-version) file) + - To manage versions, it's recommended to use [rbenv](https://github.com/rbenv/rbenv) or [RVM](https://rvm.io/) +* Install or change Node version according to the one specified at [.node-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.node-version) + - [nodevn](https://github.com/nodenv/nodenv) is recommended as a node version manager. +* PostgreSQL database +* Redis (for background jobs) +* Chrome (for testing) + +The following guides will provide OS-specific step-by-step instructions to get these requirements installed: +- [Ubuntu Setup Guide][ubuntu] +- [Debian Setup Guide][debian] +- [OSX Setup Guide][osx] + +For those new to Rails, the following tutorial will help get you up to speed with configuring a [Rails environment](http://guides.rubyonrails.org/getting_started.html). + ### Get it running First, you need to create the database user the app will use by manually typing the following in your terminal: @@ -53,7 +53,8 @@ sudo --login --user=postgres psql -c "CREATE USER ofn WITH SUPERUSER CREATEDB PA This will create the "ofn" user as superuser and allowing it to create databases. If this command fails, check the [troubleshooting section](#creating-the-database) for an alternative. -Next, it is _strongly recommended_ to run the setup script. +Next, it is _strongly recommended_ to run the setup script. This script assumes your ruby version manager is [rbenv](https://github.com/rbenv/rbenv). Make sure ruby and node versions match the project requirements and run: + ```sh ./script/setup ``` From 25e3f30f97929c8d55b4f21d32c162b0bc9b0a2b Mon Sep 17 00:00:00 2001 From: Anthony Musyoki <445103+anthonyms@users.noreply.github.com> Date: Wed, 20 Mar 2024 15:34:05 +0300 Subject: [PATCH 129/374] Fix Rubocop Rails issue: Rails/FindEach --- .rubocop_todo.yml | 15 --------------- app/controllers/admin/order_cycles_controller.rb | 2 +- app/jobs/subscription_confirm_job.rb | 2 +- app/services/orders/bulk_cancel_service.rb | 2 ++ app/services/products_renderer.rb | 2 ++ lib/tasks/data.rake | 2 +- lib/tasks/subscriptions/debug.rake | 6 +++--- spec/system/admin/bulk_order_management_spec.rb | 2 ++ .../system/admin/enterprise_relationships_spec.rb | 2 ++ 9 files changed, 14 insertions(+), 21 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 07e49ad612..44ed59b1a2 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -390,21 +390,6 @@ Naming/VariableNumber: - 'spec/models/spree/tax_rate_spec.rb' - 'spec/requests/api/orders_spec.rb' -# Offense count: 11 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: AllowedMethods, AllowedPatterns. -# AllowedMethods: order, limit, select, lock -Rails/FindEach: - Exclude: - - 'app/controllers/admin/order_cycles_controller.rb' - - 'app/jobs/subscription_confirm_job.rb' - - 'app/services/orders/bulk_cancel_service.rb' - - 'app/services/products_renderer.rb' - - 'lib/tasks/data.rake' - - 'lib/tasks/subscriptions/debug.rake' - - 'spec/system/admin/bulk_order_management_spec.rb' - - 'spec/system/admin/enterprise_relationships_spec.rb' - # Offense count: 11 # Configuration parameters: Include. # Include: app/models/**/*.rb diff --git a/app/controllers/admin/order_cycles_controller.rb b/app/controllers/admin/order_cycles_controller.rb index c06695d10b..35333e7af7 100644 --- a/app/controllers/admin/order_cycles_controller.rb +++ b/app/controllers/admin/order_cycles_controller.rb @@ -100,7 +100,7 @@ module Admin def update_nil_subscription_line_items_price_estimate(order_cycle) order_cycle.schedules.each do |schedule| - Subscription.where(schedule_id: schedule.id).each do |subscription| + Subscription.where(schedule_id: schedule.id).find_each do |subscription| shop = Enterprise.managed_by(spree_current_user).find_by(id: subscription.shop_id) fee_calculator = OpenFoodNetwork::EnterpriseFeeCalculator.new(shop, order_cycle) subscription.subscription_line_items.nil_price_estimate.each do |line_item| diff --git a/app/jobs/subscription_confirm_job.rb b/app/jobs/subscription_confirm_job.rb index 8f67005c74..4a7e69a384 100644 --- a/app/jobs/subscription_confirm_job.rb +++ b/app/jobs/subscription_confirm_job.rb @@ -23,7 +23,7 @@ class SubscriptionConfirmJob < ApplicationJob unconfirmed_proxy_orders.update_all(confirmed_at: Time.zone.now) # Confirm these proxy orders - ProxyOrder.where(id: unconfirmed_proxy_orders_ids).each do |proxy_order| + ProxyOrder.where(id: unconfirmed_proxy_orders_ids).find_each do |proxy_order| JobLogger.logger.info "Confirming Order for Proxy Order #{proxy_order.id}" confirm_order!(proxy_order.order) end diff --git a/app/services/orders/bulk_cancel_service.rb b/app/services/orders/bulk_cancel_service.rb index fd2e867dcd..0469907bf8 100644 --- a/app/services/orders/bulk_cancel_service.rb +++ b/app/services/orders/bulk_cancel_service.rb @@ -10,11 +10,13 @@ module Orders end def call + # rubocop:disable Rails/FindEach # .each returns an array, .find_each returns nil editable_orders.where(id: @order_ids).each do |order| order.send_cancellation_email = @send_cancellation_email order.restock_items = @restock_items order.cancel end + # rubocop:enable Rails/FindEach end private diff --git a/app/services/products_renderer.rb b/app/services/products_renderer.rb index 22db37687a..5d0d794856 100644 --- a/app/services/products_renderer.rb +++ b/app/services/products_renderer.rb @@ -89,10 +89,12 @@ class ProductsRenderer @variants_for_shop ||= begin scoper = OpenFoodNetwork::ScopeVariantToHub.new(distributor) + # rubocop:disable Rails/FindEach # .each returns an array, .find_each returns nil distributed_products.variants_relation. includes(:default_price, :stock_locations, :product). where(product_id: products). each { |v| scoper.scope(v) } # Scope results with variant_overrides + # rubocop:enable Rails/FindEach end end diff --git a/lib/tasks/data.rake b/lib/tasks/data.rake index da55b3580e..1cb18ff0db 100644 --- a/lib/tasks/data.rake +++ b/lib/tasks/data.rake @@ -7,7 +7,7 @@ namespace :ofn do input = request_months # For each order cycle which was modified within the past 3 months - OrderCycle.where('updated_at > ?', Date.current - input.months).each do |order_cycle| + OrderCycle.where('updated_at > ?', Date.current - input.months).find_each do |order_cycle| # Cycle through the incoming exchanges order_cycle.exchanges.incoming.each do |exchange| next if exchange.sender == exchange.receiver diff --git a/lib/tasks/subscriptions/debug.rake b/lib/tasks/subscriptions/debug.rake index 3b2e29d90a..750bfb4d73 100644 --- a/lib/tasks/subscriptions/debug.rake +++ b/lib/tasks/subscriptions/debug.rake @@ -12,7 +12,7 @@ namespace :ofn do puts "Order Cycle #{order_cycle.name}" order_cycle.schedules.each do |schedule| puts "Schedule #{schedule.name}" - Subscription.where(schedule_id: schedule.id).each do |subscription| + Subscription.where(schedule_id: schedule.id).find_each do |subscription| puts puts "Subscription #{subscription.id}" puts subscription.shop.name @@ -23,7 +23,7 @@ namespace :ofn do puts "Canceled at #{subscription.canceled_at} and paused at #{subscription.paused_at}" ProxyOrder.where(order_cycle_id:, - subscription_id: subscription.id).each do |proxy_order| + subscription_id: subscription.id).find_each do |proxy_order| puts puts "Proxy Order #{proxy_order.id}" puts "Canceled at #{proxy_order.canceled_at}" @@ -42,7 +42,7 @@ namespace :ofn do puts "Source #{payment.source.to_json}" end Spree::LogEntry.where(source_type: "Spree::Payment", - source_id: payment.id).each do |log_entry| + source_id: payment.id).find_each do |log_entry| puts "Log Entries found" puts log_entry.details end diff --git a/spec/system/admin/bulk_order_management_spec.rb b/spec/system/admin/bulk_order_management_spec.rb index e324e0747e..ccf0141afd 100644 --- a/spec/system/admin/bulk_order_management_spec.rb +++ b/spec/system/admin/bulk_order_management_spec.rb @@ -921,6 +921,7 @@ describe ' expect(page).to have_selector "tr#li_#{li2.id} input[type='checkbox'][name='bulk']" end + # rubocop:disable Rails/FindEach. # These are Capybara finders it "displays a checkbox to which toggles the 'checked' state of all checkboxes" do check "toggle_bulk" page.all("input[type='checkbox'][name='bulk']").each{ |checkbox| @@ -931,6 +932,7 @@ describe ' expect(checkbox.checked?).to be false } end + # rubocop:enable Rails/FindEach it "displays a bulk action select box with a list of actions" do list_of_actions = ['Delete Selected'] diff --git a/spec/system/admin/enterprise_relationships_spec.rb b/spec/system/admin/enterprise_relationships_spec.rb index 1d84e4374d..50b2b89e33 100644 --- a/spec/system/admin/enterprise_relationships_spec.rb +++ b/spec/system/admin/enterprise_relationships_spec.rb @@ -138,6 +138,7 @@ create(:enterprise) end end + # rubocop:disable Rails/FindEach. # These are Capybara finders def find_relationship(parent, child) page.all('tr').each do |tr| return tr if tr.find('td:first-child').text == parent.name && @@ -146,4 +147,5 @@ create(:enterprise) end raise "relationship not found" end + # rubocop:enable Rails/FindEach. end From eb7e65a707bd4463e54ab6c5cc3c98e080d05ab5 Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Wed, 20 Mar 2024 10:33:08 -0300 Subject: [PATCH 130/374] chore(GETTING_STARTED.md): remove mention to RVM --- GETTING_STARTED.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index 0be05bdb65..7ecc0299e2 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -29,7 +29,7 @@ Fetch the latest version of `master` from `upstream` (ie. the main repo): This project needs specific ruby/bundler versions as well as node/yarn specific versions. For a local setup you will need: * Install or change your Ruby version according to the one specified at [.ruby-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.ruby-version) file) - - To manage versions, it's recommended to use [rbenv](https://github.com/rbenv/rbenv) or [RVM](https://rvm.io/) + - To manage versions, it's recommended to use [rbenv](https://github.com/rbenv/rbenv). * Install or change Node version according to the one specified at [.node-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.node-version) - [nodevn](https://github.com/nodenv/nodenv) is recommended as a node version manager. * PostgreSQL database From ccdd428b5755ae7dbf48e476f1199cbfe6e48462 Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Wed, 20 Mar 2024 10:45:24 -0300 Subject: [PATCH 131/374] chore(GETTING_STARTED.md): Mention docker at the bottom of the section preventing the contributor about aditional steps --- GETTING_STARTED.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index 7ecc0299e2..51827d64f9 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -43,6 +43,8 @@ The following guides will provide OS-specific step-by-step instructions to get t For those new to Rails, the following tutorial will help get you up to speed with configuring a [Rails environment](http://guides.rubyonrails.org/getting_started.html). +Another way to make it work locally would be using Docker. See the [Docker setup guide](docker/README.md). You will need to setup git and others aditional steps. + ### Get it running First, you need to create the database user the app will use by manually typing the following in your terminal: From cb47624702ea2063040c454fe533dd935659b332 Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Wed, 20 Mar 2024 10:48:02 -0300 Subject: [PATCH 132/374] chore(GETTING_STARTED.md): fix spelling --- GETTING_STARTED.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index 51827d64f9..c093b48305 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -24,7 +24,7 @@ Fetch the latest version of `master` from `upstream` (ie. the main repo): git fetch upstream master -### Instalation +### Installation This project needs specific ruby/bundler versions as well as node/yarn specific versions. For a local setup you will need: From d81fc44597ab5acaeff55143fcc9e996032504f6 Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Wed, 20 Mar 2024 11:03:16 -0300 Subject: [PATCH 133/374] chore(GETTING_STARTED.md): change instruction to nodenv, make it mandatory. --- GETTING_STARTED.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index c093b48305..3c39868bb1 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -30,7 +30,7 @@ This project needs specific ruby/bundler versions as well as node/yarn specific * Install or change your Ruby version according to the one specified at [.ruby-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.ruby-version) file) - To manage versions, it's recommended to use [rbenv](https://github.com/rbenv/rbenv). -* Install or change Node version according to the one specified at [.node-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.node-version) +* Install [nodenv](https://github.com/nodenv/nodenv) to ensure the correct [.node-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.node-version) is used. - [nodevn](https://github.com/nodenv/nodenv) is recommended as a node version manager. * PostgreSQL database * Redis (for background jobs) From 1e826e8308dc91558886534310dfb8995e8e7be0 Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Wed, 20 Mar 2024 11:37:52 -0300 Subject: [PATCH 134/374] chore(GETTING_STARTED.md): close parentheses --- GETTING_STARTED.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index 3c39868bb1..39223f53ac 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -28,7 +28,7 @@ Fetch the latest version of `master` from `upstream` (ie. the main repo): This project needs specific ruby/bundler versions as well as node/yarn specific versions. For a local setup you will need: -* Install or change your Ruby version according to the one specified at [.ruby-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.ruby-version) file) +* Install or change your Ruby version according to the one specified at [.ruby-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.ruby-version) file. - To manage versions, it's recommended to use [rbenv](https://github.com/rbenv/rbenv). * Install [nodenv](https://github.com/nodenv/nodenv) to ensure the correct [.node-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.node-version) is used. - [nodevn](https://github.com/nodenv/nodenv) is recommended as a node version manager. From 2d8cd2b1a5638a0432c6c03a6296b91bdc9dce23 Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Wed, 20 Mar 2024 11:43:43 -0300 Subject: [PATCH 135/374] chore(GETTING_STARTED.md): remove redundant advise about rbenv and node version --- GETTING_STARTED.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index 39223f53ac..b0414f0cea 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -55,7 +55,7 @@ sudo --login --user=postgres psql -c "CREATE USER ofn WITH SUPERUSER CREATEDB PA This will create the "ofn" user as superuser and allowing it to create databases. If this command fails, check the [troubleshooting section](#creating-the-database) for an alternative. -Next, it is _strongly recommended_ to run the setup script. This script assumes your ruby version manager is [rbenv](https://github.com/rbenv/rbenv). Make sure ruby and node versions match the project requirements and run: +Next, it is _strongly recommended_ to run the setup script: ```sh ./script/setup From e85e6066676d60cfbea2049ba691581fd18c046f Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Wed, 20 Mar 2024 18:35:40 -0300 Subject: [PATCH 136/374] chore(GETTING_STARTED.md): remove mention to git and aditional steps when mentioning docker alternative. Let docker section be its job --- GETTING_STARTED.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index b0414f0cea..461aa86f53 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -43,7 +43,7 @@ The following guides will provide OS-specific step-by-step instructions to get t For those new to Rails, the following tutorial will help get you up to speed with configuring a [Rails environment](http://guides.rubyonrails.org/getting_started.html). -Another way to make it work locally would be using Docker. See the [Docker setup guide](docker/README.md). You will need to setup git and others aditional steps. +Another way to make it work locally would be using Docker. See the [Docker setup guide](docker/README.md). ### Get it running From c6e88e70c3fc640ce7ba11c53bb1dec7da66c802 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 21 Mar 2024 09:49:11 +1100 Subject: [PATCH 137/374] Remove unused Devise login links partial content The purpose of this file was unclear and it was flagging additional maintenance like missing translations. --- app/views/devise/shared/_links.html.erb | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/app/views/devise/shared/_links.html.erb b/app/views/devise/shared/_links.html.erb index a4f3613e2c..8061cc19a8 100644 --- a/app/views/devise/shared/_links.html.erb +++ b/app/views/devise/shared/_links.html.erb @@ -1,19 +1,11 @@ -<%- if controller_name != 'sessions' %> - <%= link_to t(".sign_in"), new_session_path(resource_name) %>
-<% end %> +<%# Override Devise partial -<%- if devise_mapping.registerable? && controller_name != 'registrations' %> - <%= link_to t(".sign_up"), new_registration_path(resource_name) %>
-<% end %> +While this partial is unused in our app, Devise still renders it during +password reset and it fails to find `omniauth_authorize_path` which tries +to call `spree_user_openid_connect_omniauth_authorize_path` on our main app +while that helper is only defined on `Spree::Core::Engine.routes.url_helpers`. -<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %> - <%= link_to t(".forgot_your_password"), new_password_path(resource_name) %>
-<% end %> +This is just a workaround and the proper solution would be to include all Spree +routes in our main Rails app instead of having a separate Spree::Core engine. -<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %> - <%= link_to t('.didn_t_receive_confirmation_instructions'), new_confirmation_path(resource_name) %>
-<% end %> - -<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %> - <%= link_to t('.didn_t_receive_unlock_instructions'), new_unlock_path(resource_name) %>
-<% end %> +%> From 220e459da2956443b043805e4fe8084a9c68b5a5 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 21 Mar 2024 12:10:42 +1100 Subject: [PATCH 138/374] Publish full URLs of social media links on DFC API We have a quirky way of storing social media links in our database. The saved format results from the UI, validations and overridden getter methods. --- .../app/services/social_media_builder.rb | 8 ++++- .../services/social_media_builder_spec.rb | 34 +++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 engines/dfc_provider/spec/services/social_media_builder_spec.rb diff --git a/engines/dfc_provider/app/services/social_media_builder.rb b/engines/dfc_provider/app/services/social_media_builder.rb index bb13edc4f9..3c855b3d5b 100644 --- a/engines/dfc_provider/app/services/social_media_builder.rb +++ b/engines/dfc_provider/app/services/social_media_builder.rb @@ -12,10 +12,16 @@ class SocialMediaBuilder < DfcBuilder def self.social_media(enterprise, name) return nil unless name.in?(NAMES) - url = enterprise.attributes[name] + url = enterprise.public_send(name) return nil if url.blank? + if name == "instagram" + url = "https://www.instagram.com/#{url}/" + end + + url = "https://#{url}" unless url.starts_with?(%r{https?://}) + DataFoodConsortium::Connector::SocialMedia.new( urls.enterprise_social_media_url(enterprise.id, name), name:, url:, diff --git a/engines/dfc_provider/spec/services/social_media_builder_spec.rb b/engines/dfc_provider/spec/services/social_media_builder_spec.rb new file mode 100644 index 0000000000..633ce732d8 --- /dev/null +++ b/engines/dfc_provider/spec/services/social_media_builder_spec.rb @@ -0,0 +1,34 @@ +# frozen_string_literal: true + +require_relative "../spec_helper" + +describe SocialMediaBuilder do + let(:enterprise) do + create( + :enterprise, + id: 10_000, + + # These formats are requested by our UI: + facebook: "www.facebook.com/user", + instagram: "handle", + linkedin: "www.linkedin.com/company/name", + ) + end + + describe ".social_media" do + it "links to Facebook" do + result = SocialMediaBuilder.social_media(enterprise, "facebook") + expect(result.url).to eq "https://www.facebook.com/user" + end + + it "links to Instagram" do + result = SocialMediaBuilder.social_media(enterprise, "instagram") + expect(result.url).to eq "https://www.instagram.com/handle/" + end + + it "links to Linkedin" do + result = SocialMediaBuilder.social_media(enterprise, "linkedin") + expect(result.url).to eq "https://www.linkedin.com/company/name" + end + end +end From 54738fc5520feac9272145520109dd55becfa272 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 20 Mar 2024 15:35:00 +1100 Subject: [PATCH 139/374] Remove unnecessary method checkout_steps It allowed introspection of a dynamic state machine. But the only two usages of this method only referred to the first state which is always the same. Our complicated checkout logic needs more clarity and introducing some hardcoded state names here can only help. --- app/controllers/spree/orders_controller.rb | 2 +- app/models/spree/order/checkout.rb | 21 +-------------------- spec/models/spree/order/checkout_spec.rb | 16 ---------------- spec/models/spree/order_spec.rb | 13 ------------- 4 files changed, 2 insertions(+), 50 deletions(-) diff --git a/app/controllers/spree/orders_controller.rb b/app/controllers/spree/orders_controller.rb index f1055785c6..7ac23f8222 100644 --- a/app/controllers/spree/orders_controller.rb +++ b/app/controllers/spree/orders_controller.rb @@ -82,7 +82,7 @@ module Spree format.html do if params.key?(:checkout) @order.next_transition.run_callbacks if @order.cart? - redirect_to main_app.checkout_step_path(@order.checkout_steps.first) + redirect_to main_app.checkout_step_path("address") elsif @order.complete? redirect_to main_app.order_path(@order) else diff --git a/app/models/spree/order/checkout.rb b/app/models/spree/order/checkout.rb index e5a09f2cc3..e51ffe442a 100644 --- a/app/models/spree/order/checkout.rb +++ b/app/models/spree/order/checkout.rb @@ -8,7 +8,6 @@ module Spree class_attribute :next_event_transitions class_attribute :previous_states class_attribute :checkout_flow - class_attribute :checkout_steps def self.checkout_flow(&block) if block_given? @@ -20,7 +19,6 @@ module Spree end def self.define_state_machine! - self.checkout_steps = {} self.next_event_transitions = [] self.previous_states = [:cart] @@ -97,7 +95,6 @@ module Spree end def self.go_to_state(name, options = {}) - checkout_steps[name] = options previous_states.each do |state| add_transition({ from: state, to: name }.merge(options)) end @@ -112,30 +109,14 @@ module Spree @next_event_transitions ||= [] end - def self.checkout_steps - @checkout_steps ||= {} - end - def self.add_transition(options) next_event_transitions << { options.delete(:from) => options.delete(:to) }. merge(options) end - def checkout_steps - steps = self.class.checkout_steps. - each_with_object([]) { |(step, options), checkout_steps| - next if options.include?(:if) && !options[:if].call(self) - - checkout_steps << step - }.map(&:to_s) - # Ensure there is always a complete step - steps << "complete" unless steps.include?("complete") - steps - end - def restart_checkout_flow update_columns( - state: checkout_steps.first, + state: "address", updated_at: Time.zone.now, ) end diff --git a/spec/models/spree/order/checkout_spec.rb b/spec/models/spree/order/checkout_spec.rb index 391442e2f6..a8686917b2 100644 --- a/spec/models/spree/order/checkout_spec.rb +++ b/spec/models/spree/order/checkout_spec.rb @@ -6,22 +6,6 @@ describe Spree::Order::Checkout do let(:order) { Spree::Order.new } context "with default state machine" do - context "#checkout_steps" do - context "when payment not required" do - before { allow(order).to receive_messages payment_required?: false } - specify do - expect(order.checkout_steps).to eq %w(address delivery confirmation complete) - end - end - - context "when payment required" do - before { allow(order).to receive_messages payment_required?: true } - specify do - expect(order.checkout_steps).to eq %w(address delivery payment confirmation complete) - end - end - end - it "starts out at cart" do expect(order.state).to eq "cart" end diff --git a/spec/models/spree/order_spec.rb b/spec/models/spree/order_spec.rb index 480cef7cab..e3efd69a4b 100644 --- a/spec/models/spree/order_spec.rb +++ b/spec/models/spree/order_spec.rb @@ -1325,19 +1325,6 @@ describe Spree::Order do end end - describe "determining checkout steps for an order" do - let!(:enterprise) { create(:enterprise) } - let!(:order) { create(:order, distributor: enterprise) } - let!(:payment_method) { - create(:stripe_sca_payment_method, distributor_ids: [enterprise.id]) - } - let!(:payment) { create(:payment, order:, payment_method:) } - - it "does not include the :confirm step" do - expect(order.checkout_steps).not_to include "confirm" - end - end - describe "payments" do let(:payment_method) { create(:payment_method) } let(:shipping_method) { create(:shipping_method) } From 3455ffd507f4409936d3bcb0a568cacf22312489 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Mar 2024 09:57:20 +0000 Subject: [PATCH 140/374] chore(deps): bump @hotwired/turbo from 8.0.3 to 8.0.4 Bumps [@hotwired/turbo](https://github.com/hotwired/turbo) from 8.0.3 to 8.0.4. - [Release notes](https://github.com/hotwired/turbo/releases) - [Commits](https://github.com/hotwired/turbo/compare/v8.0.3...v8.0.4) --- updated-dependencies: - dependency-name: "@hotwired/turbo" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 39508eb65a..d9bbb8076b 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@floating-ui/dom": "^1.6.3", - "@hotwired/turbo": "^8.0.3", + "@hotwired/turbo": "^8.0.4", "@rails/webpacker": "5.4.4", "cable_ready": "5.0.1", "debounced": "^0.0.5", diff --git a/yarn.lock b/yarn.lock index 463d575452..2c08ca5520 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1122,10 +1122,10 @@ resolved "https://registry.yarnpkg.com/@hotwired/stimulus/-/stimulus-3.2.2.tgz#071aab59c600fed95b97939e605ff261a4251608" integrity sha512-eGeIqNOQpXoPAIP7tC1+1Yc1yl1xnwYqg+3mzqxyrbE5pg5YFBZcA6YoTiByJB6DKAEsiWtl6tjTJS4IYtbB7A== -"@hotwired/turbo@^8.0.3": - version "8.0.3" - resolved "https://registry.yarnpkg.com/@hotwired/turbo/-/turbo-8.0.3.tgz#338e07278f4b3c76921328d3c92dbc4831c209d0" - integrity sha512-qLgp7d6JaegKjMToTJahosrFxV3odfSbiekispQ3soOzE5jnU+iEMWlRvYRe/jvy5Q+JWoywtf9j3RD4ikVjIg== +"@hotwired/turbo@^8.0.4": + version "8.0.4" + resolved "https://registry.yarnpkg.com/@hotwired/turbo/-/turbo-8.0.4.tgz#5c5361c06a37cdf10dcba4223f1afd0ca1c75091" + integrity sha512-mlZEFUZrJnpfj+g/XeCWWuokvQyN68WvM78JM+0jfSFc98wegm259vCbC1zSllcspRwbgXK31ibehCy5PA78/Q== "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" From 42520216aa5b678bc71f98f5e871639b25b059b1 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 22 Mar 2024 15:34:25 +1100 Subject: [PATCH 141/374] Update all locales with the latest Transifex translations --- config/locales/ar.yml | 3 ++ config/locales/ca.yml | 3 ++ config/locales/cy.yml | 3 ++ config/locales/de_CH.yml | 9 ++-- config/locales/de_DE.yml | 3 ++ config/locales/el.yml | 3 ++ config/locales/en_AU.yml | 3 ++ config/locales/en_BE.yml | 3 ++ config/locales/en_CA.yml | 3 ++ config/locales/en_DE.yml | 3 ++ config/locales/en_FR.yml | 6 +++ config/locales/en_GB.yml | 3 ++ config/locales/en_IE.yml | 101 ++++++++++++++++++++++++++++++++++++-- config/locales/en_IN.yml | 3 ++ config/locales/en_NZ.yml | 3 ++ config/locales/en_PH.yml | 3 ++ config/locales/en_US.yml | 3 ++ config/locales/en_ZA.yml | 3 ++ config/locales/es.yml | 3 ++ config/locales/es_CO.yml | 3 ++ config/locales/es_CR.yml | 3 ++ config/locales/es_US.yml | 3 ++ config/locales/fil_PH.yml | 3 ++ config/locales/fr.yml | 10 +++- config/locales/fr_BE.yml | 5 ++ config/locales/fr_CA.yml | 3 ++ config/locales/fr_CH.yml | 3 ++ config/locales/fr_CM.yml | 3 ++ config/locales/hi.yml | 3 ++ config/locales/hu.yml | 42 ++++++++++++++++ config/locales/it.yml | 3 ++ config/locales/it_CH.yml | 3 ++ config/locales/ko.yml | 3 ++ config/locales/ml.yml | 3 ++ config/locales/mr.yml | 3 ++ config/locales/nb.yml | 3 ++ config/locales/nl_BE.yml | 3 ++ config/locales/pa.yml | 3 ++ config/locales/pl.yml | 3 ++ config/locales/pt.yml | 3 ++ config/locales/pt_BR.yml | 3 ++ config/locales/ru.yml | 3 ++ config/locales/sv.yml | 2 + config/locales/tr.yml | 3 ++ config/locales/uk.yml | 3 ++ 45 files changed, 281 insertions(+), 8 deletions(-) diff --git a/config/locales/ar.yml b/config/locales/ar.yml index 99412db96b..618c451135 100644 --- a/config/locales/ar.yml +++ b/config/locales/ar.yml @@ -745,6 +745,9 @@ ar: product_categories: فئات المنتجات tax_categories: فئات الضرائب shipping_categories: فئات الشحن + dfc_import_form: + enterprise: "الشركة" + import: "استيراد" import: review: مراجعة import: استيراد diff --git a/config/locales/ca.yml b/config/locales/ca.yml index 7fd0d38936..8d862ea74a 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -809,6 +809,9 @@ ca: product_categories: Tipus de productes tax_categories: Tipus d'impostos shipping_categories: Tipus d'enviament + dfc_import_form: + enterprise: "Organització" + import: "Importa" import: review: Revisa import: Importa diff --git a/config/locales/cy.yml b/config/locales/cy.yml index 7655e24f2a..9aefe37d48 100644 --- a/config/locales/cy.yml +++ b/config/locales/cy.yml @@ -846,6 +846,9 @@ cy: product_categories: Categorïau Cynnyrch tax_categories: Categorïau Treth shipping_categories: Categorïau Cludo + dfc_import_form: + enterprise: "Menter" + import: "Mewnforio" import: review: Adolygu import: Mewnforio diff --git a/config/locales/de_CH.yml b/config/locales/de_CH.yml index 2be738f4bb..0d0c8501fc 100644 --- a/config/locales/de_CH.yml +++ b/config/locales/de_CH.yml @@ -735,6 +735,9 @@ de_CH: product_categories: Produktkategorien tax_categories: Steuerkategorien shipping_categories: Lieferkategorien + dfc_import_form: + enterprise: "Unternehmen" + import: "Importieren" import: review: Überprüfung import: Importieren @@ -881,7 +884,7 @@ de_CH: legend: "Adresse" business_details: legend: "Geschäftsdetails" - abn: USt-IdNr. + abn: MWST nr. abn_placeholder: z. B. DE999999999 acn: St.-Nr. acn_placeholder: z. B. 93815/08152 @@ -1720,7 +1723,7 @@ de_CH: invoice_shipping_category_pickup: "Abholen" total_excl_tax: "Netto (zzgl. Steuern):" total_incl_tax: "GESAMT (inkl. Steuern):" - abn: "USt-IdNr.:" + abn: "MWST nr." acn: "St.-Nr.:" invoice_issued_on: "Rechnungsdatum:" date_of_transaction: "Bestelldatum:" @@ -2351,7 +2354,7 @@ de_CH: enterprise_long_desc: "Ausführliche Beschreibung (empfohlen)" enterprise_long_desc_placeholder: "Erzählen Sie hier die Geschichte Ihres Unternehmens - was macht Sie anders und wunderbar? Wir empfehlen, die Beschreibung unter 600 Zeichen oder 150 Wörtern zu halten." enterprise_long_desc_length: "%{num} Zeichen/bis zu 600 empfohlen" - enterprise_abn: "USt-IdNr. (optional für Rechnungserstellung)" + enterprise_abn: "MWST nr. (optional für Rechnungserstellung)" enterprise_abn_placeholder: "z. B. DE999999999" enterprise_acn: "St.-Nr. (optional für Rechnungserstellung)" enterprise_acn_placeholder: "z. B. 93815/08152" diff --git a/config/locales/de_DE.yml b/config/locales/de_DE.yml index f05e229911..ec8ad69aa6 100644 --- a/config/locales/de_DE.yml +++ b/config/locales/de_DE.yml @@ -831,6 +831,9 @@ de_DE: product_categories: Produktkategorien tax_categories: Steuerkategorien shipping_categories: Lieferkategorien + dfc_import_form: + enterprise: "Unternehmen" + import: "Importieren" import: review: Überprüfung import: Importieren diff --git a/config/locales/el.yml b/config/locales/el.yml index db50d2bfee..97d367a68e 100644 --- a/config/locales/el.yml +++ b/config/locales/el.yml @@ -630,6 +630,9 @@ el: product_categories: Κατηγορίες προϊόντος tax_categories: Κατηγορίες Φορολόγησης shipping_categories: Κατηγορίες Μεταφορικών + dfc_import_form: + enterprise: "Επιχείρηση" + import: "Εισαγωγή" import: review: Αναθεώρηση import: Εισαγωγή diff --git a/config/locales/en_AU.yml b/config/locales/en_AU.yml index 21963297cd..e36a51f9d2 100644 --- a/config/locales/en_AU.yml +++ b/config/locales/en_AU.yml @@ -594,6 +594,9 @@ en_AU: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + enterprise: "Enterprise" + import: "Import" import: review: Review import: Import diff --git a/config/locales/en_BE.yml b/config/locales/en_BE.yml index d34967e6ae..be82f1371c 100644 --- a/config/locales/en_BE.yml +++ b/config/locales/en_BE.yml @@ -552,6 +552,9 @@ en_BE: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + enterprise: "Enterprise" + import: "Import" import: review: Review import: Import diff --git a/config/locales/en_CA.yml b/config/locales/en_CA.yml index c8dcec70d9..217f311200 100644 --- a/config/locales/en_CA.yml +++ b/config/locales/en_CA.yml @@ -857,6 +857,9 @@ en_CA: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + enterprise: "Enterprise" + import: "Import" import: review: Review import: Import diff --git a/config/locales/en_DE.yml b/config/locales/en_DE.yml index 68cb723338..e75e9957e4 100644 --- a/config/locales/en_DE.yml +++ b/config/locales/en_DE.yml @@ -559,6 +559,9 @@ en_DE: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + enterprise: "Enterprise" + import: "Import" import: review: Review import: Import diff --git a/config/locales/en_FR.yml b/config/locales/en_FR.yml index ad7d73d7ee..f433c2202b 100644 --- a/config/locales/en_FR.yml +++ b/config/locales/en_FR.yml @@ -509,6 +509,7 @@ en_FR: colums: Columns columns: name: Name + unit_scale: Unit scale unit: Unit price: Price producer: Producer @@ -857,6 +858,9 @@ en_FR: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + enterprise: "Enterprise" + import: "Import" import: review: Review import: Import @@ -3722,6 +3726,8 @@ en_FR: start_date: "Start date" successfully_removed: "Successfully Removed" taxonomy_edit: "Taxonomy edit" + taxonomy_tree_error: "There was an error updating the taxonomy tree." + taxonomy_tree_instruction: "Right-click on an item to add, rename, remove or edit." tree: "Tree" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" diff --git a/config/locales/en_GB.yml b/config/locales/en_GB.yml index e31aa4113f..7917fab67f 100644 --- a/config/locales/en_GB.yml +++ b/config/locales/en_GB.yml @@ -845,6 +845,9 @@ en_GB: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + enterprise: "Enterprise" + import: "Import" import: review: Review import: Import diff --git a/config/locales/en_IE.yml b/config/locales/en_IE.yml index 10ee295db8..2ec7d875a2 100644 --- a/config/locales/en_IE.yml +++ b/config/locales/en_IE.yml @@ -1,5 +1,8 @@ en_IE: language_name: "English" + time: + formats: + long: "%B %d, %Y %-l:%M %p" activerecord: models: spree/product: Product @@ -75,6 +78,10 @@ en_IE: models: enterprise_fee: inherit_tax_requires_per_item_calculator: "Inheriting the tax categeory requires a per-item calculator." + spree/image: + attributes: + attachment: + integrity_error: "failed to load. Please check to ensure the file is not corrupt, and try again." spree/user: attributes: email: @@ -384,6 +391,7 @@ en_IE: cancel_order: "Cancel Order" confirm_send_invoice: "An invoice for this order will be sent to the customer. Are you sure you want to continue?" confirm_resend_order_confirmation: "Are you sure you want to resend the order confirmation email?" + must_have_valid_business_number: "%{enterprise_name} must have a company number before invoices can be used." invoice: "Invoice" invoices: "Invoices" file: "File" @@ -501,6 +509,7 @@ en_IE: colums: Columns columns: name: Name + unit_scale: Unit scale unit: Unit price: Price producer: Producer @@ -593,6 +602,9 @@ en_IE: has_n_rules: "has %{num} rules" unsaved_confirm_leave: "There are unsaved changed on this page. Continue without saving?" available_units: "Available Units" + terms_of_service_have_been_updated_html: "Open Food Network's Terms of Service have been updated: %{tos_link}" + terms_of_service: Read Terms of Service + accept_terms_of_service: Accept Terms of Service shopfront_settings: embedded_shopfront_settings: "Embedded Shopfront Settings" enable_embedded_shopfronts: "Enable Embedded Shopfronts" @@ -617,7 +629,7 @@ en_IE: title: "Invoice Settings" enable_invoices?: "Enable Invoices?" invoice_style2?: "Use the alternative invoice model that includes total tax breakdown per rate and tax rate info per item (not yet suitable for countries displaying prices excluding tax)" - enterprise_number_required_on_invoices?: "Require an ABN to generate an invoice?" + enterprise_number_required_on_invoices?: "Require a company number to generate an invoice?" stripe_connect_settings: edit: title: "Stripe Connect" @@ -746,6 +758,17 @@ en_IE: header: title: Bulk Edit Products loading: Loading your products + delete_modal: + delete_product_modal: + heading: "Delete product" + prompt: "This will permanently remove it from your list." + confirmation_text: "Delete product" + cancellation_text: "Keep product" + delete_variant_modal: + heading: "Delete variant" + prompt: "This will permanently remove it from your list." + confirmation_text: "Delete variant" + cancellation_text: "Keep variant" sort: pagination: total_html: "%{total} products found for your search criteria. Showing %{from} to %{to}." @@ -755,7 +778,9 @@ en_IE: clear_search: Clear search filters: search_products: Search for products + search_for_producers: Search for producers all_producers: All producers + search_for_categories: Search for categories all_categories: All categories producers: label: Producers @@ -780,8 +805,18 @@ en_IE: reset: Discard changes save: Save changes new_variant: New variant + bulk_update: + success: Changes saved edit_image: + title: Edit product photo close: Back + upload: Upload photo + delete_product: + success: Successfully deleted the product + error: Unable to delete the product + delete_variant: + success: Successfully deleted the variant + error: Unable to delete the variant product_import: title: Product Import file_not_found: File not found or could not be opened @@ -823,6 +858,9 @@ en_IE: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + enterprise: "Enterprise" + import: "Import" import: review: Review import: Import @@ -1027,6 +1065,7 @@ en_IE: images: legend: "Images" logo: Logo + logo_size: "300 x 300 pixels" promo_image_placeholder: 'This image is displayed in "About Us"' promo_image_note1: 'PLEASE NOTE:' promo_image_note2: Any promo image uploaded here will be cropped to 1200 x 260. @@ -1212,7 +1251,28 @@ en_IE: custom_tab_title: "Title for custom tab" custom_tab_content: "Content for custom tab" connected_apps: + legend: "Connected apps" + title: "Discover Regenerative" + tagline: "Allow Discover Regenerative to publish your enterprise information." + enable: "Allow data sharing" + disable: "Stop sharing" loading: "Loading" + note: | + Your Open Food Network account is connected to Discover Regenerative. + Add or update information on your Discover Regenerative listing here. + link_label: "Manage listing" + description_html: | +

+ Eligible producers can showcase their regenerative credentials, + farming practices and more through a profile listing. + Simplifying how buyers can find regenerative produce and connect + with producers of interest. +

+

+ Learn more about Discover Regenerative + +

actions: edit_profile: Settings properties: Properties @@ -1442,6 +1502,8 @@ en_IE: has_no_payment_methods: "%{enterprise} has no payment methods" has_no_shipping_methods: "%{enterprise} has no shipping methods" has_no_enterprise_fees: "%{enterprise} has no enterprise fees" + flashes: + dismiss: Dismiss side_menu: enterprise: primary_details: "Primary Details" @@ -1462,6 +1524,7 @@ en_IE: users: "Users" vouchers: Vouchers white_label: "White Label" + connected_apps: "Connected apps" enterprise_group: primary_details: "Primary Details" users: "Users" @@ -1581,9 +1644,15 @@ en_IE: index: title: "OIDC Settings" connect: "Connect Your Account" + disconnect: "Disconnect" + connected: "Your account is linked to %{uid}." les_communs_link: "Les Communs Open ID server" link_your_account: "You need first to link your account with the authorization provider used by DFC (Les Communs Open ID Connect)." link_account_button: "Link your Les Communs OIDC Account" + note_expiry: | + Tokens to access connected apps have expired. Please refresh your + account connection to keep all integrations working. + refresh: "Refresh authorisation" view_account: "To view your account, see:" subscriptions: index: @@ -1900,6 +1969,7 @@ en_IE: invoice_column_price_per_unit_without_taxes: "Price Per unit (Excl. tax)" invoice_column_tax_rate: "Tax rate" invoice_tax_total: "VAT Total:" + invoice_cancel_and_replace_invoice: "cancels and replaces invoice" tax_invoice: "TAX INVOICE" tax_total: "Total tax (%{rate}):" invoice_shipping_category_delivery: "Delivery" @@ -1922,8 +1992,8 @@ en_IE: menu_4_url: "/groups" menu_5_title: "About" menu_5_url: "https://about.openfoodnetwork.ie" - menu_6_title: "Blog" - menu_6_url: "https://about.openfoodnetwork.ie/blog" + menu_6_title: "Resources" + menu_6_url: "https://about.openfoodnetwork.ie/resources" menu_7_title: "Support" menu_7_url: "https://about.openfoodnetwork.ie/support" logo: "Logo (640x130)" @@ -2123,6 +2193,9 @@ en_IE: order_back_to_store: Back To Store order_back_to_cart: Back To Cart order_back_to_website: Back To Website + checkout_details_title: Checkout Details + checkout_payment_title: Checkout Payment + checkout_summary_title: Checkout Summary bom_tip: "Use this page to alter product quantities across multiple orders. Products may also be removed from orders entirely, if required." unsaved_changes_warning: "Unsaved changes exist and will be lost if you continue." unsaved_changes_error: "Fields with red borders contain errors." @@ -2985,6 +3058,8 @@ en_IE: report_header_transaction_fee: Transaction Fee (no tax) report_header_total_untaxable_admin: Total untaxable admin adjustments (no tax) report_header_total_taxable_admin: Total taxable admin adjustments (tax inclusive) + report_header_voucher_label: Voucher Label + report_header_voucher_amount: "Voucher Amount (%{currency_symbol})" report_line_cost_of_produce: Cost of produce report_line_line_items: line items report_header_last_completed_order_date: Last completed order date @@ -3306,6 +3381,7 @@ en_IE: processing: "processing" void: "void" invalid: "invalid" + quantity_unavailable: "Insufficient stock available. Line item unsaved!" quantity_unchanged: "Quantity unchanged from previous amount." cancel_the_order_html: "This will cancel the current order.
Are you sure you want to proceed?" cancel_the_order_send_cancelation_email: "Send a cancellation email to the customer" @@ -3656,6 +3732,8 @@ en_IE: start_date: "Start date" successfully_removed: "Successfully Removed" taxonomy_edit: "Taxonomy edit" + taxonomy_tree_error: "There was an error updating the taxonomy tree." + taxonomy_tree_instruction: "Right-click on an item to add, rename, remove or edit." tree: "Tree" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" @@ -3708,6 +3786,7 @@ en_IE: credit_card: "Credit Card" new_payment: "New Payment" capture: "Capture" + capture_and_complete_order: "Capture and complete order" void: "Void" login: "Login" password: "Password" @@ -3949,6 +4028,9 @@ en_IE: add_product: cannot_add_item_to_canceled_order: "Cannot add item to canceled order" include_out_of_stock_variants: "Include variants with no available stock" + shipment: + mark_as_shipped_message_html: "This will mark the order as Shipped.
Are you sure you want to proceed?" + mark_as_shipped_label_message: "Send a shipment/pick up notification email to the customer." index: listing_orders: "Listing Orders" new_order: "New Order" @@ -4007,6 +4089,9 @@ en_IE: line_item_adjustments: "Line Item Adjustments" order_adjustments: "Order Adjustments" order_total: "Order Total" + invoices: + index: + order_has_changed: "The order has changed since the last invoice update. The invoice shown here might not be up-to-date anymore." overview: enterprises_header: ofn_with_tip: Enterprises are Producers and/or Hubs and are the basic unit of organisation within the Open Food Network. @@ -4015,6 +4100,7 @@ en_IE: has_no_payment_methods: "has no payment methods" has_no_shipping_methods: "has no shipping methods" products: + products_tip: "The products that you sell through the Open Food Network." active_products: zero: "You don't have any active products." one: "You have one active product" @@ -4167,6 +4253,8 @@ en_IE: bulk_unit_size: Bulk unit size display_as: display_as: Display As + clone: + success: Product cloned reports: table: select_and_search: "Select filters and click on %{option} to access your data." @@ -4240,7 +4328,11 @@ en_IE: form: name: Name permalink: Permalink + meta_title: Meta Title + meta_description: Meta Description + meta_keywords: Meta Keywords description: Description + dfc_id: DFC URI general_settings: edit: legal_settings: "Legal Settings" @@ -4536,3 +4628,6 @@ en_IE: pagination: next: Next previous: Previous + invisible_captcha: + sentence_for_humans: "Please leave empty" + timestamp_error_message: "Please try again after 5 seconds." diff --git a/config/locales/en_IN.yml b/config/locales/en_IN.yml index e139bb021d..e1101b2857 100644 --- a/config/locales/en_IN.yml +++ b/config/locales/en_IN.yml @@ -578,6 +578,9 @@ en_IN: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + enterprise: "Enterprise" + import: "Import" import: review: Review import: Import diff --git a/config/locales/en_NZ.yml b/config/locales/en_NZ.yml index 4f54e8810b..765448476d 100644 --- a/config/locales/en_NZ.yml +++ b/config/locales/en_NZ.yml @@ -731,6 +731,9 @@ en_NZ: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + enterprise: "Enterprise" + import: "Import" import: review: Review import: Import diff --git a/config/locales/en_PH.yml b/config/locales/en_PH.yml index 2d6c548ccd..2809b9821f 100644 --- a/config/locales/en_PH.yml +++ b/config/locales/en_PH.yml @@ -569,6 +569,9 @@ en_PH: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + enterprise: "Enterprise" + import: "Import" import: review: Review import: Import diff --git a/config/locales/en_US.yml b/config/locales/en_US.yml index 6eb3f2415f..5ef675891d 100644 --- a/config/locales/en_US.yml +++ b/config/locales/en_US.yml @@ -709,6 +709,9 @@ en_US: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + enterprise: "Enterprise" + import: "Import" import: review: Review import: Import diff --git a/config/locales/en_ZA.yml b/config/locales/en_ZA.yml index bc36137e74..d9865ca8e6 100644 --- a/config/locales/en_ZA.yml +++ b/config/locales/en_ZA.yml @@ -573,6 +573,9 @@ en_ZA: product_categories: Product Categories tax_categories: Tax Categories shipping_categories: Shipping Categories + dfc_import_form: + enterprise: "Enterprise" + import: "Import" import: review: Review import: Import diff --git a/config/locales/es.yml b/config/locales/es.yml index 0e719aef65..7bb5c36599 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -748,6 +748,9 @@ es: product_categories: Categorías de Producto tax_categories: Categorías de impuestos shipping_categories: Categorías de envío + dfc_import_form: + enterprise: "Organización" + import: "Importar" import: review: Revisión import: Importar diff --git a/config/locales/es_CO.yml b/config/locales/es_CO.yml index 1d1d4a2af0..8f0bc6c24e 100644 --- a/config/locales/es_CO.yml +++ b/config/locales/es_CO.yml @@ -598,6 +598,9 @@ es_CO: product_categories: Categorías de producto tax_categories: Categorías de impuestos shipping_categories: Categorías de envío + dfc_import_form: + enterprise: "Organización" + import: "Importar" import: review: Revisión import: Importar diff --git a/config/locales/es_CR.yml b/config/locales/es_CR.yml index caf1766932..84817dcefc 100644 --- a/config/locales/es_CR.yml +++ b/config/locales/es_CR.yml @@ -735,6 +735,9 @@ es_CR: product_categories: Categorías de producto tax_categories: Categorías de impuestos shipping_categories: Categorías de envío + dfc_import_form: + enterprise: "Organización" + import: "Importar" import: review: Revisión import: Importar diff --git a/config/locales/es_US.yml b/config/locales/es_US.yml index 196864cf35..14ba901734 100644 --- a/config/locales/es_US.yml +++ b/config/locales/es_US.yml @@ -707,6 +707,9 @@ es_US: product_categories: Categorías de Producto tax_categories: Categorías de impuestos shipping_categories: Categorías de envío + dfc_import_form: + enterprise: "Organización" + import: "Importar" import: review: Revisión import: Importar diff --git a/config/locales/fil_PH.yml b/config/locales/fil_PH.yml index 6e7b0726db..2399d5de45 100644 --- a/config/locales/fil_PH.yml +++ b/config/locales/fil_PH.yml @@ -570,6 +570,9 @@ fil_PH: product_categories: kategorya ng produkto tax_categories: kategorya ng tax shipping_categories: mga kategorya ng pagpapadala + dfc_import_form: + enterprise: "Enterprise" + import: "ilipat" import: review: suriin import: i-import diff --git a/config/locales/fr.yml b/config/locales/fr.yml index b61725dbef..ae5adfccf4 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -310,7 +310,7 @@ fr: email_registered: "va, dès que vous aurez choisi un type d'entreprise, être créé sur" email_userguide_html: "Le Guide Utilisateur est là pour vous accompagner dans la prise en main de la plateforme. Vous y trouverez les informations détaillées de paramétrage de votre entreprise, de vos produits si vous êtes producteur, et éventuellement de votre boutique. Pour accéder au guide en français, cliquez ici : %{link}" userguide: "Guide utilisateur" - email_admin_html: "Pour gérez votre entreprise, rendez-vous sur l’%{link}. Si vous choisissez CoopCircuits pour organiser vos ventes, l’utilisation est gratuite les 3 premiers mois pour vous permettre de tester notre solution. Au-delà, vous devrez choisir une de nos offres pour continuer à utiliser le service (voir rubrique “nos offres” sur notre site internet)." + email_admin_html: "Pour gérer votre entreprise, rendez-vous sur l’%{link}. Si vous choisissez CoopCircuits pour organiser vos ventes, l’utilisation est gratuite les 3 premiers mois pour vous permettre de tester notre solution. Au-delà, vous devrez choisir une de nos offres pour continuer à utiliser le service (voir rubrique “nos offres” sur notre site internet)." admin_panel: "interface d'administration" email_community_html: "Nous avons aussi un forum de discussion en ligne pour échanger avec la communauté sur des questions liées à la plateforme ou aux défis de la gestion d'un circuit court. Nous vous invitons à y participer ! %{link}" join_community: "Accéder au forum" @@ -508,6 +508,7 @@ fr: colums: Colonnes columns: name: Nom + unit_scale: Échelle d'unité unit: Unité price: Prix producer: Producteur @@ -769,7 +770,7 @@ fr: cancellation_text: "Conserver la variante" sort: pagination: - total_html: "%{total} produits trouvés selon vos critères de recherche. Montrer %{from} à %{to}." + total_html: "%{total} produits trouvés selon vos critères de recherche. Résultats %{from} à %{to}." per_page: show: Montrer per_page: "%{num} par page" @@ -857,6 +858,9 @@ fr: product_categories: Catégorie Produit tax_categories: TVA applicable shipping_categories: Conditions de transport + dfc_import_form: + enterprise: "Entreprise" + import: "Importer" import: review: Vérifier import: Importer @@ -3779,6 +3783,8 @@ fr: start_date: "Date de début" successfully_removed: "Supprimé avec succès" taxonomy_edit: "Modifier la taxonomie" + taxonomy_tree_error: "Erreur lors de la mise à jour de l'arbre de taxonomie." + taxonomy_tree_instruction: "Faites un clic droit sur un article pour ajouter, renommer, supprimer ou modifier." tree: "Arbre" updating: "Mettre à jour" your_order_is_empty_add_product: "Votre commande est vide, veuillez ajouter des produits" diff --git a/config/locales/fr_BE.yml b/config/locales/fr_BE.yml index 0e6201c0ad..26a6f97f4f 100644 --- a/config/locales/fr_BE.yml +++ b/config/locales/fr_BE.yml @@ -732,6 +732,9 @@ fr_BE: product_categories: Catégorie Produit tax_categories: TVA applicable shipping_categories: Condition de transport + dfc_import_form: + enterprise: "Entreprise" + import: "Importer" import: review: Vérifier import: Importer @@ -2519,6 +2522,7 @@ fr_BE: calculator: "Calculateur" calculator_values: "Valeurs applicables" calculator_settings_warning: "Si vous changez le type de calculatrice, vous devez d'abord enregistrer avant de pouvoir modifier les paramètres de la calculatrice" + calculator_preferred_unit_error: "doit être en kg ou en lb" flat_percent_per_item: "Pourcentage net" flat_rate_per_item: "Montant fixe (par article)" flat_rate_per_order: "Montant fixe (par commande)" @@ -3526,6 +3530,7 @@ fr_BE: inventory_error_flash_for_insufficient_quantity: "Une donnée n'est plus disponible sur votre carte." inventory: Catalogue boutique zipcode: Code postal + weight: Poids (par kg ou lb) error_user_destroy_with_orders: "Les utilisateurs avec une commande finalisée ne peuvent pas être supprimés" cannot_create_payment_without_payment_methods: "Vous ne pouvez pas créer un paiement pour une commande sans qu'aucun mode de paiement ne soit défini." please_define_payment_methods: "Veuillez d'abord définir certains modes de paiement." diff --git a/config/locales/fr_CA.yml b/config/locales/fr_CA.yml index d22c5ffd05..c40bcf4646 100644 --- a/config/locales/fr_CA.yml +++ b/config/locales/fr_CA.yml @@ -812,6 +812,9 @@ fr_CA: product_categories: Catégorie Produit tax_categories: Taxe applicable shipping_categories: Condition de transport + dfc_import_form: + enterprise: "Entreprise" + import: "Importer" import: review: Vérifier import: Importer diff --git a/config/locales/fr_CH.yml b/config/locales/fr_CH.yml index cfbd2e8d15..a17ba60ecd 100644 --- a/config/locales/fr_CH.yml +++ b/config/locales/fr_CH.yml @@ -729,6 +729,9 @@ fr_CH: product_categories: Catégorie Produit tax_categories: TVA applicable shipping_categories: Conditions de transport + dfc_import_form: + enterprise: "Entreprise" + import: "Importer" import: review: Vérifier import: Importer diff --git a/config/locales/fr_CM.yml b/config/locales/fr_CM.yml index 9ab4dbc636..13ba93bf9d 100644 --- a/config/locales/fr_CM.yml +++ b/config/locales/fr_CM.yml @@ -666,6 +666,9 @@ fr_CM: product_categories: Catégorie Produit tax_categories: TVA applicable shipping_categories: Conditions de transport + dfc_import_form: + enterprise: "Entreprise" + import: "Importer" import: review: Vérifier import: Importer diff --git a/config/locales/hi.yml b/config/locales/hi.yml index b631db7d5d..cf84a4eaa9 100644 --- a/config/locales/hi.yml +++ b/config/locales/hi.yml @@ -826,6 +826,9 @@ hi: product_categories: उत्पाद श्रेणियां tax_categories: टैक्स श्रेणियां shipping_categories: शिपिंग श्रेणियां + dfc_import_form: + enterprise: "एंटरप्राइज़" + import: "इम्पोर्ट करें" import: review: रिव्यू import: इम्पोर्ट करें diff --git a/config/locales/hu.yml b/config/locales/hu.yml index 908a975591..a6ef6eb41e 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -6,9 +6,22 @@ hu: spree/shipping_method: Szállítási Mód attributes: spree/order/ship_address: + address1: "Szállítási cím (utca és házszám)" + address2: "Szállítási cím 2. sor" + city: "Szállítási cím város" + country: "Szállítási cím ország" phone: "Telefonszám" firstname: "Keresztnév" lastname: "Vezetéknév" + zipcode: "Szállítási cím irányítószám" + spree/order/bill_address: + address1: "Számlázási cím (Utca és Házszám)" + zipcode: "Számlázási cím Irányítószám" + city: "Számlázási cím Város" + country: "Számlázási cím Ország" + firstname: "Számlázási név Keresztnév" + lastname: "Számlázási cím Vezetéknév" + phone: Vásárlói telefonszám spree/user: password: "Jelszó" password_confirmation: "Jelszó megerősítése" @@ -34,6 +47,7 @@ hu: shipping_category_id: "Szállítási mód" variant_unit: "Változatos egység" variant_unit_name: "Változat egység neve" + unit_value: "Egység értéke" spree/credit_card: base: "Hitelkártya" number: "Szám" @@ -253,6 +267,10 @@ hu: order_cycle: subject: "Rendelési ciklus jelentés a következőhöz: %{producer}" provider_settings: "Szolgáltató beállításai" + report_mailer: + report_ready: + subject: "A jelentés kész" + heading: "A jelentés letöltésre kész" shipment_mailer: shipped_email: dear_customer: "Tisztelt Ügyfelünk," @@ -670,6 +688,13 @@ hu: index: header: title: Termékek tömeges szerkesztése + delete_modal: + delete_product_modal: + heading: "Termék törlése" + confirmation_text: "Termék törlése" + delete_variant_modal: + heading: "Változat törlése" + confirmation_text: "Változat törlése" sort: pagination: clear_search: Keresés törlése @@ -680,9 +705,22 @@ hu: label: Kategóriák search: Keresés table: + error_summary: + saved: + one: "a termék helyesen lett elmentve, de" + other: "a termékek helyesen lettek elmentve, de" + save: Változások mentése new_variant: Új variáns + bulk_update: + success: Változtatások mentve edit_image: close: Vissza + delete_product: + success: Sikeresen törölte a terméket + error: A terméket nem lehet törölni + delete_variant: + success: Sikeresen törölte a terméket + error: A változatot nem lehet törölni product_import: title: Termék importálása file_not_found: A fájl nem található vagy nem nyitható meg @@ -722,6 +760,9 @@ hu: product_categories: termék kategóriák tax_categories: Adókategóriák shipping_categories: Szállítási módok + dfc_import_form: + enterprise: "Vállalkozás" + import: "Importálás" import: review: Felülvizsgálat import: Importálás @@ -3107,6 +3148,7 @@ hu: processing: "feldolgozás" void: "üres" invalid: "érvénytelen" + quantity_unavailable: "Nem áll rendelkezésre elegendő készlet. A tétel nem menthető!" quantity_unchanged: "A mennyiség nem változott az előző mennyiséghez képest." cancel_the_order_html: "Ez megszakítja a vásárlási folyamatot. Biztosan folytatja?" cancel_the_order_send_cancelation_email: "A törlés elküldése a vásárlónak, emailben." diff --git a/config/locales/it.yml b/config/locales/it.yml index 0edcf16e40..12e29ab077 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -766,6 +766,9 @@ it: product_categories: Categorie Prodotti tax_categories: Categorie imposte shipping_categories: Categorie Spedizioni + dfc_import_form: + enterprise: "Azienda" + import: "Importazione" import: review: Revisione import: Importazione diff --git a/config/locales/it_CH.yml b/config/locales/it_CH.yml index b7af225f06..6341d5b4a0 100644 --- a/config/locales/it_CH.yml +++ b/config/locales/it_CH.yml @@ -707,6 +707,9 @@ it_CH: product_categories: Categorie Prodotti tax_categories: Categorie imposte shipping_categories: Categorie Spedizioni + dfc_import_form: + enterprise: "Azienda" + import: "Importazione" import: review: Revisione import: Importazione diff --git a/config/locales/ko.yml b/config/locales/ko.yml index f65830775f..e70899ed8e 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -730,6 +730,9 @@ ko: product_categories: 제품 카테고리 tax_categories: 세금 카테고리 shipping_categories: 배송 카테고리 + dfc_import_form: + enterprise: "회사" + import: "수입" import: review: 리뷰 import: 수입 diff --git a/config/locales/ml.yml b/config/locales/ml.yml index 25b8b79778..78d98f1fa5 100644 --- a/config/locales/ml.yml +++ b/config/locales/ml.yml @@ -831,6 +831,9 @@ ml: product_categories: ഉൽപ്പന്ന വിഭാഗങ്ങൾ tax_categories: നികുതി വിഭാഗങ്ങൾ shipping_categories: ഷിപ്പിംഗ് വിഭാഗങ്ങൾ + dfc_import_form: + enterprise: "എന്റർപ്രൈസ്" + import: "ഇറക്കുമതി ചെയ്യുക" import: review: അവലോകനം import: ഇറക്കുമതി ചെയ്യുക diff --git a/config/locales/mr.yml b/config/locales/mr.yml index 7b0f9a914d..1c09d8dfb1 100644 --- a/config/locales/mr.yml +++ b/config/locales/mr.yml @@ -822,6 +822,9 @@ mr: product_categories: उत्पादन श्रेणी tax_categories: कर श्रेणी shipping_categories: शिपिंग श्रेण्या + dfc_import_form: + enterprise: "एंटरप्राइझ" + import: "Import करा" import: review: पुनरावलोकन करा import: आयात करा diff --git a/config/locales/nb.yml b/config/locales/nb.yml index 71464c29e9..3b4c61176c 100644 --- a/config/locales/nb.yml +++ b/config/locales/nb.yml @@ -857,6 +857,9 @@ nb: product_categories: Produktkategorier tax_categories: Avgiftskategorier shipping_categories: Fraktkategorier + dfc_import_form: + enterprise: "Bedrift" + import: "Import" import: review: Anmeldelse import: Import diff --git a/config/locales/nl_BE.yml b/config/locales/nl_BE.yml index d55114fb4a..190328f301 100644 --- a/config/locales/nl_BE.yml +++ b/config/locales/nl_BE.yml @@ -587,6 +587,9 @@ nl_BE: product_categories: Productcategorieën tax_categories: Belastingcategorieën shipping_categories: Verzendingscategorieën + dfc_import_form: + enterprise: "Onderneming" + import: "Importeren" import: review: Beoordeling import: Importeren diff --git a/config/locales/pa.yml b/config/locales/pa.yml index 09c41df658..7f8357ae48 100644 --- a/config/locales/pa.yml +++ b/config/locales/pa.yml @@ -810,6 +810,9 @@ pa: product_categories: ਉਤਪਾਦ ਸ਼੍ਰੇਣੀਆਂ tax_categories: ਟੈਕਸ ਸ਼੍ਰੇਣੀਆਂ shipping_categories: ਸ਼ਿਪਿੰਗ ਸ਼੍ਰੇਣੀਆਂ + dfc_import_form: + enterprise: "ਐਂਟਰਪ੍ਰਾਈਜ਼" + import: "ਇਮਪੋਰਟ" import: review: ਸਮੀਖਿਆ import: ਇਮਪੋਰਟ diff --git a/config/locales/pl.yml b/config/locales/pl.yml index 36c2f9d75e..da83204552 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -561,6 +561,9 @@ pl: product_categories: Kategorie produktów tax_categories: Kategorie podatków shipping_categories: Kategorie dostaw + dfc_import_form: + enterprise: "Podmiot" + import: "Import" import: review: Przejrzyj import: Import diff --git a/config/locales/pt.yml b/config/locales/pt.yml index ea7a09d3fb..373e6e7e20 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -623,6 +623,9 @@ pt: product_categories: Categorias de Produtos tax_categories: Categorias de Impostos shipping_categories: Categorias de Envio + dfc_import_form: + enterprise: "Organização" + import: "Importar" import: review: Rever import: Importar diff --git a/config/locales/pt_BR.yml b/config/locales/pt_BR.yml index 8b9f98f256..15b76c6656 100644 --- a/config/locales/pt_BR.yml +++ b/config/locales/pt_BR.yml @@ -664,6 +664,9 @@ pt_BR: product_categories: Categorias de Produtos tax_categories: Categorias fiscais shipping_categories: Categorias de Remessa + dfc_import_form: + enterprise: "Iniciativas" + import: "Importar" import: review: Reveja import: Importar diff --git a/config/locales/ru.yml b/config/locales/ru.yml index edf74d234e..f94ca2223a 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -797,6 +797,9 @@ ru: product_categories: Категории Товаров tax_categories: Налоговые Категории shipping_categories: Категории Доставки + dfc_import_form: + enterprise: "Предприятие" + import: "Импорт" import: review: Просмотр import: Импорт diff --git a/config/locales/sv.yml b/config/locales/sv.yml index d381f9c996..a8992032d1 100644 --- a/config/locales/sv.yml +++ b/config/locales/sv.yml @@ -335,6 +335,8 @@ sv: could_not_process: "kunde inte hantera filen: ogiltig filtyp" blank: kan inte vara blank none_saved: sparade inte några produkter + dfc_import_form: + enterprise: "Företag" product_headings: distributor: Distributör producer: Producent diff --git a/config/locales/tr.yml b/config/locales/tr.yml index c8244a6d9f..ce3b8ba33e 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -648,6 +648,9 @@ tr: product_categories: Ürün Kategorileri tax_categories: Vergi Kategorileri shipping_categories: Teslimat Kategorileri + dfc_import_form: + enterprise: "İşletme" + import: "Aktar" import: review: İncele import: İçe Aktar diff --git a/config/locales/uk.yml b/config/locales/uk.yml index 7b125572e8..85e80e55dd 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -733,6 +733,9 @@ uk: product_categories: Категорії продуктів tax_categories: Податкові категорії shipping_categories: Категорії доставки + dfc_import_form: + enterprise: "Підприємство" + import: "Імпорт" import: review: Огляд import: Імпорт From c0fd08d44e569397d2a417e83afbe9493bbf86d2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Mar 2024 09:24:29 +0000 Subject: [PATCH 142/374] chore(deps): bump stripe from 10.12.0 to 10.13.0 Bumps [stripe](https://github.com/stripe/stripe-ruby) from 10.12.0 to 10.13.0. - [Release notes](https://github.com/stripe/stripe-ruby/releases) - [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md) - [Commits](https://github.com/stripe/stripe-ruby/compare/v10.12.0...v10.13.0) --- updated-dependencies: - dependency-name: stripe dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index d2ecf1af63..213c47b751 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -746,7 +746,7 @@ GEM stimulus_reflex (>= 3.3.0) stringex (2.8.6) stringio (3.1.0) - stripe (10.12.0) + stripe (10.13.0) swd (2.0.3) activesupport (>= 3) attr_required (>= 0.0.5) From 03630f27afeac43ae36259f84b16e08c9c1688ca Mon Sep 17 00:00:00 2001 From: Arun Guleria Date: Fri, 22 Mar 2024 17:16:35 +0530 Subject: [PATCH 143/374] 12295-Translation fixes for return authorization status --- app/views/spree/admin/return_authorizations/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spree/admin/return_authorizations/index.html.haml b/app/views/spree/admin/return_authorizations/index.html.haml index 390551307c..de984deedd 100644 --- a/app/views/spree/admin/return_authorizations/index.html.haml +++ b/app/views/spree/admin/return_authorizations/index.html.haml @@ -27,7 +27,7 @@ - tr_id = spree_dom_id(return_authorization) %tr{class: tr_class, id: tr_id} %td= return_authorization.number - %td= Spree.t('spree.admin.return_authorizations.states.' + return_authorization.state.downcase) + %td= Spree.t('admin.return_authorizations.states.' + return_authorization.state.downcase) %td= return_authorization.display_amount.to_html %td= pretty_time(return_authorization.created_at) %td.actions From fc1b686938f4e7b2efd7663d1ae3e4b48e792502 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sat, 23 Mar 2024 02:11:23 +0000 Subject: [PATCH 144/374] Don't generate packing reports unnecessarily when displaying the report form --- lib/reporting/report_headers_builder.rb | 4 ++-- lib/reporting/report_template.rb | 4 ++++ lib/reporting/reports/packing/customer.rb | 11 ++++++++--- lib/reporting/reports/packing/product.rb | 11 ++++++++--- lib/reporting/reports/packing/supplier.rb | 10 ++++++++-- 5 files changed, 30 insertions(+), 10 deletions(-) diff --git a/lib/reporting/report_headers_builder.rb b/lib/reporting/report_headers_builder.rb index 37b85d3629..ef129bedc8 100644 --- a/lib/reporting/report_headers_builder.rb +++ b/lib/reporting/report_headers_builder.rb @@ -11,13 +11,13 @@ module Reporting def table_headers filter = proc { |key| key.to_sym.in?(fields_to_show) } - report.columns.keys.filter { |key| filter.call(key) }.map do |key| + report.table_columns.keys.filter { |key| filter.call(key) }.map do |key| translate_header(key) end end def available_headers - report.columns.keys.map { |key| [translate_header(key), key] } + report.table_columns.keys.map { |key| [translate_header(key), key] } end def fields_to_hide diff --git a/lib/reporting/report_template.rb b/lib/reporting/report_template.rb index 5c295ae553..3567e779e5 100644 --- a/lib/reporting/report_template.rb +++ b/lib/reporting/report_template.rb @@ -54,6 +54,10 @@ module Reporting raise NotImplementedError end + def table_columns + columns + end + # Exple { total_price: :currency } def columns_format {} diff --git a/lib/reporting/reports/packing/customer.rb b/lib/reporting/reports/packing/customer.rb index a5609725a2..65622639b4 100644 --- a/lib/reporting/reports/packing/customer.rb +++ b/lib/reporting/reports/packing/customer.rb @@ -4,11 +4,16 @@ module Reporting module Reports module Packing class Customer < Base + def table_columns + Struct.new(:keys).new( + [:hub, :customer_code, :first_name, :last_name, :phone, :supplier, :product, + :variant, :weight, :height, :width, :depth, :quantity, :price, :temp_controlled] + ) + end + def columns # Reorder default columns - super.slice(:hub, :customer_code, :first_name, :last_name, :phone, - :supplier, :product, :variant, :weight, :height, :width, :depth, :quantity, - :price, :temp_controlled) + super.slice(*table_columns.keys) end def rules diff --git a/lib/reporting/reports/packing/product.rb b/lib/reporting/reports/packing/product.rb index e219fc2c88..63990f3ad4 100644 --- a/lib/reporting/reports/packing/product.rb +++ b/lib/reporting/reports/packing/product.rb @@ -4,11 +4,16 @@ module Reporting module Reports module Packing class Product < Base + def table_columns + Struct.new(:keys).new( + [:hub, :supplier, :product, :variant, :customer_code, :first_name, + :last_name, :phone, :quantity, :price, :temp_controlled] + ) + end + def columns # Reorder default columns - super.slice(:hub, :supplier, :product, :variant, - :customer_code, :first_name, :last_name, :phone, - :quantity, :price, :temp_controlled) + super.slice(*table_columns.keys) end def rules diff --git a/lib/reporting/reports/packing/supplier.rb b/lib/reporting/reports/packing/supplier.rb index cca255786b..d1f6861ff9 100644 --- a/lib/reporting/reports/packing/supplier.rb +++ b/lib/reporting/reports/packing/supplier.rb @@ -4,10 +4,16 @@ module Reporting module Reports module Packing class Supplier < Base + def table_columns + Struct.new(:keys).new( + [:hub, :supplier, :customer_code, :first_name, :last_name, :phone, + :product, :variant, :quantity, :price, :temp_controlled] + ) + end + def columns # Reorder default columns - super.slice(:hub, :supplier, :customer_code, :first_name, :last_name, :phone, - :product, :variant, :quantity, :price, :temp_controlled) + super.slice(*table_columns.keys) end def rules From 51404f4d66274731b067654d491f5f447f71ade6 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 25 Mar 2024 10:52:05 +1100 Subject: [PATCH 145/374] chore(deps): update rails-nested-form from fork to v5.0.0 We were using our own fork, while waiting for a new feature to be merged. It's now been released, albeit with a modification. The gem has changed it's name too. --- app/webpacker/controllers/index.js | 6 +++--- package.json | 2 +- yarn.lock | 9 +++++---- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/webpacker/controllers/index.js b/app/webpacker/controllers/index.js index 4e31f9a433..55c57a46ce 100644 --- a/app/webpacker/controllers/index.js +++ b/app/webpacker/controllers/index.js @@ -6,15 +6,15 @@ import StimulusReflex from "stimulus_reflex"; import consumer from "../channels/consumer"; import controller from "../controllers/application_controller"; import CableReady from "cable_ready"; -import NestedForm from 'stimulus-rails-nested-form/dist/stimulus-rails-nested-form.umd.js' // the default module entry point is broken - +import RailsNestedForm from '@stimulus-components/rails-nested-form/dist/stimulus-rails-nested-form.umd.js' // the default module entry point is broken const application = Application.start(); const context = require.context("controllers", true, /_controller\.js$/); const contextComponents = require.context("../../components", true, /_controller\.js$/); application.load(definitionsFromContext(context).concat(definitionsFromContext(contextComponents))); -application.register('nested-form', NestedForm); +application.register('nested-form', RailsNestedForm); + application.consumer = consumer; StimulusReflex.initialize(application, { controller, isolate: true }); StimulusReflex.debug = process.env.RAILS_ENV === "development"; diff --git a/package.json b/package.json index d9bbb8076b..293ef5f81c 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "@floating-ui/dom": "^1.6.3", "@hotwired/turbo": "^8.0.4", "@rails/webpacker": "5.4.4", + "@stimulus-components/rails-nested-form": "^5.0.0", "cable_ready": "5.0.1", "debounced": "^0.0.5", "flatpickr": "^4.6.9", @@ -34,7 +35,6 @@ "shortcut-buttons-flatpickr": "^0.4.0", "stimulus": "^3.2.2", "stimulus-flatpickr": "^1.4.0", - "stimulus-rails-nested-form": "https://github.com/openfoodfoundation/stimulus-rails-nested-form.git#dist", "stimulus_reflex": "3.5.0-rc3", "tom-select": "^2.3.1", "trix": "^2.0.10", diff --git a/yarn.lock b/yarn.lock index 2c08ca5520..fceaec7c4f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1450,6 +1450,11 @@ resolved "https://registry.yarnpkg.com/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz#96116f2a912e0c02817345b3c10751069920d553" integrity sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg== +"@stimulus-components/rails-nested-form@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@stimulus-components/rails-nested-form/-/rails-nested-form-5.0.0.tgz#b443ad8ba5220328cfd704ca956ebf95ab8c4848" + integrity sha512-qrmmurT+KBPrz9iBlyrgJa6Di8i0j328kSk2SUR53nK5W0kDhw1YxVC91aUR+7EsFKiwJT1iB7oDSwpDhDQPeA== + "@tootallnate/once@1": version "1.1.2" resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" @@ -8322,10 +8327,6 @@ stimulus-flatpickr@^1.4.0: resolved "https://registry.yarnpkg.com/stimulus-flatpickr/-/stimulus-flatpickr-1.4.0.tgz#a41071a3e69cfc50b7eaaacf356fc0ab1ab0543c" integrity sha512-rcC/c9+E+f5W2kOjaaLShtf3i+p95ACqt+oGzSAgeuZh2YeIN8gW4EWO7h0STBLzSVPl6BjIfPWP7upMPavIVQ== -"stimulus-rails-nested-form@https://github.com/openfoodfoundation/stimulus-rails-nested-form.git#dist": - version "4.1.0" - resolved "https://github.com/openfoodfoundation/stimulus-rails-nested-form.git#d3b82ea638a7156f1122736cf739ab1821a1817e" - stimulus@^3.2.2: version "3.2.2" resolved "https://registry.yarnpkg.com/stimulus/-/stimulus-3.2.2.tgz#a2e955f43e12e2e5784b175d4df5517ef678aa68" From 6b2c54a25ef62656f3db0d260bb70a0201a58ada Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 25 Mar 2024 11:01:23 +1100 Subject: [PATCH 146/374] Update event name The event name has changed in the official release. --- app/views/admin/products_v3/_table.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 3aa9df9ab6..5095f63a03 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -55,7 +55,7 @@ = form.fields_for("products", product, index: product_index) do |product_form| %tbody.relaxed.naked_inputs{ data: { 'record-id': product_form.object.id, controller: "nested-form", - action: 'nested-form:add->bulk-form#registerElements' } } + action: 'rails-nested-form:add->bulk-form#registerElements' } } %tr = render partial: 'product_row', locals: { product:, f: product_form } From 502d7c6d4adfb1b7ea2d08406146d1e5925745eb Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Mon, 25 Mar 2024 12:07:08 +1100 Subject: [PATCH 147/374] Update Stripe API recordings for new version --- .../saves_the_card_locally.yml | 88 +++--- .../_credit/refunds_the_payment.yml | 166 +++++----- ...t_intent_state_is_not_requires_capture.yml | 78 +++-- .../_purchase/completes_the_purchase.yml | 160 +++++----- ..._error_message_to_help_developer_debug.yml | 84 ++--- .../refunds_the_payment.yml | 224 +++++++------ .../void_the_payment.yml | 146 +++++---- ...stroys_the_record_and_notifies_Bugsnag.yml | 34 +- .../destroys_the_record.yml | 66 ++-- .../returns_true.yml | 148 +++++---- .../returns_false.yml | 120 ++++--- .../returns_failed_response.yml | 56 ++-- ...tus_with_Stripe_PaymentIntentValidator.yml | 82 ++--- .../returns_nil.yml | 56 ++-- .../clones_the_payment_method_only.yml | 132 ++++---- ...th_the_payment_method_and_the_customer.yml | 296 ++++++++++-------- .../raises_an_error.yml | 46 +-- .../deletes_the_credit_card_clone.yml | 86 ++--- ...the_credit_card_clone_and_the_customer.yml | 134 ++++---- ...t_intent_last_payment_error_as_message.yml | 100 +++--- ...t_intent_last_payment_error_as_message.yml | 100 +++--- ...t_intent_last_payment_error_as_message.yml | 100 +++--- ...t_intent_last_payment_error_as_message.yml | 100 +++--- ...t_intent_last_payment_error_as_message.yml | 100 +++--- ...t_intent_last_payment_error_as_message.yml | 100 +++--- ...t_intent_last_payment_error_as_message.yml | 100 +++--- ...t_intent_last_payment_error_as_message.yml | 100 +++--- .../captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../from_Diners_Club/captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../from_Discover/captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../from_JCB/captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../from_Mastercard/captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../from_UnionPay/captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../from_Visa/captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- .../from_Visa_debit_/captures_the_payment.yml | 176 ++++++----- ...s_payment_intent_id_and_does_not_raise.yml | 88 +++--- ...rd_id_from_the_correct_response_fields.yml | 86 ++--- .../when_request_fails/raises_an_error.yml | 142 +++++---- .../allows_to_refund_the_payment.yml | 218 +++++++------ 60 files changed, 4197 insertions(+), 3211 deletions(-) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml (77%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml (64%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml (78%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml (79%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml (78%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml (80%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml (79%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.12.0 => Stripe-v10.13.0}/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml (83%) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml similarity index 77% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml index 71c0fb9179..8016f32c83 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml @@ -8,9 +8,9 @@ http_interactions: string: card[number]=4242424242424242&card[exp_month]=9&card[exp_year]=2024&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded Stripe-Version: @@ -29,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:14:57 GMT + - Mon, 25 Mar 2024 01:03:33 GMT Content-Type: - application/json Content-Length: @@ -54,13 +54,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - e6514b0a-784c-4cea-8450-5b4a1af22768 + - d0e5a7cf-883d-4b56-b25e-f654d412ba79 Original-Request: - - req_hbqb0vQQUNrdXU + - req_0C9DXhwoaKhLdD + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hbqb0vQQUNrdXU + - req_0C9DXhwoaKhLdD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -75,10 +79,10 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "tok_1OvTqvKuuB1fWySnEX98PvTy", + "id": "tok_1Oy1wnKuuB1fWySnLj5QBZy7", "object": "token", "card": { - "id": "card_1OvTqvKuuB1fWySnrmlTcJKr", + "id": "card_1Oy1wnKuuB1fWySnCOg1zs1M", "object": "card", "address_city": null, "address_country": null, @@ -106,27 +110,27 @@ http_interactions: "wallet": null }, "client_ip": "124.188.129.192", - "created": 1710720897, + "created": 1711328613, "livemode": false, "type": "card", "used": false } - recorded_at: Mon, 18 Mar 2024 00:14:57 GMT + recorded_at: Mon, 25 Mar 2024 01:03:33 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: email=tristan%40dibbertdaniel.co.uk&source=tok_1OvTqvKuuB1fWySnEX98PvTy + string: email=calvin%40beermccullough.com&source=tok_1Oy1wnKuuB1fWySnLj5QBZy7 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hbqb0vQQUNrdXU","request_duration_ms":538}}' + - '{"last_request_metrics":{"request_id":"req_0C9DXhwoaKhLdD","request_duration_ms":523}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -143,11 +147,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:14:58 GMT + - Mon, 25 Mar 2024 01:03:34 GMT Content-Type: - application/json Content-Length: - - '666' + - '664' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -168,13 +172,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 2db286e4-5eae-4cc4-897d-7d3591f55a95 + - 821b2ac3-4f39-4e96-bde5-0739222a19db Original-Request: - - req_S37wLPFxPMlINX + - req_hBuKlFbl2EGbjy + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_S37wLPFxPMlINX + - req_hBuKlFbl2EGbjy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -189,18 +197,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PkzquAAy75gQda", + "id": "cus_PndDwcf7WiVv8n", "object": "customer", "address": null, "balance": 0, - "created": 1710720898, + "created": 1711328613, "currency": null, - "default_source": "card_1OvTqvKuuB1fWySnrmlTcJKr", + "default_source": "card_1Oy1wnKuuB1fWySnCOg1zs1M", "delinquent": false, "description": null, "discount": null, - "email": "tristan@dibbertdaniel.co.uk", - "invoice_prefix": "13C28000", + "email": "calvin@beermccullough.com", + "invoice_prefix": "F0FE1ECA", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -217,22 +225,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 18 Mar 2024 00:14:58 GMT + recorded_at: Mon, 25 Mar 2024 01:03:34 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PkzquAAy75gQda/sources?limit=1&object=card + uri: https://api.stripe.com/v1/customers/cus_PndDwcf7WiVv8n/sources?limit=1&object=card body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_S37wLPFxPMlINX","request_duration_ms":937}}' + - '{"last_request_metrics":{"request_id":"req_hBuKlFbl2EGbjy","request_duration_ms":790}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -249,7 +257,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:14:59 GMT + - Mon, 25 Mar 2024 01:03:34 GMT Content-Type: - application/json Content-Length: @@ -275,9 +283,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_g9XAFj7rXoyJdL + - req_h7L3ebMIxfrBQA Stripe-Version: - '2023-10-16' Vary: @@ -293,7 +305,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1OvTqvKuuB1fWySnrmlTcJKr", + "id": "card_1Oy1wnKuuB1fWySnCOg1zs1M", "object": "card", "address_city": null, "address_country": null, @@ -305,7 +317,7 @@ http_interactions: "address_zip_check": null, "brand": "Visa", "country": "US", - "customer": "cus_PkzquAAy75gQda", + "customer": "cus_PndDwcf7WiVv8n", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 9, @@ -320,7 +332,7 @@ http_interactions: } ], "has_more": false, - "url": "/v1/customers/cus_PkzquAAy75gQda/sources" + "url": "/v1/customers/cus_PndDwcf7WiVv8n/sources" } - recorded_at: Mon, 18 Mar 2024 00:14:59 GMT + recorded_at: Mon, 25 Mar 2024 01:03:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml index 319d76a1d2..22576ebc91 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kYJ3h29vQqkIEB","request_duration_ms":422}}' + - '{"last_request_metrics":{"request_id":"req_dQEqJkCMMFVHEu","request_duration_ms":305}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:16 GMT + - Mon, 25 Mar 2024 01:05:46 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 2147d3e8-fd96-4217-9772-5cf9cb8b8f4c + - ea5ce2ab-65b7-42b5-b6ae-eb2864297b4c Original-Request: - - req_Jmj6S8kHu0Oyay + - req_xHZMFlYae6NH9Q + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Jmj6S8kHu0Oyay + - req_xHZMFlYae6NH9Q Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvTt94EhW9TXYs3", + "id": "acct_1Oy1yv4F5rkj3PEw", "object": "account", "business_profile": { "annual_revenue": null, @@ -99,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710721035, + "created": 1711328746, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -108,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvTt94EhW9TXYs3/external_accounts" + "url": "/v1/accounts/acct_1Oy1yv4F5rkj3PEw/external_accounts" }, "future_requirements": { "alternatives": [], @@ -205,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 18 Mar 2024 00:17:16 GMT + recorded_at: Mon, 25 Mar 2024 01:05:46 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -214,19 +218,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Jmj6S8kHu0Oyay","request_duration_ms":1832}}' + - '{"last_request_metrics":{"request_id":"req_xHZMFlYae6NH9Q","request_duration_ms":1621}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTt94EhW9TXYs3 + - acct_1Oy1yv4F5rkj3PEw Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -239,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:18 GMT + - Mon, 25 Mar 2024 01:05:48 GMT Content-Type: - application/json Content-Length: @@ -264,15 +268,19 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b238a3b1-3a75-4bf0-92a6-9f001ffb90e9 + - 607f3369-b61d-42ab-b148-13d8029bda8a Original-Request: - - req_Eg0MPkARpYy2HA + - req_pRlYz5pzWyveLX + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Eg0MPkARpYy2HA + - req_pRlYz5pzWyveLX Stripe-Account: - - acct_1OvTt94EhW9TXYs3 + - acct_1Oy1yv4F5rkj3PEw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -287,7 +295,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtB4EhW9TXYs30P7DQrvf", + "id": "pi_3Oy1yx4F5rkj3PEw1YhbcT0d", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -303,18 +311,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721037, + "created": 1711328747, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTtB4EhW9TXYs30K2JbDsH", + "latest_charge": "ch_3Oy1yx4F5rkj3PEw1Vhf3wWk", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtA4EhW9TXYs3yQzqJZ6R", + "payment_method": "pm_1Oy1yx4F5rkj3PEw261B4212", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -339,16 +347,16 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:18 GMT + recorded_at: Mon, 25 Mar 2024 01:05:48 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtB4EhW9TXYs30P7DQrvf + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yx4F5rkj3PEw1YhbcT0d body: encoding: US-ASCII string: '' headers: Authorization: - - Basic c2tfdGVzdF94RmdKUU9sWHBNQUZzb3p0endGQlRGaFAwMEhHN0J1Q0ptOg== + - "" User-Agent: - Stripe/v1 ActiveMerchantBindings/1.133.0 Stripe-Version: @@ -358,7 +366,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OvTt94EhW9TXYs3 + - acct_1Oy1yv4F5rkj3PEw Connection: - close Accept-Encoding: @@ -373,7 +381,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:18 GMT + - Mon, 25 Mar 2024 01:05:48 GMT Content-Type: - application/json Content-Length: @@ -399,11 +407,15 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6mchEb8KrwJnDy + - req_shCZFnlUQwEcYZ Stripe-Account: - - acct_1OvTt94EhW9TXYs3 + - acct_1Oy1yv4F5rkj3PEw Stripe-Version: - '2020-08-27' Vary: @@ -416,7 +428,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtB4EhW9TXYs30P7DQrvf", + "id": "pi_3Oy1yx4F5rkj3PEw1YhbcT0d", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -434,7 +446,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OvTtB4EhW9TXYs30K2JbDsH", + "id": "ch_3Oy1yx4F5rkj3PEw1Vhf3wWk", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -442,7 +454,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OvTtB4EhW9TXYs30OAdKdmx", + "balance_transaction": "txn_3Oy1yx4F5rkj3PEw1RJEP4W1", "billing_details": { "address": { "city": null, @@ -458,7 +470,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710721037, + "created": 1711328747, "currency": "aud", "customer": null, "description": null, @@ -478,13 +490,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 48, + "risk_score": 23, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OvTtB4EhW9TXYs30P7DQrvf", - "payment_method": "pm_1OvTtA4EhW9TXYs3yQzqJZ6R", + "payment_intent": "pi_3Oy1yx4F5rkj3PEw1YhbcT0d", + "payment_method": "pm_1Oy1yx4F5rkj3PEw261B4212", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -527,14 +539,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3ZUdDk0RWhXOVRYWXMzKI6Q3q8GMgZgMLg51FE6LBa7DhmVzOB7aEaZOIKCLNkc77zPMd7CB-qAQorzTueRz9-lWLN8nu1aowIS", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3kxeXY0RjVya2ozUEV3KOybg7AGMgaMaiL5f1M6LBZ2TPdfjQZaJju4Svv3eQ2CAa-uzyn94c8BQ_w3LTF76p1LiyHr0_r8sLqu", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OvTtB4EhW9TXYs30K2JbDsH/refunds" + "url": "/v1/charges/ch_3Oy1yx4F5rkj3PEw1Vhf3wWk/refunds" }, "review": null, "shipping": null, @@ -549,22 +561,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OvTtB4EhW9TXYs30P7DQrvf" + "url": "/v1/charges?payment_intent=pi_3Oy1yx4F5rkj3PEw1YhbcT0d" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1710721037, + "created": 1711328747, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTtB4EhW9TXYs30K2JbDsH", + "latest_charge": "ch_3Oy1yx4F5rkj3PEw1Vhf3wWk", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtA4EhW9TXYs3yQzqJZ6R", + "payment_method": "pm_1Oy1yx4F5rkj3PEw261B4212", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -589,10 +601,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:18 GMT + recorded_at: Mon, 25 Mar 2024 01:05:48 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3OvTtB4EhW9TXYs30K2JbDsH/refunds + uri: https://api.stripe.com/v1/charges/ch_3Oy1yx4F5rkj3PEw1Vhf3wWk/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -600,7 +612,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded Authorization: - - Basic c2tfdGVzdF94RmdKUU9sWHBNQUZzb3p0endGQlRGaFAwMEhHN0J1Q0ptOg== + - "" User-Agent: - Stripe/v1 ActiveMerchantBindings/1.133.0 Stripe-Version: @@ -610,7 +622,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OvTt94EhW9TXYs3 + - acct_1Oy1yv4F5rkj3PEw Connection: - close Accept-Encoding: @@ -625,7 +637,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:20 GMT + - Mon, 25 Mar 2024 01:05:49 GMT Content-Type: - application/json Content-Length: @@ -651,15 +663,19 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - '05483c67-05ff-49b5-be76-7fac44ee4e85' + - 25ab8e5d-7c88-4922-808b-5ae9f8599b9e Original-Request: - - req_Xf3bGarHmTjryy + - req_pu08Uov3va360O + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Xf3bGarHmTjryy + - req_pu08Uov3va360O Stripe-Account: - - acct_1OvTt94EhW9TXYs3 + - acct_1Oy1yv4F5rkj3PEw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -674,12 +690,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3OvTtB4EhW9TXYs304KdB74m", + "id": "re_3Oy1yx4F5rkj3PEw1pr5QKNw", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OvTtB4EhW9TXYs30u93CfDo", + "balance_transaction": "txn_3Oy1yx4F5rkj3PEw1sPm1vqA", "charge": { - "id": "ch_3OvTtB4EhW9TXYs30K2JbDsH", + "id": "ch_3Oy1yx4F5rkj3PEw1Vhf3wWk", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -687,7 +703,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OvTtB4EhW9TXYs30OAdKdmx", + "balance_transaction": "txn_3Oy1yx4F5rkj3PEw1RJEP4W1", "billing_details": { "address": { "city": null, @@ -703,7 +719,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710721037, + "created": 1711328747, "currency": "aud", "customer": null, "description": null, @@ -723,13 +739,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 48, + "risk_score": 23, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OvTtB4EhW9TXYs30P7DQrvf", - "payment_method": "pm_1OvTtA4EhW9TXYs3yQzqJZ6R", + "payment_intent": "pi_3Oy1yx4F5rkj3PEw1YhbcT0d", + "payment_method": "pm_1Oy1yx4F5rkj3PEw261B4212", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -772,18 +788,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3ZUdDk0RWhXOVRYWXMzKJCQ3q8GMgbaIirMk_Y6LBace1yVWNol5c5enrMWzkoofA6DGu56yIdc3OsN9L51Yush79KvBr6W9ayG", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3kxeXY0RjVya2ozUEV3KO2bg7AGMgaJ23TFQt46LBZayXOJnAJj1AORS9kJ4pQz9jm6LgdQlAVDoKDuAeQsLO335SflS3n6K1ac", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3OvTtB4EhW9TXYs304KdB74m", + "id": "re_3Oy1yx4F5rkj3PEw1pr5QKNw", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OvTtB4EhW9TXYs30u93CfDo", - "charge": "ch_3OvTtB4EhW9TXYs30K2JbDsH", - "created": 1710721039, + "balance_transaction": "txn_3Oy1yx4F5rkj3PEw1sPm1vqA", + "charge": "ch_3Oy1yx4F5rkj3PEw1Vhf3wWk", + "created": 1711328749, "currency": "aud", "destination_details": { "card": { @@ -794,7 +810,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OvTtB4EhW9TXYs30P7DQrvf", + "payment_intent": "pi_3Oy1yx4F5rkj3PEw1YhbcT0d", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -804,7 +820,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3OvTtB4EhW9TXYs30K2JbDsH/refunds" + "url": "/v1/charges/ch_3Oy1yx4F5rkj3PEw1Vhf3wWk/refunds" }, "review": null, "shipping": null, @@ -816,7 +832,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1710721039, + "created": 1711328749, "currency": "aud", "destination_details": { "card": { @@ -827,12 +843,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OvTtB4EhW9TXYs30P7DQrvf", + "payment_intent": "pi_3Oy1yx4F5rkj3PEw1YhbcT0d", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Mon, 18 Mar 2024 00:17:20 GMT + recorded_at: Mon, 25 Mar 2024 01:05:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml index 48da20231c..8b0cb39fa3 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Eg0MPkARpYy2HA","request_duration_ms":1493}}' + - '{"last_request_metrics":{"request_id":"req_pRlYz5pzWyveLX","request_duration_ms":1291}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:21 GMT + - Mon, 25 Mar 2024 01:05:50 GMT Content-Type: - application/json Content-Length: @@ -57,9 +57,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_k0V0K2ZLOcE0Mw + - req_iMg6LHEnZ3xXaK Stripe-Version: - '2023-10-16' Vary: @@ -72,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTtEKuuB1fWySnkwpbbLl4", + "id": "pm_1Oy1z0KuuB1fWySnpjyW7Sjh", "object": "payment_method", "billing_details": { "address": { @@ -113,28 +117,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721040, + "created": 1711328750, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:17:21 GMT + recorded_at: Mon, 25 Mar 2024 01:05:50 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OvTtEKuuB1fWySnkwpbbLl4&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1Oy1z0KuuB1fWySnpjyW7Sjh&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_k0V0K2ZLOcE0Mw","request_duration_ms":371}}' + - '{"last_request_metrics":{"request_id":"req_iMg6LHEnZ3xXaK","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -151,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:21 GMT + - Mon, 25 Mar 2024 01:05:51 GMT Content-Type: - application/json Content-Length: @@ -176,13 +180,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - c4a2ebba-6599-4440-bb2e-b058ef5e66f5 + - 2e298eb3-1328-4573-a56a-e5d9958af72c Original-Request: - - req_xmnXHMTrvfFTUl + - req_Zoer1zzHRH2OxX + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xmnXHMTrvfFTUl + - req_Zoer1zzHRH2OxX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -197,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtFKuuB1fWySn1ZEhZXxY", + "id": "pi_3Oy1z1KuuB1fWySn0TuzQTHS", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -213,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721041, + "created": 1711328751, "currency": "aud", "customer": null, "description": null, @@ -224,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtEKuuB1fWySnkwpbbLl4", + "payment_method": "pm_1Oy1z0KuuB1fWySnpjyW7Sjh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -249,22 +257,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:21 GMT + recorded_at: Mon, 25 Mar 2024 01:05:51 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtFKuuB1fWySn1ZEhZXxY + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1z1KuuB1fWySn0TuzQTHS body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xmnXHMTrvfFTUl","request_duration_ms":466}}' + - '{"last_request_metrics":{"request_id":"req_Zoer1zzHRH2OxX","request_duration_ms":426}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -281,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:21 GMT + - Mon, 25 Mar 2024 01:05:51 GMT Content-Type: - application/json Content-Length: @@ -307,9 +315,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_B79MaIEhVEEPAQ + - req_YyXcj9K9FRIiNe Stripe-Version: - '2023-10-16' Vary: @@ -322,7 +334,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtFKuuB1fWySn1ZEhZXxY", + "id": "pi_3Oy1z1KuuB1fWySn0TuzQTHS", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -338,7 +350,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721041, + "created": 1711328751, "currency": "aud", "customer": null, "description": null, @@ -349,7 +361,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtEKuuB1fWySnkwpbbLl4", + "payment_method": "pm_1Oy1z0KuuB1fWySnpjyW7Sjh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -374,5 +386,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:21 GMT + recorded_at: Mon, 25 Mar 2024 01:05:51 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml index 6c5b802852..cfdabeb904 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LAXaOxGMoXOMBE","request_duration_ms":747}}' + - '{"last_request_metrics":{"request_id":"req_TY7Hi7GZqE85NM","request_duration_ms":613}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:57 GMT + - Mon, 25 Mar 2024 01:05:29 GMT Content-Type: - application/json Content-Length: @@ -57,9 +57,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8etFHaQHXszxZG + - req_eZZ7HmOnmCs18p Stripe-Version: - '2023-10-16' Vary: @@ -72,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsrKuuB1fWySn1NlQqx0m", + "id": "pm_1Oy1yfKuuB1fWySnmSknGVrY", "object": "payment_method", "billing_details": { "address": { @@ -113,28 +117,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721017, + "created": 1711328729, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:57 GMT + recorded_at: Mon, 25 Mar 2024 01:05:29 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OvTsrKuuB1fWySn1NlQqx0m&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1Oy1yfKuuB1fWySnmSknGVrY&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8etFHaQHXszxZG","request_duration_ms":317}}' + - '{"last_request_metrics":{"request_id":"req_eZZ7HmOnmCs18p","request_duration_ms":331}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -151,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:57 GMT + - Mon, 25 Mar 2024 01:05:30 GMT Content-Type: - application/json Content-Length: @@ -176,13 +180,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 3397c0b1-661d-4b21-a457-4ca4ad93c7bf + - f9dff413-6eeb-427c-b053-375ee1ba6348 Original-Request: - - req_V65kJy2UAQwxCI + - req_2BnlYiEOCRE4wl + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_V65kJy2UAQwxCI + - req_2BnlYiEOCRE4wl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -197,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsrKuuB1fWySn09EU0Roi", + "id": "pi_3Oy1yfKuuB1fWySn07fsNcfd", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -213,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721017, + "created": 1711328729, "currency": "aud", "customer": null, "description": null, @@ -224,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsrKuuB1fWySn1NlQqx0m", + "payment_method": "pm_1Oy1yfKuuB1fWySnmSknGVrY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -249,22 +257,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:57 GMT + recorded_at: Mon, 25 Mar 2024 01:05:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsrKuuB1fWySn09EU0Roi/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yfKuuB1fWySn07fsNcfd/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_V65kJy2UAQwxCI","request_duration_ms":479}}' + - '{"last_request_metrics":{"request_id":"req_2BnlYiEOCRE4wl","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -281,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:58 GMT + - Mon, 25 Mar 2024 01:05:31 GMT Content-Type: - application/json Content-Length: @@ -307,13 +315,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 69b2c079-80ad-43b6-96ae-cf8ee6caa50f + - aad0cb30-9cbb-405b-8575-361f1512e6dc Original-Request: - - req_pL44RyfX6Im79F + - req_SIi15R2Jjn8PLO + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pL44RyfX6Im79F + - req_SIi15R2Jjn8PLO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -328,7 +340,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsrKuuB1fWySn09EU0Roi", + "id": "pi_3Oy1yfKuuB1fWySn07fsNcfd", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -344,18 +356,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721017, + "created": 1711328729, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsrKuuB1fWySn0ADqhOVF", + "latest_charge": "ch_3Oy1yfKuuB1fWySn0iqzx5ZJ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsrKuuB1fWySn1NlQqx0m", + "payment_method": "pm_1Oy1yfKuuB1fWySnmSknGVrY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -380,22 +392,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:58 GMT + recorded_at: Mon, 25 Mar 2024 01:05:31 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsrKuuB1fWySn09EU0Roi + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yfKuuB1fWySn07fsNcfd body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pL44RyfX6Im79F","request_duration_ms":921}}' + - '{"last_request_metrics":{"request_id":"req_SIi15R2Jjn8PLO","request_duration_ms":984}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -412,7 +424,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:59 GMT + - Mon, 25 Mar 2024 01:05:32 GMT Content-Type: - application/json Content-Length: @@ -438,9 +450,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Je3JZYGqfsoY6v + - req_3bg3h4Aj4t7cN6 Stripe-Version: - '2023-10-16' Vary: @@ -453,7 +469,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsrKuuB1fWySn09EU0Roi", + "id": "pi_3Oy1yfKuuB1fWySn07fsNcfd", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -469,18 +485,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721017, + "created": 1711328729, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsrKuuB1fWySn0ADqhOVF", + "latest_charge": "ch_3Oy1yfKuuB1fWySn0iqzx5ZJ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsrKuuB1fWySn1NlQqx0m", + "payment_method": "pm_1Oy1yfKuuB1fWySnmSknGVrY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -505,10 +521,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:59 GMT + recorded_at: Mon, 25 Mar 2024 01:05:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsrKuuB1fWySn09EU0Roi/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yfKuuB1fWySn07fsNcfd/capture body: encoding: UTF-8 string: amount_to_capture=1000 @@ -516,7 +532,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded Authorization: - - Basic c2tfdGVzdF94RmdKUU9sWHBNQUZzb3p0endGQlRGaFAwMEhHN0J1Q0ptOg== + - "" User-Agent: - Stripe/v1 ActiveMerchantBindings/1.133.0 Stripe-Version: @@ -539,7 +555,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:01 GMT + - Mon, 25 Mar 2024 01:05:33 GMT Content-Type: - application/json Content-Length: @@ -565,13 +581,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - e8c8ab11-efa8-4ae7-a8c2-d0b5afe4171c + - 70b9bfad-b75e-4ecf-a3fb-7ba5d0ba4e06 Original-Request: - - req_0Cn1MwTlgORHBK + - req_zUqaIRoXLSvLQG + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0Cn1MwTlgORHBK + - req_zUqaIRoXLSvLQG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -586,7 +606,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsrKuuB1fWySn09EU0Roi", + "id": "pi_3Oy1yfKuuB1fWySn07fsNcfd", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -604,7 +624,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OvTsrKuuB1fWySn0ADqhOVF", + "id": "ch_3Oy1yfKuuB1fWySn0iqzx5ZJ", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -613,7 +633,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OvTsrKuuB1fWySn0fRay9LN", + "balance_transaction": "txn_3Oy1yfKuuB1fWySn0Bq9IJSm", "billing_details": { "address": { "city": null, @@ -629,7 +649,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710721018, + "created": 1711328730, "currency": "aud", "customer": null, "description": null, @@ -649,18 +669,18 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 60, + "risk_score": 49, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OvTsrKuuB1fWySn09EU0Roi", - "payment_method": "pm_1OvTsrKuuB1fWySn1NlQqx0m", + "payment_intent": "pi_3Oy1yfKuuB1fWySn07fsNcfd", + "payment_method": "pm_1Oy1yfKuuB1fWySnmSknGVrY", "payment_method_details": { "card": { "amount_authorized": 1000, "brand": "mastercard", - "capture_before": 1711325818, + "capture_before": 1711933530, "checks": { "address_line1_check": null, "address_postal_code_check": null, @@ -699,14 +719,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKPyP3q8GMgZR9qeMufA6LBYL69eHefKPSJr7NcncC3gdmlCpLJj1stOhBI2VfYSfCoS1QyNenvmjqZVa", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKN2bg7AGMgarRMEgGRE6LBbWYlBvobC-RPCaTfg6H-aGjj1IIBnFsdXk9cGG0Q6VTECF5RDLFsMxptpV", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OvTsrKuuB1fWySn0ADqhOVF/refunds" + "url": "/v1/charges/ch_3Oy1yfKuuB1fWySn0iqzx5ZJ/refunds" }, "review": null, "shipping": null, @@ -721,22 +741,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OvTsrKuuB1fWySn09EU0Roi" + "url": "/v1/charges?payment_intent=pi_3Oy1yfKuuB1fWySn07fsNcfd" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1710721017, + "created": 1711328729, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsrKuuB1fWySn0ADqhOVF", + "latest_charge": "ch_3Oy1yfKuuB1fWySn0iqzx5ZJ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsrKuuB1fWySn1NlQqx0m", + "payment_method": "pm_1Oy1yfKuuB1fWySnmSknGVrY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -761,5 +781,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:01 GMT + recorded_at: Mon, 25 Mar 2024 01:05:33 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml index 2077d1ec88..f50fd5d285 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Je3JZYGqfsoY6v","request_duration_ms":286}}' + - '{"last_request_metrics":{"request_id":"req_3bg3h4Aj4t7cN6","request_duration_ms":311}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:01 GMT + - Mon, 25 Mar 2024 01:05:33 GMT Content-Type: - application/json Content-Length: @@ -57,9 +57,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qOImK0gC8EtBKg + - req_NVFewBpDrTVLXp Stripe-Version: - '2023-10-16' Vary: @@ -72,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsvKuuB1fWySnmhjmvAfj", + "id": "pm_1Oy1yjKuuB1fWySnumy35WlL", "object": "payment_method", "billing_details": { "address": { @@ -113,28 +117,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721021, + "created": 1711328733, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:17:01 GMT + recorded_at: Mon, 25 Mar 2024 01:05:33 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1OvTsvKuuB1fWySnmhjmvAfj&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1Oy1yjKuuB1fWySnumy35WlL&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qOImK0gC8EtBKg","request_duration_ms":456}}' + - '{"last_request_metrics":{"request_id":"req_NVFewBpDrTVLXp","request_duration_ms":436}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -151,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:01 GMT + - Mon, 25 Mar 2024 01:05:34 GMT Content-Type: - application/json Content-Length: @@ -176,13 +180,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 95d1b1ea-2763-4117-a007-53bf7ac839f4 + - cd07ba15-aa17-4cae-b02d-3b03646f7c8e Original-Request: - - req_pMu6L70PG5BmHc + - req_B7pqiSH8Ga1rGi + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pMu6L70PG5BmHc + - req_B7pqiSH8Ga1rGi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -197,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsvKuuB1fWySn14C8n9le", + "id": "pi_3Oy1ykKuuB1fWySn2Y4njm2Y", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -213,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721021, + "created": 1711328734, "currency": "aud", "customer": null, "description": null, @@ -224,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsvKuuB1fWySnmhjmvAfj", + "payment_method": "pm_1Oy1yjKuuB1fWySnumy35WlL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -249,22 +257,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:01 GMT + recorded_at: Mon, 25 Mar 2024 01:05:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsvKuuB1fWySn14C8n9le/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1ykKuuB1fWySn2Y4njm2Y/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pMu6L70PG5BmHc","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_B7pqiSH8Ga1rGi","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -281,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:02 GMT + - Mon, 25 Mar 2024 01:05:35 GMT Content-Type: - application/json Content-Length: @@ -307,13 +315,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - fdeff711-2503-49ea-bf8e-c780d6fb38da + - 024f19c8-d5dd-41f8-989b-d2e44cc8d558 Original-Request: - - req_tpFKmpYlEHPZTy + - req_nFUn2E3zDuLnka + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_tpFKmpYlEHPZTy + - req_nFUn2E3zDuLnka Stripe-Should-Retry: - 'false' Stripe-Version: @@ -328,7 +340,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsvKuuB1fWySn14C8n9le", + "id": "pi_3Oy1ykKuuB1fWySn2Y4njm2Y", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -344,18 +356,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721021, + "created": 1711328734, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsvKuuB1fWySn1tc7LulR", + "latest_charge": "ch_3Oy1ykKuuB1fWySn2b3yc3OQ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsvKuuB1fWySnmhjmvAfj", + "payment_method": "pm_1Oy1yjKuuB1fWySnumy35WlL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -380,5 +392,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:03 GMT + recorded_at: Mon, 25 Mar 2024 01:05:35 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml index 893fe4bfa5..9be6c680c7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tpFKmpYlEHPZTy","request_duration_ms":1026}}' + - '{"last_request_metrics":{"request_id":"req_nFUn2E3zDuLnka","request_duration_ms":937}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:05 GMT + - Mon, 25 Mar 2024 01:05:37 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 985f0eb8-05ab-45a5-8208-da288cbbac45 + - 0b04a96a-3534-43ae-92d5-00c1259d7e11 Original-Request: - - req_znMjsKJzcmNgAS + - req_fbiCnbwzgahDp8 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_znMjsKJzcmNgAS + - req_fbiCnbwzgahDp8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvTsx4DXqtLEoR8", + "id": "acct_1Oy1ylQQBQboho8d", "object": "account", "business_profile": { "annual_revenue": null, @@ -99,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710721024, + "created": 1711328736, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -108,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvTsx4DXqtLEoR8/external_accounts" + "url": "/v1/accounts/acct_1Oy1ylQQBQboho8d/external_accounts" }, "future_requirements": { "alternatives": [], @@ -205,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 18 Mar 2024 00:17:05 GMT + recorded_at: Mon, 25 Mar 2024 01:05:37 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -214,13 +218,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_znMjsKJzcmNgAS","request_duration_ms":1766}}' + - '{"last_request_metrics":{"request_id":"req_fbiCnbwzgahDp8","request_duration_ms":1520}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -237,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:06 GMT + - Mon, 25 Mar 2024 01:05:38 GMT Content-Type: - application/json Content-Length: @@ -263,9 +267,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wyLJZvPiCiFdnm + - req_jzrkwjOjdTRGXl Stripe-Version: - '2023-10-16' Vary: @@ -278,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTt0KuuB1fWySnUCztcYD7", + "id": "pm_1Oy1ynKuuB1fWySntoarRMNc", "object": "payment_method", "billing_details": { "address": { @@ -319,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1710721026, + "created": 1711328737, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:17:06 GMT + recorded_at: Mon, 25 Mar 2024 01:05:38 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -334,19 +342,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wyLJZvPiCiFdnm","request_duration_ms":448}}' + - '{"last_request_metrics":{"request_id":"req_jzrkwjOjdTRGXl","request_duration_ms":366}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTsx4DXqtLEoR8 + - acct_1Oy1ylQQBQboho8d Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -359,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:07 GMT + - Mon, 25 Mar 2024 01:05:39 GMT Content-Type: - application/json Content-Length: @@ -384,15 +392,19 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - e612060a-27e0-4041-b981-631957bf8016 + - fd896ded-8114-4db7-8ae9-7521f6de7207 Original-Request: - - req_EYLl0zFhfPcJj3 + - req_YcdwGwp3R1roTq + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EYLl0zFhfPcJj3 + - req_YcdwGwp3R1roTq Stripe-Account: - - acct_1OvTsx4DXqtLEoR8 + - acct_1Oy1ylQQBQboho8d Stripe-Should-Retry: - 'false' Stripe-Version: @@ -407,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTt04DXqtLEoR80GthblMq", + "id": "pi_3Oy1yoQQBQboho8d1GzK0RmL", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -423,18 +435,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721026, + "created": 1711328738, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTt04DXqtLEoR80d2uLuNK", + "latest_charge": "ch_3Oy1yoQQBQboho8d1P02xOfr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTt04DXqtLEoR81erYM7xD", + "payment_method": "pm_1Oy1yoQQBQboho8dX6fOZSS0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -459,28 +471,28 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:07 GMT + recorded_at: Mon, 25 Mar 2024 01:05:39 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTt04DXqtLEoR80GthblMq + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yoQQBQboho8d1GzK0RmL body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EYLl0zFhfPcJj3","request_duration_ms":1533}}' + - '{"last_request_metrics":{"request_id":"req_YcdwGwp3R1roTq","request_duration_ms":1425}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTsx4DXqtLEoR8 + - acct_1Oy1ylQQBQboho8d Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -493,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:08 GMT + - Mon, 25 Mar 2024 01:05:39 GMT Content-Type: - application/json Content-Length: @@ -519,11 +531,15 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_n21ZueS6MuFNLw + - req_B8HQtwXofAuAud Stripe-Account: - - acct_1OvTsx4DXqtLEoR8 + - acct_1Oy1ylQQBQboho8d Stripe-Version: - '2023-10-16' Vary: @@ -536,7 +552,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTt04DXqtLEoR80GthblMq", + "id": "pi_3Oy1yoQQBQboho8d1GzK0RmL", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -552,18 +568,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721026, + "created": 1711328738, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTt04DXqtLEoR80d2uLuNK", + "latest_charge": "ch_3Oy1yoQQBQboho8d1P02xOfr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTt04DXqtLEoR81erYM7xD", + "payment_method": "pm_1Oy1yoQQBQboho8dX6fOZSS0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -588,16 +604,16 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:08 GMT + recorded_at: Mon, 25 Mar 2024 01:05:39 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTt04DXqtLEoR80GthblMq + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yoQQBQboho8d1GzK0RmL body: encoding: US-ASCII string: '' headers: Authorization: - - Basic c2tfdGVzdF94RmdKUU9sWHBNQUZzb3p0endGQlRGaFAwMEhHN0J1Q0ptOg== + - "" User-Agent: - Stripe/v1 ActiveMerchantBindings/1.133.0 Stripe-Version: @@ -607,7 +623,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OvTsx4DXqtLEoR8 + - acct_1Oy1ylQQBQboho8d Connection: - close Accept-Encoding: @@ -622,11 +638,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:08 GMT + - Mon, 25 Mar 2024 01:05:40 GMT Content-Type: - application/json Content-Length: - - '5160' + - '5159' Connection: - close Access-Control-Allow-Credentials: @@ -648,11 +664,15 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cBHWzojWArVSj4 + - req_CSd4rWimSuXsi1 Stripe-Account: - - acct_1OvTsx4DXqtLEoR8 + - acct_1Oy1ylQQBQboho8d Stripe-Version: - '2020-08-27' Vary: @@ -665,7 +685,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTt04DXqtLEoR80GthblMq", + "id": "pi_3Oy1yoQQBQboho8d1GzK0RmL", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -683,7 +703,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OvTt04DXqtLEoR80d2uLuNK", + "id": "ch_3Oy1yoQQBQboho8d1P02xOfr", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -691,7 +711,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OvTt04DXqtLEoR80PxY1ex2", + "balance_transaction": "txn_3Oy1yoQQBQboho8d1aY0Geov", "billing_details": { "address": { "city": null, @@ -707,7 +727,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710721027, + "created": 1711328738, "currency": "aud", "customer": null, "description": null, @@ -727,13 +747,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 40, + "risk_score": 2, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OvTt04DXqtLEoR80GthblMq", - "payment_method": "pm_1OvTt04DXqtLEoR81erYM7xD", + "payment_intent": "pi_3Oy1yoQQBQboho8d1GzK0RmL", + "payment_method": "pm_1Oy1yoQQBQboho8dX6fOZSS0", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -776,14 +796,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3ZUc3g0RFhxdExFb1I4KISQ3q8GMgYbTnjasls6LBbzE7IU_NM3iee_T-sMt21-a4qQf9r_dmHCzVwTEiSA0cE1B4p_hGYPye3Q", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3kxeWxRUUJRYm9obzhkKOSbg7AGMgYWZlW4LmE6LBaCWIdCdCzIKdxrS5MSExre106gKftLKUN-aiDzhCA03iHuNiBaMnIN2AfB", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OvTt04DXqtLEoR80d2uLuNK/refunds" + "url": "/v1/charges/ch_3Oy1yoQQBQboho8d1P02xOfr/refunds" }, "review": null, "shipping": null, @@ -798,22 +818,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OvTt04DXqtLEoR80GthblMq" + "url": "/v1/charges?payment_intent=pi_3Oy1yoQQBQboho8d1GzK0RmL" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1710721026, + "created": 1711328738, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTt04DXqtLEoR80d2uLuNK", + "latest_charge": "ch_3Oy1yoQQBQboho8d1P02xOfr", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTt04DXqtLEoR81erYM7xD", + "payment_method": "pm_1Oy1yoQQBQboho8dX6fOZSS0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -838,10 +858,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:08 GMT + recorded_at: Mon, 25 Mar 2024 01:05:40 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3OvTt04DXqtLEoR80d2uLuNK/refunds + uri: https://api.stripe.com/v1/charges/ch_3Oy1yoQQBQboho8d1P02xOfr/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -849,7 +869,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded Authorization: - - Basic c2tfdGVzdF94RmdKUU9sWHBNQUZzb3p0endGQlRGaFAwMEhHN0J1Q0ptOg== + - "" User-Agent: - Stripe/v1 ActiveMerchantBindings/1.133.0 Stripe-Version: @@ -859,7 +879,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OvTsx4DXqtLEoR8 + - acct_1Oy1ylQQBQboho8d Connection: - close Accept-Encoding: @@ -874,11 +894,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:10 GMT + - Mon, 25 Mar 2024 01:05:41 GMT Content-Type: - application/json Content-Length: - - '4536' + - '4535' Connection: - close Access-Control-Allow-Credentials: @@ -900,15 +920,19 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 333302cd-636e-49b6-838c-569de3326974 + - 1ee8c9cd-d52a-4415-9d08-341e29679f82 Original-Request: - - req_ApI8tFa43Mgg37 + - req_iGUFWRqGFSqPnf + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ApI8tFa43Mgg37 + - req_iGUFWRqGFSqPnf Stripe-Account: - - acct_1OvTsx4DXqtLEoR8 + - acct_1Oy1ylQQBQboho8d Stripe-Should-Retry: - 'false' Stripe-Version: @@ -923,12 +947,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3OvTt04DXqtLEoR8015urEeE", + "id": "re_3Oy1yoQQBQboho8d19AcpLS8", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OvTt04DXqtLEoR80z4jFrdN", + "balance_transaction": "txn_3Oy1yoQQBQboho8d1ObNoNSy", "charge": { - "id": "ch_3OvTt04DXqtLEoR80d2uLuNK", + "id": "ch_3Oy1yoQQBQboho8d1P02xOfr", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -936,7 +960,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OvTt04DXqtLEoR80PxY1ex2", + "balance_transaction": "txn_3Oy1yoQQBQboho8d1aY0Geov", "billing_details": { "address": { "city": null, @@ -952,7 +976,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710721027, + "created": 1711328738, "currency": "aud", "customer": null, "description": null, @@ -972,13 +996,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 40, + "risk_score": 2, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OvTt04DXqtLEoR80GthblMq", - "payment_method": "pm_1OvTt04DXqtLEoR81erYM7xD", + "payment_intent": "pi_3Oy1yoQQBQboho8d1GzK0RmL", + "payment_method": "pm_1Oy1yoQQBQboho8dX6fOZSS0", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -1021,18 +1045,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3ZUc3g0RFhxdExFb1I4KIaQ3q8GMgazDzHjCFg6LBZloYn7cGSHX1hBFAqrxBRr29LSSltqjrbTOFC2Z-eJv485WFoQ65n0mgAh", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3kxeWxRUUJRYm9obzhkKOWbg7AGMgbrN7C25Bw6LBZsWKcrRKE1SQAGSnUvwwx9RlR5zavtd_dD_C0rb-R5ddUmv4GzOFn_NcG1", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3OvTt04DXqtLEoR8015urEeE", + "id": "re_3Oy1yoQQBQboho8d19AcpLS8", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3OvTt04DXqtLEoR80z4jFrdN", - "charge": "ch_3OvTt04DXqtLEoR80d2uLuNK", - "created": 1710721029, + "balance_transaction": "txn_3Oy1yoQQBQboho8d1ObNoNSy", + "charge": "ch_3Oy1yoQQBQboho8d1P02xOfr", + "created": 1711328740, "currency": "aud", "destination_details": { "card": { @@ -1043,7 +1067,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OvTt04DXqtLEoR80GthblMq", + "payment_intent": "pi_3Oy1yoQQBQboho8d1GzK0RmL", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1053,7 +1077,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3OvTt04DXqtLEoR80d2uLuNK/refunds" + "url": "/v1/charges/ch_3Oy1yoQQBQboho8d1P02xOfr/refunds" }, "review": null, "shipping": null, @@ -1065,7 +1089,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1710721029, + "created": 1711328740, "currency": "aud", "destination_details": { "card": { @@ -1076,12 +1100,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OvTt04DXqtLEoR80GthblMq", + "payment_intent": "pi_3Oy1yoQQBQboho8d1GzK0RmL", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Mon, 18 Mar 2024 00:17:10 GMT + recorded_at: Mon, 25 Mar 2024 01:05:41 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml index 1fe86c7e5c..c96694e36d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_n21ZueS6MuFNLw","request_duration_ms":396}}' + - '{"last_request_metrics":{"request_id":"req_B8HQtwXofAuAud","request_duration_ms":315}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:12 GMT + - Mon, 25 Mar 2024 01:05:43 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - d8e003ae-f7b1-4c5a-8ecb-af13cddb4da9 + - e0d95ab9-e759-44f9-953b-42a1b5039ee5 Original-Request: - - req_jBAjzFqvG3cbm1 + - req_phH4XQSJYj98Br + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jBAjzFqvG3cbm1 + - req_phH4XQSJYj98Br Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvTt4QMCDDol8mg", + "id": "acct_1Oy1yr4JZbvxnQxx", "object": "account", "business_profile": { "annual_revenue": null, @@ -99,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710721031, + "created": 1711328742, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -108,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvTt4QMCDDol8mg/external_accounts" + "url": "/v1/accounts/acct_1Oy1yr4JZbvxnQxx/external_accounts" }, "future_requirements": { "alternatives": [], @@ -205,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 18 Mar 2024 00:17:12 GMT + recorded_at: Mon, 25 Mar 2024 01:05:43 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -214,13 +218,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jBAjzFqvG3cbm1","request_duration_ms":1728}}' + - '{"last_request_metrics":{"request_id":"req_phH4XQSJYj98Br","request_duration_ms":1624}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -237,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:13 GMT + - Mon, 25 Mar 2024 01:05:44 GMT Content-Type: - application/json Content-Length: @@ -263,9 +267,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_a5fwaAIdzPpbV7 + - req_VjTDKDraib3x5n Stripe-Version: - '2023-10-16' Vary: @@ -278,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTt6KuuB1fWySnlNssK55r", + "id": "pm_1Oy1ytKuuB1fWySnTGPUUZ9W", "object": "payment_method", "billing_details": { "address": { @@ -319,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1710721032, + "created": 1711328743, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:17:13 GMT + recorded_at: Mon, 25 Mar 2024 01:05:44 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -334,19 +342,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_a5fwaAIdzPpbV7","request_duration_ms":461}}' + - '{"last_request_metrics":{"request_id":"req_VjTDKDraib3x5n","request_duration_ms":348}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTt4QMCDDol8mg + - acct_1Oy1yr4JZbvxnQxx Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -359,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:13 GMT + - Mon, 25 Mar 2024 01:05:44 GMT Content-Type: - application/json Content-Length: @@ -384,15 +392,19 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - a501026b-0adb-41c9-87e5-28788481cc26 + - 448a3754-ff2d-4c7a-932a-6ecbed368de5 Original-Request: - - req_d2BOLiwt5JKLAU + - req_VCNskqLWVYXBwm + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_d2BOLiwt5JKLAU + - req_VCNskqLWVYXBwm Stripe-Account: - - acct_1OvTt4QMCDDol8mg + - acct_1Oy1yr4JZbvxnQxx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -407,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTt7QMCDDol8mg0B4AiMn3", + "id": "pi_3Oy1yu4JZbvxnQxx1GZfkvyC", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -423,7 +435,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721033, + "created": 1711328744, "currency": "aud", "customer": null, "description": null, @@ -434,7 +446,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTt7QMCDDol8mgfgbwjUd9", + "payment_method": "pm_1Oy1yu4JZbvxnQxx237loiZv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -459,28 +471,28 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:13 GMT + recorded_at: Mon, 25 Mar 2024 01:05:44 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTt7QMCDDol8mg0B4AiMn3 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yu4JZbvxnQxx1GZfkvyC body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_d2BOLiwt5JKLAU","request_duration_ms":483}}' + - '{"last_request_metrics":{"request_id":"req_VCNskqLWVYXBwm","request_duration_ms":494}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTt4QMCDDol8mg + - acct_1Oy1yr4JZbvxnQxx Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -493,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:13 GMT + - Mon, 25 Mar 2024 01:05:44 GMT Content-Type: - application/json Content-Length: @@ -519,11 +531,15 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kYJ3h29vQqkIEB + - req_dQEqJkCMMFVHEu Stripe-Account: - - acct_1OvTt4QMCDDol8mg + - acct_1Oy1yr4JZbvxnQxx Stripe-Version: - '2023-10-16' Vary: @@ -536,7 +552,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTt7QMCDDol8mg0B4AiMn3", + "id": "pi_3Oy1yu4JZbvxnQxx1GZfkvyC", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -552,7 +568,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721033, + "created": 1711328744, "currency": "aud", "customer": null, "description": null, @@ -563,7 +579,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTt7QMCDDol8mgfgbwjUd9", + "payment_method": "pm_1Oy1yu4JZbvxnQxx237loiZv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -588,10 +604,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:14 GMT + recorded_at: Mon, 25 Mar 2024 01:05:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTt7QMCDDol8mg0B4AiMn3/cancel + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yu4JZbvxnQxx1GZfkvyC/cancel body: encoding: US-ASCII string: '' @@ -599,7 +615,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded Authorization: - - Basic c2tfdGVzdF94RmdKUU9sWHBNQUZzb3p0endGQlRGaFAwMEhHN0J1Q0ptOg== + - "" User-Agent: - Stripe/v1 ActiveMerchantBindings/1.133.0 Stripe-Version: @@ -609,7 +625,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OvTt4QMCDDol8mg + - acct_1Oy1yr4JZbvxnQxx Connection: - close Accept-Encoding: @@ -624,7 +640,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:14 GMT + - Mon, 25 Mar 2024 01:05:45 GMT Content-Type: - application/json Content-Length: @@ -650,15 +666,19 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 6593aa6b-f115-4786-9e43-b253222a656a + - 16ccfd33-7b9f-4f3c-8c3c-2e646c07a3bc Original-Request: - - req_XuJWYnH8jq6uQR + - req_dCuFJRf1qmi5jG + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XuJWYnH8jq6uQR + - req_dCuFJRf1qmi5jG Stripe-Account: - - acct_1OvTt4QMCDDol8mg + - acct_1Oy1yr4JZbvxnQxx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -673,7 +693,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTt7QMCDDol8mg0B4AiMn3", + "id": "pi_3Oy1yu4JZbvxnQxx1GZfkvyC", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -684,7 +704,7 @@ http_interactions: "application": "", "application_fee_amount": null, "automatic_payment_methods": null, - "canceled_at": 1710721034, + "canceled_at": 1711328745, "cancellation_reason": null, "capture_method": "manual", "charges": { @@ -692,11 +712,11 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges?payment_intent=pi_3OvTt7QMCDDol8mg0B4AiMn3" + "url": "/v1/charges?payment_intent=pi_3Oy1yu4JZbvxnQxx1GZfkvyC" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1710721033, + "created": 1711328744, "currency": "aud", "customer": null, "description": null, @@ -707,7 +727,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTt7QMCDDol8mgfgbwjUd9", + "payment_method": "pm_1Oy1yu4JZbvxnQxx237loiZv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -732,5 +752,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:14 GMT + recorded_at: Mon, 25 Mar 2024 01:05:45 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml similarity index 64% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml index f45daa7ad8..c93876b3f2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml @@ -8,13 +8,13 @@ http_interactions: string: stripe_user_id=&client_id=bogus_client_id headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_B79MaIEhVEEPAQ","request_duration_ms":311}}' + - '{"last_request_metrics":{"request_id":"req_YyXcj9K9FRIiNe","request_duration_ms":374}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:22 GMT + - Mon, 25 Mar 2024 01:05:52 GMT Content-Type: - application/json; charset=utf-8 Content-Length: @@ -45,32 +45,36 @@ http_interactions: 'none' 'report-sample';base-uri 'none';form-action 'none';style-src 'unsafe-inline';frame-ancestors 'self';connect-src 'self';img-src 'self' https://b.stripecdn.com Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin-allow-popups; report-to="coop" Expires: - '0' Pragma: - no-cache Referrer-Policy: - strict-origin-when-cross-origin + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GHrVmVa7FGmpaS + - req_XNFLMYKDQH6vzm Set-Cookie: - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Tue, 18 Mar 2025 00:17:22 GMT; secure; + domain=stripe.com; path=/; expires=Tue, 25 Mar 2025 01:05:52 GMT; secure; HttpOnly; SameSite=Lax - - cid=2582bbce-6937-4242-8cf6-c4343f511344; domain=stripe.com; path=/; expires=Sun, - 16 Jun 2024 00:17:22 GMT; secure; SameSite=Lax - - machine_identifier=u08LMPqUrD5B1kp1zW091JTX1MYNXe2GXreB9n879fzGcPyBLxvc1GSNLjOs5sUCJgc%3D; - domain=stripe.com; path=/; expires=Tue, 18 Mar 2025 00:17:22 GMT; secure; + - cid=50818e5c-1b1d-42ec-8a8a-fbdc026affc1; domain=stripe.com; path=/; expires=Sun, + 23 Jun 2024 01:05:52 GMT; secure; SameSite=Lax + - machine_identifier=YnZNMEy%2FWlKa7Gm7QnVeRdGoMMrrQXw%2B%2FCKlynr73IN%2FJO8YWXFPtj%2FJy%2FamU1aPXX0%3D; + domain=stripe.com; path=/; expires=Tue, 25 Mar 2025 01:05:52 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=0RNxLTzWt20%2BdTYyGlYw33oFTzBCS0DcoCPxJ0x4mBQXzB3ZPxI2XLgrMIOu85fwhMI%3D; - domain=stripe.com; path=/; expires=Tue, 18 Mar 2025 00:17:22 GMT; secure; + - private_machine_identifier=dqPcVwwV5wGc%2BRXkhxMiXL3f5Ty7mKStR7xt%2BgGZOGpH1Vvopgi7gcEDerP2Lr%2BSVPM%3D; + domain=stripe.com; path=/; expires=Tue, 25 Mar 2025 01:05:52 GMT; secure; HttpOnly; SameSite=None - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure - - stripe.csrf=aSus_H8-dkvYjBCLXdh8ntg0xuAW1tkywbt_IwbHZRnT37RbQnHIDIMXzyB345bI1i97FekAm_9ddOCbwUDqrjw-AYTZVJz9GFAUrBpzKH_O3PHD6OAxKYSYiUWLtYNMqKvDFBVQ3g%3D%3D; + - stripe.csrf=ow3Uhl1_d_KlqxcAwdWmGKOqLhG-uQQKnlb-p8KaEAsY75zwAkXJgTvqXtUsAHnlXFwT6yqQUmkvE7nO1zaSbjw-AYTZVJwq3SPg2YJk-PMWG8UpZ5t2YmpI3FcHAh9lIii4Wl0Tow%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -87,5 +91,5 @@ http_interactions: "error": "invalid_client", "error_description": "No such application: 'bogus_client_id'" } - recorded_at: Mon, 18 Mar 2024 00:17:22 GMT + recorded_at: Mon, 25 Mar 2024 01:05:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml similarity index 78% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml index b52145f516..2379e57198 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_B79MaIEhVEEPAQ","request_duration_ms":311}}' + - '{"last_request_metrics":{"request_id":"req_YyXcj9K9FRIiNe","request_duration_ms":374}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:24 GMT + - Mon, 25 Mar 2024 01:05:54 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 788464b4-12cd-4010-9f2c-1f9f6084c894 + - b5ae8fa2-666a-4aeb-9cdf-e30b113ad9db Original-Request: - - req_DESgTgTGnGMKSG + - req_Vtt9m004X8JFAw + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DESgTgTGnGMKSG + - req_Vtt9m004X8JFAw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvTtGQMp0lyFQ94", + "id": "acct_1Oy1z24GAy4CLCUW", "object": "account", "business_profile": { "annual_revenue": null, @@ -99,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710721043, + "created": 1711328753, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -108,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvTtGQMp0lyFQ94/external_accounts" + "url": "/v1/accounts/acct_1Oy1z24GAy4CLCUW/external_accounts" }, "future_requirements": { "alternatives": [], @@ -205,22 +209,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 18 Mar 2024 00:17:24 GMT + recorded_at: Mon, 25 Mar 2024 01:05:54 GMT - request: method: post uri: https://connect.stripe.com/oauth/deauthorize body: encoding: UTF-8 - string: stripe_user_id=acct_1OvTtGQMp0lyFQ94&client_id= + string: stripe_user_id=acct_1Oy1z24GAy4CLCUW&client_id= headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DESgTgTGnGMKSG","request_duration_ms":1866}}' + - '{"last_request_metrics":{"request_id":"req_Vtt9m004X8JFAw","request_duration_ms":1786}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -237,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:24 GMT + - Mon, 25 Mar 2024 01:05:54 GMT Content-Type: - application/json Content-Length: @@ -251,32 +255,36 @@ http_interactions: 'none' 'report-sample';base-uri 'none';form-action 'none';style-src 'unsafe-inline';frame-ancestors 'self';connect-src 'self';img-src 'self' https://b.stripecdn.com Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin-allow-popups; report-to="coop" Expires: - '0' Pragma: - no-cache Referrer-Policy: - strict-origin-when-cross-origin + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NRuOqrZYZsOvY4 + - req_OHCReNyvhMrsgI Set-Cookie: - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Tue, 18 Mar 2025 00:17:24 GMT; secure; + domain=stripe.com; path=/; expires=Tue, 25 Mar 2025 01:05:54 GMT; secure; HttpOnly; SameSite=Lax - - cid=5c415000-74b6-4cc1-a552-9585aa5c3405; domain=stripe.com; path=/; expires=Sun, - 16 Jun 2024 00:17:24 GMT; secure; SameSite=Lax - - machine_identifier=dFbFbEgmqfRTYoQrHRZPV8Viaa3TdXOcyaHzp9%2FbuTwpTJv4Y4UqtYkSdos6I4upkkw%3D; - domain=stripe.com; path=/; expires=Tue, 18 Mar 2025 00:17:24 GMT; secure; + - cid=69252190-cd74-4f45-9194-9f471919dc32; domain=stripe.com; path=/; expires=Sun, + 23 Jun 2024 01:05:54 GMT; secure; SameSite=Lax + - machine_identifier=aR%2BIDO68YE%2FV%2F5NgVpaP%2FOcB8Q9YfJvb2BzdWt%2BZVrrC1nIP2EIWkX1UkyqzGQwGlGQ%3D; + domain=stripe.com; path=/; expires=Tue, 25 Mar 2025 01:05:54 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=xE%2BK2%2BlUylTzVVomPbZiN8i0mlFHXzYekKDtQ%2BEsmyvOLfBVPJwXM6vpHxPtl2Vh94g%3D; - domain=stripe.com; path=/; expires=Tue, 18 Mar 2025 00:17:24 GMT; secure; + - private_machine_identifier=Q7hoqLOLgn7ATQVfXCnDUk26QRTZ0ruZ%2FQbGVAFq0qddTiKUfg2ITQFuDeeerxLxKnw%3D; + domain=stripe.com; path=/; expires=Tue, 25 Mar 2025 01:05:54 GMT; secure; HttpOnly; SameSite=None - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; secure - - stripe.csrf=GqBzZzi63YUV_sTHahtU-rcSjGe9iPImil-9-M3yqjCAc3SZ_sCrydfEB9rbU2glYEHo_MElt8muUgAy2eKuBzw-AYTZVJyqhoBLAXavr-PDpNbPXZ_YEue4llqvZbqHDPxWXPFAvA%3D%3D; + - stripe.csrf=Ab9IU_GLeCf6zIAQTRXKzF5nZm1j9K1y-sEuZcHmqQd_772w-RwheXWpeDo8CPJQbJN6c-xhMN5GCbLDlho4lzw-AYTZVJxuB9C5EWzN7Ov3Zz1z3QpiUK6iuOPeHHjOww65DVjEUg%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -288,7 +296,7 @@ http_interactions: encoding: UTF-8 string: |- { - "stripe_user_id": "acct_1OvTtGQMp0lyFQ94" + "stripe_user_id": "acct_1Oy1z24GAy4CLCUW" } - recorded_at: Mon, 18 Mar 2024 00:17:24 GMT + recorded_at: Mon, 25 Mar 2024 01:05:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml index fdf43f639a..8f90bedbe6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jIiMyuL3cGyXiu","request_duration_ms":1328}}' + - '{"last_request_metrics":{"request_id":"req_kQsKDQ3Ilctbs9","request_duration_ms":1431}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:32 GMT + - Mon, 25 Mar 2024 01:06:01 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 83da0cfb-bd95-44fc-afb8-01634ecd8d3a + - fa660551-82fa-4d22-9775-33bc59e40ec5 Original-Request: - - req_25HytWVowVqHlu + - req_u8gJ8G7RcIiERL + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_25HytWVowVqHlu + - req_u8gJ8G7RcIiERL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTtQKuuB1fWySn9aNF8uS7", + "id": "pm_1Oy1zBKuuB1fWySnGoPrLKzU", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721052, + "created": 1711328761, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:17:32 GMT + recorded_at: Mon, 25 Mar 2024 01:06:01 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OvTtQKuuB1fWySn9aNF8uS7&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1Oy1zBKuuB1fWySnGoPrLKzU&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_25HytWVowVqHlu","request_duration_ms":598}}' + - '{"last_request_metrics":{"request_id":"req_u8gJ8G7RcIiERL","request_duration_ms":455}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:33 GMT + - Mon, 25 Mar 2024 01:06:02 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 335e7ba2-193c-4e2a-a7ec-f0b1a4315e1f + - 7aca0127-2764-4eb5-b183-a408bb616d9b Original-Request: - - req_KxWXDLCJ5MaOtW + - req_PrUpQJ5wWEzkD6 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KxWXDLCJ5MaOtW + - req_PrUpQJ5wWEzkD6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtRKuuB1fWySn2GrEKUaE", + "id": "pi_3Oy1zCKuuB1fWySn0UZ3Zant", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721053, + "created": 1711328762, "currency": "aud", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtQKuuB1fWySn9aNF8uS7", + "payment_method": "pm_1Oy1zBKuuB1fWySnGoPrLKzU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:33 GMT + recorded_at: Mon, 25 Mar 2024 01:06:02 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtRKuuB1fWySn2GrEKUaE/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1zCKuuB1fWySn0UZ3Zant/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KxWXDLCJ5MaOtW","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_PrUpQJ5wWEzkD6","request_duration_ms":395}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:34 GMT + - Mon, 25 Mar 2024 01:06:03 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 6b124504-22a9-46c7-a601-f68ab1e8c335 + - 22169816-74c6-4ac7-85a2-f6eba0b13be3 Original-Request: - - req_LZ5CHZyseYpGK2 + - req_8znkZW1stTKAYj + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LZ5CHZyseYpGK2 + - req_8znkZW1stTKAYj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtRKuuB1fWySn2GrEKUaE", + "id": "pi_3Oy1zCKuuB1fWySn0UZ3Zant", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721053, + "created": 1711328762, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTtRKuuB1fWySn2luCuMhP", + "latest_charge": "ch_3Oy1zCKuuB1fWySn0ryNBv7i", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtQKuuB1fWySn9aNF8uS7", + "payment_method": "pm_1Oy1zBKuuB1fWySnGoPrLKzU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:34 GMT + recorded_at: Mon, 25 Mar 2024 01:06:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtRKuuB1fWySn2GrEKUaE/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1zCKuuB1fWySn0UZ3Zant/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LZ5CHZyseYpGK2","request_duration_ms":920}}' + - '{"last_request_metrics":{"request_id":"req_8znkZW1stTKAYj","request_duration_ms":965}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:35 GMT + - Mon, 25 Mar 2024 01:06:04 GMT Content-Type: - application/json Content-Length: @@ -443,13 +455,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - de418712-e7ef-42be-9659-f8af5a2f4b8a + - dc31bd6b-cbf0-4281-907a-0c30a2223bf3 Original-Request: - - req_lyqI9elLYo4CtZ + - req_4O9sdYTCigv3lA + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lyqI9elLYo4CtZ + - req_4O9sdYTCigv3lA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -464,7 +480,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtRKuuB1fWySn2GrEKUaE", + "id": "pi_3Oy1zCKuuB1fWySn0UZ3Zant", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -480,18 +496,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721053, + "created": 1711328762, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTtRKuuB1fWySn2luCuMhP", + "latest_charge": "ch_3Oy1zCKuuB1fWySn0ryNBv7i", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtQKuuB1fWySn9aNF8uS7", + "payment_method": "pm_1Oy1zBKuuB1fWySnGoPrLKzU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -516,22 +532,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:35 GMT + recorded_at: Mon, 25 Mar 2024 01:06:04 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtRKuuB1fWySn2GrEKUaE + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1zCKuuB1fWySn0UZ3Zant body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lyqI9elLYo4CtZ","request_duration_ms":1227}}' + - '{"last_request_metrics":{"request_id":"req_4O9sdYTCigv3lA","request_duration_ms":1215}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -548,7 +564,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:35 GMT + - Mon, 25 Mar 2024 01:06:04 GMT Content-Type: - application/json Content-Length: @@ -574,9 +590,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QLgFMvG0k7taRw + - req_SIi2VfiKBKwO71 Stripe-Version: - '2023-10-16' Vary: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtRKuuB1fWySn2GrEKUaE", + "id": "pi_3Oy1zCKuuB1fWySn0UZ3Zant", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721053, + "created": 1711328762, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTtRKuuB1fWySn2luCuMhP", + "latest_charge": "ch_3Oy1zCKuuB1fWySn0ryNBv7i", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtQKuuB1fWySn9aNF8uS7", + "payment_method": "pm_1Oy1zBKuuB1fWySnGoPrLKzU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,5 +661,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:35 GMT + recorded_at: Mon, 25 Mar 2024 01:06:04 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml index 1be5dacc57..bfe47cfa0a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AUnct1pFCKDHcy","request_duration_ms":472}}' + - '{"last_request_metrics":{"request_id":"req_GMmsMozBYYEBbf","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:29 GMT + - Mon, 25 Mar 2024 01:05:58 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - e7502dab-d61a-41df-b97b-32475f4c5071 + - faccba67-eaf2-4447-99d5-6cca21f69ee4 Original-Request: - - req_24mN6lAsSAN3gG + - req_uNbDslXVsHkFhI + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_24mN6lAsSAN3gG + - req_uNbDslXVsHkFhI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTtMKuuB1fWySnT962jz7H", + "id": "pm_1Oy1z8KuuB1fWySnhplJ1c5u", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721049, + "created": 1711328758, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:17:29 GMT + recorded_at: Mon, 25 Mar 2024 01:05:58 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OvTtMKuuB1fWySnT962jz7H&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1Oy1z8KuuB1fWySnhplJ1c5u&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_24mN6lAsSAN3gG","request_duration_ms":498}}' + - '{"last_request_metrics":{"request_id":"req_uNbDslXVsHkFhI","request_duration_ms":481}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:29 GMT + - Mon, 25 Mar 2024 01:05:58 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 86ac3170-9499-46c4-8658-1f907cade657 + - 02c479b2-32bb-44ed-be7c-f70827aedf86 Original-Request: - - req_VOLcnzKz3tfBOI + - req_biVei4VVU7CUNp + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VOLcnzKz3tfBOI + - req_biVei4VVU7CUNp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtNKuuB1fWySn1GSigJJY", + "id": "pi_3Oy1z8KuuB1fWySn0tpaq7HZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721049, + "created": 1711328758, "currency": "aud", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtMKuuB1fWySnT962jz7H", + "payment_method": "pm_1Oy1z8KuuB1fWySnhplJ1c5u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:29 GMT + recorded_at: Mon, 25 Mar 2024 01:05:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtNKuuB1fWySn1GSigJJY/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1z8KuuB1fWySn0tpaq7HZ/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VOLcnzKz3tfBOI","request_duration_ms":476}}' + - '{"last_request_metrics":{"request_id":"req_biVei4VVU7CUNp","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:30 GMT + - Mon, 25 Mar 2024 01:05:59 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - e682276e-9ca1-453d-be77-5d1911ace78d + - 3f52d2f8-a002-4772-a7c4-c2fb9bbae913 Original-Request: - - req_BJlSZz2HxFEmzf + - req_7Nwb9PvuMZZcwK + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BJlSZz2HxFEmzf + - req_7Nwb9PvuMZZcwK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtNKuuB1fWySn1GSigJJY", + "id": "pi_3Oy1z8KuuB1fWySn0tpaq7HZ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721049, + "created": 1711328758, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTtNKuuB1fWySn1wBO9TUB", + "latest_charge": "ch_3Oy1z8KuuB1fWySn0OS8ZevD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtMKuuB1fWySnT962jz7H", + "payment_method": "pm_1Oy1z8KuuB1fWySnhplJ1c5u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:30 GMT + recorded_at: Mon, 25 Mar 2024 01:05:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtNKuuB1fWySn1GSigJJY/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1z8KuuB1fWySn0tpaq7HZ/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BJlSZz2HxFEmzf","request_duration_ms":1039}}' + - '{"last_request_metrics":{"request_id":"req_7Nwb9PvuMZZcwK","request_duration_ms":922}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:31 GMT + - Mon, 25 Mar 2024 01:06:01 GMT Content-Type: - application/json Content-Length: @@ -443,13 +455,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b2e910a7-a77a-4101-aeac-d1cddd8a00cb + - c2b6ba83-b62c-40e5-bb10-27136840fae1 Original-Request: - - req_jIiMyuL3cGyXiu + - req_kQsKDQ3Ilctbs9 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jIiMyuL3cGyXiu + - req_kQsKDQ3Ilctbs9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -464,7 +480,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtNKuuB1fWySn1GSigJJY", + "id": "pi_3Oy1z8KuuB1fWySn0tpaq7HZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -480,18 +496,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721049, + "created": 1711328758, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTtNKuuB1fWySn1wBO9TUB", + "latest_charge": "ch_3Oy1z8KuuB1fWySn0OS8ZevD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtMKuuB1fWySnT962jz7H", + "payment_method": "pm_1Oy1z8KuuB1fWySnhplJ1c5u", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -516,5 +532,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:32 GMT + recorded_at: Mon, 25 Mar 2024 01:06:01 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml index 6793cd95b2..84bdf814cf 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fbp76TyEf0Myfo","request_duration_ms":331}}' + - '{"last_request_metrics":{"request_id":"req_YZPVV40T75AV4b","request_duration_ms":384}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:28 GMT + - Mon, 25 Mar 2024 01:05:57 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b721012c-96d9-4601-8673-b65dec902779 + - 3632b8b5-f38b-4574-a804-b65151b9ea99 Original-Request: - - req_opUjOcKKxkh5vb + - req_rtKoi0QiS5I6v1 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_opUjOcKKxkh5vb + - req_rtKoi0QiS5I6v1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTtLKuuB1fWySnEmIUiiVy", + "id": "pm_1Oy1z7KuuB1fWySnGplLB3LD", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721048, + "created": 1711328757, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:17:28 GMT + recorded_at: Mon, 25 Mar 2024 01:05:57 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OvTtLKuuB1fWySnEmIUiiVy&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1Oy1z7KuuB1fWySnGplLB3LD&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_opUjOcKKxkh5vb","request_duration_ms":465}}' + - '{"last_request_metrics":{"request_id":"req_rtKoi0QiS5I6v1","request_duration_ms":514}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:28 GMT + - Mon, 25 Mar 2024 01:05:57 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - c4686184-37c6-458f-b749-7792a8a7b005 + - a39e4fc3-09fb-4d53-90e5-ab206db93934 Original-Request: - - req_AUnct1pFCKDHcy + - req_GMmsMozBYYEBbf + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_AUnct1pFCKDHcy + - req_GMmsMozBYYEBbf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtMKuuB1fWySn0bOj3ofn", + "id": "pi_3Oy1z7KuuB1fWySn2FvqaRuv", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721048, + "created": 1711328757, "currency": "aud", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtLKuuB1fWySnEmIUiiVy", + "payment_method": "pm_1Oy1z7KuuB1fWySnGplLB3LD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,5 +262,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:28 GMT + recorded_at: Mon, 25 Mar 2024 01:05:58 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml index 16e82d0fe5..1f59f0363c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_USv3mvc5dCZdDZ","request_duration_ms":502}}' + - '{"last_request_metrics":{"request_id":"req_jPi4hZaxcZWWSD","request_duration_ms":450}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:26 GMT + - Mon, 25 Mar 2024 01:05:56 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 071b0f81-d3a1-45de-b83c-4d5064292bdf + - '09a637f2-09b3-4e97-a0af-8ad176a333bf' Original-Request: - - req_p9wvMPEXGsUpLv + - req_cgjhdLqxTeLX1s + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_p9wvMPEXGsUpLv + - req_cgjhdLqxTeLX1s Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTtKKuuB1fWySngKDk5AoV", + "id": "pm_1Oy1z5KuuB1fWySnXm37GVsI", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721046, + "created": 1711328755, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:17:26 GMT + recorded_at: Mon, 25 Mar 2024 01:05:56 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OvTtKKuuB1fWySngKDk5AoV&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1Oy1z5KuuB1fWySnXm37GVsI&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_p9wvMPEXGsUpLv","request_duration_ms":597}}' + - '{"last_request_metrics":{"request_id":"req_cgjhdLqxTeLX1s","request_duration_ms":498}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:27 GMT + - Mon, 25 Mar 2024 01:05:56 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - de05649f-ee50-4da1-8d5d-23014b4a46bf + - 950000b0-74b0-4264-969a-5a2701d6be1c Original-Request: - - req_1uqsFUSRNJGcgX + - req_jAIenvWMcDTkyq + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1uqsFUSRNJGcgX + - req_jAIenvWMcDTkyq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtLKuuB1fWySn2FHWVRuE", + "id": "pi_3Oy1z6KuuB1fWySn2F1MYjN4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721047, + "created": 1711328756, "currency": "aud", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtKKuuB1fWySngKDk5AoV", + "payment_method": "pm_1Oy1z5KuuB1fWySnXm37GVsI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:27 GMT + recorded_at: Mon, 25 Mar 2024 01:05:56 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTtLKuuB1fWySn2FHWVRuE + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1z6KuuB1fWySn2F1MYjN4 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1uqsFUSRNJGcgX","request_duration_ms":531}}' + - '{"last_request_metrics":{"request_id":"req_jAIenvWMcDTkyq","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:27 GMT + - Mon, 25 Mar 2024 01:05:56 GMT Content-Type: - application/json Content-Length: @@ -312,9 +320,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_fbp76TyEf0Myfo + - req_YZPVV40T75AV4b Stripe-Version: - '2023-10-16' Vary: @@ -327,7 +339,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtLKuuB1fWySn2FHWVRuE", + "id": "pi_3Oy1z6KuuB1fWySn2F1MYjN4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -343,7 +355,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721047, + "created": 1711328756, "currency": "aud", "customer": null, "description": null, @@ -354,7 +366,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtKKuuB1fWySngKDk5AoV", + "payment_method": "pm_1Oy1z5KuuB1fWySnXm37GVsI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -379,5 +391,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:27 GMT + recorded_at: Mon, 25 Mar 2024 01:05:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml index 0d519648c1..6697624818 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NRuOqrZYZsOvY4","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_OHCReNyvhMrsgI","request_duration_ms":427}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:25 GMT + - Mon, 25 Mar 2024 01:05:55 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - d5936b5b-28ae-4f15-813e-7eb13cf7ae1e + - 64e0bd0f-46ed-48c9-9aae-d636ae1868f9 Original-Request: - - req_4pxrlQQVZcEEnb + - req_VaAL4U5L3n958r + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4pxrlQQVZcEEnb + - req_VaAL4U5L3n958r Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTtJKuuB1fWySnX8xe4FWX", + "id": "pm_1Oy1z4KuuB1fWySnO5ZNDte6", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721045, + "created": 1711328754, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:17:25 GMT + recorded_at: Mon, 25 Mar 2024 01:05:55 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1OvTtJKuuB1fWySnX8xe4FWX&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1Oy1z4KuuB1fWySnO5ZNDte6&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4pxrlQQVZcEEnb","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_VaAL4U5L3n958r","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:17:25 GMT + - Mon, 25 Mar 2024 01:05:55 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 23d57b84-7c4f-478e-875a-ad784ec21b08 + - aec35ada-663a-4399-ad99-da58544a63e2 Original-Request: - - req_USv3mvc5dCZdDZ + - req_jPi4hZaxcZWWSD + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_USv3mvc5dCZdDZ + - req_jPi4hZaxcZWWSD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTtJKuuB1fWySn0UQ7dfp2", + "id": "pi_3Oy1z5KuuB1fWySn0m4n08NN", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721045, + "created": 1711328755, "currency": "aud", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTtJKuuB1fWySnX8xe4FWX", + "payment_method": "pm_1Oy1z4KuuB1fWySnO5ZNDte6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,5 +262,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:17:26 GMT + recorded_at: Mon, 25 Mar 2024 01:05:55 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml index 5622322d2e..6671b4e58a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_g9XAFj7rXoyJdL","request_duration_ms":284}}' + - '{"last_request_metrics":{"request_id":"req_h7L3ebMIxfrBQA","request_duration_ms":362}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:14:59 GMT + - Mon, 25 Mar 2024 01:03:35 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 3d3ad09e-41e2-4ca5-9295-8da644a90250 + - ecfdc1e4-77a6-4669-b1b8-7a37913beba7 Original-Request: - - req_bBC0qNNWFQPFwx + - req_9mpqKboIjyqAGD + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bBC0qNNWFQPFwx + - req_9mpqKboIjyqAGD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTqxKuuB1fWySnCSkG86bK", + "id": "pm_1Oy1wpKuuB1fWySnHsMWSPCR", "object": "payment_method", "billing_details": { "address": { @@ -118,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1710720899, + "created": 1711328615, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:14:59 GMT + recorded_at: Mon, 25 Mar 2024 01:03:35 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -133,13 +137,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bBC0qNNWFQPFwx","request_duration_ms":457}}' + - '{"last_request_metrics":{"request_id":"req_9mpqKboIjyqAGD","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:01 GMT + - Mon, 25 Mar 2024 01:03:37 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - def56cc1-bfb8-4161-a275-cd846983f9ad + - 5e191396-cf24-4d67-81ae-e5d0ec55b30d Original-Request: - - req_IFyLI7pm6FNaWz + - req_mLpF77c6BWNKSm + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IFyLI7pm6FNaWz + - req_mLpF77c6BWNKSm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvTqy4JnzBWpcWU", + "id": "acct_1Oy1wpQMiDmkXbIR", "object": "account", "business_profile": { "annual_revenue": null, @@ -224,7 +232,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710720900, + "created": 1711328616, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -233,7 +241,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvTqy4JnzBWpcWU/external_accounts" + "url": "/v1/accounts/acct_1Oy1wpQMiDmkXbIR/external_accounts" }, "future_requirements": { "alternatives": [], @@ -330,22 +338,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 18 Mar 2024 00:15:01 GMT + recorded_at: Mon, 25 Mar 2024 01:03:37 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1OvTqxKuuB1fWySnCSkG86bK + uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1wpKuuB1fWySnHsMWSPCR body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IFyLI7pm6FNaWz","request_duration_ms":2141}}' + - '{"last_request_metrics":{"request_id":"req_mLpF77c6BWNKSm","request_duration_ms":1809}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -362,7 +370,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:02 GMT + - Mon, 25 Mar 2024 01:03:37 GMT Content-Type: - application/json Content-Length: @@ -388,9 +396,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dSevEFHysAQ7yf + - req_2rMmDQMsy6xjXh Stripe-Version: - '2023-10-16' Vary: @@ -403,7 +415,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTqxKuuB1fWySnCSkG86bK", + "id": "pm_1Oy1wpKuuB1fWySnHsMWSPCR", "object": "payment_method", "billing_details": { "address": { @@ -444,13 +456,13 @@ http_interactions: }, "wallet": null }, - "created": 1710720899, + "created": 1711328615, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:02 GMT + recorded_at: Mon, 25 Mar 2024 01:03:37 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -459,19 +471,19 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dSevEFHysAQ7yf","request_duration_ms":271}}' + - '{"last_request_metrics":{"request_id":"req_2rMmDQMsy6xjXh","request_duration_ms":306}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTqy4JnzBWpcWU + - acct_1Oy1wpQMiDmkXbIR Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -484,7 +496,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:02 GMT + - Mon, 25 Mar 2024 01:03:37 GMT Content-Type: - application/json Content-Length: @@ -509,11 +521,15 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IQWVmgSPe44Ei9 + - req_dBDo3yV3pFGETO Stripe-Account: - - acct_1OvTqy4JnzBWpcWU + - acct_1Oy1wpQMiDmkXbIR Stripe-Version: - '2023-10-16' Vary: @@ -531,28 +547,28 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Mon, 18 Mar 2024 00:15:02 GMT + recorded_at: Mon, 25 Mar 2024 01:03:37 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: payment_method=pm_1OvTqxKuuB1fWySnCSkG86bK + string: payment_method=pm_1Oy1wpKuuB1fWySnHsMWSPCR headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IQWVmgSPe44Ei9","request_duration_ms":341}}' + - '{"last_request_metrics":{"request_id":"req_dBDo3yV3pFGETO","request_duration_ms":305}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTqy4JnzBWpcWU + - acct_1Oy1wpQMiDmkXbIR Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -565,7 +581,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:02 GMT + - Mon, 25 Mar 2024 01:03:38 GMT Content-Type: - application/json Content-Length: @@ -590,15 +606,19 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 45dffaff-6a12-4ca7-838b-6cb570fd6c20 + - 634f582c-c186-4ee1-8864-d664334d659c Original-Request: - - req_s5SCuqf1YmkWEQ + - req_9NBLynkvOr45hN + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_s5SCuqf1YmkWEQ + - req_9NBLynkvOr45hN Stripe-Account: - - acct_1OvTqy4JnzBWpcWU + - acct_1Oy1wpQMiDmkXbIR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -613,7 +633,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTr04JnzBWpcWUVcpJovNu", + "id": "pm_1Oy1wsQMiDmkXbIR6HISdqXF", "object": "payment_method", "billing_details": { "address": { @@ -654,11 +674,11 @@ http_interactions: }, "wallet": null }, - "created": 1710720902, + "created": 1711328618, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:03 GMT + recorded_at: Mon, 25 Mar 2024 01:03:38 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml index 5d6f1e9dee..504ce9781f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_s5SCuqf1YmkWEQ","request_duration_ms":412}}' + - '{"last_request_metrics":{"request_id":"req_9NBLynkvOr45hN","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:03 GMT + - Mon, 25 Mar 2024 01:03:38 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 9cc8da25-5ccf-4448-bbc9-265f53be0858 + - 1ebc592c-4b16-4cb7-8df4-4dd1788222a9 Original-Request: - - req_yGPPYYDoFt6kNx + - req_9ZbnxtNGCEVoja + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_yGPPYYDoFt6kNx + - req_9ZbnxtNGCEVoja Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTr1KuuB1fWySnMXLPMlil", + "id": "pm_1Oy1wsKuuB1fWySnbqRLfT73", "object": "payment_method", "billing_details": { "address": { @@ -118,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1710720903, + "created": 1711328618, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:03 GMT + recorded_at: Mon, 25 Mar 2024 01:03:38 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -133,13 +137,13 @@ http_interactions: string: name=Apple+Customer&email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yGPPYYDoFt6kNx","request_duration_ms":456}}' + - '{"last_request_metrics":{"request_id":"req_9ZbnxtNGCEVoja","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:03 GMT + - Mon, 25 Mar 2024 01:03:39 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 1173847d-05e2-4685-ae60-45d8d9f801f3 + - 1ac9d6b1-6a60-41d6-94fb-2a258a60c9c0 Original-Request: - - req_lfyMVzX1xo2mso + - req_1lra1WO2HyTCqc + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lfyMVzX1xo2mso + - req_1lra1WO2HyTCqc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PkzqRCn2t6YtTS", + "id": "cus_PndDSAnsdBuHx2", "object": "customer", "address": null, "balance": 0, - "created": 1710720903, + "created": 1711328618, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "E1D3A9D5", + "invoice_prefix": "6A074CDE", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -230,22 +238,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 18 Mar 2024 00:15:04 GMT + recorded_at: Mon, 25 Mar 2024 01:03:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OvTr1KuuB1fWySnMXLPMlil/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1wsKuuB1fWySnbqRLfT73/attach body: encoding: UTF-8 - string: customer=cus_PkzqRCn2t6YtTS + string: customer=cus_PndDSAnsdBuHx2 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lfyMVzX1xo2mso","request_duration_ms":484}}' + - '{"last_request_metrics":{"request_id":"req_1lra1WO2HyTCqc","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -262,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:04 GMT + - Mon, 25 Mar 2024 01:03:39 GMT Content-Type: - application/json Content-Length: @@ -288,13 +296,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - edadf19d-d102-442d-ba3b-d3609c1594bc + - 4e49d6bb-3682-4f97-85ed-a7a597a3efcb Original-Request: - - req_VOKM1bRJ9ZgzoW + - req_0SDRGxyjoieP2E + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VOKM1bRJ9ZgzoW + - req_0SDRGxyjoieP2E Stripe-Should-Retry: - 'false' Stripe-Version: @@ -309,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTr1KuuB1fWySnMXLPMlil", + "id": "pm_1Oy1wsKuuB1fWySnbqRLfT73", "object": "payment_method", "billing_details": { "address": { @@ -350,13 +362,13 @@ http_interactions: }, "wallet": null }, - "created": 1710720903, - "customer": "cus_PkzqRCn2t6YtTS", + "created": 1711328618, + "customer": "cus_PndDSAnsdBuHx2", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:04 GMT + recorded_at: Mon, 25 Mar 2024 01:03:39 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -365,13 +377,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VOKM1bRJ9ZgzoW","request_duration_ms":740}}' + - '{"last_request_metrics":{"request_id":"req_0SDRGxyjoieP2E","request_duration_ms":664}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -388,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:06 GMT + - Mon, 25 Mar 2024 01:03:41 GMT Content-Type: - application/json Content-Length: @@ -413,13 +425,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 4109397a-178a-43b5-bdcd-978f02771a87 + - 7fbb557e-39c4-491d-a46f-2d74839c3e8a Original-Request: - - req_sEcpXDU4jBEkkq + - req_1nx9WrJrOSnMH1 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sEcpXDU4jBEkkq + - req_1nx9WrJrOSnMH1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -434,7 +450,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvTr24C6BmtoRvb", + "id": "acct_1Oy1wt4IGiN56LfX", "object": "account", "business_profile": { "annual_revenue": null, @@ -456,7 +472,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710720905, + "created": 1711328620, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -465,7 +481,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvTr24C6BmtoRvb/external_accounts" + "url": "/v1/accounts/acct_1Oy1wt4IGiN56LfX/external_accounts" }, "future_requirements": { "alternatives": [], @@ -562,22 +578,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 18 Mar 2024 00:15:06 GMT + recorded_at: Mon, 25 Mar 2024 01:03:41 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1OvTr1KuuB1fWySnMXLPMlil + uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1wsKuuB1fWySnbqRLfT73 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sEcpXDU4jBEkkq","request_duration_ms":1655}}' + - '{"last_request_metrics":{"request_id":"req_1nx9WrJrOSnMH1","request_duration_ms":1734}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -594,7 +610,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:06 GMT + - Mon, 25 Mar 2024 01:03:41 GMT Content-Type: - application/json Content-Length: @@ -620,9 +636,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aM4luej1FH080B + - req_x6yAn3Hq3u7YDv Stripe-Version: - '2023-10-16' Vary: @@ -635,7 +655,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTr1KuuB1fWySnMXLPMlil", + "id": "pm_1Oy1wsKuuB1fWySnbqRLfT73", "object": "payment_method", "billing_details": { "address": { @@ -676,13 +696,13 @@ http_interactions: }, "wallet": null }, - "created": 1710720903, - "customer": "cus_PkzqRCn2t6YtTS", + "created": 1711328618, + "customer": "cus_PndDSAnsdBuHx2", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:06 GMT + recorded_at: Mon, 25 Mar 2024 01:03:41 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -691,19 +711,19 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aM4luej1FH080B","request_duration_ms":284}}' + - '{"last_request_metrics":{"request_id":"req_x6yAn3Hq3u7YDv","request_duration_ms":305}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTr24C6BmtoRvb + - acct_1Oy1wt4IGiN56LfX Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -716,7 +736,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:06 GMT + - Mon, 25 Mar 2024 01:03:42 GMT Content-Type: - application/json Content-Length: @@ -741,11 +761,15 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cwF2fSEHkH8Ojd + - req_IzhyvvtaMkwora Stripe-Account: - - acct_1OvTr24C6BmtoRvb + - acct_1Oy1wt4IGiN56LfX Stripe-Version: - '2023-10-16' Vary: @@ -763,28 +787,28 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Mon, 18 Mar 2024 00:15:06 GMT + recorded_at: Mon, 25 Mar 2024 01:03:42 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: customer=cus_PkzqRCn2t6YtTS&payment_method=pm_1OvTr1KuuB1fWySnMXLPMlil + string: customer=cus_PndDSAnsdBuHx2&payment_method=pm_1Oy1wsKuuB1fWySnbqRLfT73 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cwF2fSEHkH8Ojd","request_duration_ms":302}}' + - '{"last_request_metrics":{"request_id":"req_IzhyvvtaMkwora","request_duration_ms":261}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTr24C6BmtoRvb + - acct_1Oy1wt4IGiN56LfX Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -797,7 +821,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:07 GMT + - Mon, 25 Mar 2024 01:03:42 GMT Content-Type: - application/json Content-Length: @@ -822,15 +846,19 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 1ce67b02-edfd-4b6f-844e-cec1abf59265 + - 106ec4d0-9064-49b6-9118-70dfbc4e9ace Original-Request: - - req_1jCvDBU6dIkYVR + - req_8vK1arSR0BpLR7 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1jCvDBU6dIkYVR + - req_8vK1arSR0BpLR7 Stripe-Account: - - acct_1OvTr24C6BmtoRvb + - acct_1Oy1wt4IGiN56LfX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -845,7 +873,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTr54C6BmtoRvbFVBgSIi4", + "id": "pm_1Oy1ww4IGiN56LfX2a74y9Ke", "object": "payment_method", "billing_details": { "address": { @@ -886,13 +914,13 @@ http_interactions: }, "wallet": null }, - "created": 1710720907, + "created": 1711328622, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:07 GMT + recorded_at: Mon, 25 Mar 2024 01:03:42 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -901,19 +929,19 @@ http_interactions: string: email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1jCvDBU6dIkYVR","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_8vK1arSR0BpLR7","request_duration_ms":362}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTr24C6BmtoRvb + - acct_1Oy1wt4IGiN56LfX Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -926,7 +954,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:07 GMT + - Mon, 25 Mar 2024 01:03:42 GMT Content-Type: - application/json Content-Length: @@ -951,15 +979,19 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 4a503310-e9cb-4cb2-b102-c06ee984e9c6 + - 494b0a67-cb48-4e8a-b905-da36321263d0 Original-Request: - - req_Obb9BYdZKNUJeI + - req_Sj7FrzoHYrusKV + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Obb9BYdZKNUJeI + - req_Sj7FrzoHYrusKV Stripe-Account: - - acct_1OvTr24C6BmtoRvb + - acct_1Oy1wt4IGiN56LfX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -974,18 +1006,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pkzq62KbE37Fmo", + "id": "cus_PndDs7hHSPI3Bw", "object": "customer", "address": null, "balance": 0, - "created": 1710720907, + "created": 1711328622, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "47842A70", + "invoice_prefix": "EA365F4D", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -1002,28 +1034,28 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 18 Mar 2024 00:15:07 GMT + recorded_at: Mon, 25 Mar 2024 01:03:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OvTr54C6BmtoRvbFVBgSIi4/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1ww4IGiN56LfX2a74y9Ke/attach body: encoding: UTF-8 - string: customer=cus_Pkzq62KbE37Fmo + string: customer=cus_PndDs7hHSPI3Bw headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Obb9BYdZKNUJeI","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_Sj7FrzoHYrusKV","request_duration_ms":368}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTr24C6BmtoRvb + - acct_1Oy1wt4IGiN56LfX Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1036,7 +1068,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:08 GMT + - Mon, 25 Mar 2024 01:03:43 GMT Content-Type: - application/json Content-Length: @@ -1062,15 +1094,19 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 0ac93fe8-91ec-4b90-9e2e-b57e461918cd + - 62e5d7b3-e27e-4700-993a-a481bd42c7ec Original-Request: - - req_jdf4c6lfaxD0Yc + - req_navOBsghMcbvY0 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jdf4c6lfaxD0Yc + - req_navOBsghMcbvY0 Stripe-Account: - - acct_1OvTr24C6BmtoRvb + - acct_1Oy1wt4IGiN56LfX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1085,7 +1121,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTr54C6BmtoRvbFVBgSIi4", + "id": "pm_1Oy1ww4IGiN56LfX2a74y9Ke", "object": "payment_method", "billing_details": { "address": { @@ -1126,34 +1162,34 @@ http_interactions: }, "wallet": null }, - "created": 1710720907, - "customer": "cus_Pkzq62KbE37Fmo", + "created": 1711328622, + "customer": "cus_PndDs7hHSPI3Bw", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:08 GMT + recorded_at: Mon, 25 Mar 2024 01:03:43 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OvTr54C6BmtoRvbFVBgSIi4 + uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1ww4IGiN56LfX2a74y9Ke body: encoding: UTF-8 string: metadata[ofn-clone]=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jdf4c6lfaxD0Yc","request_duration_ms":382}}' + - '{"last_request_metrics":{"request_id":"req_navOBsghMcbvY0","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTr24C6BmtoRvb + - acct_1Oy1wt4IGiN56LfX Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1166,7 +1202,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:08 GMT + - Mon, 25 Mar 2024 01:03:43 GMT Content-Type: - application/json Content-Length: @@ -1192,15 +1228,19 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 80b154ea-c0df-403d-af14-55e6c3c9cdcd + - 1f0a7951-2716-4642-a491-c8d823a68d1f Original-Request: - - req_sVjwduoedlBMUP + - req_8rbpP0dWyISBhg + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sVjwduoedlBMUP + - req_8rbpP0dWyISBhg Stripe-Account: - - acct_1OvTr24C6BmtoRvb + - acct_1Oy1wt4IGiN56LfX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1215,7 +1255,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTr54C6BmtoRvbFVBgSIi4", + "id": "pm_1Oy1ww4IGiN56LfX2a74y9Ke", "object": "payment_method", "billing_details": { "address": { @@ -1256,13 +1296,13 @@ http_interactions: }, "wallet": null }, - "created": 1710720907, - "customer": "cus_Pkzq62KbE37Fmo", + "created": 1711328622, + "customer": "cus_PndDs7hHSPI3Bw", "livemode": false, "metadata": { "ofn-clone": "true" }, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:08 GMT + recorded_at: Mon, 25 Mar 2024 01:03:43 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml index 044da8c5a8..5585e4a56a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1B4QZ4hAlW2eCO","request_duration_ms":650}}' + - '{"last_request_metrics":{"request_id":"req_f4uKDNQoWEHZAO","request_duration_ms":716}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:12 GMT + - Mon, 25 Mar 2024 01:03:48 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - bebef18d-452d-4b28-92a3-8ef784513ccd + - 152331f8-291c-4868-9982-b11126d0185c Original-Request: - - req_7jejsG3JSQBIRE + - req_xinDj3jks15YZe + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7jejsG3JSQBIRE + - req_xinDj3jks15YZe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrAKuuB1fWySnW3Z0QqtX", + "id": "pm_1Oy1x2KuuB1fWySnybrNr9sw", "object": "payment_method", "billing_details": { "address": { @@ -118,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1710720912, + "created": 1711328628, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:12 GMT + recorded_at: Mon, 25 Mar 2024 01:03:48 GMT - request: method: get uri: https://api.stripe.com/v1/customers/non_existing_customer_id @@ -133,13 +137,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7jejsG3JSQBIRE","request_duration_ms":391}}' + - '{"last_request_metrics":{"request_id":"req_xinDj3jks15YZe","request_duration_ms":421}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:13 GMT + - Mon, 25 Mar 2024 01:03:48 GMT Content-Type: - application/json Content-Length: @@ -182,9 +186,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pao2UbJSanD9Dp + - req_vbYhhjl7RaarHT Stripe-Version: - '2023-10-16' Vary: @@ -202,9 +210,9 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/resource-missing", "message": "No such customer: 'non_existing_customer_id'", "param": "id", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_pao2UbJSanD9Dp?t=1710720913", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_vbYhhjl7RaarHT?t=1711328628", "type": "invalid_request_error" } } - recorded_at: Mon, 18 Mar 2024 00:15:13 GMT + recorded_at: Mon, 25 Mar 2024 01:03:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml similarity index 79% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml index 0a66200f40..fa983dc5c0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ypX8qLRDGVuEPU","request_duration_ms":392}}' + - '{"last_request_metrics":{"request_id":"req_dhqez2Z135e7g2","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:11 GMT + - Mon, 25 Mar 2024 01:03:46 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b347bd9a-8d7d-4358-bce5-470a2f044a61 + - a8630c1c-3eac-4d74-b3ca-b70e86513927 Original-Request: - - req_aOo8om3yszVYt6 + - req_tt7EbIbRXg52u5 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aOo8om3yszVYt6 + - req_tt7EbIbRXg52u5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTr9KuuB1fWySnTjrL4o4W", + "id": "pm_1Oy1x0KuuB1fWySngOngDsAy", "object": "payment_method", "billing_details": { "address": { @@ -118,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1710720911, + "created": 1711328626, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:11 GMT + recorded_at: Mon, 25 Mar 2024 01:03:46 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -133,13 +137,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aOo8om3yszVYt6","request_duration_ms":434}}' + - '{"last_request_metrics":{"request_id":"req_tt7EbIbRXg52u5","request_duration_ms":460}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:11 GMT + - Mon, 25 Mar 2024 01:03:47 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - f75a7cba-7c9a-4bcb-9f61-4bcc759477e9 + - 55f0d6f9-f0d8-4a88-91f5-9b95b6d1b1a3 Original-Request: - - req_VDXR9y2kuyd0no + - req_LfQoCioNArL3X3 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VDXR9y2kuyd0no + - req_LfQoCioNArL3X3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pkzq2qR31aEubD", + "id": "cus_PndDefpSdaBAvE", "object": "customer", "address": null, "balance": 0, - "created": 1710720911, + "created": 1711328626, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "D630F7A7", + "invoice_prefix": "16CD447C", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -230,22 +238,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 18 Mar 2024 00:15:11 GMT + recorded_at: Mon, 25 Mar 2024 01:03:47 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OvTr9KuuB1fWySnTjrL4o4W/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1x0KuuB1fWySngOngDsAy/attach body: encoding: UTF-8 - string: customer=cus_Pkzq2qR31aEubD + string: customer=cus_PndDefpSdaBAvE headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VDXR9y2kuyd0no","request_duration_ms":415}}' + - '{"last_request_metrics":{"request_id":"req_LfQoCioNArL3X3","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -262,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:12 GMT + - Mon, 25 Mar 2024 01:03:47 GMT Content-Type: - application/json Content-Length: @@ -288,13 +296,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 3f63c95b-0b6e-4fcc-b0ad-6802e874777c + - 313281d3-a159-4da7-8472-6c89595c1d02 Original-Request: - - req_1B4QZ4hAlW2eCO + - req_f4uKDNQoWEHZAO + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1B4QZ4hAlW2eCO + - req_f4uKDNQoWEHZAO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -309,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTr9KuuB1fWySnTjrL4o4W", + "id": "pm_1Oy1x0KuuB1fWySngOngDsAy", "object": "payment_method", "billing_details": { "address": { @@ -350,11 +362,11 @@ http_interactions: }, "wallet": null }, - "created": 1710720911, - "customer": "cus_Pkzq2qR31aEubD", + "created": 1711328626, + "customer": "cus_PndDefpSdaBAvE", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:12 GMT + recorded_at: Mon, 25 Mar 2024 01:03:47 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml similarity index 78% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml index f2e2d36b94..aa3fc830ce 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sVjwduoedlBMUP","request_duration_ms":420}}' + - '{"last_request_metrics":{"request_id":"req_8rbpP0dWyISBhg","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:09 GMT + - Mon, 25 Mar 2024 01:03:44 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b8096734-0645-4c1a-9aa2-6a86ae39a8e3 + - ee8d3056-63d4-4c03-9694-700037ee4acf Original-Request: - - req_oQTeF6nvN6SdGN + - req_nMoIkw0CCwGQAa + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_oQTeF6nvN6SdGN + - req_nMoIkw0CCwGQAa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTr6KuuB1fWySnBoqO3RSP", + "id": "pm_1Oy1wxKuuB1fWySnP1rS0DJE", "object": "payment_method", "billing_details": { "address": { @@ -118,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1710720908, + "created": 1711328624, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:09 GMT + recorded_at: Mon, 25 Mar 2024 01:03:44 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -133,13 +137,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oQTeF6nvN6SdGN","request_duration_ms":443}}' + - '{"last_request_metrics":{"request_id":"req_nMoIkw0CCwGQAa","request_duration_ms":446}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:09 GMT + - Mon, 25 Mar 2024 01:03:44 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - a6578083-e4a0-4d37-8b95-391dd7ef8d3a + - da3c6a8d-1859-4c3f-b949-e755b6aea586 Original-Request: - - req_ZiZGFQNamgcRXg + - req_igTG24PWT6amPb + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZiZGFQNamgcRXg + - req_igTG24PWT6amPb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PkzquQLM8Ru9YM", + "id": "cus_PndDIk2HJos3eg", "object": "customer", "address": null, "balance": 0, - "created": 1710720909, + "created": 1711328624, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "3A772772", + "invoice_prefix": "FDB50758", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -230,22 +238,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 18 Mar 2024 00:15:09 GMT + recorded_at: Mon, 25 Mar 2024 01:03:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OvTr6KuuB1fWySnBoqO3RSP/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1wxKuuB1fWySnP1rS0DJE/attach body: encoding: UTF-8 - string: customer=cus_PkzquQLM8Ru9YM + string: customer=cus_PndDIk2HJos3eg headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZiZGFQNamgcRXg","request_duration_ms":426}}' + - '{"last_request_metrics":{"request_id":"req_igTG24PWT6amPb","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -262,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:10 GMT + - Mon, 25 Mar 2024 01:03:45 GMT Content-Type: - application/json Content-Length: @@ -288,13 +296,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 04a3aa69-7ca7-454c-9749-386fa532cae4 + - 9c49732a-8525-4ef9-8942-fb8642eccf3d Original-Request: - - req_vYJTWA0yQoqyY0 + - req_dGoo5IXZLRKooB + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vYJTWA0yQoqyY0 + - req_dGoo5IXZLRKooB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -309,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTr6KuuB1fWySnBoqO3RSP", + "id": "pm_1Oy1wxKuuB1fWySnP1rS0DJE", "object": "payment_method", "billing_details": { "address": { @@ -350,28 +362,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720908, - "customer": "cus_PkzquQLM8Ru9YM", + "created": 1711328624, + "customer": "cus_PndDIk2HJos3eg", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:10 GMT + recorded_at: Mon, 25 Mar 2024 01:03:45 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PkzquQLM8Ru9YM + uri: https://api.stripe.com/v1/customers/cus_PndDIk2HJos3eg body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vYJTWA0yQoqyY0","request_duration_ms":718}}' + - '{"last_request_metrics":{"request_id":"req_dGoo5IXZLRKooB","request_duration_ms":608}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -388,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:10 GMT + - Mon, 25 Mar 2024 01:03:45 GMT Content-Type: - application/json Content-Length: @@ -414,9 +426,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4yQh3JIMoftz7J + - req_aBsmD9I20lq0W5 Stripe-Version: - '2023-10-16' Vary: @@ -429,18 +445,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PkzquQLM8Ru9YM", + "id": "cus_PndDIk2HJos3eg", "object": "customer", "address": null, "balance": 0, - "created": 1710720909, + "created": 1711328624, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "3A772772", + "invoice_prefix": "FDB50758", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -457,22 +473,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 18 Mar 2024 00:15:10 GMT + recorded_at: Mon, 25 Mar 2024 01:03:45 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_PkzquQLM8Ru9YM + uri: https://api.stripe.com/v1/customers/cus_PndDIk2HJos3eg body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4yQh3JIMoftz7J","request_duration_ms":299}}' + - '{"last_request_metrics":{"request_id":"req_aBsmD9I20lq0W5","request_duration_ms":302}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -489,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:10 GMT + - Mon, 25 Mar 2024 01:03:46 GMT Content-Type: - application/json Content-Length: @@ -515,9 +531,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ypX8qLRDGVuEPU + - req_dhqez2Z135e7g2 Stripe-Version: - '2023-10-16' Vary: @@ -530,9 +550,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PkzquQLM8Ru9YM", + "id": "cus_PndDIk2HJos3eg", "object": "customer", "deleted": true } - recorded_at: Mon, 18 Mar 2024 00:15:10 GMT + recorded_at: Mon, 25 Mar 2024 01:03:46 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 765201ef99..e5ade006c4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000006975&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FTty1oLKmkciRM","request_duration_ms":370}}' + - '{"last_request_metrics":{"request_id":"req_nnD7FhgHOchtXB","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:51 GMT + - Mon, 25 Mar 2024 01:05:23 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 31c1564d-41bb-4b36-9c8a-d9d446859137 + - 2a8dce1f-cf40-49ef-b4a7-8b8bb8dc480a Original-Request: - - req_3j0FV5avjWFI2E + - req_jV0ZMDYHhtNe8G + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3j0FV5avjWFI2E + - req_jV0ZMDYHhtNe8G Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTskKuuB1fWySnR2olGPyY", + "id": "pm_1Oy1yZKuuB1fWySn9CsJAIVN", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721010, + "created": 1711328723, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:51 GMT + recorded_at: Mon, 25 Mar 2024 01:05:23 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTskKuuB1fWySnR2olGPyY&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1yZKuuB1fWySn9CsJAIVN&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3j0FV5avjWFI2E","request_duration_ms":448}}' + - '{"last_request_metrics":{"request_id":"req_jV0ZMDYHhtNe8G","request_duration_ms":457}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:51 GMT + - Mon, 25 Mar 2024 01:05:23 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 7db2a2c2-fc69-438d-beb8-cdd8572e8ebb + - be504776-8056-457f-8016-4018c2ac8086 Original-Request: - - req_CyTKXekG7OQLuV + - req_EqwvEUlwSLJqNb + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_CyTKXekG7OQLuV + - req_EqwvEUlwSLJqNb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTslKuuB1fWySn2Ai8AtTP", + "id": "pi_3Oy1yZKuuB1fWySn1KPwlZcg", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721011, + "created": 1711328723, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTskKuuB1fWySnR2olGPyY", + "payment_method": "pm_1Oy1yZKuuB1fWySn9CsJAIVN", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:51 GMT + recorded_at: Mon, 25 Mar 2024 01:05:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTslKuuB1fWySn2Ai8AtTP/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yZKuuB1fWySn1KPwlZcg/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CyTKXekG7OQLuV","request_duration_ms":459}}' + - '{"last_request_metrics":{"request_id":"req_EqwvEUlwSLJqNb","request_duration_ms":403}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:52 GMT + - Mon, 25 Mar 2024 01:05:24 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - e62ca50b-59b3-4950-b5fb-3cdfbd334494 + - 341eda46-b785-4c16-906e-e5aece012896 Original-Request: - - req_cEPErBWpyI3fXe + - req_MQjCnWkXUjXXyt + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cEPErBWpyI3fXe + - req_MQjCnWkXUjXXyt Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OvTslKuuB1fWySn2Xs3w4BH", + "charge": "ch_3Oy1yZKuuB1fWySn1BBiiisu", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_intent": { - "id": "pi_3OvTslKuuB1fWySn2Ai8AtTP", + "id": "pi_3Oy1yZKuuB1fWySn1KPwlZcg", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721011, + "created": 1711328723, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OvTslKuuB1fWySn2Xs3w4BH", + "charge": "ch_3Oy1yZKuuB1fWySn1BBiiisu", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_method": { - "id": "pm_1OvTskKuuB1fWySnR2olGPyY", + "id": "pm_1Oy1yZKuuB1fWySn9CsJAIVN", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1710721010, + "created": 1711328723, "customer": null, "livemode": false, "metadata": { @@ -419,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OvTslKuuB1fWySn2Xs3w4BH", + "latest_charge": "ch_3Oy1yZKuuB1fWySn1BBiiisu", "livemode": false, "metadata": { }, @@ -451,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OvTskKuuB1fWySnR2olGPyY", + "id": "pm_1Oy1yZKuuB1fWySn9CsJAIVN", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1710721010, + "created": 1711328723, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_cEPErBWpyI3fXe?t=1710721011", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_MQjCnWkXUjXXyt?t=1711328723", "type": "card_error" } } - recorded_at: Mon, 18 Mar 2024 00:16:52 GMT + recorded_at: Mon, 25 Mar 2024 01:05:24 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 0907f0d2d4..479913bd98 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000069&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oeGLyCRcs5bHid","request_duration_ms":440}}' + - '{"last_request_metrics":{"request_id":"req_BjNzTk5KJ6qJDv","request_duration_ms":410}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:45 GMT + - Mon, 25 Mar 2024 01:05:17 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 32433daf-3960-4548-8b3a-70fae08fb979 + - 8eae5338-3477-4c1c-be34-2799e9674707 Original-Request: - - req_WsemZhDyoAK6mW + - req_dplerffHQp7S66 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WsemZhDyoAK6mW + - req_dplerffHQp7S66 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsfKuuB1fWySnNQaJbSj1", + "id": "pm_1Oy1yTKuuB1fWySnu40htLw9", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721005, + "created": 1711328717, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:45 GMT + recorded_at: Mon, 25 Mar 2024 01:05:17 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsfKuuB1fWySnNQaJbSj1&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1yTKuuB1fWySnu40htLw9&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WsemZhDyoAK6mW","request_duration_ms":434}}' + - '{"last_request_metrics":{"request_id":"req_dplerffHQp7S66","request_duration_ms":554}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:45 GMT + - Mon, 25 Mar 2024 01:05:18 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 291419df-5c1f-47eb-b442-c612fb4a1f72 + - 0e45a635-0bda-4bba-8a96-9edb3e972ecb Original-Request: - - req_at7IEHLp7T2iKL + - req_td3xY6wKa73tOT + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_at7IEHLp7T2iKL + - req_td3xY6wKa73tOT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsfKuuB1fWySn05I3MyFj", + "id": "pi_3Oy1yUKuuB1fWySn1F73woAR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721005, + "created": 1711328718, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsfKuuB1fWySnNQaJbSj1", + "payment_method": "pm_1Oy1yTKuuB1fWySnu40htLw9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:45 GMT + recorded_at: Mon, 25 Mar 2024 01:05:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsfKuuB1fWySn05I3MyFj/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yUKuuB1fWySn1F73woAR/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_at7IEHLp7T2iKL","request_duration_ms":470}}' + - '{"last_request_metrics":{"request_id":"req_td3xY6wKa73tOT","request_duration_ms":400}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:46 GMT + - Mon, 25 Mar 2024 01:05:19 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 2ad5f071-6576-41ae-8a63-fc36f4899486 + - '063498c0-5e66-4baa-9f2a-50c8b8a37397' Original-Request: - - req_ZFRdRHyPlL3PnQ + - req_7uTU0chzUMfZI0 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZFRdRHyPlL3PnQ + - req_7uTU0chzUMfZI0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OvTsfKuuB1fWySn0xB2TuIx", + "charge": "ch_3Oy1yUKuuB1fWySn12Xl48Ae", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_intent": { - "id": "pi_3OvTsfKuuB1fWySn05I3MyFj", + "id": "pi_3Oy1yUKuuB1fWySn1F73woAR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721005, + "created": 1711328718, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OvTsfKuuB1fWySn0xB2TuIx", + "charge": "ch_3Oy1yUKuuB1fWySn12Xl48Ae", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_method": { - "id": "pm_1OvTsfKuuB1fWySnNQaJbSj1", + "id": "pm_1Oy1yTKuuB1fWySnu40htLw9", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1710721005, + "created": 1711328717, "customer": null, "livemode": false, "metadata": { @@ -419,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OvTsfKuuB1fWySn0xB2TuIx", + "latest_charge": "ch_3Oy1yUKuuB1fWySn12Xl48Ae", "livemode": false, "metadata": { }, @@ -451,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OvTsfKuuB1fWySnNQaJbSj1", + "id": "pm_1Oy1yTKuuB1fWySnu40htLw9", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1710721005, + "created": 1711328717, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_ZFRdRHyPlL3PnQ?t=1710721005", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_7uTU0chzUMfZI0?t=1711328718", "type": "card_error" } } - recorded_at: Mon, 18 Mar 2024 00:16:46 GMT + recorded_at: Mon, 25 Mar 2024 01:05:19 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 094fdad69f..6ba29b63e7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000002&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rMYTwbu1M5H7eN","request_duration_ms":337}}' + - '{"last_request_metrics":{"request_id":"req_GWqp0ggBJEdZND","request_duration_ms":282}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:37 GMT + - Mon, 25 Mar 2024 01:05:10 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - e50d37ee-b9e0-4565-9be8-9647eed9aebc + - 40176f21-18b7-459d-a9de-dd0b4baa52a1 Original-Request: - - req_dK376gX1VvnQFd + - req_Em2GO1HCDaLG2f + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dK376gX1VvnQFd + - req_Em2GO1HCDaLG2f Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsWKuuB1fWySnOOB4JvEa", + "id": "pm_1Oy1yLKuuB1fWySng4NMBX7l", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720997, + "created": 1711328709, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:37 GMT + recorded_at: Mon, 25 Mar 2024 01:05:10 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsWKuuB1fWySnOOB4JvEa&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1yLKuuB1fWySng4NMBX7l&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dK376gX1VvnQFd","request_duration_ms":594}}' + - '{"last_request_metrics":{"request_id":"req_Em2GO1HCDaLG2f","request_duration_ms":401}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:37 GMT + - Mon, 25 Mar 2024 01:05:10 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 75db1a1e-be42-4ff1-a69d-c1c227f3c804 + - a789208a-a98d-467c-b356-dd049574a8b8 Original-Request: - - req_0nflBr539AASIu + - req_TWSoFlKBEvPatI + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0nflBr539AASIu + - req_TWSoFlKBEvPatI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsXKuuB1fWySn09hnqIH7", + "id": "pi_3Oy1yMKuuB1fWySn2NfKLXNh", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720997, + "created": 1711328710, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsWKuuB1fWySnOOB4JvEa", + "payment_method": "pm_1Oy1yLKuuB1fWySng4NMBX7l", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:37 GMT + recorded_at: Mon, 25 Mar 2024 01:05:10 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsXKuuB1fWySn09hnqIH7/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yMKuuB1fWySn2NfKLXNh/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0nflBr539AASIu","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_TWSoFlKBEvPatI","request_duration_ms":373}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:38 GMT + - Mon, 25 Mar 2024 01:05:11 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - a131704a-eb0f-4e75-8373-71ddb456afbd + - 85e6f360-6686-44cb-93b8-c0527ac35cf2 Original-Request: - - req_eu8GEL3fuhSGTN + - req_VPC6vg2SscNHIK + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eu8GEL3fuhSGTN + - req_VPC6vg2SscNHIK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OvTsXKuuB1fWySn0Uu8H5ZX", + "charge": "ch_3Oy1yMKuuB1fWySn2hmYhfJB", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OvTsXKuuB1fWySn09hnqIH7", + "id": "pi_3Oy1yMKuuB1fWySn2NfKLXNh", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720997, + "created": 1711328710, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OvTsXKuuB1fWySn0Uu8H5ZX", + "charge": "ch_3Oy1yMKuuB1fWySn2hmYhfJB", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OvTsWKuuB1fWySnOOB4JvEa", + "id": "pm_1Oy1yLKuuB1fWySng4NMBX7l", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1710720997, + "created": 1711328709, "customer": null, "livemode": false, "metadata": { @@ -419,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OvTsXKuuB1fWySn0Uu8H5ZX", + "latest_charge": "ch_3Oy1yMKuuB1fWySn2hmYhfJB", "livemode": false, "metadata": { }, @@ -451,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OvTsWKuuB1fWySnOOB4JvEa", + "id": "pm_1Oy1yLKuuB1fWySng4NMBX7l", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1710720997, + "created": 1711328709, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_eu8GEL3fuhSGTN?t=1710720997", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_VPC6vg2SscNHIK?t=1711328710", "type": "card_error" } } - recorded_at: Mon, 18 Mar 2024 00:16:38 GMT + recorded_at: Mon, 25 Mar 2024 01:05:11 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index f7873bf076..5afd32516c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000127&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_at7IEHLp7T2iKL","request_duration_ms":470}}' + - '{"last_request_metrics":{"request_id":"req_td3xY6wKa73tOT","request_duration_ms":400}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:47 GMT + - Mon, 25 Mar 2024 01:05:19 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 66946a2e-513f-482d-816a-b9884c637e12 + - ca2ac177-20cf-46a9-aed7-3b747a5f83a9 Original-Request: - - req_qSMF0S3thwU9h1 + - req_sEo7BfbmrBU9Jv + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qSMF0S3thwU9h1 + - req_sEo7BfbmrBU9Jv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTshKuuB1fWySnl6MBim02", + "id": "pm_1Oy1yVKuuB1fWySnROBMH9bH", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721007, + "created": 1711328719, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:47 GMT + recorded_at: Mon, 25 Mar 2024 01:05:19 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTshKuuB1fWySnl6MBim02&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1yVKuuB1fWySnROBMH9bH&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qSMF0S3thwU9h1","request_duration_ms":429}}' + - '{"last_request_metrics":{"request_id":"req_sEo7BfbmrBU9Jv","request_duration_ms":501}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:47 GMT + - Mon, 25 Mar 2024 01:05:20 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 9a7b18c9-ba6f-45ac-9c12-953fe7516667 + - 25a7f30d-5980-4d46-8de3-d54e5cf847df Original-Request: - - req_F2NBjS4FcqBzcc + - req_mWYTqwmnhcQ87p + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_F2NBjS4FcqBzcc + - req_mWYTqwmnhcQ87p Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTshKuuB1fWySn1ONkqFK3", + "id": "pi_3Oy1yVKuuB1fWySn2JmTAk40", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721007, + "created": 1711328719, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTshKuuB1fWySnl6MBim02", + "payment_method": "pm_1Oy1yVKuuB1fWySnROBMH9bH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:47 GMT + recorded_at: Mon, 25 Mar 2024 01:05:20 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTshKuuB1fWySn1ONkqFK3/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yVKuuB1fWySn2JmTAk40/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_F2NBjS4FcqBzcc","request_duration_ms":387}}' + - '{"last_request_metrics":{"request_id":"req_mWYTqwmnhcQ87p","request_duration_ms":373}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:48 GMT + - Mon, 25 Mar 2024 01:05:21 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 94ed595b-4319-4ad8-9faf-5133c7c79d4b + - 786fecac-dcdd-4bf4-8d43-1da4327352f9 Original-Request: - - req_XSGtmMjAhMsd9c + - req_oVC7zIJTRYM1p9 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XSGtmMjAhMsd9c + - req_oVC7zIJTRYM1p9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OvTshKuuB1fWySn1J2Vm4DC", + "charge": "ch_3Oy1yVKuuB1fWySn27dCV2tf", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_intent": { - "id": "pi_3OvTshKuuB1fWySn1ONkqFK3", + "id": "pi_3Oy1yVKuuB1fWySn2JmTAk40", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721007, + "created": 1711328719, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OvTshKuuB1fWySn1J2Vm4DC", + "charge": "ch_3Oy1yVKuuB1fWySn27dCV2tf", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_method": { - "id": "pm_1OvTshKuuB1fWySnl6MBim02", + "id": "pm_1Oy1yVKuuB1fWySnROBMH9bH", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1710721007, + "created": 1711328719, "customer": null, "livemode": false, "metadata": { @@ -419,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OvTshKuuB1fWySn1J2Vm4DC", + "latest_charge": "ch_3Oy1yVKuuB1fWySn27dCV2tf", "livemode": false, "metadata": { }, @@ -451,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OvTshKuuB1fWySnl6MBim02", + "id": "pm_1Oy1yVKuuB1fWySnROBMH9bH", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1710721007, + "created": 1711328719, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_XSGtmMjAhMsd9c?t=1710721007", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_oVC7zIJTRYM1p9?t=1711328720", "type": "card_error" } } - recorded_at: Mon, 18 Mar 2024 00:16:48 GMT + recorded_at: Mon, 25 Mar 2024 01:05:21 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 29f24e442c..db5507a28e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009995&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0nflBr539AASIu","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_TWSoFlKBEvPatI","request_duration_ms":373}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:39 GMT + - Mon, 25 Mar 2024 01:05:12 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 35b61012-436a-41cc-80c2-b7db23f7c35b + - fd2cd4d0-e680-4dcb-9ce7-91c10a22876c Original-Request: - - req_zVIOjYxp5zHWU5 + - req_WGXvov5F3tl5xb + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zVIOjYxp5zHWU5 + - req_WGXvov5F3tl5xb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsZKuuB1fWySn38adKrtd", + "id": "pm_1Oy1yNKuuB1fWySnKWPHhFg0", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720999, + "created": 1711328711, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:39 GMT + recorded_at: Mon, 25 Mar 2024 01:05:12 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsZKuuB1fWySn38adKrtd&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1yNKuuB1fWySnKWPHhFg0&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zVIOjYxp5zHWU5","request_duration_ms":449}}' + - '{"last_request_metrics":{"request_id":"req_WGXvov5F3tl5xb","request_duration_ms":490}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:39 GMT + - Mon, 25 Mar 2024 01:05:12 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 67ff2a64-1d6d-4967-9c09-f04c315e2268 + - edd179de-cc5b-43e4-a35e-553bd2ceceeb Original-Request: - - req_DnNTN3UyDvUcFb + - req_USG19odn3QkHK6 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DnNTN3UyDvUcFb + - req_USG19odn3QkHK6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsZKuuB1fWySn183Uk8Ct", + "id": "pi_3Oy1yOKuuB1fWySn0KZChkxm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720999, + "created": 1711328712, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsZKuuB1fWySn38adKrtd", + "payment_method": "pm_1Oy1yNKuuB1fWySnKWPHhFg0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:39 GMT + recorded_at: Mon, 25 Mar 2024 01:05:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsZKuuB1fWySn183Uk8Ct/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yOKuuB1fWySn0KZChkxm/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DnNTN3UyDvUcFb","request_duration_ms":448}}' + - '{"last_request_metrics":{"request_id":"req_USG19odn3QkHK6","request_duration_ms":426}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:40 GMT + - Mon, 25 Mar 2024 01:05:13 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 98e9be9e-def1-47fc-a75e-3b05a2c4e556 + - d7503b10-bcda-4c2a-9bc1-008f18541c06 Original-Request: - - req_rHDaznC22p7wem + - req_DlVU8Sh56G2vhj + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rHDaznC22p7wem + - req_DlVU8Sh56G2vhj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OvTsZKuuB1fWySn1H38yAXr", + "charge": "ch_3Oy1yOKuuB1fWySn05u59eqc", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_intent": { - "id": "pi_3OvTsZKuuB1fWySn183Uk8Ct", + "id": "pi_3Oy1yOKuuB1fWySn0KZChkxm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720999, + "created": 1711328712, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OvTsZKuuB1fWySn1H38yAXr", + "charge": "ch_3Oy1yOKuuB1fWySn05u59eqc", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_method": { - "id": "pm_1OvTsZKuuB1fWySn38adKrtd", + "id": "pm_1Oy1yNKuuB1fWySnKWPHhFg0", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1710720999, + "created": 1711328711, "customer": null, "livemode": false, "metadata": { @@ -419,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OvTsZKuuB1fWySn1H38yAXr", + "latest_charge": "ch_3Oy1yOKuuB1fWySn05u59eqc", "livemode": false, "metadata": { }, @@ -451,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OvTsZKuuB1fWySn38adKrtd", + "id": "pm_1Oy1yNKuuB1fWySnKWPHhFg0", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1710720999, + "created": 1711328711, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_rHDaznC22p7wem?t=1710720999", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_DlVU8Sh56G2vhj?t=1711328712", "type": "card_error" } } - recorded_at: Mon, 18 Mar 2024 00:16:40 GMT + recorded_at: Mon, 25 Mar 2024 01:05:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 4b16b9a2a0..9fcae6d6c7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009987&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DnNTN3UyDvUcFb","request_duration_ms":448}}' + - '{"last_request_metrics":{"request_id":"req_USG19odn3QkHK6","request_duration_ms":426}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:41 GMT + - Mon, 25 Mar 2024 01:05:13 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 19f5c01a-d28b-454b-930b-6da099348ef3 + - 80863020-2451-4367-961d-cf8b6c96680e Original-Request: - - req_tI7E1R4GUPLRyh + - req_RiaFZI6ribU2oi + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_tI7E1R4GUPLRyh + - req_RiaFZI6ribU2oi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsbKuuB1fWySnL76GiUf9", + "id": "pm_1Oy1yPKuuB1fWySnR10uecrT", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721001, + "created": 1711328713, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:41 GMT + recorded_at: Mon, 25 Mar 2024 01:05:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsbKuuB1fWySnL76GiUf9&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1yPKuuB1fWySnR10uecrT&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tI7E1R4GUPLRyh","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_RiaFZI6ribU2oi","request_duration_ms":433}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:41 GMT + - Mon, 25 Mar 2024 01:05:14 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - f4e1bd20-47fa-4f21-818a-bc1fa31fbf44 + - 99941602-abd9-4d83-97b7-29015ed42c42 Original-Request: - - req_5zdcYe3sjZduBs + - req_GJAUebI2qwrn4d + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5zdcYe3sjZduBs + - req_GJAUebI2qwrn4d Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsbKuuB1fWySn1HGsGt81", + "id": "pi_3Oy1yQKuuB1fWySn2jhODWZC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721001, + "created": 1711328714, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsbKuuB1fWySnL76GiUf9", + "payment_method": "pm_1Oy1yPKuuB1fWySnR10uecrT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:41 GMT + recorded_at: Mon, 25 Mar 2024 01:05:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsbKuuB1fWySn1HGsGt81/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yQKuuB1fWySn2jhODWZC/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5zdcYe3sjZduBs","request_duration_ms":471}}' + - '{"last_request_metrics":{"request_id":"req_GJAUebI2qwrn4d","request_duration_ms":377}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:42 GMT + - Mon, 25 Mar 2024 01:05:15 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 5c714dab-23c7-4dee-815e-b6f4194d1bf0 + - b08e11f0-005e-427a-a198-093ede44c021 Original-Request: - - req_8XTD2Wch8mKJiH + - req_yTHUPmk13fRJbG + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8XTD2Wch8mKJiH + - req_yTHUPmk13fRJbG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OvTsbKuuB1fWySn1RQHwDgC", + "charge": "ch_3Oy1yQKuuB1fWySn2czGMl4j", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OvTsbKuuB1fWySn1HGsGt81", + "id": "pi_3Oy1yQKuuB1fWySn2jhODWZC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721001, + "created": 1711328714, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OvTsbKuuB1fWySn1RQHwDgC", + "charge": "ch_3Oy1yQKuuB1fWySn2czGMl4j", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OvTsbKuuB1fWySnL76GiUf9", + "id": "pm_1Oy1yPKuuB1fWySnR10uecrT", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1710721001, + "created": 1711328713, "customer": null, "livemode": false, "metadata": { @@ -419,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OvTsbKuuB1fWySn1RQHwDgC", + "latest_charge": "ch_3Oy1yQKuuB1fWySn2czGMl4j", "livemode": false, "metadata": { }, @@ -451,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OvTsbKuuB1fWySnL76GiUf9", + "id": "pm_1Oy1yPKuuB1fWySnR10uecrT", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1710721001, + "created": 1711328713, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_8XTD2Wch8mKJiH?t=1710721001", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_yTHUPmk13fRJbG?t=1711328714", "type": "card_error" } } - recorded_at: Mon, 18 Mar 2024 00:16:42 GMT + recorded_at: Mon, 25 Mar 2024 01:05:15 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 55bf038115..5766eeb3d9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000119&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_F2NBjS4FcqBzcc","request_duration_ms":387}}' + - '{"last_request_metrics":{"request_id":"req_mWYTqwmnhcQ87p","request_duration_ms":373}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:49 GMT + - Mon, 25 Mar 2024 01:05:21 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - f49249aa-d923-40d5-9c5f-5b6c83002c8a + - 26348183-fd4b-4fa3-9de2-b33ff066c989 Original-Request: - - req_F59ww0jNzASmIE + - req_MyEt9J8UjzrjZl + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_F59ww0jNzASmIE + - req_MyEt9J8UjzrjZl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsiKuuB1fWySnNdsdfxyR", + "id": "pm_1Oy1yXKuuB1fWySnpz5BbHKd", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721009, + "created": 1711328721, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:49 GMT + recorded_at: Mon, 25 Mar 2024 01:05:21 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsiKuuB1fWySnNdsdfxyR&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1yXKuuB1fWySnpz5BbHKd&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_F59ww0jNzASmIE","request_duration_ms":470}}' + - '{"last_request_metrics":{"request_id":"req_MyEt9J8UjzrjZl","request_duration_ms":434}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:49 GMT + - Mon, 25 Mar 2024 01:05:22 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 5772c367-06eb-4924-9626-347c3c6bf678 + - 0264e1dc-3e0f-4703-8081-a7a5a008ecff Original-Request: - - req_FTty1oLKmkciRM + - req_nnD7FhgHOchtXB + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FTty1oLKmkciRM + - req_nnD7FhgHOchtXB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsjKuuB1fWySn0kEgb4cI", + "id": "pi_3Oy1yXKuuB1fWySn1gp3vESW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721009, + "created": 1711328721, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsiKuuB1fWySnNdsdfxyR", + "payment_method": "pm_1Oy1yXKuuB1fWySnpz5BbHKd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:49 GMT + recorded_at: Mon, 25 Mar 2024 01:05:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsjKuuB1fWySn0kEgb4cI/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yXKuuB1fWySn1gp3vESW/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FTty1oLKmkciRM","request_duration_ms":370}}' + - '{"last_request_metrics":{"request_id":"req_nnD7FhgHOchtXB","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:50 GMT + - Mon, 25 Mar 2024 01:05:22 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - ee11ff7c-b8c5-4170-b8bc-52f2bf3ea7ba + - 241115e3-0480-410a-a985-25b6da2411ee Original-Request: - - req_ChQ33Qh1ZKiZAY + - req_1lcpsaMHx0Whmu + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ChQ33Qh1ZKiZAY + - req_1lcpsaMHx0Whmu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,12 +346,12 @@ http_interactions: string: | { "error": { - "charge": "ch_3OvTsjKuuB1fWySn0uxfNIGe", + "charge": "ch_3Oy1yXKuuB1fWySn1P6dQF8l", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_intent": { - "id": "pi_3OvTsjKuuB1fWySn0kEgb4cI", + "id": "pi_3Oy1yXKuuB1fWySn1gp3vESW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -356,18 +368,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721009, + "created": 1711328721, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OvTsjKuuB1fWySn0uxfNIGe", + "charge": "ch_3Oy1yXKuuB1fWySn1P6dQF8l", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_method": { - "id": "pm_1OvTsiKuuB1fWySnNdsdfxyR", + "id": "pm_1Oy1yXKuuB1fWySnpz5BbHKd", "object": "payment_method", "billing_details": { "address": { @@ -408,7 +420,7 @@ http_interactions: }, "wallet": null }, - "created": 1710721009, + "created": 1711328721, "customer": null, "livemode": false, "metadata": { @@ -417,7 +429,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OvTsjKuuB1fWySn0uxfNIGe", + "latest_charge": "ch_3Oy1yXKuuB1fWySn1P6dQF8l", "livemode": false, "metadata": { }, @@ -449,7 +461,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OvTsiKuuB1fWySnNdsdfxyR", + "id": "pm_1Oy1yXKuuB1fWySnpz5BbHKd", "object": "payment_method", "billing_details": { "address": { @@ -490,16 +502,16 @@ http_interactions: }, "wallet": null }, - "created": 1710721009, + "created": 1711328721, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_ChQ33Qh1ZKiZAY?t=1710721009", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_1lcpsaMHx0Whmu?t=1711328722", "type": "card_error" } } - recorded_at: Mon, 18 Mar 2024 00:16:50 GMT + recorded_at: Mon, 25 Mar 2024 01:05:23 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index cc3ab50c6a..a66e4b1760 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009979&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5zdcYe3sjZduBs","request_duration_ms":471}}' + - '{"last_request_metrics":{"request_id":"req_GJAUebI2qwrn4d","request_duration_ms":377}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:43 GMT + - Mon, 25 Mar 2024 01:05:15 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 79e61cbc-801b-4498-824d-65edcc42e41b + - 97eb32ef-7f08-4e2c-9de0-a1a3d1bb8691 Original-Request: - - req_Fo4qtgYiOPMmoN + - req_95uja3TWAAKAgZ + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Fo4qtgYiOPMmoN + - req_95uja3TWAAKAgZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsdKuuB1fWySnbf8DElDr", + "id": "pm_1Oy1yRKuuB1fWySnTgrx8y7n", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710721003, + "created": 1711328715, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:43 GMT + recorded_at: Mon, 25 Mar 2024 01:05:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsdKuuB1fWySnbf8DElDr&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1yRKuuB1fWySnTgrx8y7n&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Fo4qtgYiOPMmoN","request_duration_ms":467}}' + - '{"last_request_metrics":{"request_id":"req_95uja3TWAAKAgZ","request_duration_ms":540}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:43 GMT + - Mon, 25 Mar 2024 01:05:16 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 9995bc21-6de2-4484-9d3e-d5515641d2b9 + - f2fa9fb4-8eac-429c-9693-8de523434bfb Original-Request: - - req_oeGLyCRcs5bHid + - req_BjNzTk5KJ6qJDv + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_oeGLyCRcs5bHid + - req_BjNzTk5KJ6qJDv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsdKuuB1fWySn0MgByDPp", + "id": "pi_3Oy1ySKuuB1fWySn1eJ3WEUe", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721003, + "created": 1711328716, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsdKuuB1fWySnbf8DElDr", + "payment_method": "pm_1Oy1yRKuuB1fWySnTgrx8y7n", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:43 GMT + recorded_at: Mon, 25 Mar 2024 01:05:16 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsdKuuB1fWySn0MgByDPp/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1ySKuuB1fWySn1eJ3WEUe/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oeGLyCRcs5bHid","request_duration_ms":440}}' + - '{"last_request_metrics":{"request_id":"req_BjNzTk5KJ6qJDv","request_duration_ms":410}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:44 GMT + - Mon, 25 Mar 2024 01:05:17 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 6651e15d-ff33-43f3-a076-c1e70e5e6105 + - 0a8b2bd5-17cb-4bc1-949c-5da7b47451a1 Original-Request: - - req_XSMdJvSz6syccz + - req_zdONKqcFBegq6Y + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XSMdJvSz6syccz + - req_zdONKqcFBegq6Y Stripe-Should-Retry: - 'false' Stripe-Version: @@ -334,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3OvTsdKuuB1fWySn0LHjFCev", + "charge": "ch_3Oy1ySKuuB1fWySn1Mqf4ucC", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3OvTsdKuuB1fWySn0MgByDPp", + "id": "pi_3Oy1ySKuuB1fWySn1eJ3WEUe", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721003, + "created": 1711328716, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3OvTsdKuuB1fWySn0LHjFCev", + "charge": "ch_3Oy1ySKuuB1fWySn1Mqf4ucC", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1OvTsdKuuB1fWySnbf8DElDr", + "id": "pm_1Oy1yRKuuB1fWySnTgrx8y7n", "object": "payment_method", "billing_details": { "address": { @@ -410,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1710721003, + "created": 1711328715, "customer": null, "livemode": false, "metadata": { @@ -419,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3OvTsdKuuB1fWySn0LHjFCev", + "latest_charge": "ch_3Oy1ySKuuB1fWySn1Mqf4ucC", "livemode": false, "metadata": { }, @@ -451,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1OvTsdKuuB1fWySnbf8DElDr", + "id": "pm_1Oy1yRKuuB1fWySnTgrx8y7n", "object": "payment_method", "billing_details": { "address": { @@ -492,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1710721003, + "created": 1711328715, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_XSMdJvSz6syccz?t=1710721003", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_zdONKqcFBegq6Y?t=1711328716", "type": "card_error" } } - recorded_at: Mon, 18 Mar 2024 00:16:44 GMT + recorded_at: Mon, 25 Mar 2024 01:05:17 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml index 3693409f8f..2f2fe663fe 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gda2k7gbAL9VMv","request_duration_ms":927}}' + - '{"last_request_metrics":{"request_id":"req_CHYbtgMyODWK1I","request_duration_ms":906}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:49 GMT + - Mon, 25 Mar 2024 01:04:23 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - d020a87f-0d88-455e-99ee-d420375d9c29 + - 29fdf8ab-b829-418f-a208-40681103fc23 Original-Request: - - req_GrzKVJverAWs1N + - req_YoGO6uTTeQzvES + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GrzKVJverAWs1N + - req_YoGO6uTTeQzvES Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrkKuuB1fWySn7zhPa7J5", + "id": "pm_1Oy1xbKuuB1fWySnhbRSdsJp", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720949, + "created": 1711328663, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:49 GMT + recorded_at: Mon, 25 Mar 2024 01:04:23 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrkKuuB1fWySn7zhPa7J5&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xbKuuB1fWySnhbRSdsJp&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GrzKVJverAWs1N","request_duration_ms":441}}' + - '{"last_request_metrics":{"request_id":"req_YoGO6uTTeQzvES","request_duration_ms":451}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:49 GMT + - Mon, 25 Mar 2024 01:04:24 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b7d93f26-46fc-4680-a24b-0ab9710f1bc3 + - 7b7e31ee-b2dc-4eec-86bf-9ba7970478fc Original-Request: - - req_8pkLZgQ4FyDILv + - req_p8ibVWdL7pbp6c + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8pkLZgQ4FyDILv + - req_p8ibVWdL7pbp6c Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrlKuuB1fWySn0UWvAFQv", + "id": "pi_3Oy1xbKuuB1fWySn0vS15p4a", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720949, + "created": 1711328663, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrkKuuB1fWySn7zhPa7J5", + "payment_method": "pm_1Oy1xbKuuB1fWySnhbRSdsJp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:49 GMT + recorded_at: Mon, 25 Mar 2024 01:04:24 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrlKuuB1fWySn0UWvAFQv/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xbKuuB1fWySn0vS15p4a/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8pkLZgQ4FyDILv","request_duration_ms":445}}' + - '{"last_request_metrics":{"request_id":"req_p8ibVWdL7pbp6c","request_duration_ms":468}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:50 GMT + - Mon, 25 Mar 2024 01:04:25 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b080eed9-3fce-484e-badb-a58d5eddcd25 + - 413f0054-c9f8-4a09-9b65-22e45fc2fe7b Original-Request: - - req_xyLG0KtSD7SWDN + - req_qhizvbQLKRKkdI + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xyLG0KtSD7SWDN + - req_qhizvbQLKRKkdI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrlKuuB1fWySn0UWvAFQv", + "id": "pi_3Oy1xbKuuB1fWySn0vS15p4a", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720949, + "created": 1711328663, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrlKuuB1fWySn0JYcsknx", + "latest_charge": "ch_3Oy1xbKuuB1fWySn0B7hvVYd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrkKuuB1fWySn7zhPa7J5", + "payment_method": "pm_1Oy1xbKuuB1fWySnhbRSdsJp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:50 GMT + recorded_at: Mon, 25 Mar 2024 01:04:25 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrlKuuB1fWySn0UWvAFQv + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xbKuuB1fWySn0vS15p4a body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xyLG0KtSD7SWDN","request_duration_ms":974}}' + - '{"last_request_metrics":{"request_id":"req_qhizvbQLKRKkdI","request_duration_ms":982}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:50 GMT + - Mon, 25 Mar 2024 01:04:25 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZCwfGMV65edTDC + - req_A2ploA32yxHKiO Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrlKuuB1fWySn0UWvAFQv", + "id": "pi_3Oy1xbKuuB1fWySn0vS15p4a", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720949, + "created": 1711328663, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrlKuuB1fWySn0JYcsknx", + "latest_charge": "ch_3Oy1xbKuuB1fWySn0B7hvVYd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrkKuuB1fWySn7zhPa7J5", + "payment_method": "pm_1Oy1xbKuuB1fWySnhbRSdsJp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:50 GMT + recorded_at: Mon, 25 Mar 2024 01:04:25 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrlKuuB1fWySn0UWvAFQv/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xbKuuB1fWySn0vS15p4a/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZCwfGMV65edTDC","request_duration_ms":290}}' + - '{"last_request_metrics":{"request_id":"req_A2ploA32yxHKiO","request_duration_ms":333}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:51 GMT + - Mon, 25 Mar 2024 01:04:26 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 06a0a71a-a5d4-4516-82c6-4df5c3e01b67 + - d450173b-b28d-4250-9864-6af392be66ef Original-Request: - - req_KMjbvDPh0hR90a + - req_HsSt59Ey5ircxg + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KMjbvDPh0hR90a + - req_HsSt59Ey5ircxg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrlKuuB1fWySn0UWvAFQv", + "id": "pi_3Oy1xbKuuB1fWySn0vS15p4a", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720949, + "created": 1711328663, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrlKuuB1fWySn0JYcsknx", + "latest_charge": "ch_3Oy1xbKuuB1fWySn0B7hvVYd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrkKuuB1fWySn7zhPa7J5", + "payment_method": "pm_1Oy1xbKuuB1fWySnhbRSdsJp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:51 GMT + recorded_at: Mon, 25 Mar 2024 01:04:26 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrlKuuB1fWySn0UWvAFQv + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xbKuuB1fWySn0vS15p4a body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KMjbvDPh0hR90a","request_duration_ms":985}}' + - '{"last_request_metrics":{"request_id":"req_HsSt59Ey5ircxg","request_duration_ms":988}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:52 GMT + - Mon, 25 Mar 2024 01:04:26 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8vqX4xpyNVZMxF + - req_L0xeuVuB8Jgb7S Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrlKuuB1fWySn0UWvAFQv", + "id": "pi_3Oy1xbKuuB1fWySn0vS15p4a", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720949, + "created": 1711328663, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrlKuuB1fWySn0JYcsknx", + "latest_charge": "ch_3Oy1xbKuuB1fWySn0B7hvVYd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrkKuuB1fWySn7zhPa7J5", + "payment_method": "pm_1Oy1xbKuuB1fWySnhbRSdsJp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:52 GMT + recorded_at: Mon, 25 Mar 2024 01:04:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml index 7a585189e1..c22f95a6e4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_b7rfB7ZShjT8E0","request_duration_ms":307}}' + - '{"last_request_metrics":{"request_id":"req_61NTDBtug2NT9B","request_duration_ms":278}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:47 GMT + - Mon, 25 Mar 2024 01:04:21 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - a2a8eab9-4a71-402e-98e5-a611a641e252 + - 064ec060-ef60-4143-b991-39d71d3f3827 Original-Request: - - req_OJgRWYVT250hSM + - req_bQy1Pj5YLqLZPs + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OJgRWYVT250hSM + - req_bQy1Pj5YLqLZPs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrjKuuB1fWySnJEnMHZYn", + "id": "pm_1Oy1xZKuuB1fWySnfMMHh1Oy", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720947, + "created": 1711328661, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:47 GMT + recorded_at: Mon, 25 Mar 2024 01:04:21 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrjKuuB1fWySnJEnMHZYn&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xZKuuB1fWySnfMMHh1Oy&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OJgRWYVT250hSM","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_bQy1Pj5YLqLZPs","request_duration_ms":446}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:47 GMT + - Mon, 25 Mar 2024 01:04:22 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 15ecd09b-2259-4c0a-a149-04db606d157f + - cc25133f-e7aa-48c1-899d-b3a47def582d Original-Request: - - req_BrR0DKbyEthfeW + - req_uPjXdZe0WcM1V5 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BrR0DKbyEthfeW + - req_uPjXdZe0WcM1V5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrjKuuB1fWySn0F1EPBzd", + "id": "pi_3Oy1xZKuuB1fWySn05aqhyDD", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720947, + "created": 1711328661, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrjKuuB1fWySnJEnMHZYn", + "payment_method": "pm_1Oy1xZKuuB1fWySnfMMHh1Oy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:47 GMT + recorded_at: Mon, 25 Mar 2024 01:04:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrjKuuB1fWySn0F1EPBzd/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xZKuuB1fWySn05aqhyDD/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BrR0DKbyEthfeW","request_duration_ms":361}}' + - '{"last_request_metrics":{"request_id":"req_uPjXdZe0WcM1V5","request_duration_ms":473}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:48 GMT + - Mon, 25 Mar 2024 01:04:23 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 993b2154-6e15-4060-90fc-86ffb7287451 + - 5466ac3d-79bb-433e-929c-fd25a3d09cf9 Original-Request: - - req_gda2k7gbAL9VMv + - req_CHYbtgMyODWK1I + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gda2k7gbAL9VMv + - req_CHYbtgMyODWK1I Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrjKuuB1fWySn0F1EPBzd", + "id": "pi_3Oy1xZKuuB1fWySn05aqhyDD", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720947, + "created": 1711328661, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrjKuuB1fWySn0nhLuf6P", + "latest_charge": "ch_3Oy1xZKuuB1fWySn0MhTaNeJ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrjKuuB1fWySnJEnMHZYn", + "payment_method": "pm_1Oy1xZKuuB1fWySnfMMHh1Oy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:48 GMT + recorded_at: Mon, 25 Mar 2024 01:04:23 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml index 03b44d3035..d722b62b29 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Sm42Wtb00Gaohq","request_duration_ms":931}}' + - '{"last_request_metrics":{"request_id":"req_ub6PTwN81SsuJq","request_duration_ms":973}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:16 GMT + - Mon, 25 Mar 2024 01:04:50 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 3bb6dc8d-41c9-42ec-a498-fc95301be844 + - 70dcb2e4-ac30-4746-9eeb-ddf94cdbed06 Original-Request: - - req_JsMyoeCnvU76V4 + - req_3zzVdTqUTSjqds + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JsMyoeCnvU76V4 + - req_3zzVdTqUTSjqds Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsCKuuB1fWySnc9M8OPUu", + "id": "pm_1Oy1y2KuuB1fWySnQkbBtDaA", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720976, + "created": 1711328690, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:16 GMT + recorded_at: Mon, 25 Mar 2024 01:04:51 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsCKuuB1fWySnc9M8OPUu&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1y2KuuB1fWySnQkbBtDaA&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JsMyoeCnvU76V4","request_duration_ms":429}}' + - '{"last_request_metrics":{"request_id":"req_3zzVdTqUTSjqds","request_duration_ms":460}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:16 GMT + - Mon, 25 Mar 2024 01:04:51 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - d1441f97-ee80-456d-aa83-4cff438bff32 + - 44a5d46e-bd4d-4c48-b9c6-6a670ea7da6b Original-Request: - - req_kQ4mIbaiPq4RIN + - req_wVoLfGMULHwntT + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kQ4mIbaiPq4RIN + - req_wVoLfGMULHwntT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsCKuuB1fWySn2n8pFsQO", + "id": "pi_3Oy1y3KuuB1fWySn2qbVtwoa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720976, + "created": 1711328691, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsCKuuB1fWySnc9M8OPUu", + "payment_method": "pm_1Oy1y2KuuB1fWySnQkbBtDaA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:17 GMT + recorded_at: Mon, 25 Mar 2024 01:04:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsCKuuB1fWySn2n8pFsQO/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y3KuuB1fWySn2qbVtwoa/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kQ4mIbaiPq4RIN","request_duration_ms":496}}' + - '{"last_request_metrics":{"request_id":"req_wVoLfGMULHwntT","request_duration_ms":375}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:18 GMT + - Mon, 25 Mar 2024 01:04:52 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 9c39a296-fb99-4c74-871d-d500ede04f14 + - cf80bf45-85f5-45e5-921c-7db356614a22 Original-Request: - - req_SB4DzXMFi50gTk + - req_UsvWN6LVcymUhE + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SB4DzXMFi50gTk + - req_UsvWN6LVcymUhE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsCKuuB1fWySn2n8pFsQO", + "id": "pi_3Oy1y3KuuB1fWySn2qbVtwoa", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720976, + "created": 1711328691, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsCKuuB1fWySn2YJt7xAr", + "latest_charge": "ch_3Oy1y3KuuB1fWySn2Htsliyh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsCKuuB1fWySnc9M8OPUu", + "payment_method": "pm_1Oy1y2KuuB1fWySnQkbBtDaA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:18 GMT + recorded_at: Mon, 25 Mar 2024 01:04:52 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsCKuuB1fWySn2n8pFsQO + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y3KuuB1fWySn2qbVtwoa body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SB4DzXMFi50gTk","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_UsvWN6LVcymUhE","request_duration_ms":953}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:18 GMT + - Mon, 25 Mar 2024 01:04:52 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gOcDrrD6YXTUl1 + - req_D1hH39Ttrmhh3x Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsCKuuB1fWySn2n8pFsQO", + "id": "pi_3Oy1y3KuuB1fWySn2qbVtwoa", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720976, + "created": 1711328691, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsCKuuB1fWySn2YJt7xAr", + "latest_charge": "ch_3Oy1y3KuuB1fWySn2Htsliyh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsCKuuB1fWySnc9M8OPUu", + "payment_method": "pm_1Oy1y2KuuB1fWySnQkbBtDaA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:18 GMT + recorded_at: Mon, 25 Mar 2024 01:04:52 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsCKuuB1fWySn2n8pFsQO/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y3KuuB1fWySn2qbVtwoa/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gOcDrrD6YXTUl1","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_D1hH39Ttrmhh3x","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:19 GMT + - Mon, 25 Mar 2024 01:04:53 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 0b229f0e-8878-41c6-84e7-91ade34bba6f + - f03244b1-47a6-4560-aff0-bab2c42f8e50 Original-Request: - - req_vTmo6BUCETnxfE + - req_ebhQja7aZhXvOZ + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vTmo6BUCETnxfE + - req_ebhQja7aZhXvOZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsCKuuB1fWySn2n8pFsQO", + "id": "pi_3Oy1y3KuuB1fWySn2qbVtwoa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720976, + "created": 1711328691, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsCKuuB1fWySn2YJt7xAr", + "latest_charge": "ch_3Oy1y3KuuB1fWySn2Htsliyh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsCKuuB1fWySnc9M8OPUu", + "payment_method": "pm_1Oy1y2KuuB1fWySnQkbBtDaA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:19 GMT + recorded_at: Mon, 25 Mar 2024 01:04:53 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsCKuuB1fWySn2n8pFsQO + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y3KuuB1fWySn2qbVtwoa body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vTmo6BUCETnxfE","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_ebhQja7aZhXvOZ","request_duration_ms":941}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:19 GMT + - Mon, 25 Mar 2024 01:04:53 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0NP9abiv73dbAY + - req_iDg1n54KBz6Uaz Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsCKuuB1fWySn2n8pFsQO", + "id": "pi_3Oy1y3KuuB1fWySn2qbVtwoa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720976, + "created": 1711328691, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsCKuuB1fWySn2YJt7xAr", + "latest_charge": "ch_3Oy1y3KuuB1fWySn2Htsliyh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsCKuuB1fWySnc9M8OPUu", + "payment_method": "pm_1Oy1y2KuuB1fWySnQkbBtDaA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:19 GMT + recorded_at: Mon, 25 Mar 2024 01:04:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml index 468cd094b9..5d61164e02 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lAQZo297GkbSla","request_duration_ms":274}}' + - '{"last_request_metrics":{"request_id":"req_QjXX8d38Hkq9BM","request_duration_ms":289}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:14 GMT + - Mon, 25 Mar 2024 01:04:49 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 2c676138-f27a-4784-8ccb-ecedf837d08f + - 40bfdefd-0c08-4c79-b260-8a9bf5d3969b Original-Request: - - req_3On9wtXeBvLsBh + - req_HxnB83oDlQy929 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3On9wtXeBvLsBh + - req_HxnB83oDlQy929 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsAKuuB1fWySn1ITYdALk", + "id": "pm_1Oy1y0KuuB1fWySnHmbdlL0s", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720974, + "created": 1711328688, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:14 GMT + recorded_at: Mon, 25 Mar 2024 01:04:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsAKuuB1fWySn1ITYdALk&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1y0KuuB1fWySnHmbdlL0s&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3On9wtXeBvLsBh","request_duration_ms":430}}' + - '{"last_request_metrics":{"request_id":"req_HxnB83oDlQy929","request_duration_ms":442}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:15 GMT + - Mon, 25 Mar 2024 01:04:49 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - c67ef120-22fb-4da3-a19e-5ea869102628 + - 7f2683e3-38bd-44a6-a46b-f88adde4bb59 Original-Request: - - req_fV52kLYGOr4KUT + - req_DY6rFAOwWoIgSJ + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_fV52kLYGOr4KUT + - req_DY6rFAOwWoIgSJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsAKuuB1fWySn0SMsGIat", + "id": "pi_3Oy1y1KuuB1fWySn0FgVmR7A", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720974, + "created": 1711328689, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsAKuuB1fWySn1ITYdALk", + "payment_method": "pm_1Oy1y0KuuB1fWySnHmbdlL0s", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:15 GMT + recorded_at: Mon, 25 Mar 2024 01:04:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsAKuuB1fWySn0SMsGIat/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y1KuuB1fWySn0FgVmR7A/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fV52kLYGOr4KUT","request_duration_ms":395}}' + - '{"last_request_metrics":{"request_id":"req_DY6rFAOwWoIgSJ","request_duration_ms":461}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:15 GMT + - Mon, 25 Mar 2024 01:04:50 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 6e87773a-bc50-4fb1-ac55-3f07068563c2 + - e0169415-0618-454b-ab60-4ca30f095799 Original-Request: - - req_Sm42Wtb00Gaohq + - req_ub6PTwN81SsuJq + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Sm42Wtb00Gaohq + - req_ub6PTwN81SsuJq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsAKuuB1fWySn0SMsGIat", + "id": "pi_3Oy1y1KuuB1fWySn0FgVmR7A", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720974, + "created": 1711328689, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsAKuuB1fWySn09czHrmY", + "latest_charge": "ch_3Oy1y1KuuB1fWySn00JdvBAY", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsAKuuB1fWySn1ITYdALk", + "payment_method": "pm_1Oy1y0KuuB1fWySnHmbdlL0s", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:16 GMT + recorded_at: Mon, 25 Mar 2024 01:04:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml index 2098f6be2a..66e50caa44 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iZ6RNIQNWljp8W","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_KPQl7OWTmnAChH","request_duration_ms":889}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:05 GMT + - Mon, 25 Mar 2024 01:04:40 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 7a7f6d9e-b596-44f0-8b09-e3f3655c7b9e + - 2a5dd494-d602-4b14-b301-dd69227250d7 Original-Request: - - req_xoXtZBtUNqxjtT + - req_NjIYStRyrFexWx + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xoXtZBtUNqxjtT + - req_NjIYStRyrFexWx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTs1KuuB1fWySne1dgVDRG", + "id": "pm_1Oy1xrKuuB1fWySn97ZedAFu", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720965, + "created": 1711328680, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:05 GMT + recorded_at: Mon, 25 Mar 2024 01:04:40 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTs1KuuB1fWySne1dgVDRG&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xrKuuB1fWySn97ZedAFu&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xoXtZBtUNqxjtT","request_duration_ms":529}}' + - '{"last_request_metrics":{"request_id":"req_NjIYStRyrFexWx","request_duration_ms":441}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:06 GMT + - Mon, 25 Mar 2024 01:04:40 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 6b53d4b9-9ed9-470d-a694-a5d740489913 + - 1705ae17-a020-422c-902f-914cc4d3c0e6 Original-Request: - - req_GPY1Ljma4kYOq0 + - req_jpxa7QxIyOZUl1 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GPY1Ljma4kYOq0 + - req_jpxa7QxIyOZUl1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTs1KuuB1fWySn1S9ruLf8", + "id": "pi_3Oy1xsKuuB1fWySn1788cHeq", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720965, + "created": 1711328680, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTs1KuuB1fWySne1dgVDRG", + "payment_method": "pm_1Oy1xrKuuB1fWySn97ZedAFu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:06 GMT + recorded_at: Mon, 25 Mar 2024 01:04:40 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs1KuuB1fWySn1S9ruLf8/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xsKuuB1fWySn1788cHeq/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GPY1Ljma4kYOq0","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_jpxa7QxIyOZUl1","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:07 GMT + - Mon, 25 Mar 2024 01:04:41 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 6ece7036-540b-4427-98de-f95e3ed5fc17 + - 2c2c5e81-393f-4617-91e7-537d32db1dd7 Original-Request: - - req_p4FuOn88owd471 + - req_0mVQR11RstwQ7F + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_p4FuOn88owd471 + - req_0mVQR11RstwQ7F Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTs1KuuB1fWySn1S9ruLf8", + "id": "pi_3Oy1xsKuuB1fWySn1788cHeq", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720965, + "created": 1711328680, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTs1KuuB1fWySn1ZspPK6I", + "latest_charge": "ch_3Oy1xsKuuB1fWySn1Z3nSLvq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTs1KuuB1fWySne1dgVDRG", + "payment_method": "pm_1Oy1xrKuuB1fWySn97ZedAFu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:07 GMT + recorded_at: Mon, 25 Mar 2024 01:04:41 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs1KuuB1fWySn1S9ruLf8 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xsKuuB1fWySn1788cHeq body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_p4FuOn88owd471","request_duration_ms":943}}' + - '{"last_request_metrics":{"request_id":"req_0mVQR11RstwQ7F","request_duration_ms":958}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:07 GMT + - Mon, 25 Mar 2024 01:04:41 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_D656CCebXucvGt + - req_1rSvzTr6KZH5y9 Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTs1KuuB1fWySn1S9ruLf8", + "id": "pi_3Oy1xsKuuB1fWySn1788cHeq", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720965, + "created": 1711328680, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTs1KuuB1fWySn1ZspPK6I", + "latest_charge": "ch_3Oy1xsKuuB1fWySn1Z3nSLvq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTs1KuuB1fWySne1dgVDRG", + "payment_method": "pm_1Oy1xrKuuB1fWySn97ZedAFu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:07 GMT + recorded_at: Mon, 25 Mar 2024 01:04:41 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs1KuuB1fWySn1S9ruLf8/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xsKuuB1fWySn1788cHeq/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_D656CCebXucvGt","request_duration_ms":291}}' + - '{"last_request_metrics":{"request_id":"req_1rSvzTr6KZH5y9","request_duration_ms":313}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:08 GMT + - Mon, 25 Mar 2024 01:04:42 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 103d880a-8c89-4419-9895-2d0390cf771f + - 6c9639e0-c61c-4ef2-8d3d-24a72aae7385 Original-Request: - - req_b62GR8S8sa9B4w + - req_aMitf3dOPhc89R + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_b62GR8S8sa9B4w + - req_aMitf3dOPhc89R Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTs1KuuB1fWySn1S9ruLf8", + "id": "pi_3Oy1xsKuuB1fWySn1788cHeq", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720965, + "created": 1711328680, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTs1KuuB1fWySn1ZspPK6I", + "latest_charge": "ch_3Oy1xsKuuB1fWySn1Z3nSLvq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTs1KuuB1fWySne1dgVDRG", + "payment_method": "pm_1Oy1xrKuuB1fWySn97ZedAFu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:08 GMT + recorded_at: Mon, 25 Mar 2024 01:04:42 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs1KuuB1fWySn1S9ruLf8 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xsKuuB1fWySn1788cHeq body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_b62GR8S8sa9B4w","request_duration_ms":943}}' + - '{"last_request_metrics":{"request_id":"req_aMitf3dOPhc89R","request_duration_ms":929}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:08 GMT + - Mon, 25 Mar 2024 01:04:43 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_yDW6lOmTkBf8DQ + - req_G6hJeVpEtdFcAC Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTs1KuuB1fWySn1S9ruLf8", + "id": "pi_3Oy1xsKuuB1fWySn1788cHeq", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720965, + "created": 1711328680, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTs1KuuB1fWySn1ZspPK6I", + "latest_charge": "ch_3Oy1xsKuuB1fWySn1Z3nSLvq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTs1KuuB1fWySne1dgVDRG", + "payment_method": "pm_1Oy1xrKuuB1fWySn97ZedAFu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:08 GMT + recorded_at: Mon, 25 Mar 2024 01:04:43 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml index 799234ba48..465ffb6203 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XSjJwBtpszuVl9","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_aYJovHMUfp9imi","request_duration_ms":306}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:03 GMT + - Mon, 25 Mar 2024 01:04:38 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - fbc6e5a6-8901-4d34-822a-5e50d3edbff0 + - aedacaea-f50c-4b20-b0c9-a4f5bbfdaeef Original-Request: - - req_lW3GU1K1MMOjCh + - req_NEtpOGHxyywL9K + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lW3GU1K1MMOjCh + - req_NEtpOGHxyywL9K Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrzKuuB1fWySn7pSJbRQ4", + "id": "pm_1Oy1xpKuuB1fWySn5470dSOH", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720963, + "created": 1711328678, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:03 GMT + recorded_at: Mon, 25 Mar 2024 01:04:38 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrzKuuB1fWySn7pSJbRQ4&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xpKuuB1fWySn5470dSOH&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lW3GU1K1MMOjCh","request_duration_ms":498}}' + - '{"last_request_metrics":{"request_id":"req_NEtpOGHxyywL9K","request_duration_ms":498}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:04 GMT + - Mon, 25 Mar 2024 01:04:38 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - ab368c58-df2c-4386-9f1b-65f25cf00bf7 + - 1aa7a693-aa6b-41a5-af77-743f160bd004 Original-Request: - - req_NevU5UX8s1SAiu + - req_EJCYVBzHwyAJIe + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NevU5UX8s1SAiu + - req_EJCYVBzHwyAJIe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrzKuuB1fWySn2XCJcxNT", + "id": "pi_3Oy1xqKuuB1fWySn02giHaSV", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720963, + "created": 1711328678, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrzKuuB1fWySn7pSJbRQ4", + "payment_method": "pm_1Oy1xpKuuB1fWySn5470dSOH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:04 GMT + recorded_at: Mon, 25 Mar 2024 01:04:38 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrzKuuB1fWySn2XCJcxNT/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xqKuuB1fWySn02giHaSV/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NevU5UX8s1SAiu","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_EJCYVBzHwyAJIe","request_duration_ms":401}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:05 GMT + - Mon, 25 Mar 2024 01:04:39 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - a1635647-2bc2-4123-9b0b-e282c8479104 + - 9317af03-3390-48ad-a8c2-a5ae214cc8ee Original-Request: - - req_iZ6RNIQNWljp8W + - req_KPQl7OWTmnAChH + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_iZ6RNIQNWljp8W + - req_KPQl7OWTmnAChH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrzKuuB1fWySn2XCJcxNT", + "id": "pi_3Oy1xqKuuB1fWySn02giHaSV", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720963, + "created": 1711328678, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrzKuuB1fWySn2LJIRjRn", + "latest_charge": "ch_3Oy1xqKuuB1fWySn0kG0pijK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrzKuuB1fWySn7pSJbRQ4", + "payment_method": "pm_1Oy1xpKuuB1fWySn5470dSOH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:05 GMT + recorded_at: Mon, 25 Mar 2024 01:04:39 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml index 7e964fbc18..287daa356d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rPbaP8bXqEKqt9","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_SVGQbg9n33Yvw7","request_duration_ms":967}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:11 GMT + - Mon, 25 Mar 2024 01:04:45 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - e6080b62-ac48-4a10-a376-bdde2a9c85ba + - 7801efcf-fbab-40d8-86ff-7954741fe625 Original-Request: - - req_n53jKGE64zf5NT + - req_PsRU2r8emxMrMK + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_n53jKGE64zf5NT + - req_PsRU2r8emxMrMK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTs6KuuB1fWySnf31Y2Oa3", + "id": "pm_1Oy1xxKuuB1fWySnQpwYCpwd", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720971, + "created": 1711328685, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:11 GMT + recorded_at: Mon, 25 Mar 2024 01:04:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTs6KuuB1fWySnf31Y2Oa3&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xxKuuB1fWySnQpwYCpwd&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_n53jKGE64zf5NT","request_duration_ms":523}}' + - '{"last_request_metrics":{"request_id":"req_PsRU2r8emxMrMK","request_duration_ms":431}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:11 GMT + - Mon, 25 Mar 2024 01:04:46 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 77b3d3b8-33a6-42ba-8f40-7dd34a03b882 + - c2e3f4e7-099a-4418-99f3-de9989ef0fb1 Original-Request: - - req_tmX1i9smrgNiZU + - req_C8GoFuyThwO2NF + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_tmX1i9smrgNiZU + - req_C8GoFuyThwO2NF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTs7KuuB1fWySn1Bf0ysYc", + "id": "pi_3Oy1xxKuuB1fWySn0hekpVtZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720971, + "created": 1711328685, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTs6KuuB1fWySnf31Y2Oa3", + "payment_method": "pm_1Oy1xxKuuB1fWySnQpwYCpwd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:11 GMT + recorded_at: Mon, 25 Mar 2024 01:04:46 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs7KuuB1fWySn1Bf0ysYc/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xxKuuB1fWySn0hekpVtZ/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tmX1i9smrgNiZU","request_duration_ms":377}}' + - '{"last_request_metrics":{"request_id":"req_C8GoFuyThwO2NF","request_duration_ms":365}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:12 GMT + - Mon, 25 Mar 2024 01:04:46 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 87614ff8-8a68-4b58-9705-56676a4150cc + - 208e2fd5-1896-4aa0-99a3-27a5568bd635 Original-Request: - - req_SqQrA0CjnEHSBo + - req_ufBGmO7Bw8onQx + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SqQrA0CjnEHSBo + - req_ufBGmO7Bw8onQx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTs7KuuB1fWySn1Bf0ysYc", + "id": "pi_3Oy1xxKuuB1fWySn0hekpVtZ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720971, + "created": 1711328685, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTs7KuuB1fWySn1ewt57Re", + "latest_charge": "ch_3Oy1xxKuuB1fWySn0OZTI5Q8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTs6KuuB1fWySnf31Y2Oa3", + "payment_method": "pm_1Oy1xxKuuB1fWySnQpwYCpwd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:12 GMT + recorded_at: Mon, 25 Mar 2024 01:04:47 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs7KuuB1fWySn1Bf0ysYc + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xxKuuB1fWySn0hekpVtZ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SqQrA0CjnEHSBo","request_duration_ms":901}}' + - '{"last_request_metrics":{"request_id":"req_ufBGmO7Bw8onQx","request_duration_ms":989}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:12 GMT + - Mon, 25 Mar 2024 01:04:47 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kPlmXnsAfVwRKt + - req_ehIaj2WqrRkdKo Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTs7KuuB1fWySn1Bf0ysYc", + "id": "pi_3Oy1xxKuuB1fWySn0hekpVtZ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720971, + "created": 1711328685, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTs7KuuB1fWySn1ewt57Re", + "latest_charge": "ch_3Oy1xxKuuB1fWySn0OZTI5Q8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTs6KuuB1fWySnf31Y2Oa3", + "payment_method": "pm_1Oy1xxKuuB1fWySnQpwYCpwd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:12 GMT + recorded_at: Mon, 25 Mar 2024 01:04:47 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs7KuuB1fWySn1Bf0ysYc/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xxKuuB1fWySn0hekpVtZ/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kPlmXnsAfVwRKt","request_duration_ms":308}}' + - '{"last_request_metrics":{"request_id":"req_ehIaj2WqrRkdKo","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:13 GMT + - Mon, 25 Mar 2024 01:04:48 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 2060ac76-afdf-4b71-bc60-1e337e9a0084 + - ccdf3e96-a8ab-4976-b938-28025fdffc60 Original-Request: - - req_39Kex9rIQw5rCU + - req_Wd5pnkzWTULzC8 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_39Kex9rIQw5rCU + - req_Wd5pnkzWTULzC8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTs7KuuB1fWySn1Bf0ysYc", + "id": "pi_3Oy1xxKuuB1fWySn0hekpVtZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720971, + "created": 1711328685, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTs7KuuB1fWySn1ewt57Re", + "latest_charge": "ch_3Oy1xxKuuB1fWySn0OZTI5Q8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTs6KuuB1fWySnf31Y2Oa3", + "payment_method": "pm_1Oy1xxKuuB1fWySnQpwYCpwd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:13 GMT + recorded_at: Mon, 25 Mar 2024 01:04:48 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs7KuuB1fWySn1Bf0ysYc + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xxKuuB1fWySn0hekpVtZ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_39Kex9rIQw5rCU","request_duration_ms":1069}}' + - '{"last_request_metrics":{"request_id":"req_Wd5pnkzWTULzC8","request_duration_ms":938}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:14 GMT + - Mon, 25 Mar 2024 01:04:48 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lAQZo297GkbSla + - req_QjXX8d38Hkq9BM Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTs7KuuB1fWySn1Bf0ysYc", + "id": "pi_3Oy1xxKuuB1fWySn0hekpVtZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720971, + "created": 1711328685, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTs7KuuB1fWySn1ewt57Re", + "latest_charge": "ch_3Oy1xxKuuB1fWySn0OZTI5Q8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTs6KuuB1fWySnf31Y2Oa3", + "payment_method": "pm_1Oy1xxKuuB1fWySnQpwYCpwd", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:14 GMT + recorded_at: Mon, 25 Mar 2024 01:04:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 2fe1836900..62fce428df 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yDW6lOmTkBf8DQ","request_duration_ms":378}}' + - '{"last_request_metrics":{"request_id":"req_G6hJeVpEtdFcAC","request_duration_ms":291}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:09 GMT + - Mon, 25 Mar 2024 01:04:43 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - ce11a9ba-0c54-4f99-977d-8fae0762ab5a + - 77586e7f-84bf-42dc-902d-5e2502e9d192 Original-Request: - - req_A6YkOfPMDfoUp9 + - req_FJI6vwrq7RkrpZ + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_A6YkOfPMDfoUp9 + - req_FJI6vwrq7RkrpZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTs5KuuB1fWySnnAw0e1Tl", + "id": "pm_1Oy1xvKuuB1fWySnQnhjNJHu", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720969, + "created": 1711328683, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:09 GMT + recorded_at: Mon, 25 Mar 2024 01:04:43 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTs5KuuB1fWySnnAw0e1Tl&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xvKuuB1fWySnQnhjNJHu&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_A6YkOfPMDfoUp9","request_duration_ms":418}}' + - '{"last_request_metrics":{"request_id":"req_FJI6vwrq7RkrpZ","request_duration_ms":418}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:09 GMT + - Mon, 25 Mar 2024 01:04:44 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - bf779317-4c18-439c-a2a1-369df209da80 + - 4c46590f-e5dc-4f54-8a61-19a178f88f77 Original-Request: - - req_gIPaPraplh7sxm + - req_hzb0bkINzt3NNa + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gIPaPraplh7sxm + - req_hzb0bkINzt3NNa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTs5KuuB1fWySn0ZYyikLq", + "id": "pi_3Oy1xvKuuB1fWySn1IY9Hdss", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720969, + "created": 1711328683, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTs5KuuB1fWySnnAw0e1Tl", + "payment_method": "pm_1Oy1xvKuuB1fWySnQnhjNJHu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:09 GMT + recorded_at: Mon, 25 Mar 2024 01:04:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTs5KuuB1fWySn0ZYyikLq/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xvKuuB1fWySn1IY9Hdss/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gIPaPraplh7sxm","request_duration_ms":386}}' + - '{"last_request_metrics":{"request_id":"req_hzb0bkINzt3NNa","request_duration_ms":390}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:10 GMT + - Mon, 25 Mar 2024 01:04:44 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - d0447ef5-7e66-43bc-bf68-150c606cfa9e + - ac808050-558e-4c84-a7f7-62789b6c1786 Original-Request: - - req_rPbaP8bXqEKqt9 + - req_SVGQbg9n33Yvw7 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rPbaP8bXqEKqt9 + - req_SVGQbg9n33Yvw7 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTs5KuuB1fWySn0ZYyikLq", + "id": "pi_3Oy1xvKuuB1fWySn1IY9Hdss", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720969, + "created": 1711328683, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTs5KuuB1fWySn0LnnOkx8", + "latest_charge": "ch_3Oy1xvKuuB1fWySn1XA69uEx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTs5KuuB1fWySnnAw0e1Tl", + "payment_method": "pm_1Oy1xvKuuB1fWySnQnhjNJHu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:10 GMT + recorded_at: Mon, 25 Mar 2024 01:04:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml index b209b8aeec..6234dc4cfe 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Nt2XjVoIEMYBME","request_duration_ms":958}}' + - '{"last_request_metrics":{"request_id":"req_j2VauhDrVyjFUn","request_duration_ms":891}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:54 GMT + - Mon, 25 Mar 2024 01:04:29 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 905957b2-9209-44a9-bd5e-3747b731d81e + - e3975548-4e53-482f-8b83-c22f6d36594b Original-Request: - - req_pj0DkbmO03PC11 + - req_I4dTxBURNNYAhZ + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pj0DkbmO03PC11 + - req_I4dTxBURNNYAhZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrqKuuB1fWySnWrZDtIlV", + "id": "pm_1Oy1xgKuuB1fWySnLG8YXGHF", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720954, + "created": 1711328669, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:54 GMT + recorded_at: Mon, 25 Mar 2024 01:04:29 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrqKuuB1fWySnWrZDtIlV&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xgKuuB1fWySnLG8YXGHF&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pj0DkbmO03PC11","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_I4dTxBURNNYAhZ","request_duration_ms":405}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:55 GMT + - Mon, 25 Mar 2024 01:04:29 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - d4a88a66-46b0-433f-8df4-efcf19582a01 + - 5d92b7da-c30e-4127-b2ca-b76e35b4023f Original-Request: - - req_z3kDjxX8LS4Too + - req_4OTwgekosz6I8L + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_z3kDjxX8LS4Too + - req_4OTwgekosz6I8L Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrrKuuB1fWySn20Ymh718", + "id": "pi_3Oy1xhKuuB1fWySn19IcX6TK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720955, + "created": 1711328669, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrqKuuB1fWySnWrZDtIlV", + "payment_method": "pm_1Oy1xgKuuB1fWySnLG8YXGHF", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:55 GMT + recorded_at: Mon, 25 Mar 2024 01:04:29 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrrKuuB1fWySn20Ymh718/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xhKuuB1fWySn19IcX6TK/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_z3kDjxX8LS4Too","request_duration_ms":398}}' + - '{"last_request_metrics":{"request_id":"req_4OTwgekosz6I8L","request_duration_ms":486}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:56 GMT + - Mon, 25 Mar 2024 01:04:30 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - c18408a7-353a-4afb-b3d8-606e900a7332 + - f536c1e2-4654-4cfe-90aa-afce369e9e7e Original-Request: - - req_ILwI8dnjB0DxNE + - req_Zxvs6JhF0YdiRi + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ILwI8dnjB0DxNE + - req_Zxvs6JhF0YdiRi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrrKuuB1fWySn20Ymh718", + "id": "pi_3Oy1xhKuuB1fWySn19IcX6TK", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720955, + "created": 1711328669, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrrKuuB1fWySn2txObMp7", + "latest_charge": "ch_3Oy1xhKuuB1fWySn1DzDej93", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrqKuuB1fWySnWrZDtIlV", + "payment_method": "pm_1Oy1xgKuuB1fWySnLG8YXGHF", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:56 GMT + recorded_at: Mon, 25 Mar 2024 01:04:30 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrrKuuB1fWySn20Ymh718 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xhKuuB1fWySn19IcX6TK body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ILwI8dnjB0DxNE","request_duration_ms":1034}}' + - '{"last_request_metrics":{"request_id":"req_Zxvs6JhF0YdiRi","request_duration_ms":1025}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:56 GMT + - Mon, 25 Mar 2024 01:04:31 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5BDEZhMGqpPKH9 + - req_BSLvQKdIpTiFSn Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrrKuuB1fWySn20Ymh718", + "id": "pi_3Oy1xhKuuB1fWySn19IcX6TK", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720955, + "created": 1711328669, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrrKuuB1fWySn2txObMp7", + "latest_charge": "ch_3Oy1xhKuuB1fWySn1DzDej93", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrqKuuB1fWySnWrZDtIlV", + "payment_method": "pm_1Oy1xgKuuB1fWySnLG8YXGHF", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:56 GMT + recorded_at: Mon, 25 Mar 2024 01:04:31 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrrKuuB1fWySn20Ymh718/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xhKuuB1fWySn19IcX6TK/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5BDEZhMGqpPKH9","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_BSLvQKdIpTiFSn","request_duration_ms":299}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:57 GMT + - Mon, 25 Mar 2024 01:04:32 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 216e1964-ea93-4ba4-bf6b-7c870a8a25e4 + - ca9845c9-dcfc-46f9-87e1-253fb5ce1ea3 Original-Request: - - req_SOi11n45i7xIot + - req_5lzIEfjlLmcKnz + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SOi11n45i7xIot + - req_5lzIEfjlLmcKnz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrrKuuB1fWySn20Ymh718", + "id": "pi_3Oy1xhKuuB1fWySn19IcX6TK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720955, + "created": 1711328669, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrrKuuB1fWySn2txObMp7", + "latest_charge": "ch_3Oy1xhKuuB1fWySn1DzDej93", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrqKuuB1fWySnWrZDtIlV", + "payment_method": "pm_1Oy1xgKuuB1fWySnLG8YXGHF", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:57 GMT + recorded_at: Mon, 25 Mar 2024 01:04:32 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrrKuuB1fWySn20Ymh718 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xhKuuB1fWySn19IcX6TK body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SOi11n45i7xIot","request_duration_ms":913}}' + - '{"last_request_metrics":{"request_id":"req_5lzIEfjlLmcKnz","request_duration_ms":1005}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:57 GMT + - Mon, 25 Mar 2024 01:04:32 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6r91uA6K8iIwbh + - req_bSu7GCba6m7Giu Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrrKuuB1fWySn20Ymh718", + "id": "pi_3Oy1xhKuuB1fWySn19IcX6TK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720955, + "created": 1711328669, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrrKuuB1fWySn2txObMp7", + "latest_charge": "ch_3Oy1xhKuuB1fWySn1DzDej93", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrqKuuB1fWySnWrZDtIlV", + "payment_method": "pm_1Oy1xgKuuB1fWySnLG8YXGHF", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:57 GMT + recorded_at: Mon, 25 Mar 2024 01:04:32 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml index 3120c33092..239c628d74 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8vqX4xpyNVZMxF","request_duration_ms":0}}' + - '{"last_request_metrics":{"request_id":"req_L0xeuVuB8Jgb7S","request_duration_ms":0}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:52 GMT + - Mon, 25 Mar 2024 01:04:27 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - d8d3eeb0-c81a-4424-b33d-03d956326085 + - b0195ed8-e009-4639-9522-f5374f239bf7 Original-Request: - - req_H4sjt740Jzqc5G + - req_9qPV0oGguVXEiR + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_H4sjt740Jzqc5G + - req_9qPV0oGguVXEiR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTroKuuB1fWySnhXq3B35O", + "id": "pm_1Oy1xfKuuB1fWySnopXOfWjY", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720952, + "created": 1711328667, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:52 GMT + recorded_at: Mon, 25 Mar 2024 01:04:27 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTroKuuB1fWySnhXq3B35O&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xfKuuB1fWySnopXOfWjY&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_H4sjt740Jzqc5G","request_duration_ms":488}}' + - '{"last_request_metrics":{"request_id":"req_9qPV0oGguVXEiR","request_duration_ms":489}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:53 GMT + - Mon, 25 Mar 2024 01:04:27 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 88504cd8-3fb7-4bf3-83e8-beb3a0c64615 + - 1b0a6ea4-f6b7-4fff-bf50-f8926f7c9234 Original-Request: - - req_gy3shbiiJSMlbv + - req_26SFTqb5jiHGYS + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gy3shbiiJSMlbv + - req_26SFTqb5jiHGYS Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrpKuuB1fWySn10lsL7cb", + "id": "pi_3Oy1xfKuuB1fWySn0Tw8K0e8", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720953, + "created": 1711328667, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTroKuuB1fWySnhXq3B35O", + "payment_method": "pm_1Oy1xfKuuB1fWySnopXOfWjY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:53 GMT + recorded_at: Mon, 25 Mar 2024 01:04:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrpKuuB1fWySn10lsL7cb/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xfKuuB1fWySn0Tw8K0e8/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gy3shbiiJSMlbv","request_duration_ms":369}}' + - '{"last_request_metrics":{"request_id":"req_26SFTqb5jiHGYS","request_duration_ms":390}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:54 GMT + - Mon, 25 Mar 2024 01:04:28 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 5e6af337-de3a-46c3-bdff-35c4bcc4447b + - 995836aa-615a-43fc-8f8d-c455a8f8576c Original-Request: - - req_Nt2XjVoIEMYBME + - req_j2VauhDrVyjFUn + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Nt2XjVoIEMYBME + - req_j2VauhDrVyjFUn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrpKuuB1fWySn10lsL7cb", + "id": "pi_3Oy1xfKuuB1fWySn0Tw8K0e8", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720953, + "created": 1711328667, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrpKuuB1fWySn1XB2PFtm", + "latest_charge": "ch_3Oy1xfKuuB1fWySn0hBMXxM2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTroKuuB1fWySnhXq3B35O", + "payment_method": "pm_1Oy1xfKuuB1fWySnopXOfWjY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:54 GMT + recorded_at: Mon, 25 Mar 2024 01:04:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml index 5fb23e2a8b..c864ff773b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yatKJVrxlvFge6","request_duration_ms":848}}' + - '{"last_request_metrics":{"request_id":"req_y6WxDT5Pp5UrpE","request_duration_ms":950}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:00 GMT + - Mon, 25 Mar 2024 01:04:34 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - c5c59b48-7183-43fb-bf52-52091ac19f27 + - 655ea48a-06ca-4616-8d50-a31f17f2913e Original-Request: - - req_1t2hLcURtLlQVi + - req_d1IvQFFfsTNAko + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1t2hLcURtLlQVi + - req_d1IvQFFfsTNAko Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrwKuuB1fWySnri3tHSXe", + "id": "pm_1Oy1xmKuuB1fWySne0fOTgjq", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720960, + "created": 1711328674, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:00 GMT + recorded_at: Mon, 25 Mar 2024 01:04:34 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrwKuuB1fWySnri3tHSXe&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xmKuuB1fWySne0fOTgjq&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1t2hLcURtLlQVi","request_duration_ms":473}}' + - '{"last_request_metrics":{"request_id":"req_d1IvQFFfsTNAko","request_duration_ms":419}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:00 GMT + - Mon, 25 Mar 2024 01:04:35 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 5a5a7c3a-42c0-477c-87ec-87dfc941cc4f + - 18ba7c4d-836c-4c61-9cf1-57a0d094011f Original-Request: - - req_mKWLwcQF6Mkusv + - req_ujHGX2Pj71Pv3I + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mKWLwcQF6Mkusv + - req_ujHGX2Pj71Pv3I Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrwKuuB1fWySn0WdD9T2H", + "id": "pi_3Oy1xnKuuB1fWySn0F3z9zSA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720960, + "created": 1711328675, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrwKuuB1fWySnri3tHSXe", + "payment_method": "pm_1Oy1xmKuuB1fWySne0fOTgjq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:00 GMT + recorded_at: Mon, 25 Mar 2024 01:04:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrwKuuB1fWySn0WdD9T2H/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xnKuuB1fWySn0F3z9zSA/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mKWLwcQF6Mkusv","request_duration_ms":434}}' + - '{"last_request_metrics":{"request_id":"req_ujHGX2Pj71Pv3I","request_duration_ms":392}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:01 GMT + - Mon, 25 Mar 2024 01:04:36 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - a6b53504-f38f-4c1a-b9e1-b705bb1de29e + - 6828366b-0479-41d3-ab5c-60134989bde2 Original-Request: - - req_d1VtMvxkl601Eh + - req_tUa91x8FT1ij9z + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_d1VtMvxkl601Eh + - req_tUa91x8FT1ij9z Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrwKuuB1fWySn0WdD9T2H", + "id": "pi_3Oy1xnKuuB1fWySn0F3z9zSA", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720960, + "created": 1711328675, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrwKuuB1fWySn0WvxcN5y", + "latest_charge": "ch_3Oy1xnKuuB1fWySn0tHKj9mb", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrwKuuB1fWySnri3tHSXe", + "payment_method": "pm_1Oy1xmKuuB1fWySne0fOTgjq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:01 GMT + recorded_at: Mon, 25 Mar 2024 01:04:36 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrwKuuB1fWySn0WdD9T2H + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xnKuuB1fWySn0F3z9zSA body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_d1VtMvxkl601Eh","request_duration_ms":824}}' + - '{"last_request_metrics":{"request_id":"req_tUa91x8FT1ij9z","request_duration_ms":883}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:01 GMT + - Mon, 25 Mar 2024 01:04:36 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NtN8lL51529VsL + - req_DKW03XZAja0C62 Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrwKuuB1fWySn0WdD9T2H", + "id": "pi_3Oy1xnKuuB1fWySn0F3z9zSA", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720960, + "created": 1711328675, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrwKuuB1fWySn0WvxcN5y", + "latest_charge": "ch_3Oy1xnKuuB1fWySn0tHKj9mb", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrwKuuB1fWySnri3tHSXe", + "payment_method": "pm_1Oy1xmKuuB1fWySne0fOTgjq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:01 GMT + recorded_at: Mon, 25 Mar 2024 01:04:36 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrwKuuB1fWySn0WdD9T2H/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xnKuuB1fWySn0F3z9zSA/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NtN8lL51529VsL","request_duration_ms":312}}' + - '{"last_request_metrics":{"request_id":"req_DKW03XZAja0C62","request_duration_ms":357}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:02 GMT + - Mon, 25 Mar 2024 01:04:37 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - e263e140-d3d3-47c2-a628-2eb3d68e97df + - 8a0512de-b6b1-4db5-8986-52f7bdd2bb9a Original-Request: - - req_WHOqLbBAGy8rcu + - req_otpbZ4uiP46dZg + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WHOqLbBAGy8rcu + - req_otpbZ4uiP46dZg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrwKuuB1fWySn0WdD9T2H", + "id": "pi_3Oy1xnKuuB1fWySn0F3z9zSA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720960, + "created": 1711328675, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrwKuuB1fWySn0WvxcN5y", + "latest_charge": "ch_3Oy1xnKuuB1fWySn0tHKj9mb", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrwKuuB1fWySnri3tHSXe", + "payment_method": "pm_1Oy1xmKuuB1fWySne0fOTgjq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:02 GMT + recorded_at: Mon, 25 Mar 2024 01:04:37 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrwKuuB1fWySn0WdD9T2H + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xnKuuB1fWySn0F3z9zSA body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WHOqLbBAGy8rcu","request_duration_ms":983}}' + - '{"last_request_metrics":{"request_id":"req_otpbZ4uiP46dZg","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:03 GMT + - Mon, 25 Mar 2024 01:04:37 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XSjJwBtpszuVl9 + - req_aYJovHMUfp9imi Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrwKuuB1fWySn0WdD9T2H", + "id": "pi_3Oy1xnKuuB1fWySn0F3z9zSA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720960, + "created": 1711328675, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrwKuuB1fWySn0WvxcN5y", + "latest_charge": "ch_3Oy1xnKuuB1fWySn0tHKj9mb", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrwKuuB1fWySnri3tHSXe", + "payment_method": "pm_1Oy1xmKuuB1fWySne0fOTgjq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:03 GMT + recorded_at: Mon, 25 Mar 2024 01:04:37 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml index e96af06683..1a105f0d05 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6r91uA6K8iIwbh","request_duration_ms":0}}' + - '{"last_request_metrics":{"request_id":"req_bSu7GCba6m7Giu","request_duration_ms":0}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:58 GMT + - Mon, 25 Mar 2024 01:04:32 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 2ffd1fef-2e1f-4415-8fe5-66f37ab8870a + - 7b0a334f-157f-4b3f-842a-ff0fe56a7af2 Original-Request: - - req_yMHJ8WbQRxhmmZ + - req_DQlcWJld9Yv40j + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_yMHJ8WbQRxhmmZ + - req_DQlcWJld9Yv40j Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTruKuuB1fWySnPMzFtGoa", + "id": "pm_1Oy1xkKuuB1fWySnLfmtuyPG", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720958, + "created": 1711328672, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:58 GMT + recorded_at: Mon, 25 Mar 2024 01:04:33 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTruKuuB1fWySnPMzFtGoa&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xkKuuB1fWySnLfmtuyPG&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yMHJ8WbQRxhmmZ","request_duration_ms":462}}' + - '{"last_request_metrics":{"request_id":"req_DQlcWJld9Yv40j","request_duration_ms":522}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:58 GMT + - Mon, 25 Mar 2024 01:04:33 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 2841ca57-eab0-4011-8c84-3571cc0ce235 + - 3a62d3f6-924b-4fe5-bc9e-1a1f740f3376 Original-Request: - - req_w8fDrhxDE86O7z + - req_39Qq6EMINGu4UV + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_w8fDrhxDE86O7z + - req_39Qq6EMINGu4UV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTruKuuB1fWySn0TUGd08Z", + "id": "pi_3Oy1xlKuuB1fWySn22940xch", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720958, + "created": 1711328673, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTruKuuB1fWySnPMzFtGoa", + "payment_method": "pm_1Oy1xkKuuB1fWySnLfmtuyPG", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:58 GMT + recorded_at: Mon, 25 Mar 2024 01:04:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTruKuuB1fWySn0TUGd08Z/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xlKuuB1fWySn22940xch/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_w8fDrhxDE86O7z","request_duration_ms":481}}' + - '{"last_request_metrics":{"request_id":"req_39Qq6EMINGu4UV","request_duration_ms":379}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:59 GMT + - Mon, 25 Mar 2024 01:04:34 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - d904944b-fe8d-47f2-99ca-1e473cf4a005 + - d07c0390-88d0-4115-9d83-b2bc0a043329 Original-Request: - - req_yatKJVrxlvFge6 + - req_y6WxDT5Pp5UrpE + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_yatKJVrxlvFge6 + - req_y6WxDT5Pp5UrpE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTruKuuB1fWySn0TUGd08Z", + "id": "pi_3Oy1xlKuuB1fWySn22940xch", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720958, + "created": 1711328673, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTruKuuB1fWySn0Qa2PFIH", + "latest_charge": "ch_3Oy1xlKuuB1fWySn2bqMF7ZP", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTruKuuB1fWySnPMzFtGoa", + "payment_method": "pm_1Oy1xkKuuB1fWySnLfmtuyPG", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:59 GMT + recorded_at: Mon, 25 Mar 2024 01:04:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml index 29d084742f..c604c9ab54 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XsEWpqUYZGkMTy","request_duration_ms":869}}' + - '{"last_request_metrics":{"request_id":"req_9m9QNON1AipCoQ","request_duration_ms":853}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:22 GMT + - Mon, 25 Mar 2024 01:04:56 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - ed07381f-d500-4167-bbf9-b8e275e96e3a + - ace055b7-cf1d-4fb8-8732-fd84167ecda6 Original-Request: - - req_NtdVOImSJGfmJB + - req_Exz8vFkNtBoaNd + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NtdVOImSJGfmJB + - req_Exz8vFkNtBoaNd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsHKuuB1fWySn9Zdn9YCf", + "id": "pm_1Oy1y7KuuB1fWySnKm3vC2M7", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720981, + "created": 1711328696, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:22 GMT + recorded_at: Mon, 25 Mar 2024 01:04:56 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsHKuuB1fWySn9Zdn9YCf&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1y7KuuB1fWySnKm3vC2M7&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NtdVOImSJGfmJB","request_duration_ms":471}}' + - '{"last_request_metrics":{"request_id":"req_Exz8vFkNtBoaNd","request_duration_ms":413}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:22 GMT + - Mon, 25 Mar 2024 01:04:56 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - cd5f7b81-5d9b-41f2-bff6-1f6ec88d70ff + - c62f48f8-5e68-47a7-b764-d1cf26d705c9 Original-Request: - - req_f4mH2wKBJw5xy9 + - req_IZLlcAPFhjsLB3 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_f4mH2wKBJw5xy9 + - req_IZLlcAPFhjsLB3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsIKuuB1fWySn2h6v6jLa", + "id": "pi_3Oy1y8KuuB1fWySn2CfFhP5j", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720982, + "created": 1711328696, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsHKuuB1fWySn9Zdn9YCf", + "payment_method": "pm_1Oy1y7KuuB1fWySnKm3vC2M7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:22 GMT + recorded_at: Mon, 25 Mar 2024 01:04:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsIKuuB1fWySn2h6v6jLa/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y8KuuB1fWySn2CfFhP5j/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_f4mH2wKBJw5xy9","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_IZLlcAPFhjsLB3","request_duration_ms":431}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:23 GMT + - Mon, 25 Mar 2024 01:04:57 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 68dc2b67-4646-45ce-8a55-9642cc829079 + - 5cdfd692-be49-4f19-ad1c-d9a4afbc0690 Original-Request: - - req_eHvL6Nuuzjgs9N + - req_Tp8YxqUhmkTSwH + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eHvL6Nuuzjgs9N + - req_Tp8YxqUhmkTSwH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsIKuuB1fWySn2h6v6jLa", + "id": "pi_3Oy1y8KuuB1fWySn2CfFhP5j", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720982, + "created": 1711328696, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsIKuuB1fWySn2Ay6cTCd", + "latest_charge": "ch_3Oy1y8KuuB1fWySn22ZXZZIK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsHKuuB1fWySn9Zdn9YCf", + "payment_method": "pm_1Oy1y7KuuB1fWySnKm3vC2M7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:23 GMT + recorded_at: Mon, 25 Mar 2024 01:04:57 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsIKuuB1fWySn2h6v6jLa + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y8KuuB1fWySn2CfFhP5j body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eHvL6Nuuzjgs9N","request_duration_ms":934}}' + - '{"last_request_metrics":{"request_id":"req_Tp8YxqUhmkTSwH","request_duration_ms":964}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:23 GMT + - Mon, 25 Mar 2024 01:04:57 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_74MpOtu2vrbWNG + - req_ed1Kwgd2OEDuuW Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsIKuuB1fWySn2h6v6jLa", + "id": "pi_3Oy1y8KuuB1fWySn2CfFhP5j", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720982, + "created": 1711328696, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsIKuuB1fWySn2Ay6cTCd", + "latest_charge": "ch_3Oy1y8KuuB1fWySn22ZXZZIK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsHKuuB1fWySn9Zdn9YCf", + "payment_method": "pm_1Oy1y7KuuB1fWySnKm3vC2M7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:23 GMT + recorded_at: Mon, 25 Mar 2024 01:04:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsIKuuB1fWySn2h6v6jLa/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y8KuuB1fWySn2CfFhP5j/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_74MpOtu2vrbWNG","request_duration_ms":394}}' + - '{"last_request_metrics":{"request_id":"req_ed1Kwgd2OEDuuW","request_duration_ms":309}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:24 GMT + - Mon, 25 Mar 2024 01:04:58 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 7d2c347c-75e4-46e1-9bfc-038469b40a55 + - 97cc8392-dff6-4a5e-b823-9a4cf90b503b Original-Request: - - req_2k51weDL40CUJt + - req_vv6x26KiolvPkq + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2k51weDL40CUJt + - req_vv6x26KiolvPkq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsIKuuB1fWySn2h6v6jLa", + "id": "pi_3Oy1y8KuuB1fWySn2CfFhP5j", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720982, + "created": 1711328696, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsIKuuB1fWySn2Ay6cTCd", + "latest_charge": "ch_3Oy1y8KuuB1fWySn22ZXZZIK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsHKuuB1fWySn9Zdn9YCf", + "payment_method": "pm_1Oy1y7KuuB1fWySnKm3vC2M7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:25 GMT + recorded_at: Mon, 25 Mar 2024 01:04:58 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsIKuuB1fWySn2h6v6jLa + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y8KuuB1fWySn2CfFhP5j body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2k51weDL40CUJt","request_duration_ms":1125}}' + - '{"last_request_metrics":{"request_id":"req_vv6x26KiolvPkq","request_duration_ms":1024}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:25 GMT + - Mon, 25 Mar 2024 01:04:59 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4eRWQMiyznFClQ + - req_zXlaWB946BZqSH Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsIKuuB1fWySn2h6v6jLa", + "id": "pi_3Oy1y8KuuB1fWySn2CfFhP5j", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720982, + "created": 1711328696, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsIKuuB1fWySn2Ay6cTCd", + "latest_charge": "ch_3Oy1y8KuuB1fWySn22ZXZZIK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsHKuuB1fWySn9Zdn9YCf", + "payment_method": "pm_1Oy1y7KuuB1fWySnKm3vC2M7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:25 GMT + recorded_at: Mon, 25 Mar 2024 01:04:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml index 2eae020c36..aaa8f7a61e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0NP9abiv73dbAY","request_duration_ms":307}}' + - '{"last_request_metrics":{"request_id":"req_iDg1n54KBz6Uaz","request_duration_ms":389}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:20 GMT + - Mon, 25 Mar 2024 01:04:54 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - d9452e53-fd70-4d8b-89af-c4e3bd092d18 + - 6e6a9a4c-f08f-444a-ae14-46f153321081 Original-Request: - - req_2SV1wqboTa5qCm + - req_UehfKY5zp0wkYe + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2SV1wqboTa5qCm + - req_UehfKY5zp0wkYe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsFKuuB1fWySnaCdYCzVI", + "id": "pm_1Oy1y6KuuB1fWySniE1CAgOm", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720980, + "created": 1711328694, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:20 GMT + recorded_at: Mon, 25 Mar 2024 01:04:54 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsFKuuB1fWySnaCdYCzVI&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1y6KuuB1fWySniE1CAgOm&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2SV1wqboTa5qCm","request_duration_ms":501}}' + - '{"last_request_metrics":{"request_id":"req_UehfKY5zp0wkYe","request_duration_ms":420}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:20 GMT + - Mon, 25 Mar 2024 01:04:54 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - e89f6844-8be9-4fae-8579-19303ce17602 + - ccac614d-d92c-4666-8f9d-3516d20ed083 Original-Request: - - req_1cs9SEfKW2eq3k + - req_AUxHlgeTM6BBAR + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1cs9SEfKW2eq3k + - req_AUxHlgeTM6BBAR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsGKuuB1fWySn06qMPeZF", + "id": "pi_3Oy1y6KuuB1fWySn2HP4VAIl", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720980, + "created": 1711328694, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsFKuuB1fWySnaCdYCzVI", + "payment_method": "pm_1Oy1y6KuuB1fWySniE1CAgOm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:20 GMT + recorded_at: Mon, 25 Mar 2024 01:04:54 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsGKuuB1fWySn06qMPeZF/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y6KuuB1fWySn2HP4VAIl/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1cs9SEfKW2eq3k","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_AUxHlgeTM6BBAR","request_duration_ms":382}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:21 GMT + - Mon, 25 Mar 2024 01:04:55 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 8a2b4589-bc09-4366-95b2-81018e43d1fe + - 5f1a6c95-5f0c-4dea-8706-3ddc794824a2 Original-Request: - - req_XsEWpqUYZGkMTy + - req_9m9QNON1AipCoQ + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XsEWpqUYZGkMTy + - req_9m9QNON1AipCoQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsGKuuB1fWySn06qMPeZF", + "id": "pi_3Oy1y6KuuB1fWySn2HP4VAIl", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720980, + "created": 1711328694, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsGKuuB1fWySn0lhXW14p", + "latest_charge": "ch_3Oy1y6KuuB1fWySn2UAHIIXW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsFKuuB1fWySnaCdYCzVI", + "payment_method": "pm_1Oy1y6KuuB1fWySniE1CAgOm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:21 GMT + recorded_at: Mon, 25 Mar 2024 01:04:55 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml index 387f1f77e7..cef20f98a9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_y1K1o8i4n95p6j","request_duration_ms":1063}}' + - '{"last_request_metrics":{"request_id":"req_R5yqoH7nsy1Un6","request_duration_ms":1024}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:26 GMT + - Mon, 25 Mar 2024 01:04:02 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - ced58fca-771b-490f-bcb9-fded957023c0 + - ed75fc4f-a377-428b-bf46-1650b7f6bf0e Original-Request: - - req_SE6rzY46VZ3kOI + - req_Q2NtwWHqxmlRlU + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SE6rzY46VZ3kOI + - req_Q2NtwWHqxmlRlU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrOKuuB1fWySnIMLVsnqc", + "id": "pm_1Oy1xFKuuB1fWySnpVROcA1A", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720926, + "created": 1711328642, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:26 GMT + recorded_at: Mon, 25 Mar 2024 01:04:02 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrOKuuB1fWySnIMLVsnqc&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xFKuuB1fWySnpVROcA1A&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SE6rzY46VZ3kOI","request_duration_ms":411}}' + - '{"last_request_metrics":{"request_id":"req_Q2NtwWHqxmlRlU","request_duration_ms":512}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:27 GMT + - Mon, 25 Mar 2024 01:04:02 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b723bac9-e029-4886-9317-562f242936a4 + - 00bacae5-6dfa-4bf5-8599-e9f2289b2e3d Original-Request: - - req_ie2CNfGK0R6fF7 + - req_09nonsbsHPRePI + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ie2CNfGK0R6fF7 + - req_09nonsbsHPRePI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrPKuuB1fWySn1dwfaQr0", + "id": "pi_3Oy1xGKuuB1fWySn1MxFk9iD", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720927, + "created": 1711328642, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrOKuuB1fWySnIMLVsnqc", + "payment_method": "pm_1Oy1xFKuuB1fWySnpVROcA1A", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:27 GMT + recorded_at: Mon, 25 Mar 2024 01:04:02 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrPKuuB1fWySn1dwfaQr0/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xGKuuB1fWySn1MxFk9iD/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ie2CNfGK0R6fF7","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_09nonsbsHPRePI","request_duration_ms":383}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:28 GMT + - Mon, 25 Mar 2024 01:04:03 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - e50b4e3d-5fec-427a-83e8-dd42b6debf1d + - c566eddb-0730-4d09-a4a5-393ec8340cb6 Original-Request: - - req_6pJA1xe5gmzgBw + - req_DvGbTaa0RJjmpE + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6pJA1xe5gmzgBw + - req_DvGbTaa0RJjmpE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrPKuuB1fWySn1dwfaQr0", + "id": "pi_3Oy1xGKuuB1fWySn1MxFk9iD", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720927, + "created": 1711328642, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrPKuuB1fWySn1oFX0t4d", + "latest_charge": "ch_3Oy1xGKuuB1fWySn1kJCSImj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrOKuuB1fWySnIMLVsnqc", + "payment_method": "pm_1Oy1xFKuuB1fWySnpVROcA1A", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:28 GMT + recorded_at: Mon, 25 Mar 2024 01:04:03 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrPKuuB1fWySn1dwfaQr0 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xGKuuB1fWySn1MxFk9iD body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6pJA1xe5gmzgBw","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_DvGbTaa0RJjmpE","request_duration_ms":954}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:28 GMT + - Mon, 25 Mar 2024 01:04:03 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_RVlKj5lmk3NRuX + - req_sT0hWN4KasHaJR Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrPKuuB1fWySn1dwfaQr0", + "id": "pi_3Oy1xGKuuB1fWySn1MxFk9iD", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720927, + "created": 1711328642, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrPKuuB1fWySn1oFX0t4d", + "latest_charge": "ch_3Oy1xGKuuB1fWySn1kJCSImj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrOKuuB1fWySnIMLVsnqc", + "payment_method": "pm_1Oy1xFKuuB1fWySnpVROcA1A", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:28 GMT + recorded_at: Mon, 25 Mar 2024 01:04:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrPKuuB1fWySn1dwfaQr0/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xGKuuB1fWySn1MxFk9iD/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RVlKj5lmk3NRuX","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_sT0hWN4KasHaJR","request_duration_ms":291}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:29 GMT + - Mon, 25 Mar 2024 01:04:04 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b804d2cc-5c91-4c4f-b26b-cb0b47467943 + - 75985f15-4f62-4d45-b3f6-19f04d437263 Original-Request: - - req_N2lThYADiH2V5P + - req_5Ji4mi8rT2xwZX + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_N2lThYADiH2V5P + - req_5Ji4mi8rT2xwZX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrPKuuB1fWySn1dwfaQr0", + "id": "pi_3Oy1xGKuuB1fWySn1MxFk9iD", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720927, + "created": 1711328642, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrPKuuB1fWySn1oFX0t4d", + "latest_charge": "ch_3Oy1xGKuuB1fWySn1kJCSImj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrOKuuB1fWySnIMLVsnqc", + "payment_method": "pm_1Oy1xFKuuB1fWySnpVROcA1A", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:29 GMT + recorded_at: Mon, 25 Mar 2024 01:04:04 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrPKuuB1fWySn1dwfaQr0 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xGKuuB1fWySn1MxFk9iD body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_N2lThYADiH2V5P","request_duration_ms":998}}' + - '{"last_request_metrics":{"request_id":"req_5Ji4mi8rT2xwZX","request_duration_ms":973}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:29 GMT + - Mon, 25 Mar 2024 01:04:05 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4hAPqGLT8Xc0hy + - req_T1lU4Gxx0hiRm5 Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrPKuuB1fWySn1dwfaQr0", + "id": "pi_3Oy1xGKuuB1fWySn1MxFk9iD", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720927, + "created": 1711328642, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrPKuuB1fWySn1oFX0t4d", + "latest_charge": "ch_3Oy1xGKuuB1fWySn1kJCSImj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrOKuuB1fWySnIMLVsnqc", + "payment_method": "pm_1Oy1xFKuuB1fWySnpVROcA1A", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:30 GMT + recorded_at: Mon, 25 Mar 2024 01:04:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml index 99530b2678..9ae996aad7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7WiaUKb3OVSyj9","request_duration_ms":307}}' + - '{"last_request_metrics":{"request_id":"req_65CwppYf2U914L","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:24 GMT + - Mon, 25 Mar 2024 01:04:00 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 2b1b87e4-2425-40ee-afe7-39d1f100843c + - 66bd8fdc-c604-4d9a-b758-9808049846f6 Original-Request: - - req_FU5dQmIIwAt5UB + - req_C35vQowrXR7nic + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FU5dQmIIwAt5UB + - req_C35vQowrXR7nic Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrMKuuB1fWySnWocJpQow", + "id": "pm_1Oy1xDKuuB1fWySnWYYxhYPi", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720924, + "created": 1711328640, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:24 GMT + recorded_at: Mon, 25 Mar 2024 01:04:00 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrMKuuB1fWySnWocJpQow&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xDKuuB1fWySnWYYxhYPi&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FU5dQmIIwAt5UB","request_duration_ms":499}}' + - '{"last_request_metrics":{"request_id":"req_C35vQowrXR7nic","request_duration_ms":448}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:25 GMT + - Mon, 25 Mar 2024 01:04:00 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 1cd682ce-61d8-4a00-a9bf-4e2800fa326b + - 9c22fba8-5b82-48e4-a225-5ce9d8f1326c Original-Request: - - req_YxV8Bf1rs27Y11 + - req_kG3LMNvvdFl2wo + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_YxV8Bf1rs27Y11 + - req_kG3LMNvvdFl2wo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrNKuuB1fWySn0qriyTFb", + "id": "pi_3Oy1xEKuuB1fWySn19B1F7Tf", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720925, + "created": 1711328640, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrMKuuB1fWySnWocJpQow", + "payment_method": "pm_1Oy1xDKuuB1fWySnWYYxhYPi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:25 GMT + recorded_at: Mon, 25 Mar 2024 01:04:00 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrNKuuB1fWySn0qriyTFb/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xEKuuB1fWySn19B1F7Tf/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YxV8Bf1rs27Y11","request_duration_ms":367}}' + - '{"last_request_metrics":{"request_id":"req_kG3LMNvvdFl2wo","request_duration_ms":454}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:26 GMT + - Mon, 25 Mar 2024 01:04:01 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 499d9299-3962-478a-92da-07af2b0e1f5b + - 6f205328-da03-45fe-873d-659ef6407420 Original-Request: - - req_y1K1o8i4n95p6j + - req_R5yqoH7nsy1Un6 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_y1K1o8i4n95p6j + - req_R5yqoH7nsy1Un6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrNKuuB1fWySn0qriyTFb", + "id": "pi_3Oy1xEKuuB1fWySn19B1F7Tf", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720925, + "created": 1711328640, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrNKuuB1fWySn0FIhUqIF", + "latest_charge": "ch_3Oy1xEKuuB1fWySn1ECgc1t8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrMKuuB1fWySnWocJpQow", + "payment_method": "pm_1Oy1xDKuuB1fWySnWYYxhYPi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:26 GMT + recorded_at: Mon, 25 Mar 2024 01:04:01 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml index 6f9eca8224..805ada7464 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_F6SV3n8p827ldm","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_LGhQN8tHGvhnE2","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:32 GMT + - Mon, 25 Mar 2024 01:04:07 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 1cba080e-8010-4551-ad03-13c288e4bd11 + - 9921bcce-e248-4c00-84a0-c13281d37f80 Original-Request: - - req_5Qkx6WtOtfvt74 + - req_iQsIvBbUlbu0MW + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5Qkx6WtOtfvt74 + - req_iQsIvBbUlbu0MW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrUKuuB1fWySng3Hl6jn3", + "id": "pm_1Oy1xLKuuB1fWySnqU7pWrZm", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720932, + "created": 1711328647, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:32 GMT + recorded_at: Mon, 25 Mar 2024 01:04:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrUKuuB1fWySng3Hl6jn3&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xLKuuB1fWySnqU7pWrZm&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5Qkx6WtOtfvt74","request_duration_ms":387}}' + - '{"last_request_metrics":{"request_id":"req_iQsIvBbUlbu0MW","request_duration_ms":476}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:32 GMT + - Mon, 25 Mar 2024 01:04:08 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 6e580196-a75b-44fa-8815-83caac56e2aa + - 7a93ffa8-485f-412c-a3f7-d41a1d85a611 Original-Request: - - req_SR9Ey547AhrYaq + - req_Zni9L4Yd1TQa8P + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SR9Ey547AhrYaq + - req_Zni9L4Yd1TQa8P Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrUKuuB1fWySn0OJBRMzt", + "id": "pi_3Oy1xMKuuB1fWySn0P2PPqW0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720932, + "created": 1711328648, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrUKuuB1fWySng3Hl6jn3", + "payment_method": "pm_1Oy1xLKuuB1fWySnqU7pWrZm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:32 GMT + recorded_at: Mon, 25 Mar 2024 01:04:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrUKuuB1fWySn0OJBRMzt/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xMKuuB1fWySn0P2PPqW0/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SR9Ey547AhrYaq","request_duration_ms":432}}' + - '{"last_request_metrics":{"request_id":"req_Zni9L4Yd1TQa8P","request_duration_ms":377}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:33 GMT + - Mon, 25 Mar 2024 01:04:09 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 5ee9e03f-e7ba-4404-8e0d-5cc5da530ecc + - e7f3cb10-77cb-4083-8578-f091719518fb Original-Request: - - req_jyUToa4RdO5AN4 + - req_DiuuzbgXitopS2 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jyUToa4RdO5AN4 + - req_DiuuzbgXitopS2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrUKuuB1fWySn0OJBRMzt", + "id": "pi_3Oy1xMKuuB1fWySn0P2PPqW0", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720932, + "created": 1711328648, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrUKuuB1fWySn0Rrth1wF", + "latest_charge": "ch_3Oy1xMKuuB1fWySn0dkMuD8p", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrUKuuB1fWySng3Hl6jn3", + "payment_method": "pm_1Oy1xLKuuB1fWySnqU7pWrZm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:33 GMT + recorded_at: Mon, 25 Mar 2024 01:04:09 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrUKuuB1fWySn0OJBRMzt + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xMKuuB1fWySn0P2PPqW0 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jyUToa4RdO5AN4","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_DiuuzbgXitopS2","request_duration_ms":863}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:34 GMT + - Mon, 25 Mar 2024 01:04:09 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jM63eYpKejss6m + - req_nJdScHCkhe3OKi Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrUKuuB1fWySn0OJBRMzt", + "id": "pi_3Oy1xMKuuB1fWySn0P2PPqW0", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720932, + "created": 1711328648, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrUKuuB1fWySn0Rrth1wF", + "latest_charge": "ch_3Oy1xMKuuB1fWySn0dkMuD8p", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrUKuuB1fWySng3Hl6jn3", + "payment_method": "pm_1Oy1xLKuuB1fWySnqU7pWrZm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:34 GMT + recorded_at: Mon, 25 Mar 2024 01:04:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrUKuuB1fWySn0OJBRMzt/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xMKuuB1fWySn0P2PPqW0/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jM63eYpKejss6m","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_nJdScHCkhe3OKi","request_duration_ms":299}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:35 GMT + - Mon, 25 Mar 2024 01:04:10 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 95dc4daf-26e2-4ed1-b505-12ffe2be3437 + - 6c7614d0-d25d-4de2-8f29-d04f83a1a6d7 Original-Request: - - req_H9X6oSdMCQg8PN + - req_mBwv1XKe344qrb + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_H9X6oSdMCQg8PN + - req_mBwv1XKe344qrb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrUKuuB1fWySn0OJBRMzt", + "id": "pi_3Oy1xMKuuB1fWySn0P2PPqW0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720932, + "created": 1711328648, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrUKuuB1fWySn0Rrth1wF", + "latest_charge": "ch_3Oy1xMKuuB1fWySn0dkMuD8p", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrUKuuB1fWySng3Hl6jn3", + "payment_method": "pm_1Oy1xLKuuB1fWySnqU7pWrZm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:35 GMT + recorded_at: Mon, 25 Mar 2024 01:04:10 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrUKuuB1fWySn0OJBRMzt + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xMKuuB1fWySn0P2PPqW0 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_H9X6oSdMCQg8PN","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_mBwv1XKe344qrb","request_duration_ms":1019}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:35 GMT + - Mon, 25 Mar 2024 01:04:10 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BMIQ8UnaBeKHJc + - req_FzldM2C2EdjbH7 Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrUKuuB1fWySn0OJBRMzt", + "id": "pi_3Oy1xMKuuB1fWySn0P2PPqW0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720932, + "created": 1711328648, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrUKuuB1fWySn0Rrth1wF", + "latest_charge": "ch_3Oy1xMKuuB1fWySn0dkMuD8p", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrUKuuB1fWySng3Hl6jn3", + "payment_method": "pm_1Oy1xLKuuB1fWySnqU7pWrZm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:35 GMT + recorded_at: Mon, 25 Mar 2024 01:04:10 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml index 450df03c50..fcb8244deb 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4hAPqGLT8Xc0hy","request_duration_ms":297}}' + - '{"last_request_metrics":{"request_id":"req_T1lU4Gxx0hiRm5","request_duration_ms":361}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:30 GMT + - Mon, 25 Mar 2024 01:04:05 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 40f0f090-9dc0-4ffa-a2ac-b7ed01d25633 + - 80d2e072-ede7-4990-975a-c2bc8e33f8aa Original-Request: - - req_A1T5hkkTfwVdbQ + - req_po5c0HyouQYrTN + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_A1T5hkkTfwVdbQ + - req_po5c0HyouQYrTN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrSKuuB1fWySnhjlVrL9a", + "id": "pm_1Oy1xJKuuB1fWySnEjzIQpub", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720930, + "created": 1711328645, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:30 GMT + recorded_at: Mon, 25 Mar 2024 01:04:05 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrSKuuB1fWySnhjlVrL9a&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xJKuuB1fWySnEjzIQpub&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_A1T5hkkTfwVdbQ","request_duration_ms":539}}' + - '{"last_request_metrics":{"request_id":"req_po5c0HyouQYrTN","request_duration_ms":498}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:30 GMT + - Mon, 25 Mar 2024 01:04:06 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 59bfcd3f-e926-4dd3-9257-f7074b298e24 + - d408d366-3044-44a7-bb11-fadc8ce8a860 Original-Request: - - req_BH5m2BIHfjWhrF + - req_3TD8CtVIOuWeN7 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BH5m2BIHfjWhrF + - req_3TD8CtVIOuWeN7 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrSKuuB1fWySn21KZfYYg", + "id": "pi_3Oy1xJKuuB1fWySn1DLeAJc3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720930, + "created": 1711328645, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrSKuuB1fWySnhjlVrL9a", + "payment_method": "pm_1Oy1xJKuuB1fWySnEjzIQpub", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:30 GMT + recorded_at: Mon, 25 Mar 2024 01:04:06 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrSKuuB1fWySn21KZfYYg/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xJKuuB1fWySn1DLeAJc3/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BH5m2BIHfjWhrF","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_3TD8CtVIOuWeN7","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:31 GMT + - Mon, 25 Mar 2024 01:04:07 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 9f94a41e-730d-458c-9988-726003d79e0f + - be360095-4c54-4b46-9fdf-6081ad7216c0 Original-Request: - - req_F6SV3n8p827ldm + - req_LGhQN8tHGvhnE2 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_F6SV3n8p827ldm + - req_LGhQN8tHGvhnE2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrSKuuB1fWySn21KZfYYg", + "id": "pi_3Oy1xJKuuB1fWySn1DLeAJc3", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720930, + "created": 1711328645, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrSKuuB1fWySn2tFA4riM", + "latest_charge": "ch_3Oy1xJKuuB1fWySn18KC9ReB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrSKuuB1fWySnhjlVrL9a", + "payment_method": "pm_1Oy1xJKuuB1fWySnEjzIQpub", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:31 GMT + recorded_at: Mon, 25 Mar 2024 01:04:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml index eddf2604b6..b4fbde0426 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cArA6vQ0QX9xBg","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_jNXRdakkVVa7FX","request_duration_ms":878}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:37 GMT + - Mon, 25 Mar 2024 01:04:13 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 6d9172b8-6e72-4018-a012-37408e15d687 + - 0b567bd6-9634-4812-bc90-3d5225f7e7cc Original-Request: - - req_O92V0lbqUdmmWK + - req_HImHKljJ2LXa3C + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_O92V0lbqUdmmWK + - req_HImHKljJ2LXa3C Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrZKuuB1fWySnu99drOTk", + "id": "pm_1Oy1xQKuuB1fWySnfxsiJ45R", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720937, + "created": 1711328653, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:38 GMT + recorded_at: Mon, 25 Mar 2024 01:04:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrZKuuB1fWySnu99drOTk&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xQKuuB1fWySnfxsiJ45R&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_O92V0lbqUdmmWK","request_duration_ms":526}}' + - '{"last_request_metrics":{"request_id":"req_HImHKljJ2LXa3C","request_duration_ms":538}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:38 GMT + - Mon, 25 Mar 2024 01:04:13 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b931f807-f426-4232-8162-80717198db54 + - d4b2f8ea-b36e-4df2-ae71-505cd2e23dba Original-Request: - - req_xYkL2JI0yIi6IW + - req_4BEVGfizpj8062 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xYkL2JI0yIi6IW + - req_4BEVGfizpj8062 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTraKuuB1fWySn0yoy26V4", + "id": "pi_3Oy1xRKuuB1fWySn1goRtUo3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720938, + "created": 1711328653, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrZKuuB1fWySnu99drOTk", + "payment_method": "pm_1Oy1xQKuuB1fWySnfxsiJ45R", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:38 GMT + recorded_at: Mon, 25 Mar 2024 01:04:13 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTraKuuB1fWySn0yoy26V4/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xRKuuB1fWySn1goRtUo3/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xYkL2JI0yIi6IW","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_4BEVGfizpj8062","request_duration_ms":395}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:39 GMT + - Mon, 25 Mar 2024 01:04:14 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - c51fd5d9-0d17-49d3-98f8-7b968a1778c1 + - 0d9ec6ff-19f1-42fe-8044-3ffe10baf712 Original-Request: - - req_KfZYdqvzUvqZji + - req_UAsn3t9uAUV7JJ + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KfZYdqvzUvqZji + - req_UAsn3t9uAUV7JJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTraKuuB1fWySn0yoy26V4", + "id": "pi_3Oy1xRKuuB1fWySn1goRtUo3", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720938, + "created": 1711328653, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTraKuuB1fWySn0EVAvMbS", + "latest_charge": "ch_3Oy1xRKuuB1fWySn1GYfrPWo", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrZKuuB1fWySnu99drOTk", + "payment_method": "pm_1Oy1xQKuuB1fWySnfxsiJ45R", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:39 GMT + recorded_at: Mon, 25 Mar 2024 01:04:14 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTraKuuB1fWySn0yoy26V4 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xRKuuB1fWySn1goRtUo3 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KfZYdqvzUvqZji","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_UAsn3t9uAUV7JJ","request_duration_ms":928}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:39 GMT + - Mon, 25 Mar 2024 01:04:14 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nO5OefF8xqH0cl + - req_WeU5Fg43WnIKcY Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTraKuuB1fWySn0yoy26V4", + "id": "pi_3Oy1xRKuuB1fWySn1goRtUo3", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720938, + "created": 1711328653, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTraKuuB1fWySn0EVAvMbS", + "latest_charge": "ch_3Oy1xRKuuB1fWySn1GYfrPWo", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrZKuuB1fWySnu99drOTk", + "payment_method": "pm_1Oy1xQKuuB1fWySnfxsiJ45R", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:39 GMT + recorded_at: Mon, 25 Mar 2024 01:04:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTraKuuB1fWySn0yoy26V4/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xRKuuB1fWySn1goRtUo3/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nO5OefF8xqH0cl","request_duration_ms":411}}' + - '{"last_request_metrics":{"request_id":"req_WeU5Fg43WnIKcY","request_duration_ms":288}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:40 GMT + - Mon, 25 Mar 2024 01:04:15 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 152262b0-1437-47c5-af47-c71f6528bca4 + - 68634902-4b19-4bd3-8340-ac24766d83e3 Original-Request: - - req_51MsGhRNg8nEpk + - req_jQ3VkIQD7XVasx + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_51MsGhRNg8nEpk + - req_jQ3VkIQD7XVasx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTraKuuB1fWySn0yoy26V4", + "id": "pi_3Oy1xRKuuB1fWySn1goRtUo3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720938, + "created": 1711328653, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTraKuuB1fWySn0EVAvMbS", + "latest_charge": "ch_3Oy1xRKuuB1fWySn1GYfrPWo", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrZKuuB1fWySnu99drOTk", + "payment_method": "pm_1Oy1xQKuuB1fWySnfxsiJ45R", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:40 GMT + recorded_at: Mon, 25 Mar 2024 01:04:15 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTraKuuB1fWySn0yoy26V4 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xRKuuB1fWySn1goRtUo3 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_51MsGhRNg8nEpk","request_duration_ms":1091}}' + - '{"last_request_metrics":{"request_id":"req_jQ3VkIQD7XVasx","request_duration_ms":1046}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:41 GMT + - Mon, 25 Mar 2024 01:04:16 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qYAVAOt5tolkRn + - req_LqtKCZkpmlzPJs Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTraKuuB1fWySn0yoy26V4", + "id": "pi_3Oy1xRKuuB1fWySn1goRtUo3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720938, + "created": 1711328653, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTraKuuB1fWySn0EVAvMbS", + "latest_charge": "ch_3Oy1xRKuuB1fWySn1GYfrPWo", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrZKuuB1fWySnu99drOTk", + "payment_method": "pm_1Oy1xQKuuB1fWySnfxsiJ45R", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:41 GMT + recorded_at: Mon, 25 Mar 2024 01:04:16 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml index de240ff81a..fea188bbc0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BMIQ8UnaBeKHJc","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_FzldM2C2EdjbH7","request_duration_ms":315}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:35 GMT + - Mon, 25 Mar 2024 01:04:11 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 7ab630b8-1ac8-4020-86a5-a587923c26d8 + - 21952aeb-3604-412a-ba0e-8d791daa9638 Original-Request: - - req_Gv6XA9ilksWfbE + - req_M1hIWl42nKRx2d + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Gv6XA9ilksWfbE + - req_M1hIWl42nKRx2d Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrXKuuB1fWySniJsmZueZ", + "id": "pm_1Oy1xPKuuB1fWySndiBnQjKN", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720935, + "created": 1711328651, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:35 GMT + recorded_at: Mon, 25 Mar 2024 01:04:11 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrXKuuB1fWySniJsmZueZ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xPKuuB1fWySndiBnQjKN&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Gv6XA9ilksWfbE","request_duration_ms":456}}' + - '{"last_request_metrics":{"request_id":"req_M1hIWl42nKRx2d","request_duration_ms":456}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:36 GMT + - Mon, 25 Mar 2024 01:04:11 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 4ce0e164-5eb4-435b-b585-275e0d4b84a1 + - 2fe605f6-d9ca-484f-beca-f10504809e17 Original-Request: - - req_HYZbpogYU5LRGY + - req_HPk8jxqkhWR8MJ + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_HYZbpogYU5LRGY + - req_HPk8jxqkhWR8MJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrYKuuB1fWySn1cKDcQWx", + "id": "pi_3Oy1xPKuuB1fWySn0xEwsuks", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720936, + "created": 1711328651, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrXKuuB1fWySniJsmZueZ", + "payment_method": "pm_1Oy1xPKuuB1fWySndiBnQjKN", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:36 GMT + recorded_at: Mon, 25 Mar 2024 01:04:11 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrYKuuB1fWySn1cKDcQWx/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xPKuuB1fWySn0xEwsuks/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HYZbpogYU5LRGY","request_duration_ms":449}}' + - '{"last_request_metrics":{"request_id":"req_HPk8jxqkhWR8MJ","request_duration_ms":396}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:37 GMT + - Mon, 25 Mar 2024 01:04:12 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - cd50b15c-15ac-4f54-9730-0c8b8a2ee2e3 + - 8397a5e3-c8ca-49d5-82b8-c943c448c486 Original-Request: - - req_cArA6vQ0QX9xBg + - req_jNXRdakkVVa7FX + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cArA6vQ0QX9xBg + - req_jNXRdakkVVa7FX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrYKuuB1fWySn1cKDcQWx", + "id": "pi_3Oy1xPKuuB1fWySn0xEwsuks", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720936, + "created": 1711328651, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrYKuuB1fWySn1hK8i87T", + "latest_charge": "ch_3Oy1xPKuuB1fWySn0dEltHXl", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrXKuuB1fWySniJsmZueZ", + "payment_method": "pm_1Oy1xPKuuB1fWySndiBnQjKN", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:37 GMT + recorded_at: Mon, 25 Mar 2024 01:04:12 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml index ecd7f8d361..ae2e6e7f26 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_z8BN0i7c97soJU","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_Hybw2fURaMoav6","request_duration_ms":935}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:43 GMT + - Mon, 25 Mar 2024 01:04:18 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 1f6eb8c3-bad3-451c-ae1f-edc439e77e56 + - 384ec7ea-73f3-4c91-93f2-950c185ea316 Original-Request: - - req_kYgXlX6iCM6uNQ + - req_gyIwNKgIOn28S1 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kYgXlX6iCM6uNQ + - req_gyIwNKgIOn28S1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrfKuuB1fWySnIUhRVp2j", + "id": "pm_1Oy1xWKuuB1fWySnNdhCnSvV", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720943, + "created": 1711328658, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:43 GMT + recorded_at: Mon, 25 Mar 2024 01:04:18 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrfKuuB1fWySnIUhRVp2j&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xWKuuB1fWySnNdhCnSvV&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kYgXlX6iCM6uNQ","request_duration_ms":528}}' + - '{"last_request_metrics":{"request_id":"req_gyIwNKgIOn28S1","request_duration_ms":480}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:44 GMT + - Mon, 25 Mar 2024 01:04:18 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - c613f9d8-ab73-4f88-a22e-783f4ece702e + - 175018e0-9f48-41c2-9af5-6bdad60da608 Original-Request: - - req_rVdCaan3PkQrwo + - req_7aPLTqNvGFezqC + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rVdCaan3PkQrwo + - req_7aPLTqNvGFezqC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrgKuuB1fWySn02SeVhW9", + "id": "pi_3Oy1xWKuuB1fWySn14WZQM9x", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720944, + "created": 1711328658, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrfKuuB1fWySnIUhRVp2j", + "payment_method": "pm_1Oy1xWKuuB1fWySnNdhCnSvV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:44 GMT + recorded_at: Mon, 25 Mar 2024 01:04:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrgKuuB1fWySn02SeVhW9/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xWKuuB1fWySn14WZQM9x/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rVdCaan3PkQrwo","request_duration_ms":401}}' + - '{"last_request_metrics":{"request_id":"req_7aPLTqNvGFezqC","request_duration_ms":373}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:45 GMT + - Mon, 25 Mar 2024 01:04:19 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - d4160081-eca6-4ef4-99d0-5097b556496d + - 2c1f95c7-1985-4be8-a424-cbebcd7c164c Original-Request: - - req_rOpCYqlEXLeean + - req_Jt0nBGCDbbOTXF + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rOpCYqlEXLeean + - req_Jt0nBGCDbbOTXF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrgKuuB1fWySn02SeVhW9", + "id": "pi_3Oy1xWKuuB1fWySn14WZQM9x", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720944, + "created": 1711328658, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrgKuuB1fWySn0bQZYfUr", + "latest_charge": "ch_3Oy1xWKuuB1fWySn1ZhhBF2Q", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrfKuuB1fWySnIUhRVp2j", + "payment_method": "pm_1Oy1xWKuuB1fWySnNdhCnSvV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:45 GMT + recorded_at: Mon, 25 Mar 2024 01:04:19 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrgKuuB1fWySn02SeVhW9 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xWKuuB1fWySn14WZQM9x body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rOpCYqlEXLeean","request_duration_ms":1029}}' + - '{"last_request_metrics":{"request_id":"req_Jt0nBGCDbbOTXF","request_duration_ms":909}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:45 GMT + - Mon, 25 Mar 2024 01:04:20 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Wv0iqO5pTMnI8u + - req_VhiZFBB88EjHzS Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrgKuuB1fWySn02SeVhW9", + "id": "pi_3Oy1xWKuuB1fWySn14WZQM9x", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720944, + "created": 1711328658, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrgKuuB1fWySn0bQZYfUr", + "latest_charge": "ch_3Oy1xWKuuB1fWySn1ZhhBF2Q", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrfKuuB1fWySnIUhRVp2j", + "payment_method": "pm_1Oy1xWKuuB1fWySnNdhCnSvV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:45 GMT + recorded_at: Mon, 25 Mar 2024 01:04:20 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrgKuuB1fWySn02SeVhW9/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xWKuuB1fWySn14WZQM9x/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Wv0iqO5pTMnI8u","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_VhiZFBB88EjHzS","request_duration_ms":279}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:46 GMT + - Mon, 25 Mar 2024 01:04:21 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 12c304f1-c5d3-4f5d-8fa4-dbaba0db827b + - b1bc2c13-1a39-425b-b3ed-020fce4b6c7b Original-Request: - - req_T6XJK9yFeA0sGw + - req_Pg1dRkcFp0F2nL + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_T6XJK9yFeA0sGw + - req_Pg1dRkcFp0F2nL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrgKuuB1fWySn02SeVhW9", + "id": "pi_3Oy1xWKuuB1fWySn14WZQM9x", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720944, + "created": 1711328658, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrgKuuB1fWySn0bQZYfUr", + "latest_charge": "ch_3Oy1xWKuuB1fWySn1ZhhBF2Q", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrfKuuB1fWySnIUhRVp2j", + "payment_method": "pm_1Oy1xWKuuB1fWySnNdhCnSvV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:46 GMT + recorded_at: Mon, 25 Mar 2024 01:04:21 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrgKuuB1fWySn02SeVhW9 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xWKuuB1fWySn14WZQM9x body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_T6XJK9yFeA0sGw","request_duration_ms":919}}' + - '{"last_request_metrics":{"request_id":"req_Pg1dRkcFp0F2nL","request_duration_ms":941}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:46 GMT + - Mon, 25 Mar 2024 01:04:21 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_b7rfB7ZShjT8E0 + - req_61NTDBtug2NT9B Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrgKuuB1fWySn02SeVhW9", + "id": "pi_3Oy1xWKuuB1fWySn14WZQM9x", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720944, + "created": 1711328658, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrgKuuB1fWySn0bQZYfUr", + "latest_charge": "ch_3Oy1xWKuuB1fWySn1ZhhBF2Q", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrfKuuB1fWySnIUhRVp2j", + "payment_method": "pm_1Oy1xWKuuB1fWySnNdhCnSvV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:46 GMT + recorded_at: Mon, 25 Mar 2024 01:04:21 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml index ee64617400..50a17368ed 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qYAVAOt5tolkRn","request_duration_ms":337}}' + - '{"last_request_metrics":{"request_id":"req_LqtKCZkpmlzPJs","request_duration_ms":306}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:41 GMT + - Mon, 25 Mar 2024 01:04:16 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - c553eb0e-f7a2-4fcc-81e5-fa727d4948ce + - 05d7a6b8-138b-454a-b8a4-5013b0f7303c Original-Request: - - req_NVE3ICLZo5lI4O + - req_taIrQ618MsaHgF + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NVE3ICLZo5lI4O + - req_taIrQ618MsaHgF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrdKuuB1fWySnTpxZ4mch", + "id": "pm_1Oy1xUKuuB1fWySnY5pYqHMR", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720941, + "created": 1711328656, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:41 GMT + recorded_at: Mon, 25 Mar 2024 01:04:16 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrdKuuB1fWySnTpxZ4mch&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xUKuuB1fWySnY5pYqHMR&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NVE3ICLZo5lI4O","request_duration_ms":429}}' + - '{"last_request_metrics":{"request_id":"req_taIrQ618MsaHgF","request_duration_ms":413}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:42 GMT + - Mon, 25 Mar 2024 01:04:17 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - ec9a598a-d016-4100-be44-44eef068357a + - 4885ca06-6f92-4405-9330-6cfdf3d77018 Original-Request: - - req_hQNN9biDMsF081 + - req_GAXPUogAbssW8y + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hQNN9biDMsF081 + - req_GAXPUogAbssW8y Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrdKuuB1fWySn0m88VIt4", + "id": "pi_3Oy1xUKuuB1fWySn19ZZ8qeP", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720941, + "created": 1711328656, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrdKuuB1fWySnTpxZ4mch", + "payment_method": "pm_1Oy1xUKuuB1fWySnY5pYqHMR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:42 GMT + recorded_at: Mon, 25 Mar 2024 01:04:17 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrdKuuB1fWySn0m88VIt4/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xUKuuB1fWySn19ZZ8qeP/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hQNN9biDMsF081","request_duration_ms":477}}' + - '{"last_request_metrics":{"request_id":"req_GAXPUogAbssW8y","request_duration_ms":376}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:43 GMT + - Mon, 25 Mar 2024 01:04:17 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - f58acce0-e939-46e5-8217-b8a53a93b631 + - 7e47aeb1-63fb-4778-8660-d0577891d9fc Original-Request: - - req_z8BN0i7c97soJU + - req_Hybw2fURaMoav6 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_z8BN0i7c97soJU + - req_Hybw2fURaMoav6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrdKuuB1fWySn0m88VIt4", + "id": "pi_3Oy1xUKuuB1fWySn19ZZ8qeP", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720941, + "created": 1711328656, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrdKuuB1fWySn02qfpzDs", + "latest_charge": "ch_3Oy1xUKuuB1fWySn1Gz0wCxA", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrdKuuB1fWySnTpxZ4mch", + "payment_method": "pm_1Oy1xUKuuB1fWySnY5pYqHMR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:43 GMT + recorded_at: Mon, 25 Mar 2024 01:04:17 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml index fb3486c7ab..1e3e3987dd 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eUBysKV03XEYxT","request_duration_ms":1015}}' + - '{"last_request_metrics":{"request_id":"req_xxDvEyW1qlk6jr","request_duration_ms":966}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:27 GMT + - Mon, 25 Mar 2024 01:05:01 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - ad5f47e5-6f33-4f99-9e26-ad99435153d8 + - 6a6fa4b1-8fe5-4eb6-96e3-4ff10c0c5d3f Original-Request: - - req_5vGOTNUa54PiMA + - req_v7PUrIXAX88QAs + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5vGOTNUa54PiMA + - req_v7PUrIXAX88QAs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsNKuuB1fWySno7bqhpsP", + "id": "pm_1Oy1yDKuuB1fWySnUDh5bx3C", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720987, + "created": 1711328701, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:27 GMT + recorded_at: Mon, 25 Mar 2024 01:05:01 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsNKuuB1fWySno7bqhpsP&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1yDKuuB1fWySnUDh5bx3C&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5vGOTNUa54PiMA","request_duration_ms":533}}' + - '{"last_request_metrics":{"request_id":"req_v7PUrIXAX88QAs","request_duration_ms":469}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:28 GMT + - Mon, 25 Mar 2024 01:05:01 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 7560ef01-4e32-43b3-abb6-260085e3c31d + - eee004d6-a084-45aa-ae29-7c6cd227301c Original-Request: - - req_1Hb6sMc2vThowU + - req_2MOwqHixPJGXLw + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1Hb6sMc2vThowU + - req_2MOwqHixPJGXLw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsOKuuB1fWySn0XQgsbZs", + "id": "pi_3Oy1yDKuuB1fWySn2MjIACHx", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720988, + "created": 1711328701, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsNKuuB1fWySno7bqhpsP", + "payment_method": "pm_1Oy1yDKuuB1fWySnUDh5bx3C", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:28 GMT + recorded_at: Mon, 25 Mar 2024 01:05:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsOKuuB1fWySn0XQgsbZs/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yDKuuB1fWySn2MjIACHx/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1Hb6sMc2vThowU","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_2MOwqHixPJGXLw","request_duration_ms":370}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:29 GMT + - Mon, 25 Mar 2024 01:05:02 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 8f5cfd58-43d7-44ce-8e72-ed5781ae61fd + - f51988db-0340-4e05-9746-3b3b557de096 Original-Request: - - req_6Ostq0AowQZf4U + - req_FJQMZqVWJUV9l5 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6Ostq0AowQZf4U + - req_FJQMZqVWJUV9l5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsOKuuB1fWySn0XQgsbZs", + "id": "pi_3Oy1yDKuuB1fWySn2MjIACHx", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720988, + "created": 1711328701, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsOKuuB1fWySn0Yjm5Cxs", + "latest_charge": "ch_3Oy1yDKuuB1fWySn2ftqO0pH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsNKuuB1fWySno7bqhpsP", + "payment_method": "pm_1Oy1yDKuuB1fWySnUDh5bx3C", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:29 GMT + recorded_at: Mon, 25 Mar 2024 01:05:02 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsOKuuB1fWySn0XQgsbZs + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yDKuuB1fWySn2MjIACHx body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6Ostq0AowQZf4U","request_duration_ms":943}}' + - '{"last_request_metrics":{"request_id":"req_FJQMZqVWJUV9l5","request_duration_ms":901}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:29 GMT + - Mon, 25 Mar 2024 01:05:03 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WJ7FqNzhfD4r3w + - req_QhuyUzkpoQi6E1 Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsOKuuB1fWySn0XQgsbZs", + "id": "pi_3Oy1yDKuuB1fWySn2MjIACHx", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720988, + "created": 1711328701, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsOKuuB1fWySn0Yjm5Cxs", + "latest_charge": "ch_3Oy1yDKuuB1fWySn2ftqO0pH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsNKuuB1fWySno7bqhpsP", + "payment_method": "pm_1Oy1yDKuuB1fWySnUDh5bx3C", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:29 GMT + recorded_at: Mon, 25 Mar 2024 01:05:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsOKuuB1fWySn0XQgsbZs/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yDKuuB1fWySn2MjIACHx/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WJ7FqNzhfD4r3w","request_duration_ms":388}}' + - '{"last_request_metrics":{"request_id":"req_QhuyUzkpoQi6E1","request_duration_ms":286}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:30 GMT + - Mon, 25 Mar 2024 01:05:04 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b0dd54f6-793b-4e09-b886-85229fbfb2b0 + - 72f039d2-6cd7-4f58-b631-574854fe56e4 Original-Request: - - req_vh8eEroZBMIR7E + - req_eXjHCxlpaXJyd4 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vh8eEroZBMIR7E + - req_eXjHCxlpaXJyd4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsOKuuB1fWySn0XQgsbZs", + "id": "pi_3Oy1yDKuuB1fWySn2MjIACHx", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720988, + "created": 1711328701, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsOKuuB1fWySn0Yjm5Cxs", + "latest_charge": "ch_3Oy1yDKuuB1fWySn2ftqO0pH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsNKuuB1fWySno7bqhpsP", + "payment_method": "pm_1Oy1yDKuuB1fWySnUDh5bx3C", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:30 GMT + recorded_at: Mon, 25 Mar 2024 01:05:04 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsOKuuB1fWySn0XQgsbZs + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yDKuuB1fWySn2MjIACHx body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vh8eEroZBMIR7E","request_duration_ms":1221}}' + - '{"last_request_metrics":{"request_id":"req_eXjHCxlpaXJyd4","request_duration_ms":1017}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:31 GMT + - Mon, 25 Mar 2024 01:05:04 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wpFH10pcTSBRrz + - req_U7UviQK6MheX6S Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsOKuuB1fWySn0XQgsbZs", + "id": "pi_3Oy1yDKuuB1fWySn2MjIACHx", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720988, + "created": 1711328701, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsOKuuB1fWySn0Yjm5Cxs", + "latest_charge": "ch_3Oy1yDKuuB1fWySn2ftqO0pH", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsNKuuB1fWySno7bqhpsP", + "payment_method": "pm_1Oy1yDKuuB1fWySnUDh5bx3C", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:31 GMT + recorded_at: Mon, 25 Mar 2024 01:05:04 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml index baee8d727b..70900f8024 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4eRWQMiyznFClQ","request_duration_ms":411}}' + - '{"last_request_metrics":{"request_id":"req_zXlaWB946BZqSH","request_duration_ms":281}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:25 GMT + - Mon, 25 Mar 2024 01:04:59 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - da85eb81-2b37-435c-abc4-9a8d9815b0cb + - ef249af2-3d40-4a20-8b39-365a92f86151 Original-Request: - - req_pALh6hN0ULK9jh + - req_ouI6uuWZyy1GbM + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pALh6hN0ULK9jh + - req_ouI6uuWZyy1GbM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsLKuuB1fWySnpMKbegER", + "id": "pm_1Oy1yBKuuB1fWySngignO71a", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720985, + "created": 1711328699, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:25 GMT + recorded_at: Mon, 25 Mar 2024 01:04:59 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsLKuuB1fWySnpMKbegER&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1yBKuuB1fWySngignO71a&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pALh6hN0ULK9jh","request_duration_ms":458}}' + - '{"last_request_metrics":{"request_id":"req_ouI6uuWZyy1GbM","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:26 GMT + - Mon, 25 Mar 2024 01:04:59 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 2e82521d-8bbb-4c20-8395-2c4892cc1a79 + - 4f5d86f4-e31f-464b-8328-54019f0c2093 Original-Request: - - req_5qJ1fAR54XPl36 + - req_8lRwLjaQ2SW6Yh + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5qJ1fAR54XPl36 + - req_8lRwLjaQ2SW6Yh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsMKuuB1fWySn0Ufm2pIh", + "id": "pi_3Oy1yBKuuB1fWySn13B6BEom", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720986, + "created": 1711328699, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsLKuuB1fWySnpMKbegER", + "payment_method": "pm_1Oy1yBKuuB1fWySngignO71a", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:26 GMT + recorded_at: Mon, 25 Mar 2024 01:05:00 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsMKuuB1fWySn0Ufm2pIh/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yBKuuB1fWySn13B6BEom/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5qJ1fAR54XPl36","request_duration_ms":448}}' + - '{"last_request_metrics":{"request_id":"req_8lRwLjaQ2SW6Yh","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:27 GMT + - Mon, 25 Mar 2024 01:05:00 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 86eab2a5-e6d7-4669-a7eb-03f88ab9930a + - 87e81e70-f320-4826-bcbe-c77d580aa242 Original-Request: - - req_eUBysKV03XEYxT + - req_xxDvEyW1qlk6jr + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eUBysKV03XEYxT + - req_xxDvEyW1qlk6jr Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsMKuuB1fWySn0Ufm2pIh", + "id": "pi_3Oy1yBKuuB1fWySn13B6BEom", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720986, + "created": 1711328699, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsMKuuB1fWySn0d0qYlWV", + "latest_charge": "ch_3Oy1yBKuuB1fWySn1wuCctz9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsLKuuB1fWySnpMKbegER", + "payment_method": "pm_1Oy1yBKuuB1fWySngignO71a", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:27 GMT + recorded_at: Mon, 25 Mar 2024 01:05:00 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml index ae89ac5c41..b1ae68936b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_C1ZGBOTnpRE8B3","request_duration_ms":1051}}' + - '{"last_request_metrics":{"request_id":"req_b3hSEWQXI60Hk0","request_duration_ms":927}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:33 GMT + - Mon, 25 Mar 2024 01:05:06 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 710671f6-dffe-4bd9-9a06-f8f62796f6cd + - 7eab6f7e-f8ca-4342-8e9e-8e92e6d322d1 Original-Request: - - req_gsnCkR0MvWyxK7 + - req_IMl1pmSjixGw99 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gsnCkR0MvWyxK7 + - req_IMl1pmSjixGw99 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsTKuuB1fWySnwlzmB90u", + "id": "pm_1Oy1yIKuuB1fWySnfcHYBz0S", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720993, + "created": 1711328706, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:33 GMT + recorded_at: Mon, 25 Mar 2024 01:05:06 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsTKuuB1fWySnwlzmB90u&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1yIKuuB1fWySnfcHYBz0S&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gsnCkR0MvWyxK7","request_duration_ms":518}}' + - '{"last_request_metrics":{"request_id":"req_IMl1pmSjixGw99","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:34 GMT + - Mon, 25 Mar 2024 01:05:07 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 314b047e-698c-4988-8c31-538ca168661c + - c546e766-31d8-40c3-a059-f4bae37d753b Original-Request: - - req_58h3yprJqoo9Ws + - req_zrkjYufiZOr5EC + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_58h3yprJqoo9Ws + - req_zrkjYufiZOr5EC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsUKuuB1fWySn2jx7jK6U", + "id": "pi_3Oy1yIKuuB1fWySn0LBPrrOZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720994, + "created": 1711328706, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsTKuuB1fWySnwlzmB90u", + "payment_method": "pm_1Oy1yIKuuB1fWySnfcHYBz0S", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:34 GMT + recorded_at: Mon, 25 Mar 2024 01:05:07 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsUKuuB1fWySn2jx7jK6U/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yIKuuB1fWySn0LBPrrOZ/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_58h3yprJqoo9Ws","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_zrkjYufiZOr5EC","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:35 GMT + - Mon, 25 Mar 2024 01:05:08 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 0dc74051-0bb0-4998-8e75-2666e0a4bf72 + - 7c9245ab-0d8f-4dda-9317-42b7074093a7 Original-Request: - - req_3geYw0tnTsr9TH + - req_s6Sis9cmgvDFSZ + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3geYw0tnTsr9TH + - req_s6Sis9cmgvDFSZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsUKuuB1fWySn2jx7jK6U", + "id": "pi_3Oy1yIKuuB1fWySn0LBPrrOZ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720994, + "created": 1711328706, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsUKuuB1fWySn28v0baTh", + "latest_charge": "ch_3Oy1yIKuuB1fWySn0IU9yp5o", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsTKuuB1fWySnwlzmB90u", + "payment_method": "pm_1Oy1yIKuuB1fWySnfcHYBz0S", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:35 GMT + recorded_at: Mon, 25 Mar 2024 01:05:08 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsUKuuB1fWySn2jx7jK6U + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yIKuuB1fWySn0LBPrrOZ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3geYw0tnTsr9TH","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_s6Sis9cmgvDFSZ","request_duration_ms":982}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:35 GMT + - Mon, 25 Mar 2024 01:05:08 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jrK6wdykIG5KTK + - req_HdhfHkg7FVKaSA Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsUKuuB1fWySn2jx7jK6U", + "id": "pi_3Oy1yIKuuB1fWySn0LBPrrOZ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720994, + "created": 1711328706, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsUKuuB1fWySn28v0baTh", + "latest_charge": "ch_3Oy1yIKuuB1fWySn0IU9yp5o", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsTKuuB1fWySnwlzmB90u", + "payment_method": "pm_1Oy1yIKuuB1fWySnfcHYBz0S", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:35 GMT + recorded_at: Mon, 25 Mar 2024 01:05:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsUKuuB1fWySn2jx7jK6U/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yIKuuB1fWySn0LBPrrOZ/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jrK6wdykIG5KTK","request_duration_ms":289}}' + - '{"last_request_metrics":{"request_id":"req_HdhfHkg7FVKaSA","request_duration_ms":346}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:36 GMT + - Mon, 25 Mar 2024 01:05:09 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 33fc0972-11c0-4cbd-8858-75cfc375d1d4 + - '0348fc0e-9af3-4946-b594-efec7886398f' Original-Request: - - req_KdMYJ4N4VJbwhE + - req_LOIHgGDBzmRi46 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KdMYJ4N4VJbwhE + - req_LOIHgGDBzmRi46 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsUKuuB1fWySn2jx7jK6U", + "id": "pi_3Oy1yIKuuB1fWySn0LBPrrOZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720994, + "created": 1711328706, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsUKuuB1fWySn28v0baTh", + "latest_charge": "ch_3Oy1yIKuuB1fWySn0IU9yp5o", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsTKuuB1fWySnwlzmB90u", + "payment_method": "pm_1Oy1yIKuuB1fWySnfcHYBz0S", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:36 GMT + recorded_at: Mon, 25 Mar 2024 01:05:09 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsUKuuB1fWySn2jx7jK6U + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yIKuuB1fWySn0LBPrrOZ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KdMYJ4N4VJbwhE","request_duration_ms":908}}' + - '{"last_request_metrics":{"request_id":"req_LOIHgGDBzmRi46","request_duration_ms":883}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:36 GMT + - Mon, 25 Mar 2024 01:05:09 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rMYTwbu1M5H7eN + - req_GWqp0ggBJEdZND Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsUKuuB1fWySn2jx7jK6U", + "id": "pi_3Oy1yIKuuB1fWySn0LBPrrOZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720994, + "created": 1711328706, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsUKuuB1fWySn28v0baTh", + "latest_charge": "ch_3Oy1yIKuuB1fWySn0IU9yp5o", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsTKuuB1fWySnwlzmB90u", + "payment_method": "pm_1Oy1yIKuuB1fWySnfcHYBz0S", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:36 GMT + recorded_at: Mon, 25 Mar 2024 01:05:09 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index beb275e285..bc0576b0d2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wpFH10pcTSBRrz","request_duration_ms":310}}' + - '{"last_request_metrics":{"request_id":"req_U7UviQK6MheX6S","request_duration_ms":300}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:31 GMT + - Mon, 25 Mar 2024 01:05:04 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 7c1de68c-4dff-4f66-a53d-23d3fd85d652 + - 8003568f-e764-4ab7-93a2-ef7b9eb31036 Original-Request: - - req_MdBf01aEdewhO9 + - req_XODVJfftEzEqAA + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MdBf01aEdewhO9 + - req_XODVJfftEzEqAA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsRKuuB1fWySndh5jdI4P", + "id": "pm_1Oy1yGKuuB1fWySn1hS6lWpu", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720991, + "created": 1711328704, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:31 GMT + recorded_at: Mon, 25 Mar 2024 01:05:04 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTsRKuuB1fWySndh5jdI4P&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1yGKuuB1fWySn1hS6lWpu&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MdBf01aEdewhO9","request_duration_ms":433}}' + - '{"last_request_metrics":{"request_id":"req_XODVJfftEzEqAA","request_duration_ms":417}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:32 GMT + - Mon, 25 Mar 2024 01:05:05 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 9bfc5e5a-8118-4a88-b281-a3c6f4db085b + - 19999076-7841-4545-b8a4-9ddbe03e7442 Original-Request: - - req_sidZ3gsvRwFm8p + - req_6T9ReQFxEZGDhX + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sidZ3gsvRwFm8p + - req_6T9ReQFxEZGDhX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsRKuuB1fWySn2tWEtp5t", + "id": "pi_3Oy1yHKuuB1fWySn0pn9AdDW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720991, + "created": 1711328705, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsRKuuB1fWySndh5jdI4P", + "payment_method": "pm_1Oy1yGKuuB1fWySn1hS6lWpu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:32 GMT + recorded_at: Mon, 25 Mar 2024 01:05:05 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTsRKuuB1fWySn2tWEtp5t/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yHKuuB1fWySn0pn9AdDW/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sidZ3gsvRwFm8p","request_duration_ms":449}}' + - '{"last_request_metrics":{"request_id":"req_6T9ReQFxEZGDhX","request_duration_ms":392}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:33 GMT + - Mon, 25 Mar 2024 01:05:06 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 4f7df98c-e671-4fcd-89f2-882bb2dd639f + - ef188af5-a9d2-401e-8f91-9d3fbc989b2e Original-Request: - - req_C1ZGBOTnpRE8B3 + - req_b3hSEWQXI60Hk0 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_C1ZGBOTnpRE8B3 + - req_b3hSEWQXI60Hk0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTsRKuuB1fWySn2tWEtp5t", + "id": "pi_3Oy1yHKuuB1fWySn0pn9AdDW", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720991, + "created": 1711328705, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTsRKuuB1fWySn2A9nRyGl", + "latest_charge": "ch_3Oy1yHKuuB1fWySn0B5k0noU", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTsRKuuB1fWySndh5jdI4P", + "payment_method": "pm_1Oy1yGKuuB1fWySn1hS6lWpu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:16:33 GMT + recorded_at: Mon, 25 Mar 2024 01:05:06 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml index 1dd0fc7de9..2b75740b2a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dtS949YMjjoHya","request_duration_ms":930}}' + - '{"last_request_metrics":{"request_id":"req_LrtdGQM18B18CT","request_duration_ms":1024}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:15 GMT + - Mon, 25 Mar 2024 01:03:51 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 0ea43829-0202-45de-88eb-9a748d74649f + - 6617e2ea-a946-4919-aa0a-eefaab606865 Original-Request: - - req_dTkrpJyibE6wg7 + - req_IypojmCoTNHFqd + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dTkrpJyibE6wg7 + - req_IypojmCoTNHFqd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrDKuuB1fWySnRwZg9BlO", + "id": "pm_1Oy1x5KuuB1fWySnlfUbw1si", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720915, + "created": 1711328631, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:15 GMT + recorded_at: Mon, 25 Mar 2024 01:03:51 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrDKuuB1fWySnRwZg9BlO&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1x5KuuB1fWySnlfUbw1si&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dTkrpJyibE6wg7","request_duration_ms":455}}' + - '{"last_request_metrics":{"request_id":"req_IypojmCoTNHFqd","request_duration_ms":417}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:16 GMT + - Mon, 25 Mar 2024 01:03:51 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - ffaf625d-1712-49fc-8b01-9c75f0a3b575 + - ef1bb653-f85d-4757-a196-adf22e08a1dc Original-Request: - - req_davbqaDMQ97Pg2 + - req_MGN5MPRgpi20xs + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_davbqaDMQ97Pg2 + - req_MGN5MPRgpi20xs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrDKuuB1fWySn091mKkgk", + "id": "pi_3Oy1x5KuuB1fWySn2IhTjARu", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720915, + "created": 1711328631, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrDKuuB1fWySnRwZg9BlO", + "payment_method": "pm_1Oy1x5KuuB1fWySnlfUbw1si", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:16 GMT + recorded_at: Mon, 25 Mar 2024 01:03:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrDKuuB1fWySn091mKkgk/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1x5KuuB1fWySn2IhTjARu/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_davbqaDMQ97Pg2","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_MGN5MPRgpi20xs","request_duration_ms":370}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:17 GMT + - Mon, 25 Mar 2024 01:03:52 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 3f0f5e97-4448-48b0-8223-194b2783a4df + - 61e845e6-be42-4500-9724-9b0d9171312b Original-Request: - - req_oHMk0SMK4wGsOZ + - req_Sb5j0NQ5Aia3TE + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_oHMk0SMK4wGsOZ + - req_Sb5j0NQ5Aia3TE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrDKuuB1fWySn091mKkgk", + "id": "pi_3Oy1x5KuuB1fWySn2IhTjARu", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720915, + "created": 1711328631, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrDKuuB1fWySn0KaM6WCS", + "latest_charge": "ch_3Oy1x5KuuB1fWySn2epQfh1I", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrDKuuB1fWySnRwZg9BlO", + "payment_method": "pm_1Oy1x5KuuB1fWySnlfUbw1si", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:17 GMT + recorded_at: Mon, 25 Mar 2024 01:03:52 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrDKuuB1fWySn091mKkgk + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1x5KuuB1fWySn2IhTjARu body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oHMk0SMK4wGsOZ","request_duration_ms":920}}' + - '{"last_request_metrics":{"request_id":"req_Sb5j0NQ5Aia3TE","request_duration_ms":1000}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:17 GMT + - Mon, 25 Mar 2024 01:03:52 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5YxBuXnlaembay + - req_H54MwTJr5YGTbq Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrDKuuB1fWySn091mKkgk", + "id": "pi_3Oy1x5KuuB1fWySn2IhTjARu", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720915, + "created": 1711328631, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrDKuuB1fWySn0KaM6WCS", + "latest_charge": "ch_3Oy1x5KuuB1fWySn2epQfh1I", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrDKuuB1fWySnRwZg9BlO", + "payment_method": "pm_1Oy1x5KuuB1fWySnlfUbw1si", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:17 GMT + recorded_at: Mon, 25 Mar 2024 01:03:52 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrDKuuB1fWySn091mKkgk/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1x5KuuB1fWySn2IhTjARu/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5YxBuXnlaembay","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_H54MwTJr5YGTbq","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:18 GMT + - Mon, 25 Mar 2024 01:03:53 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 1f432206-beb4-4806-a191-b4d3842d8c3e + - 1bcc63ab-2a9e-4438-bb69-d2e4b078c6a5 Original-Request: - - req_YiXPVJtRKb7HN9 + - req_lJrnMqyYq1oQL8 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_YiXPVJtRKb7HN9 + - req_lJrnMqyYq1oQL8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrDKuuB1fWySn091mKkgk", + "id": "pi_3Oy1x5KuuB1fWySn2IhTjARu", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720915, + "created": 1711328631, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrDKuuB1fWySn0KaM6WCS", + "latest_charge": "ch_3Oy1x5KuuB1fWySn2epQfh1I", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrDKuuB1fWySnRwZg9BlO", + "payment_method": "pm_1Oy1x5KuuB1fWySnlfUbw1si", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:18 GMT + recorded_at: Mon, 25 Mar 2024 01:03:53 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrDKuuB1fWySn091mKkgk + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1x5KuuB1fWySn2IhTjARu body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YiXPVJtRKb7HN9","request_duration_ms":1125}}' + - '{"last_request_metrics":{"request_id":"req_lJrnMqyYq1oQL8","request_duration_ms":928}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:18 GMT + - Mon, 25 Mar 2024 01:03:54 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ogqtdp3mqHyWXS + - req_6FbkQu4N7D8IBe Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrDKuuB1fWySn091mKkgk", + "id": "pi_3Oy1x5KuuB1fWySn2IhTjARu", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720915, + "created": 1711328631, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrDKuuB1fWySn0KaM6WCS", + "latest_charge": "ch_3Oy1x5KuuB1fWySn2epQfh1I", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrDKuuB1fWySnRwZg9BlO", + "payment_method": "pm_1Oy1x5KuuB1fWySnlfUbw1si", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:18 GMT + recorded_at: Mon, 25 Mar 2024 01:03:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml index 1737335093..520fa44ffe 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7jejsG3JSQBIRE","request_duration_ms":391}}' + - '{"last_request_metrics":{"request_id":"req_xinDj3jks15YZe","request_duration_ms":421}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:13 GMT + - Mon, 25 Mar 2024 01:03:49 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 7dbb85ac-2d3f-4f24-a1bd-4b64236450b9 + - fbca3afe-e69d-4aa9-8612-f9b12a4607a7 Original-Request: - - req_MUoxPGHkVEFb0n + - req_YEnvdRHpDrDTIV + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MUoxPGHkVEFb0n + - req_YEnvdRHpDrDTIV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrBKuuB1fWySnSi5zVbTF", + "id": "pm_1Oy1x2KuuB1fWySn3f5MjJs9", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720913, + "created": 1711328628, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:13 GMT + recorded_at: Mon, 25 Mar 2024 01:03:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrBKuuB1fWySnSi5zVbTF&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1x2KuuB1fWySn3f5MjJs9&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MUoxPGHkVEFb0n","request_duration_ms":504}}' + - '{"last_request_metrics":{"request_id":"req_YEnvdRHpDrDTIV","request_duration_ms":503}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:14 GMT + - Mon, 25 Mar 2024 01:03:49 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 1d06fdb1-8042-4249-b298-6e23aac036e8 + - a7db835e-123d-412d-975a-fa9f4bca9314 Original-Request: - - req_bSxxsIwoq3ebxB + - req_cVC3wuxyDUdA7W + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bSxxsIwoq3ebxB + - req_cVC3wuxyDUdA7W Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrCKuuB1fWySn2xWagSLc", + "id": "pi_3Oy1x3KuuB1fWySn25YN6I9l", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720914, + "created": 1711328629, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrBKuuB1fWySnSi5zVbTF", + "payment_method": "pm_1Oy1x2KuuB1fWySn3f5MjJs9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:14 GMT + recorded_at: Mon, 25 Mar 2024 01:03:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrCKuuB1fWySn2xWagSLc/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1x3KuuB1fWySn25YN6I9l/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bSxxsIwoq3ebxB","request_duration_ms":399}}' + - '{"last_request_metrics":{"request_id":"req_cVC3wuxyDUdA7W","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:15 GMT + - Mon, 25 Mar 2024 01:03:50 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 984212ad-6a8e-4107-a070-2ee5e4cec7fc + - 236931a9-1bea-484a-906f-14ddffd60e43 Original-Request: - - req_dtS949YMjjoHya + - req_LrtdGQM18B18CT + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dtS949YMjjoHya + - req_LrtdGQM18B18CT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrCKuuB1fWySn2xWagSLc", + "id": "pi_3Oy1x3KuuB1fWySn25YN6I9l", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720914, + "created": 1711328629, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrCKuuB1fWySn2HY9WrJD", + "latest_charge": "ch_3Oy1x3KuuB1fWySn2KfvG6tV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrBKuuB1fWySnSi5zVbTF", + "payment_method": "pm_1Oy1x2KuuB1fWySn3f5MjJs9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:15 GMT + recorded_at: Mon, 25 Mar 2024 01:03:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml index d62e9509cd..ca0cc7b884 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_65bdb7xckNrfv9","request_duration_ms":1055}}' + - '{"last_request_metrics":{"request_id":"req_LpWnQ3n6OJRcpU","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:21 GMT + - Mon, 25 Mar 2024 01:03:56 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 2f2b1c16-751a-4363-a9dd-083f04061395 + - 9277d5a9-a72d-40d3-a2ff-f515b4d71099 Original-Request: - - req_hxl0E0yRBSqFwP + - req_SVhZr6qooL4q8n + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hxl0E0yRBSqFwP + - req_SVhZr6qooL4q8n Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrJKuuB1fWySn717F2dAV", + "id": "pm_1Oy1xAKuuB1fWySnCwx91SlS", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720921, + "created": 1711328636, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:21 GMT + recorded_at: Mon, 25 Mar 2024 01:03:56 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrJKuuB1fWySn717F2dAV&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1xAKuuB1fWySnCwx91SlS&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hxl0E0yRBSqFwP","request_duration_ms":530}}' + - '{"last_request_metrics":{"request_id":"req_SVhZr6qooL4q8n","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:21 GMT + - Mon, 25 Mar 2024 01:03:57 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - ce6a3fb4-8b72-466c-8894-ea91c3944bf3 + - 16f50236-199a-425a-bc2e-8de7aee1e845 Original-Request: - - req_aWFEGpu95D9tCJ + - req_0FoshXyhMWSUHq + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aWFEGpu95D9tCJ + - req_0FoshXyhMWSUHq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrJKuuB1fWySn1slHNzIA", + "id": "pi_3Oy1xAKuuB1fWySn0EyM5L4o", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720921, + "created": 1711328636, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrJKuuB1fWySn717F2dAV", + "payment_method": "pm_1Oy1xAKuuB1fWySnCwx91SlS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:21 GMT + recorded_at: Mon, 25 Mar 2024 01:03:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrJKuuB1fWySn1slHNzIA/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xAKuuB1fWySn0EyM5L4o/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aWFEGpu95D9tCJ","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_0FoshXyhMWSUHq","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:22 GMT + - Mon, 25 Mar 2024 01:03:58 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 9cbd8a9f-9a48-4ad6-b000-5c6d8b5cec7c + - 838a21fb-71ae-499c-98b6-b7f6b36a6d22 Original-Request: - - req_EsILKUysv5Pc78 + - req_mfHfPB6KEsymBW + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EsILKUysv5Pc78 + - req_mfHfPB6KEsymBW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrJKuuB1fWySn1slHNzIA", + "id": "pi_3Oy1xAKuuB1fWySn0EyM5L4o", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720921, + "created": 1711328636, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrJKuuB1fWySn1WEgdABW", + "latest_charge": "ch_3Oy1xAKuuB1fWySn00bDQWc2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrJKuuB1fWySn717F2dAV", + "payment_method": "pm_1Oy1xAKuuB1fWySnCwx91SlS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:22 GMT + recorded_at: Mon, 25 Mar 2024 01:03:58 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrJKuuB1fWySn1slHNzIA + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xAKuuB1fWySn0EyM5L4o body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EsILKUysv5Pc78","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_mfHfPB6KEsymBW","request_duration_ms":918}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -417,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:23 GMT + - Mon, 25 Mar 2024 01:03:58 GMT Content-Type: - application/json Content-Length: @@ -443,9 +455,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VVHj9NlENtzYEp + - req_hHAsgdTvTl5yw2 Stripe-Version: - '2023-10-16' Vary: @@ -458,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrJKuuB1fWySn1slHNzIA", + "id": "pi_3Oy1xAKuuB1fWySn0EyM5L4o", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -474,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720921, + "created": 1711328636, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrJKuuB1fWySn1WEgdABW", + "latest_charge": "ch_3Oy1xAKuuB1fWySn00bDQWc2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrJKuuB1fWySn717F2dAV", + "payment_method": "pm_1Oy1xAKuuB1fWySnCwx91SlS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -510,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:23 GMT + recorded_at: Mon, 25 Mar 2024 01:03:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrJKuuB1fWySn1slHNzIA/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xAKuuB1fWySn0EyM5L4o/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VVHj9NlENtzYEp","request_duration_ms":275}}' + - '{"last_request_metrics":{"request_id":"req_hHAsgdTvTl5yw2","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -542,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:24 GMT + - Mon, 25 Mar 2024 01:03:59 GMT Content-Type: - application/json Content-Length: @@ -568,13 +584,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - bcaa1f12-45f2-4e7d-9759-f8830f30545c + - 6db470c2-1b92-4ed9-af31-95f807cd5ce8 Original-Request: - - req_S62m5ncks84tAm + - req_lGd3LXIV0M09aN + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_S62m5ncks84tAm + - req_lGd3LXIV0M09aN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -589,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrJKuuB1fWySn1slHNzIA", + "id": "pi_3Oy1xAKuuB1fWySn0EyM5L4o", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -605,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720921, + "created": 1711328636, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrJKuuB1fWySn1WEgdABW", + "latest_charge": "ch_3Oy1xAKuuB1fWySn00bDQWc2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrJKuuB1fWySn717F2dAV", + "payment_method": "pm_1Oy1xAKuuB1fWySnCwx91SlS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -641,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:24 GMT + recorded_at: Mon, 25 Mar 2024 01:03:59 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrJKuuB1fWySn1slHNzIA + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xAKuuB1fWySn0EyM5L4o body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_S62m5ncks84tAm","request_duration_ms":952}}' + - '{"last_request_metrics":{"request_id":"req_lGd3LXIV0M09aN","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -673,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:24 GMT + - Mon, 25 Mar 2024 01:03:59 GMT Content-Type: - application/json Content-Length: @@ -699,9 +719,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7WiaUKb3OVSyj9 + - req_65CwppYf2U914L Stripe-Version: - '2023-10-16' Vary: @@ -714,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrJKuuB1fWySn1slHNzIA", + "id": "pi_3Oy1xAKuuB1fWySn0EyM5L4o", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -730,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720921, + "created": 1711328636, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrJKuuB1fWySn1WEgdABW", + "latest_charge": "ch_3Oy1xAKuuB1fWySn00bDQWc2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrJKuuB1fWySn717F2dAV", + "payment_method": "pm_1Oy1xAKuuB1fWySnCwx91SlS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -766,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:24 GMT + recorded_at: Mon, 25 Mar 2024 01:03:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml index e827e61906..c1ccad44e2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ogqtdp3mqHyWXS","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_6FbkQu4N7D8IBe","request_duration_ms":297}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:19 GMT + - Mon, 25 Mar 2024 01:03:54 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - '0938e7ba-3eb3-4b14-bb65-e14cf2a840c2' + - d96723b9-0376-4e92-bfba-ec29a195aa1c Original-Request: - - req_Mjhsfd0XyWDLXd + - req_n5lXA028Aiq5kC + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Mjhsfd0XyWDLXd + - req_n5lXA028Aiq5kC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTrHKuuB1fWySnpGKE35pW", + "id": "pm_1Oy1x8KuuB1fWySnhEMal6fN", "object": "payment_method", "billing_details": { "address": { @@ -118,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1710720919, + "created": 1711328634, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:15:19 GMT + recorded_at: Mon, 25 Mar 2024 01:03:54 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1OvTrHKuuB1fWySnpGKE35pW&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1Oy1x8KuuB1fWySnhEMal6fN&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Mjhsfd0XyWDLXd","request_duration_ms":442}}' + - '{"last_request_metrics":{"request_id":"req_n5lXA028Aiq5kC","request_duration_ms":499}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:19 GMT + - Mon, 25 Mar 2024 01:03:55 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b6bc186f-adbb-4310-8bcb-d10fa5c85939 + - ca307d3d-c6d3-4b17-8dfc-65c47b97f9cd Original-Request: - - req_o8NUtAqs1AeIGV + - req_tFPbpS2U1DRbXC + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_o8NUtAqs1AeIGV + - req_tFPbpS2U1DRbXC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrHKuuB1fWySn2RFIvGyx", + "id": "pi_3Oy1x8KuuB1fWySn2UBNif8A", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -218,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720919, + "created": 1711328634, "currency": "eur", "customer": null, "description": null, @@ -229,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrHKuuB1fWySnpGKE35pW", + "payment_method": "pm_1Oy1x8KuuB1fWySnhEMal6fN", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -254,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:19 GMT + recorded_at: Mon, 25 Mar 2024 01:03:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTrHKuuB1fWySn2RFIvGyx/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1x8KuuB1fWySn2UBNif8A/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_o8NUtAqs1AeIGV","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_tFPbpS2U1DRbXC","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -286,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:15:20 GMT + - Mon, 25 Mar 2024 01:03:56 GMT Content-Type: - application/json Content-Length: @@ -312,13 +320,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 723b109e-9c51-4388-a489-ac568058dc1a + - 5df253f8-5428-4d72-9bcc-9dba1aa8a011 Original-Request: - - req_65bdb7xckNrfv9 + - req_LpWnQ3n6OJRcpU + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_65bdb7xckNrfv9 + - req_LpWnQ3n6OJRcpU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTrHKuuB1fWySn2RFIvGyx", + "id": "pi_3Oy1x8KuuB1fWySn2UBNif8A", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -349,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1710720919, + "created": 1711328634, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTrHKuuB1fWySn2YfTt57Z", + "latest_charge": "ch_3Oy1x8KuuB1fWySn20Z8SbZk", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTrHKuuB1fWySnpGKE35pW", + "payment_method": "pm_1Oy1x8KuuB1fWySnhEMal6fN", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:15:20 GMT + recorded_at: Mon, 25 Mar 2024 01:03:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml similarity index 80% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml index 04c27a50a8..cf37244f94 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CyTKXekG7OQLuV","request_duration_ms":459}}' + - '{"last_request_metrics":{"request_id":"req_EqwvEUlwSLJqNb","request_duration_ms":403}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:53 GMT + - Mon, 25 Mar 2024 01:05:25 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 7fa698ed-1a56-4f04-b932-9c2d9843fb38 + - e450aef9-1a2a-4e87-9c9f-5618bcc8b800 Original-Request: - - req_mpPtHOpP9NsWW8 + - req_Ekg7EVx2CfqvOB + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mpPtHOpP9NsWW8 + - req_Ekg7EVx2CfqvOB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsmKuuB1fWySnc3AVREoG", + "id": "pm_1Oy1ybKuuB1fWySnpVkhXMKf", "object": "payment_method", "billing_details": { "address": { @@ -118,24 +122,24 @@ http_interactions: }, "wallet": null }, - "created": 1710721012, + "created": 1711328725, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:53 GMT + recorded_at: Mon, 25 Mar 2024 01:05:25 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=alvaro_metz%40streich.co.uk + string: expand[0]=sources&email=edison_murazik%40haag.us headers: Content-Type: - application/x-www-form-urlencoded Authorization: - - Basic c2tfdGVzdF94RmdKUU9sWHBNQUZzb3p0endGQlRGaFAwMEhHN0J1Q0ptOg== + - "" User-Agent: - Stripe/v1 ActiveMerchantBindings/1.133.0 Stripe-Version: @@ -158,11 +162,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:53 GMT + - Mon, 25 Mar 2024 01:05:26 GMT Content-Type: - application/json Content-Length: - - '822' + - '819' Connection: - close Access-Control-Allow-Credentials: @@ -183,13 +187,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - a0a6726b-c54a-473f-9e19-424da37ac207 + - 9fbcb43e-d2ec-45c4-a2bb-e1a23e0f5151 Original-Request: - - req_7hK3AvMaZOoQIi + - req_nzChtL6iF0jGUn + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7hK3AvMaZOoQIi + - req_nzChtL6iF0jGUn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -204,19 +212,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pkzsx4eT5IoBhL", + "id": "cus_PndFlh0qpIxDUJ", "object": "customer", "address": null, "balance": 0, - "created": 1710721013, + "created": 1711328725, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "alvaro_metz@streich.co.uk", - "invoice_prefix": "24C0B07A", + "email": "edison_murazik@haag.us", + "invoice_prefix": "743BDE3D", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -235,23 +243,23 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_Pkzsx4eT5IoBhL/sources" + "url": "/v1/customers/cus_PndFlh0qpIxDUJ/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 18 Mar 2024 00:16:53 GMT + recorded_at: Mon, 25 Mar 2024 01:05:26 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OvTsmKuuB1fWySnc3AVREoG/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1ybKuuB1fWySnpVkhXMKf/attach body: encoding: UTF-8 - string: customer=cus_Pkzsx4eT5IoBhL + string: customer=cus_PndFlh0qpIxDUJ headers: Content-Type: - application/x-www-form-urlencoded Authorization: - - Basic c2tfdGVzdF94RmdKUU9sWHBNQUZzb3p0endGQlRGaFAwMEhHN0J1Q0ptOg== + - "" User-Agent: - Stripe/v1 ActiveMerchantBindings/1.133.0 Stripe-Version: @@ -274,7 +282,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:54 GMT + - Mon, 25 Mar 2024 01:05:26 GMT Content-Type: - application/json Content-Length: @@ -300,13 +308,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 37f4e127-e85b-40c8-87b3-37e0f03636d6 + - 8220b78c-6ad7-43cf-a3e8-d2dfa7567b10 Original-Request: - - req_DTlxu8LY6tOPWM + - req_KlCM6e5SQzxHUp + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DTlxu8LY6tOPWM + - req_KlCM6e5SQzxHUp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsmKuuB1fWySnc3AVREoG", + "id": "pm_1Oy1ybKuuB1fWySnpVkhXMKf", "object": "payment_method", "billing_details": { "address": { @@ -362,11 +374,11 @@ http_interactions: }, "wallet": null }, - "created": 1710721012, - "customer": "cus_Pkzsx4eT5IoBhL", + "created": 1711328725, + "customer": "cus_PndFlh0qpIxDUJ", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:54 GMT + recorded_at: Mon, 25 Mar 2024 01:05:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml similarity index 79% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml index bf4b65936c..332ca20145 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mpPtHOpP9NsWW8","request_duration_ms":517}}' + - '{"last_request_metrics":{"request_id":"req_Ekg7EVx2CfqvOB","request_duration_ms":463}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:54 GMT + - Mon, 25 Mar 2024 01:05:27 GMT Content-Type: - application/json Content-Length: @@ -56,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - f5feb700-deab-47e6-a3bb-1f7876e0c19d + - abef1012-d5fd-45fe-bbda-868c2399903a Original-Request: - - req_jO2hgjzzNwuqXx + - req_ObvegLjgzLB5Em + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jO2hgjzzNwuqXx + - req_ObvegLjgzLB5Em Stripe-Should-Retry: - 'false' Stripe-Version: @@ -77,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsoKuuB1fWySnCzCb8eht", + "id": "pm_1Oy1ycKuuB1fWySn7mkGAVq3", "object": "payment_method", "billing_details": { "address": { @@ -118,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1710721014, + "created": 1711328727, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:54 GMT + recorded_at: Mon, 25 Mar 2024 01:05:27 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -133,13 +137,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jO2hgjzzNwuqXx","request_duration_ms":419}}' + - '{"last_request_metrics":{"request_id":"req_ObvegLjgzLB5Em","request_duration_ms":450}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -156,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:55 GMT + - Mon, 25 Mar 2024 01:05:27 GMT Content-Type: - application/json Content-Length: @@ -181,13 +185,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - '0906982f-87ad-4dbe-b4fd-767448e9af6e' + - 42705d82-5efd-4ee9-856a-c50f104e222f Original-Request: - - req_kMpp9oFdLMAdlu + - req_OekOmAuisM2Gd2 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kMpp9oFdLMAdlu + - req_OekOmAuisM2Gd2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -202,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pkzs7IZP3pd5Zf", + "id": "cus_PndF00L0l1hDVc", "object": "customer", "address": null, "balance": 0, - "created": 1710721015, + "created": 1711328727, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "07F225F9", + "invoice_prefix": "882F08A2", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -230,22 +238,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 18 Mar 2024 00:16:55 GMT + recorded_at: Mon, 25 Mar 2024 01:05:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OvTsoKuuB1fWySnCzCb8eht/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1ycKuuB1fWySn7mkGAVq3/attach body: encoding: UTF-8 - string: customer=cus_Pkzs7IZP3pd5Zf + string: customer=cus_PndF00L0l1hDVc headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kMpp9oFdLMAdlu","request_duration_ms":358}}' + - '{"last_request_metrics":{"request_id":"req_OekOmAuisM2Gd2","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -262,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:55 GMT + - Mon, 25 Mar 2024 01:05:28 GMT Content-Type: - application/json Content-Length: @@ -288,13 +296,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 49f9efd1-275c-4002-b6ff-41b74bbade31 + - 58fa1167-d6ae-444a-b489-0be7f45cf20d Original-Request: - - req_LAXaOxGMoXOMBE + - req_TY7Hi7GZqE85NM + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LAXaOxGMoXOMBE + - req_TY7Hi7GZqE85NM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -309,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTsoKuuB1fWySnCzCb8eht", + "id": "pm_1Oy1ycKuuB1fWySn7mkGAVq3", "object": "payment_method", "billing_details": { "address": { @@ -350,24 +362,24 @@ http_interactions: }, "wallet": null }, - "created": 1710721014, - "customer": "cus_Pkzs7IZP3pd5Zf", + "created": 1711328727, + "customer": "cus_PndF00L0l1hDVc", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:16:56 GMT + recorded_at: Mon, 25 Mar 2024 01:05:28 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=cristy_bins%40schoenauer.ca + string: expand[0]=sources&email=janelle%40kemmerkeeling.info headers: Content-Type: - application/x-www-form-urlencoded Authorization: - - Basic c2tfdGVzdF94RmdKUU9sWHBNQUZzb3p0endGQlRGaFAwMEhHN0J1Q0ptOg== + - "" User-Agent: - Stripe/v1 ActiveMerchantBindings/1.133.0 Stripe-Version: @@ -390,11 +402,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:56 GMT + - Mon, 25 Mar 2024 01:05:28 GMT Content-Type: - application/json Content-Length: - - '822' + - '823' Connection: - close Access-Control-Allow-Credentials: @@ -415,13 +427,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 39039f16-97fc-438a-87ab-26f0c1c14e85 + - 1511a46a-2642-48ba-8956-3918feaffb40 Original-Request: - - req_4sTXiju5KGSaXj + - req_JgwqqmJQGVrJub + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4sTXiju5KGSaXj + - req_JgwqqmJQGVrJub Stripe-Should-Retry: - 'false' Stripe-Version: @@ -436,19 +452,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PkzsgzTLJgS1ty", + "id": "cus_PndFsq6iXByiBt", "object": "customer", "address": null, "balance": 0, - "created": 1710721016, + "created": 1711328728, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "cristy_bins@schoenauer.ca", - "invoice_prefix": "90D76186", + "email": "janelle@kemmerkeeling.info", + "invoice_prefix": "98AB1521", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -467,23 +483,23 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_PkzsgzTLJgS1ty/sources" + "url": "/v1/customers/cus_PndFsq6iXByiBt/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 18 Mar 2024 00:16:56 GMT + recorded_at: Mon, 25 Mar 2024 01:05:28 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1OvTsoKuuB1fWySnCzCb8eht/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1ycKuuB1fWySn7mkGAVq3/attach body: encoding: UTF-8 - string: customer=cus_PkzsgzTLJgS1ty + string: customer=cus_PndFsq6iXByiBt headers: Content-Type: - application/x-www-form-urlencoded Authorization: - - Basic c2tfdGVzdF94RmdKUU9sWHBNQUZzb3p0endGQlRGaFAwMEhHN0J1Q0ptOg== + - "" User-Agent: - Stripe/v1 ActiveMerchantBindings/1.133.0 Stripe-Version: @@ -506,7 +522,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:16:57 GMT + - Mon, 25 Mar 2024 01:05:29 GMT Content-Type: - application/json Content-Length: @@ -532,13 +548,17 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 3256a36a-15d6-4aa6-9b24-3b16d12a8052 + - 7e3d8e7b-ccee-4ad5-9d8b-2ea7b5d7c1b2 Original-Request: - - req_i442hC44iepq49 + - req_UwkvDjnUV2ldEE + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_i442hC44iepq49 + - req_UwkvDjnUV2ldEE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -555,9 +575,9 @@ http_interactions: { "error": { "message": "The payment method you provided has already been attached to a customer.", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_i442hC44iepq49?t=1710721016", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_UwkvDjnUV2ldEE?t=1711328729", "type": "invalid_request_error" } } - recorded_at: Mon, 18 Mar 2024 00:16:57 GMT + recorded_at: Mon, 25 Mar 2024 01:05:29 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.12.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml index 46a49f88b8..d2e90465b4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.12.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml @@ -8,11 +8,13 @@ http_interactions: string: type=standard&country=AU&email=lettuce.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_SIi2VfiKBKwO71","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -29,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:23:06 GMT + - Mon, 25 Mar 2024 01:06:07 GMT Content-Type: - application/json Content-Length: @@ -54,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - c24c84fc-1a5d-43b9-ba61-3cc4953c0a70 + - 5cc51bf3-ba16-45aa-a9c1-45e59aca4e6e Original-Request: - - req_n54Ppkea7rp67x + - req_gL2DHHWKEt9WY4 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_n54Ppkea7rp67x + - req_gL2DHHWKEt9WY4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -75,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvTyn4K4RMDjS4m", + "id": "acct_1Oy1zF4Gzo74w4IY", "object": "account", "business_profile": { "annual_revenue": null, @@ -97,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710721386, + "created": 1711328766, "default_currency": "aud", "details_submitted": false, "email": "lettuce.producer@example.com", @@ -106,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvTyn4K4RMDjS4m/external_accounts" + "url": "/v1/accounts/acct_1Oy1zF4Gzo74w4IY/external_accounts" }, "future_requirements": { "alternatives": [], @@ -203,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 18 Mar 2024 00:23:06 GMT + recorded_at: Mon, 25 Mar 2024 01:06:07 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -212,13 +218,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_n54Ppkea7rp67x","request_duration_ms":1766}}' + - '{"last_request_metrics":{"request_id":"req_gL2DHHWKEt9WY4","request_duration_ms":1585}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -235,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:23:07 GMT + - Mon, 25 Mar 2024 01:06:07 GMT Content-Type: - application/json Content-Length: @@ -261,9 +267,13 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UHdxBdF4f19v09 + - req_zb7FA0di3NsMHU Stripe-Version: - '2023-10-16' Vary: @@ -276,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1OvTypKuuB1fWySn0d5PeiEU", + "id": "pm_1Oy1zHKuuB1fWySnvptpC3Yy", "object": "payment_method", "billing_details": { "address": { @@ -317,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1710721387, + "created": 1711328767, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 18 Mar 2024 00:23:07 GMT + recorded_at: Mon, 25 Mar 2024 01:06:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -332,19 +342,19 @@ http_interactions: string: amount=2600¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UHdxBdF4f19v09","request_duration_ms":433}}' + - '{"last_request_metrics":{"request_id":"req_zb7FA0di3NsMHU","request_duration_ms":388}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTyn4K4RMDjS4m + - acct_1Oy1zF4Gzo74w4IY Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -357,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:23:08 GMT + - Mon, 25 Mar 2024 01:06:09 GMT Content-Type: - application/json Content-Length: @@ -382,15 +392,19 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 86d0fb70-d451-4969-9d3f-d8beb36dd080 + - 13d69ece-7fba-4979-8a6d-d9d385606451 Original-Request: - - req_BGFuTj3WuvBHH4 + - req_ybAeua31aoGvov + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BGFuTj3WuvBHH4 + - req_ybAeua31aoGvov Stripe-Account: - - acct_1OvTyn4K4RMDjS4m + - acct_1Oy1zF4Gzo74w4IY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -405,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTyp4K4RMDjS4m1NqnFF25", + "id": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -421,18 +435,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721387, + "created": 1711328767, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTyp4K4RMDjS4m1wuevOiC", + "latest_charge": "ch_3Oy1zH4Gzo74w4IY0FgasZx5", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTyp4K4RMDjS4m4clZuyBB", + "payment_method": "pm_1Oy1zH4Gzo74w4IY2pn1gAqH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -457,18 +471,18 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:23:08 GMT + recorded_at: Mon, 25 Mar 2024 01:06:09 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTyp4K4RMDjS4m1NqnFF25 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.12.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded Stripe-Version: @@ -476,7 +490,7 @@ http_interactions: X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1OvTyn4K4RMDjS4m + - acct_1Oy1zF4Gzo74w4IY Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -489,7 +503,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:23:11 GMT + - Mon, 25 Mar 2024 01:06:15 GMT Content-Type: - application/json Content-Length: @@ -515,11 +529,15 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_n6H77sljF3kMec + - req_d5isEd1g6f9UMk Stripe-Account: - - acct_1OvTyn4K4RMDjS4m + - acct_1Oy1zF4Gzo74w4IY Stripe-Version: - '2023-10-16' Vary: @@ -532,7 +550,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTyp4K4RMDjS4m1NqnFF25", + "id": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -548,18 +566,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1710721387, + "created": 1711328767, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTyp4K4RMDjS4m1wuevOiC", + "latest_charge": "ch_3Oy1zH4Gzo74w4IY0FgasZx5", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTyp4K4RMDjS4m4clZuyBB", + "payment_method": "pm_1Oy1zH4Gzo74w4IY2pn1gAqH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -584,16 +602,16 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:23:11 GMT + recorded_at: Mon, 25 Mar 2024 01:06:15 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3OvTyp4K4RMDjS4m1NqnFF25 + uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs body: encoding: US-ASCII string: '' headers: Authorization: - - Basic c2tfdGVzdF94RmdKUU9sWHBNQUZzb3p0endGQlRGaFAwMEhHN0J1Q0ptOg== + - "" User-Agent: - Stripe/v1 ActiveMerchantBindings/1.133.0 Stripe-Version: @@ -603,7 +621,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OvTyn4K4RMDjS4m + - acct_1Oy1zF4Gzo74w4IY Connection: - close Accept-Encoding: @@ -618,7 +636,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:23:12 GMT + - Mon, 25 Mar 2024 01:06:15 GMT Content-Type: - application/json Content-Length: @@ -644,11 +662,15 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jzDttzyCPbqzsW + - req_nk97z3InXQ8xRo Stripe-Account: - - acct_1OvTyn4K4RMDjS4m + - acct_1Oy1zF4Gzo74w4IY Stripe-Version: - '2020-08-27' Vary: @@ -661,7 +683,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3OvTyp4K4RMDjS4m1NqnFF25", + "id": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -679,7 +701,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3OvTyp4K4RMDjS4m1wuevOiC", + "id": "ch_3Oy1zH4Gzo74w4IY0FgasZx5", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -687,7 +709,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OvTyp4K4RMDjS4m13eitOcT", + "balance_transaction": "txn_3Oy1zH4Gzo74w4IY0aZsdH9L", "billing_details": { "address": { "city": null, @@ -703,7 +725,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710721387, + "created": 1711328768, "currency": "aud", "customer": null, "description": null, @@ -723,13 +745,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 23, + "risk_score": 13, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OvTyp4K4RMDjS4m1NqnFF25", - "payment_method": "pm_1OvTyp4K4RMDjS4m4clZuyBB", + "payment_intent": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", + "payment_method": "pm_1Oy1zH4Gzo74w4IY2pn1gAqH", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -772,14 +794,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3ZUeW40SzRSTURqUzRtKO-S3q8GMgYHrQRhcO46LBZa3OT0mlUOjx0tFVDoM-QN3uHeJaHtIY-iSfNNDolfxU_76v50Kn8ZBMy0", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3kxekY0R3pvNzR3NElZKIecg7AGMgag_LXvnno6LBZ_5X55Zs33z_qqfq99QavqBCnC_VHntkc6o5E84xzoZhirXFuV0xND3uqO", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3OvTyp4K4RMDjS4m1wuevOiC/refunds" + "url": "/v1/charges/ch_3Oy1zH4Gzo74w4IY0FgasZx5/refunds" }, "review": null, "shipping": null, @@ -794,22 +816,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3OvTyp4K4RMDjS4m1NqnFF25" + "url": "/v1/charges?payment_intent=pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1710721387, + "created": 1711328767, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3OvTyp4K4RMDjS4m1wuevOiC", + "latest_charge": "ch_3Oy1zH4Gzo74w4IY0FgasZx5", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1OvTyp4K4RMDjS4m4clZuyBB", + "payment_method": "pm_1Oy1zH4Gzo74w4IY2pn1gAqH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -834,10 +856,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 18 Mar 2024 00:23:12 GMT + recorded_at: Mon, 25 Mar 2024 01:06:16 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3OvTyp4K4RMDjS4m1wuevOiC/refunds + uri: https://api.stripe.com/v1/charges/ch_3Oy1zH4Gzo74w4IY0FgasZx5/refunds body: encoding: UTF-8 string: amount=2600&expand[0]=charge @@ -845,7 +867,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded Authorization: - - Basic c2tfdGVzdF94RmdKUU9sWHBNQUZzb3p0endGQlRGaFAwMEhHN0J1Q0ptOg== + - "" User-Agent: - Stripe/v1 ActiveMerchantBindings/1.133.0 Stripe-Version: @@ -855,7 +877,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1OvTyn4K4RMDjS4m + - acct_1Oy1zF4Gzo74w4IY Connection: - close Accept-Encoding: @@ -870,7 +892,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Mar 2024 00:23:13 GMT + - Mon, 25 Mar 2024 01:06:17 GMT Content-Type: - application/json Content-Length: @@ -896,15 +918,19 @@ http_interactions: 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 2ca5b545-7c74-4543-bb6c-2f3b71d75044 + - 5df35d88-f54f-4df9-be43-31fdb1e07eca Original-Request: - - req_3hmvj4355uuaoS + - req_o456KUltmvEaJV + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3hmvj4355uuaoS + - req_o456KUltmvEaJV Stripe-Account: - - acct_1OvTyn4K4RMDjS4m + - acct_1Oy1zF4Gzo74w4IY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -919,12 +945,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3OvTyp4K4RMDjS4m1x8ErKMf", + "id": "re_3Oy1zH4Gzo74w4IY0vLupviX", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3OvTyp4K4RMDjS4m1BdcDvrJ", + "balance_transaction": "txn_3Oy1zH4Gzo74w4IY0fdc64JK", "charge": { - "id": "ch_3OvTyp4K4RMDjS4m1wuevOiC", + "id": "ch_3Oy1zH4Gzo74w4IY0FgasZx5", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -932,7 +958,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3OvTyp4K4RMDjS4m13eitOcT", + "balance_transaction": "txn_3Oy1zH4Gzo74w4IY0aZsdH9L", "billing_details": { "address": { "city": null, @@ -948,7 +974,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1710721387, + "created": 1711328768, "currency": "aud", "customer": null, "description": null, @@ -968,13 +994,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 23, + "risk_score": 13, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3OvTyp4K4RMDjS4m1NqnFF25", - "payment_method": "pm_1OvTyp4K4RMDjS4m4clZuyBB", + "payment_intent": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", + "payment_method": "pm_1Oy1zH4Gzo74w4IY2pn1gAqH", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -1017,18 +1043,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3ZUeW40SzRSTURqUzRtKPGS3q8GMgbJATLnHKk6LBbZ-xLSlGY0PCIODJO7zHlijb68jSzdZw-U57pYDuYMQOXFGOQlYpq-n1qr", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3kxekY0R3pvNzR3NElZKImcg7AGMgZZta4Xdyo6LBYRvQ1spFAm7rGx_xZxItYb-XK_475iGkG-hUYgMR4ORxVehvhcNSRzdDNK", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3OvTyp4K4RMDjS4m1x8ErKMf", + "id": "re_3Oy1zH4Gzo74w4IY0vLupviX", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3OvTyp4K4RMDjS4m1BdcDvrJ", - "charge": "ch_3OvTyp4K4RMDjS4m1wuevOiC", - "created": 1710721392, + "balance_transaction": "txn_3Oy1zH4Gzo74w4IY0fdc64JK", + "charge": "ch_3Oy1zH4Gzo74w4IY0FgasZx5", + "created": 1711328776, "currency": "aud", "destination_details": { "card": { @@ -1039,7 +1065,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OvTyp4K4RMDjS4m1NqnFF25", + "payment_intent": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1049,7 +1075,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3OvTyp4K4RMDjS4m1wuevOiC/refunds" + "url": "/v1/charges/ch_3Oy1zH4Gzo74w4IY0FgasZx5/refunds" }, "review": null, "shipping": null, @@ -1061,7 +1087,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1710721392, + "created": 1711328776, "currency": "aud", "destination_details": { "card": { @@ -1072,12 +1098,12 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3OvTyp4K4RMDjS4m1NqnFF25", + "payment_intent": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Mon, 18 Mar 2024 00:23:13 GMT + recorded_at: Mon, 25 Mar 2024 01:06:17 GMT recorded_with: VCR 6.2.0 From ea584504bdafe70ebc77ef9db4d65c5a6f014f28 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 09:32:02 +0000 Subject: [PATCH 148/374] chore(deps-dev): bump rubocop-rails from 2.24.0 to 2.24.1 Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.24.0 to 2.24.1. - [Release notes](https://github.com/rubocop/rubocop-rails/releases) - [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.24.0...v2.24.1) --- updated-dependencies: - dependency-name: rubocop-rails dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 213c47b751..06f209df8f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -505,7 +505,7 @@ GEM railties (>= 4.2) raabro (1.4.0) racc (1.7.3) - rack (2.2.8.1) + rack (2.2.9) rack-mini-profiler (2.3.4) rack (>= 1.2.0) rack-oauth2 (2.2.1) @@ -663,7 +663,7 @@ GEM rubocop (~> 1.41) rubocop-factory_bot (2.25.1) rubocop (~> 1.41) - rubocop-rails (2.24.0) + rubocop-rails (2.24.1) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) From 8845161a8efc0fa67fa9ac17dd8d933a52a01267 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 19:50:54 +0000 Subject: [PATCH 149/374] chore(deps-dev): bump rdoc from 6.6.2 to 6.6.3.1 Bumps [rdoc](https://github.com/ruby/rdoc) from 6.6.2 to 6.6.3.1. - [Release notes](https://github.com/ruby/rdoc/releases) - [Changelog](https://github.com/ruby/rdoc/blob/master/History.rdoc) - [Commits](https://github.com/ruby/rdoc/compare/v6.6.2...v6.6.3.1) --- updated-dependencies: - dependency-name: rdoc dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 213c47b751..dd9813bf21 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -577,7 +577,7 @@ GEM rdf (3.3.1) bcp47_spec (~> 0.2) link_header (~> 0.0, >= 0.0.8) - rdoc (6.6.2) + rdoc (6.6.3.1) psych (>= 4.0.0) redcarpet (3.6.0) redis (5.1.0) From 9be929e5722a49b053f2fbbf1f9e7cf797ed16d3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 22:32:04 +0000 Subject: [PATCH 150/374] chore(deps): bump express from 4.18.2 to 4.19.2 Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 53 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 43 insertions(+), 10 deletions(-) diff --git a/yarn.lock b/yarn.lock index 2c08ca5520..b72c1f4456 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2217,7 +2217,25 @@ bn.js@^5.2.1: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -body-parser@1.20.1, body-parser@^1.19.0: +body-parser@1.20.2: + version "1.20.2" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.2.tgz#6feb0e21c4724d06de7ff38da36dad4f57a747fd" + integrity sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA== + dependencies: + bytes "3.1.2" + content-type "~1.0.5" + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + http-errors "2.0.0" + iconv-lite "0.4.24" + on-finished "2.4.1" + qs "6.11.0" + raw-body "2.5.2" + type-is "~1.6.18" + unpipe "1.0.0" + +body-parser@^1.19.0: version "1.20.1" resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== @@ -2855,6 +2873,11 @@ content-type@~1.0.4: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== +content-type@~1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" + integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== + convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: version "1.8.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" @@ -2867,10 +2890,10 @@ cookie-signature@1.0.6: resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== -cookie@0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" - integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== +cookie@0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051" + integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw== cookie@~0.4.1: version "0.4.1" @@ -3813,16 +3836,16 @@ expect@^27.5.1: jest-message-util "^27.5.1" express@^4.17.1: - version "4.18.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" - integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== + version "4.19.2" + resolved "https://registry.yarnpkg.com/express/-/express-4.19.2.tgz#e25437827a3aa7f2a827bc8171bbbb664a356465" + integrity sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q== dependencies: accepts "~1.3.8" array-flatten "1.1.1" - body-parser "1.20.1" + body-parser "1.20.2" content-disposition "0.5.4" content-type "~1.0.4" - cookie "0.5.0" + cookie "0.6.0" cookie-signature "1.0.6" debug "2.6.9" depd "2.0.0" @@ -7564,6 +7587,16 @@ raw-body@2.5.1: iconv-lite "0.4.24" unpipe "1.0.0" +raw-body@2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a" + integrity sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA== + dependencies: + bytes "3.1.2" + http-errors "2.0.0" + iconv-lite "0.4.24" + unpipe "1.0.0" + react-is@^17.0.1: version "17.0.2" resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" From f8a7635463cb48a7f1158216c0b42a5bacd5b9a0 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 26 Mar 2024 09:38:24 +1100 Subject: [PATCH 151/374] Regenerate Rubocop's TODO file Using params in script/rubocop-autocorrect.sh: bundle exec rubocop --regenerate-todo --no-auto-gen-timestamp And yay, no new violations! --- .rubocop_todo.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 44ed59b1a2..80de3c4a6e 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -44,7 +44,7 @@ Lint/DuplicateRequire: Exclude: - 'spec/lib/open_food_network/scope_variants_to_search_spec.rb' -# Offense count: 18 +# Offense count: 16 # Configuration parameters: AllowComments, AllowEmptyLambdas. Lint/EmptyBlock: Exclude: @@ -201,8 +201,8 @@ Metrics/ClassLength: - 'app/serializers/api/cached_enterprise_serializer.rb' - 'app/serializers/api/enterprise_shopfront_serializer.rb' - 'app/services/cart_service.rb' - - 'app/services/orders/sync_service.rb' - 'app/services/order_cycles/form_service.rb' + - 'app/services/orders/sync_service.rb' - 'engines/order_management/app/services/order_management/order/updater.rb' - 'lib/open_food_network/enterprise_fee_calculator.rb' - 'lib/open_food_network/order_cycle_form_applicator.rb' @@ -470,14 +470,13 @@ Rails/LexicallyScopedActionFilter: - 'app/controllers/spree/admin/zones_controller.rb' - 'app/controllers/spree/users_controller.rb' -# Offense count: 6 +# Offense count: 5 # This cop supports unsafe autocorrection (--autocorrect-all). Rails/NegateInclude: Exclude: - 'app/controllers/admin/resource_controller.rb' - 'app/models/calculator/weight.rb' - 'app/models/product_import/spreadsheet_entry.rb' - - 'app/services/order_cart_reset.rb' - 'lib/spree/localized_number.rb' - 'spec/support/matchers/table_matchers.rb' @@ -596,8 +595,8 @@ Rails/TimeZone: Exclude: - 'app/models/spree/gateway/pay_pal_express.rb' - 'spec/controllers/spree/credit_cards_controller_spec.rb' - - 'spec/services/orders/customer_cancellation_service_spec.rb' - 'spec/services/order_cycles/webhook_service_spec.rb' + - 'spec/services/orders/customer_cancellation_service_spec.rb' # Offense count: 1 # Configuration parameters: TransactionMethods. @@ -686,7 +685,7 @@ Security/Open: Exclude: - 'app/services/image_importer.rb' -# Offense count: 9 +# Offense count: 7 # This cop supports unsafe autocorrection (--autocorrect-all). Style/ArrayIntersect: Exclude: @@ -695,7 +694,6 @@ Style/ArrayIntersect: - 'app/models/tag_rule/filter_payment_methods.rb' - 'app/models/tag_rule/filter_products.rb' - 'app/models/tag_rule/filter_shipping_methods.rb' - - 'app/services/order_syncer.rb' - 'lib/open_food_network/tag_rule_applicator.rb' - 'spec/support/matchers/select2_matchers.rb' From df50485b62ba143fb922472fdce84641056b82c1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Mar 2024 10:01:03 +0000 Subject: [PATCH 152/374] chore(deps): bump bugsnag from 6.26.3 to 6.26.4 Bumps [bugsnag](https://github.com/bugsnag/bugsnag-ruby) from 6.26.3 to 6.26.4. - [Release notes](https://github.com/bugsnag/bugsnag-ruby/releases) - [Changelog](https://github.com/bugsnag/bugsnag-ruby/blob/master/CHANGELOG.md) - [Commits](https://github.com/bugsnag/bugsnag-ruby/compare/v6.26.3...v6.26.4) --- updated-dependencies: - dependency-name: bugsnag dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 166bf7494c..6403c4cb2c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -179,7 +179,7 @@ GEM bindex (0.8.1) bootsnap (1.18.3) msgpack (~> 1.2) - bugsnag (6.26.3) + bugsnag (6.26.4) concurrent-ruby (~> 1.0) builder (3.2.4) bullet (7.1.6) From c01bab5f274e709abb5af65154c4fd26db6b0854 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Fri, 22 Mar 2024 02:24:06 +0000 Subject: [PATCH 153/374] Wrap commonly-repeated calls to Spree::Config to reduce unnecessary cache reads These config values are relatively static but in some cases they can be called many times in the same request (like rendering a report or a large list of line_items in BOM). These values will now only get fetched from Redis/Postgres once at most per request/job. --- app/helpers/admin/injection_helper.rb | 2 +- app/models/current_config.rb | 19 +++++++++++++++++++ app/models/spree/adjustment.rb | 2 +- app/models/spree/order.rb | 4 ++-- app/models/spree/price.rb | 2 +- app/models/spree/return_authorization.rb | 2 +- app/models/spree/shipment.rb | 2 +- app/models/spree/variant.rb | 8 ++++---- .../admin/customer_with_balance_serializer.rb | 2 +- .../api/currency_config_serializer.rb | 10 +++++----- app/services/weights_and_measures.rb | 2 +- .../admin/general_settings/edit.html.haml | 2 +- .../admin/payments/paypal_refund.html.haml | 4 ++-- lib/reporting/reports/xero_invoices/base.rb | 2 +- lib/spree/core/controller_helpers/order.rb | 2 +- lib/spree/money.rb | 14 +++++++------- spec/base_spec_helper.rb | 1 + spec/lib/spree/money_spec.rb | 8 ++++++++ 18 files changed, 58 insertions(+), 30 deletions(-) create mode 100644 app/models/current_config.rb diff --git a/app/helpers/admin/injection_helper.rb b/app/helpers/admin/injection_helper.rb index 3585fb0817..54ec2a238a 100644 --- a/app/helpers/admin/injection_helper.rb +++ b/app/helpers/admin/injection_helper.rb @@ -162,7 +162,7 @@ module Admin def admin_inject_available_units admin_inject_json "admin.products", "availableUnits", - Spree::Config.available_units + CurrentConfig.get(:available_units) end def admin_inject_json(ng_module, name, data) diff --git a/app/models/current_config.rb b/app/models/current_config.rb new file mode 100644 index 0000000000..ca79a5dfdf --- /dev/null +++ b/app/models/current_config.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +# Wraps repeatedly-called configs in a CurrentAttributes object so they only get fetched once +# per request at most, eg: CurrentConfig.get(:available_units) for Spree::Config[:available_units] + +class CurrentConfig < ActiveSupport::CurrentAttributes + attribute :display_currency, :hide_cents, :currency_decimal_mark, + :currency_thousands_separator, :currency_symbol_position, :available_units + + def get(config_key) + return public_send(config_key) unless public_send(config_key).nil? + + public_send("#{config_key}=", Spree::Config.public_send(config_key)) + end + + def currency + ENV.fetch("CURRENCY") + end +end diff --git a/app/models/spree/adjustment.rb b/app/models/spree/adjustment.rb index 90d2cca514..e3165f3ca9 100644 --- a/app/models/spree/adjustment.rb +++ b/app/models/spree/adjustment.rb @@ -120,7 +120,7 @@ module Spree end def currency - adjustable ? adjustable.currency : Spree::Config[:currency] + adjustable ? adjustable.currency : CurrentConfig.get(:currency) end def display_amount diff --git a/app/models/spree/order.rb b/app/models/spree/order.rb index 5e56610c07..fbb41c5abb 100644 --- a/app/models/spree/order.rb +++ b/app/models/spree/order.rb @@ -186,7 +186,7 @@ module Spree end def currency - self[:currency] || Spree::Config[:currency] + self[:currency] || CurrentConfig.get(:currency) end def display_item_total @@ -689,7 +689,7 @@ module Spree end def set_currency - self.currency = Spree::Config[:currency] if self[:currency].nil? + self.currency = CurrentConfig.get(:currency) if self[:currency].nil? end def using_guest_checkout? diff --git a/app/models/spree/price.rb b/app/models/spree/price.rb index 710e4ef5c3..668f53b6b9 100644 --- a/app/models/spree/price.rb +++ b/app/models/spree/price.rb @@ -37,7 +37,7 @@ module Spree def check_price return unless currency.nil? - self.currency = Spree::Config[:currency] + self.currency = CurrentConfig.get(:currency) end # strips all non-price-like characters from the price, taking into account locale settings diff --git a/app/models/spree/return_authorization.rb b/app/models/spree/return_authorization.rb index ad291f2bf3..1b18b9ea4f 100644 --- a/app/models/spree/return_authorization.rb +++ b/app/models/spree/return_authorization.rb @@ -29,7 +29,7 @@ module Spree end def currency - order.nil? ? Spree::Config[:currency] : order.currency + order.nil? ? CurrentConfig.get(:currency) : order.currency end def display_amount diff --git a/app/models/spree/shipment.rb b/app/models/spree/shipment.rb index 0b060c727c..8e59029abc 100644 --- a/app/models/spree/shipment.rb +++ b/app/models/spree/shipment.rb @@ -163,7 +163,7 @@ module Spree end def currency - order ? order.currency : Spree::Config[:currency] + order ? order.currency : CurrentConfig.get(:currency) end def display_cost diff --git a/app/models/spree/variant.rb b/app/models/spree/variant.rb index add27c8ad2..8eb290a123 100644 --- a/app/models/spree/variant.rb +++ b/app/models/spree/variant.rb @@ -42,7 +42,7 @@ module Spree accepts_nested_attributes_for :images has_one :default_price, - -> { with_deleted.where(currency: Spree::Config[:currency]) }, + -> { with_deleted.where(currency: CurrentConfig.get(:currency)) }, class_name: 'Spree::Price', dependent: :destroy has_many :prices, @@ -162,7 +162,7 @@ module Spree where("spree_variants.id in (?)", joins(:prices). where(deleted_at: nil). where('spree_prices.currency' => - currency || Spree::Config[:currency]). + currency || CurrentConfig.get(:currency)). where.not(spree_prices: { amount: nil }). select("spree_variants.id")) end @@ -211,7 +211,7 @@ module Spree def check_currency return unless currency.nil? - self.currency = Spree::Config[:currency] + self.currency = CurrentConfig.get(:currency) end def save_default_price @@ -223,7 +223,7 @@ module Spree end def set_cost_currency - self.cost_currency = Spree::Config[:currency] if cost_currency.blank? + self.cost_currency = CurrentConfig.get(:currency) if cost_currency.blank? end def create_stock_items diff --git a/app/serializers/api/admin/customer_with_balance_serializer.rb b/app/serializers/api/admin/customer_with_balance_serializer.rb index 90f2726a10..6115d9efbe 100644 --- a/app/serializers/api/admin/customer_with_balance_serializer.rb +++ b/app/serializers/api/admin/customer_with_balance_serializer.rb @@ -12,7 +12,7 @@ module Api delegate :balance_value, to: :object def balance - Spree::Money.new(balance_value, currency: Spree::Config[:currency]).to_s + Spree::Money.new(balance_value, currency: CurrentConfig.get(:currency)).to_s end def balance_status diff --git a/app/serializers/api/currency_config_serializer.rb b/app/serializers/api/currency_config_serializer.rb index a9b1bbd7f1..485b2022b0 100644 --- a/app/serializers/api/currency_config_serializer.rb +++ b/app/serializers/api/currency_config_serializer.rb @@ -4,22 +4,22 @@ class Api::CurrencyConfigSerializer < ActiveModel::Serializer attributes :currency, :display_currency, :symbol, :symbol_position, :hide_cents def currency - Spree::Config[:currency] + CurrentConfig.get(:currency) end def display_currency - Spree::Config[:display_currency] + CurrentConfig.get(:display_currency) end def symbol - ::Money.new(1, Spree::Config[:currency]).symbol + ::Money.new(1, CurrentConfig.get(:currency)).symbol end def symbol_position - Spree::Config[:currency_symbol_position] + CurrentConfig.get(:currency_symbol_position) end def hide_cents - Spree::Config[:hide_cents] + CurrentConfig.get(:hide_cents) end end diff --git a/app/services/weights_and_measures.rb b/app/services/weights_and_measures.rb index 059075b7f8..1cb70b4752 100644 --- a/app/services/weights_and_measures.rb +++ b/app/services/weights_and_measures.rb @@ -40,7 +40,7 @@ class WeightsAndMeasures end def self.available_units - Spree::Config.available_units.split(",") + CurrentConfig.get(:available_units).split(",") end def self.available_units_sorted diff --git a/app/views/spree/admin/general_settings/edit.html.haml b/app/views/spree/admin/general_settings/edit.html.haml index 5c938419e6..f4c8c813a2 100644 --- a/app/views/spree/admin/general_settings/edit.html.haml +++ b/app/views/spree/admin/general_settings/edit.html.haml @@ -79,7 +79,7 @@ %fieldset.available_units.no-border-bottom %legend{:align => "center"}= t('admin.available_units') .field - - available_units = Spree::Config[:available_units].split(",") + - available_units = CurrentConfig.get(:available_units).split(",") - all_units.each do |unit| - selected = available_units.include?(unit) = preference_field_tag("available_units[#{unit}]", selected, { type: :boolean, selected: selected }) diff --git a/app/views/spree/admin/payments/paypal_refund.html.haml b/app/views/spree/admin/payments/paypal_refund.html.haml index 98641d05a2..7319be4dd3 100644 --- a/app/views/spree/admin/payments/paypal_refund.html.haml +++ b/app/views/spree/admin/payments/paypal_refund.html.haml @@ -18,8 +18,8 @@ %small %em= Spree.t(:original_amount, scope: 'paypal', amount: @payment.display_amount) %br/ - - symbol = ::Money.new(1, Spree::Config[:currency]).symbol - - if Spree::Config[:currency_symbol_position] == "before" + - symbol = ::Money.new(1, CurrentConfig.get(:currency)).symbol + - if CurrentConfig.get(:currency_symbol_position) == "before" = symbol = text_field_tag 'refund_amount', @payment.amount - else diff --git a/lib/reporting/reports/xero_invoices/base.rb b/lib/reporting/reports/xero_invoices/base.rb index d7a36c5c6f..49d9fad4a6 100644 --- a/lib/reporting/reports/xero_invoices/base.rb +++ b/lib/reporting/reports/xero_invoices/base.rb @@ -189,7 +189,7 @@ module Reporting '', '', '', - Spree::Config.currency, + CurrentConfig.get(:currency), '', order.paid? ? I18n.t(:y) : I18n.t(:n)] end diff --git a/lib/spree/core/controller_helpers/order.rb b/lib/spree/core/controller_helpers/order.rb index 3aea7c853d..d2a1795e20 100644 --- a/lib/spree/core/controller_helpers/order.rb +++ b/lib/spree/core/controller_helpers/order.rb @@ -79,7 +79,7 @@ module Spree end def current_currency - Spree::Config[:currency] + CurrentConfig.get(:currency) end def ip_address diff --git a/lib/spree/money.rb b/lib/spree/money.rb index 4a11d33497..6c6b52a4f2 100644 --- a/lib/spree/money.rb +++ b/lib/spree/money.rb @@ -9,7 +9,7 @@ module Spree delegate :cents, to: :money def initialize(amount, options = {}) - @money = ::Monetize.parse([amount, options[:currency] || Spree::Config[:currency]].join) + @money = ::Monetize.parse([amount, options[:currency] || CurrentConfig.get(:currency)].join) if options.key?(:symbol_position) options[:format] = position_to_format(options.delete(:symbol_position)) @@ -20,7 +20,7 @@ module Spree # Return the currency symbol (on its own) for the current default currency def self.currency_symbol - ::Money.new(0, Spree::Config[:currency]).symbol + ::Money.new(0, CurrentConfig.get(:currency)).symbol end def to_s @@ -44,11 +44,11 @@ module Spree def defaults { - with_currency: Spree::Config[:display_currency], - no_cents: Spree::Config[:hide_cents], - decimal_mark: Spree::Config[:currency_decimal_mark], - thousands_separator: Spree::Config[:currency_thousands_separator], - format: position_to_format(Spree::Config[:currency_symbol_position]) + with_currency: CurrentConfig.get(:display_currency), + no_cents: CurrentConfig.get(:hide_cents), + decimal_mark: CurrentConfig.get(:currency_decimal_mark), + thousands_separator: CurrentConfig.get(:currency_thousands_separator), + format: position_to_format(CurrentConfig.get(:currency_symbol_position)) } end diff --git a/spec/base_spec_helper.rb b/spec/base_spec_helper.rb index c875249ab7..f835bc883b 100644 --- a/spec/base_spec_helper.rb +++ b/spec/base_spec_helper.rb @@ -194,6 +194,7 @@ RSpec.configure do |config| spree_config.currency = currency spree_config.shipping_instructions = true end + CurrentConfig.clear_all end # Don't validate our invalid test data with expensive network requests. diff --git a/spec/lib/spree/money_spec.rb b/spec/lib/spree/money_spec.rb index 8cbc869bc1..b6f2fca897 100644 --- a/spec/lib/spree/money_spec.rb +++ b/spec/lib/spree/money_spec.rb @@ -24,6 +24,11 @@ describe Spree::Money do end context "with currency" do + before do + allow(ENV).to receive(:fetch).and_call_original + allow(ENV).to receive(:fetch).with("CURRENCY").and_return("USD") + end + it "passed in option" do money = Spree::Money.new(10, with_currency: true, html_wrap: false) expect(money.to_s).to eq("$10.00 USD") @@ -96,6 +101,9 @@ describe Spree::Money do config.currency_symbol_position = :after config.display_currency = false end + + allow(ENV).to receive(:fetch).and_call_original + allow(ENV).to receive(:fetch).with("CURRENCY").and_return("EUR") end # Regression test for Spree #2634 From 9b040d87f6d19d2fd8399bd87c3f758bbdc3a2b6 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 18 Mar 2024 12:17:03 +1100 Subject: [PATCH 154/374] Update spec --- spec/system/admin/products_v3/products_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 9d03770011..4ac4a7052b 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -220,7 +220,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_field "Name", with: "Large box" expect(page).to have_field "SKU", with: "POM-01" expect(page).to have_field "Price", with: "10.25" - expect(page).to have_css "button[aria-label='On Hand']", text: "6" + expect(page).to have_button "On Hand", text: "6" end end @@ -229,7 +229,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do click_on "On Hand" # activate stock popout check "On demand" - expect(page).to have_css "button[aria-label='On Hand']", text: "On demand" + expect(page).to have_button "On Hand", text: "On demand" end expect { @@ -240,7 +240,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do }.to change{ variant_a1.on_demand }.to(true) within row_containing_name("Medium box") do - expect(page).to have_css "button[aria-label='On Hand']", text: "On demand" + expect(page).to have_button "On Hand", text: "On demand" end end @@ -399,7 +399,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_field "SKU", with: "APL-02" expect(page).to have_field "Price", with: "10.25" expect(page).to have_content "1kg" - expect(page).to have_css "button[aria-label='On Hand']", text: "3" + expect(page).to have_button "On Hand", text: "3" end end @@ -518,7 +518,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_field "SKU", with: "APL-02" expect(page).to have_field "Price", with: "10.25" expect(page).to have_content "1kg" - expect(page).to have_css "button[aria-label='On Hand']", text: "3" + expect(page).to have_button "On Hand", text: "3" end end From 189cd8884810aced76e9d328bcc742ba3b84f00e Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 25 Mar 2024 14:52:13 +1100 Subject: [PATCH 155/374] Remove duplicate spec Must have been an accident while merging conflicts --- .../system/admin/products_v3/products_spec.rb | 119 ------------------ 1 file changed, 119 deletions(-) diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 4ac4a7052b..f139966ca9 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -363,125 +363,6 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do end end - describe "adding variants" do - it "creates a new variant" do - click_on "New variant" - - # find empty row for Apples - new_variant_row = find_field("Name", placeholder: "Apples", with: "").ancestor("tr") - expect(new_variant_row).to be_present - - within new_variant_row do - fill_in "Name", with: "Large box" - fill_in "SKU", with: "APL-02" - fill_in "Unit", with: 1000 - fill_in "Price", with: 10.25 - click_on "On Hand" # activate popout - end - fill_in "On Hand", with: "3" - - expect { - click_button "Save changes" - - expect(page).to have_content "Changes saved" - product_a.reload - }.to change { product_a.variants.count }.by(1) - - new_variant = product_a.variants.last - expect(new_variant.display_name).to eq "Large box" - expect(new_variant.sku).to eq "APL-02" - expect(new_variant.price).to eq 10.25 - expect(new_variant.unit_value).to eq 1000 - expect(new_variant.on_hand).to eq 3 - - within row_containing_name("Large box") do - expect(page).to have_field "Name", with: "Large box" - expect(page).to have_field "SKU", with: "APL-02" - expect(page).to have_field "Price", with: "10.25" - expect(page).to have_content "1kg" - expect(page).to have_button "On Hand", text: "3" - end - end - - context "with invalid data" do - before do - click_on "New variant" - - # find empty row for Apples - new_variant_row = find_field("Name", placeholder: "Apples", with: "").ancestor("tr") - expect(new_variant_row).to be_present - - within new_variant_row do - fill_in "Name", with: "N" * 256 # too long - fill_in "SKU", with: "n" * 256 - fill_in "Unit", with: "" # can't be blank - fill_in "Price", with: "10.25" # valid - end - end - - it "shows errors for both existing and new variant fields" do - # Update existing variant with invalid data too - within row_containing_name("Medium box") do - fill_in "Name", with: "M" * 256 - fill_in "SKU", with: "m" * 256 - fill_in "Price", with: "10.25" - end - - expect { - click_button "Save changes" - - expect(page).to have_content "1 product could not be saved" - expect(page).to have_content "Please review the errors and try again" - variant_a1.reload - }.not_to change { variant_a1.display_name } - - # New variant - within row_containing_name("N" * 256) do - expect(page).to have_field "Name", with: "N" * 256 - expect(page).to have_field "SKU", with: "n" * 256 - expect(page).to have_content "is too long" - expect(page).to have_field "Unit", with: "" - expect(page).to have_content "can't be blank" - expect(page).to have_field "Price", with: "10.25" # other updated value is retained - end - - # Existing variant - within row_containing_name("M" * 256) do - expect(page).to have_field "Name", with: "M" * 256 - expect(page).to have_field "SKU", with: "m" * 256 - expect(page).to have_content "is too long" - end - end - - it "saves changes after fixing errors" do - expect { - click_button "Save changes" - - variant_a1.reload - }.not_to change { variant_a1.display_name } - - within row_containing_name("N" * 256) do - fill_in "Name", with: "Nice box" - fill_in "SKU", with: "APL-02" - fill_in "Unit", with: 200 - end - - expect { - click_button "Save changes" - - expect(page).to have_content "Changes saved" - product_a.reload - }.to change { product_a.variants.count }.by(1) - - new_variant = product_a.variants.last - expect(new_variant.display_name).to eq "Nice box" - expect(new_variant.sku).to eq "APL-02" - expect(new_variant.price).to eq 10.25 - expect(new_variant.unit_value).to eq 200 - end - end - end - describe "adding variants" do it "creates a new variant" do click_on "New variant" From 45b4e6c87c2e2b09875771dd71afea9450021bc4 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 18 Mar 2024 16:56:15 +1100 Subject: [PATCH 156/374] Add comments To save me or someone else having to figure it out again. --- .../products/controllers/units_controller.js.coffee | 10 ++++++++-- .../products/services/option_value_namer.js.coffee | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/admin/products/controllers/units_controller.js.coffee b/app/assets/javascripts/admin/products/controllers/units_controller.js.coffee index 01c59a1b73..a92f4aeada 100644 --- a/app/assets/javascripts/admin/products/controllers/units_controller.js.coffee +++ b/app/assets/javascripts/admin/products/controllers/units_controller.js.coffee @@ -1,3 +1,4 @@ +# Controller for "New Products" form (spree/admin/products/new) angular.module("admin.products") .controller "unitsCtrl", ($scope, VariantUnitManager, OptionValueNamer, UnitPrices, PriceParser) -> $scope.product = { master: {} } @@ -12,13 +13,15 @@ angular.module("admin.products") $scope.variant_unit_options = VariantUnitManager.variantUnitOptions() + # Extract variant_unit and variant_unit_scale from dropdown variant_unit_with_scale, + # and update hidden product fields $scope.processVariantUnitWithScale = -> if $scope.product.variant_unit_with_scale - match = $scope.product.variant_unit_with_scale.match(/^([^_]+)_([\d\.]+)$/) + match = $scope.product.variant_unit_with_scale.match(/^([^_]+)_([\d\.]+)$/) # matches string like "weight_1000" if match $scope.product.variant_unit = match[1] $scope.product.variant_unit_scale = parseFloat(match[2]) - else + else # "items" $scope.product.variant_unit = $scope.product.variant_unit_with_scale $scope.product.variant_unit_scale = null else if $scope.product.variant_unit @@ -32,6 +35,8 @@ angular.module("admin.products") else $scope.product.variant_unit = $scope.product.variant_unit_scale = null + # Extract unit_value and unit_description from text field unit_value_with_description, + # and update hidden variant fields $scope.processUnitValueWithDescription = -> if $scope.product.master.hasOwnProperty("unit_value_with_description") match = $scope.product.master.unit_value_with_description.match(/^([\d\.,]+(?= *|$)|)( *)(.*)$/) @@ -45,6 +50,7 @@ angular.module("admin.products") value = window.bigDecimal.divide(value, $scope.product.variant_unit_scale, 2) if $scope.product.master.unit_value && $scope.product.variant_unit_scale $scope.product.master.unit_value_with_description = value + " " + $scope.product.master.unit_description + # Calculate unit price based on product price and variant_unit_scale $scope.processUnitPrice = -> price = $scope.product.price scale = $scope.product.variant_unit_scale diff --git a/app/assets/javascripts/admin/products/services/option_value_namer.js.coffee b/app/assets/javascripts/admin/products/services/option_value_namer.js.coffee index 9d6d46a494..0e7c94331d 100644 --- a/app/assets/javascripts/admin/products/services/option_value_namer.js.coffee +++ b/app/assets/javascripts/admin/products/services/option_value_namer.js.coffee @@ -1,4 +1,5 @@ angular.module("admin.products").factory "OptionValueNamer", (VariantUnitManager) -> + # Javascript clone of VariantUnits::OptionValueNamer, for bulk product editing. class OptionValueNamer constructor: (@variant) -> From a5741a1ca8b863af60ea3ad970d864f26978ac7b Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 19 Mar 2024 12:35:39 +1100 Subject: [PATCH 157/374] Sync hidden variant unit fields This will be necessary for managing the 'display as' state. ..or is it? --- .../admin/products_v3/_product_row.html.haml | 2 + app/views/admin/products_v3/_table.html.haml | 2 +- .../controllers/product_controller.js | 36 ++++++++++++ .../stimulus/product_controller_test.js | 56 +++++++++++++++++++ 4 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 app/webpacker/controllers/product_controller.js create mode 100644 spec/javascripts/stimulus/product_controller_test.js diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index 1d2c68eca3..e30b5200f9 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -10,6 +10,8 @@ = f.text_field :sku, 'aria-label': t('admin.products_page.columns.sku') = error_message_on product, :sku %td.multi-field{ 'data-controller': 'toggle-control', 'data-toggle-control-match-value': 'items' } + = f.hidden_field :variant_unit + = f.hidden_field :variant_unit_scale = f.select :variant_unit_with_scale, options_for_select(WeightsAndMeasures.variant_unit_options, product.variant_unit_with_scale), {}, diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 5095f63a03..412bd5a2ce 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -54,7 +54,7 @@ - products.each_with_index do |product, product_index| = form.fields_for("products", product, index: product_index) do |product_form| %tbody.relaxed.naked_inputs{ data: { 'record-id': product_form.object.id, - controller: "nested-form", + controller: "nested-form product", action: 'rails-nested-form:add->bulk-form#registerElements' } } %tr = render partial: 'product_row', locals: { product:, f: product_form } diff --git a/app/webpacker/controllers/product_controller.js b/app/webpacker/controllers/product_controller.js new file mode 100644 index 0000000000..cb66b34d65 --- /dev/null +++ b/app/webpacker/controllers/product_controller.js @@ -0,0 +1,36 @@ +import { Controller } from "stimulus"; + +// Dynamically update related Product unit fields (expected to move to Variant due to Product Refactor) +// +export default class ProductController extends Controller { + connect() { + // idea: create a helper that includes a nice getter/setter for Rails model attr values, just pass it the attribute name. + // It could automatically find (and cache a ref to) each dom element and get/set the values. + this.variantUnit = this.element.querySelector('[name$="[variant_unit]"]'); + this.variantUnitScale = this.element.querySelector('[name$="[variant_unit_scale]"]'); + this.variantUnitWithScale = this.element.querySelector('[name$="[variant_unit_with_scale]"]'); + + // on variant_unit_with_scale changed; update variant_unit and variant_unit_scale + this.variantUnitWithScale.addEventListener("change", this.#updateUnitAndScale.bind(this), { + passive: true, + }); + } + + // private + + // Extract variant_unit and variant_unit_scale from dropdown variant_unit_with_scale, + // and update hidden product fields + #updateUnitAndScale(event) { + const variant_unit_with_scale = this.variantUnitWithScale.value; + const match = variant_unit_with_scale.match(/^([^_]+)_([\d\.]+)$/); // eg "weight_1000" + + if (match) { + this.variantUnit.value = match[1]; + this.variantUnitScale.value = parseFloat(match[2]); + } else { + // "items" + this.variantUnit.value = variant_unit_with_scale; + this.variantUnitScale.value = ""; + } + } +} diff --git a/spec/javascripts/stimulus/product_controller_test.js b/spec/javascripts/stimulus/product_controller_test.js new file mode 100644 index 0000000000..bcd4f8bdad --- /dev/null +++ b/spec/javascripts/stimulus/product_controller_test.js @@ -0,0 +1,56 @@ +/** + * @jest-environment jsdom + */ + +import { Application } from "stimulus"; +import product_controller from "../../../app/webpacker/controllers/product_controller"; + +describe("ProductController", () => { + beforeAll(() => { + const application = Application.start(); + application.register("product", product_controller); + }); + + describe("variant_unit_with_scale", () => { + beforeEach(() => { + document.body.innerHTML = ` +
+ + + +
+ `; + }); + + describe("change", () => { + it("weight_1000", () => { + variant_unit_with_scale.selectedIndex = 1; + variant_unit_with_scale.dispatchEvent(new Event("change")); + + expect(variant_unit.value).toBe("weight"); + expect(variant_unit_scale.value).toBe("1000"); + }); + + it("volume_4.54609", () => { + variant_unit_with_scale.selectedIndex = 2; + variant_unit_with_scale.dispatchEvent(new Event("change")); + + expect(variant_unit.value).toBe("volume"); + expect(variant_unit_scale.value).toBe("4.54609"); + }); + + it("items", () => { + variant_unit_with_scale.selectedIndex = 3; + variant_unit_with_scale.dispatchEvent(new Event("change")); + + expect(variant_unit.value).toBe("items"); + expect(variant_unit_scale.value).toBe(""); + }); + }) + }); +}); From 436f733213ed2a350a273b1ce04b56e888fb5449 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 13 Mar 2024 16:31:10 +1100 Subject: [PATCH 158/374] Add variant unit fields Unfortunately we can't use an input[type=number] because you're allowed to type text for unit_description. These fields will be conditionally shown/hidden in upcoming steps. --- app/views/admin/products_v3/_table.html.haml | 6 ++--- .../admin/products_v3/_variant_row.html.haml | 20 ++++++++++------ config/locales/en.yml | 2 ++ .../system/admin/products_v3/products_spec.rb | 23 +++++++++++++++++++ 4 files changed, 41 insertions(+), 10 deletions(-) diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 412bd5a2ce..4b5d4fac03 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -9,9 +9,9 @@ %colgroup %col{ width:"56" }= # Img (size + padding) %col= # (grow to fill) Name - %col{ width:"8%"} - %col{ width:"8%"} %col{ width:"5%"} + %col{ width:"8%"} + %col{ width:"8%"} %col{ width:"5%"} %col{ width:"10%"} %col{ width:"15%"}= # Producer @@ -43,7 +43,7 @@ %th.align-left.with-input= t('admin.products_page.columns.name') %th.align-left.with-input= t('admin.products_page.columns.sku') %th.align-left.with-input= t('admin.products_page.columns.unit_scale') - %th.align-right= t('admin.products_page.columns.unit') + %th.align-left.with-input= t('admin.products_page.columns.unit') %th.align-left.with-input= t('admin.products_page.columns.price') %th.align-left.with-input= t('admin.products_page.columns.on_hand') %th.align-left= t('admin.products_page.columns.producer') diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index 566bbab0e3..a0f2289ab0 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -9,13 +9,19 @@ = error_message_on variant, :sku %td -# empty -- if variant.persisted? - %td.align-right - .content= variant.unit_to_display -- else # until unit component is developed, use a basic input just so we can create new records - %td.field - = f.number_field :unit_value, 'aria-label': t('admin.products_page.columns.unit') - = error_message_on variant, :unit_value +%td.field + = f.button :unit_to_display, 'aria-label': t('admin.products_page.columns.unit') do + = variant.unit_to_display # Show the generated summary of unit values + + -# Composite field for unit_value and unit_description + -# todo: create a method for value_with_description + = f.text_field :unit_value_with_description, + value: [number_with_precision(variant.unit_value, precision: nil,strip_insignificant_zeros: true), variant.unit_description].compact_blank.join(" "), + 'aria-label': t('admin.products_page.columns.unit_value') + = error_message_on variant, :unit_value + + = f.label :display_as, t('admin.products_page.columns.display_as') + = f.text_field :display_as, placeholder: VariantUnits::OptionValueNamer.new(variant).name %td.field = f.text_field :price, 'aria-label': t('admin.products_page.columns.price'), value: number_to_currency(variant.price, unit: '')&.strip # TODO: add a spec to prove that this formatting is necessary. If so, it should be in a shared form helper for currency inputs = error_message_on variant, :price diff --git a/config/locales/en.yml b/config/locales/en.yml index 70e19ded48..c1cccb66f6 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -561,6 +561,8 @@ en: name: Name unit_scale: Unit scale unit: Unit + unit_value: Unit value + display_as: Display unit as price: Price producer: Producer category: Category diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index f139966ca9..8c51320e10 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -186,6 +186,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do within row_containing_name("Medium box") do fill_in "Name", with: "Large box" fill_in "SKU", with: "POM-01" + fill_in "Unit", with: "500.1" fill_in "Price", with: "10.25" click_on "On Hand" # activate popout @@ -209,6 +210,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do .and change{ product_a.variant_unit_scale }.to(0.001) .and change{ variant_a1.display_name }.to("Large box") .and change{ variant_a1.sku }.to("POM-01") + .and change{ variant_a1.unit_value }.to(500.1) .and change{ variant_a1.price }.to(10.25) .and change{ variant_a1.on_hand }.to(6) @@ -219,6 +221,9 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do within row_containing_name("Large box") do expect(page).to have_field "Name", with: "Large box" expect(page).to have_field "SKU", with: "POM-01" + expect(page).to have_field "Unit value", with: "500.1" + pending "Units values not handled" # similar to old admin screen + expect(page).to have_button "Unit", text: "500.1mL" expect(page).to have_field "Price", with: "10.25" expect(page).to have_button "On Hand", text: "6" end @@ -264,6 +269,24 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do end end + it "saves a custom variant unit display name" do + within row_containing_name("Medium box") do + fill_in "Display unit as", with: "250g box" + end + + expect { + click_button "Save changes" + + expect(page).to have_content "Changes saved" + variant_a1.reload + }.to change{ variant_a1.unit_to_display }.to("250g box") + + within row_containing_name("Medium box") do + expect(page).to have_field "Display unit as", with: "250g box" + expect(page).to have_button "Unit", text: "250g box" + end + end + it "discards changes and reloads latest data" do within row_containing_name("Apples") do fill_in "Name", with: "Pommes" From 4a776233dbcb3ceb800813fe515f1fe6fde9a6b3 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 19 Mar 2024 17:03:22 +1100 Subject: [PATCH 159/374] Move fields into a popout --- .../admin/products_v3/_variant_row.html.haml | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index a0f2289ab0..2570ae8134 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -9,19 +9,20 @@ = error_message_on variant, :sku %td -# empty -%td.field - = f.button :unit_to_display, 'aria-label': t('admin.products_page.columns.unit') do +%td.field.on-hand__wrapper{'data-controller': "popout"} + = f.button :unit_to_display, class: "on-hand__button", 'aria-label': t('admin.products_page.columns.unit'), 'data-popout-target': "button" do = variant.unit_to_display # Show the generated summary of unit values - - -# Composite field for unit_value and unit_description - -# todo: create a method for value_with_description - = f.text_field :unit_value_with_description, - value: [number_with_precision(variant.unit_value, precision: nil,strip_insignificant_zeros: true), variant.unit_description].compact_blank.join(" "), - 'aria-label': t('admin.products_page.columns.unit_value') + %div.on-hand__popout{ style: 'display: none;', 'data-controller': 'toggle-control', 'data-popout-target': "dialog" } + .field + -# Composite field for unit_value and unit_description + -# todo: create a method for value_with_description + = f.text_field :unit_value_with_description, + value: [number_with_precision(variant.unit_value, precision: nil,strip_insignificant_zeros: true), variant.unit_description].compact_blank.join(" "), + 'aria-label': t('admin.products_page.columns.unit_value') + .field + = f.label :display_as, t('admin.products_page.columns.display_as') + = f.text_field :display_as, placeholder: VariantUnits::OptionValueNamer.new(variant).name = error_message_on variant, :unit_value - - = f.label :display_as, t('admin.products_page.columns.display_as') - = f.text_field :display_as, placeholder: VariantUnits::OptionValueNamer.new(variant).name %td.field = f.text_field :price, 'aria-label': t('admin.products_page.columns.price'), value: number_to_currency(variant.price, unit: '')&.strip # TODO: add a spec to prove that this formatting is necessary. If so, it should be in a shared form helper for currency inputs = error_message_on variant, :price From f13f2cfa2f6409604222dbad7479f898765f3ed9 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 20 Mar 2024 14:28:24 +1100 Subject: [PATCH 160/374] Move values to variables I didn't end up using these, but it's probably worth keeping for consistency. --- app/webpacker/css/admin_v3/globals/variables.scss | 3 ++- app/webpacker/css/admin_v3/shared/forms.scss | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/webpacker/css/admin_v3/globals/variables.scss b/app/webpacker/css/admin_v3/globals/variables.scss index bbd8fde650..41863422d4 100644 --- a/app/webpacker/css/admin_v3/globals/variables.scss +++ b/app/webpacker/css/admin_v3/globals/variables.scss @@ -82,7 +82,8 @@ $color-sel-bg: $lighter-grey !default; $color-sel-hover-bg: $lighter-grey !default; // Text inputs styles -$color-txt-brd: $color-border !default; +$color-txt-bg: $lighter-grey !default; +$color-txt-brd: $lighter-grey !default; $color-txt-text: $near-black !default; $color-txt-hover-brd: $teal !default; $color-txt-disabled-text: $medium-grey !default; diff --git a/app/webpacker/css/admin_v3/shared/forms.scss b/app/webpacker/css/admin_v3/shared/forms.scss index c802a29c97..9f6a2a2bac 100644 --- a/app/webpacker/css/admin_v3/shared/forms.scss +++ b/app/webpacker/css/admin_v3/shared/forms.scss @@ -16,9 +16,9 @@ input[type="number"], textarea { @include border-radius($border-radius); padding: ($vpadding-txt - 1px) ($hpadding-txt - 1px); // Minus 1px for border - border: 1px solid $lighter-grey; + border: 1px solid $color-txt-brd; color: $color-txt-text; - background-color: $lighter-grey; + background-color: $color-txt-bg; font-size: 14px; line-height: 22px; From 4f7d50ca4b9acbe5cc10c21a5c564044a542eddd Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 20 Mar 2024 14:44:55 +1100 Subject: [PATCH 161/374] Refactor CSS to reduce scope We don't want the fields inside the popout to be naked, so need to be more specific. --- app/views/admin/products_v3/_product_row.html.haml | 6 +++--- app/views/admin/products_v3/_table.html.haml | 2 +- app/views/admin/products_v3/_variant_row.html.haml | 6 +++--- app/webpacker/css/admin/products_v3.scss | 14 ++++++++++---- 4 files changed, 17 insertions(+), 11 deletions(-) diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index e30b5200f9..1526fb26cf 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -2,14 +2,14 @@ %a.image-field{ href: admin_product_images_path(product), data: { controller: "modal", reflex: "click->products#edit_image", "current-id": product.id} } = image_tag product.image&.url(:mini) || Spree::Image.default_image_url(:mini), width: 40, height: 40 .button.secondary.mini= t('admin.products_page.image.edit') -%td.field.align-left.header +%td.field.align-left.header.naked_inputs = f.hidden_field :id = f.text_field :name, 'aria-label': t('admin.products_page.columns.name') = error_message_on product, :name -%td.field +%td.field.naked_inputs = f.text_field :sku, 'aria-label': t('admin.products_page.columns.sku') = error_message_on product, :sku -%td.multi-field{ 'data-controller': 'toggle-control', 'data-toggle-control-match-value': 'items' } +%td.multi-field.naked_inputs{ 'data-controller': 'toggle-control', 'data-toggle-control-match-value': 'items' } = f.hidden_field :variant_unit = f.hidden_field :variant_unit_scale = f.select :variant_unit_with_scale, diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 4b5d4fac03..c849c072bb 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -53,7 +53,7 @@ %th.align-right= t('admin.products_page.columns.actions') - products.each_with_index do |product, product_index| = form.fields_for("products", product, index: product_index) do |product_form| - %tbody.relaxed.naked_inputs{ data: { 'record-id': product_form.object.id, + %tbody.relaxed{ data: { 'record-id': product_form.object.id, controller: "nested-form product", action: 'rails-nested-form:add->bulk-form#registerElements' } } %tr diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index 2570ae8134..61c2762c93 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -1,10 +1,10 @@ %td -# empty -%td.field +%td.field.naked_inputs = f.hidden_field :id = f.text_field :display_name, 'aria-label': t('admin.products_page.columns.name'), placeholder: variant.product.name = error_message_on variant, :display_name -%td.field +%td.field.naked_inputs = f.text_field :sku, 'aria-label': t('admin.products_page.columns.sku') = error_message_on variant, :sku %td @@ -23,7 +23,7 @@ = f.label :display_as, t('admin.products_page.columns.display_as') = f.text_field :display_as, placeholder: VariantUnits::OptionValueNamer.new(variant).name = error_message_on variant, :unit_value -%td.field +%td.field.naked_inputs = f.text_field :price, 'aria-label': t('admin.products_page.columns.price'), value: number_to_currency(variant.price, unit: '')&.strip # TODO: add a spec to prove that this formatting is necessary. If so, it should be in a shared form helper for currency inputs = error_message_on variant, :price %td.field.on-hand__wrapper{'data-controller': "popout"} diff --git a/app/webpacker/css/admin/products_v3.scss b/app/webpacker/css/admin/products_v3.scss index dff90a7b76..433739cbd8 100644 --- a/app/webpacker/css/admin/products_v3.scss +++ b/app/webpacker/css/admin/products_v3.scss @@ -94,8 +94,10 @@ } // "Naked" inputs. Row hover helps reveal them. - input:not([type="checkbox"]), .ts-control { - background-color: $color-tbl-cell-bg; + .naked_inputs { + input:not([type="checkbox"]), .ts-control { + background-color: $color-tbl-cell-bg; + } } // Reveal naked button text when any part of row is hovered @@ -379,8 +381,12 @@ } } - input[disabled] { - color: transparent; // hide value completely + input { + height: auto; + + &[disabled] { + color: transparent; // hide value completely + } } } } From e94fddb0f8db2d36a957a01586f27ff5e26db1a7 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 20 Mar 2024 14:57:17 +1100 Subject: [PATCH 162/374] Style label in popout And tweaked global style as per design. And cleanup unused classes. --- app/webpacker/css/admin/products_v3.scss | 4 ---- app/webpacker/css/admin/sections/products.scss | 3 --- app/webpacker/css/admin_v3/shared/forms.scss | 12 +++--------- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/app/webpacker/css/admin/products_v3.scss b/app/webpacker/css/admin/products_v3.scss index 433739cbd8..ee798fb6b3 100644 --- a/app/webpacker/css/admin/products_v3.scss +++ b/app/webpacker/css/admin/products_v3.scss @@ -176,10 +176,6 @@ gap: 3px; } - label { - margin: 0; - } - .ts-control { z-index: 0; // Avoid hovering over thead } diff --git a/app/webpacker/css/admin/sections/products.scss b/app/webpacker/css/admin/sections/products.scss index bac5965d4e..791942a322 100644 --- a/app/webpacker/css/admin/sections/products.scss +++ b/app/webpacker/css/admin/sections/products.scss @@ -1,7 +1,4 @@ .admin-product-form-fields { - label { - display: inline-block; - } input, select, textarea, diff --git a/app/webpacker/css/admin_v3/shared/forms.scss b/app/webpacker/css/admin_v3/shared/forms.scss index 9f6a2a2bac..57cc0789db 100644 --- a/app/webpacker/css/admin_v3/shared/forms.scss +++ b/app/webpacker/css/admin_v3/shared/forms.scss @@ -69,18 +69,11 @@ textarea { } label { + display: inline-block; font-weight: 600; font-size: 85%; - margin-bottom: 3px; + margin-bottom: 5px; color: $near-black; - - &.inline { - display: inline-block !important; - } - - &.block { - display: block !important; - } } .label-block label { @@ -105,6 +98,7 @@ span.info { display: block; font-size: inherit; font-weight: normal; + margin-bottom: 0; } } From 26723194d53f50d57cd99514e0d29db088825db3 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 21 Mar 2024 13:24:02 +1100 Subject: [PATCH 163/374] Prevent popout from updating display value Watch out, HAML will strip an attribute with boolean false, so we need to use a string. Or reconsider using false as a default value.. I wish Jest had the rspec concept of `let`. --- .../admin/products_v3/_variant_row.html.haml | 2 +- .../controllers/popout_controller.js | 10 +++- .../stimulus/popout_controller_test.js | 57 +++++++++++++------ 3 files changed, 49 insertions(+), 20 deletions(-) diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index 61c2762c93..c7d4686228 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -9,7 +9,7 @@ = error_message_on variant, :sku %td -# empty -%td.field.on-hand__wrapper{'data-controller': "popout"} +%td.field.on-hand__wrapper{'data-controller': "popout", 'data-popout-update-display-value': "false"} = f.button :unit_to_display, class: "on-hand__button", 'aria-label': t('admin.products_page.columns.unit'), 'data-popout-target': "button" do = variant.unit_to_display # Show the generated summary of unit values %div.on-hand__popout{ style: 'display: none;', 'data-controller': 'toggle-control', 'data-popout-target': "dialog" } diff --git a/app/webpacker/controllers/popout_controller.js b/app/webpacker/controllers/popout_controller.js index 287ed98771..5a871e0367 100644 --- a/app/webpacker/controllers/popout_controller.js +++ b/app/webpacker/controllers/popout_controller.js @@ -3,6 +3,9 @@ import { Controller } from "stimulus"; // Allows a form section to "pop out" and show additional options export default class PopoutController extends Controller { static targets = ["button", "dialog"]; + static values = { + updateDisplay: { Boolean, default: true } + } connect() { this.first_input = this.dialogTarget.querySelector("input"); @@ -58,8 +61,11 @@ export default class PopoutController extends Controller { } // Update button to represent any changes - this.buttonTarget.innerText = this.#displayValue(); - this.buttonTarget.innerHTML ||= " "; // (with default space to help with styling) + console.log(this.updateDisplayValue); + if (this.updateDisplayValue) { + this.buttonTarget.innerText = this.#displayValue(); + this.buttonTarget.innerHTML ||= " "; // (with default space to help with styling) + } this.buttonTarget.classList.toggle("changed", this.#isChanged()); this.dialogTarget.style.display = "none"; diff --git a/spec/javascripts/stimulus/popout_controller_test.js b/spec/javascripts/stimulus/popout_controller_test.js index 82da807bfb..28f4e49a2c 100644 --- a/spec/javascripts/stimulus/popout_controller_test.js +++ b/spec/javascripts/stimulus/popout_controller_test.js @@ -11,24 +11,11 @@ describe("PopoutController", () => { application.register("popout", popout_controller); }); - beforeEach(() => { - document.body.innerHTML = ` -
- - -
- - `; - }); - describe("Show", () => { + beforeEach(() => { + document.body.innerHTML = htmlTemplate(); + }); + it("shows the dialog on click", () => { // button.click(); // For some reason this fails due to passive: true, but works in real life. button.dispatchEvent(new Event("click")); @@ -64,6 +51,10 @@ describe("PopoutController", () => { }); describe("Close", () => { + beforeEach(() => { + document.body.innerHTML = htmlTemplate(); + }); + // For some reason this has to be in a separate block beforeEach(() => { button.dispatchEvent(new Event("click")); // Dialog is open }) @@ -113,11 +104,43 @@ describe("PopoutController", () => { }); }); + describe("disable update-display", () => { + beforeEach(() => { + document.body.innerHTML = htmlTemplate({updateDisplay: "false" }); + }) + + it("doesn't update display value", () => { + expect(button.innerText).toBe("On demand"); + button.dispatchEvent(new Event("click")); // Dialog is open + input4.click(); //close dialog + + expectToBeClosed(dialog); + expect(button.innerText).toBe("On demand"); + }); + }); + describe("Cleaning up", () => { // unable to test disconnect }); }); +function htmlTemplate(opts = {updateDisplay: ""}) { + return ` +
+ + +
+ + `; +} + function expectToBeShown(element) { expect(element.style.display).toBe("block"); } From e110cd1145a91d5fa465c263af883f1f1af7073a Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 26 Mar 2024 11:44:10 +1100 Subject: [PATCH 164/374] Fix popout to focus first _visible_ field --- app/webpacker/controllers/popout_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/webpacker/controllers/popout_controller.js b/app/webpacker/controllers/popout_controller.js index 5a871e0367..c896bc7e5d 100644 --- a/app/webpacker/controllers/popout_controller.js +++ b/app/webpacker/controllers/popout_controller.js @@ -8,8 +8,8 @@ export default class PopoutController extends Controller { } connect() { - this.first_input = this.dialogTarget.querySelector("input"); this.displayElements = Array.from(this.element.querySelectorAll('input:not([type="hidden"]')); + this.first_input = this.displayElements[0]; // Show when click or down-arrow on button this.buttonTarget.addEventListener("click", this.show.bind(this)); From e589605e3c873bc6bbb54bbdfb3e9eca5edfec7d Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 27 Mar 2024 17:02:58 +1100 Subject: [PATCH 165/374] Rename popout style classes --- app/views/admin/products_v3/_variant_row.html.haml | 12 ++++++------ app/webpacker/css/admin/products_v3.scss | 12 +++++------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index c7d4686228..79b9fab527 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -9,10 +9,10 @@ = error_message_on variant, :sku %td -# empty -%td.field.on-hand__wrapper{'data-controller': "popout", 'data-popout-update-display-value': "false"} - = f.button :unit_to_display, class: "on-hand__button", 'aria-label': t('admin.products_page.columns.unit'), 'data-popout-target': "button" do +%td.field.popout{'data-controller': "popout", 'data-popout-update-display-value': "false"} + = f.button :unit_to_display, class: "popout__button", 'aria-label': t('admin.products_page.columns.unit'), 'data-popout-target': "button" do = variant.unit_to_display # Show the generated summary of unit values - %div.on-hand__popout{ style: 'display: none;', 'data-controller': 'toggle-control', 'data-popout-target': "dialog" } + %div.popout__container{ style: 'display: none;', 'data-controller': 'toggle-control', 'data-popout-target': "dialog" } .field -# Composite field for unit_value and unit_description -# todo: create a method for value_with_description @@ -26,10 +26,10 @@ %td.field.naked_inputs = f.text_field :price, 'aria-label': t('admin.products_page.columns.price'), value: number_to_currency(variant.price, unit: '')&.strip # TODO: add a spec to prove that this formatting is necessary. If so, it should be in a shared form helper for currency inputs = error_message_on variant, :price -%td.field.on-hand__wrapper{'data-controller': "popout"} - %button.on-hand__button{'data-popout-target': "button", 'aria-label': t('admin.products_page.columns.on_hand')} +%td.field.popout{'data-controller': "popout"} + %button.popout__button{'data-popout-target': "button", 'aria-label': t('admin.products_page.columns.on_hand')} = variant.on_demand ? t(:on_demand) : variant.on_hand - %div.on-hand__popout{ style: 'display: none;', 'data-controller': 'toggle-control', 'data-popout-target': "dialog" } + %div.popout__container{ style: 'display: none;', 'data-controller': 'toggle-control', 'data-popout-target': "dialog" } .field = f.number_field :on_hand, min: 0, 'aria-label': t('admin.products_page.columns.on_hand'), 'data-toggle-control-target': 'control', disabled: f.object.on_demand = error_message_on variant, :on_hand diff --git a/app/webpacker/css/admin/products_v3.scss b/app/webpacker/css/admin/products_v3.scss index ee798fb6b3..93f2497fb2 100644 --- a/app/webpacker/css/admin/products_v3.scss +++ b/app/webpacker/css/admin/products_v3.scss @@ -301,15 +301,13 @@ } } - // Stock popout widget - .on-hand { - &__wrapper { - position: relative; - } + // Popout widget (todo: move to separate fiel) + .popout { + position: relative; &__button { // override button styles - &.on-hand__button { + &.popout__button { background: $color-tbl-cell-bg; color: $color-txt-text; white-space: nowrap; @@ -356,7 +354,7 @@ } } - &__popout { + &__container { position: absolute; top: -0.6em; left: -0.2em; From 6291cce5d1ba7bc93628cce9a34064cfa1c036d3 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 27 Mar 2024 17:31:20 +1100 Subject: [PATCH 166/374] Fix style for empty popout button There's still an odd 1px height change on hover that I can't track down. I think it would be better to just give new variants a default of 1 (blank is not valid anyway). --- app/webpacker/css/admin/products_v3.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/webpacker/css/admin/products_v3.scss b/app/webpacker/css/admin/products_v3.scss index 93f2497fb2..a2c835ccd0 100644 --- a/app/webpacker/css/admin/products_v3.scss +++ b/app/webpacker/css/admin/products_v3.scss @@ -316,6 +316,8 @@ padding-left: $border-radius; // Super compact padding-right: 1rem; // Retain space for arrow height: auto; + min-width: 2em; + min-height: 1lh; // Line height of parent &:hover, &:active, @@ -348,6 +350,7 @@ content: "\f078"; position: absolute; + top: 0; // Required for empty buttons right: $border-radius; font-size: 0.67em; } From 9beaf0a0c284ef8de14001188bea4bb6d6de929f Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 21 Mar 2024 13:32:45 +1100 Subject: [PATCH 167/374] Use textContent FTW Oh look, the test works better now too. --- .../controllers/popout_controller.js | 5 ++--- .../stimulus/popout_controller_test.js | 19 ++++++++++++++----- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/app/webpacker/controllers/popout_controller.js b/app/webpacker/controllers/popout_controller.js index c896bc7e5d..30a2061187 100644 --- a/app/webpacker/controllers/popout_controller.js +++ b/app/webpacker/controllers/popout_controller.js @@ -61,9 +61,8 @@ export default class PopoutController extends Controller { } // Update button to represent any changes - console.log(this.updateDisplayValue); if (this.updateDisplayValue) { - this.buttonTarget.innerText = this.#displayValue(); + this.buttonTarget.textContent = this.#displayValue(); this.buttonTarget.innerHTML ||= " "; // (with default space to help with styling) } this.buttonTarget.classList.toggle("changed", this.#isChanged()); @@ -93,7 +92,7 @@ export default class PopoutController extends Controller { let values = this.#enabledDisplayElements().map((element) => { if (element.type == "checkbox") { if (element.checked && element.labels[0]) { - return element.labels[0].innerText; + return element.labels[0].textContent.trim(); } } else { return element.value; diff --git a/spec/javascripts/stimulus/popout_controller_test.js b/spec/javascripts/stimulus/popout_controller_test.js index 28f4e49a2c..ddb9f5bb8f 100644 --- a/spec/javascripts/stimulus/popout_controller_test.js +++ b/spec/javascripts/stimulus/popout_controller_test.js @@ -63,14 +63,14 @@ describe("PopoutController", () => { input4.click(); expectToBeClosed(dialog); - expect(button.innerText).toBe("value1"); + expect(button.textContent).toBe("value1"); }); it("closes the dialog when focusing another field (eg with tab)", () => { input4.focus(); expectToBeClosed(dialog); - expect(button.innerText).toBe("value1"); + expect(button.textContent).toBe("value1"); }); it("doesn't close the dialog when focusing internal field", () => { @@ -83,7 +83,8 @@ describe("PopoutController", () => { input2.click(); expectToBeClosed(dialog); - expect(button.innerText).toBe("value1");// The checkbox label should be here, but I just couldn't get the test to work with labels. Don't worry, it works in the browser. + // and includes the checkbox label + expect(button.textContent).toBe("value1,label2"); }); it("doesn't close the dialog when checkbox is unchecked", () => { @@ -102,6 +103,14 @@ describe("PopoutController", () => { expectToBeShown(dialog); // Browser will show a validation message }); + + it("only shows enabled fields in display summary", () => { + input1.disabled = true; + input2.click(); // checkbox selected + + expectToBeClosed(dialog); + expect(button.textContent).toBe("label2"); + }); }); describe("disable update-display", () => { @@ -110,12 +119,12 @@ describe("PopoutController", () => { }) it("doesn't update display value", () => { - expect(button.innerText).toBe("On demand"); + expect(button.textContent).toBe("On demand"); button.dispatchEvent(new Event("click")); // Dialog is open input4.click(); //close dialog expectToBeClosed(dialog); - expect(button.innerText).toBe("On demand"); + expect(button.textContent).toBe("On demand"); }); }); From 28dab2fc2e263f88d24a5b81bcfb59b2437b17b2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Mar 2024 09:10:14 +0000 Subject: [PATCH 168/374] chore(deps): bump newrelic_rpm from 9.7.1 to 9.8.0 Bumps [newrelic_rpm](https://github.com/newrelic/newrelic-ruby-agent) from 9.7.1 to 9.8.0. - [Release notes](https://github.com/newrelic/newrelic-ruby-agent/releases) - [Changelog](https://github.com/newrelic/newrelic-ruby-agent/blob/dev/CHANGELOG.md) - [Commits](https://github.com/newrelic/newrelic-ruby-agent/compare/9.7.1...9.8.0) --- updated-dependencies: - dependency-name: newrelic_rpm dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 6403c4cb2c..bee4fcbe1d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -433,7 +433,7 @@ GEM timeout net-smtp (0.4.0.1) net-protocol - newrelic_rpm (9.7.1) + newrelic_rpm (9.8.0) nio4r (2.7.0) nokogiri (1.16.3) mini_portile2 (~> 2.8.2) From c98956bf5ac2f296073b9d7149598f3aa1499ebf Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 18 Mar 2024 17:04:46 +1100 Subject: [PATCH 169/374] Add variant controller This will manage the various unit fields. Maybe it should have a more specific name. --- app/views/admin/products_v3/_table.html.haml | 4 +- .../controllers/product_controller.js | 2 + .../controllers/variant_controller.js | 63 +++++++++++++++++++ 3 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 app/webpacker/controllers/variant_controller.js diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index c849c072bb..750746ddc3 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -61,12 +61,12 @@ - product.variants.each_with_index do |variant, variant_index| = form.fields_for("products][#{product_index}][variants_attributes][", variant, index: variant_index) do |variant_form| - %tr.condensed + %tr.condensed{ 'data-controller': "variant" } = render partial: 'variant_row', locals: { variant:, f: variant_form } = form.fields_for("products][#{product_index}][variants_attributes][NEW_RECORD", product.variants.build) do |new_variant_form| %template{ 'data-nested-form-target': "template" } - %tr.condensed + %tr.condensed{ 'data-controller': "variant" } = render partial: 'variant_row', locals: { variant: new_variant_form.object, f: new_variant_form } %tr{ 'data-nested-form-target': "target" } diff --git a/app/webpacker/controllers/product_controller.js b/app/webpacker/controllers/product_controller.js index cb66b34d65..942f3b02e1 100644 --- a/app/webpacker/controllers/product_controller.js +++ b/app/webpacker/controllers/product_controller.js @@ -32,5 +32,7 @@ export default class ProductController extends Controller { this.variantUnit.value = variant_unit_with_scale; this.variantUnitScale.value = ""; } + this.variantUnit.dispatchEvent(new Event("change")); + this.variantUnitScale.dispatchEvent(new Event("change")); } } diff --git a/app/webpacker/controllers/variant_controller.js b/app/webpacker/controllers/variant_controller.js new file mode 100644 index 0000000000..f532009d8b --- /dev/null +++ b/app/webpacker/controllers/variant_controller.js @@ -0,0 +1,63 @@ +import { Controller } from "stimulus"; + +// Dynamically update related variant fields +// +export default class VariantController extends Controller { + connect() { + // Assuming these will be available on the variant soon, just a quick hack to find the product fields: + const product = this.element.closest("[data-record-id]"); + this.variantUnit = product.querySelector('[name$="[variant_unit]"]'); + this.variantUnitScale = product.querySelector('[name$="[variant_unit_scale]"]'); + this.variantUnitName = product.querySelector('[name$="[variant_unit_name]"]'); + + this.unitValueWithDescription = this.element.querySelector( + '[name$="[unit_value_with_description]"]', + ); + this.displayAs = this.element.querySelector('[name$="[display_as]"]'); + this.unitToDisplay = this.element.querySelector('[name$="[unit_to_display]"]'); + + // on unit changed; update display_as:placeholder and unit_to_display + [this.variantUnit, this.variantUnitScale, this.variantUnitName].forEach((element) => { + element.addEventListener("change", this.#unitChanged.bind(this), { passive: true }); + }); + + // on unit_value_with_description changed; update unit_value and unit_description + // on unit_value and/or unit_description changed; update display_as:placeholder and unit_to_display + this.unitValueWithDescription.addEventListener("input", this.#unitValueChanged.bind(this), { + passive: true, + }); + + // on display_as changed; update unit_to_display (how does this relate to unit_presentation?) + this.displayAs.addEventListener("input", this.#updateUnitDisplay.bind(this), { passive: true }); + } + + disconnect() { + // Make sure to clean up anything that happened outside + } + + // private + + // Extract variant_unit and variant_unit_scale from dropdown variant_unit_with_scale, + // and update hidden product fields + #unitChanged(event) { + //todo: deduplicate events. + //Hmm in hindsight the logic in product_controller should be inn this controller already. then we can do everything in one event, and store the generated name in an instance variable. + this.#updateUnitDisplay(); + } + + // Extract unit_value and unit_description from unit_value_with_description, + // and update hidden fields + #unitValueChanged(event) { + //todo: deduplicate events. + this.#updateUnitDisplay(); + } + + // Update display_as placeholder and unit_to_display + #updateUnitDisplay() { + // const unitDisplay = OptionValueNamer... + const unitDisplay = + this.unitValueWithDescription.value + " " + (this.variantUnitName.value || "~g"); //To Remove: DEMO only + this.displayAs.placeholder = unitDisplay; + this.unitToDisplay.textContent = this.displayAs.value || unitDisplay; + } +} From 49226ffdbc476bf2df5ba30d8ef990ddcf7e5e15 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 21 Mar 2024 16:54:57 +1100 Subject: [PATCH 170/374] Extract unit_value and unit_description values Copied from display_as.js.coffee (ofn.admin.ofnDisplayAs.variantUnitProperties). --- .../admin/products_v3/_variant_row.html.haml | 4 +- .../controllers/variant_controller.js | 22 +++++-- .../system/admin/products_v3/products_spec.rb | 62 ++++++++++++++----- 3 files changed, 66 insertions(+), 22 deletions(-) diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index 79b9fab527..53f56435de 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -14,7 +14,9 @@ = variant.unit_to_display # Show the generated summary of unit values %div.popout__container{ style: 'display: none;', 'data-controller': 'toggle-control', 'data-popout-target': "dialog" } .field - -# Composite field for unit_value and unit_description + -# Show a composite field for unit_value and unit_description + = f.hidden_field :unit_value + = f.hidden_field :unit_description -# todo: create a method for value_with_description = f.text_field :unit_value_with_description, value: [number_with_precision(variant.unit_value, precision: nil,strip_insignificant_zeros: true), variant.unit_description].compact_blank.join(" "), diff --git a/app/webpacker/controllers/variant_controller.js b/app/webpacker/controllers/variant_controller.js index f532009d8b..ef007c442e 100644 --- a/app/webpacker/controllers/variant_controller.js +++ b/app/webpacker/controllers/variant_controller.js @@ -10,6 +10,8 @@ export default class VariantController extends Controller { this.variantUnitScale = product.querySelector('[name$="[variant_unit_scale]"]'); this.variantUnitName = product.querySelector('[name$="[variant_unit_name]"]'); + this.unitValue = this.element.querySelector('[name$="[unit_value]"]'); + this.unitDescription = this.element.querySelector('[name$="[unit_description]"]'); this.unitValueWithDescription = this.element.querySelector( '[name$="[unit_value_with_description]"]', ); @@ -23,7 +25,7 @@ export default class VariantController extends Controller { // on unit_value_with_description changed; update unit_value and unit_description // on unit_value and/or unit_description changed; update display_as:placeholder and unit_to_display - this.unitValueWithDescription.addEventListener("input", this.#unitValueChanged.bind(this), { + this.unitValueWithDescription.addEventListener("input", this.#unitChanged.bind(this), { passive: true, }); @@ -42,14 +44,22 @@ export default class VariantController extends Controller { #unitChanged(event) { //todo: deduplicate events. //Hmm in hindsight the logic in product_controller should be inn this controller already. then we can do everything in one event, and store the generated name in an instance variable. + this.#extractUnitValues(); this.#updateUnitDisplay(); } - // Extract unit_value and unit_description from unit_value_with_description, - // and update hidden fields - #unitValueChanged(event) { - //todo: deduplicate events. - this.#updateUnitDisplay(); + // Extract unit_value and unit_description + #extractUnitValues() { + // Extract a number (optional) and text value, separated by a space. + const match = this.unitValueWithDescription.value.match(/^([\d\.\,]+(?= |$)|)( |)(.*)$/); + if (match) { + let unit_value = parseFloat(match[1].replace(",", ".")); + unit_value = isNaN(unit_value) ? null : unit_value; + unit_value *= this.variantUnitScale.value ? this.variantUnitScale.value : 1; + + this.unitValue.value = unit_value; + this.unitDescription.value = match[3]; + } } // Update display_as placeholder and unit_to_display diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 8c51320e10..aafc4ee125 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -186,7 +186,18 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do within row_containing_name("Medium box") do fill_in "Name", with: "Large box" fill_in "SKU", with: "POM-01" - fill_in "Unit", with: "500.1" + + click_on "Unit" # activate popout + end + + # Unit popout + # TODO: prevent empty value + # fill_in "Unit value", with: "" + # click_button "Save changes" # attempt to save or close the popout + # expect(page).to have_field "Unit value", with: "" # popout is still open + fill_in "Unit value", with: "500.1" + + within row_containing_name("Medium box") do fill_in "Price", with: "10.25" click_on "On Hand" # activate popout @@ -210,7 +221,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do .and change{ product_a.variant_unit_scale }.to(0.001) .and change{ variant_a1.display_name }.to("Large box") .and change{ variant_a1.sku }.to("POM-01") - .and change{ variant_a1.unit_value }.to(500.1) + .and change{ variant_a1.unit_value }.to(0.5001) # volumes are stored in litres .and change{ variant_a1.price }.to(10.25) .and change{ variant_a1.on_hand }.to(6) @@ -221,8 +232,6 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do within row_containing_name("Large box") do expect(page).to have_field "Name", with: "Large box" expect(page).to have_field "SKU", with: "POM-01" - expect(page).to have_field "Unit value", with: "500.1" - pending "Units values not handled" # similar to old admin screen expect(page).to have_button "Unit", text: "500.1mL" expect(page).to have_field "Price", with: "10.25" expect(page).to have_button "On Hand", text: "6" @@ -269,21 +278,44 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do end end - it "saves a custom variant unit display name" do - within row_containing_name("Medium box") do - fill_in "Display unit as", with: "250g box" + describe "Changing unit values" do + # This is a rather strange feature, I wonder if anyone actually uses it. + it "saves a variant unit description" do + within row_containing_name("Medium box") do + click_on "Unit" # activate popout + fill_in "Unit value", with: "1000 boxed" # 1000 grams + end + + expect { + click_button "Save changes" + + expect(page).to have_content "Changes saved" + variant_a1.reload + }.to change{ variant_a1.unit_value }.to(1000) + .and change{ variant_a1.unit_description }.to("boxed") + + within row_containing_name("Medium box") do + # New value is visible immediately + expect(page).to have_button "Unit", text: "1kg boxed" + end end - expect { - click_button "Save changes" + it "saves a custom variant unit display name" do + within row_containing_name("Medium box") do + fill_in "Display unit as", with: "250g box" + end - expect(page).to have_content "Changes saved" - variant_a1.reload - }.to change{ variant_a1.unit_to_display }.to("250g box") + expect { + click_button "Save changes" - within row_containing_name("Medium box") do - expect(page).to have_field "Display unit as", with: "250g box" - expect(page).to have_button "Unit", text: "250g box" + expect(page).to have_content "Changes saved" + variant_a1.reload + }.to change{ variant_a1.unit_to_display }.to("250g box") + + within row_containing_name("Medium box") do + expect(page).to have_field "Display unit as", with: "250g box" + expect(page).to have_button "Unit", text: "250g box" + end end end From cf31d09ad8ac60626db7aecbda78e93841bbc6ea Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 26 Mar 2024 11:10:29 +1100 Subject: [PATCH 171/374] Prevent submitting empty value --- app/views/admin/products_v3/_variant_row.html.haml | 2 +- spec/system/admin/products_v3/products_spec.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index 53f56435de..73a1385f32 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -20,7 +20,7 @@ -# todo: create a method for value_with_description = f.text_field :unit_value_with_description, value: [number_with_precision(variant.unit_value, precision: nil,strip_insignificant_zeros: true), variant.unit_description].compact_blank.join(" "), - 'aria-label': t('admin.products_page.columns.unit_value') + 'aria-label': t('admin.products_page.columns.unit_value'), required: true .field = f.label :display_as, t('admin.products_page.columns.display_as') = f.text_field :display_as, placeholder: VariantUnits::OptionValueNamer.new(variant).name diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index aafc4ee125..a7554c1121 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -192,9 +192,9 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do # Unit popout # TODO: prevent empty value - # fill_in "Unit value", with: "" - # click_button "Save changes" # attempt to save or close the popout - # expect(page).to have_field "Unit value", with: "" # popout is still open + fill_in "Unit value", with: "" + click_button "Save changes" # attempt to save or close the popout + expect(page).to have_field "Unit value", with: "" # popout is still open fill_in "Unit value", with: "500.1" within row_containing_name("Medium box") do From 4ddb2ff1e97c0a1d902bfe8780ceda6bacc0d5bc Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 21 Mar 2024 21:38:44 +1100 Subject: [PATCH 172/374] Generate unit display with OptionValueNamer --- .../controllers/variant_controller.js | 23 ++++- .../js/services/option_value_namer.js | 94 +++++++++++++++++++ .../js/services/variant_unit_manager.js | 93 ++++++++++++++++++ .../system/admin/products_v3/products_spec.rb | 49 +++++++--- 4 files changed, 240 insertions(+), 19 deletions(-) create mode 100644 app/webpacker/js/services/option_value_namer.js create mode 100644 app/webpacker/js/services/variant_unit_manager.js diff --git a/app/webpacker/controllers/variant_controller.js b/app/webpacker/controllers/variant_controller.js index ef007c442e..1ab401163a 100644 --- a/app/webpacker/controllers/variant_controller.js +++ b/app/webpacker/controllers/variant_controller.js @@ -1,4 +1,5 @@ import { Controller } from "stimulus"; +import OptionValueNamer from "js/services/option_value_namer"; // Dynamically update related variant fields // @@ -22,6 +23,7 @@ export default class VariantController extends Controller { [this.variantUnit, this.variantUnitScale, this.variantUnitName].forEach((element) => { element.addEventListener("change", this.#unitChanged.bind(this), { passive: true }); }); + this.variantUnitName.addEventListener("input", this.#unitChanged.bind(this), { passive: true }); // on unit_value_with_description changed; update unit_value and unit_description // on unit_value and/or unit_description changed; update display_as:placeholder and unit_to_display @@ -29,7 +31,8 @@ export default class VariantController extends Controller { passive: true, }); - // on display_as changed; update unit_to_display (how does this relate to unit_presentation?) + // on display_as changed; update unit_to_display + // TODO: optimise to avoid unnecessary OptionValueNamer calc this.displayAs.addEventListener("input", this.#updateUnitDisplay.bind(this), { passive: true }); } @@ -42,7 +45,6 @@ export default class VariantController extends Controller { // Extract variant_unit and variant_unit_scale from dropdown variant_unit_with_scale, // and update hidden product fields #unitChanged(event) { - //todo: deduplicate events. //Hmm in hindsight the logic in product_controller should be inn this controller already. then we can do everything in one event, and store the generated name in an instance variable. this.#extractUnitValues(); this.#updateUnitDisplay(); @@ -64,10 +66,21 @@ export default class VariantController extends Controller { // Update display_as placeholder and unit_to_display #updateUnitDisplay() { - // const unitDisplay = OptionValueNamer... - const unitDisplay = - this.unitValueWithDescription.value + " " + (this.variantUnitName.value || "~g"); //To Remove: DEMO only + const unitDisplay = new OptionValueNamer(this.#variant()).name(); this.displayAs.placeholder = unitDisplay; this.unitToDisplay.textContent = this.displayAs.value || unitDisplay; } + + // A representation of the variant model to satisfy OptionValueNamer. + #variant() { + return { + unit_value: parseFloat(this.unitValue.value), + unit_description: this.unitDescription.value, + product: { + variant_unit: this.variantUnit.value, + variant_unit_scale: parseFloat(this.variantUnitScale.value), + variant_unit_name: this.variantUnitName.value, + }, + }; + } } diff --git a/app/webpacker/js/services/option_value_namer.js b/app/webpacker/js/services/option_value_namer.js new file mode 100644 index 0000000000..48564fecb7 --- /dev/null +++ b/app/webpacker/js/services/option_value_namer.js @@ -0,0 +1,94 @@ +import VariantUnitManager from "js/services/variant_unit_manager"; + +// Javascript clone of VariantUnits::OptionValueNamer, for bulk product editing. +export default class OptionValueNamer { + constructor(variant) { + this.variant = variant; + } + + name() { + const [value, unit] = this.option_value_value_unit(); + const separator = this.value_scaled() ? '' : ' '; + const name_fields = []; + if (value && unit) { + name_fields.push(`${value}${separator}${unit}`); + } + if (this.variant.unit_description) { + name_fields.push(this.variant.unit_description); + } + return name_fields.join(' '); + } + + value_scaled() { + return !!this.variant.product.variant_unit_scale; + } + + option_value_value_unit() { + let value, unit_name; + if (this.variant.unit_value) { + if (this.variant.product.variant_unit === "weight" || this.variant.product.variant_unit === "volume") { + [value, unit_name] = this.option_value_value_unit_scaled(); + } else { + value = this.variant.unit_value; + unit_name = this.pluralize(this.variant.product.variant_unit_name, value); + } + if (value == parseInt(value, 10)) { + value = parseInt(value, 10); + } + } else { + value = unit_name = null; + } + return [value, unit_name]; + } + + pluralize(unit_name, count) { + if (count == null) { + return unit_name; + } + const unit_key = this.unit_key(unit_name); + if (!unit_key) { + return unit_name; + } + return I18n.t(["inflections", unit_key], { + count: count, + defaultValue: unit_name + }); + } + + unit_key(unit_name) { + if (!I18n.unit_keys) { + I18n.unit_keys = {}; + for (const [key, translations] of Object.entries(I18n.t("inflections"))) { + for (const [quantifier, translation] of Object.entries(translations)) { + I18n.unit_keys[translation.toLowerCase()] = key; + } + } + } + return I18n.unit_keys[unit_name.toLowerCase()]; + } + + option_value_value_unit_scaled() { + const [unit_scale, unit_name] = this.scale_for_unit_value(); + const value = Math.round((this.variant.unit_value / unit_scale) * 100) / 100; + return [value, unit_name]; + } + + scale_for_unit_value() { + // Find the largest available and compatible unit where unit_value comes + // to >= 1 when expressed in it. + // If there is none available where this is true, use the smallest + // available unit. + const product = this.variant.product; + const scales = VariantUnitManager.compatibleUnitScales(product.variant_unit_scale, product.variant_unit); + const variantUnitValue = this.variant.unit_value; + + // sets largestScale = last element in filtered scales array + const largestScale = scales.filter(s => variantUnitValue / s >= 1).slice(-1)[0]; + if (largestScale) { + return [largestScale, VariantUnitManager.getUnitName(largestScale, product.variant_unit)]; + } else { + return [scales[0], VariantUnitManager.getUnitName(scales[0], product.variant_unit)]; + } + } +} + diff --git a/app/webpacker/js/services/variant_unit_manager.js b/app/webpacker/js/services/variant_unit_manager.js new file mode 100644 index 0000000000..71859b2e30 --- /dev/null +++ b/app/webpacker/js/services/variant_unit_manager.js @@ -0,0 +1,93 @@ +// todo load availableUnits. Hmm why not just load from the dropdown? +export default class VariantUnitManager { + static availableUnits = 'g,kg,T,mL,L,gal,kL'; + // todo: load units from Ruby also? + static units = { + weight: { + 0.001: { + name: 'mg', + system: 'metric' + }, + 1.0: { + name: 'g', + system: 'metric' + }, + 1000.0: { + name: 'kg', + system: 'metric' + }, + 1000000.0: { + name: 'T', + system: 'metric' + }, + 453.6: { + name: 'lb', + system: 'imperial' + }, + 28.35: { + name: 'oz', + system: 'imperial' + } + }, + volume: { + 0.001: { + name: 'mL', + system: 'metric' + }, + 0.01: { + name: 'cL', + system: 'metric' + }, + 0.1: { + name: 'dL', + system: 'metric' + }, + 1.0: { + name: 'L', + system: 'metric' + }, + 1000.0: { + name: 'kL', + system: 'metric' + }, + 4.54609: { + name: 'gal', + system: 'metric' + } + }, + items: { + 1: { + name: 'items' + } + } + }; + + static getUnitName = (scale, unitType) => { + if (this.units[unitType][scale]) { + return this.units[unitType][scale]['name']; + } else { + return ''; + } + }; + + // filter by system and format + static compatibleUnitScales = (scale, unitType) => { + const scaleSystem = this.units[unitType][scale]['system']; + if (this.availableUnits) { + const available = this.availableUnits.split(","); + return Object.entries(this.units[unitType]) + .filter(([scale, scaleInfo]) => { + return scaleInfo['system'] == scaleSystem && available.includes(scaleInfo['name']); + }) + .map(([scale, _]) => parseFloat(scale)) + .sort((a, b) => a - b); + } else { + return Object.entries(this.units[unitType]) + .filter(([scale, scaleInfo]) => { + return scaleInfo['system'] == scaleSystem; + }) + .map(([scale, _]) => parseFloat(scale)) + .sort((a, b) => a - b); + } + }; +} diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index a7554c1121..c9b00987f6 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -258,23 +258,38 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do end end - it "saves a custom item unit name" do - within row_containing_name("Apples") do - tomselect_select "Items", from: "Unit scale" - fill_in "Items", with: "box" + describe "Changing unit scale" do + it "saves unit values using the new scale" do + within row_containing_name("Medium box") do + expect(page).to have_button "Unit", text: "1g" + end + within row_containing_name("Apples") do + tomselect_select "Weight (kg)", from: "Unit scale" + end + within row_containing_name("Medium box") do + # New scale is visible immediately + expect(page).to have_button "Unit", text: "1kg" + end end - expect { - click_button "Save changes" + it "saves a custom item unit name" do + within row_containing_name("Apples") do + tomselect_select "Items", from: "Unit scale" + fill_in "Items", with: "box" + end - expect(page).to have_content "Changes saved" - product_a.reload - }.to change{ product_a.variant_unit }.to("items") - .and change{ product_a.variant_unit_name }.to("box") + expect { + click_button "Save changes" - within row_containing_name("Apples") do - pending - expect(page).to have_content "Items (box)" + expect(page).to have_content "Changes saved" + product_a.reload + }.to change{ product_a.variant_unit }.to("items") + .and change{ product_a.variant_unit_name }.to("box") + + within row_containing_name("Apples") do + pending "#12005" + expect(page).to have_content "Items (box)" + end end end @@ -284,6 +299,10 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do within row_containing_name("Medium box") do click_on "Unit" # activate popout fill_in "Unit value", with: "1000 boxed" # 1000 grams + + find_field("Price").click # de-activate popout + # unit value has been parsed and displayed with unit + expect(page).to have_button "Unit", text: "1kg boxed" end expect { @@ -302,6 +321,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do it "saves a custom variant unit display name" do within row_containing_name("Medium box") do + click_on "Unit" # activate popout fill_in "Display unit as", with: "250g box" end @@ -313,8 +333,9 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do }.to change{ variant_a1.unit_to_display }.to("250g box") within row_containing_name("Medium box") do - expect(page).to have_field "Display unit as", with: "250g box" expect(page).to have_button "Unit", text: "250g box" + click_on "Unit" + expect(page).to have_field "Display unit as", with: "250g box" end end end From d238fc0cada86af74f8ded23297caad13b076ae2 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 25 Mar 2024 15:59:59 +1100 Subject: [PATCH 173/374] TODO: optimise and fix bug --- app/webpacker/controllers/bulk_form_controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/webpacker/controllers/bulk_form_controller.js b/app/webpacker/controllers/bulk_form_controller.js index 1f2aa80f0e..d5a84545dd 100644 --- a/app/webpacker/controllers/bulk_form_controller.js +++ b/app/webpacker/controllers/bulk_form_controller.js @@ -55,6 +55,7 @@ export default class BulkFormController extends Controller { toggleFormChanged() { // For each record, check if any fields are changed + // TODO: optimise basd on current state. if field is changed, but form already changed, no need to update (and vice versa) const changedRecordCount = Object.values(this.recordElements).filter((elements) => elements.some(this.#isChanged) ).length; @@ -73,7 +74,7 @@ export default class BulkFormController extends Controller { // Prevent accidental data loss if (formChanged) { - window.addEventListener("beforeunload", this.preventLeavingBulkForm); + window.addEventListener("beforeunload", this.preventLeavingBulkForm); // TOFIX: what if it has laredy been added? we can optimise above to avoid this } else { window.removeEventListener("beforeunload", this.preventLeavingBulkForm); } From 1d8ed67b0bd5657f62e6e689fd4d02fbc1bdaed6 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 21 Mar 2024 17:19:23 +1100 Subject: [PATCH 174/374] Handle unit scale changes As discussed, this is the desired behaviour. The current screen appears to do this, but fails to save the changes. --- app/views/admin/products_v3/_variant_row.html.haml | 2 +- app/webpacker/controllers/variant_controller.js | 2 +- spec/system/admin/products_v3/products_spec.rb | 12 ++++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index 73a1385f32..661776db96 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -19,7 +19,7 @@ = f.hidden_field :unit_description -# todo: create a method for value_with_description = f.text_field :unit_value_with_description, - value: [number_with_precision(variant.unit_value, precision: nil,strip_insignificant_zeros: true), variant.unit_description].compact_blank.join(" "), + value: [number_with_precision((variant.unit_value || 1) / (variant.product.variant_unit_scale || 1), precision: nil, strip_insignificant_zeros: true), variant.unit_description].compact_blank.join(" "), 'aria-label': t('admin.products_page.columns.unit_value'), required: true .field = f.label :display_as, t('admin.products_page.columns.display_as') diff --git a/app/webpacker/controllers/variant_controller.js b/app/webpacker/controllers/variant_controller.js index 1ab401163a..07780e2531 100644 --- a/app/webpacker/controllers/variant_controller.js +++ b/app/webpacker/controllers/variant_controller.js @@ -57,7 +57,7 @@ export default class VariantController extends Controller { if (match) { let unit_value = parseFloat(match[1].replace(",", ".")); unit_value = isNaN(unit_value) ? null : unit_value; - unit_value *= this.variantUnitScale.value ? this.variantUnitScale.value : 1; + unit_value *= this.variantUnitScale.value ? this.variantUnitScale.value : 1; // Normalise to default scale this.unitValue.value = unit_value; this.unitDescription.value = match[3]; diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index c9b00987f6..1d1674459b 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -270,6 +270,18 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do # New scale is visible immediately expect(page).to have_button "Unit", text: "1kg" end + + click_button "Save changes" + + expect(page).to have_content "Changes saved" + product_a.reload + expect(product_a.variant_unit).to eq "weight" + expect(product_a.variant_unit_scale).to eq 1000 # kg + expect(variant_a1.reload.unit_value).to eq 1000 # 1kg + + within row_containing_name("Medium box") do + expect(page).to have_button "Unit", text: "1kg" + end end it "saves a custom item unit name" do From 924701e1615be1febe94582adcc510b74acd2a84 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 26 Mar 2024 17:12:26 +1100 Subject: [PATCH 175/374] Load available units from system config I'm not sure what's the best way to load data into javascript.. this works. --- app/views/admin/products_v3/index.html.haml | 3 + app/views/admin/shared/_global_var_ofn.js.erb | 1 + .../js/services/option_value_namer.js | 7 +- .../js/services/variant_unit_manager.js | 112 +++++------------- 4 files changed, 37 insertions(+), 86 deletions(-) create mode 100644 app/views/admin/shared/_global_var_ofn.js.erb diff --git a/app/views/admin/products_v3/index.html.haml b/app/views/admin/products_v3/index.html.haml index 52ca21def8..f6d3be9f81 100644 --- a/app/views/admin/products_v3/index.html.haml +++ b/app/views/admin/products_v3/index.html.haml @@ -8,6 +8,9 @@ %li#new_product_link = button_link_to t(:new_product), "/admin/products/new", { :icon => 'icon-plus', :id => 'admin_new_product' } +%script= render partial: "admin/shared/global_var_ofn", formats: :js, + locals: { name: :available_units_sorted, value: WeightsAndMeasures.available_units_sorted } + = render partial: 'spree/admin/shared/product_sub_menu' #products_v3_page{ "data-controller": "products" } diff --git a/app/views/admin/shared/_global_var_ofn.js.erb b/app/views/admin/shared/_global_var_ofn.js.erb new file mode 100644 index 0000000000..7f897536b0 --- /dev/null +++ b/app/views/admin/shared/_global_var_ofn.js.erb @@ -0,0 +1 @@ +var ofn_<%= name %> = <%= value.to_json.html_safe %>; diff --git a/app/webpacker/js/services/option_value_namer.js b/app/webpacker/js/services/option_value_namer.js index 48564fecb7..dbf74a0dbe 100644 --- a/app/webpacker/js/services/option_value_namer.js +++ b/app/webpacker/js/services/option_value_namer.js @@ -4,6 +4,7 @@ import VariantUnitManager from "js/services/variant_unit_manager"; export default class OptionValueNamer { constructor(variant) { this.variant = variant; + this.variantUnitManager = new VariantUnitManager(); } name() { @@ -79,15 +80,15 @@ export default class OptionValueNamer { // If there is none available where this is true, use the smallest // available unit. const product = this.variant.product; - const scales = VariantUnitManager.compatibleUnitScales(product.variant_unit_scale, product.variant_unit); + const scales = this.variantUnitManager.compatibleUnitScales(product.variant_unit_scale, product.variant_unit); const variantUnitValue = this.variant.unit_value; // sets largestScale = last element in filtered scales array const largestScale = scales.filter(s => variantUnitValue / s >= 1).slice(-1)[0]; if (largestScale) { - return [largestScale, VariantUnitManager.getUnitName(largestScale, product.variant_unit)]; + return [largestScale, this.variantUnitManager.getUnitName(largestScale, product.variant_unit)]; } else { - return [scales[0], VariantUnitManager.getUnitName(scales[0], product.variant_unit)]; + return [scales[0], this.variantUnitManager.getUnitName(scales[0], product.variant_unit)]; } } } diff --git a/app/webpacker/js/services/variant_unit_manager.js b/app/webpacker/js/services/variant_unit_manager.js index 71859b2e30..b9aa344992 100644 --- a/app/webpacker/js/services/variant_unit_manager.js +++ b/app/webpacker/js/services/variant_unit_manager.js @@ -1,68 +1,11 @@ -// todo load availableUnits. Hmm why not just load from the dropdown? -export default class VariantUnitManager { - static availableUnits = 'g,kg,T,mL,L,gal,kL'; - // todo: load units from Ruby also? - static units = { - weight: { - 0.001: { - name: 'mg', - system: 'metric' - }, - 1.0: { - name: 'g', - system: 'metric' - }, - 1000.0: { - name: 'kg', - system: 'metric' - }, - 1000000.0: { - name: 'T', - system: 'metric' - }, - 453.6: { - name: 'lb', - system: 'imperial' - }, - 28.35: { - name: 'oz', - system: 'imperial' - } - }, - volume: { - 0.001: { - name: 'mL', - system: 'metric' - }, - 0.01: { - name: 'cL', - system: 'metric' - }, - 0.1: { - name: 'dL', - system: 'metric' - }, - 1.0: { - name: 'L', - system: 'metric' - }, - 1000.0: { - name: 'kL', - system: 'metric' - }, - 4.54609: { - name: 'gal', - system: 'metric' - } - }, - items: { - 1: { - name: 'items' - } - } - }; +// Requires global variable from page: ofn_available_units_sorted - static getUnitName = (scale, unitType) => { +export default class VariantUnitManager { + constructor() { + this.units = this.#loadUnits(ofn_available_units_sorted); + } + + getUnitName(scale, unitType) { if (this.units[unitType][scale]) { return this.units[unitType][scale]['name']; } else { @@ -70,24 +13,27 @@ export default class VariantUnitManager { } }; - // filter by system and format - static compatibleUnitScales = (scale, unitType) => { + // Filter by measurement system + compatibleUnitScales(scale, unitType) { const scaleSystem = this.units[unitType][scale]['system']; - if (this.availableUnits) { - const available = this.availableUnits.split(","); - return Object.entries(this.units[unitType]) - .filter(([scale, scaleInfo]) => { - return scaleInfo['system'] == scaleSystem && available.includes(scaleInfo['name']); - }) - .map(([scale, _]) => parseFloat(scale)) - .sort((a, b) => a - b); - } else { - return Object.entries(this.units[unitType]) - .filter(([scale, scaleInfo]) => { - return scaleInfo['system'] == scaleSystem; - }) - .map(([scale, _]) => parseFloat(scale)) - .sort((a, b) => a - b); - } - }; + + return Object.entries(this.units[unitType]) + .filter(([scale, scaleInfo]) => { + return scaleInfo['system'] == scaleSystem; + }) + .map(([scale, _]) => scale); + } + + // private + + #loadUnits(units) { + // Transform unit scale to a JS Number for compatibility. This would be way simpler in Ruby or Coffeescript!! + const unitsTransformed = Object.entries(units).map(([measurement, measurementInfo]) => { + const measurementInfoTransformed = Object.fromEntries(Object.entries(measurementInfo).map(([scale, unitInfo]) => + [ parseFloat(scale), unitInfo ] + )); + return [ measurement, measurementInfoTransformed ]; + }); + return Object.fromEntries(unitsTransformed); + } } From 11b8a012204f539a051359b9d84931863060aeb0 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 27 Mar 2024 16:08:42 +1100 Subject: [PATCH 176/374] Move Jest config to a file With the help of 'jest --init' I didn't end up using this, but it seems worth keeping config out of package.json --- jest.config.js | 195 +++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 8 -- 2 files changed, 195 insertions(+), 8 deletions(-) create mode 100644 jest.config.js diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 0000000000..4c914cf1f8 --- /dev/null +++ b/jest.config.js @@ -0,0 +1,195 @@ +/* + * For a detailed explanation regarding each configuration property, visit: + * https://jestjs.io/docs/configuration + */ + +module.exports = { + // All imported modules in your tests should be mocked automatically + // automock: false, + + // Stop running tests after `n` failures + // bail: 0, + + // The directory where Jest should store its cached dependency information + // cacheDirectory: "/private/var/folders/hf/7hdgr3v5369_b_j_0tj22d5r0000gn/T/jest_dx", + + // Automatically clear mock calls, instances and results before every test + // clearMocks: true, + + // Indicates whether the coverage information should be collected while executing the test + // collectCoverage: false, + + // An array of glob patterns indicating a set of files for which coverage information should be collected + // collectCoverageFrom: undefined, + + // The directory where Jest should output its coverage files + // coverageDirectory: undefined, + + // An array of regexp pattern strings used to skip coverage collection + // coveragePathIgnorePatterns: [ + // "/node_modules/" + // ], + + // Indicates which provider should be used to instrument code for coverage + // coverageProvider: "v8", + + // A list of reporter names that Jest uses when writing coverage reports + // coverageReporters: [ + // "json", + // "text", + // "lcov", + // "clover" + // ], + + // An object that configures minimum threshold enforcement for coverage results + // coverageThreshold: undefined, + + // A path to a custom dependency extractor + // dependencyExtractor: undefined, + + // Make calling deprecated APIs throw helpful error messages + // errorOnDeprecated: false, + + // Force coverage collection from ignored files using an array of glob patterns + // forceCoverageMatch: [], + + // A path to a module which exports an async function that is triggered once before all test suites + // globalSetup: undefined, + + // A path to a module which exports an async function that is triggered once after all test suites + // globalTeardown: undefined, + + // A set of global variables that need to be available in all test environments + // globals: {}, + + // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers. + // maxWorkers: "50%", + + // An array of directory names to be searched recursively up from the requiring module's location + // moduleDirectories: [ + // "node_modules" + // ], + + // An array of file extensions your modules use + // moduleFileExtensions: [ + // "js", + // "jsx", + // "ts", + // "tsx", + // "json", + // "node" + // ], + + // A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module + // moduleNameMapper: {}, + + // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader + // modulePathIgnorePatterns: [], + + // Activates notifications for test results + // notify: false, + + // An enum that specifies notification mode. Requires { notify: true } + // notifyMode: "failure-change", + + // A preset that is used as a base for Jest's configuration + // preset: undefined, + + // Run tests from one or more projects + // projects: undefined, + + // Use this configuration option to add custom reporters to Jest + // reporters: undefined, + + // Automatically reset mock state before every test + // resetMocks: false, + + // Reset the module registry before running each individual test + // resetModules: false, + + // A path to a custom resolver + // resolver: undefined, + + // Automatically restore mock state and implementation before every test + // restoreMocks: false, + + // The root directory that Jest should scan for tests and modules within + // rootDir: undefined, + + // A list of paths to directories that Jest should use to search for files in + // roots: [ + // "" + // ], + + // Allows you to use a custom runner instead of Jest's default test runner + // runner: "jest-runner", + + // The paths to modules that run some code to configure or set up the testing environment before each test + // setupFiles: [], + + // A list of paths to modules that run some code to configure or set up the testing framework before each test + // setupFilesAfterEnv: [], + + // The number of seconds after which a test is considered as slow and reported as such in the results. + // slowTestThreshold: 5, + + // A list of paths to snapshot serializer modules Jest should use for snapshot testing + // snapshotSerializers: [], + + // The test environment that will be used for testing + // testEnvironment: "jest-environment-node", + + // Options that will be passed to the testEnvironment + // testEnvironmentOptions: {}, + + // Adds a location field to test results + // testLocationInResults: false, + + // The glob patterns Jest uses to detect test files + // testMatch: [ + // "**/__tests__/**/*.[jt]s?(x)", + // "**/?(*.)+(spec|test).[tj]s?(x)" + // ], + + // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped + // testPathIgnorePatterns: [ + // "/node_modules/" + // ], + + // The regexp pattern or array of patterns that Jest uses to detect test files + "testRegex": [ + "spec/javascripts/.*_test\\.js" + ], + + // This option allows the use of a custom results processor + // testResultsProcessor: undefined, + + // This option allows use of a custom test runner + // testRunner: "jest-circus/runner", + + // This option sets the URL for the jsdom environment. It is reflected in properties such as location.href + // testURL: "http://localhost", + + // Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout" + // timers: "real", + + // A map from regular expressions to paths to transformers + // transform: undefined, + + // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation + "transformIgnorePatterns": [ + "/node_modules/(?!(stimulus)/)" + ] + + // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them + // unmockedModulePathPatterns: undefined, + + // Indicates whether each individual test should be reported during the run + // verbose: undefined, + + // An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode + // watchPathIgnorePatterns: [], + + // Whether to use watchman for file crawling + // watchman: true, +}; diff --git a/package.json b/package.json index 293ef5f81c..b8d1c47bf2 100644 --- a/package.json +++ b/package.json @@ -9,14 +9,6 @@ "scripts": { "pretty-quick": "pretty-quick" }, - "jest": { - "testRegex": [ - "spec/javascripts/.*_test\\.js" - ], - "transformIgnorePatterns": [ - "/node_modules/(?!(stimulus)/)" - ] - }, "dependencies": { "@floating-ui/dom": "^1.6.3", "@hotwired/turbo": "^8.0.4", From b2881bb169fee05a901466d8c5d3f80d6b1e547c Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 27 Mar 2024 16:35:04 +1100 Subject: [PATCH 177/374] Add JS specs Converted using https://www.codeconvert.ai/coffeescript-to-javascript-converter With plenty of manual fixes required too.. --- .../js/services/option_value_namer.js | 3 +- .../js/services/variant_unit_manager.js | 2 +- .../services/option_value_namer_test.js | 157 ++++++++++++++++++ .../services/variant_unit_manager_test.js | 71 ++++++++ 4 files changed, 231 insertions(+), 2 deletions(-) create mode 100644 spec/javascripts/services/option_value_namer_test.js create mode 100644 spec/javascripts/services/variant_unit_manager_test.js diff --git a/app/webpacker/js/services/option_value_namer.js b/app/webpacker/js/services/option_value_namer.js index dbf74a0dbe..5bc10220ce 100644 --- a/app/webpacker/js/services/option_value_namer.js +++ b/app/webpacker/js/services/option_value_namer.js @@ -1,4 +1,4 @@ -import VariantUnitManager from "js/services/variant_unit_manager"; +import VariantUnitManager from "../../js/services/variant_unit_manager"; // Javascript clone of VariantUnits::OptionValueNamer, for bulk product editing. export default class OptionValueNamer { @@ -70,6 +70,7 @@ export default class OptionValueNamer { option_value_value_unit_scaled() { const [unit_scale, unit_name] = this.scale_for_unit_value(); + const value = Math.round((this.variant.unit_value / unit_scale) * 100) / 100; return [value, unit_name]; } diff --git a/app/webpacker/js/services/variant_unit_manager.js b/app/webpacker/js/services/variant_unit_manager.js index b9aa344992..13f963bdb6 100644 --- a/app/webpacker/js/services/variant_unit_manager.js +++ b/app/webpacker/js/services/variant_unit_manager.js @@ -21,7 +21,7 @@ export default class VariantUnitManager { .filter(([scale, scaleInfo]) => { return scaleInfo['system'] == scaleSystem; }) - .map(([scale, _]) => scale); + .map(([scale, _]) => parseFloat(scale)); } // private diff --git a/spec/javascripts/services/option_value_namer_test.js b/spec/javascripts/services/option_value_namer_test.js new file mode 100644 index 0000000000..b8535d488e --- /dev/null +++ b/spec/javascripts/services/option_value_namer_test.js @@ -0,0 +1,157 @@ +/** + * @jest-environment jsdom + */ + +import OptionValueNamer from "../../../app/webpacker/js/services/option_value_namer"; + +describe("OptionValueNamer", () => { + beforeAll(() => { + // Requires global var from page + global.ofn_available_units_sorted = {"weight":{"1.0":{"name":"g","system":"metric"},"1000.0":{"name":"kg","system":"metric"},"1000000.0":{"name":"T","system":"metric"}},"volume":{"0.001":{"name":"mL","system":"metric"},"1.0":{"name":"L","system":"metric"},"4.54609":{"name":"gal","system":"imperial"},"1000.0":{"name":"kL","system":"metric"}}}; + }) + + describe("generating option value name", function() { + var v, namer; + beforeEach(function() { + v = {}; + var ofn_available_units_sorted = ofn_available_units_sorted; + namer = new OptionValueNamer(v); + }); + + it("when description is blank", function() { + v.unit_description = null; + jest.spyOn(namer, "value_scaled").mockImplementation(() => true); + jest.spyOn(namer, "option_value_value_unit").mockImplementation(() => ["value", "unit"]); + expect(namer.name()).toBe("valueunit"); + }); + + it("when description is present", function() { + v.unit_description = 'desc'; + jest.spyOn(namer, "option_value_value_unit").mockImplementation(() => ["value", "unit"]); + jest.spyOn(namer, "value_scaled").mockImplementation(() => true); + expect(namer.name()).toBe("valueunit desc"); + }); + + it("when value is blank and description is present", function() { + v.unit_description = 'desc'; + jest.spyOn(namer, "option_value_value_unit").mockImplementation(() => [null, null]); + jest.spyOn(namer, "value_scaled").mockImplementation(() => true); + expect(namer.name()).toBe("desc"); + }); + + it("spaces value and unit when value is unscaled", function() { + v.unit_description = null; + jest.spyOn(namer, "option_value_value_unit").mockImplementation(() => ["value", "unit"]); + jest.spyOn(namer, "value_scaled").mockImplementation(() => false); + expect(namer.name()).toBe("value unit"); + }); + + describe("determining if a variant's value is scaled", function() { + var p; + beforeEach(function() { + p = {}; + v = { product: p }; + namer = new OptionValueNamer(v); + }); + it("returns true when the product has a scale", function() { + p.variant_unit_scale = 1000; + expect(namer.value_scaled()).toBe(true); + }); + it("returns false otherwise", function() { + expect(namer.value_scaled()).toBe(false); + }); + }); + + describe("generating option value's value and unit", function() { + var v, p, namer; + + // Mock I18n. TODO: moved to a shared helper + beforeAll(() => { + const mockedT = jest.fn(); + mockedT.mockImplementation((string, opts) => (string + ', ' + JSON.stringify(opts))); + + global.I18n = { t: mockedT }; + }) + // (jest still doesn't have aroundEach https://github.com/jestjs/jest/issues/4543 ) + afterAll(() => { + delete global.I18n; + }) + + beforeEach(function() { + p = {}; + v = { product: p }; + namer = new OptionValueNamer(v); + }); + it("generates simple values", function() { + p.variant_unit = 'weight'; + p.variant_unit_scale = 1.0; + v.unit_value = 100; + expect(namer.option_value_value_unit()).toEqual([100, 'g']); + }); + it("generates values when unit value is non-integer", function() { + p.variant_unit = 'weight'; + p.variant_unit_scale = 1.0; + v.unit_value = 123.45; + expect(namer.option_value_value_unit()).toEqual([123.45, 'g']); + }); + it("returns a value of 1 when unit value equals the scale", function() { + p.variant_unit = 'weight'; + p.variant_unit_scale = 1000.0; + v.unit_value = 1000.0; + expect(namer.option_value_value_unit()).toEqual([1, 'kg']); + }); + it("generates values for all weight scales", function() { + [[1.0, 'g'], [1000.0, 'kg'], [1000000.0, 'T']].forEach(([scale, unit]) => { + p.variant_unit = 'weight'; + p.variant_unit_scale = scale; + v.unit_value = 100 * scale; + expect(namer.option_value_value_unit()).toEqual([100, unit]); + }); + }); + it("generates values for all volume scales", function() { + [[0.001, 'mL'], [1.0, 'L'], [1000.0, 'kL']].forEach(([scale, unit]) => { + p.variant_unit = 'volume'; + p.variant_unit_scale = scale; + v.unit_value = 100 * scale; + expect(namer.option_value_value_unit()).toEqual([100, unit]); + }); + }); + it("generates right values for volume with rounded values", function() { + var unit; + unit = 'L'; + p.variant_unit = 'volume'; + p.variant_unit_scale = 1.0; + v.unit_value = 0.7; + expect(namer.option_value_value_unit()).toEqual([700, 'mL']); + }); + it("chooses the correct scale when value is very small", function() { + p.variant_unit = 'volume'; + p.variant_unit_scale = 0.001; + v.unit_value = 0.0001; + expect(namer.option_value_value_unit()).toEqual([0.1, 'mL']); + }); + it("generates values for item units", function() { + //TODO + // %w(packet box).each do |unit| + // p = double(:product, variant_unit: 'items', variant_unit_scale: nil, variant_unit_name: unit) + // v.stub(:product) { p } + // v.stub(:unit_value) { 100 } + // subject.option_value_value_unit.should == [100, unit.pluralize] + }); + it("generates singular values for item units when value is 1", function() { + p.variant_unit = 'items'; + p.variant_unit_scale = null; + p.variant_unit_name = 'packet'; + v.unit_value = 1; + expect(namer.option_value_value_unit()).toEqual([1, 'packet']); + }); + it("returns [null, null] when unit value is not set", function() { + p.variant_unit = 'items'; + p.variant_unit_scale = null; + p.variant_unit_name = 'foo'; + v.unit_value = null; + expect(namer.option_value_value_unit()).toEqual([null, null]); + }); + }); + }); +}); diff --git a/spec/javascripts/services/variant_unit_manager_test.js b/spec/javascripts/services/variant_unit_manager_test.js new file mode 100644 index 0000000000..3e1777b30b --- /dev/null +++ b/spec/javascripts/services/variant_unit_manager_test.js @@ -0,0 +1,71 @@ +/** + * @jest-environment jsdom + */ + +import VariantUnitManager from "../../../app/webpacker/js/services/variant_unit_manager"; + +describe("VariantUnitManager", function() { + let subject; + + describe("with default units", function() { + beforeAll(() => { + // Requires global var from page + global.ofn_available_units_sorted = { + "weight":{ + "1.0":{"name":"g","system":"metric"},"28.35":{"name":"oz","system":"imperial"},"453.6":{"name":"lb","system":"imperial"},"1000.0":{"name":"kg","system":"metric"},"1000000.0":{"name":"T","system":"metric"} + }, + "volume":{ + "0.001":{"name":"mL","system":"metric"},"1.0":{"name":"L","system":"metric"},"1000.0":{"name":"kL","system":"metric"} + }, + }; + }) + beforeEach(() => { + subject = new VariantUnitManager(); + }) + + describe("getUnitName", function() { + it("returns the unit name based on the scale and unit type (weight/volume) provided", function() { + expect(subject.getUnitName(1, "weight")).toEqual("g"); + expect(subject.getUnitName(1000, "weight")).toEqual("kg"); + expect(subject.getUnitName(1000000, "weight")).toEqual("T"); + expect(subject.getUnitName(0.001, "volume")).toEqual("mL"); + expect(subject.getUnitName(1, "volume")).toEqual("L"); + expect(subject.getUnitName(1000, "volume")).toEqual("kL"); + expect(subject.getUnitName(453.6, "weight")).toEqual("lb"); + expect(subject.getUnitName(28.35, "weight")).toEqual("oz"); + }); + }); + + describe("compatibleUnitScales", function() { + it("returns a sorted set of compatible scales based on the scale and unit type provided", function() { + expect(subject.compatibleUnitScales(1, "weight")).toEqual([1.0, 1000.0, 1000000.0]); + expect(subject.compatibleUnitScales(453.6, "weight")).toEqual([28.35, 453.6]); + }); + }); + }); + + describe("should only load available units", function() { + beforeAll(() => { + // Available units: "g,T,mL,L,kL,lb" + global.ofn_available_units_sorted = { + "weight":{ + "1.0":{"name":"g","system":"metric"},"453.6":{"name":"lb","system":"imperial"},"1000000.0":{"name":"T","system":"metric"} + }, + "volume":{ + "0.001":{"name":"mL","system":"metric"},"1.0":{"name":"L","system":"metric"},"1000.0":{"name":"kL","system":"metric"} + }, + }; + }) + beforeEach(() => { + subject = new VariantUnitManager(); + }) + + describe("compatibleUnitScales", function() { + it("returns a sorted set of compatible scales based on the scale and unit type provided", function() { + expect(subject.compatibleUnitScales(1, "weight")).toEqual([1.0, 1000000.0]); + expect(subject.compatibleUnitScales(453.6, "weight")).toEqual([453.6]); + }); + }); + }); +}); + From 99121943a7fc23277374f05c3da853b77415ff68 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 27 Mar 2024 20:13:59 +1100 Subject: [PATCH 178/374] Fix bug I missed a bit in a refactor, and it wasn't covered by the spec. --- app/webpacker/js/services/variant_unit_manager.js | 3 ++- spec/javascripts/services/variant_unit_manager_test.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/webpacker/js/services/variant_unit_manager.js b/app/webpacker/js/services/variant_unit_manager.js index 13f963bdb6..1711025fcd 100644 --- a/app/webpacker/js/services/variant_unit_manager.js +++ b/app/webpacker/js/services/variant_unit_manager.js @@ -21,7 +21,8 @@ export default class VariantUnitManager { .filter(([scale, scaleInfo]) => { return scaleInfo['system'] == scaleSystem; }) - .map(([scale, _]) => parseFloat(scale)); + .map(([scale, _]) => parseFloat(scale)) + .sort(); } // private diff --git a/spec/javascripts/services/variant_unit_manager_test.js b/spec/javascripts/services/variant_unit_manager_test.js index 3e1777b30b..cfd9c6f376 100644 --- a/spec/javascripts/services/variant_unit_manager_test.js +++ b/spec/javascripts/services/variant_unit_manager_test.js @@ -40,6 +40,7 @@ describe("VariantUnitManager", function() { it("returns a sorted set of compatible scales based on the scale and unit type provided", function() { expect(subject.compatibleUnitScales(1, "weight")).toEqual([1.0, 1000.0, 1000000.0]); expect(subject.compatibleUnitScales(453.6, "weight")).toEqual([28.35, 453.6]); + expect(subject.compatibleUnitScales(0.001, "volume")).toEqual([0.001, 1.0, 1000.0]); }); }); }); From b9b2c876cc75324872b0228ef41807a41e374d87 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 27 Mar 2024 17:18:05 +1100 Subject: [PATCH 179/374] Ensure value always shows Even thought it's not valid (you can't save items with an empty name), it's disconcerting when the value suddenly disappears from view. --- app/webpacker/js/services/option_value_namer.js | 3 +++ spec/javascripts/services/option_value_namer_test.js | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/app/webpacker/js/services/option_value_namer.js b/app/webpacker/js/services/option_value_namer.js index 5bc10220ce..ba4b12fd96 100644 --- a/app/webpacker/js/services/option_value_namer.js +++ b/app/webpacker/js/services/option_value_namer.js @@ -13,7 +13,10 @@ export default class OptionValueNamer { const name_fields = []; if (value && unit) { name_fields.push(`${value}${separator}${unit}`); + } else if (value) { + name_fields.push(value); } + if (this.variant.unit_description) { name_fields.push(this.variant.unit_description); } diff --git a/spec/javascripts/services/option_value_namer_test.js b/spec/javascripts/services/option_value_namer_test.js index b8535d488e..e7878adae1 100644 --- a/spec/javascripts/services/option_value_namer_test.js +++ b/spec/javascripts/services/option_value_namer_test.js @@ -18,6 +18,12 @@ describe("OptionValueNamer", () => { namer = new OptionValueNamer(v); }); + it("when unit is blank (empty items name)", function() { + jest.spyOn(namer, "value_scaled").mockImplementation(() => true); + jest.spyOn(namer, "option_value_value_unit").mockImplementation(() => ["value", ""]); + expect(namer.name()).toBe("value"); + }); + it("when description is blank", function() { v.unit_description = null; jest.spyOn(namer, "value_scaled").mockImplementation(() => true); From 266e94eba8306abaf84781879eab1374eaaff0a3 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 27 Mar 2024 17:45:31 +1100 Subject: [PATCH 180/374] Fixup spec --- spec/system/admin/products_v3/products_spec.rb | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 1d1674459b..df24a79483 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -462,11 +462,15 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do within new_variant_row do fill_in "Name", with: "Large box" fill_in "SKU", with: "APL-02" - fill_in "Unit", with: 1000 + + click_on "Unit" # activate popout + fill_in "Unit value", with: "1000" + fill_in "Price", with: 10.25 + click_on "On Hand" # activate popout + fill_in "On Hand", with: "3" end - fill_in "On Hand", with: "3" expect { click_button "Save changes" @@ -502,7 +506,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do within new_variant_row do fill_in "Name", with: "N" * 256 # too long fill_in "SKU", with: "n" * 256 - fill_in "Unit", with: "" # can't be blank + # didn't fill_in "Unit", can't be blank fill_in "Price", with: "10.25" # valid end end @@ -528,7 +532,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_field "Name", with: "N" * 256 expect(page).to have_field "SKU", with: "n" * 256 expect(page).to have_content "is too long" - expect(page).to have_field "Unit", with: "" + expect(page.find_button("Unit")).to have_text "" # have_button selector don't work here expect(page).to have_content "can't be blank" expect(page).to have_field "Price", with: "10.25" # other updated value is retained end @@ -551,7 +555,9 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do within row_containing_name("N" * 256) do fill_in "Name", with: "Nice box" fill_in "SKU", with: "APL-02" - fill_in "Unit", with: "200" + + click_on "Unit" # activate popout + fill_in "Unit value", with: "200" end expect { From 1fd4c83cf10ebcc6fa665f26f0fada7f6720f3f2 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Sun, 17 Mar 2024 13:22:01 +0000 Subject: [PATCH 181/374] Replaces fake with real client_it Replaces stubs on Stripe Account Controller --- .../admin/stripe_accounts_controller_spec.rb | 75 +-- .../redirects_to_unauthorized.yml | 233 +++++++++ .../redirects_to_unauthorized.yml | 235 +++++++++ .../redirects_to_unauthorized.yml | 235 +++++++++ ...turns_with_a_status_of_access_revoked_.yml | 305 ++++++++++++ .../returns_with_a_status_of_connected_.yml | 463 ++++++++++++++++++ 6 files changed, 1510 insertions(+), 36 deletions(-) create mode 100644 spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml create mode 100644 spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml create mode 100644 spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml create mode 100644 spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml create mode 100644 spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml diff --git a/spec/controllers/admin/stripe_accounts_controller_spec.rb b/spec/controllers/admin/stripe_accounts_controller_spec.rb index b5b0683c73..3fa3c09052 100644 --- a/spec/controllers/admin/stripe_accounts_controller_spec.rb +++ b/spec/controllers/admin/stripe_accounts_controller_spec.rb @@ -5,12 +5,11 @@ require 'spec_helper' describe Admin::StripeAccountsController, type: :controller do let(:enterprise) { create(:distributor_enterprise) } - before do - Stripe.client_id = "some_id" - end - describe "#connect" do + let(:client_id) { ENV.fetch('STRIPE_CLIENT_ID', nil) } + before do + Stripe.client_id = client_id allow(controller).to receive(:spree_current_user) { enterprise.owner } end @@ -21,12 +20,12 @@ describe Admin::StripeAccountsController, type: :controller do expect(response).to redirect_to("https://connect.stripe.com/oauth/authorize?" \ "state=eyJhbGciOiJIUzI1NiJ9.eyJlbnRlcnByaXNlX2lkIjoiMSJ9" \ ".jSSFGn0bLhwuiQYK5ORmHWW7aay1l030bcfGwn1JbFg&" \ - "scope=read_write&client_id=some_id&response_type=code") + "scope=read_write&client_id=#{client_id}&response_type=code") end end describe "#destroy" do - let(:params) { { format: :json, id: "some_id" } } + let(:params) { { format: :json, id: "client_id" } } context "when the specified stripe account doesn't exist" do it "raises an error?" do @@ -34,8 +33,18 @@ describe Admin::StripeAccountsController, type: :controller do end end - context "when the specified stripe account exists" do - let(:stripe_account) { create(:stripe_account, enterprise:) } + context "when the specified stripe account exists", :vcr, :stripe_version do + let(:connected_account) do + Stripe::Account.create({ + type: 'standard', + country: 'AU', + email: 'jumping.jack@example.com', + business_type: "non_profit" + }) + end + let(:stripe_account) { + create(:stripe_account, enterprise:, stripe_user_id: connected_account.id) + } before do # So that we can stub #deauthorize_and_destroy @@ -83,11 +92,6 @@ describe Admin::StripeAccountsController, type: :controller do describe "#status" do let(:params) { { format: :json, enterprise_id: enterprise.id } } - before do - Stripe.api_key = "sk_test_12345" - allow(Spree::Config).to receive(:stripe_connect_enabled).and_return(false) - end - context "when I don't manage the specified enterprise" do let(:user) { create(:user) } @@ -125,45 +129,44 @@ describe Admin::StripeAccountsController, type: :controller do end end - context "when a stripe account is associated with the specified enterprise" do + context "when a stripe account is associated with the specified enterprise", :vcr, + :stripe_version do + let(:connected_account) do + Stripe::Account.create({ + type: 'standard', + country: 'AU', + email: 'jumping.jack@example.com', + business_type: "non_profit" + }) + end let!(:account) { - create(:stripe_account, stripe_user_id: "acc_123", enterprise:) + create(:stripe_account, stripe_user_id: connected_account.id, enterprise:) } context "but access has been revoked or does not exist on stripe's servers" do + let(:message) { + "The provided key 'sk_test_******************************uCJm' " \ + "does not have access to account 'acct_fake_account' (or that account " \ + "does not exist). Application access may have been revoked." + } before do - stub_request(:get, - "https://api.stripe.com/v1/accounts/acc_123").to_return(status: 404) + account.update(stripe_user_id: "acct_fake_account") end it "returns with a status of 'access_revoked'" do - get(:status, params:) - json_response = JSON.parse(response.body) - expect(json_response["status"]).to eq "access_revoked" + expect { + response = get(:status, params:) + }.to raise_error Stripe::PermissionError, message end end context "which is connected" do - let(:stripe_account_mock) do - { - id: "acc_123", - business_name: "My Org", - charges_enabled: true, - some_other_attr: "something" - } - end - - before do - stub_request(:get, "https://api.stripe.com/v1/accounts/acc_123") - .to_return(body: JSON.generate(stripe_account_mock)) - end - it "returns with a status of 'connected'" do - get(:status, params:) + response = get(:status, params:) json_response = JSON.parse(response.body) expect(json_response["status"]).to eq "connected" # serializes required attrs - expect(json_response["business_name"]).to eq "My Org" + expect(json_response["charges_enabled"]).to eq false # ignores other attrs expect(json_response["some_other_attr"]).to be nil end diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml new file mode 100644 index 0000000000..625086f75b --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml @@ -0,0 +1,233 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.10.0 + Authorization: + - Bearer + Content-Type: + - application/x-www-form-urlencoded + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Sun, 17 Mar 2024 13:21:06 GMT + Content-Type: + - application/json + Content-Length: + - '3527' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report + Idempotency-Key: + - 153e797a-47b7-4f48-a0f8-cd8c39bf619d + Original-Request: + - req_zfQDRPw4pwuL9V + Request-Id: + - req_zfQDRPw4pwuL9V + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1OvJe8QKz09hVwk6", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": "non_profit", + "capabilities": {}, + "charges_enabled": false, + "company": { + "address": { + "city": null, + "country": "AU", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "directors_provided": false, + "executives_provided": false, + "name": null, + "owners_provided": false, + "tax_id_provided": false, + "verification": { + "document": { + "back": null, + "details": null, + "details_code": null, + "front": null + } + } + }, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1710681665, + "default_currency": "aud", + "details_submitted": false, + "email": "jumping.jack@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1OvJe8QKz09hVwk6/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Sun, 17 Mar 2024 13:21:06 GMT +recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml new file mode 100644 index 0000000000..a05bd4b392 --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml @@ -0,0 +1,235 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.10.0 + Authorization: + - Bearer + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_Kn4sy7JqIW8lyd","request_duration_ms":1966}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Sun, 17 Mar 2024 13:21:10 GMT + Content-Type: + - application/json + Content-Length: + - '3527' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report + Idempotency-Key: + - 465ce517-9c88-45fc-a4ae-ec6fea3ed101 + Original-Request: + - req_a6vV2cQ3GJ5sRJ + Request-Id: + - req_a6vV2cQ3GJ5sRJ + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1OvJeD4GSYqMqmpR", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": "non_profit", + "capabilities": {}, + "charges_enabled": false, + "company": { + "address": { + "city": null, + "country": "AU", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "directors_provided": false, + "executives_provided": false, + "name": null, + "owners_provided": false, + "tax_id_provided": false, + "verification": { + "document": { + "back": null, + "details": null, + "details_code": null, + "front": null + } + } + }, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1710681669, + "default_currency": "aud", + "details_submitted": false, + "email": "jumping.jack@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1OvJeD4GSYqMqmpR/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Sun, 17 Mar 2024 13:21:10 GMT +recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml new file mode 100644 index 0000000000..5f96625e42 --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml @@ -0,0 +1,235 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.10.0 + Authorization: + - Bearer + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_zfQDRPw4pwuL9V","request_duration_ms":2003}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Sun, 17 Mar 2024 13:21:08 GMT + Content-Type: + - application/json + Content-Length: + - '3527' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report + Idempotency-Key: + - b4d7d361-5bba-4806-a9bd-7eaec4dbc361 + Original-Request: + - req_Kn4sy7JqIW8lyd + Request-Id: + - req_Kn4sy7JqIW8lyd + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1OvJeA4Dl7fsDvNo", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": "non_profit", + "capabilities": {}, + "charges_enabled": false, + "company": { + "address": { + "city": null, + "country": "AU", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "directors_provided": false, + "executives_provided": false, + "name": null, + "owners_provided": false, + "tax_id_provided": false, + "verification": { + "document": { + "back": null, + "details": null, + "details_code": null, + "front": null + } + } + }, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1710681667, + "default_currency": "aud", + "details_submitted": false, + "email": "jumping.jack@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1OvJeA4Dl7fsDvNo/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Sun, 17 Mar 2024 13:21:08 GMT +recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml new file mode 100644 index 0000000000..1463e89343 --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml @@ -0,0 +1,305 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.10.0 + Authorization: + - Bearer + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_a6vV2cQ3GJ5sRJ","request_duration_ms":1938}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Sun, 17 Mar 2024 13:21:12 GMT + Content-Type: + - application/json + Content-Length: + - '3527' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report + Idempotency-Key: + - ca4e3616-46a9-4695-9ff9-a64dd1bb7b00 + Original-Request: + - req_21vo6s5eLQyzPx + Request-Id: + - req_21vo6s5eLQyzPx + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1OvJeFQRrcL6OxB4", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": "non_profit", + "capabilities": {}, + "charges_enabled": false, + "company": { + "address": { + "city": null, + "country": "AU", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "directors_provided": false, + "executives_provided": false, + "name": null, + "owners_provided": false, + "tax_id_provided": false, + "verification": { + "document": { + "back": null, + "details": null, + "details_code": null, + "front": null + } + } + }, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1710681672, + "default_currency": "aud", + "details_submitted": false, + "email": "jumping.jack@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1OvJeFQRrcL6OxB4/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Sun, 17 Mar 2024 13:21:12 GMT +- request: + method: get + uri: https://api.stripe.com/v1/accounts/acct_fake_account + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.10.0 + Authorization: + - Bearer + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_21vo6s5eLQyzPx","request_duration_ms":1718}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 403 + message: Forbidden + headers: + Server: + - nginx + Date: + - Sun, 17 Mar 2024 13:21:13 GMT + Content-Type: + - application/json + Content-Length: + - '366' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Vary: + - Origin + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: | + { + "error": { + "message": "The provided key 'sk_test_******************************uCJm' does not have access to account 'acct_fake_account' (or that account does not exist). Application access may have been revoked.", + "type": "invalid_request_error", + "code": "account_invalid", + "doc_url": "https://stripe.com/docs/error-codes/account-invalid" + } + } + recorded_at: Sun, 17 Mar 2024 13:21:13 GMT +recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml new file mode 100644 index 0000000000..74d438448a --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml @@ -0,0 +1,463 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.10.0 + Authorization: + - Bearer + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_21vo6s5eLQyzPx","request_duration_ms":1718}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Sun, 17 Mar 2024 13:21:14 GMT + Content-Type: + - application/json + Content-Length: + - '3527' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report + Idempotency-Key: + - c54432df-9b07-4311-9e9d-4189cd6c9d0e + Original-Request: + - req_xTmV2oAzhyhwYD + Request-Id: + - req_xTmV2oAzhyhwYD + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1OvJeHQMadqd9TMZ", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": "non_profit", + "capabilities": {}, + "charges_enabled": false, + "company": { + "address": { + "city": null, + "country": "AU", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "directors_provided": false, + "executives_provided": false, + "name": null, + "owners_provided": false, + "tax_id_provided": false, + "verification": { + "document": { + "back": null, + "details": null, + "details_code": null, + "front": null + } + } + }, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1710681674, + "default_currency": "aud", + "details_submitted": false, + "email": "jumping.jack@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1OvJeHQMadqd9TMZ/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Sun, 17 Mar 2024 13:21:15 GMT +- request: + method: get + uri: https://api.stripe.com/v1/accounts/acct_1OvJeHQMadqd9TMZ + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.10.0 + Authorization: + - Bearer + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_xTmV2oAzhyhwYD","request_duration_ms":1850}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 + (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) + #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Sun, 17 Mar 2024 13:21:15 GMT + Content-Type: + - application/json + Content-Length: + - '3527' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to=https://q.stripe.com/coop-report + Request-Id: + - req_jC41Ef46bi6BFZ + Stripe-Account: + - acct_1OvJeHQMadqd9TMZ + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1OvJeHQMadqd9TMZ", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": "non_profit", + "capabilities": {}, + "charges_enabled": false, + "company": { + "address": { + "city": null, + "country": "AU", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "directors_provided": false, + "executives_provided": false, + "name": null, + "owners_provided": false, + "tax_id_provided": false, + "verification": { + "document": { + "back": null, + "details": null, + "details_code": null, + "front": null + } + } + }, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1710681674, + "default_currency": "aud", + "details_submitted": false, + "email": "jumping.jack@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1OvJeHQMadqd9TMZ/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Sun, 17 Mar 2024 13:21:15 GMT +recorded_with: VCR 6.2.0 From 0b844bca8dad8d1c14657181dd2aba26a2e8ca9c Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 27 Mar 2024 11:37:03 +0000 Subject: [PATCH 182/374] Sets VCR tag at the beginning of the spec file Rebases and re-records cassettes --- .../redirects_to_unauthorized.yml | 31 ++++----- .../redirects_to_unauthorized.yml | 33 +++++----- .../redirects_to_unauthorized.yml | 33 +++++----- ...turns_with_a_status_of_access_revoked_.yml | 48 +++++++------- .../returns_with_a_status_of_connected_.yml | 66 ++++++++++--------- 5 files changed, 107 insertions(+), 104 deletions(-) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.13.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.13.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.13.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.13.0}/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml (82%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.10.0 => Stripe-v10.13.0}/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml (86%) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml index 625086f75b..801de18a88 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml @@ -8,18 +8,15 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -32,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Sun, 17 Mar 2024 13:21:06 GMT + - Wed, 27 Mar 2024 11:34:59 GMT Content-Type: - application/json Content-Length: @@ -57,13 +54,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 153e797a-47b7-4f48-a0f8-cd8c39bf619d + - f8570e37-5b0d-4cc0-b8a3-b8b9df4d1ffb Original-Request: - - req_zfQDRPw4pwuL9V + - req_e2SoaA4Ghw0gaM + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zfQDRPw4pwuL9V + - req_e2SoaA4Ghw0gaM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +79,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvJe8QKz09hVwk6", + "id": "acct_1OyukwQMSSW9Jehj", "object": "account", "business_profile": { "annual_revenue": null, @@ -123,7 +124,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710681665, + "created": 1711539299, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -132,7 +133,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvJe8QKz09hVwk6/external_accounts" + "url": "/v1/accounts/acct_1OyukwQMSSW9Jehj/external_accounts" }, "future_requirements": { "alternatives": [], @@ -229,5 +230,5 @@ http_interactions: }, "type": "standard" } - recorded_at: Sun, 17 Mar 2024 13:21:06 GMT + recorded_at: Wed, 27 Mar 2024 11:34:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml index a05bd4b392..1f95e4d53a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml @@ -8,20 +8,17 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Kn4sy7JqIW8lyd","request_duration_ms":1966}}' + - '{"last_request_metrics":{"request_id":"req_8Ak8cPKYtDzmwM","request_duration_ms":1828}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Sun, 17 Mar 2024 13:21:10 GMT + - Wed, 27 Mar 2024 11:35:03 GMT Content-Type: - application/json Content-Length: @@ -59,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - 465ce517-9c88-45fc-a4ae-ec6fea3ed101 + - ea03a93f-8765-4d81-86da-fcfcad4ce6bc Original-Request: - - req_a6vV2cQ3GJ5sRJ + - req_9OMqL2pNI5AkPo + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_a6vV2cQ3GJ5sRJ + - req_9OMqL2pNI5AkPo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvJeD4GSYqMqmpR", + "id": "acct_1Oyul04D5c5UitL3", "object": "account", "business_profile": { "annual_revenue": null, @@ -125,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710681669, + "created": 1711539303, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -134,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvJeD4GSYqMqmpR/external_accounts" + "url": "/v1/accounts/acct_1Oyul04D5c5UitL3/external_accounts" }, "future_requirements": { "alternatives": [], @@ -231,5 +232,5 @@ http_interactions: }, "type": "standard" } - recorded_at: Sun, 17 Mar 2024 13:21:10 GMT + recorded_at: Wed, 27 Mar 2024 11:35:04 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml index 5f96625e42..5e949466b5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml @@ -8,20 +8,17 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zfQDRPw4pwuL9V","request_duration_ms":2003}}' + - '{"last_request_metrics":{"request_id":"req_e2SoaA4Ghw0gaM","request_duration_ms":1837}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Sun, 17 Mar 2024 13:21:08 GMT + - Wed, 27 Mar 2024 11:35:01 GMT Content-Type: - application/json Content-Length: @@ -59,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - b4d7d361-5bba-4806-a9bd-7eaec4dbc361 + - 0fd244bc-e210-4018-8f5f-f70eb42bf68b Original-Request: - - req_Kn4sy7JqIW8lyd + - req_8Ak8cPKYtDzmwM + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Kn4sy7JqIW8lyd + - req_8Ak8cPKYtDzmwM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvJeA4Dl7fsDvNo", + "id": "acct_1OyukyQO5YeTxN1D", "object": "account", "business_profile": { "annual_revenue": null, @@ -125,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710681667, + "created": 1711539301, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -134,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvJeA4Dl7fsDvNo/external_accounts" + "url": "/v1/accounts/acct_1OyukyQO5YeTxN1D/external_accounts" }, "future_requirements": { "alternatives": [], @@ -231,5 +232,5 @@ http_interactions: }, "type": "standard" } - recorded_at: Sun, 17 Mar 2024 13:21:08 GMT + recorded_at: Wed, 27 Mar 2024 11:35:01 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml similarity index 82% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml index 1463e89343..1734fa44a7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml @@ -8,20 +8,17 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_a6vV2cQ3GJ5sRJ","request_duration_ms":1938}}' + - '{"last_request_metrics":{"request_id":"req_9OMqL2pNI5AkPo","request_duration_ms":1882}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Sun, 17 Mar 2024 13:21:12 GMT + - Wed, 27 Mar 2024 11:35:06 GMT Content-Type: - application/json Content-Length: @@ -59,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - ca4e3616-46a9-4695-9ff9-a64dd1bb7b00 + - c0512a95-e0b8-4071-91c4-7918ada106a9 Original-Request: - - req_21vo6s5eLQyzPx + - req_HEzsvVrbsxJf8Q + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_21vo6s5eLQyzPx + - req_HEzsvVrbsxJf8Q Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvJeFQRrcL6OxB4", + "id": "acct_1Oyul2QLMfJvTM4q", "object": "account", "business_profile": { "annual_revenue": null, @@ -125,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710681672, + "created": 1711539305, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -134,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvJeFQRrcL6OxB4/external_accounts" + "url": "/v1/accounts/acct_1Oyul2QLMfJvTM4q/external_accounts" }, "future_requirements": { "alternatives": [], @@ -231,7 +232,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Sun, 17 Mar 2024 13:21:12 GMT + recorded_at: Wed, 27 Mar 2024 11:35:06 GMT - request: method: get uri: https://api.stripe.com/v1/accounts/acct_fake_account @@ -240,20 +241,17 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_21vo6s5eLQyzPx","request_duration_ms":1718}}' + - '{"last_request_metrics":{"request_id":"req_HEzsvVrbsxJf8Q","request_duration_ms":1610}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -266,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Sun, 17 Mar 2024 13:21:13 GMT + - Wed, 27 Mar 2024 11:35:06 GMT Content-Type: - application/json Content-Length: @@ -301,5 +299,5 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/account-invalid" } } - recorded_at: Sun, 17 Mar 2024 13:21:13 GMT + recorded_at: Wed, 27 Mar 2024 11:35:06 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml index 74d438448a..a1c362cfa0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.10.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml @@ -8,20 +8,17 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_21vo6s5eLQyzPx","request_duration_ms":1718}}' + - '{"last_request_metrics":{"request_id":"req_HEzsvVrbsxJf8Q","request_duration_ms":1610}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -34,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Sun, 17 Mar 2024 13:21:14 GMT + - Wed, 27 Mar 2024 11:35:08 GMT Content-Type: - application/json Content-Length: @@ -59,13 +56,17 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" Idempotency-Key: - - c54432df-9b07-4311-9e9d-4189cd6c9d0e + - d64085a3-eabd-4e3c-9228-4d36a77c3f5a Original-Request: - - req_xTmV2oAzhyhwYD + - req_3EnrtDDoHbYLmY + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xTmV2oAzhyhwYD + - req_3EnrtDDoHbYLmY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -80,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvJeHQMadqd9TMZ", + "id": "acct_1Oyul44GbcQfB8Y3", "object": "account", "business_profile": { "annual_revenue": null, @@ -125,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710681674, + "created": 1711539307, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -134,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvJeHQMadqd9TMZ/external_accounts" + "url": "/v1/accounts/acct_1Oyul44GbcQfB8Y3/external_accounts" }, "future_requirements": { "alternatives": [], @@ -231,29 +232,26 @@ http_interactions: }, "type": "standard" } - recorded_at: Sun, 17 Mar 2024 13:21:15 GMT + recorded_at: Wed, 27 Mar 2024 11:35:08 GMT - request: method: get - uri: https://api.stripe.com/v1/accounts/acct_1OvJeHQMadqd9TMZ + uri: https://api.stripe.com/v1/accounts/acct_1Oyul44GbcQfB8Y3 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.10.0 + - Stripe/v1 RubyBindings/10.13.0 Authorization: - - Bearer + - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xTmV2oAzhyhwYD","request_duration_ms":1850}}' + - '{"last_request_metrics":{"request_id":"req_3EnrtDDoHbYLmY","request_duration_ms":1607}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.10.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.5.0-25-generic (buildd@bos03-amd64-044) (x86_64-linux-gnu-gcc-12 - (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2","hostname":"ff-LAT"}' + - "" Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -266,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Sun, 17 Mar 2024 13:21:15 GMT + - Wed, 27 Mar 2024 11:35:08 GMT Content-Type: - application/json Content-Length: @@ -291,11 +289,15 @@ http_interactions: default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Cross-Origin-Opener-Policy-Report-Only: - - same-origin; report-to=https://q.stripe.com/coop-report + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jC41Ef46bi6BFZ + - req_XrctWcy82jeizJ Stripe-Account: - - acct_1OvJeHQMadqd9TMZ + - acct_1Oyul44GbcQfB8Y3 Stripe-Version: - '2023-10-16' Vary: @@ -308,7 +310,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OvJeHQMadqd9TMZ", + "id": "acct_1Oyul44GbcQfB8Y3", "object": "account", "business_profile": { "annual_revenue": null, @@ -353,7 +355,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1710681674, + "created": 1711539307, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -362,7 +364,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OvJeHQMadqd9TMZ/external_accounts" + "url": "/v1/accounts/acct_1Oyul44GbcQfB8Y3/external_accounts" }, "future_requirements": { "alternatives": [], @@ -459,5 +461,5 @@ http_interactions: }, "type": "standard" } - recorded_at: Sun, 17 Mar 2024 13:21:15 GMT + recorded_at: Wed, 27 Mar 2024 11:35:09 GMT recorded_with: VCR 6.2.0 From 8b591b7d21858bd32fbde050e24adcadda2e5674 Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Fri, 22 Mar 2024 14:28:49 -0300 Subject: [PATCH 183/374] chore(script/setup): Add support to RVM. Only evaluate to rbenv if rvm path is not found. --- script/setup | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/script/setup b/script/setup index d8f03ae63b..8e4c0aa941 100755 --- a/script/setup +++ b/script/setup @@ -19,11 +19,17 @@ NO_COLOR='\033[0m' # Check ruby version RUBY_VERSION=$(cat .ruby-version) -if command -v rbenv > /dev/null; then +if command -v rbenv > /dev/null && ! command rvm > /dev/null; then ./script/rbenv-install.sh -elif ! ruby --version | grep $RUBY_VERSION > /dev/null; then +fi + +if command rvm > /dev/null; then + ./script/rvm-install.sh +fi + +if ! ruby --version | grep $RUBY_VERSION > /dev/null; then printf "${RED}Open Food Network requires ruby ${RUBY_VERSION}${NO_COLOR}. " - printf "Have a look at: https://github.com/rbenv/rbenv\n" + printf "Have a look at your ruby version manager: https://github.com/rbenv/rbenv\n or https://rvm.io/" exit 1 fi From 1d6323c5203ecfda113b546c98f2b88dc7d32c64 Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Fri, 22 Mar 2024 14:31:05 -0300 Subject: [PATCH 184/374] chore(script/rvm-install): Add support to RVM. Use rvm command to install ruby version in variable. RVM already print the logs. No need to printf message here. RVM already skip installation if already done with logs. --- script/rvm-install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 script/rvm-install.sh diff --git a/script/rvm-install.sh b/script/rvm-install.sh new file mode 100755 index 0000000000..b905764d4a --- /dev/null +++ b/script/rvm-install.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# +# Install our selected Ruby version defined in the .ruby-version file. +# +# Requires: +# - [rvm](https://rvm.io/) +# + +rvm install $RUBY_VERSION From 0cd4682e365f615faa720edded1ad0943266c157 Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Fri, 22 Mar 2024 15:27:21 -0300 Subject: [PATCH 185/374] chore(GETTING_STARTED.md): Add RVM alternative to installation guide. --- GETTING_STARTED.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index 461aa86f53..59d65b526a 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -29,7 +29,7 @@ Fetch the latest version of `master` from `upstream` (ie. the main repo): This project needs specific ruby/bundler versions as well as node/yarn specific versions. For a local setup you will need: * Install or change your Ruby version according to the one specified at [.ruby-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.ruby-version) file. - - To manage versions, it's recommended to use [rbenv](https://github.com/rbenv/rbenv). + - To manage versions, it's recommended to use [rbenv](https://github.com/rbenv/rbenv) or [RVM](https://rvm.io/). * Install [nodenv](https://github.com/nodenv/nodenv) to ensure the correct [.node-version](https://github.com/openfoodfoundation/openfoodnetwork/blob/master/.node-version) is used. - [nodevn](https://github.com/nodenv/nodenv) is recommended as a node version manager. * PostgreSQL database From 4a4135f261bce9c62e0d226daca98fd5aeb9d965 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 25 Mar 2024 13:22:40 +1100 Subject: [PATCH 186/374] Simplify condition, in favour of rbenv If rbenv is installed, we'll favour that because that's what is currently supported. --- script/setup | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/script/setup b/script/setup index 8e4c0aa941..eddefb6b8c 100755 --- a/script/setup +++ b/script/setup @@ -19,11 +19,9 @@ NO_COLOR='\033[0m' # Check ruby version RUBY_VERSION=$(cat .ruby-version) -if command -v rbenv > /dev/null && ! command rvm > /dev/null; then +if command -v rbenv > /dev/null; then ./script/rbenv-install.sh -fi - -if command rvm > /dev/null; then +elif command rvm > /dev/null; then ./script/rvm-install.sh fi From 15c93a8e95cafdb3e32776be9e5e2bcfb0644e67 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 25 Mar 2024 13:24:10 +1100 Subject: [PATCH 187/374] Add -v flag to avoid script exit --- script/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/setup b/script/setup index eddefb6b8c..030ee7901d 100755 --- a/script/setup +++ b/script/setup @@ -21,7 +21,7 @@ NO_COLOR='\033[0m' RUBY_VERSION=$(cat .ruby-version) if command -v rbenv > /dev/null; then ./script/rbenv-install.sh -elif command rvm > /dev/null; then +elif command -v rvm > /dev/null; then ./script/rvm-install.sh fi From 3a2cb3e4152aab8a43bdcd5b32c50945d6e595d5 Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Wed, 27 Mar 2024 09:49:18 -0300 Subject: [PATCH 188/374] call rvm directly --- script/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/setup b/script/setup index 030ee7901d..b016f5d5b0 100755 --- a/script/setup +++ b/script/setup @@ -22,7 +22,7 @@ RUBY_VERSION=$(cat .ruby-version) if command -v rbenv > /dev/null; then ./script/rbenv-install.sh elif command -v rvm > /dev/null; then - ./script/rvm-install.sh + rvm install $RUBY_VERSION fi if ! ruby --version | grep $RUBY_VERSION > /dev/null; then From 80db511fe5fddc005ae4abdeed7c7615839f23ab Mon Sep 17 00:00:00 2001 From: Pauloparakleto Date: Wed, 27 Mar 2024 09:50:23 -0300 Subject: [PATCH 189/374] remove rvm script. It is called directly in script/setup --- script/rvm-install.sh | 9 --------- 1 file changed, 9 deletions(-) delete mode 100755 script/rvm-install.sh diff --git a/script/rvm-install.sh b/script/rvm-install.sh deleted file mode 100755 index b905764d4a..0000000000 --- a/script/rvm-install.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# -# Install our selected Ruby version defined in the .ruby-version file. -# -# Requires: -# - [rvm](https://rvm.io/) -# - -rvm install $RUBY_VERSION From 4498e91e903e011bd9d85b01e0fa5c84fd24c176 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 28 Mar 2024 16:18:36 +1100 Subject: [PATCH 190/374] Update all locales with the latest Transifex translations --- config/locales/en_AU.yml | 4 ++-- config/locales/en_FR.yml | 6 ++++++ config/locales/fr.yml | 10 ++++++++-- config/locales/ru.yml | 16 ++++++++++++++++ 4 files changed, 32 insertions(+), 4 deletions(-) diff --git a/config/locales/en_AU.yml b/config/locales/en_AU.yml index e36a51f9d2..d9760ceea1 100644 --- a/config/locales/en_AU.yml +++ b/config/locales/en_AU.yml @@ -410,7 +410,7 @@ en_AU: enable_embedded_shopfronts: "Enable Embedded Shopfronts" embedded_shopfronts_whitelist: "External Domains Whitelist" number_localization: - number_localization_settings: "Number Localization Settings" + number_localization_settings: "Number Localisation Settings" enable_localized_number: "Use the international thousand/decimal separator logic" invoice_settings: edit: @@ -746,7 +746,7 @@ en_AU: acn: ACN acn_placeholder: eg. 123 456 789 display_invoice_logo: Display logo in invoices - invoice_text: Add customized text at the end of invoices + invoice_text: Add customised text at the end of invoices terms_and_conditions: "Terms and Conditions" remove_terms_and_conditions: "Remove File" uploaded_on: "uploaded on" diff --git a/config/locales/en_FR.yml b/config/locales/en_FR.yml index f433c2202b..8af909627f 100644 --- a/config/locales/en_FR.yml +++ b/config/locales/en_FR.yml @@ -692,6 +692,10 @@ en_FR: your_content: Your content user_guide: User Guide map: Map + dfc_product_imports: + index: + title: "Importing a DFC product catalog" + imported_products: "Imported products:" enterprise_fees: index: title: "Enterprise Fees" @@ -859,7 +863,9 @@ en_FR: tax_categories: Tax Categories shipping_categories: Shipping Categories dfc_import_form: + title: "Import from DFC catalog" enterprise: "Enterprise" + catalog_url: "DFC catalog URL" import: "Import" import: review: Review diff --git a/config/locales/fr.yml b/config/locales/fr.yml index ae5adfccf4..5a73d4ffa2 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -310,9 +310,9 @@ fr: email_registered: "va, dès que vous aurez choisi un type d'entreprise, être créé sur" email_userguide_html: "Le Guide Utilisateur est là pour vous accompagner dans la prise en main de la plateforme. Vous y trouverez les informations détaillées de paramétrage de votre entreprise, de vos produits si vous êtes producteur, et éventuellement de votre boutique. Pour accéder au guide en français, cliquez ici : %{link}" userguide: "Guide utilisateur" - email_admin_html: "Pour gérer votre entreprise, rendez-vous sur l’%{link}. Si vous choisissez CoopCircuits pour organiser vos ventes, l’utilisation est gratuite les 3 premiers mois pour vous permettre de tester notre solution. Au-delà, vous devrez choisir une de nos offres pour continuer à utiliser le service (voir rubrique “nos offres” sur notre site internet)." + email_admin_html: "Pour gérer votre entreprise, rendez-vous sur l’%{link}. Si vous choisissez CoopCircuits pour organiser vos ventes, l’utilisation est gratuite les 3 premiers mois après la première vente pour vous permettre de tester notre solution. Vous pouvez faire des \"vraies commandes\" pour tester à condition de les annuler juste après pour ne pas démarrer les 3 mois. Consultez la rubrique \"Nos offres & tarifs\" du site internet pour en connaitre les détails." admin_panel: "interface d'administration" - email_community_html: "Nous avons aussi un forum de discussion en ligne pour échanger avec la communauté sur des questions liées à la plateforme ou aux défis de la gestion d'un circuit court. Nous vous invitons à y participer ! %{link}" + email_community_html: "Nous avons aussi un forum de discussion en ligne pour échanger avec la communauté sur des questions liées à la plateforme ou aux défis de la gestion d'un circuit court. Nous vous invitons à y participer ! %{link}\nSi vous avez besoin d'aide,  nous proposons des démonstrations hebdomadaires en visio, où nous vous présentons la coopérative CoopCircuits, et vous donnons tous les trucs et astuces sur l'outil et ses fonctionnalités. Inscrivez-vous via le lien présent sur la page Aide&FAQ de notre site.\nSi vous préférez un rdv individuel - par téléphone ou visio - n'hésitez-pas à nous proposer un créneau pour vous rappeler \U0001F917" join_community: "Accéder au forum" invite_manager: subject: "%{enterprise} vous a invité comme gestionnaire" @@ -691,6 +691,10 @@ fr: your_content: Votre contenu user_guide: Guide utilisateur map: Carte + dfc_product_imports: + index: + title: "Importation d'un produit du catalogue DFC" + imported_products: "Produits importés :" enterprise_fees: index: title: "Marges et Commissions" @@ -859,7 +863,9 @@ fr: tax_categories: TVA applicable shipping_categories: Conditions de transport dfc_import_form: + title: "Importer depuis le catalogue DFC" enterprise: "Entreprise" + catalog_url: "URL du catalogue DFC" import: "Importer" import: review: Vérifier diff --git a/config/locales/ru.yml b/config/locales/ru.yml index f94ca2223a..76583ce5fa 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -1,5 +1,8 @@ ru: language_name: "Русский" + time: + formats: + long: "%B %d, %Y %-l:%M %p" activerecord: models: spree/product: Товар @@ -75,6 +78,10 @@ ru: models: enterprise_fee: inherit_tax_requires_per_item_calculator: "Для наследования налоговой категории требуется поэлементный калькулятор." + spree/image: + attributes: + attachment: + integrity_error: "ошибка загрузки. Пожалуйста, проверьте, не поврежден ли файл и повторите попытку." spree/user: attributes: email: @@ -97,7 +104,9 @@ ru: on_demand_but_count_on_hand_set: "должен быть пустым, если по требованию'" limited_stock_but_no_count_on_hand: "необходимо указать, поскольку принудительный ограниченный запас" messages: + confirmation: "не соответствует %{attribute}" blank: "не может быть пустым" + too_short: "слишком короткий (минимум %{count} символов)" errors: messages: content_type_invalid: "имеет неверный тип контента" @@ -129,6 +138,7 @@ ru: unprocessable_entity: title: "Требуемое изменение было отклонено (422)" message_html: "

Требуемое изменение было отклонено. Возможно, вы пытались изменить что-то, к чему у вас нет доступа.

Вернуться домой

" + stimulus_reflex_error: "Нам очень жаль, но что-то пошло не так.\n\n Возможно, это временная проблема, поэтому повторите попытку или перезагрузите страницу.\n Мы записываем все ошибки и возможно уже работаем над их исправлением.\n Если проблема не устранена или срочная, пожалуйста, свяжитесь с нами." stripe: error_code: incorrect_number: "Номер карты неверный." @@ -289,6 +299,10 @@ ru: integer_array_validator: not_array_error: "должен быть массивом" invalid_element_error: "должен содержать только правильные целые числа" + report_job: + report_failed: | + Ошибка создания отчета. Возможно, он слишком велик для обработки. + Мы рассмотрим эту проблему, но, пожалуйста, сообщите нам, если проблема не исчезнет. enterprise_mailer: confirmation_instructions: subject: "Пожалуйста, подтвердите адрес электронной почты для %{enterprise}" @@ -378,6 +392,7 @@ ru: cancel_order: "Отменить Заказ" confirm_send_invoice: "Счет на этот заказ будет отправлен клиенту. Вы уверены что хотите продолжить?" confirm_resend_order_confirmation: "Вы уверены, что хотите повторно отправить письмо с подтверждением заказа?" + must_have_valid_business_number: "Чтобы можно было использовать счета, %{enterprise_name} должен иметь корректный ИНН." invoice: "Счёт" invoices: "Счета" file: "Файл" @@ -495,6 +510,7 @@ ru: colums: Колонки columns: name: Название + unit_scale: Единицы unit: Единица измерения price: Цена producer: Производитель From 45ec3d759fadcf479e6f51563a0825276bac7414 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 09:46:07 +0000 Subject: [PATCH 191/374] chore(deps): bump trix from 2.0.10 to 2.1.0 Bumps [trix](https://github.com/basecamp/trix) from 2.0.10 to 2.1.0. - [Release notes](https://github.com/basecamp/trix/releases) - [Commits](https://github.com/basecamp/trix/compare/v2.0.10...v2.1.0) --- updated-dependencies: - dependency-name: trix dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b8d1c47bf2..888b14112c 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "stimulus-flatpickr": "^1.4.0", "stimulus_reflex": "3.5.0-rc3", "tom-select": "^2.3.1", - "trix": "^2.0.10", + "trix": "^2.1.0", "webpack": "~4" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index c4e88d3958..02fba1e88e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8798,10 +8798,10 @@ tr46@^2.1.0: dependencies: punycode "^2.1.1" -trix@^2.0.10: - version "2.0.10" - resolved "https://registry.yarnpkg.com/trix/-/trix-2.0.10.tgz#43f1ff7a94c42f708bd2bad3a2783147c0583698" - integrity sha512-a24w8rNVL+g9nDDdiDZwQVQ9AEWiXAmk9r0ZbwimczJi/xlaM+m0d6upAi0vysDNu0HsiYDFS1/VrR7HbX0Aig== +trix@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/trix/-/trix-2.1.0.tgz#da9daddded6ee0cb2ba5676246bb343e1d45eaab" + integrity sha512-TPhgGvIjM1VqcfoR/OQQERRlMDuEw7UBIoGroJGuiTmu5yqk5KqR29ZzPgGIoOJgsqoAgxGUCK92+CRJLoO43Q== ts-pnp@^1.1.6: version "1.2.0" From 1b49606fca2ee06ef7967fdb7980a001f89eb8f8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Mar 2024 09:50:56 +0000 Subject: [PATCH 192/374] chore(deps): bump aws-sdk-s3 from 1.146.0 to 1.146.1 Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.146.0 to 1.146.1. - [Release notes](https://github.com/aws/aws-sdk-ruby/releases) - [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-ruby/commits) --- updated-dependencies: - dependency-name: aws-sdk-s3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 6403c4cb2c..73fb7a9992 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -156,8 +156,8 @@ GEM awesome_nested_set (3.6.0) activerecord (>= 4.0.0, < 7.2) aws-eventstream (1.3.0) - aws-partitions (1.899.0) - aws-sdk-core (3.191.4) + aws-partitions (1.903.0) + aws-sdk-core (3.191.5) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) @@ -165,7 +165,7 @@ GEM aws-sdk-kms (1.78.0) aws-sdk-core (~> 3, >= 3.191.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.146.0) + aws-sdk-s3 (1.146.1) aws-sdk-core (~> 3, >= 3.191.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.8) From aab01e77e0097fb5dab1e10bf13e39b697b8a579 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Mar 2024 09:51:55 +0000 Subject: [PATCH 193/374] chore(deps-dev): bump debug from 1.9.1 to 1.9.2 Bumps [debug](https://github.com/ruby/debug) from 1.9.1 to 1.9.2. - [Release notes](https://github.com/ruby/debug/releases) - [Commits](https://github.com/ruby/debug/compare/v1.9.1...v1.9.2) --- updated-dependencies: - dependency-name: debug dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 6403c4cb2c..bf63ea5c90 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -240,7 +240,7 @@ GEM datafoodconsortium-connector (1.0.0.pre.alpha.10) virtual_assembly-semantizer (~> 1.0, >= 1.0.5) date (3.3.4) - debug (1.9.1) + debug (1.9.2) irb (~> 1.10) reline (>= 0.3.8) debugger-linecache (1.2.0) @@ -346,11 +346,11 @@ GEM activerecord (>= 3.0) invisible_captcha (2.2.0) rails (>= 5.2) - io-console (0.7.1) + io-console (0.7.2) ipaddress (0.8.3) - irb (1.11.0) + irb (1.12.0) rdoc - reline (>= 0.3.8) + reline (>= 0.4.2) jmespath (1.6.2) jquery-rails (4.4.0) rails-dom-testing (>= 1, < 3) @@ -585,7 +585,7 @@ GEM redis-client (0.20.0) connection_pool regexp_parser (2.9.0) - reline (0.4.1) + reline (0.5.0) io-console (~> 0.5) request_store (1.5.1) rack (>= 1.4) From 33889f1255104f4469a99956ca84a2f87b03196c Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Fri, 29 Mar 2024 19:02:45 +0000 Subject: [PATCH 194/374] Deletes connected account, after spec Re-records cassettes --- .../admin/stripe_accounts_controller_spec.rb | 8 ++ .../redirects_to_unauthorized.yml | 98 +++++++++++++-- .../redirects_to_unauthorized.yml | 100 +++++++++++++-- .../redirects_to_unauthorized.yml | 100 +++++++++++++-- ...turns_with_a_status_of_access_revoked_.yml | 106 ++++++++++++++-- .../returns_with_a_status_of_connected_.yml | 118 +++++++++++++++--- 6 files changed, 474 insertions(+), 56 deletions(-) diff --git a/spec/controllers/admin/stripe_accounts_controller_spec.rb b/spec/controllers/admin/stripe_accounts_controller_spec.rb index 3fa3c09052..a1b5df8d69 100644 --- a/spec/controllers/admin/stripe_accounts_controller_spec.rb +++ b/spec/controllers/admin/stripe_accounts_controller_spec.rb @@ -52,6 +52,10 @@ describe Admin::StripeAccountsController, type: :controller do params[:id] = stripe_account.id end + after do + Stripe::Account.delete(connected_account.id) + end + context "when I don't manage the enterprise linked to the stripe account" do let(:some_user) { create(:user) } @@ -143,6 +147,10 @@ describe Admin::StripeAccountsController, type: :controller do create(:stripe_account, stripe_user_id: connected_account.id, enterprise:) } + after do + Stripe::Account.delete(connected_account.id) + end + context "but access has been revoked or does not exist on stripe's servers" do let(:message) { "The provided key 'sk_test_******************************uCJm' " \ diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml index 801de18a88..ec0c95ca38 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml @@ -29,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Wed, 27 Mar 2024 11:34:59 GMT + - Fri, 29 Mar 2024 18:53:02 GMT Content-Type: - application/json Content-Length: @@ -56,15 +56,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f8570e37-5b0d-4cc0-b8a3-b8b9df4d1ffb + - b963ad29-314d-4fa3-86c8-ed8d21182414 Original-Request: - - req_e2SoaA4Ghw0gaM + - req_Ph5LpkrVmGvJSp Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_e2SoaA4Ghw0gaM + - req_Ph5LpkrVmGvJSp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -79,7 +79,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OyukwQMSSW9Jehj", + "id": "acct_1OzkXwQMV2WNdfaG", "object": "account", "business_profile": { "annual_revenue": null, @@ -124,7 +124,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711539299, + "created": 1711738381, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -133,7 +133,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OyukwQMSSW9Jehj/external_accounts" + "url": "/v1/accounts/acct_1OzkXwQMV2WNdfaG/external_accounts" }, "future_requirements": { "alternatives": [], @@ -230,5 +230,87 @@ http_interactions: }, "type": "standard" } - recorded_at: Wed, 27 Mar 2024 11:34:59 GMT + recorded_at: Fri, 29 Mar 2024 18:53:02 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1OzkXwQMV2WNdfaG + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_Ph5LpkrVmGvJSp","request_duration_ms":2188}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Fri, 29 Mar 2024 18:53:03 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_xbUYf1jqhpZXGn + Stripe-Account: + - acct_1OzkXwQMV2WNdfaG + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1OzkXwQMV2WNdfaG", + "object": "account", + "deleted": true + } + recorded_at: Fri, 29 Mar 2024 18:53:03 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml index 1f95e4d53a..f7a27dfdd2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8Ak8cPKYtDzmwM","request_duration_ms":1828}}' + - '{"last_request_metrics":{"request_id":"req_JGxjtcKW5dC7dD","request_duration_ms":910}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Wed, 27 Mar 2024 11:35:03 GMT + - Fri, 29 Mar 2024 18:53:08 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ea03a93f-8765-4d81-86da-fcfcad4ce6bc + - 40c1e7cc-70fa-477f-afc9-5414eb47e9b7 Original-Request: - - req_9OMqL2pNI5AkPo + - req_MZwNhnG2QwlJ04 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9OMqL2pNI5AkPo + - req_MZwNhnG2QwlJ04 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Oyul04D5c5UitL3", + "id": "acct_1OzkY24EZjTC8pH1", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711539303, + "created": 1711738387, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Oyul04D5c5UitL3/external_accounts" + "url": "/v1/accounts/acct_1OzkY24EZjTC8pH1/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,5 +232,87 @@ http_interactions: }, "type": "standard" } - recorded_at: Wed, 27 Mar 2024 11:35:04 GMT + recorded_at: Fri, 29 Mar 2024 18:53:08 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1OzkY24EZjTC8pH1 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_MZwNhnG2QwlJ04","request_duration_ms":1764}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Fri, 29 Mar 2024 18:53:09 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_tfFx6yqOhyxOEz + Stripe-Account: + - acct_1OzkY24EZjTC8pH1 + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1OzkY24EZjTC8pH1", + "object": "account", + "deleted": true + } + recorded_at: Fri, 29 Mar 2024 18:53:09 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml index 5e949466b5..b69281afc0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_e2SoaA4Ghw0gaM","request_duration_ms":1837}}' + - '{"last_request_metrics":{"request_id":"req_xbUYf1jqhpZXGn","request_duration_ms":1121}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Wed, 27 Mar 2024 11:35:01 GMT + - Fri, 29 Mar 2024 18:53:05 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0fd244bc-e210-4018-8f5f-f70eb42bf68b + - 8f3afe92-8ae2-4e51-b958-949f48e942d3 Original-Request: - - req_8Ak8cPKYtDzmwM + - req_6C0wxXNZ11Bgnz Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8Ak8cPKYtDzmwM + - req_6C0wxXNZ11Bgnz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OyukyQO5YeTxN1D", + "id": "acct_1OzkXzQN8gTLyS3G", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711539301, + "created": 1711738384, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OyukyQO5YeTxN1D/external_accounts" + "url": "/v1/accounts/acct_1OzkXzQN8gTLyS3G/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,5 +232,87 @@ http_interactions: }, "type": "standard" } - recorded_at: Wed, 27 Mar 2024 11:35:01 GMT + recorded_at: Fri, 29 Mar 2024 18:53:05 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1OzkXzQN8gTLyS3G + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_6C0wxXNZ11Bgnz","request_duration_ms":1887}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Fri, 29 Mar 2024 18:53:06 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_JGxjtcKW5dC7dD + Stripe-Account: + - acct_1OzkXzQN8gTLyS3G + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1OzkXzQN8gTLyS3G", + "object": "account", + "deleted": true + } + recorded_at: Fri, 29 Mar 2024 18:53:06 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml index 1734fa44a7..6fb0d48c59 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9OMqL2pNI5AkPo","request_duration_ms":1882}}' + - '{"last_request_metrics":{"request_id":"req_tfFx6yqOhyxOEz","request_duration_ms":1044}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Wed, 27 Mar 2024 11:35:06 GMT + - Fri, 29 Mar 2024 18:53:11 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c0512a95-e0b8-4071-91c4-7918ada106a9 + - 04c8a17e-a4e3-4013-829f-a734d08c842f Original-Request: - - req_HEzsvVrbsxJf8Q + - req_3nsCgMKYZfY3Wx Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_HEzsvVrbsxJf8Q + - req_3nsCgMKYZfY3Wx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Oyul2QLMfJvTM4q", + "id": "acct_1OzkY6QPPCVWPRug", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711539305, + "created": 1711738391, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Oyul2QLMfJvTM4q/external_accounts" + "url": "/v1/accounts/acct_1OzkY6QPPCVWPRug/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,7 +232,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Wed, 27 Mar 2024 11:35:06 GMT + recorded_at: Fri, 29 Mar 2024 18:53:12 GMT - request: method: get uri: https://api.stripe.com/v1/accounts/acct_fake_account @@ -247,7 +247,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HEzsvVrbsxJf8Q","request_duration_ms":1610}}' + - '{"last_request_metrics":{"request_id":"req_3nsCgMKYZfY3Wx","request_duration_ms":1860}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Wed, 27 Mar 2024 11:35:06 GMT + - Fri, 29 Mar 2024 18:53:12 GMT Content-Type: - application/json Content-Length: @@ -299,5 +299,87 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/account-invalid" } } - recorded_at: Wed, 27 Mar 2024 11:35:06 GMT + recorded_at: Fri, 29 Mar 2024 18:53:12 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1OzkY6QPPCVWPRug + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_3nsCgMKYZfY3Wx","request_duration_ms":1860}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Fri, 29 Mar 2024 18:53:13 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_vJuorSL1DL25TZ + Stripe-Account: + - acct_1OzkY6QPPCVWPRug + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1OzkY6QPPCVWPRug", + "object": "account", + "deleted": true + } + recorded_at: Fri, 29 Mar 2024 18:53:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml index a1c362cfa0..f6e0864aa4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HEzsvVrbsxJf8Q","request_duration_ms":1610}}' + - '{"last_request_metrics":{"request_id":"req_vJuorSL1DL25TZ","request_duration_ms":983}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Wed, 27 Mar 2024 11:35:08 GMT + - Fri, 29 Mar 2024 18:53:15 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d64085a3-eabd-4e3c-9228-4d36a77c3f5a + - e53c1751-4670-4a7d-8fe1-0c0a8fb647fa Original-Request: - - req_3EnrtDDoHbYLmY + - req_uzAqOcAR3ltbmh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3EnrtDDoHbYLmY + - req_uzAqOcAR3ltbmh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Oyul44GbcQfB8Y3", + "id": "acct_1OzkY9QQsxwR3QX7", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711539307, + "created": 1711738394, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Oyul44GbcQfB8Y3/external_accounts" + "url": "/v1/accounts/acct_1OzkY9QQsxwR3QX7/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,10 +232,10 @@ http_interactions: }, "type": "standard" } - recorded_at: Wed, 27 Mar 2024 11:35:08 GMT + recorded_at: Fri, 29 Mar 2024 18:53:15 GMT - request: method: get - uri: https://api.stripe.com/v1/accounts/acct_1Oyul44GbcQfB8Y3 + uri: https://api.stripe.com/v1/accounts/acct_1OzkY9QQsxwR3QX7 body: encoding: US-ASCII string: '' @@ -247,7 +247,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3EnrtDDoHbYLmY","request_duration_ms":1607}}' + - '{"last_request_metrics":{"request_id":"req_uzAqOcAR3ltbmh","request_duration_ms":1896}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Wed, 27 Mar 2024 11:35:08 GMT + - Fri, 29 Mar 2024 18:53:15 GMT Content-Type: - application/json Content-Length: @@ -295,9 +295,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XrctWcy82jeizJ + - req_Lc3QvEcHt0FgLw Stripe-Account: - - acct_1Oyul44GbcQfB8Y3 + - acct_1OzkY9QQsxwR3QX7 Stripe-Version: - '2023-10-16' Vary: @@ -310,7 +310,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Oyul44GbcQfB8Y3", + "id": "acct_1OzkY9QQsxwR3QX7", "object": "account", "business_profile": { "annual_revenue": null, @@ -355,7 +355,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711539307, + "created": 1711738394, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -364,7 +364,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Oyul44GbcQfB8Y3/external_accounts" + "url": "/v1/accounts/acct_1OzkY9QQsxwR3QX7/external_accounts" }, "future_requirements": { "alternatives": [], @@ -461,5 +461,87 @@ http_interactions: }, "type": "standard" } - recorded_at: Wed, 27 Mar 2024 11:35:09 GMT + recorded_at: Fri, 29 Mar 2024 18:53:15 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1OzkY9QQsxwR3QX7 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_Lc3QvEcHt0FgLw","request_duration_ms":400}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Fri, 29 Mar 2024 18:53:16 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_zHXfFMY9X0grgz + Stripe-Account: + - acct_1OzkY9QQsxwR3QX7 + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1OzkY9QQsxwR3QX7", + "object": "account", + "deleted": true + } + recorded_at: Fri, 29 Mar 2024 18:53:16 GMT recorded_with: VCR 6.2.0 From 19e3dc077e9d60664ba0d73033f10cc8f5eeae2e Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Sun, 31 Mar 2024 17:04:15 +0500 Subject: [PATCH 195/374] 12314: remove Rails/HelperInstanceVariable from rubocop todo --- .rubocop_todo.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 80de3c4a6e..a949cc0528 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -401,16 +401,6 @@ Rails/HasManyOrHasOneDependent: - 'app/models/spree/tax_rate.rb' - 'app/models/spree/variant.rb' -# Offense count: 26 -# Configuration parameters: Include. -# Include: app/helpers/**/*.rb -Rails/HelperInstanceVariable: - Exclude: - - 'app/helpers/injection_helper.rb' - - 'app/helpers/shared_helper.rb' - - 'app/helpers/spree/admin/orders_helper.rb' - - 'app/helpers/spree/orders_helper.rb' - # Offense count: 8 # Configuration parameters: Include. # Include: spec/**/*.rb, test/**/*.rb From 3bb44cfe6df7c010bff7b4a81e40b811f5bbdd7d Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Sun, 31 Mar 2024 17:07:00 +0500 Subject: [PATCH 196/374] 12314 - fix order helper rubocop errors - remove the direct access of @order instance variable - add an attr_reader for order and use it instead --- app/helpers/spree/admin/orders_helper.rb | 42 +++++++++++++----------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/app/helpers/spree/admin/orders_helper.rb b/app/helpers/spree/admin/orders_helper.rb index 893a417297..f85cea6e66 100644 --- a/app/helpers/spree/admin/orders_helper.rb +++ b/app/helpers/spree/admin/orders_helper.rb @@ -5,18 +5,18 @@ module Spree module OrdersHelper def event_links links = [] - links << cancel_event_link if @order.can_cancel? - links << resume_event_link if @order.can_resume? + links << cancel_event_link if order.can_cancel? + links << resume_event_link if order.can_resume? links.join(' ').html_safe # rubocop:disable Rails/OutputSafety end def generate_invoice_button(order) if order.distributor.can_invoice? - button_link_to t(:create_or_update_invoice), generate_admin_order_invoices_path(@order), + button_link_to t(:create_or_update_invoice), generate_admin_order_invoices_path(order), data: { method: 'post' }, icon: 'icon-plus' else button_link_to t(:create_or_update_invoice), "#", data: { - confirm: t(:must_have_valid_business_number, enterprise_name: @order.distributor.name) + confirm: t(:must_have_valid_business_number, enterprise_name: order.distributor.name) }, icon: 'icon-plus' end end @@ -25,18 +25,20 @@ module Spree Spree::Money.new(line_item.price * quantity, currency: line_item.currency) end - def order_links(order) - @order ||= order + def order_links(current_order) + @order ||= current_order links = [] links << edit_order_link unless action_name == "edit" - links.concat(complete_order_links) if @order.complete? || @order.resumed? - links << ship_order_link if @order.ready_to_ship? - links << cancel_order_link if @order.can_cancel? + links.concat(complete_order_links) if order.complete? || order.resumed? + links << ship_order_link if order.ready_to_ship? + links << cancel_order_link if order.can_cancel? links end private + attr_reader :order + def complete_order_links [resend_confirmation_link] + invoice_links end @@ -48,7 +50,7 @@ module Spree end def send_invoice_link - if @order.distributor.can_invoice? + if order.distributor.can_invoice? send_invoice_link_with_url else send_invoice_link_without_url @@ -56,7 +58,7 @@ module Spree end def print_invoice_link - if @order.distributor.can_invoice? + if order.distributor.can_invoice? print_invoice_link_with_url else notify_about_required_enterprise_number @@ -65,20 +67,20 @@ module Spree def edit_order_link { name: t(:edit_order), - url: spree.edit_admin_order_path(@order), + url: spree.edit_admin_order_path(order), icon: 'icon-edit' } end def resend_confirmation_link { name: t(:resend_confirmation), - url: spree.resend_admin_order_path(@order), + url: spree.resend_admin_order_path(order), icon: 'icon-email', confirm: t(:confirm_resend_order_confirmation) } end def send_invoice_link_with_url { name: t(:send_invoice), - url: invoice_admin_order_path(@order), + url: invoice_admin_order_path(order), icon: 'icon-email', confirm: t(:confirm_send_invoice) } end @@ -87,12 +89,12 @@ module Spree { name: t(:send_invoice), url: "#", icon: 'icon-email', - confirm: t(:must_have_valid_business_number, enterprise_name: @order.distributor.name) } + confirm: t(:must_have_valid_business_number, enterprise_name: order.distributor.name) } end def print_invoice_link_with_url { name: t(:print_invoice), - url: spree.print_admin_order_path(@order), + url: spree.print_admin_order_path(order), icon: 'icon-print', target: "_blank" } end @@ -101,7 +103,7 @@ module Spree { name: t(:print_invoice), url: "#", icon: 'icon-print', - confirm: t(:must_have_valid_business_number, enterprise_name: @order.distributor.name) } + confirm: t(:must_have_valid_business_number, enterprise_name: order.distributor.name) } end def ship_order_link @@ -112,14 +114,14 @@ module Spree def cancel_order_link { name: t(:cancel_order), - url: spree.fire_admin_order_path(@order.number, e: 'cancel'), + url: spree.fire_admin_order_path(order.number, e: 'cancel'), icon: 'icon-trash' } end def cancel_event_link event_label = I18n.t("cancel", scope: "actions") button_link_to(event_label, - fire_admin_order_url(@order, e: "cancel"), + fire_admin_order_url(order, e: "cancel"), method: :put, icon: "icon-cancel", form_id: "cancel_order_form") end @@ -127,7 +129,7 @@ module Spree event_label = I18n.t("resume", scope: "actions") confirm_message = I18n.t("admin.orders.edit.order_sure_want_to", event: event_label) button_link_to(event_label, - fire_admin_order_url(@order, e: "resume"), + fire_admin_order_url(order, e: "resume"), method: :put, icon: "icon-resume", data: { confirm: confirm_message }) end From ac1595e718fd1bf15eeec1503fa6bdcc4fa83489 Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Sun, 31 Mar 2024 18:08:22 +0500 Subject: [PATCH 197/374] 12314 - remove shared distributor partial - this was only used in the enterprise show view - the above view was deleted here 4f2389e25766a59846e6c13e28064c5bb7242897 - by removing this, we can remove distributor_link_class method - it will also fix the rubocop error --- app/helpers/shared_helper.rb | 10 --------- app/views/shared/_distributor.html.haml | 3 --- spec/helpers/shared_helper_spec.rb | 27 ------------------------- 3 files changed, 40 deletions(-) delete mode 100644 app/views/shared/_distributor.html.haml delete mode 100644 spec/helpers/shared_helper_spec.rb diff --git a/app/helpers/shared_helper.rb b/app/helpers/shared_helper.rb index 17bd12adbe..63e5498409 100644 --- a/app/helpers/shared_helper.rb +++ b/app/helpers/shared_helper.rb @@ -1,16 +1,6 @@ # frozen_string_literal: true module SharedHelper - def distributor_link_class(distributor) - cart = current_order(true) - @active_distributors ||= Enterprise.distributors_with_active_order_cycles - - klass = "shop-distributor" - klass += " empties-cart" unless cart.line_items.empty? || cart.distributor == distributor - klass += @active_distributors.include?(distributor) ? ' active' : ' inactive' - klass - end - def enterprise_user? spree_current_user&.enterprises&.count.to_i > 0 end diff --git a/app/views/shared/_distributor.html.haml b/app/views/shared/_distributor.html.haml deleted file mode 100644 index ea1eeae0a4..0000000000 --- a/app/views/shared/_distributor.html.haml +++ /dev/null @@ -1,3 +0,0 @@ -= succeed ',' do - = link_to "#{distributor.name}".html_safe, enterprise_shop_path(distributor), {class: distributor_link_class(distributor)} -%span.secondary= distributor.city diff --git a/spec/helpers/shared_helper_spec.rb b/spec/helpers/shared_helper_spec.rb deleted file mode 100644 index 7d61898f93..0000000000 --- a/spec/helpers/shared_helper_spec.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -describe SharedHelper, type: :helper do - it "does not require emptying the cart when it is empty" do - d = double(:distributor) - order = double(:order, line_items: []) - allow(helper).to receive(:current_order) { order } - expect(helper.distributor_link_class(d)).not_to match(/empties-cart/) - end - - it "does not require emptying the cart when we are on the same distributor" do - d = double(:distributor) - order = double(:order, line_items: [double(:line_item)], distributor: d) - allow(helper).to receive(:current_order) { order } - expect(helper.distributor_link_class(d)).not_to match(/empties-cart/) - end - - it "requires emptying the cart otherwise" do - d1 = double(:distributor) - d2 = double(:distributor) - order = double(:order, line_items: [double(:line_item)], distributor: d2) - allow(helper).to receive(:current_order) { order } - expect(helper.distributor_link_class(d1)).to match(/empties-cart/) - end -end From 4ba6afa6652cf8fc4b3f8070bc2159299f9b8055 Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Mon, 1 Apr 2024 02:19:14 +0500 Subject: [PATCH 198/374] 12314 - fix Rails/HelperInstanceVariable error - InjectionHelper - OrdersHelper --- app/helpers/injection_helper.rb | 3 +-- app/helpers/spree/orders_helper.rb | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/helpers/injection_helper.rb b/app/helpers/injection_helper.rb index cb191f1367..63a0797992 100644 --- a/app/helpers/injection_helper.rb +++ b/app/helpers/injection_helper.rb @@ -154,7 +154,6 @@ module InjectionHelper end def enterprise_injection_data - @enterprise_injection_data ||= OpenFoodNetwork::EnterpriseInjectionData.new - { data: @enterprise_injection_data } + @enterprise_injection_data ||= { data: OpenFoodNetwork::EnterpriseInjectionData.new } end end diff --git a/app/helpers/spree/orders_helper.rb b/app/helpers/spree/orders_helper.rb index 63a4682bc2..60de9e33a1 100644 --- a/app/helpers/spree/orders_helper.rb +++ b/app/helpers/spree/orders_helper.rb @@ -17,17 +17,18 @@ module Spree def changeable_orders # Only returns open order for the current user + shop + oc combo - return @changeable_orders unless @changeable_orders.nil? - return @changeable_orders = [] unless spree_current_user && - current_distributor && current_order_cycle - return @changeable_orders = [] unless current_distributor.allow_order_changes? + @changeable_orders ||= if spree_current_user && + current_distributor&.allow_order_changes? && current_order_cycle - @changeable_orders = Spree::Order.complete.where( - state: 'complete', - user_id: spree_current_user.id, - distributor_id: current_distributor.id, - order_cycle_id: current_order_cycle.id - ) + Spree::Order.complete.where( + state: 'complete', + user_id: spree_current_user.id, + distributor_id: current_distributor.id, + order_cycle_id: current_order_cycle.id + ) + else + [] + end end def changeable_orders_link_path From 05f373f541e790906f70f6897b63530c0ad2fa62 Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Mon, 1 Apr 2024 06:41:41 +0500 Subject: [PATCH 199/374] 12314 - add order parameter in OrdersHelper methods --- app/helpers/spree/admin/orders_helper.rb | 55 ++++++++++----------- app/views/spree/admin/orders/edit.html.haml | 2 +- 2 files changed, 27 insertions(+), 30 deletions(-) diff --git a/app/helpers/spree/admin/orders_helper.rb b/app/helpers/spree/admin/orders_helper.rb index f85cea6e66..71970c53d3 100644 --- a/app/helpers/spree/admin/orders_helper.rb +++ b/app/helpers/spree/admin/orders_helper.rb @@ -3,10 +3,10 @@ module Spree module Admin module OrdersHelper - def event_links + def event_links(order) links = [] - links << cancel_event_link if order.can_cancel? - links << resume_event_link if order.can_resume? + links << cancel_event_link(order) if order.can_cancel? + links << resume_event_link(order) if order.can_resume? links.join(' ').html_safe # rubocop:disable Rails/OutputSafety end @@ -25,81 +25,78 @@ module Spree Spree::Money.new(line_item.price * quantity, currency: line_item.currency) end - def order_links(current_order) - @order ||= current_order + def order_links(order) links = [] - links << edit_order_link unless action_name == "edit" - links.concat(complete_order_links) if order.complete? || order.resumed? + links << edit_order_link(order) unless action_name == "edit" + links.concat(complete_order_links(order)) if order.complete? || order.resumed? links << ship_order_link if order.ready_to_ship? - links << cancel_order_link if order.can_cancel? + links << cancel_order_link(order) if order.can_cancel? links end private - attr_reader :order - - def complete_order_links - [resend_confirmation_link] + invoice_links + def complete_order_links(order) + [resend_confirmation_link(order)] + invoice_links(order) end - def invoice_links + def invoice_links(order) return [] unless Spree::Config[:enable_invoices?] - [send_invoice_link, print_invoice_link] + [send_invoice_link(order), print_invoice_link(order)] end - def send_invoice_link + def send_invoice_link(order) if order.distributor.can_invoice? - send_invoice_link_with_url + send_invoice_link_with_url(order) else - send_invoice_link_without_url + send_invoice_link_without_url(order) end end - def print_invoice_link + def print_invoice_link(order) if order.distributor.can_invoice? - print_invoice_link_with_url + print_invoice_link_with_url(order) else - notify_about_required_enterprise_number + notify_about_required_enterprise_number(order) end end - def edit_order_link + def edit_order_link(order) { name: t(:edit_order), url: spree.edit_admin_order_path(order), icon: 'icon-edit' } end - def resend_confirmation_link + def resend_confirmation_link(order) { name: t(:resend_confirmation), url: spree.resend_admin_order_path(order), icon: 'icon-email', confirm: t(:confirm_resend_order_confirmation) } end - def send_invoice_link_with_url + def send_invoice_link_with_url(order) { name: t(:send_invoice), url: invoice_admin_order_path(order), icon: 'icon-email', confirm: t(:confirm_send_invoice) } end - def send_invoice_link_without_url + def send_invoice_link_without_url(order) { name: t(:send_invoice), url: "#", icon: 'icon-email', confirm: t(:must_have_valid_business_number, enterprise_name: order.distributor.name) } end - def print_invoice_link_with_url + def print_invoice_link_with_url(order) { name: t(:print_invoice), url: spree.print_admin_order_path(order), icon: 'icon-print', target: "_blank" } end - def notify_about_required_enterprise_number + def notify_about_required_enterprise_number(order) { name: t(:print_invoice), url: "#", icon: 'icon-print', @@ -112,20 +109,20 @@ module Spree icon: 'icon-truck' } end - def cancel_order_link + def cancel_order_link(order) { name: t(:cancel_order), url: spree.fire_admin_order_path(order.number, e: 'cancel'), icon: 'icon-trash' } end - def cancel_event_link + def cancel_event_link(order) event_label = I18n.t("cancel", scope: "actions") button_link_to(event_label, fire_admin_order_url(order, e: "cancel"), method: :put, icon: "icon-cancel", form_id: "cancel_order_form") end - def resume_event_link + def resume_event_link(order) event_label = I18n.t("resume", scope: "actions") confirm_message = I18n.t("admin.orders.edit.order_sure_want_to", event: event_label) button_link_to(event_label, diff --git a/app/views/spree/admin/orders/edit.html.haml b/app/views/spree/admin/orders/edit.html.haml index c74f2e6bcb..eb10841bbc 100644 --- a/app/views/spree/admin/orders/edit.html.haml +++ b/app/views/spree/admin/orders/edit.html.haml @@ -5,7 +5,7 @@ - content_for :page_actions do - if can?(:fire, @order) - %li= event_links + %li= event_links(@order) = render partial: 'spree/admin/shared/order_links' - if can?(:admin, Spree::Order) %li From 18d1e00c47e7d79fc28d6ddc3e7d96a9b263da6b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 09:13:23 +0000 Subject: [PATCH 200/374] chore(deps-dev): bump letter_opener from 1.9.0 to 1.10.0 Bumps [letter_opener](https://github.com/ryanb/letter_opener) from 1.9.0 to 1.10.0. - [Changelog](https://github.com/ryanb/letter_opener/blob/master/CHANGELOG.md) - [Commits](https://github.com/ryanb/letter_opener/compare/v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: letter_opener dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 6403c4cb2c..fe4f47e639 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -207,6 +207,7 @@ GEM nokogiri (~> 1.10, >= 1.10.4) rubyzip (>= 1.3.0, < 3) cgi (0.3.6) + childprocess (5.0.0) choice (0.2.0) chronic (0.10.2) coderay (1.1.3) @@ -386,10 +387,11 @@ GEM knapsack_pro (6.0.4) rake language_server-protocol (3.17.0.3) - launchy (2.5.2) + launchy (3.0.0) addressable (~> 2.8) - letter_opener (1.9.0) - launchy (>= 2.2, < 3) + childprocess (~> 5.0) + letter_opener (1.10.0) + launchy (>= 2.2, < 4) link_header (0.0.8) listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) From 66b98bd477f6f97a413110d9d6a2a4f5328ed3aa Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 1 Apr 2024 11:01:57 +0100 Subject: [PATCH 201/374] Removes connected account Re-records relevant VCR-cassette on payments_stripe_spec --- .../allows_to_refund_the_payment.yml | 250 ++++++++++++------ spec/system/admin/payments_stripe_spec.rb | 4 + 2 files changed, 169 insertions(+), 85 deletions(-) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml index d2e90465b4..c35067a952 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml @@ -13,8 +13,6 @@ http_interactions: - "" Content-Type: - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SIi2VfiKBKwO71","request_duration_ms":307}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:06:07 GMT + - Mon, 01 Apr 2024 10:00:07 GMT Content-Type: - application/json Content-Length: @@ -58,15 +56,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5cc51bf3-ba16-45aa-a9c1-45e59aca4e6e + - 894d988f-0964-465e-96a4-cbc43d6cff62 Original-Request: - - req_gL2DHHWKEt9WY4 + - req_L06jsKcXNbzYER Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gL2DHHWKEt9WY4 + - req_L06jsKcXNbzYER Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +79,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Oy1zF4Gzo74w4IY", + "id": "acct_1P0herQTjBVDfK8a", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +101,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711328766, + "created": 1711965606, "default_currency": "aud", "details_submitted": false, "email": "lettuce.producer@example.com", @@ -112,7 +110,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Oy1zF4Gzo74w4IY/external_accounts" + "url": "/v1/accounts/acct_1P0herQTjBVDfK8a/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +207,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 25 Mar 2024 01:06:07 GMT + recorded_at: Mon, 01 Apr 2024 10:00:06 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -224,7 +222,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gL2DHHWKEt9WY4","request_duration_ms":1585}}' + - '{"last_request_metrics":{"request_id":"req_L06jsKcXNbzYER","request_duration_ms":1991}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +239,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:06:07 GMT + - Mon, 01 Apr 2024 10:00:07 GMT Content-Type: - application/json Content-Length: @@ -273,7 +271,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zb7FA0di3NsMHU + - req_vWioO9TiRIjFMJ Stripe-Version: - '2023-10-16' Vary: @@ -286,7 +284,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1zHKuuB1fWySnvptpC3Yy", + "id": "pm_1P0hetKuuB1fWySne9uWJYPX", "object": "payment_method", "billing_details": { "address": { @@ -310,7 +308,7 @@ http_interactions: }, "country": "US", "display_brand": "mastercard", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "fingerprint": "BL35fEFVcTTS5wpE", "funding": "credit", @@ -327,13 +325,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328767, + "created": 1711965607, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:06:07 GMT + recorded_at: Mon, 01 Apr 2024 10:00:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -348,13 +346,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zb7FA0di3NsMHU","request_duration_ms":388}}' + - '{"last_request_metrics":{"request_id":"req_vWioO9TiRIjFMJ","request_duration_ms":495}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1zF4Gzo74w4IY + - acct_1P0herQTjBVDfK8a Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +365,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:06:09 GMT + - Mon, 01 Apr 2024 10:00:09 GMT Content-Type: - application/json Content-Length: @@ -394,17 +392,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 13d69ece-7fba-4979-8a6d-d9d385606451 + - f729fae8-2e8d-4c89-b101-46b2343325aa Original-Request: - - req_ybAeua31aoGvov + - req_gKh9rEHg5FbISS Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ybAeua31aoGvov + - req_gKh9rEHg5FbISS Stripe-Account: - - acct_1Oy1zF4Gzo74w4IY + - acct_1P0herQTjBVDfK8a Stripe-Should-Retry: - 'false' Stripe-Version: @@ -419,7 +417,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", + "id": "pi_3P0heuQTjBVDfK8a0gBRJEL6", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -435,18 +433,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328767, + "created": 1711965608, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1zH4Gzo74w4IY0FgasZx5", + "latest_charge": "ch_3P0heuQTjBVDfK8a0a5WwJKV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1zH4Gzo74w4IY2pn1gAqH", + "payment_method": "pm_1P0heuQTjBVDfK8aBSEO0abL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,10 +469,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:06:09 GMT + recorded_at: Mon, 01 Apr 2024 10:00:08 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs + uri: https://api.stripe.com/v1/payment_intents/pi_3P0heuQTjBVDfK8a0gBRJEL6 body: encoding: US-ASCII string: '' @@ -490,7 +488,7 @@ http_interactions: X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1zF4Gzo74w4IY + - acct_1P0herQTjBVDfK8a Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -503,7 +501,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:06:15 GMT + - Mon, 01 Apr 2024 10:00:11 GMT Content-Type: - application/json Content-Length: @@ -535,9 +533,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_d5isEd1g6f9UMk + - req_ddnixS5X4GzrFe Stripe-Account: - - acct_1Oy1zF4Gzo74w4IY + - acct_1P0herQTjBVDfK8a Stripe-Version: - '2023-10-16' Vary: @@ -550,7 +548,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", + "id": "pi_3P0heuQTjBVDfK8a0gBRJEL6", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -566,18 +564,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328767, + "created": 1711965608, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1zH4Gzo74w4IY0FgasZx5", + "latest_charge": "ch_3P0heuQTjBVDfK8a0a5WwJKV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1zH4Gzo74w4IY2pn1gAqH", + "payment_method": "pm_1P0heuQTjBVDfK8aBSEO0abL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -602,10 +600,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:06:15 GMT + recorded_at: Mon, 01 Apr 2024 10:00:10 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs + uri: https://api.stripe.com/v1/payment_intents/pi_3P0heuQTjBVDfK8a0gBRJEL6 body: encoding: US-ASCII string: '' @@ -621,7 +619,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Oy1zF4Gzo74w4IY + - acct_1P0herQTjBVDfK8a Connection: - close Accept-Encoding: @@ -636,7 +634,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:06:15 GMT + - Mon, 01 Apr 2024 10:00:11 GMT Content-Type: - application/json Content-Length: @@ -668,9 +666,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nk97z3InXQ8xRo + - req_f5WYRcAhEZFokf Stripe-Account: - - acct_1Oy1zF4Gzo74w4IY + - acct_1P0herQTjBVDfK8a Stripe-Version: - '2020-08-27' Vary: @@ -683,7 +681,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", + "id": "pi_3P0heuQTjBVDfK8a0gBRJEL6", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -701,7 +699,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3Oy1zH4Gzo74w4IY0FgasZx5", + "id": "ch_3P0heuQTjBVDfK8a0a5WwJKV", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -709,7 +707,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Oy1zH4Gzo74w4IY0aZsdH9L", + "balance_transaction": "txn_3P0heuQTjBVDfK8a0x7dKX45", "billing_details": { "address": { "city": null, @@ -725,7 +723,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711328768, + "created": 1711965608, "currency": "aud", "customer": null, "description": null, @@ -745,13 +743,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 13, + "risk_score": 10, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", - "payment_method": "pm_1Oy1zH4Gzo74w4IY2pn1gAqH", + "payment_intent": "pi_3P0heuQTjBVDfK8a0gBRJEL6", + "payment_method": "pm_1P0heuQTjBVDfK8aBSEO0abL", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -762,7 +760,7 @@ http_interactions: "cvc_check": "pass" }, "country": "US", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -794,14 +792,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3kxekY0R3pvNzR3NElZKIecg7AGMgag_LXvnno6LBZ_5X55Zs33z_qqfq99QavqBCnC_VHntkc6o5E84xzoZhirXFuV0xND3uqO", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDBoZXJRVGpCVkRmSzhhKKuLqrAGMgZl5iBA3Tk6LBah2hXiN2VZVWEI8C03u5ojHBD7WR0LtJ1qOR8waX9LZmiGOtmFJDNtAcIn", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3Oy1zH4Gzo74w4IY0FgasZx5/refunds" + "url": "/v1/charges/ch_3P0heuQTjBVDfK8a0a5WwJKV/refunds" }, "review": null, "shipping": null, @@ -816,22 +814,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs" + "url": "/v1/charges?payment_intent=pi_3P0heuQTjBVDfK8a0gBRJEL6" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1711328767, + "created": 1711965608, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1zH4Gzo74w4IY0FgasZx5", + "latest_charge": "ch_3P0heuQTjBVDfK8a0a5WwJKV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1zH4Gzo74w4IY2pn1gAqH", + "payment_method": "pm_1P0heuQTjBVDfK8aBSEO0abL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -856,10 +854,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:06:16 GMT + recorded_at: Mon, 01 Apr 2024 10:00:11 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3Oy1zH4Gzo74w4IY0FgasZx5/refunds + uri: https://api.stripe.com/v1/charges/ch_3P0heuQTjBVDfK8a0a5WwJKV/refunds body: encoding: UTF-8 string: amount=2600&expand[0]=charge @@ -877,7 +875,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Oy1zF4Gzo74w4IY + - acct_1P0herQTjBVDfK8a Connection: - close Accept-Encoding: @@ -892,7 +890,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:06:17 GMT + - Mon, 01 Apr 2024 10:00:13 GMT Content-Type: - application/json Content-Length: @@ -920,17 +918,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5df35d88-f54f-4df9-be43-31fdb1e07eca + - 4442c923-f666-4f9e-b74c-8d6993bd0347 Original-Request: - - req_o456KUltmvEaJV + - req_NxYfZfAEt2L2Rx Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_o456KUltmvEaJV + - req_NxYfZfAEt2L2Rx Stripe-Account: - - acct_1Oy1zF4Gzo74w4IY + - acct_1P0herQTjBVDfK8a Stripe-Should-Retry: - 'false' Stripe-Version: @@ -945,12 +943,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3Oy1zH4Gzo74w4IY0vLupviX", + "id": "re_3P0heuQTjBVDfK8a00UpmaQ6", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3Oy1zH4Gzo74w4IY0fdc64JK", + "balance_transaction": "txn_3P0heuQTjBVDfK8a0TBrCthB", "charge": { - "id": "ch_3Oy1zH4Gzo74w4IY0FgasZx5", + "id": "ch_3P0heuQTjBVDfK8a0a5WwJKV", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -958,7 +956,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Oy1zH4Gzo74w4IY0aZsdH9L", + "balance_transaction": "txn_3P0heuQTjBVDfK8a0x7dKX45", "billing_details": { "address": { "city": null, @@ -974,7 +972,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711328768, + "created": 1711965608, "currency": "aud", "customer": null, "description": null, @@ -994,13 +992,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 13, + "risk_score": 10, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", - "payment_method": "pm_1Oy1zH4Gzo74w4IY2pn1gAqH", + "payment_intent": "pi_3P0heuQTjBVDfK8a0gBRJEL6", + "payment_method": "pm_1P0heuQTjBVDfK8aBSEO0abL", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -1011,7 +1009,7 @@ http_interactions: "cvc_check": "pass" }, "country": "US", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -1043,18 +1041,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3kxekY0R3pvNzR3NElZKImcg7AGMgZZta4Xdyo6LBYRvQ1spFAm7rGx_xZxItYb-XK_475iGkG-hUYgMR4ORxVehvhcNSRzdDNK", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDBoZXJRVGpCVkRmSzhhKK2LqrAGMgZFrKZLsbw6LBaxLtTKUnb--xZneOjdSBMJDQz_yksC-OUOmpLLerbi0qPjd6jy3jizBg0t", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3Oy1zH4Gzo74w4IY0vLupviX", + "id": "re_3P0heuQTjBVDfK8a00UpmaQ6", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3Oy1zH4Gzo74w4IY0fdc64JK", - "charge": "ch_3Oy1zH4Gzo74w4IY0FgasZx5", - "created": 1711328776, + "balance_transaction": "txn_3P0heuQTjBVDfK8a0TBrCthB", + "charge": "ch_3P0heuQTjBVDfK8a0a5WwJKV", + "created": 1711965612, "currency": "aud", "destination_details": { "card": { @@ -1065,7 +1063,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", + "payment_intent": "pi_3P0heuQTjBVDfK8a0gBRJEL6", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1075,7 +1073,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3Oy1zH4Gzo74w4IY0FgasZx5/refunds" + "url": "/v1/charges/ch_3P0heuQTjBVDfK8a0a5WwJKV/refunds" }, "review": null, "shipping": null, @@ -1087,7 +1085,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1711328776, + "created": 1711965612, "currency": "aud", "destination_details": { "card": { @@ -1098,12 +1096,94 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Oy1zH4Gzo74w4IY0Cmzw6Zs", + "payment_intent": "pi_3P0heuQTjBVDfK8a0gBRJEL6", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Mon, 25 Mar 2024 01:06:17 GMT + recorded_at: Mon, 01 Apr 2024 10:00:12 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0herQTjBVDfK8a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_gKh9rEHg5FbISS","request_duration_ms":1524}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:00:13 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_E52hF9rOGNiT8Q + Stripe-Account: + - acct_1P0herQTjBVDfK8a + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0herQTjBVDfK8a", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:00:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/system/admin/payments_stripe_spec.rb b/spec/system/admin/payments_stripe_spec.rb index 1c6b96ae58..19ebf58306 100644 --- a/spec/system/admin/payments_stripe_spec.rb +++ b/spec/system/admin/payments_stripe_spec.rb @@ -192,6 +192,10 @@ describe ' order.payments << payment end + after do + Stripe::Account.delete(connected_account.id) + end + it "allows to refund the payment" do login_as_admin visit spree.admin_order_payments_path order From c6117542725e2a9c91550c2674ae98259eb96ae3 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 1 Apr 2024 11:18:44 +0100 Subject: [PATCH 202/374] Removes connected account Re-records relevant VCR-cassette on stripe_sca_spec --- .../_credit/refunds_the_payment.yml | 216 +++++++--- ...t_intent_state_is_not_requires_capture.yml | 342 +++++++++++++-- .../calls_Checkout_StripeRedirect.yml | 295 +++++++++++++ ...urns_nil_when_an_order_is_not_supplied.yml | 295 +++++++++++++ .../_purchase/completes_the_purchase.yml | 408 +++++++++++++++--- ..._error_message_to_help_developer_debug.yml | 348 +++++++++++++-- .../refunds_the_payment.yml | 256 +++++++---- .../void_the_payment.yml | 182 +++++--- spec/models/spree/gateway/stripe_sca_spec.rb | 14 +- 9 files changed, 2035 insertions(+), 321 deletions(-) create mode 100644 spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml create mode 100644 spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml index 22576ebc91..a59a2f2be7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dQEqJkCMMFVHEu","request_duration_ms":305}}' + - '{"last_request_metrics":{"request_id":"req_kMqUEhudX1xjNZ","request_duration_ms":956}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:46 GMT + - Mon, 01 Apr 2024 10:17:46 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ea5ce2ab-65b7-42b5-b6ae-eb2864297b4c + - d054f866-a1e5-4afe-9ad2-aa1c319d4497 Original-Request: - - req_xHZMFlYae6NH9Q + - req_Dfi6gcZKlVoQOx Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xHZMFlYae6NH9Q + - req_Dfi6gcZKlVoQOx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Oy1yv4F5rkj3PEw", + "id": "acct_1P0hvxQKJsxyg7Xm", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711328746, + "created": 1711966666, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Oy1yv4F5rkj3PEw/external_accounts" + "url": "/v1/accounts/acct_1P0hvxQKJsxyg7Xm/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 25 Mar 2024 01:05:46 GMT + recorded_at: Mon, 01 Apr 2024 10:17:46 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -224,13 +224,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xHZMFlYae6NH9Q","request_duration_ms":1621}}' + - '{"last_request_metrics":{"request_id":"req_Dfi6gcZKlVoQOx","request_duration_ms":1594}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1yv4F5rkj3PEw + - acct_1P0hvxQKJsxyg7Xm Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:48 GMT + - Mon, 01 Apr 2024 10:17:48 GMT Content-Type: - application/json Content-Length: @@ -270,17 +270,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 607f3369-b61d-42ab-b148-13d8029bda8a + - 46b0b9e2-a61f-4e6d-a217-de0eeadd9736 Original-Request: - - req_pRlYz5pzWyveLX + - req_dBgFusE0TKXqtN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pRlYz5pzWyveLX + - req_dBgFusE0TKXqtN Stripe-Account: - - acct_1Oy1yv4F5rkj3PEw + - acct_1P0hvxQKJsxyg7Xm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -295,7 +295,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yx4F5rkj3PEw1YhbcT0d", + "id": "pi_3P0hvzQKJsxyg7Xm1F7SlEaz", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -311,18 +311,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328747, + "created": 1711966667, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yx4F5rkj3PEw1Vhf3wWk", + "latest_charge": "ch_3P0hvzQKJsxyg7Xm1yaStIBm", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yx4F5rkj3PEw261B4212", + "payment_method": "pm_1P0hvzQKJsxyg7Xmcm9nKHkF", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -347,10 +347,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:48 GMT + recorded_at: Mon, 01 Apr 2024 10:17:47 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yx4F5rkj3PEw1YhbcT0d + uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvzQKJsxyg7Xm1F7SlEaz body: encoding: US-ASCII string: '' @@ -366,7 +366,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Oy1yv4F5rkj3PEw + - acct_1P0hvxQKJsxyg7Xm Connection: - close Accept-Encoding: @@ -381,7 +381,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:48 GMT + - Mon, 01 Apr 2024 10:17:48 GMT Content-Type: - application/json Content-Length: @@ -413,9 +413,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_shCZFnlUQwEcYZ + - req_OzWVOd5Hl9GDRa Stripe-Account: - - acct_1Oy1yv4F5rkj3PEw + - acct_1P0hvxQKJsxyg7Xm Stripe-Version: - '2020-08-27' Vary: @@ -428,7 +428,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yx4F5rkj3PEw1YhbcT0d", + "id": "pi_3P0hvzQKJsxyg7Xm1F7SlEaz", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -446,7 +446,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3Oy1yx4F5rkj3PEw1Vhf3wWk", + "id": "ch_3P0hvzQKJsxyg7Xm1yaStIBm", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -454,7 +454,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Oy1yx4F5rkj3PEw1RJEP4W1", + "balance_transaction": "txn_3P0hvzQKJsxyg7Xm1XuyTg59", "billing_details": { "address": { "city": null, @@ -470,7 +470,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711328747, + "created": 1711966667, "currency": "aud", "customer": null, "description": null, @@ -490,13 +490,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 23, + "risk_score": 27, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Oy1yx4F5rkj3PEw1YhbcT0d", - "payment_method": "pm_1Oy1yx4F5rkj3PEw261B4212", + "payment_intent": "pi_3P0hvzQKJsxyg7Xm1F7SlEaz", + "payment_method": "pm_1P0hvzQKJsxyg7Xmcm9nKHkF", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -507,7 +507,7 @@ http_interactions: "cvc_check": "pass" }, "country": "US", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -539,14 +539,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3kxeXY0RjVya2ozUEV3KOybg7AGMgaMaiL5f1M6LBZ2TPdfjQZaJju4Svv3eQ2CAa-uzyn94c8BQ_w3LTF76p1LiyHr0_r8sLqu", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDBodnhRS0pzeHlnN1htKMyTqrAGMgagIC1dC4g6LBa_RnE4t8Z6RFw7z5iNrtCxFgz1qsdSgfljLtBrigjEcUqEye-Ykf5_ujwB", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3Oy1yx4F5rkj3PEw1Vhf3wWk/refunds" + "url": "/v1/charges/ch_3P0hvzQKJsxyg7Xm1yaStIBm/refunds" }, "review": null, "shipping": null, @@ -561,22 +561,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3Oy1yx4F5rkj3PEw1YhbcT0d" + "url": "/v1/charges?payment_intent=pi_3P0hvzQKJsxyg7Xm1F7SlEaz" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1711328747, + "created": 1711966667, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yx4F5rkj3PEw1Vhf3wWk", + "latest_charge": "ch_3P0hvzQKJsxyg7Xm1yaStIBm", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yx4F5rkj3PEw261B4212", + "payment_method": "pm_1P0hvzQKJsxyg7Xmcm9nKHkF", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -601,10 +601,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:48 GMT + recorded_at: Mon, 01 Apr 2024 10:17:48 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3Oy1yx4F5rkj3PEw1Vhf3wWk/refunds + uri: https://api.stripe.com/v1/charges/ch_3P0hvzQKJsxyg7Xm1yaStIBm/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -622,7 +622,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Oy1yv4F5rkj3PEw + - acct_1P0hvxQKJsxyg7Xm Connection: - close Accept-Encoding: @@ -637,7 +637,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:49 GMT + - Mon, 01 Apr 2024 10:17:50 GMT Content-Type: - application/json Content-Length: @@ -665,17 +665,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 25ab8e5d-7c88-4922-808b-5ae9f8599b9e + - f3a27053-08a2-48a4-9365-8be0a2640a99 Original-Request: - - req_pu08Uov3va360O + - req_HsA2oPctvXOzHJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pu08Uov3va360O + - req_HsA2oPctvXOzHJ Stripe-Account: - - acct_1Oy1yv4F5rkj3PEw + - acct_1P0hvxQKJsxyg7Xm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -690,12 +690,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3Oy1yx4F5rkj3PEw1pr5QKNw", + "id": "re_3P0hvzQKJsxyg7Xm1vh5ClXr", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3Oy1yx4F5rkj3PEw1sPm1vqA", + "balance_transaction": "txn_3P0hvzQKJsxyg7Xm1X7XsjkF", "charge": { - "id": "ch_3Oy1yx4F5rkj3PEw1Vhf3wWk", + "id": "ch_3P0hvzQKJsxyg7Xm1yaStIBm", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -703,7 +703,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Oy1yx4F5rkj3PEw1RJEP4W1", + "balance_transaction": "txn_3P0hvzQKJsxyg7Xm1XuyTg59", "billing_details": { "address": { "city": null, @@ -719,7 +719,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711328747, + "created": 1711966667, "currency": "aud", "customer": null, "description": null, @@ -739,13 +739,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 23, + "risk_score": 27, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Oy1yx4F5rkj3PEw1YhbcT0d", - "payment_method": "pm_1Oy1yx4F5rkj3PEw261B4212", + "payment_intent": "pi_3P0hvzQKJsxyg7Xm1F7SlEaz", + "payment_method": "pm_1P0hvzQKJsxyg7Xmcm9nKHkF", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -756,7 +756,7 @@ http_interactions: "cvc_check": "pass" }, "country": "US", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -788,18 +788,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3kxeXY0RjVya2ozUEV3KO2bg7AGMgaJ23TFQt46LBZayXOJnAJj1AORS9kJ4pQz9jm6LgdQlAVDoKDuAeQsLO335SflS3n6K1ac", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDBodnhRS0pzeHlnN1htKM2TqrAGMgYOp7ktBPI6LBa3drlCvWCNQIXREBHiFbU5feoRc9WpEoK6xto6d5jvytb__krblV-onUHu", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3Oy1yx4F5rkj3PEw1pr5QKNw", + "id": "re_3P0hvzQKJsxyg7Xm1vh5ClXr", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3Oy1yx4F5rkj3PEw1sPm1vqA", - "charge": "ch_3Oy1yx4F5rkj3PEw1Vhf3wWk", - "created": 1711328749, + "balance_transaction": "txn_3P0hvzQKJsxyg7Xm1X7XsjkF", + "charge": "ch_3P0hvzQKJsxyg7Xm1yaStIBm", + "created": 1711966669, "currency": "aud", "destination_details": { "card": { @@ -810,7 +810,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Oy1yx4F5rkj3PEw1YhbcT0d", + "payment_intent": "pi_3P0hvzQKJsxyg7Xm1F7SlEaz", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -820,7 +820,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3Oy1yx4F5rkj3PEw1Vhf3wWk/refunds" + "url": "/v1/charges/ch_3P0hvzQKJsxyg7Xm1yaStIBm/refunds" }, "review": null, "shipping": null, @@ -832,7 +832,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1711328749, + "created": 1711966669, "currency": "aud", "destination_details": { "card": { @@ -843,12 +843,94 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Oy1yx4F5rkj3PEw1YhbcT0d", + "payment_intent": "pi_3P0hvzQKJsxyg7Xm1F7SlEaz", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Mon, 25 Mar 2024 01:05:50 GMT + recorded_at: Mon, 01 Apr 2024 10:17:49 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0hvxQKJsxyg7Xm + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_dBgFusE0TKXqtN","request_duration_ms":1488}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:17:51 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_Vxcx1VoZ2gIpT7 + Stripe-Account: + - acct_1P0hvxQKJsxyg7Xm + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hvxQKJsxyg7Xm", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:17:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml index 8b0cb39fa3..a23a96b9b2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pRlYz5pzWyveLX","request_duration_ms":1291}}' + - '{"last_request_metrics":{"request_id":"req_Vxcx1VoZ2gIpT7","request_duration_ms":1065}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:50 GMT + - Mon, 01 Apr 2024 10:17:52 GMT Content-Type: - application/json Content-Length: @@ -63,7 +63,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_iMg6LHEnZ3xXaK + - req_9uqqs0dhQujm9Z Stripe-Version: - '2023-10-16' Vary: @@ -76,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1z0KuuB1fWySnpjyW7Sjh", + "id": "pm_1P0hw4KuuB1fWySntDFvCnCW", "object": "payment_method", "billing_details": { "address": { @@ -100,7 +100,7 @@ http_interactions: }, "country": "US", "display_brand": "mastercard", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "fingerprint": "BL35fEFVcTTS5wpE", "funding": "credit", @@ -117,19 +117,19 @@ http_interactions: }, "wallet": null }, - "created": 1711328750, + "created": 1711966672, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:50 GMT + recorded_at: Mon, 01 Apr 2024 10:17:52 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1Oy1z0KuuB1fWySnpjyW7Sjh&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P0hw4KuuB1fWySntDFvCnCW&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.13.0 @@ -138,7 +138,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iMg6LHEnZ3xXaK","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_9uqqs0dhQujm9Z","request_duration_ms":360}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -155,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:51 GMT + - Mon, 01 Apr 2024 10:17:53 GMT Content-Type: - application/json Content-Length: @@ -182,15 +182,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2e298eb3-1328-4573-a56a-e5d9958af72c + - 4ecbe95a-3ec0-4337-b19e-7e175451cfd1 Original-Request: - - req_Zoer1zzHRH2OxX + - req_d7SbxDw4JbGPV6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Zoer1zzHRH2OxX + - req_d7SbxDw4JbGPV6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -205,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1z1KuuB1fWySn0TuzQTHS", + "id": "pi_3P0hw5KuuB1fWySn2nvrAGCL", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328751, + "created": 1711966673, "currency": "aud", "customer": null, "description": null, @@ -232,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1z0KuuB1fWySnpjyW7Sjh", + "payment_method": "pm_1P0hw4KuuB1fWySntDFvCnCW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,10 +257,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:51 GMT + recorded_at: Mon, 01 Apr 2024 10:17:52 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1z1KuuB1fWySn0TuzQTHS + uri: https://api.stripe.com/v1/payment_intents/pi_3P0hw5KuuB1fWySn2nvrAGCL body: encoding: US-ASCII string: '' @@ -272,7 +272,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Zoer1zzHRH2OxX","request_duration_ms":426}}' + - '{"last_request_metrics":{"request_id":"req_d7SbxDw4JbGPV6","request_duration_ms":512}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -289,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:51 GMT + - Mon, 01 Apr 2024 10:17:53 GMT Content-Type: - application/json Content-Length: @@ -321,7 +321,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_YyXcj9K9FRIiNe + - req_DqIecKV3qULNG7 Stripe-Version: - '2023-10-16' Vary: @@ -334,7 +334,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1z1KuuB1fWySn0TuzQTHS", + "id": "pi_3P0hw5KuuB1fWySn2nvrAGCL", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -350,7 +350,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328751, + "created": 1711966673, "currency": "aud", "customer": null, "description": null, @@ -361,7 +361,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1z0KuuB1fWySnpjyW7Sjh", + "payment_method": "pm_1P0hw4KuuB1fWySntDFvCnCW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -386,5 +386,297 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:51 GMT + recorded_at: Mon, 01 Apr 2024 10:17:53 GMT +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=carrot.producer%40example.com + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_DqIecKV3qULNG7","request_duration_ms":304}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:17:55 GMT + Content-Type: + - application/json + Content-Length: + - '3046' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Idempotency-Key: + - e81ed6ab-996f-42b6-9da3-4682aead8558 + Original-Request: + - req_EDPibXlowchAvO + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_EDPibXlowchAvO + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hw5QT9u0FYInb", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": null, + "capabilities": {}, + "charges_enabled": false, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1711966674, + "default_currency": "aud", + "details_submitted": false, + "email": "carrot.producer@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1P0hw5QT9u0FYInb/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Mon, 01 Apr 2024 10:17:54 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0hw5QT9u0FYInb + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_EDPibXlowchAvO","request_duration_ms":1590}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:17:56 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_THI2PVqc1ZJrFQ + Stripe-Account: + - acct_1P0hw5QT9u0FYInb + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hw5QT9u0FYInb", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:17:55 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml new file mode 100644 index 0000000000..0735deef1d --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml @@ -0,0 +1,295 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=carrot.producer%40example.com + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_qGbRhQRLinAVWB","request_duration_ms":900}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:18:02 GMT + Content-Type: + - application/json + Content-Length: + - '3046' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Idempotency-Key: + - 94670b1e-5595-43bd-8cc3-1b099c613d59 + Original-Request: + - req_sZR0zGRpMmvqd6 + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_sZR0zGRpMmvqd6 + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hwD4EE19S9Esd", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": null, + "capabilities": {}, + "charges_enabled": false, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1711966681, + "default_currency": "aud", + "details_submitted": false, + "email": "carrot.producer@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1P0hwD4EE19S9Esd/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Mon, 01 Apr 2024 10:18:02 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0hwD4EE19S9Esd + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_sZR0zGRpMmvqd6","request_duration_ms":1798}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:18:03 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_6J3hXuJ4aUNNqR + Stripe-Account: + - acct_1P0hwD4EE19S9Esd + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hwD4EE19S9Esd", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:18:03 GMT +recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml new file mode 100644 index 0000000000..3b9cd58f79 --- /dev/null +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml @@ -0,0 +1,295 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=carrot.producer%40example.com + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_THI2PVqc1ZJrFQ","request_duration_ms":925}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:17:58 GMT + Content-Type: + - application/json + Content-Length: + - '3046' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Idempotency-Key: + - f82c1fbd-6ae1-4f50-88d9-fe10d7cba328 + Original-Request: + - req_utR5hUFKEPNNWO + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_utR5hUFKEPNNWO + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hw8QLyaBty4VB", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": null, + "capabilities": {}, + "charges_enabled": false, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1711966677, + "default_currency": "aud", + "details_submitted": false, + "email": "carrot.producer@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1P0hw8QLyaBty4VB/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Mon, 01 Apr 2024 10:17:57 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0hw8QLyaBty4VB + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_utR5hUFKEPNNWO","request_duration_ms":1921}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:17:59 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_qGbRhQRLinAVWB + Stripe-Account: + - acct_1P0hw8QLyaBty4VB + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hw8QLyaBty4VB", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:17:58 GMT +recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml index cfdabeb904..a6164d0ec6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml @@ -13,8 +13,6 @@ http_interactions: - "" Content-Type: - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TY7Hi7GZqE85NM","request_duration_ms":613}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:29 GMT + - Mon, 01 Apr 2024 10:17:14 GMT Content-Type: - application/json Content-Length: @@ -63,7 +61,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eZZ7HmOnmCs18p + - req_NROkvnMh04rWQN Stripe-Version: - '2023-10-16' Vary: @@ -76,7 +74,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yfKuuB1fWySnmSknGVrY", + "id": "pm_1P0hvSKuuB1fWySnJ7tz7AJK", "object": "payment_method", "billing_details": { "address": { @@ -100,7 +98,7 @@ http_interactions: }, "country": "US", "display_brand": "mastercard", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "fingerprint": "BL35fEFVcTTS5wpE", "funding": "credit", @@ -117,19 +115,19 @@ http_interactions: }, "wallet": null }, - "created": 1711328729, + "created": 1711966634, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:29 GMT + recorded_at: Mon, 01 Apr 2024 10:17:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1Oy1yfKuuB1fWySnmSknGVrY&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P0hvSKuuB1fWySnJ7tz7AJK&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.13.0 @@ -138,7 +136,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eZZ7HmOnmCs18p","request_duration_ms":331}}' + - '{"last_request_metrics":{"request_id":"req_NROkvnMh04rWQN","request_duration_ms":654}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -155,7 +153,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:30 GMT + - Mon, 01 Apr 2024 10:17:14 GMT Content-Type: - application/json Content-Length: @@ -182,15 +180,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f9dff413-6eeb-427c-b053-375ee1ba6348 + - cba76d31-80ee-43f3-8ed7-82050651941a Original-Request: - - req_2BnlYiEOCRE4wl + - req_KE257bfb4pCgy9 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2BnlYiEOCRE4wl + - req_KE257bfb4pCgy9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -205,7 +203,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yfKuuB1fWySn07fsNcfd", + "id": "pi_3P0hvSKuuB1fWySn0RNbGSBR", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +219,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328729, + "created": 1711966634, "currency": "aud", "customer": null, "description": null, @@ -232,7 +230,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yfKuuB1fWySnmSknGVrY", + "payment_method": "pm_1P0hvSKuuB1fWySnJ7tz7AJK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,10 +255,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:30 GMT + recorded_at: Mon, 01 Apr 2024 10:17:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yfKuuB1fWySn07fsNcfd/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvSKuuB1fWySn0RNbGSBR/confirm body: encoding: US-ASCII string: '' @@ -272,7 +270,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2BnlYiEOCRE4wl","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_KE257bfb4pCgy9","request_duration_ms":611}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -289,7 +287,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:31 GMT + - Mon, 01 Apr 2024 10:17:15 GMT Content-Type: - application/json Content-Length: @@ -317,15 +315,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - aad0cb30-9cbb-405b-8575-361f1512e6dc + - df6fa1d7-7c63-4c89-8482-e6a3c7b761d5 Original-Request: - - req_SIi15R2Jjn8PLO + - req_hZkVWHrm7BBut4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SIi15R2Jjn8PLO + - req_hZkVWHrm7BBut4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -340,7 +338,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yfKuuB1fWySn07fsNcfd", + "id": "pi_3P0hvSKuuB1fWySn0RNbGSBR", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -356,18 +354,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328729, + "created": 1711966634, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yfKuuB1fWySn0iqzx5ZJ", + "latest_charge": "ch_3P0hvSKuuB1fWySn01aUEw8a", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yfKuuB1fWySnmSknGVrY", + "payment_method": "pm_1P0hvSKuuB1fWySnJ7tz7AJK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -392,10 +390,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:31 GMT + recorded_at: Mon, 01 Apr 2024 10:17:15 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yfKuuB1fWySn07fsNcfd + uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvSKuuB1fWySn0RNbGSBR body: encoding: US-ASCII string: '' @@ -407,7 +405,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SIi15R2Jjn8PLO","request_duration_ms":984}}' + - '{"last_request_metrics":{"request_id":"req_hZkVWHrm7BBut4","request_duration_ms":1040}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -424,7 +422,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:32 GMT + - Mon, 01 Apr 2024 10:17:19 GMT Content-Type: - application/json Content-Length: @@ -456,7 +454,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3bg3h4Aj4t7cN6 + - req_jzjgc37xM2CuNm Stripe-Version: - '2023-10-16' Vary: @@ -469,7 +467,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yfKuuB1fWySn07fsNcfd", + "id": "pi_3P0hvSKuuB1fWySn0RNbGSBR", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -485,18 +483,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328729, + "created": 1711966634, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yfKuuB1fWySn0iqzx5ZJ", + "latest_charge": "ch_3P0hvSKuuB1fWySn01aUEw8a", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yfKuuB1fWySnmSknGVrY", + "payment_method": "pm_1P0hvSKuuB1fWySnJ7tz7AJK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -521,10 +519,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:32 GMT + recorded_at: Mon, 01 Apr 2024 10:17:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yfKuuB1fWySn07fsNcfd/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvSKuuB1fWySn0RNbGSBR/capture body: encoding: UTF-8 string: amount_to_capture=1000 @@ -555,7 +553,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:33 GMT + - Mon, 01 Apr 2024 10:17:20 GMT Content-Type: - application/json Content-Length: @@ -583,15 +581,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 70b9bfad-b75e-4ecf-a3fb-7ba5d0ba4e06 + - cf45fd92-6c39-4ba7-8fda-da00040a35e6 Original-Request: - - req_zUqaIRoXLSvLQG + - req_1PGTPM2HKB09cZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zUqaIRoXLSvLQG + - req_1PGTPM2HKB09cZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -606,7 +604,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yfKuuB1fWySn07fsNcfd", + "id": "pi_3P0hvSKuuB1fWySn0RNbGSBR", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -624,7 +622,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3Oy1yfKuuB1fWySn0iqzx5ZJ", + "id": "ch_3P0hvSKuuB1fWySn01aUEw8a", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -633,7 +631,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Oy1yfKuuB1fWySn0Bq9IJSm", + "balance_transaction": "txn_3P0hvSKuuB1fWySn01bU7GoR", "billing_details": { "address": { "city": null, @@ -649,7 +647,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711328730, + "created": 1711966635, "currency": "aud", "customer": null, "description": null, @@ -669,25 +667,25 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 49, + "risk_score": 31, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Oy1yfKuuB1fWySn07fsNcfd", - "payment_method": "pm_1Oy1yfKuuB1fWySnmSknGVrY", + "payment_intent": "pi_3P0hvSKuuB1fWySn0RNbGSBR", + "payment_method": "pm_1P0hvSKuuB1fWySnJ7tz7AJK", "payment_method_details": { "card": { "amount_authorized": 1000, "brand": "mastercard", - "capture_before": 1711933530, + "capture_before": 1712571435, "checks": { "address_line1_check": null, "address_postal_code_check": null, "cvc_check": "pass" }, "country": "US", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -719,14 +717,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKN2bg7AGMgarRMEgGRE6LBbWYlBvobC-RPCaTfg6H-aGjj1IIBnFsdXk9cGG0Q6VTECF5RDLFsMxptpV", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKLCTqrAGMgbNvCvIw0g6LBbGTJrRbRYLZ-ydAl2URON7Lqf2q67mw5SMB1ivr6qOAp-39SKNVncDs0Xh", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3Oy1yfKuuB1fWySn0iqzx5ZJ/refunds" + "url": "/v1/charges/ch_3P0hvSKuuB1fWySn01aUEw8a/refunds" }, "review": null, "shipping": null, @@ -741,22 +739,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3Oy1yfKuuB1fWySn07fsNcfd" + "url": "/v1/charges?payment_intent=pi_3P0hvSKuuB1fWySn0RNbGSBR" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1711328729, + "created": 1711966634, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yfKuuB1fWySn0iqzx5ZJ", + "latest_charge": "ch_3P0hvSKuuB1fWySn01aUEw8a", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yfKuuB1fWySnmSknGVrY", + "payment_method": "pm_1P0hvSKuuB1fWySnJ7tz7AJK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -781,5 +779,297 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:33 GMT + recorded_at: Mon, 01 Apr 2024 10:17:19 GMT +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=carrot.producer%40example.com + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_jzjgc37xM2CuNm","request_duration_ms":329}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:17:22 GMT + Content-Type: + - application/json + Content-Length: + - '3046' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Idempotency-Key: + - f08fb11b-d34f-43bc-bb7c-6d8d14817f85 + Original-Request: + - req_LtIyyQ5lUErcOZ + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_LtIyyQ5lUErcOZ + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hvY4KTZpW5r5h", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": null, + "capabilities": {}, + "charges_enabled": false, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1711966641, + "default_currency": "aud", + "details_submitted": false, + "email": "carrot.producer@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1P0hvY4KTZpW5r5h/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Mon, 01 Apr 2024 10:17:21 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0hvY4KTZpW5r5h + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_LtIyyQ5lUErcOZ","request_duration_ms":1634}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:17:23 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_FFbh4TJnQI3ZW8 + Stripe-Account: + - acct_1P0hvY4KTZpW5r5h + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hvY4KTZpW5r5h", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:17:22 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml index f50fd5d285..9ce7fc4fde 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3bg3h4Aj4t7cN6","request_duration_ms":311}}' + - '{"last_request_metrics":{"request_id":"req_FFbh4TJnQI3ZW8","request_duration_ms":1118}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:33 GMT + - Mon, 01 Apr 2024 10:17:23 GMT Content-Type: - application/json Content-Length: @@ -63,7 +63,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NVFewBpDrTVLXp + - req_Dxle6ambnNzGMR Stripe-Version: - '2023-10-16' Vary: @@ -76,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yjKuuB1fWySnumy35WlL", + "id": "pm_1P0hvbKuuB1fWySnphwbA46F", "object": "payment_method", "billing_details": { "address": { @@ -100,7 +100,7 @@ http_interactions: }, "country": "US", "display_brand": "mastercard", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "fingerprint": "BL35fEFVcTTS5wpE", "funding": "credit", @@ -117,19 +117,19 @@ http_interactions: }, "wallet": null }, - "created": 1711328733, + "created": 1711966643, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:33 GMT + recorded_at: Mon, 01 Apr 2024 10:17:23 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1Oy1yjKuuB1fWySnumy35WlL&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P0hvbKuuB1fWySnphwbA46F&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - Stripe/v1 RubyBindings/10.13.0 @@ -138,7 +138,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NVFewBpDrTVLXp","request_duration_ms":436}}' + - '{"last_request_metrics":{"request_id":"req_Dxle6ambnNzGMR","request_duration_ms":471}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -155,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:34 GMT + - Mon, 01 Apr 2024 10:17:24 GMT Content-Type: - application/json Content-Length: @@ -182,15 +182,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cd07ba15-aa17-4cae-b02d-3b03646f7c8e + - 3221df62-1efa-4f68-bc9a-481084dbc0d5 Original-Request: - - req_B7pqiSH8Ga1rGi + - req_IFPoshfyuzAtNV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_B7pqiSH8Ga1rGi + - req_IFPoshfyuzAtNV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -205,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1ykKuuB1fWySn2Y4njm2Y", + "id": "pi_3P0hvcKuuB1fWySn2qMAW4Pl", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328734, + "created": 1711966644, "currency": "aud", "customer": null, "description": null, @@ -232,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yjKuuB1fWySnumy35WlL", + "payment_method": "pm_1P0hvbKuuB1fWySnphwbA46F", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,10 +257,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:34 GMT + recorded_at: Mon, 01 Apr 2024 10:17:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1ykKuuB1fWySn2Y4njm2Y/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvcKuuB1fWySn2qMAW4Pl/confirm body: encoding: US-ASCII string: '' @@ -272,7 +272,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_B7pqiSH8Ga1rGi","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_IFPoshfyuzAtNV","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -289,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:35 GMT + - Mon, 01 Apr 2024 10:17:25 GMT Content-Type: - application/json Content-Length: @@ -317,15 +317,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 024f19c8-d5dd-41f8-989b-d2e44cc8d558 + - 955a38d6-f683-4ec9-ae3e-745e1aee014c Original-Request: - - req_nFUn2E3zDuLnka + - req_yTVJzIu4xzBdz1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nFUn2E3zDuLnka + - req_yTVJzIu4xzBdz1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -340,7 +340,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1ykKuuB1fWySn2Y4njm2Y", + "id": "pi_3P0hvcKuuB1fWySn2qMAW4Pl", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -356,18 +356,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328734, + "created": 1711966644, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1ykKuuB1fWySn2b3yc3OQ", + "latest_charge": "ch_3P0hvcKuuB1fWySn21gozvRO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yjKuuB1fWySnumy35WlL", + "payment_method": "pm_1P0hvbKuuB1fWySnphwbA46F", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -392,5 +392,297 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:35 GMT + recorded_at: Mon, 01 Apr 2024 10:17:24 GMT +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=carrot.producer%40example.com + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_yTVJzIu4xzBdz1","request_duration_ms":918}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:17:28 GMT + Content-Type: + - application/json + Content-Length: + - '3046' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Idempotency-Key: + - 7bf68c6c-e10c-4c16-be41-5223aa78b9f8 + Original-Request: + - req_JIxGPj3qSK72eE + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_JIxGPj3qSK72eE + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hveQMn01RU0IH", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": null, + "capabilities": {}, + "charges_enabled": false, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1711966647, + "default_currency": "aud", + "details_submitted": false, + "email": "carrot.producer@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1P0hveQMn01RU0IH/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Mon, 01 Apr 2024 10:17:27 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0hveQMn01RU0IH + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_JIxGPj3qSK72eE","request_duration_ms":1761}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:17:29 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_OR1ot4mPDCrtpe + Stripe-Account: + - acct_1P0hveQMn01RU0IH + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hveQMn01RU0IH", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:17:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml index 9be6c680c7..889dfa1fa3 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nFUn2E3zDuLnka","request_duration_ms":937}}' + - '{"last_request_metrics":{"request_id":"req_OR1ot4mPDCrtpe","request_duration_ms":1014}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:37 GMT + - Mon, 01 Apr 2024 10:17:31 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0b04a96a-3534-43ae-92d5-00c1259d7e11 + - 3a486fc8-7081-42e5-9448-12eaaab21320 Original-Request: - - req_fbiCnbwzgahDp8 + - req_JlcagkGgFmf09l Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_fbiCnbwzgahDp8 + - req_JlcagkGgFmf09l Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Oy1ylQQBQboho8d", + "id": "acct_1P0hvhQOtfYFz63d", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711328736, + "created": 1711966650, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Oy1ylQQBQboho8d/external_accounts" + "url": "/v1/accounts/acct_1P0hvhQOtfYFz63d/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 25 Mar 2024 01:05:37 GMT + recorded_at: Mon, 01 Apr 2024 10:17:30 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -224,7 +224,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fbiCnbwzgahDp8","request_duration_ms":1520}}' + - '{"last_request_metrics":{"request_id":"req_JlcagkGgFmf09l","request_duration_ms":1812}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:38 GMT + - Mon, 01 Apr 2024 10:17:33 GMT Content-Type: - application/json Content-Length: @@ -273,7 +273,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jzrkwjOjdTRGXl + - req_SD6TmRQwlO8i9h Stripe-Version: - '2023-10-16' Vary: @@ -286,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1ynKuuB1fWySntoarRMNc", + "id": "pm_1P0hvkKuuB1fWySnHhJwKNp0", "object": "payment_method", "billing_details": { "address": { @@ -310,7 +310,7 @@ http_interactions: }, "country": "US", "display_brand": "mastercard", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "fingerprint": "BL35fEFVcTTS5wpE", "funding": "credit", @@ -327,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328737, + "created": 1711966653, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:38 GMT + recorded_at: Mon, 01 Apr 2024 10:17:32 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -348,13 +348,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jzrkwjOjdTRGXl","request_duration_ms":366}}' + - '{"last_request_metrics":{"request_id":"req_SD6TmRQwlO8i9h","request_duration_ms":395}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1ylQQBQboho8d + - acct_1P0hvhQOtfYFz63d Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:39 GMT + - Mon, 01 Apr 2024 10:17:34 GMT Content-Type: - application/json Content-Length: @@ -394,17 +394,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fd896ded-8114-4db7-8ae9-7521f6de7207 + - 8929364e-fcee-4841-bf21-90286e78e8cf Original-Request: - - req_YcdwGwp3R1roTq + - req_Jooh4BEh09MmaC Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_YcdwGwp3R1roTq + - req_Jooh4BEh09MmaC Stripe-Account: - - acct_1Oy1ylQQBQboho8d + - acct_1P0hvhQOtfYFz63d Stripe-Should-Retry: - 'false' Stripe-Version: @@ -419,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yoQQBQboho8d1GzK0RmL", + "id": "pi_3P0hvlQOtfYFz63d1S3oHL1K", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -435,18 +435,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328738, + "created": 1711966653, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yoQQBQboho8d1P02xOfr", + "latest_charge": "ch_3P0hvlQOtfYFz63d17W6Uk5o", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yoQQBQboho8dX6fOZSS0", + "payment_method": "pm_1P0hvlQOtfYFz63d4BUPS5Hy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,10 +471,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:39 GMT + recorded_at: Mon, 01 Apr 2024 10:17:33 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yoQQBQboho8d1GzK0RmL + uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvlQOtfYFz63d1S3oHL1K body: encoding: US-ASCII string: '' @@ -486,13 +486,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YcdwGwp3R1roTq","request_duration_ms":1425}}' + - '{"last_request_metrics":{"request_id":"req_Jooh4BEh09MmaC","request_duration_ms":1489}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1ylQQBQboho8d + - acct_1P0hvhQOtfYFz63d Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:39 GMT + - Mon, 01 Apr 2024 10:17:35 GMT Content-Type: - application/json Content-Length: @@ -537,9 +537,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_B8HQtwXofAuAud + - req_TjPcCKrV0d7ymx Stripe-Account: - - acct_1Oy1ylQQBQboho8d + - acct_1P0hvhQOtfYFz63d Stripe-Version: - '2023-10-16' Vary: @@ -552,7 +552,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yoQQBQboho8d1GzK0RmL", + "id": "pi_3P0hvlQOtfYFz63d1S3oHL1K", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -568,18 +568,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328738, + "created": 1711966653, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yoQQBQboho8d1P02xOfr", + "latest_charge": "ch_3P0hvlQOtfYFz63d17W6Uk5o", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yoQQBQboho8dX6fOZSS0", + "payment_method": "pm_1P0hvlQOtfYFz63d4BUPS5Hy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -604,10 +604,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:39 GMT + recorded_at: Mon, 01 Apr 2024 10:17:34 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yoQQBQboho8d1GzK0RmL + uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvlQOtfYFz63d1S3oHL1K body: encoding: US-ASCII string: '' @@ -623,7 +623,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Oy1ylQQBQboho8d + - acct_1P0hvhQOtfYFz63d Connection: - close Accept-Encoding: @@ -638,11 +638,11 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:40 GMT + - Mon, 01 Apr 2024 10:17:35 GMT Content-Type: - application/json Content-Length: - - '5159' + - '5160' Connection: - close Access-Control-Allow-Credentials: @@ -670,9 +670,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_CSd4rWimSuXsi1 + - req_KPSoGkE7nvNfqA Stripe-Account: - - acct_1Oy1ylQQBQboho8d + - acct_1P0hvhQOtfYFz63d Stripe-Version: - '2020-08-27' Vary: @@ -685,7 +685,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yoQQBQboho8d1GzK0RmL", + "id": "pi_3P0hvlQOtfYFz63d1S3oHL1K", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -703,7 +703,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3Oy1yoQQBQboho8d1P02xOfr", + "id": "ch_3P0hvlQOtfYFz63d17W6Uk5o", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -711,7 +711,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Oy1yoQQBQboho8d1aY0Geov", + "balance_transaction": "txn_3P0hvlQOtfYFz63d14KNEbJT", "billing_details": { "address": { "city": null, @@ -727,7 +727,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711328738, + "created": 1711966653, "currency": "aud", "customer": null, "description": null, @@ -747,13 +747,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 2, + "risk_score": 51, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Oy1yoQQBQboho8d1GzK0RmL", - "payment_method": "pm_1Oy1yoQQBQboho8dX6fOZSS0", + "payment_intent": "pi_3P0hvlQOtfYFz63d1S3oHL1K", + "payment_method": "pm_1P0hvlQOtfYFz63d4BUPS5Hy", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -764,7 +764,7 @@ http_interactions: "cvc_check": "pass" }, "country": "US", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -796,14 +796,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3kxeWxRUUJRYm9obzhkKOSbg7AGMgYWZlW4LmE6LBaCWIdCdCzIKdxrS5MSExre106gKftLKUN-aiDzhCA03iHuNiBaMnIN2AfB", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDBodmhRT3RmWUZ6NjNkKL-TqrAGMgb4Lds_0ZM6LBbjEEGODjni8tWktObzq-jhec7I_Q_T-kMGRTOWbdfl6e3_dhFPfEzDinAN", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3Oy1yoQQBQboho8d1P02xOfr/refunds" + "url": "/v1/charges/ch_3P0hvlQOtfYFz63d17W6Uk5o/refunds" }, "review": null, "shipping": null, @@ -818,22 +818,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3Oy1yoQQBQboho8d1GzK0RmL" + "url": "/v1/charges?payment_intent=pi_3P0hvlQOtfYFz63d1S3oHL1K" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1711328738, + "created": 1711966653, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yoQQBQboho8d1P02xOfr", + "latest_charge": "ch_3P0hvlQOtfYFz63d17W6Uk5o", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yoQQBQboho8dX6fOZSS0", + "payment_method": "pm_1P0hvlQOtfYFz63d4BUPS5Hy", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -858,10 +858,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:40 GMT + recorded_at: Mon, 01 Apr 2024 10:17:34 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3Oy1yoQQBQboho8d1P02xOfr/refunds + uri: https://api.stripe.com/v1/charges/ch_3P0hvlQOtfYFz63d17W6Uk5o/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -879,7 +879,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Oy1ylQQBQboho8d + - acct_1P0hvhQOtfYFz63d Connection: - close Accept-Encoding: @@ -894,11 +894,11 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:41 GMT + - Mon, 01 Apr 2024 10:17:36 GMT Content-Type: - application/json Content-Length: - - '4535' + - '4536' Connection: - close Access-Control-Allow-Credentials: @@ -922,17 +922,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1ee8c9cd-d52a-4415-9d08-341e29679f82 + - 9405517c-b17a-403c-8ad0-0f46c69764f4 Original-Request: - - req_iGUFWRqGFSqPnf + - req_0VkhDqHi0ceRgK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_iGUFWRqGFSqPnf + - req_0VkhDqHi0ceRgK Stripe-Account: - - acct_1Oy1ylQQBQboho8d + - acct_1P0hvhQOtfYFz63d Stripe-Should-Retry: - 'false' Stripe-Version: @@ -947,12 +947,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3Oy1yoQQBQboho8d19AcpLS8", + "id": "re_3P0hvlQOtfYFz63d1RyMfZ9w", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3Oy1yoQQBQboho8d1ObNoNSy", + "balance_transaction": "txn_3P0hvlQOtfYFz63d1ZPMfDM4", "charge": { - "id": "ch_3Oy1yoQQBQboho8d1P02xOfr", + "id": "ch_3P0hvlQOtfYFz63d17W6Uk5o", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -960,7 +960,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3Oy1yoQQBQboho8d1aY0Geov", + "balance_transaction": "txn_3P0hvlQOtfYFz63d14KNEbJT", "billing_details": { "address": { "city": null, @@ -976,7 +976,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711328738, + "created": 1711966653, "currency": "aud", "customer": null, "description": null, @@ -996,13 +996,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 2, + "risk_score": 51, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3Oy1yoQQBQboho8d1GzK0RmL", - "payment_method": "pm_1Oy1yoQQBQboho8dX6fOZSS0", + "payment_intent": "pi_3P0hvlQOtfYFz63d1S3oHL1K", + "payment_method": "pm_1P0hvlQOtfYFz63d4BUPS5Hy", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -1013,7 +1013,7 @@ http_interactions: "cvc_check": "pass" }, "country": "US", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "extended_authorization": { "status": "disabled" @@ -1045,18 +1045,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT3kxeWxRUUJRYm9obzhkKOWbg7AGMgbrN7C25Bw6LBZsWKcrRKE1SQAGSnUvwwx9RlR5zavtd_dD_C0rb-R5ddUmv4GzOFn_NcG1", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDBodmhRT3RmWUZ6NjNkKMCTqrAGMgbyY5RUFRk6LBaT3wmNFdytmSSbdRYuUMdycJATyR94mCeZ-emUTnJlAObM_RmUJl9XBnk_", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3Oy1yoQQBQboho8d19AcpLS8", + "id": "re_3P0hvlQOtfYFz63d1RyMfZ9w", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3Oy1yoQQBQboho8d1ObNoNSy", - "charge": "ch_3Oy1yoQQBQboho8d1P02xOfr", - "created": 1711328740, + "balance_transaction": "txn_3P0hvlQOtfYFz63d1ZPMfDM4", + "charge": "ch_3P0hvlQOtfYFz63d17W6Uk5o", + "created": 1711966656, "currency": "aud", "destination_details": { "card": { @@ -1067,7 +1067,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Oy1yoQQBQboho8d1GzK0RmL", + "payment_intent": "pi_3P0hvlQOtfYFz63d1S3oHL1K", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1077,7 +1077,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3Oy1yoQQBQboho8d1P02xOfr/refunds" + "url": "/v1/charges/ch_3P0hvlQOtfYFz63d17W6Uk5o/refunds" }, "review": null, "shipping": null, @@ -1089,7 +1089,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1711328740, + "created": 1711966656, "currency": "aud", "destination_details": { "card": { @@ -1100,12 +1100,94 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3Oy1yoQQBQboho8d1GzK0RmL", + "payment_intent": "pi_3P0hvlQOtfYFz63d1S3oHL1K", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Mon, 25 Mar 2024 01:05:41 GMT + recorded_at: Mon, 01 Apr 2024 10:17:36 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0hvhQOtfYFz63d + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_TjPcCKrV0d7ymx","request_duration_ms":304}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:17:38 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_hKiCpXqUl16Kl8 + Stripe-Account: + - acct_1P0hvhQOtfYFz63d + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hvhQOtfYFz63d", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:17:37 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml index c96694e36d..fc037da5b6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_B8HQtwXofAuAud","request_duration_ms":315}}' + - '{"last_request_metrics":{"request_id":"req_hKiCpXqUl16Kl8","request_duration_ms":1787}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:43 GMT + - Mon, 01 Apr 2024 10:17:40 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e0d95ab9-e759-44f9-953b-42a1b5039ee5 + - 14264278-d788-4d2e-ad3d-0117eb363c3c Original-Request: - - req_phH4XQSJYj98Br + - req_LHu8cqhZqgQMUJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_phH4XQSJYj98Br + - req_LHu8cqhZqgQMUJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Oy1yr4JZbvxnQxx", + "id": "acct_1P0hvqQNl7gNJ86k", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711328742, + "created": 1711966659, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Oy1yr4JZbvxnQxx/external_accounts" + "url": "/v1/accounts/acct_1P0hvqQNl7gNJ86k/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 25 Mar 2024 01:05:43 GMT + recorded_at: Mon, 01 Apr 2024 10:17:39 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -224,7 +224,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_phH4XQSJYj98Br","request_duration_ms":1624}}' + - '{"last_request_metrics":{"request_id":"req_LHu8cqhZqgQMUJ","request_duration_ms":1883}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:44 GMT + - Mon, 01 Apr 2024 10:17:42 GMT Content-Type: - application/json Content-Length: @@ -273,7 +273,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VjTDKDraib3x5n + - req_bo7V71DzluzpfV Stripe-Version: - '2023-10-16' Vary: @@ -286,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1ytKuuB1fWySnTGPUUZ9W", + "id": "pm_1P0hvuKuuB1fWySnyv0hrI42", "object": "payment_method", "billing_details": { "address": { @@ -310,7 +310,7 @@ http_interactions: }, "country": "US", "display_brand": "mastercard", - "exp_month": 3, + "exp_month": 4, "exp_year": 2025, "fingerprint": "BL35fEFVcTTS5wpE", "funding": "credit", @@ -327,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328743, + "created": 1711966662, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:44 GMT + recorded_at: Mon, 01 Apr 2024 10:17:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -348,13 +348,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VjTDKDraib3x5n","request_duration_ms":348}}' + - '{"last_request_metrics":{"request_id":"req_bo7V71DzluzpfV","request_duration_ms":439}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1yr4JZbvxnQxx + - acct_1P0hvqQNl7gNJ86k Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:44 GMT + - Mon, 01 Apr 2024 10:17:43 GMT Content-Type: - application/json Content-Length: @@ -394,17 +394,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 448a3754-ff2d-4c7a-932a-6ecbed368de5 + - c184a160-d9d4-4966-a5fb-c6c60af56c00 Original-Request: - - req_VCNskqLWVYXBwm + - req_UuTjMZxNofXIzO Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VCNskqLWVYXBwm + - req_UuTjMZxNofXIzO Stripe-Account: - - acct_1Oy1yr4JZbvxnQxx + - acct_1P0hvqQNl7gNJ86k Stripe-Should-Retry: - 'false' Stripe-Version: @@ -419,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yu4JZbvxnQxx1GZfkvyC", + "id": "pi_3P0hvuQNl7gNJ86k0Jhc01Pm", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -435,7 +435,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328744, + "created": 1711966662, "currency": "aud", "customer": null, "description": null, @@ -446,7 +446,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yu4JZbvxnQxx237loiZv", + "payment_method": "pm_1P0hvuQNl7gNJ86k2HsxqojU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,10 +471,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:44 GMT + recorded_at: Mon, 01 Apr 2024 10:17:42 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yu4JZbvxnQxx1GZfkvyC + uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvuQNl7gNJ86k0Jhc01Pm body: encoding: US-ASCII string: '' @@ -486,13 +486,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VCNskqLWVYXBwm","request_duration_ms":494}}' + - '{"last_request_metrics":{"request_id":"req_UuTjMZxNofXIzO","request_duration_ms":500}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1yr4JZbvxnQxx + - acct_1P0hvqQNl7gNJ86k Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:44 GMT + - Mon, 01 Apr 2024 10:17:43 GMT Content-Type: - application/json Content-Length: @@ -537,9 +537,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dQEqJkCMMFVHEu + - req_AdmbOgLvCvz3We Stripe-Account: - - acct_1Oy1yr4JZbvxnQxx + - acct_1P0hvqQNl7gNJ86k Stripe-Version: - '2023-10-16' Vary: @@ -552,7 +552,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yu4JZbvxnQxx1GZfkvyC", + "id": "pi_3P0hvuQNl7gNJ86k0Jhc01Pm", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -568,7 +568,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328744, + "created": 1711966662, "currency": "aud", "customer": null, "description": null, @@ -579,7 +579,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yu4JZbvxnQxx237loiZv", + "payment_method": "pm_1P0hvuQNl7gNJ86k2HsxqojU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -604,10 +604,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:44 GMT + recorded_at: Mon, 01 Apr 2024 10:17:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yu4JZbvxnQxx1GZfkvyC/cancel + uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvuQNl7gNJ86k0Jhc01Pm/cancel body: encoding: US-ASCII string: '' @@ -625,7 +625,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1Oy1yr4JZbvxnQxx + - acct_1P0hvqQNl7gNJ86k Connection: - close Accept-Encoding: @@ -640,7 +640,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:45 GMT + - Mon, 01 Apr 2024 10:17:44 GMT Content-Type: - application/json Content-Length: @@ -668,17 +668,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 16ccfd33-7b9f-4f3c-8c3c-2e646c07a3bc + - d9fddcbb-0ac1-4977-9c95-c29e88d0babf Original-Request: - - req_dCuFJRf1qmi5jG + - req_E5g5IXvjv9h9Gb Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dCuFJRf1qmi5jG + - req_E5g5IXvjv9h9Gb Stripe-Account: - - acct_1Oy1yr4JZbvxnQxx + - acct_1P0hvqQNl7gNJ86k Stripe-Should-Retry: - 'false' Stripe-Version: @@ -693,7 +693,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yu4JZbvxnQxx1GZfkvyC", + "id": "pi_3P0hvuQNl7gNJ86k0Jhc01Pm", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -704,7 +704,7 @@ http_interactions: "application": "", "application_fee_amount": null, "automatic_payment_methods": null, - "canceled_at": 1711328745, + "canceled_at": 1711966663, "cancellation_reason": null, "capture_method": "manual", "charges": { @@ -712,11 +712,11 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges?payment_intent=pi_3Oy1yu4JZbvxnQxx1GZfkvyC" + "url": "/v1/charges?payment_intent=pi_3P0hvuQNl7gNJ86k0Jhc01Pm" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1711328744, + "created": 1711966662, "currency": "aud", "customer": null, "description": null, @@ -727,7 +727,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yu4JZbvxnQxx237loiZv", + "payment_method": "pm_1P0hvuQNl7gNJ86k2HsxqojU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -752,5 +752,87 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:45 GMT + recorded_at: Mon, 01 Apr 2024 10:17:43 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0hvqQNl7gNJ86k + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_AdmbOgLvCvz3We","request_duration_ms":308}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:17:45 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_kMqUEhudX1xjNZ + Stripe-Account: + - acct_1P0hvqQNl7gNJ86k + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0hvqQNl7gNJ86k", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:17:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/models/spree/gateway/stripe_sca_spec.rb b/spec/models/spree/gateway/stripe_sca_spec.rb index 58308deb89..f3191c09d4 100644 --- a/spec/models/spree/gateway/stripe_sca_spec.rb +++ b/spec/models/spree/gateway/stripe_sca_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Spree::Gateway::StripeSCA, type: :model do +describe Spree::Gateway::StripeSCA, :vcr, :stripe_version, type: :model do let(:order) { create(:order_ready_for_payment) } let(:year_valid) { Time.zone.now.year.next } @@ -46,7 +46,11 @@ describe Spree::Gateway::StripeSCA, type: :model do }) end - describe "#purchase", :vcr, :stripe_version do + after do + Stripe::Account.delete(connected_account.id) + end + + describe "#purchase" do # Stripe acepts amounts as positive integers representing how much to charge # in the smallest currency unit let(:capture_amount) { order.total.to_i * 100 } # order total is 10 AUD @@ -71,7 +75,7 @@ describe Spree::Gateway::StripeSCA, type: :model do end end - describe "#void", :vcr, :stripe_version do + describe "#void" do let(:stripe_test_account) { connected_account.id } before do @@ -136,7 +140,7 @@ describe Spree::Gateway::StripeSCA, type: :model do end end - describe "#credit", :vcr, :stripe_version do + describe "#credit" do let(:stripe_test_account) { connected_account.id } before do @@ -166,7 +170,7 @@ describe Spree::Gateway::StripeSCA, type: :model do end end - describe "#error message", :vcr, :stripe_version do + describe "#error message" do context "when payment intent state is not in 'requires_capture' state" do before do payment From 01cbcf79fa819af97d8a3ee36a5d214d55857c6a Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 1 Apr 2024 11:32:02 +0100 Subject: [PATCH 203/374] Removes connected account Re-records relevant VCR-cassettes for CreditCardRemover examples --- .../raises_an_error.yml | 318 ++++++++++++++- .../deletes_the_credit_card_clone.yml | 348 ++++++++++++++-- ...the_credit_card_clone_and_the_customer.yml | 376 ++++++++++++++++-- spec/lib/stripe/credit_card_remover_spec.rb | 4 + 4 files changed, 962 insertions(+), 84 deletions(-) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml index 5585e4a56a..824ae450b5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_f4uKDNQoWEHZAO","request_duration_ms":716}}' + - '{"last_request_metrics":{"request_id":"req_CYs5cyIYrDtms1","request_duration_ms":912}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:48 GMT + - Mon, 01 Apr 2024 10:29:55 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 152331f8-291c-4868-9982-b11126d0185c + - d1e06c14-a4a9-4ece-a1c7-2d1d82b4ce87 Original-Request: - - req_xinDj3jks15YZe + - req_ydZEGvejtkVfYi Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xinDj3jks15YZe + - req_ydZEGvejtkVfYi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1x2KuuB1fWySnybrNr9sw", + "id": "pm_1P0i7jKuuB1fWySn7ueU6TCh", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328628, + "created": 1711967395, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:48 GMT + recorded_at: Mon, 01 Apr 2024 10:29:55 GMT - request: method: get uri: https://api.stripe.com/v1/customers/non_existing_customer_id @@ -143,7 +143,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xinDj3jks15YZe","request_duration_ms":421}}' + - '{"last_request_metrics":{"request_id":"req_ydZEGvejtkVfYi","request_duration_ms":478}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:48 GMT + - Mon, 01 Apr 2024 10:29:56 GMT Content-Type: - application/json Content-Length: @@ -192,7 +192,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vbYhhjl7RaarHT + - req_kaJToof4XVcxfw Stripe-Version: - '2023-10-16' Vary: @@ -210,9 +210,301 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/resource-missing", "message": "No such customer: 'non_existing_customer_id'", "param": "id", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_vbYhhjl7RaarHT?t=1711328628", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_kaJToof4XVcxfw?t=1711967395", "type": "invalid_request_error" } } - recorded_at: Mon, 25 Mar 2024 01:03:48 GMT + recorded_at: Mon, 01 Apr 2024 10:29:56 GMT +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=apple.producer%40example.com + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_ydZEGvejtkVfYi","request_duration_ms":478}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:29:57 GMT + Content-Type: + - application/json + Content-Length: + - '3045' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Idempotency-Key: + - 16ba19c4-5895-4831-90f7-1f0020b6d2c7 + Original-Request: + - req_zZAtmDqAXjBliZ + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_zZAtmDqAXjBliZ + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0i7kQN6BspgMVl", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": null, + "capabilities": {}, + "charges_enabled": false, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1711967397, + "default_currency": "aud", + "details_submitted": false, + "email": "apple.producer@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1P0i7kQN6BspgMVl/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Mon, 01 Apr 2024 10:29:57 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0i7kQN6BspgMVl + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_zZAtmDqAXjBliZ","request_duration_ms":1647}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:29:58 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_1T12HskzQnA7vD + Stripe-Account: + - acct_1P0i7kQN6BspgMVl + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0i7kQN6BspgMVl", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:29:58 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml index fa983dc5c0..2ebb93c84a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dhqez2Z135e7g2","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_rbpTKQEa57sHfG","request_duration_ms":912}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:46 GMT + - Mon, 01 Apr 2024 10:29:51 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a8630c1c-3eac-4d74-b3ca-b70e86513927 + - 9a9bca93-d831-4d81-b47a-bd05f4f61b04 Original-Request: - - req_tt7EbIbRXg52u5 + - req_0DyzOk2iA0A0ij Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_tt7EbIbRXg52u5 + - req_0DyzOk2iA0A0ij Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1x0KuuB1fWySngOngDsAy", + "id": "pm_1P0i7eKuuB1fWySn0BtsXTu8", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328626, + "created": 1711967390, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:46 GMT + recorded_at: Mon, 01 Apr 2024 10:29:51 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -143,7 +143,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tt7EbIbRXg52u5","request_duration_ms":460}}' + - '{"last_request_metrics":{"request_id":"req_0DyzOk2iA0A0ij","request_duration_ms":533}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:47 GMT + - Mon, 01 Apr 2024 10:29:51 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 55f0d6f9-f0d8-4a88-91f5-9b95b6d1b1a3 + - ba70c906-f630-4092-8a61-0bec6183a748 Original-Request: - - req_LfQoCioNArL3X3 + - req_kIz5bfnc11jwVI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LfQoCioNArL3X3 + - req_kIz5bfnc11jwVI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PndDefpSdaBAvE", + "id": "cus_PqOvluNCLAk1mM", "object": "customer", "address": null, "balance": 0, - "created": 1711328626, + "created": 1711967391, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "16CD447C", + "invoice_prefix": "B8CF2444", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,13 +238,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 25 Mar 2024 01:03:47 GMT + recorded_at: Mon, 01 Apr 2024 10:29:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1x0KuuB1fWySngOngDsAy/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P0i7eKuuB1fWySn0BtsXTu8/attach body: encoding: UTF-8 - string: customer=cus_PndDefpSdaBAvE + string: customer=cus_PqOvluNCLAk1mM headers: User-Agent: - Stripe/v1 RubyBindings/10.13.0 @@ -253,7 +253,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LfQoCioNArL3X3","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_kIz5bfnc11jwVI","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:47 GMT + - Mon, 01 Apr 2024 10:29:52 GMT Content-Type: - application/json Content-Length: @@ -298,15 +298,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 313281d3-a159-4da7-8472-6c89595c1d02 + - 634f6e95-0f90-4807-8a16-a94d49760538 Original-Request: - - req_f4uKDNQoWEHZAO + - req_GDtfjLPuzWtuQH Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_f4uKDNQoWEHZAO + - req_GDtfjLPuzWtuQH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1x0KuuB1fWySngOngDsAy", + "id": "pm_1P0i7eKuuB1fWySn0BtsXTu8", "object": "payment_method", "billing_details": { "address": { @@ -362,11 +362,303 @@ http_interactions: }, "wallet": null }, - "created": 1711328626, - "customer": "cus_PndDefpSdaBAvE", + "created": 1711967390, + "customer": "cus_PqOvluNCLAk1mM", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:47 GMT + recorded_at: Mon, 01 Apr 2024 10:29:52 GMT +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=apple.producer%40example.com + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_GDtfjLPuzWtuQH","request_duration_ms":706}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:29:54 GMT + Content-Type: + - application/json + Content-Length: + - '3045' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Idempotency-Key: + - 890a33be-a4bd-4760-85c4-14e2e0842cce + Original-Request: + - req_smWHmdll7twdoW + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_smWHmdll7twdoW + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0i7gQOcsMRPuMj", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": null, + "capabilities": {}, + "charges_enabled": false, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1711967393, + "default_currency": "aud", + "details_submitted": false, + "email": "apple.producer@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1P0i7gQOcsMRPuMj/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Mon, 01 Apr 2024 10:29:54 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0i7gQOcsMRPuMj + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_smWHmdll7twdoW","request_duration_ms":1717}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:29:55 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_CYs5cyIYrDtms1 + Stripe-Account: + - acct_1P0i7gQOcsMRPuMj + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0i7gQOcsMRPuMj", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:29:55 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml index aa3fc830ce..3dcd459139 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml @@ -13,8 +13,6 @@ http_interactions: - "" Content-Type: - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8rbpP0dWyISBhg","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:44 GMT + - Mon, 01 Apr 2024 10:29:45 GMT Content-Type: - application/json Content-Length: @@ -58,15 +56,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ee8d3056-63d4-4c03-9694-700037ee4acf + - 7db31cab-1323-4d4f-8c57-356d1df7da68 Original-Request: - - req_nMoIkw0CCwGQAa + - req_po05dfR5WTcYjX Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nMoIkw0CCwGQAa + - req_po05dfR5WTcYjX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +79,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1wxKuuB1fWySnP1rS0DJE", + "id": "pm_1P0i7ZKuuB1fWySnV4nOcrmM", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +120,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328624, + "created": 1711967385, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:44 GMT + recorded_at: Mon, 01 Apr 2024 10:29:45 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -143,7 +141,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nMoIkw0CCwGQAa","request_duration_ms":446}}' + - '{"last_request_metrics":{"request_id":"req_po05dfR5WTcYjX","request_duration_ms":709}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +158,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:44 GMT + - Mon, 01 Apr 2024 10:29:46 GMT Content-Type: - application/json Content-Length: @@ -187,15 +185,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - da3c6a8d-1859-4c3f-b949-e755b6aea586 + - c5e35cd7-d1f1-4a8e-98c5-0f58e57dd9ff Original-Request: - - req_igTG24PWT6amPb + - req_9Y6oyXcwwZPYk2 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_igTG24PWT6amPb + - req_9Y6oyXcwwZPYk2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +208,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PndDIk2HJos3eg", + "id": "cus_PqOvbIa0hOWGHx", "object": "customer", "address": null, "balance": 0, - "created": 1711328624, + "created": 1711967386, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "FDB50758", + "invoice_prefix": "42C2AF34", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,13 +236,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 25 Mar 2024 01:03:44 GMT + recorded_at: Mon, 01 Apr 2024 10:29:46 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1wxKuuB1fWySnP1rS0DJE/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P0i7ZKuuB1fWySnV4nOcrmM/attach body: encoding: UTF-8 - string: customer=cus_PndDIk2HJos3eg + string: customer=cus_PqOvbIa0hOWGHx headers: User-Agent: - Stripe/v1 RubyBindings/10.13.0 @@ -253,7 +251,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_igTG24PWT6amPb","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_9Y6oyXcwwZPYk2","request_duration_ms":558}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -270,7 +268,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:45 GMT + - Mon, 01 Apr 2024 10:29:46 GMT Content-Type: - application/json Content-Length: @@ -298,15 +296,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9c49732a-8525-4ef9-8942-fb8642eccf3d + - 61de0f6a-0afe-4b87-ae4b-8d11cc6c2cf0 Original-Request: - - req_dGoo5IXZLRKooB + - req_MSB1Kdfo0sTpdH Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dGoo5IXZLRKooB + - req_MSB1Kdfo0sTpdH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,7 +319,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1wxKuuB1fWySnP1rS0DJE", + "id": "pm_1P0i7ZKuuB1fWySnV4nOcrmM", "object": "payment_method", "billing_details": { "address": { @@ -362,16 +360,16 @@ http_interactions: }, "wallet": null }, - "created": 1711328624, - "customer": "cus_PndDIk2HJos3eg", + "created": 1711967385, + "customer": "cus_PqOvbIa0hOWGHx", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:45 GMT + recorded_at: Mon, 01 Apr 2024 10:29:47 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PndDIk2HJos3eg + uri: https://api.stripe.com/v1/customers/cus_PqOvbIa0hOWGHx body: encoding: US-ASCII string: '' @@ -383,7 +381,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dGoo5IXZLRKooB","request_duration_ms":608}}' + - '{"last_request_metrics":{"request_id":"req_MSB1Kdfo0sTpdH","request_duration_ms":702}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -400,7 +398,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:45 GMT + - Mon, 01 Apr 2024 10:29:47 GMT Content-Type: - application/json Content-Length: @@ -432,7 +430,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aBsmD9I20lq0W5 + - req_v8BRvklpAugSOQ Stripe-Version: - '2023-10-16' Vary: @@ -445,18 +443,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PndDIk2HJos3eg", + "id": "cus_PqOvbIa0hOWGHx", "object": "customer", "address": null, "balance": 0, - "created": 1711328624, + "created": 1711967386, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "FDB50758", + "invoice_prefix": "42C2AF34", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -473,10 +471,10 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 25 Mar 2024 01:03:45 GMT + recorded_at: Mon, 01 Apr 2024 10:29:47 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_PndDIk2HJos3eg + uri: https://api.stripe.com/v1/customers/cus_PqOvbIa0hOWGHx body: encoding: US-ASCII string: '' @@ -488,7 +486,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aBsmD9I20lq0W5","request_duration_ms":302}}' + - '{"last_request_metrics":{"request_id":"req_v8BRvklpAugSOQ","request_duration_ms":267}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -505,7 +503,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:46 GMT + - Mon, 01 Apr 2024 10:29:47 GMT Content-Type: - application/json Content-Length: @@ -537,7 +535,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dhqez2Z135e7g2 + - req_EzjgtHJg9Lsg8z Stripe-Version: - '2023-10-16' Vary: @@ -550,9 +548,301 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PndDIk2HJos3eg", + "id": "cus_PqOvbIa0hOWGHx", "object": "customer", "deleted": true } - recorded_at: Mon, 25 Mar 2024 01:03:46 GMT + recorded_at: Mon, 01 Apr 2024 10:29:47 GMT +- request: + method: post + uri: https://api.stripe.com/v1/accounts + body: + encoding: UTF-8 + string: type=standard&country=AU&email=apple.producer%40example.com + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_EzjgtHJg9Lsg8z","request_duration_ms":386}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:29:49 GMT + Content-Type: + - application/json + Content-Length: + - '3045' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Idempotency-Key: + - 805a7508-1b56-4cf7-8e53-3ff26392c3cd + Original-Request: + - req_XSF73TDvh1uwNG + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_XSF73TDvh1uwNG + Stripe-Should-Retry: + - 'false' + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0i7bQQIgNTjlQP", + "object": "account", + "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, + "mcc": null, + "name": null, + "product_description": null, + "support_address": null, + "support_email": null, + "support_phone": null, + "support_url": null, + "url": null + }, + "business_type": null, + "capabilities": {}, + "charges_enabled": false, + "controller": { + "is_controller": true, + "type": "application" + }, + "country": "AU", + "created": 1711967388, + "default_currency": "aud", + "details_submitted": false, + "email": "apple.producer@example.com", + "external_accounts": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/accounts/acct_1P0i7bQQIgNTjlQP/external_accounts" + }, + "future_requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [], + "disabled_reason": null, + "errors": [], + "eventually_due": [], + "past_due": [], + "pending_verification": [] + }, + "metadata": {}, + "payouts_enabled": false, + "requirements": { + "alternatives": [], + "current_deadline": null, + "currently_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "disabled_reason": "requirements.past_due", + "errors": [], + "eventually_due": [ + "business_profile.product_description", + "business_profile.support_phone", + "business_profile.url", + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "past_due": [ + "external_account", + "tos_acceptance.date", + "tos_acceptance.ip" + ], + "pending_verification": [] + }, + "settings": { + "bacs_debit_payments": { + "display_name": null, + "service_user_number": null + }, + "branding": { + "icon": null, + "logo": null, + "primary_color": null, + "secondary_color": null + }, + "card_issuing": { + "tos_acceptance": { + "date": null, + "ip": null + } + }, + "card_payments": { + "decline_on": { + "avs_failure": false, + "cvc_failure": false + }, + "statement_descriptor_prefix": null, + "statement_descriptor_prefix_kana": null, + "statement_descriptor_prefix_kanji": null + }, + "dashboard": { + "display_name": null, + "timezone": "Etc/UTC" + }, + "invoices": { + "default_account_tax_ids": null + }, + "payments": { + "statement_descriptor": null, + "statement_descriptor_kana": null, + "statement_descriptor_kanji": null + }, + "payouts": { + "debit_negative_balances": true, + "schedule": { + "delay_days": 2, + "interval": "daily" + }, + "statement_descriptor": null + }, + "sepa_debit_payments": {} + }, + "tos_acceptance": { + "date": null, + "ip": null, + "user_agent": null + }, + "type": "standard" + } + recorded_at: Mon, 01 Apr 2024 10:29:49 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0i7bQQIgNTjlQP + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_XSF73TDvh1uwNG","request_duration_ms":1654}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:29:50 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_rbpTKQEa57sHfG + Stripe-Account: + - acct_1P0i7bQQIgNTjlQP + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0i7bQQIgNTjlQP", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:29:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/lib/stripe/credit_card_remover_spec.rb b/spec/lib/stripe/credit_card_remover_spec.rb index 7cbfa23738..39638ee82d 100644 --- a/spec/lib/stripe/credit_card_remover_spec.rb +++ b/spec/lib/stripe/credit_card_remover_spec.rb @@ -36,6 +36,10 @@ describe Stripe::CreditCardRemover do let(:cloner) { Stripe::CreditCardCloner.new(credit_card, connected_account.id) } + after do + Stripe::Account.delete(connected_account.id) + end + context 'Stripe customer exists' do let(:payment_method_id) { pm_card.id } let(:customer_id) { customer.id } From a3b646a50010d667521c24cbe623456f6cbdc3fb Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 1 Apr 2024 11:34:56 +0100 Subject: [PATCH 204/374] Removes connected account Re-records relevant VCR-cassettes for CreditCardCloner examples --- .../clones_the_payment_method_only.yml | 164 ++++++++--- ...th_the_payment_method_and_the_customer.yml | 278 ++++++++++++------ spec/lib/stripe/credit_card_cloner_spec.rb | 4 + 3 files changed, 306 insertions(+), 140 deletions(-) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml index 6671b4e58a..a2e20486a4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml @@ -13,8 +13,6 @@ http_interactions: - "" Content-Type: - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_h7L3ebMIxfrBQA","request_duration_ms":362}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:35 GMT + - Mon, 01 Apr 2024 10:34:10 GMT Content-Type: - application/json Content-Length: @@ -58,15 +56,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ecfdc1e4-77a6-4669-b1b8-7a37913beba7 + - 87abc46e-2d05-4378-8119-4f411499c4f6 Original-Request: - - req_9mpqKboIjyqAGD + - req_mMCwnyftaTO0A9 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9mpqKboIjyqAGD + - req_mMCwnyftaTO0A9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +79,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1wpKuuB1fWySnHsMWSPCR", + "id": "pm_1P0iBqKuuB1fWySnELWe8IYX", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +120,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328615, + "created": 1711967650, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:35 GMT + recorded_at: Mon, 01 Apr 2024 10:34:10 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -143,7 +141,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9mpqKboIjyqAGD","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_mMCwnyftaTO0A9","request_duration_ms":791}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +158,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:37 GMT + - Mon, 01 Apr 2024 10:34:12 GMT Content-Type: - application/json Content-Length: @@ -187,15 +185,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5e191396-cf24-4d67-81ae-e5d0ec55b30d + - b16226ad-7fa4-473f-a888-b5b6c0fec934 Original-Request: - - req_mLpF77c6BWNKSm + - req_KlLE3OrUB0oItW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mLpF77c6BWNKSm + - req_KlLE3OrUB0oItW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +208,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Oy1wpQMiDmkXbIR", + "id": "acct_1P0iBrQQQ2czqbXz", "object": "account", "business_profile": { "annual_revenue": null, @@ -232,7 +230,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711328616, + "created": 1711967651, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -241,7 +239,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Oy1wpQMiDmkXbIR/external_accounts" + "url": "/v1/accounts/acct_1P0iBrQQQ2czqbXz/external_accounts" }, "future_requirements": { "alternatives": [], @@ -338,10 +336,10 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 25 Mar 2024 01:03:37 GMT + recorded_at: Mon, 01 Apr 2024 10:34:12 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1wpKuuB1fWySnHsMWSPCR + uri: https://api.stripe.com/v1/payment_methods/pm_1P0iBqKuuB1fWySnELWe8IYX body: encoding: US-ASCII string: '' @@ -353,7 +351,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mLpF77c6BWNKSm","request_duration_ms":1809}}' + - '{"last_request_metrics":{"request_id":"req_KlLE3OrUB0oItW","request_duration_ms":1783}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -370,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:37 GMT + - Mon, 01 Apr 2024 10:34:12 GMT Content-Type: - application/json Content-Length: @@ -402,7 +400,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2rMmDQMsy6xjXh + - req_xntwL32OdFuHO2 Stripe-Version: - '2023-10-16' Vary: @@ -415,7 +413,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1wpKuuB1fWySnHsMWSPCR", + "id": "pm_1P0iBqKuuB1fWySnELWe8IYX", "object": "payment_method", "billing_details": { "address": { @@ -456,13 +454,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328615, + "created": 1711967650, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:37 GMT + recorded_at: Mon, 01 Apr 2024 10:34:13 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -477,13 +475,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2rMmDQMsy6xjXh","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_xntwL32OdFuHO2","request_duration_ms":383}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1wpQMiDmkXbIR + - acct_1P0iBrQQQ2czqbXz Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -496,7 +494,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:37 GMT + - Mon, 01 Apr 2024 10:34:13 GMT Content-Type: - application/json Content-Length: @@ -527,9 +525,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dBDo3yV3pFGETO + - req_T0KGhMK82XR0nv Stripe-Account: - - acct_1Oy1wpQMiDmkXbIR + - acct_1P0iBrQQQ2czqbXz Stripe-Version: - '2023-10-16' Vary: @@ -547,13 +545,13 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Mon, 25 Mar 2024 01:03:37 GMT + recorded_at: Mon, 01 Apr 2024 10:34:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: payment_method=pm_1Oy1wpKuuB1fWySnHsMWSPCR + string: payment_method=pm_1P0iBqKuuB1fWySnELWe8IYX headers: User-Agent: - Stripe/v1 RubyBindings/10.13.0 @@ -562,13 +560,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dBDo3yV3pFGETO","request_duration_ms":305}}' + - '{"last_request_metrics":{"request_id":"req_T0KGhMK82XR0nv","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1wpQMiDmkXbIR + - acct_1P0iBrQQQ2czqbXz Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -581,7 +579,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:38 GMT + - Mon, 01 Apr 2024 10:34:13 GMT Content-Type: - application/json Content-Length: @@ -608,17 +606,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 634f582c-c186-4ee1-8864-d664334d659c + - 9b36e664-fbf7-467a-9985-9f27f375ff75 Original-Request: - - req_9NBLynkvOr45hN + - req_BlhoEtliLzNeTN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9NBLynkvOr45hN + - req_BlhoEtliLzNeTN Stripe-Account: - - acct_1Oy1wpQMiDmkXbIR + - acct_1P0iBrQQQ2czqbXz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -633,7 +631,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1wsQMiDmkXbIR6HISdqXF", + "id": "pm_1P0iBtQQQ2czqbXzXRQy4xCv", "object": "payment_method", "billing_details": { "address": { @@ -674,11 +672,93 @@ http_interactions: }, "wallet": null }, - "created": 1711328618, + "created": 1711967653, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:38 GMT + recorded_at: Mon, 01 Apr 2024 10:34:13 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0iBrQQQ2czqbXz + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_BlhoEtliLzNeTN","request_duration_ms":408}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:34:14 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_I9EbXGMXci58JH + Stripe-Account: + - acct_1P0iBrQQQ2czqbXz + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0iBrQQQ2czqbXz", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:34:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml index 504ce9781f..da25dc96d5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml @@ -14,7 +14,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9NBLynkvOr45hN","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_I9EbXGMXci58JH","request_duration_ms":1014}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:38 GMT + - Mon, 01 Apr 2024 10:34:15 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1ebc592c-4b16-4cb7-8df4-4dd1788222a9 + - 9a9b78cb-d5b2-4607-8647-b3b0b7164d7f Original-Request: - - req_9ZbnxtNGCEVoja + - req_mtxlbfRKrdqbTe Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9ZbnxtNGCEVoja + - req_mtxlbfRKrdqbTe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1wsKuuB1fWySnbqRLfT73", + "id": "pm_1P0iBvKuuB1fWySnQ3GGNr5D", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328618, + "created": 1711967655, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:38 GMT + recorded_at: Mon, 01 Apr 2024 10:34:15 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -143,7 +143,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9ZbnxtNGCEVoja","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_mtxlbfRKrdqbTe","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:39 GMT + - Mon, 01 Apr 2024 10:34:15 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1ac9d6b1-6a60-41d6-94fb-2a258a60c9c0 + - a9a252ea-ff33-4041-824e-47536ea82dec Original-Request: - - req_1lra1WO2HyTCqc + - req_8PyoP9fCUiGRLY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1lra1WO2HyTCqc + - req_8PyoP9fCUiGRLY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PndDSAnsdBuHx2", + "id": "cus_PqOzU8qAZYbzy8", "object": "customer", "address": null, "balance": 0, - "created": 1711328618, + "created": 1711967655, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "6A074CDE", + "invoice_prefix": "740F2A2E", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,13 +238,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 25 Mar 2024 01:03:39 GMT + recorded_at: Mon, 01 Apr 2024 10:34:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1wsKuuB1fWySnbqRLfT73/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P0iBvKuuB1fWySnQ3GGNr5D/attach body: encoding: UTF-8 - string: customer=cus_PndDSAnsdBuHx2 + string: customer=cus_PqOzU8qAZYbzy8 headers: User-Agent: - Stripe/v1 RubyBindings/10.13.0 @@ -253,7 +253,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1lra1WO2HyTCqc","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_8PyoP9fCUiGRLY","request_duration_ms":486}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:39 GMT + - Mon, 01 Apr 2024 10:34:16 GMT Content-Type: - application/json Content-Length: @@ -298,15 +298,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4e49d6bb-3682-4f97-85ed-a7a597a3efcb + - ff5f81e9-99f8-4ae0-adb2-b7ad3c8be4f4 Original-Request: - - req_0SDRGxyjoieP2E + - req_gyMt4WsKnRnDh9 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0SDRGxyjoieP2E + - req_gyMt4WsKnRnDh9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1wsKuuB1fWySnbqRLfT73", + "id": "pm_1P0iBvKuuB1fWySnQ3GGNr5D", "object": "payment_method", "billing_details": { "address": { @@ -362,13 +362,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328618, - "customer": "cus_PndDSAnsdBuHx2", + "created": 1711967655, + "customer": "cus_PqOzU8qAZYbzy8", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:39 GMT + recorded_at: Mon, 01 Apr 2024 10:34:16 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -383,7 +383,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0SDRGxyjoieP2E","request_duration_ms":664}}' + - '{"last_request_metrics":{"request_id":"req_gyMt4WsKnRnDh9","request_duration_ms":671}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:41 GMT + - Mon, 01 Apr 2024 10:34:18 GMT Content-Type: - application/json Content-Length: @@ -427,15 +427,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7fbb557e-39c4-491d-a46f-2d74839c3e8a + - 38b82023-270d-4b5f-ad08-e879dc0c8497 Original-Request: - - req_1nx9WrJrOSnMH1 + - req_rFlG6EIzTsn5Gc Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1nx9WrJrOSnMH1 + - req_rFlG6EIzTsn5Gc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -450,7 +450,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Oy1wt4IGiN56LfX", + "id": "acct_1P0iBw4CpUvfJTwy", "object": "account", "business_profile": { "annual_revenue": null, @@ -472,7 +472,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711328620, + "created": 1711967657, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -481,7 +481,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Oy1wt4IGiN56LfX/external_accounts" + "url": "/v1/accounts/acct_1P0iBw4CpUvfJTwy/external_accounts" }, "future_requirements": { "alternatives": [], @@ -578,10 +578,10 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 25 Mar 2024 01:03:41 GMT + recorded_at: Mon, 01 Apr 2024 10:34:18 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1wsKuuB1fWySnbqRLfT73 + uri: https://api.stripe.com/v1/payment_methods/pm_1P0iBvKuuB1fWySnQ3GGNr5D body: encoding: US-ASCII string: '' @@ -593,7 +593,7 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1nx9WrJrOSnMH1","request_duration_ms":1734}}' + - '{"last_request_metrics":{"request_id":"req_rFlG6EIzTsn5Gc","request_duration_ms":1881}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -610,7 +610,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:41 GMT + - Mon, 01 Apr 2024 10:34:18 GMT Content-Type: - application/json Content-Length: @@ -642,7 +642,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_x6yAn3Hq3u7YDv + - req_GpP9PQR8v2I8Az Stripe-Version: - '2023-10-16' Vary: @@ -655,7 +655,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1wsKuuB1fWySnbqRLfT73", + "id": "pm_1P0iBvKuuB1fWySnQ3GGNr5D", "object": "payment_method", "billing_details": { "address": { @@ -696,13 +696,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328618, - "customer": "cus_PndDSAnsdBuHx2", + "created": 1711967655, + "customer": "cus_PqOzU8qAZYbzy8", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:41 GMT + recorded_at: Mon, 01 Apr 2024 10:34:18 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -717,13 +717,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_x6yAn3Hq3u7YDv","request_duration_ms":305}}' + - '{"last_request_metrics":{"request_id":"req_GpP9PQR8v2I8Az","request_duration_ms":300}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1wt4IGiN56LfX + - acct_1P0iBw4CpUvfJTwy Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -736,7 +736,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:42 GMT + - Mon, 01 Apr 2024 10:34:19 GMT Content-Type: - application/json Content-Length: @@ -767,9 +767,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IzhyvvtaMkwora + - req_dwhyzLrV4PAdEw Stripe-Account: - - acct_1Oy1wt4IGiN56LfX + - acct_1P0iBw4CpUvfJTwy Stripe-Version: - '2023-10-16' Vary: @@ -787,13 +787,13 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Mon, 25 Mar 2024 01:03:42 GMT + recorded_at: Mon, 01 Apr 2024 10:34:19 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: customer=cus_PndDSAnsdBuHx2&payment_method=pm_1Oy1wsKuuB1fWySnbqRLfT73 + string: customer=cus_PqOzU8qAZYbzy8&payment_method=pm_1P0iBvKuuB1fWySnQ3GGNr5D headers: User-Agent: - Stripe/v1 RubyBindings/10.13.0 @@ -802,13 +802,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IzhyvvtaMkwora","request_duration_ms":261}}' + - '{"last_request_metrics":{"request_id":"req_dwhyzLrV4PAdEw","request_duration_ms":302}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1wt4IGiN56LfX + - acct_1P0iBw4CpUvfJTwy Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -821,7 +821,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:42 GMT + - Mon, 01 Apr 2024 10:34:19 GMT Content-Type: - application/json Content-Length: @@ -848,17 +848,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 106ec4d0-9064-49b6-9118-70dfbc4e9ace + - 2baba894-5b00-48e3-809e-723a1b3ec676 Original-Request: - - req_8vK1arSR0BpLR7 + - req_DjC1KNG9qo16Kz Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8vK1arSR0BpLR7 + - req_DjC1KNG9qo16Kz Stripe-Account: - - acct_1Oy1wt4IGiN56LfX + - acct_1P0iBw4CpUvfJTwy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -873,7 +873,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1ww4IGiN56LfX2a74y9Ke", + "id": "pm_1P0iBz4CpUvfJTwynAKpfkxH", "object": "payment_method", "billing_details": { "address": { @@ -914,13 +914,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328622, + "created": 1711967659, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:42 GMT + recorded_at: Mon, 01 Apr 2024 10:34:19 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -935,13 +935,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8vK1arSR0BpLR7","request_duration_ms":362}}' + - '{"last_request_metrics":{"request_id":"req_DjC1KNG9qo16Kz","request_duration_ms":368}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1wt4IGiN56LfX + - acct_1P0iBw4CpUvfJTwy Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -954,7 +954,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:42 GMT + - Mon, 01 Apr 2024 10:34:19 GMT Content-Type: - application/json Content-Length: @@ -981,17 +981,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 494b0a67-cb48-4e8a-b905-da36321263d0 + - dfcff075-66c2-44fc-bbf1-97b38b3b1cbb Original-Request: - - req_Sj7FrzoHYrusKV + - req_QR3OH50gGiSl9Q Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Sj7FrzoHYrusKV + - req_QR3OH50gGiSl9Q Stripe-Account: - - acct_1Oy1wt4IGiN56LfX + - acct_1P0iBw4CpUvfJTwy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1006,18 +1006,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PndDs7hHSPI3Bw", + "id": "cus_PqOzZM1X9o7ikr", "object": "customer", "address": null, "balance": 0, - "created": 1711328622, + "created": 1711967659, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "EA365F4D", + "invoice_prefix": "CD31A87F", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -1034,13 +1034,13 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 25 Mar 2024 01:03:42 GMT + recorded_at: Mon, 01 Apr 2024 10:34:19 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1ww4IGiN56LfX2a74y9Ke/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P0iBz4CpUvfJTwynAKpfkxH/attach body: encoding: UTF-8 - string: customer=cus_PndDs7hHSPI3Bw + string: customer=cus_PqOzZM1X9o7ikr headers: User-Agent: - Stripe/v1 RubyBindings/10.13.0 @@ -1049,13 +1049,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Sj7FrzoHYrusKV","request_duration_ms":368}}' + - '{"last_request_metrics":{"request_id":"req_QR3OH50gGiSl9Q","request_duration_ms":366}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1wt4IGiN56LfX + - acct_1P0iBw4CpUvfJTwy Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1068,7 +1068,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:43 GMT + - Mon, 01 Apr 2024 10:34:20 GMT Content-Type: - application/json Content-Length: @@ -1096,17 +1096,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 62e5d7b3-e27e-4700-993a-a481bd42c7ec + - 74a3d5eb-4048-44d0-bf50-27156c0a8b99 Original-Request: - - req_navOBsghMcbvY0 + - req_8TLFIETtz2WBeV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_navOBsghMcbvY0 + - req_8TLFIETtz2WBeV Stripe-Account: - - acct_1Oy1wt4IGiN56LfX + - acct_1P0iBw4CpUvfJTwy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1121,7 +1121,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1ww4IGiN56LfX2a74y9Ke", + "id": "pm_1P0iBz4CpUvfJTwynAKpfkxH", "object": "payment_method", "billing_details": { "address": { @@ -1162,16 +1162,16 @@ http_interactions: }, "wallet": null }, - "created": 1711328622, - "customer": "cus_PndDs7hHSPI3Bw", + "created": 1711967659, + "customer": "cus_PqOzZM1X9o7ikr", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:43 GMT + recorded_at: Mon, 01 Apr 2024 10:34:20 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1ww4IGiN56LfX2a74y9Ke + uri: https://api.stripe.com/v1/payment_methods/pm_1P0iBz4CpUvfJTwynAKpfkxH body: encoding: UTF-8 string: metadata[ofn-clone]=true @@ -1183,13 +1183,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_navOBsghMcbvY0","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_8TLFIETtz2WBeV","request_duration_ms":488}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1Oy1wt4IGiN56LfX + - acct_1P0iBw4CpUvfJTwy Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1202,7 +1202,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:43 GMT + - Mon, 01 Apr 2024 10:34:20 GMT Content-Type: - application/json Content-Length: @@ -1230,17 +1230,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1f0a7951-2716-4642-a491-c8d823a68d1f + - 27b0d1b6-86f1-4b3b-80fa-dfd9421bc924 Original-Request: - - req_8rbpP0dWyISBhg + - req_h0hBgne589Kk9w Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8rbpP0dWyISBhg + - req_h0hBgne589Kk9w Stripe-Account: - - acct_1Oy1wt4IGiN56LfX + - acct_1P0iBw4CpUvfJTwy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1255,7 +1255,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1ww4IGiN56LfX2a74y9Ke", + "id": "pm_1P0iBz4CpUvfJTwynAKpfkxH", "object": "payment_method", "billing_details": { "address": { @@ -1296,13 +1296,95 @@ http_interactions: }, "wallet": null }, - "created": 1711328622, - "customer": "cus_PndDs7hHSPI3Bw", + "created": 1711967659, + "customer": "cus_PqOzZM1X9o7ikr", "livemode": false, "metadata": { "ofn-clone": "true" }, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:43 GMT + recorded_at: Mon, 01 Apr 2024 10:34:20 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/accounts/acct_1P0iBw4CpUvfJTwy + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/10.13.0 + Authorization: + - "" + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_h0hBgne589Kk9w","request_duration_ms":507}}' + Stripe-Version: + - '2023-10-16' + X-Stripe-Client-User-Agent: + - "" + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 01 Apr 2024 10:34:21 GMT + Content-Type: + - application/json + Content-Length: + - '77' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET,HEAD,PUT,PATCH,POST,DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, + X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Content-Security-Policy: + - report-uri https://q.stripe.com/csp-report?p=v1%2Faccounts%2F%3Aaccount; block-all-mixed-content; + default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; + img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' + Cross-Origin-Opener-Policy-Report-Only: + - same-origin; report-to="coop" + Report-To: + - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' + Reporting-Endpoints: + - coop="https://q.stripe.com/coop-report" + Request-Id: + - req_wwjHzXaFDsM2tY + Stripe-Account: + - acct_1P0iBw4CpUvfJTwy + Stripe-Version: + - '2023-10-16' + Vary: + - Origin + X-Stripe-Routing-Context-Priority-Tier: + - api-testmode + Strict-Transport-Security: + - max-age=63072000; includeSubDomains; preload + body: + encoding: UTF-8 + string: |- + { + "id": "acct_1P0iBw4CpUvfJTwy", + "object": "account", + "deleted": true + } + recorded_at: Mon, 01 Apr 2024 10:34:22 GMT recorded_with: VCR 6.2.0 diff --git a/spec/lib/stripe/credit_card_cloner_spec.rb b/spec/lib/stripe/credit_card_cloner_spec.rb index 69cb669e7f..f9ef2b59fd 100644 --- a/spec/lib/stripe/credit_card_cloner_spec.rb +++ b/spec/lib/stripe/credit_card_cloner_spec.rb @@ -44,6 +44,10 @@ module Stripe let(:cloner) { Stripe::CreditCardCloner.new(credit_card, connected_account.id) } + after do + Stripe::Account.delete(connected_account.id) + end + context "when called with a card without a customer (one time usage card)" do let(:payment_method_id) { pm_card.id } From 7b4b7c5f45e9c60612ef1ce443a7ed59401a6deb Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Mon, 1 Apr 2024 21:51:46 +0500 Subject: [PATCH 205/374] 12314 - Fix specs for orders helper --- app/helpers/spree/orders_helper.rb | 2 +- spec/helpers/spree/orders_helper_spec.rb | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/helpers/spree/orders_helper.rb b/app/helpers/spree/orders_helper.rb index 60de9e33a1..d3d1a155c1 100644 --- a/app/helpers/spree/orders_helper.rb +++ b/app/helpers/spree/orders_helper.rb @@ -18,7 +18,7 @@ module Spree def changeable_orders # Only returns open order for the current user + shop + oc combo @changeable_orders ||= if spree_current_user && - current_distributor&.allow_order_changes? && current_order_cycle + current_order_cycle && current_distributor&.allow_order_changes? Spree::Order.complete.where( state: 'complete', diff --git a/spec/helpers/spree/orders_helper_spec.rb b/spec/helpers/spree/orders_helper_spec.rb index 1b47d33a0e..a44bd9afab 100644 --- a/spec/helpers/spree/orders_helper_spec.rb +++ b/spec/helpers/spree/orders_helper_spec.rb @@ -31,6 +31,11 @@ describe Spree::OrdersHelper, type: :helper do before { allow(current_distributor).to receive(:allow_order_changes?) { false } } it { expect(helper.changeable_orders).to eq [] } end + + context "when a current_distributor is not defined" do + let(:current_distributor) { nil } + it { expect(helper.changeable_orders).to eq [] } + end end context "when a current_order_cycle is not defined" do @@ -38,11 +43,6 @@ describe Spree::OrdersHelper, type: :helper do it { expect(helper.changeable_orders).to eq [] } end end - - context "when a current_distributor is not defined" do - let(:current_distributor) { nil } - it { expect(helper.changeable_orders).to eq [] } - end end context "when spree_current_user is not defined" do From 2ef266390d5d940c1cfeca86c6e021af8c4298c6 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 7 Aug 2023 11:03:15 +0100 Subject: [PATCH 206/374] Move primary taxon to variant --- app/models/spree/product.rb | 13 ++++++------- app/models/spree/variant.rb | 5 +++-- db/migrate/20230803191831_add_taxons_to_variants.rb | 5 +++++ db/schema.rb | 3 +++ 4 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 db/migrate/20230803191831_add_taxons_to_variants.rb diff --git a/app/models/spree/product.rb b/app/models/spree/product.rb index fcc133aa8d..129edb189b 100755 --- a/app/models/spree/product.rb +++ b/app/models/spree/product.rb @@ -28,16 +28,11 @@ module Spree acts_as_paranoid - after_create :ensure_standard_variant - around_destroy :destruction - after_save :update_units - - searchable_attributes :supplier_id, :primary_taxon_id, :meta_keywords, :sku - searchable_associations :supplier, :properties, :primary_taxon, :variants + searchable_attributes :supplier_id, :meta_keywords, :sku + searchable_associations :supplier, :properties, :variants searchable_scopes :active, :with_properties belongs_to :supplier, class_name: 'Enterprise', optional: false, touch: true - belongs_to :primary_taxon, class_name: 'Spree::Taxon', optional: false, touch: true has_one :image, class_name: "Spree::Image", as: :viewable, dependent: :destroy @@ -79,6 +74,10 @@ module Spree attr_accessor :price, :display_as, :unit_value, :unit_description, :tax_category_id, :shipping_category_id + after_create :ensure_standard_variant + around_destroy :destruction + after_save :update_units + scope :with_properties, ->(*property_ids) { left_outer_joins(:product_properties). left_outer_joins(:supplier_properties). diff --git a/app/models/spree/variant.rb b/app/models/spree/variant.rb index 8eb290a123..6fc36cc27c 100644 --- a/app/models/spree/variant.rb +++ b/app/models/spree/variant.rb @@ -13,8 +13,8 @@ module Spree acts_as_paranoid - searchable_attributes :sku, :display_as, :display_name - searchable_associations :product, :default_price + searchable_attributes :sku, :display_as, :display_name, :primary_taxon_id + searchable_associations :product, :default_price, :primary_taxon searchable_scopes :active, :deleted NAME_FIELDS = ["display_name", "display_as", "weight", "unit_value", "unit_description"].freeze @@ -28,6 +28,7 @@ module Spree belongs_to :product, -> { with_deleted }, touch: true, class_name: 'Spree::Product' belongs_to :tax_category, class_name: 'Spree::TaxCategory' belongs_to :shipping_category, class_name: 'Spree::ShippingCategory', optional: false + belongs_to :primary_taxon, class_name: 'Spree::Taxon', touch: true, optional: false delegate :name, :name=, :description, :description=, :meta_keywords, to: :product diff --git a/db/migrate/20230803191831_add_taxons_to_variants.rb b/db/migrate/20230803191831_add_taxons_to_variants.rb new file mode 100644 index 0000000000..c9193ac344 --- /dev/null +++ b/db/migrate/20230803191831_add_taxons_to_variants.rb @@ -0,0 +1,5 @@ +class AddTaxonsToVariants < ActiveRecord::Migration[7.0] + def change + add_reference :spree_variants, :primary_taxon, foreign_key: { to_table: :spree_taxons } + end +end diff --git a/db/schema.rb b/db/schema.rb index 5c9ef39bf5..092a5c9814 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -979,6 +979,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_02_13_044159) do t.datetime "updated_at", default: -> { "now()" }, null: false t.bigint "tax_category_id" t.bigint "shipping_category_id" + t.bigint "primary_taxon_id" + t.index ["primary_taxon_id"], name: "index_spree_variants_on_primary_taxon_id" t.index ["product_id"], name: "index_variants_on_product_id" t.index ["shipping_category_id"], name: "index_spree_variants_on_shipping_category_id" t.index ["sku"], name: "index_spree_variants_on_sku" @@ -1225,6 +1227,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_02_13_044159) do add_foreign_key "spree_variants", "spree_products", column: "product_id", name: "spree_variants_product_id_fk" add_foreign_key "spree_variants", "spree_shipping_categories", column: "shipping_category_id" add_foreign_key "spree_variants", "spree_tax_categories", column: "tax_category_id" + add_foreign_key "spree_variants", "spree_taxons", column: "primary_taxon_id" add_foreign_key "spree_zone_members", "spree_zones", column: "zone_id", name: "spree_zone_members_zone_id_fk" add_foreign_key "subscription_line_items", "spree_variants", column: "variant_id", name: "subscription_line_items_variant_id_fk" add_foreign_key "subscription_line_items", "subscriptions", name: "subscription_line_items_subscription_id_fk" From c805486f0a34d84102a898d9cb255fbb3cef027a Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 7 Aug 2023 11:46:05 +0100 Subject: [PATCH 207/374] Update attribute translations --- config/locales/en.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/locales/en.yml b/config/locales/en.yml index c1cccb66f6..949d7af400 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -72,6 +72,9 @@ en: variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" unit_value: "Unit value" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" From b30944471dcc6a9705b71591feae1652c476285f Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 7 Aug 2023 12:24:20 +0100 Subject: [PATCH 208/374] Update admin forms --- app/services/permitted_attributes/variant.rb | 2 +- app/views/spree/admin/products/_form.html.haml | 2 -- app/views/spree/admin/products/_primary_taxon_form.html.haml | 4 ++-- app/views/spree/admin/variants/_form.html.haml | 4 ++++ 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/services/permitted_attributes/variant.rb b/app/services/permitted_attributes/variant.rb index 47e4481e5b..21f0f997b8 100644 --- a/app/services/permitted_attributes/variant.rb +++ b/app/services/permitted_attributes/variant.rb @@ -7,7 +7,7 @@ module PermittedAttributes :id, :sku, :on_hand, :on_demand, :shipping_category_id, :price, :unit_value, :unit_description, :display_name, :display_as, :tax_category_id, - :weight, :height, :width, :depth + :weight, :height, :width, :depth, :taxon_ids, :primary_taxon_id ] end end diff --git a/app/views/spree/admin/products/_form.html.haml b/app/views/spree/admin/products/_form.html.haml index 1bd362b7e7..1f3492c123 100644 --- a/app/views/spree/admin/products/_form.html.haml +++ b/app/views/spree/admin/products/_form.html.haml @@ -27,8 +27,6 @@ = f.text_field :variant_unit_name, {placeholder: t('admin.products.unit_name_placeholder')} = f.error_message_on :variant_unit_name - = render 'spree/admin/products/primary_taxon_form', f: f - = f.field_container :supplier do = f.label :supplier, t(:spree_admin_supplier) %br diff --git a/app/views/spree/admin/products/_primary_taxon_form.html.haml b/app/views/spree/admin/products/_primary_taxon_form.html.haml index e24f84a6a2..fa4b0b1976 100644 --- a/app/views/spree/admin/products/_primary_taxon_form.html.haml +++ b/app/views/spree/admin/products/_primary_taxon_form.html.haml @@ -1,6 +1,6 @@ = f.field_container :primary_taxon do - = f.label :primary_taxon, t('.product_category') + = f.label :primary_taxon_id, t('.product_category') %span.required * %br = f.collection_select(:primary_taxon_id, Spree::Taxon.order(:name), :id, :name, {:include_blank => true}, {:class => "select2 fullwidth"}) - = f.error_message_on :primary_taxon + = f.error_message_on :primary_taxon_id diff --git a/app/views/spree/admin/variants/_form.html.haml b/app/views/spree/admin/variants/_form.html.haml index 1e9aa79236..76a1ebfafc 100644 --- a/app/views/spree/admin/variants/_form.html.haml +++ b/app/views/spree/admin/variants/_form.html.haml @@ -72,4 +72,8 @@ = f.label :shipping_category_id, t(:shipping_categories) = f.collection_select(:shipping_category_id, @shipping_categories, :id, :name, {}, { class: 'select2 fullwidth' }) + .field + = f.label :primary_taxon, t('spree.admin.products.primary_taxon_form.product_category') + = f.collection_select(:primary_taxon_id, Spree::Taxon.order(:name), :id, :name, { include_blank: true }, { class: "select2 fullwidth" }) + .clear From 2707c3137a8e671cd95579e49154b75ba6234e44 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 7 Aug 2023 12:24:53 +0100 Subject: [PATCH 209/374] Apply taxon to new variant when creating a new product --- app/models/spree/product.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/spree/product.rb b/app/models/spree/product.rb index 129edb189b..496194c7ec 100755 --- a/app/models/spree/product.rb +++ b/app/models/spree/product.rb @@ -72,7 +72,7 @@ module Spree # Transient attributes used temporarily when creating a new product, # these values are persisted on the product's variant attr_accessor :price, :display_as, :unit_value, :unit_description, :tax_category_id, - :shipping_category_id + :shipping_category_id, :primary_taxon_id after_create :ensure_standard_variant around_destroy :destruction @@ -283,6 +283,7 @@ module Spree variant.unit_description = unit_description variant.tax_category_id = tax_category_id variant.shipping_category_id = shipping_category_id + variant.primary_taxon_id = primary_taxon_id variants << variant end From 3a38eeb248a2afe29663cda3b009eb0c8b2e5493 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 7 Aug 2023 12:43:04 +0100 Subject: [PATCH 210/374] Remove products taxon null constraint --- db/migrate/20230807114014_remove_taxon_constraint.rb | 5 +++++ db/schema.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 db/migrate/20230807114014_remove_taxon_constraint.rb diff --git a/db/migrate/20230807114014_remove_taxon_constraint.rb b/db/migrate/20230807114014_remove_taxon_constraint.rb new file mode 100644 index 0000000000..a2dabbbb35 --- /dev/null +++ b/db/migrate/20230807114014_remove_taxon_constraint.rb @@ -0,0 +1,5 @@ +class RemoveTaxonConstraint < ActiveRecord::Migration[7.0] + def change + change_column_null :spree_products, :primary_taxon_id, true + end +end diff --git a/db/schema.rb b/db/schema.rb index 092a5c9814..51491dce7f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -698,7 +698,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_02_13_044159) do t.float "variant_unit_scale" t.string "variant_unit_name", limit: 255 t.text "notes" - t.integer "primary_taxon_id", null: false + t.integer "primary_taxon_id" t.boolean "inherits_properties", default: true, null: false t.string "sku", limit: 255, default: "", null: false t.index ["deleted_at"], name: "index_products_on_deleted_at" From 65731f6c5290f78f54ffc9b94191c013987d09a6 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 7 Aug 2023 13:18:53 +0100 Subject: [PATCH 211/374] Update serializers and views for admin products index --- app/assets/javascripts/admin/bulk_product_update.js.coffee | 7 ++++--- app/serializers/api/admin/product_serializer.rb | 1 - app/serializers/api/admin/variant_serializer.rb | 2 ++ .../spree/admin/products/index/_products_product.html.haml | 1 - .../spree/admin/products/index/_products_variant.html.haml | 1 + 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/admin/bulk_product_update.js.coffee b/app/assets/javascripts/admin/bulk_product_update.js.coffee index 910fb39f8b..4598669203 100644 --- a/app/assets/javascripts/admin/bulk_product_update.js.coffee +++ b/app/assets/javascripts/admin/bulk_product_update.js.coffee @@ -136,6 +136,7 @@ angular.module("ofn.admin").controller "AdminProductEditCtrl", ($scope, $timeout on_hand: null price: null tax_category_id: null + category_id: null DisplayProperties.setShowVariants product.id, true @@ -332,9 +333,6 @@ filterSubmitProducts = (productsToFilter) -> if product.hasOwnProperty("on_demand") and filteredVariants.length == 0 #only update if no variants present filteredProduct.on_demand = product.on_demand hasUpdatableProperty = true - if product.hasOwnProperty("category_id") - filteredProduct.primary_taxon_id = product.category_id - hasUpdatableProperty = true if product.hasOwnProperty("inherits_properties") filteredProduct.inherits_properties = product.inherits_properties hasUpdatableProperty = true @@ -375,6 +373,9 @@ filterSubmitVariant = (variant) -> if variant.hasOwnProperty("tax_category_id") filteredVariant.tax_category_id = variant.tax_category_id hasUpdatableProperty = true + if variant.hasOwnProperty("category_id") + filteredVariant.primary_taxon_id = variant.category_id + hasUpdatableProperty = true if variant.hasOwnProperty("display_as") filteredVariant.display_as = variant.display_as hasUpdatableProperty = true diff --git a/app/serializers/api/admin/product_serializer.rb b/app/serializers/api/admin/product_serializer.rb index b3eb0225e6..356c0debdf 100644 --- a/app/serializers/api/admin/product_serializer.rb +++ b/app/serializers/api/admin/product_serializer.rb @@ -8,7 +8,6 @@ module Api :thumb_url, :variants has_one :supplier, key: :producer_id, embed: :id - has_one :primary_taxon, key: :category_id, embed: :id def variants ActiveModel::ArraySerializer.new( diff --git a/app/serializers/api/admin/variant_serializer.rb b/app/serializers/api/admin/variant_serializer.rb index 23b5dbd1e3..06732aa7b5 100644 --- a/app/serializers/api/admin/variant_serializer.rb +++ b/app/serializers/api/admin/variant_serializer.rb @@ -8,6 +8,8 @@ module Api :display_as, :display_name, :name_to_display, :variant_overrides_count, :price, :on_demand, :on_hand, :in_stock, :stock_location_id, :stock_location_name + has_one :primary_taxon, key: :category_id, embed: :id + def name if object.full_name.present? "#{object.name} - #{object.full_name}" diff --git a/app/views/spree/admin/products/index/_products_product.html.haml b/app/views/spree/admin/products/index/_products_product.html.haml index 99ca44c24c..e399d64aa3 100644 --- a/app/views/spree/admin/products/index/_products_product.html.haml +++ b/app/views/spree/admin/products/index/_products_product.html.haml @@ -24,7 +24,6 @@ %td.on_demand{ 'ng-show' => 'columns.on_demand.visible' } %input.field{ 'ng-model' => 'product.on_demand', :name => 'on_demand', 'ofn-track-product' => 'on_demand', :type => 'checkbox', 'ng-hide' => 'hasVariants(product)' } %td.category{ 'ng-if' => 'columns.category.visible' } - %input.fullwidth{ :type => 'text', id: "p{{product.id}}_category_id", 'ng-model' => 'product.category_id', 'ofn-taxon-autocomplete' => '', 'ofn-track-product' => 'category_id', 'multiple-selection' => 'false', placeholder: 'Category' } %td.tax_category{ 'ng-if' => 'columns.tax_category.visible' } %td.inherits_properties{ 'ng-show' => 'columns.inherits_properties.visible' } %input{ 'ng-model' => 'product.inherits_properties', :name => 'inherits_properties', 'ofn-track-product' => 'inherits_properties', type: "checkbox" } diff --git a/app/views/spree/admin/products/index/_products_variant.html.haml b/app/views/spree/admin/products/index/_products_variant.html.haml index e66499f7c9..48c732c155 100644 --- a/app/views/spree/admin/products/index/_products_variant.html.haml +++ b/app/views/spree/admin/products/index/_products_variant.html.haml @@ -21,6 +21,7 @@ %td{ 'ng-show' => 'columns.on_demand.visible' } %input.field{ 'ng-model' => 'variant.on_demand', :name => 'variant_on_demand', 'ofn-track-variant' => 'on_demand', :type => 'checkbox' } %td{ 'ng-show' => 'columns.category.visible' } + %input.fullwidth{ type: 'text', id: "p{{product.id}}_category_id", 'ng-model' => 'variant.category_id', 'ofn-taxon-autocomplete' => '', 'ofn-track-variant' => 'category_id', 'multiple-selection' => 'false', placeholder: 'Category' } %td{ 'ng-show' => 'columns.tax_category.visible' } %select.select2{ name: 'variant_tax_category_id', "ofn-track-variant": 'tax_category_id', "ng-model": 'variant.tax_category_id', "ng-options": 'tax_category.id as tax_category.name for tax_category in tax_categories' } %option{ value: '' }= t(:none) From 0dbbd5ed3b159fab1dc7e881c833fe3e4ba8adbe Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 7 Aug 2023 14:00:21 +0100 Subject: [PATCH 212/374] Migrate primary taxon id from products to variants --- .../20230807122052_migrate_product_taxons.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 db/migrate/20230807122052_migrate_product_taxons.rb diff --git a/db/migrate/20230807122052_migrate_product_taxons.rb b/db/migrate/20230807122052_migrate_product_taxons.rb new file mode 100644 index 0000000000..5bc982a805 --- /dev/null +++ b/db/migrate/20230807122052_migrate_product_taxons.rb @@ -0,0 +1,15 @@ +class MigrateProductTaxons < ActiveRecord::Migration[7.0] + def up + migrate_primary_taxon + end + + def migrate_primary_taxon + ActiveRecord::Base.connection.execute(<<-SQL + UPDATE spree_variants + SET primary_taxon_id = spree_products.primary_taxon_id + FROM spree_products + WHERE spree_variants.product_id = spree_products.id + SQL + ) + end +end From 3b715875adc85a30f9cf0c1db28a806c3e6de019 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 7 Aug 2023 19:04:35 +0100 Subject: [PATCH 213/374] Update taxon association --- app/models/spree/taxon.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/spree/taxon.rb b/app/models/spree/taxon.rb index 2ed96f4d57..7023959a26 100644 --- a/app/models/spree/taxon.rb +++ b/app/models/spree/taxon.rb @@ -7,7 +7,7 @@ module Spree acts_as_nested_set dependent: :destroy belongs_to :taxonomy, class_name: 'Spree::Taxonomy', touch: true - has_many :products, class_name: "Spree::Product", foreign_key: "primary_taxon_id", + has_many :variants, class_name: "Spree::Variant", foreign_key: "primary_taxon_id", inverse_of: :primary_taxon, dependent: :restrict_with_error before_create :set_permalink From cd601319f3a1ce0bc49864c9bb590aec9cfaa781 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 7 Aug 2023 19:05:00 +0100 Subject: [PATCH 214/374] Fix factory issues --- spec/factories/product_factory.rb | 8 +++++++- spec/factories/variant_factory.rb | 5 +++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/spec/factories/product_factory.rb b/spec/factories/product_factory.rb index 320060563f..8e1d5e64c7 100644 --- a/spec/factories/product_factory.rb +++ b/spec/factories/product_factory.rb @@ -3,13 +3,18 @@ FactoryBot.define do factory :base_product, class: Spree::Product do sequence(:name) { |n| "Product ##{n} - #{Kernel.rand(9999)}" } + + transient do + primary_taxon { nil } + end + + primary_taxon_id { |p| (p.primary_taxon || Spree::Taxon.first || create(:taxon)).id } description { generate(:random_description) } price { 19.99 } sku { 'ABC' } deleted_at { nil } supplier { Enterprise.is_primary_producer.first || FactoryBot.create(:supplier_enterprise) } - primary_taxon { Spree::Taxon.first || FactoryBot.create(:taxon) } unit_value { 1 } unit_description { '' } @@ -48,6 +53,7 @@ FactoryBot.define do on_demand { false } on_hand { 5 } end + after(:create) do |product, evaluator| product.variants.first.on_demand = evaluator.on_demand product.variants.first.on_hand = evaluator.on_hand diff --git a/spec/factories/variant_factory.rb b/spec/factories/variant_factory.rb index cd4b322a02..ec2ebf8a4d 100644 --- a/spec/factories/variant_factory.rb +++ b/spec/factories/variant_factory.rb @@ -11,7 +11,8 @@ FactoryBot.define do width { generate(:random_float) } depth { generate(:random_float) } - product { |p| p.association(:base_product) } + primary_taxon { Spree::Taxon.first || FactoryBot.create(:taxon) } + product { |v| create(:product, primary_taxon_id: v.primary_taxon.id) } # ensure stock item will be created for this variant before(:create) { create(:stock_location) if Spree::StockLocation.count.zero? } @@ -22,7 +23,7 @@ FactoryBot.define do on_hand { 5 } end - product { |p| p.association(:product) } + product { |v| create(:product, primary_taxon_id: v.primary_taxon.id) } unit_value { 1 } unit_description { '' } From 6b3e33f60756c3bc684c4c1e613cc3f795d00570 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 11:47:41 +0100 Subject: [PATCH 215/374] Update Taxon associations and joins --- app/models/spree/taxon.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/models/spree/taxon.rb b/app/models/spree/taxon.rb index 7023959a26..0ccb9e6499 100644 --- a/app/models/spree/taxon.rb +++ b/app/models/spree/taxon.rb @@ -7,9 +7,12 @@ module Spree acts_as_nested_set dependent: :destroy belongs_to :taxonomy, class_name: 'Spree::Taxonomy', touch: true + has_many :variants, class_name: "Spree::Variant", foreign_key: "primary_taxon_id", inverse_of: :primary_taxon, dependent: :restrict_with_error + has_many :products, through: :variants, dependent: nil + before_create :set_permalink validates :name, presence: true @@ -77,7 +80,7 @@ module Spree taxons = Spree::Taxon .select("DISTINCT spree_taxons.id, ents_and_vars.enterprise_id") - .joins(products: :variants) + .joins(:variants) .joins(" INNER JOIN (#{ents_and_vars.to_sql}) AS ents_and_vars ON spree_variants.id = ents_and_vars.variant_id") From 861f2aef018c608e64dc288418ce3b157487fb3a Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 11:53:48 +0100 Subject: [PATCH 216/374] Update product import spec --- spec/models/product_importer_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/product_importer_spec.rb b/spec/models/product_importer_spec.rb index c96e4b1870..593a0de53b 100644 --- a/spec/models/product_importer_spec.rb +++ b/spec/models/product_importer_spec.rb @@ -284,7 +284,7 @@ describe ProductImport::ProductImporter do carrots = Spree::Product.find_by(name: 'Good Carrots') expect(carrots.on_hand).to eq 5 expect(carrots.variants.first.price).to eq 3.20 - expect(carrots.primary_taxon.name).to eq "Vegetables" + expect(carrots.variants.first.primary_taxon.name).to eq "Vegetables" expect(carrots.variants.first.shipping_category).to eq shipping_category expect(carrots.supplier).to eq enterprise expect(carrots.variants.first.unit_presentation).to eq "500g" From 269d3ced0c954fcc6ed7e9abc538a88c26ef75ee Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 11:57:03 +0100 Subject: [PATCH 217/374] Update enterprise caching spec --- spec/models/enterprise_caching_spec.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/spec/models/enterprise_caching_spec.rb b/spec/models/enterprise_caching_spec.rb index 8fab0abb17..e66063abc1 100644 --- a/spec/models/enterprise_caching_spec.rb +++ b/spec/models/enterprise_caching_spec.rb @@ -12,6 +12,7 @@ describe Enterprise do describe "with a supplied product" do let(:product) { create(:simple_product, supplier: enterprise, primary_taxon_id: taxon.id) } + let(:variant) { product.variants.first } let(:property) { product.product_properties.last } let(:producer_property) { enterprise.producer_properties.last } @@ -20,9 +21,9 @@ describe Enterprise do enterprise.set_producer_property 'Biodynamic', 'ASDF 4321' end - it "touches enterprise when a taxon on that product changes" do + it "touches enterprise when a taxon on that variant changes" do expect { - later { product.update(primary_taxon_id: taxon2.id) } + later { variant.update(primary_taxon_id: taxon2.id) } }.to change { enterprise.reload.updated_at } end @@ -47,6 +48,7 @@ describe Enterprise do describe "with a distributed product" do let(:product) { create(:simple_product, primary_taxon_id: taxon.id) } + let(:variant) { product.variants.first } let(:oc) { create(:simple_order_cycle, distributors: [enterprise], variants: [product.variants.first]) @@ -63,9 +65,9 @@ describe Enterprise do context "with an order cycle" do before { oc } - it "touches enterprise when a taxon on that product changes" do + it "touches enterprise when a taxon on that variant changes" do expect { - later { product.update(primary_taxon_id: taxon2.id) } + later { variant.update(primary_taxon_id: taxon2.id) } }.to change { enterprise.reload.updated_at } end From b22c42613a56c3290137284a1d79c6e8b61d6542 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 12:34:08 +0100 Subject: [PATCH 218/374] Update taxon querying in reports --- lib/reporting/reports/products_and_inventory/base.rb | 2 +- lib/reporting/reports/products_and_inventory/lettuce_share.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/reporting/reports/products_and_inventory/base.rb b/lib/reporting/reports/products_and_inventory/base.rb index a65b113f2a..555e30cd68 100644 --- a/lib/reporting/reports/products_and_inventory/base.rb +++ b/lib/reporting/reports/products_and_inventory/base.rb @@ -17,7 +17,7 @@ module Reporting producer_suburb: proc { |variant| variant.product.supplier.address.city }, product: proc { |variant| variant.product.name }, product_properties: proc { |v| v.product.properties.map(&:name).join(", ") }, - taxons: proc { |variant| variant.product.primary_taxon.name }, + taxons: proc { |variant| variant.primary_taxon.name }, variant_value: proc { |variant| variant.full_name }, price: proc { |variant| variant.price }, group_buy_unit_quantity: proc { |variant| variant.product.group_buy_unit_size }, diff --git a/lib/reporting/reports/products_and_inventory/lettuce_share.rb b/lib/reporting/reports/products_and_inventory/lettuce_share.rb index 8311ff111d..366332fd55 100644 --- a/lib/reporting/reports/products_and_inventory/lettuce_share.rb +++ b/lib/reporting/reports/products_and_inventory/lettuce_share.rb @@ -32,7 +32,7 @@ module Reporting total: proc { |_variant| '' }, gst: proc { |variant| gst(variant) }, grower: proc { |variant| grower_and_method(variant) }, - taxon: proc { |variant| variant.product.primary_taxon.name } + taxon: proc { |variant| variant.primary_taxon.name } } end From d9899e8af61b6134b5e0b14a8ce280930bbfda22 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 12:10:05 +0100 Subject: [PATCH 219/374] Update more specs --- spec/controllers/api/v0/products_controller_spec.rb | 7 ++++--- spec/controllers/api/v0/variants_controller_spec.rb | 3 ++- .../spree/admin/products_controller_spec.rb | 4 +++- .../spree/admin/variants_controller_spec.rb | 4 +++- .../reports/products_and_inventory_report_spec.rb | 2 +- spec/models/spree/product_spec.rb | 7 +------ spec/models/spree/taxon_spec.rb | 6 +++--- spec/services/products_renderer_spec.rb | 6 ------ spec/system/admin/bulk_product_update_spec.rb | 3 --- spec/system/admin/products_spec.rb | 2 +- spec/system/admin/reports_spec.rb | 12 ++++++------ spec/system/admin/variants_spec.rb | 4 ++++ spec/system/consumer/caching/shops_caching_spec.rb | 5 +++-- 13 files changed, 31 insertions(+), 34 deletions(-) diff --git a/spec/controllers/api/v0/products_controller_spec.rb b/spec/controllers/api/v0/products_controller_spec.rb index af6dbfe032..96f22a9fe8 100644 --- a/spec/controllers/api/v0/products_controller_spec.rb +++ b/spec/controllers/api/v0/products_controller_spec.rb @@ -25,6 +25,7 @@ describe Api::V0::ProductsController, type: :controller do end context "as a normal user" do + let(:taxon) { create(:taxon) } let(:attachment) { fixture_file_upload("thinking-cat.jpg") } before do @@ -34,9 +35,10 @@ describe Api::V0::ProductsController, type: :controller do it "gets a single product" do product.create_image!(attachment:) - product.variants.create!(unit_value: "1", unit_description: "thing", price: 1) + product.variants.create!(unit_value: "1", unit_description: "thing", price: 1, primary_taxon: taxon) product.variants.first.images.create!(attachment:) product.set_property("spree", "rocks") + api_get :show, id: product.to_param expect(all_attributes.all?{ |attr| json_response.keys.include? attr }).to eq(true) @@ -117,8 +119,7 @@ describe Api::V0::ProductsController, type: :controller do expect(response.status).to eq(422) expect(json_response["error"]).to eq("Invalid resource. Please fix errors and try again.") errors = json_response["errors"] - expect(errors.keys).to match_array(["name", "primary_taxon", "supplier", "variant_unit", - "price"]) + expect(errors.keys).to match_array(["name", "supplier", "variant_unit", "price"]) end it "can update a product" do diff --git a/spec/controllers/api/v0/variants_controller_spec.rb b/spec/controllers/api/v0/variants_controller_spec.rb index 9272b0b522..1a90dd704a 100644 --- a/spec/controllers/api/v0/variants_controller_spec.rb +++ b/spec/controllers/api/v0/variants_controller_spec.rb @@ -127,6 +127,7 @@ describe Api::V0::VariantsController, type: :controller do let(:product) { create(:product) } let(:variant) { product.variants.first } + let(:taxon) { create(:taxon) } let!(:variant2) { create(:variant, product:) } context "deleted variants" do @@ -144,7 +145,7 @@ describe Api::V0::VariantsController, type: :controller do it "can create a new variant" do original_number_of_variants = variant.product.variants.count api_post :create, variant: { sku: "12345", unit_value: "1", - unit_description: "L", price: "1" }, + unit_description: "L", price: "1", primary_taxon_id: taxon.id }, product_id: variant.product.id expect(attributes.all?{ |attr| json_response.include? attr.to_s }).to eq(true) diff --git a/spec/controllers/spree/admin/products_controller_spec.rb b/spec/controllers/spree/admin/products_controller_spec.rb index 2fcb53ae2a..9dbf146f53 100644 --- a/spec/controllers/spree/admin/products_controller_spec.rb +++ b/spec/controllers/spree/admin/products_controller_spec.rb @@ -93,6 +93,7 @@ describe Spree::Admin::ProductsController, type: :controller do variant_unit_name: nil ) end + let!(:taxon) { create(:taxon) } before { controller_login_as_enterprise_user([producer]) } @@ -111,7 +112,8 @@ describe Spree::Admin::ProductsController, type: :controller do "price" => "5.0", "unit_value" => 4, "unit_description" => "", - "display_name" => "name" + "display_name" => "name", + "primary_taxon_id" => taxon.id } ] } diff --git a/spec/controllers/spree/admin/variants_controller_spec.rb b/spec/controllers/spree/admin/variants_controller_spec.rb index b3b05d8afc..7bdfc7bcbe 100644 --- a/spec/controllers/spree/admin/variants_controller_spec.rb +++ b/spec/controllers/spree/admin/variants_controller_spec.rb @@ -11,7 +11,9 @@ module Spree describe "deleted variants" do let(:product) { create(:product, name: 'Product A') } let(:deleted_variant) do - deleted_variant = product.variants.create(unit_value: "2", price: 1) + deleted_variant = product.variants.create( + unit_value: "2", price: 1, primary_taxon: create(:taxon) + ) deleted_variant.delete deleted_variant end diff --git a/spec/lib/reports/products_and_inventory_report_spec.rb b/spec/lib/reports/products_and_inventory_report_spec.rb index f2449f56f0..8096fa46b1 100644 --- a/spec/lib/reports/products_and_inventory_report_spec.rb +++ b/spec/lib/reports/products_and_inventory_report_spec.rb @@ -43,7 +43,7 @@ module Reporting allow(variant).to receive_message_chain(:product, :name).and_return("Product Name") allow(variant).to receive_message_chain(:product, :properties) .and_return [double(name: "property1"), double(name: "property2")] - allow(variant).to receive_message_chain(:product, :primary_taxon). + allow(variant).to receive_message_chain(:primary_taxon). and_return double(name: "taxon1") allow(variant).to receive_message_chain(:product, :group_buy_unit_size).and_return(21) allow(subject).to receive(:query_result).and_return [variant] diff --git a/spec/models/spree/product_spec.rb b/spec/models/spree/product_spec.rb index 49fc233147..82bddc66db 100644 --- a/spec/models/spree/product_spec.rb +++ b/spec/models/spree/product_spec.rb @@ -155,7 +155,6 @@ module Spree describe "associations" do it { is_expected.to belong_to(:supplier).required } - it { is_expected.to belong_to(:primary_taxon).required } end describe "validations and defaults" do @@ -167,10 +166,6 @@ module Spree it { is_expected.to validate_length_of(:name).is_at_most(255) } it { is_expected.to validate_length_of(:sku).is_at_most(255) } - it "requires a primary taxon" do - expect(build(:simple_product, primary_taxon: nil)).not_to be_valid - end - context "unit value" do it "requires a unit value when variant unit is weight" do expect(build(:simple_product, variant_unit: 'weight', variant_unit_name: 'name', @@ -232,7 +227,7 @@ module Spree before do create(:stock_location) - product.primary_taxon = create(:taxon) + product.primary_taxon_id = create(:taxon).id product.supplier = create(:supplier_enterprise) product.name = "Product1" product.variant_unit = "weight" diff --git a/spec/models/spree/taxon_spec.rb b/spec/models/spree/taxon_spec.rb index edbc968585..7f481413df 100644 --- a/spec/models/spree/taxon_spec.rb +++ b/spec/models/spree/taxon_spec.rb @@ -41,11 +41,11 @@ module Spree let!(:taxon1) { create(:taxon) } let!(:taxon2) { create(:taxon) } let!(:product) { create(:simple_product, primary_taxon: taxon1) } + let(:variant) { product.variants.first } - it "is touched when assignment of primary_taxon on a product changes" do + it "is touched when assignment of primary_taxon on a variant changes" do expect do - product.primary_taxon = taxon2 - product.save + variant.update(primary_taxon: taxon2) end.to change { taxon2.reload.updated_at } end end diff --git a/spec/services/products_renderer_spec.rb b/spec/services/products_renderer_spec.rb index e14a6832d0..179233fe2d 100644 --- a/spec/services/products_renderer_spec.rb +++ b/spec/services/products_renderer_spec.rb @@ -162,12 +162,6 @@ describe ProductsRenderer do expect(products_renderer.products_json).to include "998.0" end - it "includes the primary taxon" do - taxon = create(:taxon) - allow_any_instance_of(Spree::Product).to receive(:primary_taxon).and_return taxon - expect(products_renderer.products_json).to include taxon.name - end - it "loads tag_list for variants" do VariantOverride.create(variant:, hub: distributor, tag_list: 'lalala') expect(products_renderer.products_json).to include "[\"lalala\"]" diff --git a/spec/system/admin/bulk_product_update_spec.rb b/spec/system/admin/bulk_product_update_spec.rb index 9475b3a9cb..1f954dc142 100644 --- a/spec/system/admin/bulk_product_update_spec.rb +++ b/spec/system/admin/bulk_product_update_spec.rb @@ -344,7 +344,6 @@ describe ' within "tr#p_#{p.id}" do expect(page).to have_field "product_name", with: p.name expect(page).to have_select "producer_id", selected: s1.name - expect(page).to have_select2 "p#{p.id}_category_id", selected: t2.name expect(page).to have_select "variant_unit_with_scale", selected: "Volume (L)" expect(page).to have_checked_field "inherits_properties" expect(page).to have_field "product_sku", with: p.sku @@ -352,7 +351,6 @@ describe ' fill_in "product_name", with: "Big Bag Of Potatoes" select s2.name, from: 'producer_id' select "Weight (kg)", from: "variant_unit_with_scale" - select2_select t1.name, from: "p#{p.id}_category_id" uncheck "inherits_properties" fill_in "product_sku", with: "NEW SKU" end @@ -365,7 +363,6 @@ describe ' expect(p.supplier).to eq s2 expect(p.variant_unit).to eq "weight" expect(p.variant_unit_scale).to eq 1000 # Kg - expect(p.primary_taxon.permalink).to eq t1.permalink expect(p.inherits_properties).to be false expect(p.sku).to eq "NEW SKU" end diff --git a/spec/system/admin/products_spec.rb b/spec/system/admin/products_spec.rb index 8f497f086f..55e15a3e41 100644 --- a/spec/system/admin/products_spec.rb +++ b/spec/system/admin/products_spec.rb @@ -143,7 +143,7 @@ describe ' expect(product.variants.first.unit_value).to eq(5000) expect(product.variants.first.unit_description).to eq("") expect(product.variant_unit_name).to eq("") - expect(product.primary_taxon_id).to eq(taxon.id) + expect(product.variants.first.primary_taxon_id).to eq(taxon.id) expect(product.variants.first.price.to_s).to eq('19.99') expect(product.on_hand).to eq(5) expect(product.variants.first.tax_category_id).to eq(tax_category.id) diff --git a/spec/system/admin/reports_spec.rb b/spec/system/admin/reports_spec.rb index 472ce6a333..abe26647c7 100644 --- a/spec/system/admin/reports_spec.rb +++ b/spec/system/admin/reports_spec.rb @@ -358,15 +358,15 @@ describe ' let(:taxon) { create(:taxon, name: 'Taxon Name') } let(:product1) { create(:simple_product, name: "Product Name", price: 100, supplier:, - primary_taxon: taxon) + primary_taxon_id: taxon.id) } let(:product2) { create(:simple_product, name: "Product 2", price: 99.0, variant_unit: 'weight', variant_unit_scale: 1, unit_value: '100', supplier:, - primary_taxon: taxon, sku: "product_sku") + primary_taxon_id: taxon.id, sku: "product_sku") } let(:variant1) { product1.variants.first } - let(:variant2) { create(:variant, product: product1, price: 80.0) } + let(:variant2) { create(:variant, product: product1, price: 80.0, primary_taxon: taxon) } let(:variant3) { product2.variants.first } before do @@ -396,17 +396,17 @@ describe ' expect(page).to have_table_row [product1.supplier.name, product1.supplier.address.city, "Product Name", product1.properties.map(&:presentation).join(", "), - product1.primary_taxon.name, "1g", "100.0", + taxon.name, "1g", "100.0", "none", "", "sku1", "No", "10"] expect(page).to have_table_row [product1.supplier.name, product1.supplier.address.city, "Product Name", product1.properties.map(&:presentation).join(", "), - product1.primary_taxon.name, "1g", "80.0", + taxon.name, "1g", "80.0", "none", "", "sku2", "No", "20"] expect(page).to have_table_row [product2.supplier.name, product1.supplier.address.city, "Product 2", product1.properties.map(&:presentation).join(", "), - product2.primary_taxon.name, "100g", "99.0", + taxon.name, "100g", "99.0", "none", "", "product_sku", "No", "9"] end diff --git a/spec/system/admin/variants_spec.rb b/spec/system/admin/variants_spec.rb index e8487959c3..754670b542 100644 --- a/spec/system/admin/variants_spec.rb +++ b/spec/system/admin/variants_spec.rb @@ -9,6 +9,8 @@ describe ' include AuthenticationHelper include WebHelper + let!(:taxon) { create(:taxon) } + describe "new variant" do it "creating a new variant" do # Given a product with a unit-related option type @@ -21,6 +23,7 @@ describe ' fill_in 'unit_value_human', with: '1' fill_in 'variant_unit_description', with: 'foo' + select taxon.name, from: "variant_primary_taxon_id" click_button 'Create' # Then the variant should have been created @@ -61,6 +64,7 @@ describe ' # Expect variant_weight to accept 3 decimal places fill_in 'variant_weight', with: '1.234' fill_in 'unit_value_human', with: 1 + select taxon.name, from: "variant_primary_taxon_id" click_button 'Create' # Then the variant should have been created diff --git a/spec/system/consumer/caching/shops_caching_spec.rb b/spec/system/consumer/caching/shops_caching_spec.rb index 7c84c6c2f8..b44a8f77bc 100644 --- a/spec/system/consumer/caching/shops_caching_spec.rb +++ b/spec/system/consumer/caching/shops_caching_spec.rb @@ -53,8 +53,9 @@ describe "Shops caching", caching: true do let!(:property) { create(:property, presentation: "Cached Property") } let!(:property2) { create(:property, presentation: "New Property") } let!(:product) { - create(:product, primary_taxon: taxon, properties: [property]) + create(:product, primary_taxon_id: taxon.id, properties: [property]) } + let(:variant) { product.variants.first } let(:exchange) { order_cycle.exchanges.to_enterprises(distributor).outgoing.first } let(:test_domain) { @@ -92,7 +93,7 @@ describe "Shops caching", caching: true do expect(page).to have_content taxon.name expect(page).to have_content property.presentation - product.update_attribute(:primary_taxon, taxon2) + variant.update_attribute(:primary_taxon, taxon2) product.update_attribute(:properties, [property2]) visit enterprise_shop_path(distributor) From d281e9d1b5df1e1127878bbbfd9ab1b9c4671b67 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 13:03:00 +0100 Subject: [PATCH 220/374] Adjust factory --- spec/factories/variant_factory.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/factories/variant_factory.rb b/spec/factories/variant_factory.rb index ec2ebf8a4d..3cb44c6344 100644 --- a/spec/factories/variant_factory.rb +++ b/spec/factories/variant_factory.rb @@ -12,7 +12,7 @@ FactoryBot.define do depth { generate(:random_float) } primary_taxon { Spree::Taxon.first || FactoryBot.create(:taxon) } - product { |v| create(:product, primary_taxon_id: v.primary_taxon.id) } + product { |p| p.association(:product) } # ensure stock item will be created for this variant before(:create) { create(:stock_location) if Spree::StockLocation.count.zero? } @@ -23,7 +23,6 @@ FactoryBot.define do on_hand { 5 } end - product { |v| create(:product, primary_taxon_id: v.primary_taxon.id) } unit_value { 1 } unit_description { '' } From 6e7b97879bde4a92f6395cd5b1d1fc4c13b51558 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 14:18:03 +0100 Subject: [PATCH 221/374] Update DFC product importer --- engines/dfc_provider/app/services/supplied_product_builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/dfc_provider/app/services/supplied_product_builder.rb b/engines/dfc_provider/app/services/supplied_product_builder.rb index 31c343b524..83f2255812 100644 --- a/engines/dfc_provider/app/services/supplied_product_builder.rb +++ b/engines/dfc_provider/app/services/supplied_product_builder.rb @@ -66,7 +66,7 @@ class SuppliedProductBuilder < DfcBuilder name: supplied_product.name, description: supplied_product.description, price: 0, # will be in DFC Offer - primary_taxon: taxon(supplied_product) + primary_taxon_id: taxon(supplied_product).id ).tap do |product| QuantitativeValueBuilder.apply(supplied_product.quantity, product) end From c0864405a18d14c907c101fef1c146bdecc94ade Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 14:20:57 +0100 Subject: [PATCH 222/374] Update bulk products JS spec --- .../javascripts/unit/admin/bulk_product_update_spec.js.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/javascripts/unit/admin/bulk_product_update_spec.js.coffee b/spec/javascripts/unit/admin/bulk_product_update_spec.js.coffee index aa56ccd595..57f6225110 100644 --- a/spec/javascripts/unit/admin/bulk_product_update_spec.js.coffee +++ b/spec/javascripts/unit/admin/bulk_product_update_spec.js.coffee @@ -803,8 +803,8 @@ describe "AdminProductEditCtrl", -> expect(product).toEqual id: 123 variants: [ - {id: -1, price: null, unit_value: null, tax_category_id: null, unit_description: null, on_demand: false, on_hand: null, display_as: null, display_name: null} - {id: -2, price: null, unit_value: null, tax_category_id: null, unit_description: null, on_demand: false, on_hand: null, display_as: null, display_name: null} + {id: -1, price: null, unit_value: null, tax_category_id: null, unit_description: null, on_demand: false, on_hand: null, display_as: null, display_name: null, category_id: null} + {id: -2, price: null, unit_value: null, tax_category_id: null, unit_description: null, on_demand: false, on_hand: null, display_as: null, display_name: null, category_id: null} ] it "shows the variant(s)", -> From d4dd3cc708eac3781c02bffdc4f07f4018b6d45f Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 14:58:42 +0100 Subject: [PATCH 223/374] Update products v3 table --- app/views/admin/products_v3/_product_row.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index 1526fb26cf..9ad27681d0 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -30,7 +30,7 @@ %td.align-left .content= product.supplier&.name %td.align-left - .content= product.primary_taxon&.name + .content= product.variants.first.primary_taxon&.name %td.align-left %td.align-left .content= product.inherits_properties ? 'YES' : 'NO' #TODO: consider using https://github.com/RST-J/human_attribute_values, else use I18n.t (also below) From c5ec7e361b22724cb65436c8051f2d62235f0855 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 15:09:29 +0100 Subject: [PATCH 224/374] Update product import --- app/models/product_import/entry_validator.rb | 5 ++--- spec/models/product_importer_spec.rb | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/models/product_import/entry_validator.rb b/app/models/product_import/entry_validator.rb index 9eaed6034a..34369fe44d 100644 --- a/app/models/product_import/entry_validator.rb +++ b/app/models/product_import/entry_validator.rb @@ -24,7 +24,6 @@ module ProductImport def self.non_updatable_fields { - category: :primary_taxon_id, description: :description, unit_type: :variant_unit_scale, variant_unit_name: :variant_unit_name, @@ -69,7 +68,7 @@ module ProductImport def mark_as_new_variant(entry, product_id) variant_attributes = entry.assignable_attributes.except( 'id', 'product_id', 'on_hand', 'on_demand', 'variant_unit', 'variant_unit_name', - 'variant_unit_scale', 'primary_taxon_id' + 'variant_unit_scale' ) # Variant needs a product. Product needs to be assigned first in order for # delegate to work. name= will fail otherwise. @@ -398,7 +397,7 @@ module ProductImport def mark_as_existing_variant(entry, existing_variant) existing_variant.assign_attributes( entry.assignable_attributes.except('id', 'product_id', 'variant_unit', 'variant_unit_name', - 'variant_unit_scale', 'primary_taxon_id') + 'variant_unit_scale') ) check_on_hand_nil(entry, existing_variant) diff --git a/spec/models/product_importer_spec.rb b/spec/models/product_importer_spec.rb index 593a0de53b..ff6470d782 100644 --- a/spec/models/product_importer_spec.rb +++ b/spec/models/product_importer_spec.rb @@ -562,7 +562,7 @@ describe ProductImport::ProductImporter do let(:csv_data) { CSV.generate do |csv| csv << ["name", "producer", "category", "on_hand", "price", "units", "unit_type"] - csv << ["Beetroot", enterprise3.name, "Meat", "5", "3.50", "500", "g"] + csv << ["Beetroot", enterprise3.name, "Vegetables", "5", "3.50", "500", "Kg"] csv << ["Tomato", enterprise3.name, "Vegetables", "6", "5.50", "500", "Kg"] end } From 6025491f94e8a06af21ef928a5e03ba6d5fa5a47 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 19:27:12 +0100 Subject: [PATCH 225/374] Update product serializer --- app/serializers/api/product_serializer.rb | 2 -- spec/serializers/api/product_serializer_spec.rb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/serializers/api/product_serializer.rb b/app/serializers/api/product_serializer.rb index 11f228c1e6..e25fdaf04a 100644 --- a/app/serializers/api/product_serializer.rb +++ b/app/serializers/api/product_serializer.rb @@ -9,8 +9,6 @@ class Api::ProductSerializer < ActiveModel::Serializer has_many :variants, serializer: Api::VariantSerializer - has_one :primary_taxon, serializer: Api::TaxonSerializer - has_one :image, serializer: Api::ImageSerializer has_one :supplier, serializer: Api::IdSerializer diff --git a/spec/serializers/api/product_serializer_spec.rb b/spec/serializers/api/product_serializer_spec.rb index fc50f7c3c0..d44e964665 100644 --- a/spec/serializers/api/product_serializer_spec.rb +++ b/spec/serializers/api/product_serializer_spec.rb @@ -28,7 +28,7 @@ describe Api::ProductSerializer do it "serializes various attributes" do expect(serializer.serializable_hash.keys).to eq [ :id, :name, :meta_keywords, :group_buy, :notes, :description, :description_html, - :properties_with_values, :variants, :primary_taxon, :image, :supplier + :properties_with_values, :variants, :image, :supplier ] end From 78495d0ace571d272f8bdc454b808342af183373 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 19:40:41 +0100 Subject: [PATCH 226/374] Drop unnecessary params filtering --- .../api/v0/order_cycles_controller.rb | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/app/controllers/api/v0/order_cycles_controller.rb b/app/controllers/api/v0/order_cycles_controller.rb index 2c3c0b2318..7bb56ecc56 100644 --- a/app/controllers/api/v0/order_cycles_controller.rb +++ b/app/controllers/api/v0/order_cycles_controller.rb @@ -70,22 +70,7 @@ module Api end def search_params - permitted_search_params = params.slice :q, :page, :per_page - - if permitted_search_params.key? :q - permitted_search_params[:q].slice!(*permitted_ransack_params) - end - - permitted_search_params - end - - def permitted_ransack_params - [ - "#{[:name, :meta_keywords, :variants_display_as, - :variants_display_name, :supplier_name] - .join('_or_')}_cont", - :with_properties, :primary_taxon_id_in_any - ] + params.slice :q, :page, :per_page end def distributor From fb09a7f1e62de5333fce89c960bcbccc9ee9cf33 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 19:42:26 +0100 Subject: [PATCH 227/374] Fix product filtering --- app/assets/javascripts/admin/bulk_product_update.js.coffee | 4 ++-- .../darkswarm/controllers/products_controller.js.coffee | 2 +- app/reflexes/products_reflex.rb | 2 +- spec/controllers/api/v0/order_cycles_controller_spec.rb | 2 +- spec/controllers/api/v0/products_controller_spec.rb | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/admin/bulk_product_update.js.coffee b/app/assets/javascripts/admin/bulk_product_update.js.coffee index 4598669203..5adb65c399 100644 --- a/app/assets/javascripts/admin/bulk_product_update.js.coffee +++ b/app/assets/javascripts/admin/bulk_product_update.js.coffee @@ -48,7 +48,7 @@ angular.module("ofn.admin").controller "AdminProductEditCtrl", ($scope, $timeout params = { 'q[name_cont]': $scope.q.query, 'q[supplier_id_eq]': $scope.q.producerFilter, - 'q[primary_taxon_id_eq]': $scope.q.categoryFilter, + 'q[variants_primary_taxon_id_eq]': $scope.q.categoryFilter, 'q[s]': $scope.sorting, import_date: $scope.q.importDateFilter, page: $scope.page, @@ -218,7 +218,7 @@ angular.module("ofn.admin").controller "AdminProductEditCtrl", ($scope, $timeout filters: 'q[name_cont]': $scope.q.query 'q[supplier_id_eq]': $scope.q.producerFilter - 'q[primary_taxon_id_eq]': $scope.q.categoryFilter + 'q[variants_primary_taxon_id_eq]': $scope.q.categoryFilter 'q[s]': $scope.sorting import_date: $scope.q.importDateFilter page: $scope.page diff --git a/app/assets/javascripts/darkswarm/controllers/products_controller.js.coffee b/app/assets/javascripts/darkswarm/controllers/products_controller.js.coffee index 521859f7ab..79f1db42ab 100644 --- a/app/assets/javascripts/darkswarm/controllers/products_controller.js.coffee +++ b/app/assets/javascripts/darkswarm/controllers/products_controller.js.coffee @@ -68,7 +68,7 @@ angular.module('Darkswarm').controller "ProductsCtrl", ($scope, $sce, $filter, $ per_page: $scope.per_page, 'q[name_or_meta_keywords_or_variants_display_as_or_variants_display_name_or_supplier_name_cont]': $scope.query, 'q[with_properties][]': $scope.activeProperties, - 'q[primary_taxon_id_in_any][]': $scope.activeTaxons + 'q[variants_primary_taxon_id_in_any][]': $scope.activeTaxons } $scope.searchKeypress = (e)-> diff --git a/app/reflexes/products_reflex.rb b/app/reflexes/products_reflex.rb index b312c74205..650ce2b23f 100644 --- a/app/reflexes/products_reflex.rb +++ b/app/reflexes/products_reflex.rb @@ -173,7 +173,7 @@ class ProductsReflex < ApplicationReflex if @search_term.present? query.merge!(Spree::Variant::SEARCH_KEY => @search_term) end - query.merge!(primary_taxon_id_in: @category_id) if @category_id.present? + query.merge!(variants_primary_taxon_id_in: @category_id) if @category_id.present? query end diff --git a/spec/controllers/api/v0/order_cycles_controller_spec.rb b/spec/controllers/api/v0/order_cycles_controller_spec.rb index 7a8aaa0a24..a8640fa581 100644 --- a/spec/controllers/api/v0/order_cycles_controller_spec.rb +++ b/spec/controllers/api/v0/order_cycles_controller_spec.rb @@ -126,7 +126,7 @@ module Api context "with taxon filters" do it "filters by taxon" do api_get :products, id: order_cycle.id, distributor: distributor.id, - q: { primary_taxon_id_in_any: [taxon2.id] } + q: { variants_primary_taxon_id_in_any: [taxon2.id] } expect(product_ids).to include product2.id, product3.id expect(product_ids).not_to include product1.id, product4.id diff --git a/spec/controllers/api/v0/products_controller_spec.rb b/spec/controllers/api/v0/products_controller_spec.rb index 96f22a9fe8..90480a6f2e 100644 --- a/spec/controllers/api/v0/products_controller_spec.rb +++ b/spec/controllers/api/v0/products_controller_spec.rb @@ -267,7 +267,7 @@ describe Api::V0::ProductsController, type: :controller do end it "filters results by product category" do - api_get :bulk_products, { page: 1, per_page: 15, q: { primary_taxon_id_eq: taxon.id } }, + api_get :bulk_products, { page: 1, per_page: 15, q: { variants_primary_taxon_id_eq: taxon.id } }, format: :json expect(returned_product_ids).to eq [product3.id, product2.id] end From 02abe5cc063c5fc44ae604b6aeda9015b4d70284 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Wed, 9 Aug 2023 11:33:05 +0100 Subject: [PATCH 228/374] Remove dead code related to multiple product taxons --- app/services/sets/product_set.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/services/sets/product_set.rb b/app/services/sets/product_set.rb index 1adcdcb579..ba3fb40240 100644 --- a/app/services/sets/product_set.rb +++ b/app/services/sets/product_set.rb @@ -46,18 +46,12 @@ module Sets # variant.update( { price: xx.x } ) # def update_product_attributes(attributes) - split_taxon_ids!(attributes) - product = find_model(@collection, attributes[:id]) return if product.nil? update_product(product, attributes) end - def split_taxon_ids!(attributes) - attributes[:taxon_ids] = attributes[:taxon_ids].split(',') if attributes[:taxon_ids].present? - end - def update_product(product, attributes) return false unless update_product_only_attributes(product, attributes) From 3f2a5786bd1f2bbb242d3f63a9cb0d557498c407 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Wed, 9 Aug 2023 11:57:12 +0100 Subject: [PATCH 229/374] Apply taxon from sibling variant if none is provided on variant creation --- app/models/spree/variant.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/models/spree/variant.rb b/app/models/spree/variant.rb index 6fc36cc27c..94e3bfb3c5 100644 --- a/app/models/spree/variant.rb +++ b/app/models/spree/variant.rb @@ -83,6 +83,7 @@ module Spree before_validation :ensure_unit_value before_validation :update_weight_from_unit_value, if: ->(v) { v.product.present? } before_validation :convert_variant_weight_to_decimal + before_validation :assign_related_taxon, if: ->(v) { v.primary_taxon.blank? } before_save :assign_units, if: ->(variant) { variant.new_record? || variant.changed_attributes.keys.intersection(NAME_FIELDS).any? @@ -209,6 +210,10 @@ module Spree private + def assign_related_taxon + self.primary_taxon ||= product.variants.last&.primary_taxon + end + def check_currency return unless currency.nil? From 2743a8183d82b4cedb36d205d61512716719e969 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Wed, 9 Aug 2023 13:11:32 +0100 Subject: [PATCH 230/374] Disable sorting by user-defined product category order --- app/services/products_renderer.rb | 6 ------ config/locales/en.yml | 1 + spec/controllers/api/v0/order_cycles_controller_spec.rb | 4 ++-- spec/services/products_renderer_spec.rb | 4 ++-- spec/system/admin/enterprises_spec.rb | 2 +- 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/app/services/products_renderer.rb b/app/services/products_renderer.rb index 5d0d794856..e7ab58f60b 100644 --- a/app/services/products_renderer.rb +++ b/app/services/products_renderer.rb @@ -74,12 +74,6 @@ class ProductsRenderer .preferred_shopfront_producer_order .split(",").map { |id| "spree_products.supplier_id=#{id} DESC" } .join(", ") + ", spree_products.name ASC, spree_products.id ASC" - elsif distributor.preferred_shopfront_product_sorting_method == "by_category" && - distributor.preferred_shopfront_taxon_order.present? - distributor - .preferred_shopfront_taxon_order - .split(",").map { |id| "spree_products.primary_taxon_id=#{id} DESC" } - .join(", ") + ", spree_products.name ASC, spree_products.id ASC" else "spree_products.name ASC, spree_products.id" end diff --git a/config/locales/en.yml b/config/locales/en.yml index 949d7af400..efb8d01f37 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1249,6 +1249,7 @@ en: open_date: "Open Date" close_date: "Close Date" display_ordering_in_shopfront: "Display ordering in shopfront:" + shopfront_sort_by_product: "By product" shopfront_sort_by_category: "By category" shopfront_sort_by_producer: "By producer" shopfront_sort_by_category_placeholder: "Category" diff --git a/spec/controllers/api/v0/order_cycles_controller_spec.rb b/spec/controllers/api/v0/order_cycles_controller_spec.rb index a8640fa581..9344bca3a8 100644 --- a/spec/controllers/api/v0/order_cycles_controller_spec.rb +++ b/spec/controllers/api/v0/order_cycles_controller_spec.rb @@ -280,13 +280,13 @@ module Api exchange.variants << product8.variants.first end - it "displays products in new order" do + xit "displays products in new order" do api_get :products, id: order_cycle.id, distributor: distributor.id expect(product_ids).to eq [product7.id, product8.id, product2.id, product3.id, product5.id, product6.id, product1.id] end - it "displays products in correct order across multiple pages" do + xit "displays products in correct order across multiple pages" do api_get :products, id: order_cycle.id, distributor: distributor.id, per_page: 3 expect(product_ids).to eq [product7.id, product8.id, product2.id] diff --git a/spec/services/products_renderer_spec.rb b/spec/services/products_renderer_spec.rb index 179233fe2d..ade810c08d 100644 --- a/spec/services/products_renderer_spec.rb +++ b/spec/services/products_renderer_spec.rb @@ -39,7 +39,7 @@ describe ProductsRenderer do end describe "sorting" do - it "sorts products by the distributor's preferred taxon list" do + xit "sorts products by the distributor's preferred taxon list" do allow(distributor) .to receive(:preferred_shopfront_taxon_order) { "#{cakes.id},#{fruits.id}" } products = products_renderer.send(:products) @@ -106,7 +106,7 @@ describe ProductsRenderer do expect(products).to eq([product_apples, product_cherries]) end - it "filters products with property when sorting is enabled" do + xit "filters products with property when sorting is enabled" do allow(distributor).to receive(:preferred_shopfront_taxon_order) { "#{fruits.id},#{cakes.id}" } diff --git a/spec/system/admin/enterprises_spec.rb b/spec/system/admin/enterprises_spec.rb index 92fdf304d3..7e1cbcaec8 100644 --- a/spec/system/admin/enterprises_spec.rb +++ b/spec/system/admin/enterprises_spec.rb @@ -536,7 +536,7 @@ describe ' .to eq('Enterprise "First Distributor" has been successfully updated!') end - it "sets the preference correctly" do + xit "sets the preference correctly" do expect(distributor1.preferred_shopfront_product_sorting_method).to eql("by_category") expect(distributor1.preferred_shopfront_taxon_order).to eql(taxon.id.to_s) end From a55931c081207523578051fcf5fb7ac4ee649ed2 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Thu, 10 Aug 2023 15:47:54 +0100 Subject: [PATCH 231/374] Reinstate sorting by arbitrary list of product categories --- .../order_cycles/distributed_products_service.rb | 16 ++++++++++++++++ app/services/products_renderer.rb | 10 ++++++++-- .../enterprises/form/_shop_preferences.html.haml | 8 ++++++++ config/initializers/pagy.rb | 7 +++++-- .../api/v0/order_cycles_controller_spec.rb | 4 ++-- spec/services/products_renderer_spec.rb | 4 ++-- spec/system/admin/enterprises_spec.rb | 2 +- 7 files changed, 42 insertions(+), 9 deletions(-) diff --git a/app/services/order_cycles/distributed_products_service.rb b/app/services/order_cycles/distributed_products_service.rb index 567478c7eb..4da5039e26 100644 --- a/app/services/order_cycles/distributed_products_service.rb +++ b/app/services/order_cycles/distributed_products_service.rb @@ -15,6 +15,22 @@ module OrderCycles Spree::Product.where(id: stocked_products).group("spree_products.id") end + # Joins on the first product variant to allow us to filter product by taxon. This is so + # enterprise can display product sorted by category in a custom order on their shopfront. + # + # Caveat, the category sorting won't work properly if there are multiple variant with different + # category for a given product. + # + def products_taxons_relation + Spree::Product.where(id: stocked_products). + joins("LEFT JOIN ( + SELECT DISTINCT ON(product_id) id, product_id, primary_taxon_id + FROM spree_variants WHERE deleted_at IS NULL + ) first_variant ON spree_products.id = first_variant.product_id"). + select("spree_products.*, first_variant.primary_taxon_id"). + group("spree_products.id, first_variant.primary_taxon_id") + end + def variants_relation order_cycle. variants_distributed_by(distributor). diff --git a/app/services/products_renderer.rb b/app/services/products_renderer.rb index e7ab58f60b..d7296e9fa1 100644 --- a/app/services/products_renderer.rb +++ b/app/services/products_renderer.rb @@ -35,7 +35,7 @@ class ProductsRenderer @products ||= begin results = distributed_products. - products_relation. + products_taxons_relation. order(Arel.sql(products_order)) filter_and_paginate(results). @@ -54,7 +54,7 @@ class ProductsRenderer def filter_and_paginate(query) results = query.ransack(args[:q]).result - _pagy, paginated_results = pagy( + _pagy, paginated_results = pagy_arel( results, page: args[:page] || 1, items: args[:per_page] || DEFAULT_PER_PAGE @@ -74,6 +74,12 @@ class ProductsRenderer .preferred_shopfront_producer_order .split(",").map { |id| "spree_products.supplier_id=#{id} DESC" } .join(", ") + ", spree_products.name ASC, spree_products.id ASC" + elsif distributor.preferred_shopfront_product_sorting_method == "by_category" && + distributor.preferred_shopfront_taxon_order.present? + distributor + .preferred_shopfront_taxon_order + .split(",").map { |id| "first_variant.primary_taxon_id=#{id} DESC" } + .join(", ") + ", spree_products.name ASC, spree_products.id ASC" else "spree_products.name ASC, spree_products.id" end diff --git a/app/views/admin/enterprises/form/_shop_preferences.html.haml b/app/views/admin/enterprises/form/_shop_preferences.html.haml index 616d631509..8c214e9d35 100644 --- a/app/views/admin/enterprises/form/_shop_preferences.html.haml +++ b/app/views/admin/enterprises/form/_shop_preferences.html.haml @@ -24,6 +24,14 @@ = label :enterprise, :preferred_shopfront_product_sorting_method_by_category, t('.shopfront_sort_by_category') .eight.columns.omega %textarea.fullwidth{ id: 'enterprise_preferred_shopfront_taxon_order', name: 'enterprise[preferred_shopfront_taxon_order]', rows: 6, "ofn-taxon-autocomplete": '', "multiple-selection": 'true', placeholder: t('.shopfront_sort_by_category_placeholder'), "ng-model": 'Enterprise.preferred_shopfront_taxon_order', "ng-readonly": "Enterprise.preferred_shopfront_product_sorting_method != 'by_category'" } +.row + .three.columns.alpha + = radio_button :enterprise, :preferred_shopfront_product_sorting_method, :by_category, { 'ng-model' => 'Enterprise.preferred_shopfront_product_sorting_method' } + = label :enterprise, :preferred_shopfront_product_sorting_method_by_category, t('.shopfront_sort_by_category') + .eight.columns.omega + %textarea.fullwidth{ id: 'enterprise_preferred_shopfront_taxon_order', name: 'enterprise[preferred_shopfront_taxon_order]', rows: 6, + 'ofn-taxon-autocomplete' => '', 'multiple-selection' => 'true', placeholder: t('.shopfront_sort_by_category_placeholder'), + ng: { model: 'Enterprise.preferred_shopfront_taxon_order', readonly: "Enterprise.preferred_shopfront_product_sorting_method != 'by_category'" }} .row .three.columns.alpha = radio_button :enterprise, :preferred_shopfront_product_sorting_method, :by_producer, { 'ng-model' => 'Enterprise.preferred_shopfront_product_sorting_method' } diff --git a/config/initializers/pagy.rb b/config/initializers/pagy.rb index ff9ed076e6..cd18f12b32 100644 --- a/config/initializers/pagy.rb +++ b/config/initializers/pagy.rb @@ -1,15 +1,18 @@ # frozen_string_literal: true +require 'pagy/extras/arel' +require 'pagy/extras/items' +require 'pagy/extras/overflow' + + # Pagy Variables # See https://ddnexus.github.io/pagy/api/pagy#variables Pagy::DEFAULT[:items] = 100 # Items extra: Allow the client to request a custom number of items per page with an optional selector UI # See https://ddnexus.github.io/pagy/extras/items -require 'pagy/extras/items' Pagy::DEFAULT[:items_param] = :per_page Pagy::DEFAULT[:max_items] = 100 # For handling requests for non-existant pages eg: page 35 when there are only 4 pages of results -require 'pagy/extras/overflow' Pagy::DEFAULT[:overflow] = :empty_page diff --git a/spec/controllers/api/v0/order_cycles_controller_spec.rb b/spec/controllers/api/v0/order_cycles_controller_spec.rb index 9344bca3a8..a8640fa581 100644 --- a/spec/controllers/api/v0/order_cycles_controller_spec.rb +++ b/spec/controllers/api/v0/order_cycles_controller_spec.rb @@ -280,13 +280,13 @@ module Api exchange.variants << product8.variants.first end - xit "displays products in new order" do + it "displays products in new order" do api_get :products, id: order_cycle.id, distributor: distributor.id expect(product_ids).to eq [product7.id, product8.id, product2.id, product3.id, product5.id, product6.id, product1.id] end - xit "displays products in correct order across multiple pages" do + it "displays products in correct order across multiple pages" do api_get :products, id: order_cycle.id, distributor: distributor.id, per_page: 3 expect(product_ids).to eq [product7.id, product8.id, product2.id] diff --git a/spec/services/products_renderer_spec.rb b/spec/services/products_renderer_spec.rb index ade810c08d..179233fe2d 100644 --- a/spec/services/products_renderer_spec.rb +++ b/spec/services/products_renderer_spec.rb @@ -39,7 +39,7 @@ describe ProductsRenderer do end describe "sorting" do - xit "sorts products by the distributor's preferred taxon list" do + it "sorts products by the distributor's preferred taxon list" do allow(distributor) .to receive(:preferred_shopfront_taxon_order) { "#{cakes.id},#{fruits.id}" } products = products_renderer.send(:products) @@ -106,7 +106,7 @@ describe ProductsRenderer do expect(products).to eq([product_apples, product_cherries]) end - xit "filters products with property when sorting is enabled" do + it "filters products with property when sorting is enabled" do allow(distributor).to receive(:preferred_shopfront_taxon_order) { "#{fruits.id},#{cakes.id}" } diff --git a/spec/system/admin/enterprises_spec.rb b/spec/system/admin/enterprises_spec.rb index 7e1cbcaec8..92fdf304d3 100644 --- a/spec/system/admin/enterprises_spec.rb +++ b/spec/system/admin/enterprises_spec.rb @@ -536,7 +536,7 @@ describe ' .to eq('Enterprise "First Distributor" has been successfully updated!') end - xit "sets the preference correctly" do + it "sets the preference correctly" do expect(distributor1.preferred_shopfront_product_sorting_method).to eql("by_category") expect(distributor1.preferred_shopfront_taxon_order).to eql(taxon.id.to_s) end From d959ee2358bc56a69b2c4bf0728e356dad10413a Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:37:08 +0100 Subject: [PATCH 232/374] Fix rubocop warnings --- spec/controllers/api/v0/products_controller_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/controllers/api/v0/products_controller_spec.rb b/spec/controllers/api/v0/products_controller_spec.rb index 90480a6f2e..4abba9f3bd 100644 --- a/spec/controllers/api/v0/products_controller_spec.rb +++ b/spec/controllers/api/v0/products_controller_spec.rb @@ -35,7 +35,8 @@ describe Api::V0::ProductsController, type: :controller do it "gets a single product" do product.create_image!(attachment:) - product.variants.create!(unit_value: "1", unit_description: "thing", price: 1, primary_taxon: taxon) + product.variants.create!(unit_value: "1", unit_description: "thing", price: 1, + primary_taxon: taxon) product.variants.first.images.create!(attachment:) product.set_property("spree", "rocks") @@ -267,7 +268,8 @@ describe Api::V0::ProductsController, type: :controller do end it "filters results by product category" do - api_get :bulk_products, { page: 1, per_page: 15, q: { variants_primary_taxon_id_eq: taxon.id } }, + api_get :bulk_products, + { page: 1, per_page: 15, q: { variants_primary_taxon_id_eq: taxon.id } }, format: :json expect(returned_product_ids).to eq [product3.id, product2.id] end From 8a364a5f48aec13b5d04c820d25009ec4d31cec8 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 5 Sep 2023 16:00:01 +0100 Subject: [PATCH 233/374] Fix product touch spec --- spec/models/spree/product_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/spree/product_spec.rb b/spec/models/spree/product_spec.rb index 82bddc66db..a0b15065fd 100644 --- a/spec/models/spree/product_spec.rb +++ b/spec/models/spree/product_spec.rb @@ -319,7 +319,7 @@ module Spree let(:product) { create(:simple_product) } describe "touching affected enterprises when the product is deleted" do - let(:product) { create(:simple_product) } + let(:product) { create(:simple_product, supplier: distributor) } let(:supplier) { product.supplier } let(:distributor) { create(:distributor_enterprise) } let!(:oc) { From ac4ec36b3b46ebf7911ee2b6c1e9a992954f9f5f Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 5 Sep 2023 16:04:47 +0100 Subject: [PATCH 234/374] Update ProductScopeQuery spec --- spec/queries/product_scope_query_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/queries/product_scope_query_spec.rb b/spec/queries/product_scope_query_spec.rb index f8bde2c8da..d1efd12d98 100755 --- a/spec/queries/product_scope_query_spec.rb +++ b/spec/queries/product_scope_query_spec.rb @@ -30,7 +30,8 @@ describe ProductScopeQuery do it "filters results by product category" do subject = ProductScopeQuery - .new(current_api_user, { q: { primary_taxon_id_eq: taxon.id } }).bulk_products + .new(current_api_user, { q: { variants_primary_taxon_id_eq: taxon.id } }) + .bulk_products expect(subject).to include(product, product2) expect(subject).not_to include(product3) From d3e62c439099c15ef935dd863c84e5d3d9144ed3 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 5 Sep 2023 16:47:12 +0100 Subject: [PATCH 235/374] Add test for persisting taxon on variant during product creation --- spec/models/spree/product_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/models/spree/product_spec.rb b/spec/models/spree/product_spec.rb index a0b15065fd..05e5fdf52e 100644 --- a/spec/models/spree/product_spec.rb +++ b/spec/models/spree/product_spec.rb @@ -224,10 +224,11 @@ module Spree context "saving a new product" do let!(:product){ Spree::Product.new } let!(:shipping_category){ create(:shipping_category) } + let!(:taxon){ create(:taxon) } before do create(:stock_location) - product.primary_taxon_id = create(:taxon).id + product.primary_taxon_id = taxon.id product.supplier = create(:supplier_enterprise) product.name = "Product1" product.variant_unit = "weight" @@ -243,6 +244,7 @@ module Spree standard_variant = product.variants.reload.first expect(standard_variant.price).to eq 4.27 expect(standard_variant.shipping_category).to eq shipping_category + expect(standard_variant.primary_taxon).to eq taxon end end From 6d1249e7f9f2d958cd02209281abbc3af4564e12 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Tue, 20 Feb 2024 16:27:05 +1100 Subject: [PATCH 236/374] Update DFC supplied product --- .../app/services/supplied_product_builder.rb | 13 ++-- .../spec/requests/supplied_products_spec.rb | 9 ++- .../services/supplied_product_builder_spec.rb | 61 ++----------------- 3 files changed, 14 insertions(+), 69 deletions(-) diff --git a/engines/dfc_provider/app/services/supplied_product_builder.rb b/engines/dfc_provider/app/services/supplied_product_builder.rb index 83f2255812..bdf069bdfb 100644 --- a/engines/dfc_provider/app/services/supplied_product_builder.rb +++ b/engines/dfc_provider/app/services/supplied_product_builder.rb @@ -65,26 +65,25 @@ class SuppliedProductBuilder < DfcBuilder Spree::Product.new( name: supplied_product.name, description: supplied_product.description, - price: 0, # will be in DFC Offer - primary_taxon_id: taxon(supplied_product).id + price: 0 # will be in DFC Offer ).tap do |product| QuantitativeValueBuilder.apply(supplied_product.quantity, product) + product.ensure_standard_variant + product.variants.first.primary_taxon = taxon(supplied_product) end end def self.apply(supplied_product, variant) - variant.product.assign_attributes( - description: supplied_product.description, - primary_taxon: taxon(supplied_product) - ) + variant.product.assign_attributes(description: supplied_product.description) variant.display_name = supplied_product.name + variant.primary_taxon = taxon(supplied_product) QuantitativeValueBuilder.apply(supplied_product.quantity, variant.product) variant.unit_value = variant.product.unit_value end def self.product_type(variant) - taxon_dfc_id = variant.product.primary_taxon&.dfc_id + taxon_dfc_id = variant.primary_taxon&.dfc_id DfcProductTypeFactory.for(taxon_dfc_id) end diff --git a/engines/dfc_provider/spec/requests/supplied_products_spec.rb b/engines/dfc_provider/spec/requests/supplied_products_spec.rb index 6f22460e03..d57d45c0f0 100644 --- a/engines/dfc_provider/spec/requests/supplied_products_spec.rb +++ b/engines/dfc_provider/spec/requests/supplied_products_spec.rb @@ -10,11 +10,10 @@ describe "SuppliedProducts", type: :request, swagger_doc: "dfc.yaml", rswag_auto :product_with_image, id: 90_000, supplier: enterprise, name: "Pesto", description: "Basil Pesto", - variants: [variant], - primary_taxon: taxon + variants: [variant] ) } - let(:variant) { build(:base_variant, id: 10_001, unit_value: 1) } + let(:variant) { build(:base_variant, id: 10_001, unit_value: 1, primary_taxon: taxon) } let(:taxon) { build( :taxon, @@ -114,7 +113,7 @@ describe "SuppliedProducts", type: :request, swagger_doc: "dfc.yaml", rswag_auto product = Spree::Product.find(product_id) expect(product.name).to eq "Apple" expect(product.variants).to eq [variant] - expect(product.primary_taxon).to eq(non_local_vegetable) + expect(product.variants.first.primary_taxon).to eq(non_local_vegetable) # Creates a variant for existing product supplied_product[:'ofn:spree_product_id'] = product_id @@ -244,7 +243,7 @@ describe "SuppliedProducts", type: :request, swagger_doc: "dfc.yaml", rswag_auto }.to change { variant.description }.to("DFC-Pesto updated") .and change { variant.display_name }.to("Pesto novo") .and change { variant.unit_value }.to(17) - .and change { variant.product.primary_taxon }.to(drink_taxon) + .and change { variant.primary_taxon }.to(drink_taxon) end end end diff --git a/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb b/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb index 08db382860..12bc49f518 100644 --- a/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb +++ b/engines/dfc_provider/spec/services/supplied_product_builder_spec.rb @@ -7,12 +7,10 @@ describe SuppliedProductBuilder do subject(:builder) { described_class } let(:variant) { - build(:variant, id: 5, product: spree_product) + build(:variant, id: 5, product: spree_product, primary_taxon: taxon) } let(:spree_product) { - create(:product, id: 6, supplier:).tap do |p| - p.primary_taxon = taxon - end + create(:product, id: 6, supplier:) } let(:supplier) { build(:supplier_enterprise, id: 7) @@ -121,7 +119,7 @@ describe SuppliedProductBuilder do it "assigns the taxon matching the DFC product type" do product = builder.import_product(supplied_product) - expect(product.primary_taxon).to eq(taxon) + expect(product.variants.first.primary_taxon).to eq(taxon) end end end @@ -191,58 +189,7 @@ describe SuppliedProductBuilder do imported_product = imported_variant.product expect(imported_product.id).to eq(spree_product.id) expect(imported_product.description).to eq("Better Awesome tomato") - expect(imported_product.primary_taxon).to eq(new_taxon) - end - - it "adds a new variant" do - expect(imported_variant.id).to be_nil - expect(imported_variant.product).to eq(spree_product) - expect(imported_variant.display_name).to eq("Tomato") - expect(imported_variant.unit_value).to eq(2000) - end - end - - context "with spree_product_uri supplied" do - let(:imported_variant) { builder.import_variant(supplied_product, supplier) } - let(:product_type) { DfcLoader.connector.PRODUCT_TYPES.DRINK.SOFT_DRINK } - let!(:new_taxon) { - create( - :taxon, - name: "Soft Drink", - dfc_id: "https://github.com/datafoodconsortium/taxonomies/releases/latest/download/productTypes.rdf#soft-drink" - ) - } - - context "when spree_product_uri match the server host" do - let(:supplied_product) do - variant.save! # referenced in spree_product_id - - DfcProvider::SuppliedProduct.new( - "https://example.net/tomato", - name: "Tomato", - description: "Better Awesome tomato", - quantity: DataFoodConsortium::Connector::QuantitativeValue.new( - unit: DfcLoader.connector.MEASURES.KILOGRAM, - value: 2, - ), - productType: product_type, - spree_product_uri: "http://test.host/api/dfc/enterprises/7?spree_product_id=6" - ) - end - - it "update an existing Spree::Product" do - imported_product = imported_variant.product - expect(imported_product.id).to eq(spree_product.id) - expect(imported_product.description).to eq("Better Awesome tomato") - expect(imported_product.primary_taxon).to eq(new_taxon) - end - - it "adds a new variant" do - expect(imported_variant.id).to be_nil - expect(imported_variant.product).to eq(spree_product) - expect(imported_variant.display_name).to eq("Tomato") - expect(imported_variant.unit_value).to eq(2000) - end + expect(imported_variant.primary_taxon).to eq(new_taxon) end context "when spree_product_uri doesn't match the server host" do From 8c0583808069dcaacdcb771a470be3b58d422658 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Wed, 21 Feb 2024 16:10:28 +1100 Subject: [PATCH 237/374] Move the category to the variant row --- app/views/admin/products_v3/_product_row.html.haml | 2 +- app/views/admin/products_v3/_variant_row.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index 9ad27681d0..4a8b0c8ce3 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -30,7 +30,7 @@ %td.align-left .content= product.supplier&.name %td.align-left - .content= product.variants.first.primary_taxon&.name + -# empty %td.align-left %td.align-left .content= product.inherits_properties ? 'YES' : 'NO' #TODO: consider using https://github.com/RST-J/human_attribute_values, else use I18n.t (also below) diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index 661776db96..77af4ee424 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -42,7 +42,7 @@ %td.align-left .content= variant.product.supplier&.name # same as product %td.align-left - -# empty + .content= variant.primary_taxon&.name %td.align-left .content= variant.tax_category&.name || "None" # TODO: convert to dropdown, else translate hardcoded string. %td.align-left From 678fa37df9432d594aa002cde7fbb8c57bd1c69e Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Wed, 21 Feb 2024 16:12:33 +1100 Subject: [PATCH 238/374] Fix duplication issue When a product had mutiple variant assigned to the same category it should only return the product one --- app/reflexes/products_reflex.rb | 2 +- spec/reflexes/products_reflex_spec.rb | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/app/reflexes/products_reflex.rb b/app/reflexes/products_reflex.rb index 650ce2b23f..e8d7634b7c 100644 --- a/app/reflexes/products_reflex.rb +++ b/app/reflexes/products_reflex.rb @@ -152,7 +152,7 @@ class ProductsReflex < ApplicationReflex def fetch_products product_query = OpenFoodNetwork::Permissions.new(current_user) - .editable_products.merge(product_scope).ransack(ransack_query).result + .editable_products.merge(product_scope).ransack(ransack_query).result(distinct: true) @pagy, @products = pagy(product_query.order(:name), items: @per_page, page: @page, size: [1, 2, 2, 1]) end diff --git a/spec/reflexes/products_reflex_spec.rb b/spec/reflexes/products_reflex_spec.rb index 542199628e..cb8314b544 100644 --- a/spec/reflexes/products_reflex_spec.rb +++ b/spec/reflexes/products_reflex_spec.rb @@ -15,7 +15,7 @@ describe ProductsReflex, type: :reflex, feature: :admin_style_v3 do end describe '#fetch' do - subject{ build_reflex(method_name: :fetch, **context) } + subject { build_reflex(method_name: :fetch, **context) } describe "sorting" do let!(:product_z) { create(:simple_product, name: "Zucchini") } @@ -34,6 +34,27 @@ describe ProductsReflex, type: :reflex, feature: :admin_style_v3 do end end + describe '#filter' do + context "when filtering by category" do + let!(:product_a) { create(:simple_product, name: "Apples") } + let!(:product_z) do + create(:simple_product, name: "Zucchini").tap do |p| + p.variants.first.update(primary_taxon: category_c) + end + end + let(:category_c) { create(:taxon, name: "Category 1") } + + it "returns product with a variant matching the given category" do + # Add a second variant to test we are not returning duplicate product + product_z.variants << create(:variant, primary_taxon: category_c) + + reflex = run_reflex(:filter, params: { category_id: category_c.id } ) + + expect(reflex.get(:products).to_a).to eq([product_z]) + end + end + end + describe '#bulk_update' do let!(:variant_a1) { product_a.variants.first.tap{ |v| From 100239c4e6ff90a559a8b575622ca81f1a9487db Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Tue, 12 Mar 2024 15:26:49 +1100 Subject: [PATCH 239/374] Fix #bulk_product duplicate Remove duplicate when a product has mutiple variant in the same category (taxon) --- app/queries/product_scope_query.rb | 2 +- spec/queries/product_scope_query_spec.rb | 30 ++++++++++++++++++------ 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/app/queries/product_scope_query.rb b/app/queries/product_scope_query.rb index bc8b6953b2..00f4a401e8 100644 --- a/app/queries/product_scope_query.rb +++ b/app/queries/product_scope_query.rb @@ -20,7 +20,7 @@ class ProductScopeQuery product_query. ransack(query_params_with_defaults). - result + result(distinct: true) end def find_product diff --git a/spec/queries/product_scope_query_spec.rb b/spec/queries/product_scope_query_spec.rb index d1efd12d98..9674a201f5 100755 --- a/spec/queries/product_scope_query_spec.rb +++ b/spec/queries/product_scope_query_spec.rb @@ -12,7 +12,7 @@ describe ProductScopeQuery do before { current_api_user.enterprise_roles.create(enterprise: supplier2) } - describe 'bulk update' do + describe '#bulk_products' do let!(:product3) { create(:product, supplier: supplier2) } it "returns a list of products" do @@ -28,13 +28,29 @@ describe ProductScopeQuery do expect(subject).not_to include(product2, product3) end - it "filters results by product category" do - subject = ProductScopeQuery - .new(current_api_user, { q: { variants_primary_taxon_id_eq: taxon.id } }) - .bulk_products + describe "by variant category" do + it "filters results by product category" do + create(:variant, product: product2, primary_taxon: taxon) - expect(subject).to include(product, product2) - expect(subject).not_to include(product3) + subject = ProductScopeQuery + .new(current_api_user, { q: { variants_primary_taxon_id_eq: taxon.id } }) + .bulk_products + + expect(subject).to match_array([product, product2]) + expect(subject).not_to include(product3) + end + + context "with mutiple variant in the same category" do + it "doesn't duplicate products" do + create(:variant, product: product2, primary_taxon: taxon) + + subject = ProductScopeQuery + .new(current_api_user, { q: { variants_primary_taxon_id_eq: taxon.id } }) + .bulk_products + + expect(subject).to match_array([product, product2]) + end + end end it "filters results by import_date" do From 484c037c38f5dfe663254ab5f6f4870effcc97f0 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Tue, 2 Apr 2024 10:18:47 +1100 Subject: [PATCH 240/374] Fix duplication coming from a rebase error --- .../admin/enterprises/form/_shop_preferences.html.haml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/views/admin/enterprises/form/_shop_preferences.html.haml b/app/views/admin/enterprises/form/_shop_preferences.html.haml index 8c214e9d35..616d631509 100644 --- a/app/views/admin/enterprises/form/_shop_preferences.html.haml +++ b/app/views/admin/enterprises/form/_shop_preferences.html.haml @@ -24,14 +24,6 @@ = label :enterprise, :preferred_shopfront_product_sorting_method_by_category, t('.shopfront_sort_by_category') .eight.columns.omega %textarea.fullwidth{ id: 'enterprise_preferred_shopfront_taxon_order', name: 'enterprise[preferred_shopfront_taxon_order]', rows: 6, "ofn-taxon-autocomplete": '', "multiple-selection": 'true', placeholder: t('.shopfront_sort_by_category_placeholder'), "ng-model": 'Enterprise.preferred_shopfront_taxon_order', "ng-readonly": "Enterprise.preferred_shopfront_product_sorting_method != 'by_category'" } -.row - .three.columns.alpha - = radio_button :enterprise, :preferred_shopfront_product_sorting_method, :by_category, { 'ng-model' => 'Enterprise.preferred_shopfront_product_sorting_method' } - = label :enterprise, :preferred_shopfront_product_sorting_method_by_category, t('.shopfront_sort_by_category') - .eight.columns.omega - %textarea.fullwidth{ id: 'enterprise_preferred_shopfront_taxon_order', name: 'enterprise[preferred_shopfront_taxon_order]', rows: 6, - 'ofn-taxon-autocomplete' => '', 'multiple-selection' => 'true', placeholder: t('.shopfront_sort_by_category_placeholder'), - ng: { model: 'Enterprise.preferred_shopfront_taxon_order', readonly: "Enterprise.preferred_shopfront_product_sorting_method != 'by_category'" }} .row .three.columns.alpha = radio_button :enterprise, :preferred_shopfront_product_sorting_method, :by_producer, { 'ng-model' => 'Enterprise.preferred_shopfront_product_sorting_method' } From eaf32226a49c378efbe997c92239c9f618f96545 Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Thu, 28 Mar 2024 19:31:52 +0000 Subject: [PATCH 241/374] Fix duplicate branches in Spree::Admin::BaseHelper :string case already handled by the else case --- .rubocop_todo.yml | 2 +- app/helpers/spree/admin/base_helper.rb | 4 -- spec/helpers/spree/admin/base_helper_spec.rb | 66 ++++++++++++++++++++ 3 files changed, 67 insertions(+), 5 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 80de3c4a6e..3c85c436c8 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -27,7 +27,7 @@ Lint/ConstantDefinitionInBlock: # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches. Lint/DuplicateBranch: Exclude: - - 'app/helpers/spree/admin/base_helper.rb' + # - 'app/helpers/spree/admin/base_helper.rb' - 'app/models/enterprise.rb' - 'app/models/spree/calculator.rb' - 'app/models/spree/preference.rb' diff --git a/app/helpers/spree/admin/base_helper.rb b/app/helpers/spree/admin/base_helper.rb index 652e2a4dd4..4d46a8e297 100644 --- a/app/helpers/spree/admin/base_helper.rb +++ b/app/helpers/spree/admin/base_helper.rb @@ -33,8 +33,6 @@ module Spree when :boolean hidden_field_tag(name, 0) + check_box_tag(name, 1, value, preference_field_options(options)) - when :string - text_field_tag(name, value, preference_field_options(options)) when :password password_field_tag(name, value, preference_field_options(options)) when :text @@ -88,8 +86,6 @@ module Spree { size: 10, class: 'input_integer', step: :any } when :boolean {} - when :string - { size: 10, class: 'input_string fullwidth' } when :password { size: 10, class: 'password_string fullwidth' } when :text diff --git a/spec/helpers/spree/admin/base_helper_spec.rb b/spec/helpers/spree/admin/base_helper_spec.rb index e16c8ff730..8930d83d5a 100644 --- a/spec/helpers/spree/admin/base_helper_spec.rb +++ b/spec/helpers/spree/admin/base_helper_spec.rb @@ -21,4 +21,70 @@ describe Spree::Admin::BaseHelper, type: :helper do "name="_method" value="destroy">") end end + + describe "#preference_field_options" do + subject { helper.preference_field_options(options) } + + context 'when type is integer' do + let(:options) { { type: :integer } } + + it 'returns correct options' do + expect(subject).to eq({ size: nil, class: 'input_integer', step: 1, readonly: nil, + disabled: nil }) + end + end + + context 'when type is decimal' do + let(:options) { { type: :decimal } } + + it 'returns correct options' do + expect(subject).to eq({ size: nil, class: 'input_integer', step: :any, readonly: nil, + disabled: nil }) + end + end + + context 'when type is boolean' do + let(:options) { { type: :boolean } } + + it 'returns correct options' do + expect(subject).to eq({ readonly: nil, disabled: nil, size: nil }) + end + end + + context 'when type is password' do + let(:options) { { type: :password } } + + it 'returns correct options' do + expect(subject).to eq({ size: nil, class: 'password_string fullwidth', readonly: nil, + disabled: nil }) + end + end + + context 'when type is text' do + let(:options) { { type: :text } } + + it 'returns correct options' do + expect(subject).to eq({ size: nil, rows: 15, cols: 85, class: 'fullwidth', readonly: nil, + disabled: nil }) + end + end + + context 'when type is string' do + let(:options) { { type: :string } } + + it 'returns correct options' do + expect(subject).to eq({ size: nil, class: 'input_string fullwidth', readonly: nil, + disabled: nil }) + end + end + + context 'when readonly, disabled and size are set' do + let(:options) { { type: :integer, readonly: true, disabled: false, size: 20 } } + + it 'returns correct options' do + expect(subject).to eq({ size: 20, class: 'input_integer', step: 1, readonly: true, + disabled: false }) + end + end + end end From 8bee48df6d70e00d86d793ded74a534f993d5292 Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Thu, 28 Mar 2024 19:39:49 +0000 Subject: [PATCH 242/374] Fix duplicate branch in Enterprise#category method non_producer_sells_any and non_producer_sells_own have the same category --- .rubocop_todo.yml | 2 +- app/models/enterprise.rb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 3c85c436c8..9d3737f407 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -28,7 +28,7 @@ Lint/ConstantDefinitionInBlock: Lint/DuplicateBranch: Exclude: # - 'app/helpers/spree/admin/base_helper.rb' - - 'app/models/enterprise.rb' + # - 'app/models/enterprise.rb' - 'app/models/spree/calculator.rb' - 'app/models/spree/preference.rb' - 'app/models/spree/preferences/preferable.rb' diff --git a/app/models/enterprise.rb b/app/models/enterprise.rb index 7f9ab5a965..0d5ad5e4ec 100644 --- a/app/models/enterprise.rb +++ b/app/models/enterprise.rb @@ -369,10 +369,10 @@ class Enterprise < ApplicationRecord :producer_shop # Producer with shopfront and supplies other hubs. when "producer_sells_none" :producer # Producer only supplies through others. - when "non_producer_sells_any" - :hub # Hub selling others products in order cycles. - when "non_producer_sells_own" - :hub # Wholesaler selling through own shopfront? Does this need a separate name or even exist? + when "non_producer_sells_any", "non_producer_sells_own" + # Hub selling others products in order cycles + # Or Wholesaler selling through own shopfront? Does this need a separate name or even exist? + :hub when "non_producer_sells_none" :hub_profile # Hub selling outside the system. end From 3e796da8ff62de7b851c9477c4de7dae29a0b61a Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Thu, 28 Mar 2024 19:47:10 +0000 Subject: [PATCH 243/374] Fix duplicate branch Spree::Calculator --- .rubocop_todo.yml | 2 +- app/models/spree/calculator.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 9d3737f407..af5d895a2b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -29,7 +29,7 @@ Lint/DuplicateBranch: Exclude: # - 'app/helpers/spree/admin/base_helper.rb' # - 'app/models/enterprise.rb' - - 'app/models/spree/calculator.rb' + # - 'app/models/spree/calculator.rb' - 'app/models/spree/preference.rb' - 'app/models/spree/preferences/preferable.rb' diff --git a/app/models/spree/calculator.rb b/app/models/spree/calculator.rb index 9ff0e53651..7c1f11c274 100644 --- a/app/models/spree/calculator.rb +++ b/app/models/spree/calculator.rb @@ -44,9 +44,9 @@ module Spree # Given an object which might be an Order or a LineItem (amongst # others), return a collection of line items. def line_items_for(object) - if object.is_a?(Spree::LineItem) - [object] - elsif object.respond_to? :line_items + return [object] if object.is_a?(Spree::LineItem) + + if object.respond_to? :line_items object.line_items elsif object.respond_to?(:order) && object.order.present? object.order.line_items From 5fde1cc7cdb1683a20f64e5908ad59b191f8ab27 Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Thu, 28 Mar 2024 19:48:59 +0000 Subject: [PATCH 244/374] Fix duplicate branch in Spree::Preference#value method :string, :text and :password cases have the same value --- .rubocop_todo.yml | 2 +- app/models/spree/preference.rb | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index af5d895a2b..6f2bdd9e78 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -30,7 +30,7 @@ Lint/DuplicateBranch: # - 'app/helpers/spree/admin/base_helper.rb' # - 'app/models/enterprise.rb' # - 'app/models/spree/calculator.rb' - - 'app/models/spree/preference.rb' + # - 'app/models/spree/preference.rb' - 'app/models/spree/preferences/preferable.rb' # Offense count: 2 diff --git a/app/models/spree/preference.rb b/app/models/spree/preference.rb index 6f64edf9cf..7465c12f2c 100644 --- a/app/models/spree/preference.rb +++ b/app/models/spree/preference.rb @@ -16,9 +16,7 @@ module Spree def value if self[:value_type].present? case self[:value_type].to_sym - when :string, :text - self[:value].to_s - when :password + when :string, :text, :password self[:value].to_s when :decimal BigDecimal(self[:value].to_s, exception: false)&.round(2, BigDecimal::ROUND_HALF_UP) || From eedbaaff6eae24ba4ffe91a34a8345188b8ac7f1 Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Thu, 28 Mar 2024 19:50:46 +0000 Subject: [PATCH 245/374] Fix duplicate branch in Spree::Preferences::Preferable private method :string, :text and :password cases have the same value --- .rubocop_todo.yml | 10 ---------- app/models/spree/preferences/preferable.rb | 4 +--- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 6f2bdd9e78..b7d0593f62 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -23,16 +23,6 @@ Lint/ConstantDefinitionInBlock: - 'spec/validators/date_time_string_validator_spec.rb' - 'spec/validators/integer_array_validator_spec.rb' -# Offense count: 6 -# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches. -Lint/DuplicateBranch: - Exclude: - # - 'app/helpers/spree/admin/base_helper.rb' - # - 'app/models/enterprise.rb' - # - 'app/models/spree/calculator.rb' - # - 'app/models/spree/preference.rb' - - 'app/models/spree/preferences/preferable.rb' - # Offense count: 2 Lint/DuplicateMethods: Exclude: diff --git a/app/models/spree/preferences/preferable.rb b/app/models/spree/preferences/preferable.rb index 40131daef3..e81a24aaf7 100644 --- a/app/models/spree/preferences/preferable.rb +++ b/app/models/spree/preferences/preferable.rb @@ -111,9 +111,7 @@ module Spree def convert_preference_value(value, type) case type - when :string, :text - value.to_s - when :password + when :string, :text, :password value.to_s when :decimal value = 0 if value.blank? From 69a10f0137a54be9dd789a90101bdf4a461b539f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 09:38:50 +0000 Subject: [PATCH 246/374] chore(deps-dev): bump rubocop-rspec from 2.27.1 to 2.28.0 Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.27.1 to 2.28.0. - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.27.1...v2.28.0) --- updated-dependencies: - dependency-name: rubocop-rspec dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index bee4fcbe1d..e3975d2e8e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -668,10 +668,13 @@ GEM rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) - rubocop-rspec (2.27.1) + rubocop-rspec (2.28.0) rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (~> 2.28) + rubocop-rspec_rails (2.28.2) + rubocop (~> 1.40) ruby-graphviz (1.2.5) rexml ruby-progressbar (1.13.0) From 12cf626202883ea7831b8998d7ee14457fee8fa7 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Wed, 3 Apr 2024 16:48:50 +1100 Subject: [PATCH 247/374] Update all locales with the latest Transifex translations --- config/locales/ar.yml | 4 ++++ config/locales/ca.yml | 4 ++++ config/locales/cy.yml | 10 ++++++++++ config/locales/de_CH.yml | 3 +++ config/locales/de_DE.yml | 4 ++++ config/locales/el.yml | 3 +++ config/locales/en_AU.yml | 3 +++ config/locales/en_BE.yml | 3 +++ config/locales/en_CA.yml | 4 ++++ config/locales/en_DE.yml | 3 +++ config/locales/en_FR.yml | 5 +++++ config/locales/en_GB.yml | 34 ++++++++++++++++++++++++++++++++++ config/locales/en_IE.yml | 4 ++++ config/locales/en_IN.yml | 3 +++ config/locales/en_NZ.yml | 3 +++ config/locales/en_PH.yml | 3 +++ config/locales/en_US.yml | 3 +++ config/locales/en_ZA.yml | 3 +++ config/locales/es.yml | 4 ++++ config/locales/es_CO.yml | 3 +++ config/locales/es_CR.yml | 3 +++ config/locales/es_US.yml | 3 +++ config/locales/fil_PH.yml | 3 +++ config/locales/fr.yml | 13 +++++++++---- config/locales/fr_BE.yml | 4 ++++ config/locales/fr_CA.yml | 4 ++++ config/locales/fr_CH.yml | 3 +++ config/locales/fr_CM.yml | 3 +++ config/locales/hi.yml | 4 ++++ config/locales/hu.yml | 4 ++++ config/locales/it.yml | 4 ++++ config/locales/it_CH.yml | 3 +++ config/locales/ko.yml | 3 +++ config/locales/ml.yml | 4 ++++ config/locales/mr.yml | 4 ++++ config/locales/nb.yml | 4 ++++ config/locales/nl_BE.yml | 3 +++ config/locales/pa.yml | 4 ++++ config/locales/pl.yml | 3 +++ config/locales/pt.yml | 3 +++ config/locales/pt_BR.yml | 3 +++ config/locales/ru.yml | 4 ++++ config/locales/tr.yml | 3 +++ config/locales/uk.yml | 3 +++ 44 files changed, 194 insertions(+), 4 deletions(-) diff --git a/config/locales/ar.yml b/config/locales/ar.yml index 618c451135..830a47c276 100644 --- a/config/locales/ar.yml +++ b/config/locales/ar.yml @@ -48,6 +48,9 @@ ar: variant_unit: "وحدة النوع" variant_unit_name: "اسم وحدة النوع" unit_value: "قيمةالوحدة" + spree/variant: + primary_taxon: "نوع المنتج " + shipping_category_id: "نوع الشحن" spree/credit_card: base: "بطاقة ائتمان" number: "رقم " @@ -448,6 +451,7 @@ ar: columns: name: الاسم unit: وحدة + unit_value: قيمةالوحدة price: السعر producer: المنتج category: الفئة diff --git a/config/locales/ca.yml b/config/locales/ca.yml index 8d862ea74a..52aeabcc05 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -48,6 +48,9 @@ ca: variant_unit: "Unitat de la variant" variant_unit_name: "Nom de la unitat de la variant" unit_value: "Valor de la unitat" + spree/variant: + primary_taxon: "Categoria del producte" + shipping_category_id: "Categoria d'enviament" spree/credit_card: base: "Targeta de crèdit" number: "Número" @@ -475,6 +478,7 @@ ca: columns: name: Nom unit: Unitat + unit_value: Valor de la unitat price: Preu producer: Productora category: Categoria diff --git a/config/locales/cy.yml b/config/locales/cy.yml index 9aefe37d48..2f1969c0b6 100644 --- a/config/locales/cy.yml +++ b/config/locales/cy.yml @@ -1,5 +1,8 @@ cy: language_name: "Cymraeg" + time: + formats: + long: "%B %d, %Y %-l:%M %p" activerecord: models: spree/product: Cynnyrch @@ -48,6 +51,9 @@ cy: variant_unit: "Uned Amrywiol" variant_unit_name: "Enw Uned Amrywiol" unit_value: "Gwerth yr uned" + spree/variant: + primary_taxon: "Categori Cynnyrch" + shipping_category_id: "Categori Anfon" spree/credit_card: base: "Cerdyn credyd" number: "Rhif" @@ -502,6 +508,7 @@ cy: columns: name: Enw unit: Uned + unit_value: Gwerth yr uned price: Pris producer: Cynhyrchydd category: Categori @@ -4324,6 +4331,9 @@ cy: form: name: Enw permalink: Permalink + meta_title: Meta Title + meta_description: Meta Description + meta_keywords: Meta Keywords description: Disgrifiad general_settings: edit: diff --git a/config/locales/de_CH.yml b/config/locales/de_CH.yml index 0d0c8501fc..81607fbbeb 100644 --- a/config/locales/de_CH.yml +++ b/config/locales/de_CH.yml @@ -38,6 +38,9 @@ de_CH: shipping_category_id: "Lieferkategorie" variant_unit: "Varianteneinheit" variant_unit_name: "Name der Varianteneinheit" + spree/variant: + primary_taxon: "Produktkategorie" + shipping_category_id: "Lieferkategorie" spree/credit_card: base: "Kreditkarte" number: "Kreditkartennummer" diff --git a/config/locales/de_DE.yml b/config/locales/de_DE.yml index ec8ad69aa6..53e5c6c9c9 100644 --- a/config/locales/de_DE.yml +++ b/config/locales/de_DE.yml @@ -51,6 +51,9 @@ de_DE: variant_unit: "Varianteneinheit" variant_unit_name: "Name der Varianteneinheit" unit_value: "Menge" + spree/variant: + primary_taxon: "Produktkategorie" + shipping_category_id: "Lieferkategorie" spree/credit_card: base: "Kreditkarte" number: "Kreditkartennummer" @@ -505,6 +508,7 @@ de_DE: columns: name: Name unit: Einheit + unit_value: Menge price: Preis producer: Produzent category: Kategorie diff --git a/config/locales/el.yml b/config/locales/el.yml index 97d367a68e..51dc5ffffe 100644 --- a/config/locales/el.yml +++ b/config/locales/el.yml @@ -29,6 +29,9 @@ el: shipping_category_id: "Κατηγορία μεταφορικών" variant_unit: "Μονάδα μέτρησης μεταβλητής" variant_unit_name: "Όνομα μεταβλητής" + spree/variant: + primary_taxon: "Κατηγορία προϊόντων" + shipping_category_id: "Κατηγορία μεταφορικών" spree/credit_card: base: "Κάρτα πιστωτική/χρεωστική" number: "Αριθμός" diff --git a/config/locales/en_AU.yml b/config/locales/en_AU.yml index d9760ceea1..2ae66f6bc7 100644 --- a/config/locales/en_AU.yml +++ b/config/locales/en_AU.yml @@ -33,6 +33,9 @@ en_AU: shipping_category_id: "Shipping Category" variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" diff --git a/config/locales/en_BE.yml b/config/locales/en_BE.yml index be82f1371c..f4b13f9092 100644 --- a/config/locales/en_BE.yml +++ b/config/locales/en_BE.yml @@ -32,6 +32,9 @@ en_BE: shipping_category_id: "Shipping Category" variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" diff --git a/config/locales/en_CA.yml b/config/locales/en_CA.yml index 217f311200..0c4255940b 100644 --- a/config/locales/en_CA.yml +++ b/config/locales/en_CA.yml @@ -51,6 +51,9 @@ en_CA: variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" unit_value: "Unit value" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" @@ -510,6 +513,7 @@ en_CA: columns: name: Name unit: Unit + unit_value: Unit value price: Price producer: Producer category: Category diff --git a/config/locales/en_DE.yml b/config/locales/en_DE.yml index e75e9957e4..3b38a7c248 100644 --- a/config/locales/en_DE.yml +++ b/config/locales/en_DE.yml @@ -32,6 +32,9 @@ en_DE: shipping_category_id: "Shipping Category" variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" diff --git a/config/locales/en_FR.yml b/config/locales/en_FR.yml index 8af909627f..6932bd822b 100644 --- a/config/locales/en_FR.yml +++ b/config/locales/en_FR.yml @@ -51,6 +51,9 @@ en_FR: variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" unit_value: "Unit value" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" @@ -511,6 +514,8 @@ en_FR: name: Name unit_scale: Unit scale unit: Unit + unit_value: Unit value + display_as: Display unit as price: Price producer: Producer category: Category diff --git a/config/locales/en_GB.yml b/config/locales/en_GB.yml index 7917fab67f..4f7728f17f 100644 --- a/config/locales/en_GB.yml +++ b/config/locales/en_GB.yml @@ -48,6 +48,9 @@ en_GB: variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" unit_value: "Unit value" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" @@ -75,6 +78,10 @@ en_GB: models: enterprise_fee: inherit_tax_requires_per_item_calculator: "Inheriting the tax category requires a per-item calculator." + spree/image: + attributes: + attachment: + integrity_error: "failed to load. Please check to ensure the file is not corrupt, and try again." spree/user: attributes: email: @@ -384,6 +391,7 @@ en_GB: cancel_order: "Cancel Order" confirm_send_invoice: "An invoice for this order will be sent to the customer. Are you sure you want to continue?" confirm_resend_order_confirmation: "Are you sure you want to resend the order confirmation email?" + must_have_valid_business_number: "%{enterprise_name} must have a valid company number or charity number before invoices can be used." invoice: "Invoice" invoices: "Invoices" file: "File" @@ -501,7 +509,10 @@ en_GB: colums: Columns columns: name: Name + unit_scale: Unit scale unit: Unit + unit_value: Unit value + display_as: Display unit as price: Price producer: Producer category: Category @@ -683,6 +694,9 @@ en_GB: your_content: Your content user_guide: User Guide map: Map + dfc_product_imports: + index: + imported_products: "Imported products:" enterprise_fees: index: title: "Enterprise Fees" @@ -759,6 +773,7 @@ en_GB: heading: "Delete variant" prompt: "This will permanently remove it from your list." confirmation_text: "Delete variant" + cancellation_text: "Keep variant" sort: pagination: total_html: "%{total}productsfound for your search criteria. Showing %{from}to%{to}." @@ -1631,9 +1646,15 @@ en_GB: index: title: "OIDC Settings" connect: "Connect Your Account" + disconnect: "Disconnect" + connected: "Your account is linked to %{uid}" les_communs_link: "Les Communs Open ID server" link_your_account: "You need first to link your account with the authorisation provider used by DFC (Les Communs Open ID Connect)." link_account_button: "Link your Les Communs OIDC Account" + note_expiry: | + Tokens to access connected apps have expired. Please refresh your account + connection to keep all integrations working. + refresh: "Refresh authorisation" view_account: "To view your account, see:" subscriptions: index: @@ -2176,6 +2197,7 @@ en_GB: order_back_to_website: Back To Website checkout_details_title: Checkout Details checkout_payment_title: Checkout Payment + checkout_summary_title: Checkout Summary bom_tip: "Use this page to alter product quantities across multiple orders. Products may also be removed from orders entirely, if required." unsaved_changes_warning: "Unsaved changes exist and will be lost if you continue." unsaved_changes_error: "Fields with red borders contain errors." @@ -3712,6 +3734,8 @@ en_GB: start_date: "Start date" successfully_removed: "Successfully Removed" taxonomy_edit: "Taxonomy edit" + taxonomy_tree_error: "There was an error updating the taxonomy tree." + taxonomy_tree_instruction: "Right-click on an item to add, rename, remove or edit." tree: "Tree" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" @@ -4006,6 +4030,9 @@ en_GB: add_product: cannot_add_item_to_canceled_order: "Cannot add item to canceled order" include_out_of_stock_variants: "Include variants with no available stock" + shipment: + mark_as_shipped_message_html: "This will mark the order as Shipped.
Are you sure you want to proceed?" + mark_as_shipped_label_message: "Send a shipment/pick up notification email to the customer." index: listing_orders: "Listing Orders" new_order: "New Order" @@ -4303,7 +4330,11 @@ en_GB: form: name: Name permalink: Permalink + meta_title: Meta Title + meta_description: Meta Description + meta_keywords: Meta Keywords description: Description + dfc_id: DFC URI general_settings: edit: legal_settings: "Legal Settings" @@ -4599,3 +4630,6 @@ en_GB: pagination: next: Next previous: Previous + invisible_captcha: + sentence_for_humans: "Please leave empty" + timestamp_error_message: "Please try again after 5 seconds." diff --git a/config/locales/en_IE.yml b/config/locales/en_IE.yml index 2ec7d875a2..7c62182967 100644 --- a/config/locales/en_IE.yml +++ b/config/locales/en_IE.yml @@ -51,6 +51,9 @@ en_IE: variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" unit_value: "Unit value" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" @@ -511,6 +514,7 @@ en_IE: name: Name unit_scale: Unit scale unit: Unit + unit_value: Unit value price: Price producer: Producer category: Category diff --git a/config/locales/en_IN.yml b/config/locales/en_IN.yml index e1101b2857..13d364e51d 100644 --- a/config/locales/en_IN.yml +++ b/config/locales/en_IN.yml @@ -32,6 +32,9 @@ en_IN: shipping_category_id: "Shipping Category" variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" diff --git a/config/locales/en_NZ.yml b/config/locales/en_NZ.yml index 765448476d..3db8487872 100644 --- a/config/locales/en_NZ.yml +++ b/config/locales/en_NZ.yml @@ -34,6 +34,9 @@ en_NZ: shipping_category_id: "Shipping Category" variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" diff --git a/config/locales/en_PH.yml b/config/locales/en_PH.yml index 2809b9821f..3650ec7522 100644 --- a/config/locales/en_PH.yml +++ b/config/locales/en_PH.yml @@ -32,6 +32,9 @@ en_PH: shipping_category_id: "Shipping Category" variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" diff --git a/config/locales/en_US.yml b/config/locales/en_US.yml index 5ef675891d..9e65d2b809 100644 --- a/config/locales/en_US.yml +++ b/config/locales/en_US.yml @@ -34,6 +34,9 @@ en_US: shipping_category_id: "Shipping Category" variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" diff --git a/config/locales/en_ZA.yml b/config/locales/en_ZA.yml index d9865ca8e6..f8918ca840 100644 --- a/config/locales/en_ZA.yml +++ b/config/locales/en_ZA.yml @@ -32,6 +32,9 @@ en_ZA: shipping_category_id: "Shipping Category" variant_unit: "Variant Unit" variant_unit_name: "Variant Unit Name" + spree/variant: + primary_taxon: "Product Category" + shipping_category_id: "Shipping Category" spree/credit_card: base: "Credit Card" number: "Number" diff --git a/config/locales/es.yml b/config/locales/es.yml index 7bb5c36599..844315285b 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -48,6 +48,9 @@ es: variant_unit: "Unidad Variante" variant_unit_name: "Nombre de la unidad de la variante" unit_value: "Valor unidad" + spree/variant: + primary_taxon: "categoría del producto" + shipping_category_id: "Categoría de envío" spree/credit_card: base: "Tarjeta de crédito" number: "Número" @@ -449,6 +452,7 @@ es: columns: name: Nombre unit: Unidad + unit_value: Valor unidad price: Precio producer: Productora category: Categoría diff --git a/config/locales/es_CO.yml b/config/locales/es_CO.yml index 8f0bc6c24e..df299aeab8 100644 --- a/config/locales/es_CO.yml +++ b/config/locales/es_CO.yml @@ -34,6 +34,9 @@ es_CO: shipping_category_id: "Categoría de envío" variant_unit: "Unidad Variante" variant_unit_name: "Nombre de la unidad de la variante" + spree/variant: + primary_taxon: "Categoría del producto" + shipping_category_id: "Categoría de envío" spree/credit_card: base: "Tarjeta de crédito" number: "Número" diff --git a/config/locales/es_CR.yml b/config/locales/es_CR.yml index 84817dcefc..d2e98b91ad 100644 --- a/config/locales/es_CR.yml +++ b/config/locales/es_CR.yml @@ -34,6 +34,9 @@ es_CR: shipping_category_id: "Categoría de envío" variant_unit: "Unidad Variante" variant_unit_name: "Nombre de la unidad de la variante" + spree/variant: + primary_taxon: "Categoría del producto" + shipping_category_id: "Categoría de envío" spree/credit_card: base: "Tarjeta de crédito" number: "Número" diff --git a/config/locales/es_US.yml b/config/locales/es_US.yml index 14ba901734..ee66c1af91 100644 --- a/config/locales/es_US.yml +++ b/config/locales/es_US.yml @@ -34,6 +34,9 @@ es_US: shipping_category_id: "Categoría de envío" variant_unit: "Unidad Variante" variant_unit_name: "Nombre de la unidad de la variante" + spree/variant: + primary_taxon: "categoría del producto" + shipping_category_id: "Categoría de envío" spree/credit_card: base: "Tarjeta de crédito" number: "Número" diff --git a/config/locales/fil_PH.yml b/config/locales/fil_PH.yml index 2399d5de45..002e334a38 100644 --- a/config/locales/fil_PH.yml +++ b/config/locales/fil_PH.yml @@ -32,6 +32,9 @@ fil_PH: shipping_category_id: "Kategorya ng Pagpapadala" variant_unit: "Yunit ng variant" variant_unit_name: "pangalan ng yunit ng variant" + spree/variant: + primary_taxon: "Kategorya ng Produkto" + shipping_category_id: "Kategorya ng Pagpapadala" spree/credit_card: base: "Credit Card" number: "Bilang" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 5a73d4ffa2..06ce890cd7 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -51,6 +51,9 @@ fr: variant_unit: "Unité" variant_unit_name: "Unité de la variante" unit_value: "Nb unités" + spree/variant: + primary_taxon: "Catégorie Produit" + shipping_category_id: "Condition de transport" spree/credit_card: base: "Carte de crédit" number: "N° commande" @@ -310,7 +313,7 @@ fr: email_registered: "va, dès que vous aurez choisi un type d'entreprise, être créé sur" email_userguide_html: "Le Guide Utilisateur est là pour vous accompagner dans la prise en main de la plateforme. Vous y trouverez les informations détaillées de paramétrage de votre entreprise, de vos produits si vous êtes producteur, et éventuellement de votre boutique. Pour accéder au guide en français, cliquez ici : %{link}" userguide: "Guide utilisateur" - email_admin_html: "Pour gérer votre entreprise, rendez-vous sur l’%{link}. Si vous choisissez CoopCircuits pour organiser vos ventes, l’utilisation est gratuite les 3 premiers mois après la première vente pour vous permettre de tester notre solution. Vous pouvez faire des \"vraies commandes\" pour tester à condition de les annuler juste après pour ne pas démarrer les 3 mois. Consultez la rubrique \"Nos offres & tarifs\" du site internet pour en connaitre les détails." + email_admin_html: "Pour gérer votre entreprise, rendez-vous sur l’%{link}. Si vous choisissez CoopCircuits pour organiser vos ventes, l’utilisation est gratuite les 3 premiers mois après la première vente pour vous permettre de tester notre solution. Vous pouvez faire des \"vraies commandes\" pour tester à condition de les annuler juste après pour ne pas démarrer les 3 mois. Consultez la rubrique \"Nos offres & tarifs\" du site internet pour en connaître les détails." admin_panel: "interface d'administration" email_community_html: "Nous avons aussi un forum de discussion en ligne pour échanger avec la communauté sur des questions liées à la plateforme ou aux défis de la gestion d'un circuit court. Nous vous invitons à y participer ! %{link}\nSi vous avez besoin d'aide,  nous proposons des démonstrations hebdomadaires en visio, où nous vous présentons la coopérative CoopCircuits, et vous donnons tous les trucs et astuces sur l'outil et ses fonctionnalités. Inscrivez-vous via le lien présent sur la page Aide&FAQ de notre site.\nSi vous préférez un rdv individuel - par téléphone ou visio - n'hésitez-pas à nous proposer un créneau pour vous rappeler \U0001F917" join_community: "Accéder au forum" @@ -510,6 +513,8 @@ fr: name: Nom unit_scale: Échelle d'unité unit: Unité + unit_value: Nb unités + display_as: 'Afficher l''unité en ' price: Prix producer: Producteur category: Catégorie @@ -1163,7 +1168,7 @@ fr: Vous pouvez indiquer ici un message de bienvenue ou un message expliquant les particularités de votre boutique. Ce message s'affiche dans l'onglet Accueil de votre boutique. Si aucun message n'est affiché, l'onglet - Accueil n'apparaitra pas. + Accueil n’apparaîtra pas. shopfront_message_link_tooltip: "Insérer / modifier un lien" shopfront_message_link_prompt: "Veuillez entrer l'URL à insérer" shopfront_closed_message: "Message d'accueil ventes terminées" @@ -1197,7 +1202,7 @@ fr: disconnect: "Déconnecter le compte" confirm_modal: title: Connecter avec Stripe - part1: Stripe est un système de paiement qui permet aux boutiques sur CoopCircuits d'accepter des paiements par carte bancaire de leurs acheteurs. + part1: Stripe est un système de paiement en ligne qui permet aux boutiques sur CoopCircuits d'accepter des paiements par carte bancaire de leurs acheteurs. part2: Pour utiliser cette fonctionnalité, vous devez connecter votre compte Stripe à CoopCircuits. En cliquant sur "J'accepte" ci-dessous, vous serez redirigé vers le site internet de Stripe, où vous pourrez connecter votre compte existant ou en créer un si vous n'en avez pas encore. part3: Cela permettra à CoopCircuits d'accepter en votre nom les paiements par carte de crédit en provenance de vos acheteurs. Veuillez noter que c'est à vous de gérer votre compte Stripe, de payer les frais dus à Stripe et de gérer les éventuels remboursements et le service après vente. i_agree: J'accepte @@ -3656,7 +3661,7 @@ fr: bulk_coop: filters: bulk_coop_allocation: "Achats groupés Allocation" - bulk_coop_customer_payments: "Achats groupés - Paiement des acheteurs" + bulk_coop_customer_payments: "Achats groupés - Paiements des acheteurs" bulk_coop_packing_sheets: "Achats groupés - Feuilles de préparation des paniers" bulk_coop_supplier_report: "Achats groupés - Totaux par Producteur" enterprise_fee_summaries: diff --git a/config/locales/fr_BE.yml b/config/locales/fr_BE.yml index 26a6f97f4f..76840b3554 100644 --- a/config/locales/fr_BE.yml +++ b/config/locales/fr_BE.yml @@ -48,6 +48,9 @@ fr_BE: variant_unit: "Unité de variante" variant_unit_name: "Nom de la variante" unit_value: "Valeur unitaire" + spree/variant: + primary_taxon: "Catégorie de Produit" + shipping_category_id: "Catégorie de livraison" spree/credit_card: base: "Carte de crédit" number: "N° commande" @@ -438,6 +441,7 @@ fr_BE: columns: name: Nom unit: Unité + unit_value: Valeur unitaire price: Prix producer: Producteur·trice category: Catégorie diff --git a/config/locales/fr_CA.yml b/config/locales/fr_CA.yml index c40bcf4646..5774c8b6ff 100644 --- a/config/locales/fr_CA.yml +++ b/config/locales/fr_CA.yml @@ -48,6 +48,9 @@ fr_CA: variant_unit: "Unité" variant_unit_name: "Unité de la variante" unit_value: "Nb unités" + spree/variant: + primary_taxon: "Catégorie Produit" + shipping_category_id: "Condition de transport" spree/credit_card: base: "Carte de crédit" number: "N° commande" @@ -498,6 +501,7 @@ fr_CA: columns: name: Nom unit: Unité + unit_value: Nb unités price: Prix producer: Producteur category: Catégorie diff --git a/config/locales/fr_CH.yml b/config/locales/fr_CH.yml index a17ba60ecd..2469ee857c 100644 --- a/config/locales/fr_CH.yml +++ b/config/locales/fr_CH.yml @@ -34,6 +34,9 @@ fr_CH: shipping_category_id: "Condition de transport" variant_unit: "Unité" variant_unit_name: "Unité de la variante" + spree/variant: + primary_taxon: "Catégorie Produit" + shipping_category_id: "Condition de transport" spree/credit_card: base: "Carte de crédit" number: "N° commande" diff --git a/config/locales/fr_CM.yml b/config/locales/fr_CM.yml index 13ba93bf9d..99f8af1b39 100644 --- a/config/locales/fr_CM.yml +++ b/config/locales/fr_CM.yml @@ -34,6 +34,9 @@ fr_CM: shipping_category_id: "Condition de transport" variant_unit: "Unité" variant_unit_name: "Unité de la variante" + spree/variant: + primary_taxon: "Catégorie Produit" + shipping_category_id: "Condition de transport" spree/credit_card: base: "Carte de crédit" number: "N° commande" diff --git a/config/locales/hi.yml b/config/locales/hi.yml index cf84a4eaa9..68e6d88756 100644 --- a/config/locales/hi.yml +++ b/config/locales/hi.yml @@ -51,6 +51,9 @@ hi: variant_unit: "वेरिएंट यूनिट" variant_unit_name: "वेरिएंट यूनिट का नाम" unit_value: "यूनिट वैल्यू" + spree/variant: + primary_taxon: "उत्पाद की श्रेणी" + shipping_category_id: "शिपिंग श्रेणी" spree/credit_card: base: "क्रेडिट कार्ड" number: "नंबर" @@ -505,6 +508,7 @@ hi: columns: name: नाम unit: यूनिट + unit_value: यूनिट वैल्यू price: कीमत producer: उत्पादक category: श्रेणी diff --git a/config/locales/hu.yml b/config/locales/hu.yml index a6ef6eb41e..d5107799e0 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -48,6 +48,9 @@ hu: variant_unit: "Változatos egység" variant_unit_name: "Változat egység neve" unit_value: "Egység értéke" + spree/variant: + primary_taxon: "Termékkategória" + shipping_category_id: "Szállítási mód" spree/credit_card: base: "Hitelkártya" number: "Szám" @@ -445,6 +448,7 @@ hu: columns: name: Név unit: Mértékegység + unit_value: Egység értéke price: Ár producer: Termelő category: Kategória diff --git a/config/locales/it.yml b/config/locales/it.yml index 12e29ab077..d018c43a57 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -48,6 +48,9 @@ it: variant_unit: "Unità Variante" variant_unit_name: "Nome Unità Variante" unit_value: "Valore unità" + spree/variant: + primary_taxon: "Categoria Prodotto" + shipping_category_id: "Categoria Spedizioni" spree/credit_card: base: "Carta di Credito" number: "Numero" @@ -469,6 +472,7 @@ it: columns: name: Nome unit: Unità + unit_value: Valore unità price: Prezzo producer: Produttore category: Categoria diff --git a/config/locales/it_CH.yml b/config/locales/it_CH.yml index 6341d5b4a0..89902806e6 100644 --- a/config/locales/it_CH.yml +++ b/config/locales/it_CH.yml @@ -34,6 +34,9 @@ it_CH: shipping_category_id: "Categoria Spedizioni" variant_unit: "Unità Variante" variant_unit_name: "Nome Unità Variante" + spree/variant: + primary_taxon: "Categoria prodotto" + shipping_category_id: "Categoria Spedizioni" spree/credit_card: base: "Carta di Credito" number: "Numero" diff --git a/config/locales/ko.yml b/config/locales/ko.yml index e70899ed8e..8b925cd463 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -34,6 +34,9 @@ ko: shipping_category_id: "전송물품 목록" variant_unit: "구성 단위 변경" variant_unit_name: "변경된 구성 단위 이름" + spree/variant: + primary_taxon: "물품 목록" + shipping_category_id: "전송물품 목록" spree/credit_card: base: "신용카드" number: "숫자" diff --git a/config/locales/ml.yml b/config/locales/ml.yml index 78d98f1fa5..569214336f 100644 --- a/config/locales/ml.yml +++ b/config/locales/ml.yml @@ -51,6 +51,9 @@ ml: variant_unit: "വേരിയന്റ് യൂണിറ്റ്" variant_unit_name: "വേരിയന്റ് യൂണിറ്റിന്റെ പേര്" unit_value: "യൂണിറ്റ് മൂല്യം" + spree/variant: + primary_taxon: "ഉൽപ്പന്ന വിഭാഗം" + shipping_category_id: "അയക്കൽ വിഭാഗം" spree/credit_card: base: "ക്രെഡിറ്റ് കാർഡ്" number: "നമ്പർ" @@ -505,6 +508,7 @@ ml: columns: name: പേര് unit: യൂണിറ്റ് + unit_value: യൂണിറ്റ് മൂല്യം price: വില producer: പ്രൊഡ്യൂസർ category: വിഭാഗം diff --git a/config/locales/mr.yml b/config/locales/mr.yml index 1c09d8dfb1..82c942a919 100644 --- a/config/locales/mr.yml +++ b/config/locales/mr.yml @@ -51,6 +51,9 @@ mr: variant_unit: "व्हेरिएंट युनिट" variant_unit_name: "वेरिएंट युनिटचे नाव" unit_value: "युनिट मूल्य" + spree/variant: + primary_taxon: "उत्पादन श्रेणी" + shipping_category_id: "शिपिंग श्रेणी" spree/credit_card: base: "क्रेडीट कार्ड" number: "क्रमांक" @@ -505,6 +508,7 @@ mr: columns: name: नाव unit: युनिट + unit_value: युनिट मूल्य price: किंमत producer: उत्पादक category: श्रेणी diff --git a/config/locales/nb.yml b/config/locales/nb.yml index 3b4c61176c..8a6df19b49 100644 --- a/config/locales/nb.yml +++ b/config/locales/nb.yml @@ -51,6 +51,9 @@ nb: variant_unit: "Variant Enhet" variant_unit_name: "Enhetsnavn Variant" unit_value: "Enhetsverdi" + spree/variant: + primary_taxon: "Produktkategori" + shipping_category_id: "Leveringskategori" spree/credit_card: base: "Kredittkort" number: "Antall" @@ -510,6 +513,7 @@ nb: columns: name: Navn unit: Enhet + unit_value: Enhetsverdi price: Pris producer: Produsent category: Kategori diff --git a/config/locales/nl_BE.yml b/config/locales/nl_BE.yml index 190328f301..a2f751a224 100644 --- a/config/locales/nl_BE.yml +++ b/config/locales/nl_BE.yml @@ -34,6 +34,9 @@ nl_BE: shipping_category_id: "Verzendcategorie" variant_unit: "Eénheid" variant_unit_name: "Variant Unit Name" + spree/variant: + primary_taxon: "Product categorie" + shipping_category_id: "Verzendcategorie" spree/credit_card: base: "Kredietkaart" number: "Nummer" diff --git a/config/locales/pa.yml b/config/locales/pa.yml index 7f8357ae48..3cf84df5f6 100644 --- a/config/locales/pa.yml +++ b/config/locales/pa.yml @@ -48,6 +48,9 @@ pa: variant_unit: "ਵੇਰੀਐਂਟ ਯੂਨਿਟ" variant_unit_name: "ਵੇਰੀਐਂਟ ਯੂਨਿਟ ਦਾ ਨਾਮ" unit_value: "ਯੂਨਿਟ ਵੈਲਯੂ" + spree/variant: + primary_taxon: "ਉਤਪਾਦ ਸ਼੍ਰੇਣੀ" + shipping_category_id: "ਸ਼ਿਪਿੰਗ ਸ਼੍ਰੇਣੀ" spree/credit_card: base: "ਕਰੇਡਿਟ ਕਾਰਡ" number: "ਨੰਬਰ" @@ -498,6 +501,7 @@ pa: columns: name: ਨਾਮ unit: ਯੂਨਿਟ + unit_value: ਯੂਨਿਟ ਵੈਲਯੂ price: ਕੀਮਤ producer: ਉਤਪਾਦਕ category: ਸ਼੍ਰੇਣੀ diff --git a/config/locales/pl.yml b/config/locales/pl.yml index da83204552..7bcec92c2f 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -29,6 +29,9 @@ pl: shipping_category_id: "Kategoria dostawy" variant_unit: "Jednostka wariantu" variant_unit_name: "Nazwa jednostki wariantu" + spree/variant: + primary_taxon: "Kategoria produktu" + shipping_category_id: "Kategoria dostawy" spree/credit_card: base: "Karta kredytowa" number: "Numer zamówienia" diff --git a/config/locales/pt.yml b/config/locales/pt.yml index 373e6e7e20..c68932bc33 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -34,6 +34,9 @@ pt: shipping_category_id: "Categoria de Envio" variant_unit: "Unidade da Variante" variant_unit_name: "Nome da Unidade da Variante" + spree/variant: + primary_taxon: "Categoria de Produto" + shipping_category_id: "Categoria de Envio" spree/credit_card: base: "Cartão de Crédito" number: "Número" diff --git a/config/locales/pt_BR.yml b/config/locales/pt_BR.yml index 15b76c6656..538e9b0b38 100644 --- a/config/locales/pt_BR.yml +++ b/config/locales/pt_BR.yml @@ -32,6 +32,9 @@ pt_BR: shipping_category_id: "Tipos de Frete" variant_unit: "Unidade variante" variant_unit_name: "Nome da unidade variante" + spree/variant: + primary_taxon: "Categoria de Produto" + shipping_category_id: "Tipos de Frete" spree/credit_card: base: "Cartão de Crédito" number: "Número" diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 76583ce5fa..175c49a271 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -51,6 +51,9 @@ ru: variant_unit: "Единица Варианта" variant_unit_name: "Название Единицы Варианта" unit_value: "Значение товара" + spree/variant: + primary_taxon: "Категория Товара" + shipping_category_id: "Категория Доставки" spree/credit_card: base: "Кредитная Карта" number: "Номер" @@ -512,6 +515,7 @@ ru: name: Название unit_scale: Единицы unit: Единица измерения + unit_value: Значение товара price: Цена producer: Производитель category: Категория diff --git a/config/locales/tr.yml b/config/locales/tr.yml index ce3b8ba33e..f2416934ea 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -34,6 +34,9 @@ tr: shipping_category_id: "TESLİMAT KATEGORİSİ" variant_unit: "Çeşit Birimi" variant_unit_name: "Çeşit Birim Adı" + spree/variant: + primary_taxon: "ÜRÜN KATEGORİSİ" + shipping_category_id: "TESLİMAT KATEGORİSİ" spree/credit_card: base: "Kredİ kartı" number: "Numara" diff --git a/config/locales/uk.yml b/config/locales/uk.yml index 85e80e55dd..5cc77b2c80 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -34,6 +34,9 @@ uk: shipping_category_id: "Категорія доставки" variant_unit: "Варіант одиниці" variant_unit_name: "Назва варіанта одиниці" + spree/variant: + primary_taxon: "Категорія товару" + shipping_category_id: "Категорія доставки" spree/credit_card: base: "Кредитна картка" number: "Номер" From 4db5aa593f16cf6345468f40cafdedcf03ab4cc3 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 4 Apr 2024 09:36:41 +1100 Subject: [PATCH 248/374] Regenerate rubocop todo --- .rubocop_todo.yml | 220 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 219 insertions(+), 1 deletion(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 80de3c4a6e..3e274bdd4b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -390,6 +390,224 @@ Naming/VariableNumber: - 'spec/models/spree/tax_rate_spec.rb' - 'spec/requests/api/orders_spec.rb' +# Offense count: 142 +# This cop supports unsafe autocorrection (--autocorrect-all). +# Configuration parameters: ResponseMethods. +# ResponseMethods: response, last_response +RSpecRails/HaveHttpStatus: + Exclude: + - 'spec/controllers/admin/bulk_line_items_controller_spec.rb' + - 'spec/controllers/admin/order_cycles_controller_spec.rb' + - 'spec/controllers/admin/subscriptions_controller_spec.rb' + - 'spec/controllers/api/v0/base_controller_spec.rb' + - 'spec/controllers/api/v0/customers_controller_spec.rb' + - 'spec/controllers/api/v0/enterprises_controller_spec.rb' + - 'spec/controllers/api/v0/logos_controller_spec.rb' + - 'spec/controllers/api/v0/order_cycles_controller_spec.rb' + - 'spec/controllers/api/v0/orders_controller_spec.rb' + - 'spec/controllers/api/v0/product_images_controller_spec.rb' + - 'spec/controllers/api/v0/products_controller_spec.rb' + - 'spec/controllers/api/v0/promo_images_controller_spec.rb' + - 'spec/controllers/api/v0/reports/packing_report_spec.rb' + - 'spec/controllers/api/v0/reports_controller_spec.rb' + - 'spec/controllers/api/v0/shipments_controller_spec.rb' + - 'spec/controllers/api/v0/statuses_controller_spec.rb' + - 'spec/controllers/api/v0/taxons_controller_spec.rb' + - 'spec/controllers/api/v0/terms_and_conditions_controller_spec.rb' + - 'spec/controllers/api/v0/variants_controller_spec.rb' + - 'spec/controllers/cart_controller_spec.rb' + - 'spec/controllers/checkout_controller_spec.rb' + - 'spec/controllers/enterprises_controller_spec.rb' + - 'spec/controllers/line_items_controller_spec.rb' + - 'spec/controllers/shop_controller_spec.rb' + - 'spec/controllers/spree/admin/orders/payments/payments_controller_spec.rb' + - 'spec/controllers/spree/admin/orders_controller_spec.rb' + - 'spec/controllers/spree/admin/products_controller_spec.rb' + - 'spec/controllers/spree/credit_cards_controller_spec.rb' + - 'spec/controllers/spree/orders_controller_spec.rb' + - 'spec/controllers/stripe/callbacks_controller_spec.rb' + - 'spec/controllers/stripe/webhooks_controller_spec.rb' + - 'spec/controllers/user_passwords_controller_spec.rb' + - 'spec/controllers/user_registrations_controller_spec.rb' + - 'spec/requests/admin/images_spec.rb' + - 'spec/requests/api/routes_spec.rb' + - 'spec/requests/checkout/failed_checkout_spec.rb' + - 'spec/requests/checkout/stripe_sca_spec.rb' + - 'spec/requests/home_controller_spec.rb' + - 'spec/requests/omniauth_callbacks_controller_spec.rb' + - 'spec/services/embedded_page_service_spec.rb' + - 'spec/support/api_helper.rb' + +# Offense count: 8 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: EnforcedStyle. +# SupportedStyles: numeric, symbolic, be_status +RSpecRails/HttpStatus: + Exclude: + - 'spec/controllers/spree/admin/products_controller_spec.rb' + - 'spec/requests/api/orders_spec.rb' + +# Offense count: 146 +# This cop supports unsafe autocorrection (--autocorrect-all). +# Configuration parameters: Inferences. +RSpecRails/InferredSpecType: + Exclude: + - 'engines/dfc_provider/spec/requests/addresses_spec.rb' + - 'engines/dfc_provider/spec/requests/catalog_items_spec.rb' + - 'engines/dfc_provider/spec/requests/enterprise_groups/affiliated_by_spec.rb' + - 'engines/dfc_provider/spec/requests/enterprise_groups_spec.rb' + - 'engines/dfc_provider/spec/requests/enterprises_spec.rb' + - 'engines/dfc_provider/spec/requests/offers_spec.rb' + - 'engines/dfc_provider/spec/requests/persons_spec.rb' + - 'engines/dfc_provider/spec/requests/social_medias_spec.rb' + - 'engines/dfc_provider/spec/requests/supplied_products_spec.rb' + - 'engines/web/spec/helpers/cookies_policy_helper_spec.rb' + - 'spec/controllers/admin/bulk_line_items_controller_spec.rb' + - 'spec/controllers/admin/column_preferences_controller_spec.rb' + - 'spec/controllers/admin/customers_controller_spec.rb' + - 'spec/controllers/admin/enterprises_controller_spec.rb' + - 'spec/controllers/admin/inventory_items_controller_spec.rb' + - 'spec/controllers/admin/invoice_settings_controller_spec.rb' + - 'spec/controllers/admin/matomo_settings_controller_spec.rb' + - 'spec/controllers/admin/order_cycles_controller_spec.rb' + - 'spec/controllers/admin/product_import_controller_spec.rb' + - 'spec/controllers/admin/proxy_orders_controller_spec.rb' + - 'spec/controllers/admin/reports_controller_spec.rb' + - 'spec/controllers/admin/schedules_controller_spec.rb' + - 'spec/controllers/admin/stripe_accounts_controller_spec.rb' + - 'spec/controllers/admin/stripe_connect_settings_controller_spec.rb' + - 'spec/controllers/admin/subscription_line_items_controller_spec.rb' + - 'spec/controllers/admin/subscriptions_controller_spec.rb' + - 'spec/controllers/admin/tag_rules_controller_spec.rb' + - 'spec/controllers/admin/terms_of_service_files_controller_spec.rb' + - 'spec/controllers/admin/variant_overrides_controller_spec.rb' + - 'spec/controllers/api/v0/customers_controller_spec.rb' + - 'spec/controllers/api/v0/enterprise_fees_controller_spec.rb' + - 'spec/controllers/api/v0/enterprises_controller_spec.rb' + - 'spec/controllers/api/v0/exchange_products_controller_spec.rb' + - 'spec/controllers/api/v0/logos_controller_spec.rb' + - 'spec/controllers/api/v0/order_cycles_controller_spec.rb' + - 'spec/controllers/api/v0/orders_controller_spec.rb' + - 'spec/controllers/api/v0/product_images_controller_spec.rb' + - 'spec/controllers/api/v0/products_controller_spec.rb' + - 'spec/controllers/api/v0/promo_images_controller_spec.rb' + - 'spec/controllers/api/v0/reports/packing_report_spec.rb' + - 'spec/controllers/api/v0/reports_controller_spec.rb' + - 'spec/controllers/api/v0/shipments_controller_spec.rb' + - 'spec/controllers/api/v0/shops_controller_spec.rb' + - 'spec/controllers/api/v0/statuses_controller_spec.rb' + - 'spec/controllers/api/v0/terms_and_conditions_controller_spec.rb' + - 'spec/controllers/api/v0/variants_controller_spec.rb' + - 'spec/controllers/base_controller_spec.rb' + - 'spec/controllers/cart_controller_spec.rb' + - 'spec/controllers/checkout_controller_spec.rb' + - 'spec/controllers/enterprises_controller_spec.rb' + - 'spec/controllers/groups_controller_spec.rb' + - 'spec/controllers/line_items_controller_spec.rb' + - 'spec/controllers/payment_gateways/paypal_controller_spec.rb' + - 'spec/controllers/payment_gateways/stripe_controller_spec.rb' + - 'spec/controllers/registration_controller_spec.rb' + - 'spec/controllers/shop_controller_spec.rb' + - 'spec/controllers/shops_controller_spec.rb' + - 'spec/controllers/spree/admin/adjustments_controller_spec.rb' + - 'spec/controllers/spree/admin/base_controller_spec.rb' + - 'spec/controllers/spree/admin/countries_controller_spec.rb' + - 'spec/controllers/spree/admin/general_settings_controller_spec.rb' + - 'spec/controllers/spree/admin/orders/customer_details_controller_spec.rb' + - 'spec/controllers/spree/admin/orders/invoices_spec.rb' + - 'spec/controllers/spree/admin/orders/payments/payments_controller_refunds_spec.rb' + - 'spec/controllers/spree/admin/orders/payments/payments_controller_spec.rb' + - 'spec/controllers/spree/admin/orders_controller_spec.rb' + - 'spec/controllers/spree/admin/overview_controller_spec.rb' + - 'spec/controllers/spree/admin/payment_methods_controller_spec.rb' + - 'spec/controllers/spree/admin/products_controller_spec.rb' + - 'spec/controllers/spree/admin/return_authorizations_controller_spec.rb' + - 'spec/controllers/spree/admin/search_controller_spec.rb' + - 'spec/controllers/spree/admin/shipping_categories_controller_spec.rb' + - 'spec/controllers/spree/admin/shipping_methods_controller_spec.rb' + - 'spec/controllers/spree/admin/tax_rates_controller_spec.rb' + - 'spec/controllers/spree/admin/tax_settings_controller_spec.rb' + - 'spec/controllers/spree/admin/variants_controller_spec.rb' + - 'spec/controllers/spree/api_keys_controller_spec.rb' + - 'spec/controllers/spree/credit_cards_controller_spec.rb' + - 'spec/controllers/spree/orders_controller_spec.rb' + - 'spec/controllers/spree/user_sessions_controller_spec.rb' + - 'spec/controllers/spree/users_controller_spec.rb' + - 'spec/controllers/stripe/callbacks_controller_spec.rb' + - 'spec/controllers/stripe/webhooks_controller_spec.rb' + - 'spec/controllers/user_confirmations_controller_spec.rb' + - 'spec/controllers/user_passwords_controller_spec.rb' + - 'spec/controllers/user_registrations_controller_spec.rb' + - 'spec/controllers/webhook_endpoints_controller_spec.rb' + - 'spec/helpers/admin/enterprises_helper_spec.rb' + - 'spec/helpers/admin/orders_helper_spec.rb' + - 'spec/helpers/admin/reports_helper_spec.rb' + - 'spec/helpers/admin/subscriptions_helper_spec.rb' + - 'spec/helpers/application_helper_spec.rb' + - 'spec/helpers/checkout_helper_spec.rb' + - 'spec/helpers/i18n_helper_spec.rb' + - 'spec/helpers/injection_helper_spec.rb' + - 'spec/helpers/link_helper_spec.rb' + - 'spec/helpers/navigation_helper_spec.rb' + - 'spec/helpers/order_cycles_helper_spec.rb' + - 'spec/helpers/serializer_helper_spec.rb' + - 'spec/helpers/shared_helper_spec.rb' + - 'spec/helpers/shop_helper_spec.rb' + - 'spec/helpers/spree/admin/base_helper_spec.rb' + - 'spec/helpers/spree/admin/general_settings_helper_spec.rb' + - 'spec/helpers/spree/admin/orders_helper_spec.rb' + - 'spec/helpers/spree/orders_helper_spec.rb' + - 'spec/helpers/tax_helper_spec.rb' + - 'spec/helpers/terms_and_conditions_helper_spec.rb' + - 'spec/jobs/connect_app_job_spec.rb' + - 'spec/mailers/producer_mailer_spec.rb' + - 'spec/mailers/subscription_mailer_spec.rb' + - 'spec/models/column_preference_spec.rb' + - 'spec/models/connected_app_spec.rb' + - 'spec/models/customer_spec.rb' + - 'spec/models/invoice_spec.rb' + - 'spec/models/oidc_account_spec.rb' + - 'spec/models/proxy_order_spec.rb' + - 'spec/models/report_blob_spec.rb' + - 'spec/models/semantic_link_spec.rb' + - 'spec/models/spree/gateway/stripe_sca_spec.rb' + - 'spec/models/subscription_spec.rb' + - 'spec/models/tag_rule/filter_order_cycles_spec.rb' + - 'spec/models/tag_rule/filter_payment_methods_spec.rb' + - 'spec/models/tag_rule/filter_products_spec.rb' + - 'spec/models/tag_rule/filter_shipping_methods_spec.rb' + - 'spec/models/tag_rule_spec.rb' + - 'spec/models/webhook_endpoint_spec.rb' + - 'spec/requests/admin/images_spec.rb' + - 'spec/requests/admin/product_import_spec.rb' + - 'spec/requests/admin/vouchers_spec.rb' + - 'spec/requests/api/orders_spec.rb' + - 'spec/requests/api/routes_spec.rb' + - 'spec/requests/api/v1/customers_spec.rb' + - 'spec/requests/api_docs_spec.rb' + - 'spec/requests/checkout/failed_checkout_spec.rb' + - 'spec/requests/checkout/paypal_spec.rb' + - 'spec/requests/checkout/routes_spec.rb' + - 'spec/requests/checkout/stripe_sca_spec.rb' + - 'spec/requests/errors_spec.rb' + - 'spec/requests/home_controller_spec.rb' + - 'spec/requests/large_request_spec.rb' + - 'spec/requests/omniauth_callbacks_controller_spec.rb' + - 'spec/requests/spree/admin/overview_spec.rb' + - 'spec/requests/spree/admin/payments_spec.rb' + - 'spec/requests/voucher_adjustments_spec.rb' + - 'spec/routing/stripe_spec.rb' + +# Offense count: 14 +# This cop supports unsafe autocorrection (--autocorrect-all). +# Configuration parameters: EnforcedStyle. +# SupportedStyles: not_to, be_invalid +RSpecRails/NegationBeValid: + Exclude: + - 'spec/models/enterprise_spec.rb' + - 'spec/models/spree/product_spec.rb' + - 'spec/models/spree/variant_spec.rb' + # Offense count: 11 # Configuration parameters: Include. # Include: app/models/**/*.rb @@ -547,7 +765,7 @@ Rails/RelativeDateConstant: Exclude: - 'lib/tasks/data/remove_transient_data.rb' -# Offense count: 58 +# Offense count: 56 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Include. # Include: spec/controllers/**/*.rb, spec/requests/**/*.rb, test/controllers/**/*.rb, test/integration/**/*.rb From 6cff5c81fe92e24d0b901387bdff1eabb4929d07 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 4 Apr 2024 09:41:05 +1100 Subject: [PATCH 249/374] Fix RSpecRails/NegationBeValid Another cop that only supports not_to instead of to_not. --- .rubocop_todo.yml | 10 ---------- spec/models/enterprise_spec.rb | 22 +++++++++++----------- spec/models/spree/product_spec.rb | 2 +- spec/models/spree/variant_spec.rb | 4 ++-- 4 files changed, 14 insertions(+), 24 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 3e274bdd4b..dfc1120676 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -598,16 +598,6 @@ RSpecRails/InferredSpecType: - 'spec/requests/voucher_adjustments_spec.rb' - 'spec/routing/stripe_spec.rb' -# Offense count: 14 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: not_to, be_invalid -RSpecRails/NegationBeValid: - Exclude: - - 'spec/models/enterprise_spec.rb' - - 'spec/models/spree/product_spec.rb' - - 'spec/models/spree/variant_spec.rb' - # Offense count: 11 # Configuration parameters: Include. # Include: app/models/**/*.rb diff --git a/spec/models/enterprise_spec.rb b/spec/models/enterprise_spec.rb index 8c79d69987..e764c9da73 100644 --- a/spec/models/enterprise_spec.rb +++ b/spec/models/enterprise_spec.rb @@ -260,18 +260,18 @@ describe Enterprise do it "commas at the beginning and end are disallowed" do enterprise = build(:enterprise, preferred_shopfront_taxon_order: ",1,2,3") - expect(enterprise).to be_invalid + expect(enterprise).not_to be_valid enterprise = build(:enterprise, preferred_shopfront_taxon_order: "1,2,3,") - expect(enterprise).to be_invalid + expect(enterprise).not_to be_valid end it "any other characters are invalid" do enterprise = build(:enterprise, preferred_shopfront_taxon_order: "a1,2,3") - expect(enterprise).to be_invalid + expect(enterprise).not_to be_valid enterprise = build(:enterprise, preferred_shopfront_taxon_order: ".1,2,3") - expect(enterprise).to be_invalid + expect(enterprise).not_to be_valid enterprise = build(:enterprise, preferred_shopfront_taxon_order: " 1,2,3") - expect(enterprise).to be_invalid + expect(enterprise).not_to be_valid end end @@ -295,18 +295,18 @@ describe Enterprise do it "commas at the beginning and end are disallowed" do enterprise = build(:enterprise, preferred_shopfront_producer_order: ",1,2,3") - expect(enterprise).to be_invalid + expect(enterprise).not_to be_valid enterprise = build(:enterprise, preferred_shopfront_producer_order: "1,2,3,") - expect(enterprise).to be_invalid + expect(enterprise).not_to be_valid end it "any other characters are invalid" do enterprise = build(:enterprise, preferred_shopfront_producer_order: "a1,2,3") - expect(enterprise).to be_invalid + expect(enterprise).not_to be_valid enterprise = build(:enterprise, preferred_shopfront_producer_order: ".1,2,3") - expect(enterprise).to be_invalid + expect(enterprise).not_to be_valid enterprise = build(:enterprise, preferred_shopfront_producer_order: " 1,2,3") - expect(enterprise).to be_invalid + expect(enterprise).not_to be_valid end end @@ -336,7 +336,7 @@ describe Enterprise do it "does not validate if URL is invalid and can't be infered" do e = build(:enterprise, white_label_logo_link: 'with spaces') - expect(e).to be_invalid + expect(e).not_to be_valid end end end diff --git a/spec/models/spree/product_spec.rb b/spec/models/spree/product_spec.rb index 49fc233147..d23ba61fbe 100644 --- a/spec/models/spree/product_spec.rb +++ b/spec/models/spree/product_spec.rb @@ -276,7 +276,7 @@ module Spree product.variant_unit_name = nil product.variant_unit_scale = nil - expect(product).to be_invalid + expect(product).not_to be_valid end it "requires a unit scale when variant unit is weight" do diff --git a/spec/models/spree/variant_spec.rb b/spec/models/spree/variant_spec.rb index 696b4822d7..aec627bf71 100644 --- a/spec/models/spree/variant_spec.rb +++ b/spec/models/spree/variant_spec.rb @@ -11,7 +11,7 @@ describe Spree::Variant do context "validations" do it "should validate price is greater than 0" do variant.price = -1 - expect(variant).to be_invalid + expect(variant).not_to be_valid end it "should validate price is 0" do @@ -21,7 +21,7 @@ describe Spree::Variant do it "should validate unit_value is greater than 0" do variant.unit_value = 0 - expect(variant).to be_invalid + expect(variant).not_to be_valid end describe "tax category" do From 0887f0676f97c7393c0dd6ebf8a17d4bccc22fce Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Thu, 4 Apr 2024 06:06:23 +0500 Subject: [PATCH 250/374] 12294 - Fix Wrong Tax Category Display - Only display the tax_category name if the tax_category_id is present - tax_category is overriden in the variant model - if tax category is not present, then return the default tax category --- app/views/admin/products_v3/_variant_row.html.haml | 2 +- config/locales/en.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index 77af4ee424..97646ec1ba 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -44,7 +44,7 @@ %td.align-left .content= variant.primary_taxon&.name %td.align-left - .content= variant.tax_category&.name || "None" # TODO: convert to dropdown, else translate hardcoded string. + .content= (variant.tax_category_id ? variant.tax_category&.name : t('.none_tax_category')) # TODO: convert to dropdown %td.align-left -# empty %td.align-right diff --git a/config/locales/en.yml b/config/locales/en.yml index efb8d01f37..b19ece15c6 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -897,6 +897,8 @@ en: delete_variant: success: Successfully deleted the variant error: Unable to delete the variant + variant_row: + none_tax_category: None product_import: title: Product Import file_not_found: File not found or could not be opened From 94d08c6b913da340180cdde0cfd364349c25d264 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 09:51:36 +0000 Subject: [PATCH 251/374] chore(deps): bump json from 2.7.1 to 2.7.2 Bumps [json](https://github.com/flori/json) from 2.7.1 to 2.7.2. - [Release notes](https://github.com/flori/json/releases) - [Changelog](https://github.com/flori/json/blob/master/CHANGES.md) - [Commits](https://github.com/flori/json/compare/v2.7.1...v2.7.2) --- updated-dependencies: - dependency-name: json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 21f2358444..76a0c1adec 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -359,7 +359,7 @@ GEM thor (>= 0.14, < 2.0) jquery-ui-rails (4.2.1) railties (>= 3.2.16) - json (2.7.1) + json (2.7.2) json-canonicalization (1.0.0) json-jwt (1.16.6) activesupport (>= 4.2) From 84747ea064f11460057f34d359dc84843bbb23a5 Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Thu, 4 Apr 2024 14:42:42 +0200 Subject: [PATCH 252/374] Fix Rails::NegateInclude issues - cop class: RuboCop::Cop::Rails::NegateInclude - replaced !array.include?(2) by array.exclude?(2) --- .rubocop_todo.yml | 10 ---------- app/controllers/admin/resource_controller.rb | 2 +- app/models/calculator/weight.rb | 2 +- app/models/product_import/spreadsheet_entry.rb | 2 +- lib/spree/localized_number.rb | 2 +- spec/support/matchers/table_matchers.rb | 2 +- 6 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 3a3a852f27..d8b0f45ccc 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -668,16 +668,6 @@ Rails/LexicallyScopedActionFilter: - 'app/controllers/spree/admin/zones_controller.rb' - 'app/controllers/spree/users_controller.rb' -# Offense count: 5 -# This cop supports unsafe autocorrection (--autocorrect-all). -Rails/NegateInclude: - Exclude: - - 'app/controllers/admin/resource_controller.rb' - - 'app/models/calculator/weight.rb' - - 'app/models/product_import/spreadsheet_entry.rb' - - 'lib/spree/localized_number.rb' - - 'spec/support/matchers/table_matchers.rb' - # Offense count: 32 # This cop supports unsafe autocorrection (--autocorrect-all). Rails/Pluck: diff --git a/app/controllers/admin/resource_controller.rb b/app/controllers/admin/resource_controller.rb index b7764d7d50..b47336f0d1 100644 --- a/app/controllers/admin/resource_controller.rb +++ b/app/controllers/admin/resource_controller.rb @@ -229,7 +229,7 @@ module Admin end def member_action? - !collection_actions.include? action + collection_actions.exclude? action end def new_actions diff --git a/app/models/calculator/weight.rb b/app/models/calculator/weight.rb index c4b6534ef8..4fdebf72d3 100644 --- a/app/models/calculator/weight.rb +++ b/app/models/calculator/weight.rb @@ -10,7 +10,7 @@ module Calculator end def set_preference(name, value) - if name == :unit_from_list && !["kg", "lb"].include?(value) + if name == :unit_from_list && ["kg", "lb"].exclude?(value) calculable.errors.add(:preferred_unit_from_list, I18n.t(:calculator_preferred_unit_error)) else __send__ self.class.preference_setter_method(name), value diff --git a/app/models/product_import/spreadsheet_entry.rb b/app/models/product_import/spreadsheet_entry.rb index 2dd9a42418..a46d061ee7 100644 --- a/app/models/product_import/spreadsheet_entry.rb +++ b/app/models/product_import/spreadsheet_entry.rb @@ -94,7 +94,7 @@ module ProductImport units = UnitConverter.new(attrs) units.converted_attributes.each do |attr, value| - if respond_to?("#{attr}=") && !NON_PRODUCT_ATTRIBUTES.include?(attr) + if respond_to?("#{attr}=") && NON_PRODUCT_ATTRIBUTES.exclude?(attr) public_send("#{attr}=", value) end end diff --git a/lib/spree/localized_number.rb b/lib/spree/localized_number.rb index 112fb26471..11e572c1a8 100644 --- a/lib/spree/localized_number.rb +++ b/lib/spree/localized_number.rb @@ -77,7 +77,7 @@ module Spree private def non_activerecord_attribute?(attribute) - table_exists? && !column_names.include?(attribute.to_s) + table_exists? && column_names.exclude?(attribute.to_s) rescue ::ActiveRecord::NoDatabaseError # This class is now loaded during `rake db:create` (since Rails 5.2), and not only does the # table not exist, but the database does not even exist yet, and throws a fatal error. diff --git a/spec/support/matchers/table_matchers.rb b/spec/support/matchers/table_matchers.rb index aaee09ed83..1cf1f0deba 100644 --- a/spec/support/matchers/table_matchers.rb +++ b/spec/support/matchers/table_matchers.rb @@ -8,7 +8,7 @@ RSpec::Matchers.define :have_table_row do |row| match_when_negated do |node| @row = row - !rows_under(node).include? row # Robust check of columns + rows_under(node).exclude? row # Robust check of columns end failure_message do |text| From d6d16316dc43ee6329cee921f8be710f952622ad Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 4 Apr 2024 14:34:28 +0100 Subject: [PATCH 253/374] Bumps Stripe to v10.14.0 --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 21f2358444..c882b5a624 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -751,7 +751,7 @@ GEM stimulus_reflex (>= 3.3.0) stringex (2.8.6) stringio (3.1.0) - stripe (10.13.0) + stripe (10.14.0) swd (2.0.3) activesupport (>= 3) attr_required (>= 0.0.5) From 0f3b502ca6f3c39b4096e3f9f9f8c8fd25305c67 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 4 Apr 2024 14:40:00 +0100 Subject: [PATCH 254/374] Re-records cassettes after Stripe bump --- .../redirects_to_unauthorized.yml | 34 +-- .../redirects_to_unauthorized.yml | 36 +-- .../redirects_to_unauthorized.yml | 36 +-- ...turns_with_a_status_of_access_revoked_.yml | 44 ++-- .../returns_with_a_status_of_connected_.yml | 56 ++--- .../saves_the_card_locally.yml | 70 +++--- .../_credit/refunds_the_payment.yml | 150 +++++------ ...t_intent_state_is_not_requires_capture.yml | 90 +++---- .../calls_Checkout_StripeRedirect.yml | 36 +-- ...urns_nil_when_an_order_is_not_supplied.yml | 36 +-- .../_purchase/completes_the_purchase.yml | 158 ++++++------ ..._error_message_to_help_developer_debug.yml | 96 ++++---- .../refunds_the_payment.yml | 188 +++++++------- .../void_the_payment.yml | 122 ++++----- ...stroys_the_record_and_notifies_Bugsnag.yml | 43 ++-- .../destroys_the_record.yml | 61 +++-- .../returns_true.yml | 108 ++++---- .../returns_false.yml | 88 +++---- .../returns_failed_response.yml | 40 +-- ...tus_with_Stripe_PaymentIntentValidator.yml | 58 ++--- .../returns_nil.yml | 40 +-- .../clones_the_payment_method_only.yml | 108 ++++---- ...th_the_payment_method_and_the_customer.yml | 232 +++++++++--------- .../raises_an_error.yml | 66 ++--- .../deletes_the_credit_card_clone.yml | 98 ++++---- ...the_credit_card_clone_and_the_customer.yml | 130 +++++----- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_Diners_Club/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_Discover/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_JCB/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_Mastercard/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_UnionPay/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_Visa/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_Visa_debit_/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- ...rd_id_from_the_correct_response_fields.yml | 60 ++--- .../when_request_fails/raises_an_error.yml | 102 ++++---- .../allows_to_refund_the_payment.yml | 190 +++++++------- 67 files changed, 3032 insertions(+), 3032 deletions(-) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml (92%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml (91%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml (91%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml (91%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml (92%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml (84%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml (90%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml (90%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml (60%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml (90%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.13.0 => Stripe-v10.14.0}/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml (88%) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml similarity index 92% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml index ec0c95ca38..8392e9f343 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml @@ -8,7 +8,7 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: @@ -29,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Fri, 29 Mar 2024 18:53:02 GMT + - Thu, 04 Apr 2024 13:34:54 GMT Content-Type: - application/json Content-Length: @@ -56,15 +56,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b963ad29-314d-4fa3-86c8-ed8d21182414 + - d9d4c914-5547-471b-9d65-ecddc5ba1a5a Original-Request: - - req_Ph5LpkrVmGvJSp + - req_kbiuPsChP7rmJC Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ph5LpkrVmGvJSp + - req_kbiuPsChP7rmJC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -79,7 +79,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OzkXwQMV2WNdfaG", + "id": "acct_1P1qRN4DHdBtVgfF", "object": "account", "business_profile": { "annual_revenue": null, @@ -124,7 +124,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711738381, + "created": 1712237693, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -133,7 +133,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OzkXwQMV2WNdfaG/external_accounts" + "url": "/v1/accounts/acct_1P1qRN4DHdBtVgfF/external_accounts" }, "future_requirements": { "alternatives": [], @@ -230,22 +230,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 29 Mar 2024 18:53:02 GMT + recorded_at: Thu, 04 Apr 2024 13:34:54 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1OzkXwQMV2WNdfaG + uri: https://api.stripe.com/v1/accounts/acct_1P1qRN4DHdBtVgfF body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ph5LpkrVmGvJSp","request_duration_ms":2188}}' + - '{"last_request_metrics":{"request_id":"req_kbiuPsChP7rmJC","request_duration_ms":1962}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -262,7 +262,7 @@ http_interactions: Server: - nginx Date: - - Fri, 29 Mar 2024 18:53:03 GMT + - Thu, 04 Apr 2024 13:34:55 GMT Content-Type: - application/json Content-Length: @@ -293,9 +293,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xbUYf1jqhpZXGn + - req_hn8ot4FZR3f8mO Stripe-Account: - - acct_1OzkXwQMV2WNdfaG + - acct_1P1qRN4DHdBtVgfF Stripe-Version: - '2023-10-16' Vary: @@ -308,9 +308,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OzkXwQMV2WNdfaG", + "id": "acct_1P1qRN4DHdBtVgfF", "object": "account", "deleted": true } - recorded_at: Fri, 29 Mar 2024 18:53:03 GMT + recorded_at: Thu, 04 Apr 2024 13:34:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml similarity index 91% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml index f7a27dfdd2..6840f24bb7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JGxjtcKW5dC7dD","request_duration_ms":910}}' + - '{"last_request_metrics":{"request_id":"req_E35rBd6ia7ZpVh","request_duration_ms":1144}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 29 Mar 2024 18:53:08 GMT + - Thu, 04 Apr 2024 13:35:01 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 40c1e7cc-70fa-477f-afc9-5414eb47e9b7 + - 932f716d-55a0-4f97-aaaf-0415ef950442 Original-Request: - - req_MZwNhnG2QwlJ04 + - req_gSGNH3mtIomhgs Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MZwNhnG2QwlJ04 + - req_gSGNH3mtIomhgs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OzkY24EZjTC8pH1", + "id": "acct_1P1qRT4CKKdbW89s", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711738387, + "created": 1712237700, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OzkY24EZjTC8pH1/external_accounts" + "url": "/v1/accounts/acct_1P1qRT4CKKdbW89s/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,22 +232,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 29 Mar 2024 18:53:08 GMT + recorded_at: Thu, 04 Apr 2024 13:35:01 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1OzkY24EZjTC8pH1 + uri: https://api.stripe.com/v1/accounts/acct_1P1qRT4CKKdbW89s body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MZwNhnG2QwlJ04","request_duration_ms":1764}}' + - '{"last_request_metrics":{"request_id":"req_gSGNH3mtIomhgs","request_duration_ms":1895}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Fri, 29 Mar 2024 18:53:09 GMT + - Thu, 04 Apr 2024 13:35:02 GMT Content-Type: - application/json Content-Length: @@ -295,9 +295,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_tfFx6yqOhyxOEz + - req_mZsYz5XHc2aNIn Stripe-Account: - - acct_1OzkY24EZjTC8pH1 + - acct_1P1qRT4CKKdbW89s Stripe-Version: - '2023-10-16' Vary: @@ -310,9 +310,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OzkY24EZjTC8pH1", + "id": "acct_1P1qRT4CKKdbW89s", "object": "account", "deleted": true } - recorded_at: Fri, 29 Mar 2024 18:53:09 GMT + recorded_at: Thu, 04 Apr 2024 13:35:02 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml similarity index 91% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml index b69281afc0..ba68c6750f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xbUYf1jqhpZXGn","request_duration_ms":1121}}' + - '{"last_request_metrics":{"request_id":"req_hn8ot4FZR3f8mO","request_duration_ms":1182}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 29 Mar 2024 18:53:05 GMT + - Thu, 04 Apr 2024 13:34:58 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8f3afe92-8ae2-4e51-b958-949f48e942d3 + - 4cff27dd-6193-4e16-ab6c-ca2ecfa7aa1b Original-Request: - - req_6C0wxXNZ11Bgnz + - req_mYkorxGJCKVMHR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6C0wxXNZ11Bgnz + - req_mYkorxGJCKVMHR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OzkXzQN8gTLyS3G", + "id": "acct_1P1qRQ4CR5oVe7Nd", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711738384, + "created": 1712237697, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OzkXzQN8gTLyS3G/external_accounts" + "url": "/v1/accounts/acct_1P1qRQ4CR5oVe7Nd/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,22 +232,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 29 Mar 2024 18:53:05 GMT + recorded_at: Thu, 04 Apr 2024 13:34:58 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1OzkXzQN8gTLyS3G + uri: https://api.stripe.com/v1/accounts/acct_1P1qRQ4CR5oVe7Nd body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6C0wxXNZ11Bgnz","request_duration_ms":1887}}' + - '{"last_request_metrics":{"request_id":"req_mYkorxGJCKVMHR","request_duration_ms":1877}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Fri, 29 Mar 2024 18:53:06 GMT + - Thu, 04 Apr 2024 13:34:59 GMT Content-Type: - application/json Content-Length: @@ -295,9 +295,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JGxjtcKW5dC7dD + - req_E35rBd6ia7ZpVh Stripe-Account: - - acct_1OzkXzQN8gTLyS3G + - acct_1P1qRQ4CR5oVe7Nd Stripe-Version: - '2023-10-16' Vary: @@ -310,9 +310,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OzkXzQN8gTLyS3G", + "id": "acct_1P1qRQ4CR5oVe7Nd", "object": "account", "deleted": true } - recorded_at: Fri, 29 Mar 2024 18:53:06 GMT + recorded_at: Thu, 04 Apr 2024 13:34:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml similarity index 91% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml index 6fb0d48c59..63107f3de4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tfFx6yqOhyxOEz","request_duration_ms":1044}}' + - '{"last_request_metrics":{"request_id":"req_mZsYz5XHc2aNIn","request_duration_ms":1063}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 29 Mar 2024 18:53:11 GMT + - Thu, 04 Apr 2024 13:35:04 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 04c8a17e-a4e3-4013-829f-a734d08c842f + - 9ebb2da0-20db-496f-aaf8-5620e5822572 Original-Request: - - req_3nsCgMKYZfY3Wx + - req_KF45PmGJlZOAs0 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3nsCgMKYZfY3Wx + - req_KF45PmGJlZOAs0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OzkY6QPPCVWPRug", + "id": "acct_1P1qRW4DPiWMEZPr", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711738391, + "created": 1712237703, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OzkY6QPPCVWPRug/external_accounts" + "url": "/v1/accounts/acct_1P1qRW4DPiWMEZPr/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,7 +232,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 29 Mar 2024 18:53:12 GMT + recorded_at: Thu, 04 Apr 2024 13:35:04 GMT - request: method: get uri: https://api.stripe.com/v1/accounts/acct_fake_account @@ -241,13 +241,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3nsCgMKYZfY3Wx","request_duration_ms":1860}}' + - '{"last_request_metrics":{"request_id":"req_KF45PmGJlZOAs0","request_duration_ms":2011}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Fri, 29 Mar 2024 18:53:12 GMT + - Thu, 04 Apr 2024 13:35:04 GMT Content-Type: - application/json Content-Length: @@ -299,22 +299,22 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/account-invalid" } } - recorded_at: Fri, 29 Mar 2024 18:53:12 GMT + recorded_at: Thu, 04 Apr 2024 13:35:05 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1OzkY6QPPCVWPRug + uri: https://api.stripe.com/v1/accounts/acct_1P1qRW4DPiWMEZPr body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3nsCgMKYZfY3Wx","request_duration_ms":1860}}' + - '{"last_request_metrics":{"request_id":"req_KF45PmGJlZOAs0","request_duration_ms":2011}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -331,7 +331,7 @@ http_interactions: Server: - nginx Date: - - Fri, 29 Mar 2024 18:53:13 GMT + - Thu, 04 Apr 2024 13:35:06 GMT Content-Type: - application/json Content-Length: @@ -362,9 +362,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vJuorSL1DL25TZ + - req_UKpStSG25uf2UJ Stripe-Account: - - acct_1OzkY6QPPCVWPRug + - acct_1P1qRW4DPiWMEZPr Stripe-Version: - '2023-10-16' Vary: @@ -377,9 +377,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OzkY6QPPCVWPRug", + "id": "acct_1P1qRW4DPiWMEZPr", "object": "account", "deleted": true } - recorded_at: Fri, 29 Mar 2024 18:53:13 GMT + recorded_at: Thu, 04 Apr 2024 13:35:06 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml similarity index 92% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml index f6e0864aa4..a0b8a834d6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vJuorSL1DL25TZ","request_duration_ms":983}}' + - '{"last_request_metrics":{"request_id":"req_UKpStSG25uf2UJ","request_duration_ms":1033}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 29 Mar 2024 18:53:15 GMT + - Thu, 04 Apr 2024 13:35:07 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e53c1751-4670-4a7d-8fe1-0c0a8fb647fa + - aaf8dcfd-9af8-446e-bb0e-9717584de981 Original-Request: - - req_uzAqOcAR3ltbmh + - req_72tD5EeiCofO4G Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_uzAqOcAR3ltbmh + - req_72tD5EeiCofO4G Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OzkY9QQsxwR3QX7", + "id": "acct_1P1qRaQKIxaRx9Sc", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711738394, + "created": 1712237707, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OzkY9QQsxwR3QX7/external_accounts" + "url": "/v1/accounts/acct_1P1qRaQKIxaRx9Sc/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,22 +232,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 29 Mar 2024 18:53:15 GMT + recorded_at: Thu, 04 Apr 2024 13:35:07 GMT - request: method: get - uri: https://api.stripe.com/v1/accounts/acct_1OzkY9QQsxwR3QX7 + uri: https://api.stripe.com/v1/accounts/acct_1P1qRaQKIxaRx9Sc body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uzAqOcAR3ltbmh","request_duration_ms":1896}}' + - '{"last_request_metrics":{"request_id":"req_72tD5EeiCofO4G","request_duration_ms":1709}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Fri, 29 Mar 2024 18:53:15 GMT + - Thu, 04 Apr 2024 13:35:08 GMT Content-Type: - application/json Content-Length: @@ -295,9 +295,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Lc3QvEcHt0FgLw + - req_5eyv9B8IG7EXAd Stripe-Account: - - acct_1OzkY9QQsxwR3QX7 + - acct_1P1qRaQKIxaRx9Sc Stripe-Version: - '2023-10-16' Vary: @@ -310,7 +310,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OzkY9QQsxwR3QX7", + "id": "acct_1P1qRaQKIxaRx9Sc", "object": "account", "business_profile": { "annual_revenue": null, @@ -355,7 +355,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711738394, + "created": 1712237707, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -364,7 +364,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1OzkY9QQsxwR3QX7/external_accounts" + "url": "/v1/accounts/acct_1P1qRaQKIxaRx9Sc/external_accounts" }, "future_requirements": { "alternatives": [], @@ -461,22 +461,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 29 Mar 2024 18:53:15 GMT + recorded_at: Thu, 04 Apr 2024 13:35:08 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1OzkY9QQsxwR3QX7 + uri: https://api.stripe.com/v1/accounts/acct_1P1qRaQKIxaRx9Sc body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Lc3QvEcHt0FgLw","request_duration_ms":400}}' + - '{"last_request_metrics":{"request_id":"req_5eyv9B8IG7EXAd","request_duration_ms":542}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -493,7 +493,7 @@ http_interactions: Server: - nginx Date: - - Fri, 29 Mar 2024 18:53:16 GMT + - Thu, 04 Apr 2024 13:35:09 GMT Content-Type: - application/json Content-Length: @@ -524,9 +524,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zHXfFMY9X0grgz + - req_384facb1UCbY1L Stripe-Account: - - acct_1OzkY9QQsxwR3QX7 + - acct_1P1qRaQKIxaRx9Sc Stripe-Version: - '2023-10-16' Vary: @@ -539,9 +539,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1OzkY9QQsxwR3QX7", + "id": "acct_1P1qRaQKIxaRx9Sc", "object": "account", "deleted": true } - recorded_at: Fri, 29 Mar 2024 18:53:16 GMT + recorded_at: Thu, 04 Apr 2024 13:35:09 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml similarity index 84% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml index 8016f32c83..aca9b2c243 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml @@ -8,11 +8,13 @@ http_interactions: string: card[number]=4242424242424242&card[exp_month]=9&card[exp_year]=2024&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_384facb1UCbY1L","request_duration_ms":1153}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -29,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:33 GMT + - Thu, 04 Apr 2024 13:35:10 GMT Content-Type: - application/json Content-Length: - - '850' + - '849' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -56,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d0e5a7cf-883d-4b56-b25e-f654d412ba79 + - 00023ff8-186e-47a9-8c5d-ed2bf43d79cb Original-Request: - - req_0C9DXhwoaKhLdD + - req_CScne7GI2Vypc5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0C9DXhwoaKhLdD + - req_CScne7GI2Vypc5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -79,10 +81,10 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "tok_1Oy1wnKuuB1fWySnLj5QBZy7", + "id": "tok_1P1qReKuuB1fWySnxfGMvorq", "object": "token", "card": { - "id": "card_1Oy1wnKuuB1fWySnCOg1zs1M", + "id": "card_1P1qReKuuB1fWySnvmooaw9V", "object": "card", "address_city": null, "address_country": null, @@ -109,28 +111,28 @@ http_interactions: "tokenization_method": null, "wallet": null }, - "client_ip": "124.188.129.192", - "created": 1711328613, + "client_ip": "176.79.242.165", + "created": 1712237710, "livemode": false, "type": "card", "used": false } - recorded_at: Mon, 25 Mar 2024 01:03:33 GMT + recorded_at: Thu, 04 Apr 2024 13:35:10 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: email=calvin%40beermccullough.com&source=tok_1Oy1wnKuuB1fWySnLj5QBZy7 + string: email=miyoko_klocko%40mccullough.co.uk&source=tok_1P1qReKuuB1fWySnxfGMvorq headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0C9DXhwoaKhLdD","request_duration_ms":523}}' + - '{"last_request_metrics":{"request_id":"req_CScne7GI2Vypc5","request_duration_ms":443}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -147,11 +149,11 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:34 GMT + - Thu, 04 Apr 2024 13:35:11 GMT Content-Type: - application/json Content-Length: - - '664' + - '669' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -174,15 +176,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 821b2ac3-4f39-4e96-bde5-0739222a19db + - 6531c198-ed96-4b9c-b871-ab2da1d00f95 Original-Request: - - req_hBuKlFbl2EGbjy + - req_7GMeHE4aqEk68o Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hBuKlFbl2EGbjy + - req_7GMeHE4aqEk68o Stripe-Should-Retry: - 'false' Stripe-Version: @@ -197,18 +199,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PndDwcf7WiVv8n", + "id": "cus_PrZas2js4rGX3f", "object": "customer", "address": null, "balance": 0, - "created": 1711328613, + "created": 1712237710, "currency": null, - "default_source": "card_1Oy1wnKuuB1fWySnCOg1zs1M", + "default_source": "card_1P1qReKuuB1fWySnvmooaw9V", "delinquent": false, "description": null, "discount": null, - "email": "calvin@beermccullough.com", - "invoice_prefix": "F0FE1ECA", + "email": "miyoko_klocko@mccullough.co.uk", + "invoice_prefix": "21B6C1B3", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -225,22 +227,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 25 Mar 2024 01:03:34 GMT + recorded_at: Thu, 04 Apr 2024 13:35:11 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PndDwcf7WiVv8n/sources?limit=1&object=card + uri: https://api.stripe.com/v1/customers/cus_PrZas2js4rGX3f/sources?limit=1&object=card body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hBuKlFbl2EGbjy","request_duration_ms":790}}' + - '{"last_request_metrics":{"request_id":"req_7GMeHE4aqEk68o","request_duration_ms":800}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -257,7 +259,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:34 GMT + - Thu, 04 Apr 2024 13:35:11 GMT Content-Type: - application/json Content-Length: @@ -289,7 +291,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_h7L3ebMIxfrBQA + - req_N3z3Q56Qvhb9Yh Stripe-Version: - '2023-10-16' Vary: @@ -305,7 +307,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1Oy1wnKuuB1fWySnCOg1zs1M", + "id": "card_1P1qReKuuB1fWySnvmooaw9V", "object": "card", "address_city": null, "address_country": null, @@ -317,7 +319,7 @@ http_interactions: "address_zip_check": null, "brand": "Visa", "country": "US", - "customer": "cus_PndDwcf7WiVv8n", + "customer": "cus_PrZas2js4rGX3f", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 9, @@ -332,7 +334,7 @@ http_interactions: } ], "has_more": false, - "url": "/v1/customers/cus_PndDwcf7WiVv8n/sources" + "url": "/v1/customers/cus_PrZas2js4rGX3f/sources" } - recorded_at: Mon, 25 Mar 2024 01:03:34 GMT + recorded_at: Thu, 04 Apr 2024 13:35:11 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml index a59a2f2be7..465a1da6d1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kMqUEhudX1xjNZ","request_duration_ms":956}}' + - '{"last_request_metrics":{"request_id":"req_M2HXx1tZ6HbrSa","request_duration_ms":1110}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:46 GMT + - Thu, 04 Apr 2024 13:38:07 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d054f866-a1e5-4afe-9ad2-aa1c319d4497 + - 85a1a510-46a7-4196-ba87-c4cd420cdc41 Original-Request: - - req_Dfi6gcZKlVoQOx + - req_eo3dIQMhPztkOW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Dfi6gcZKlVoQOx + - req_eo3dIQMhPztkOW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hvxQKJsxyg7Xm", + "id": "acct_1P1qUT4FUH4DrOek", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711966666, + "created": 1712237886, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0hvxQKJsxyg7Xm/external_accounts" + "url": "/v1/accounts/acct_1P1qUT4FUH4DrOek/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:17:46 GMT + recorded_at: Thu, 04 Apr 2024 13:38:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -218,19 +218,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Dfi6gcZKlVoQOx","request_duration_ms":1594}}' + - '{"last_request_metrics":{"request_id":"req_eo3dIQMhPztkOW","request_duration_ms":1976}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0hvxQKJsxyg7Xm + - acct_1P1qUT4FUH4DrOek Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:48 GMT + - Thu, 04 Apr 2024 13:38:08 GMT Content-Type: - application/json Content-Length: @@ -270,17 +270,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 46b0b9e2-a61f-4e6d-a217-de0eeadd9736 + - ca02656b-9b01-4d0d-8d3c-0b47c256f12a Original-Request: - - req_dBgFusE0TKXqtN + - req_ErftSuX2l5ntGG Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dBgFusE0TKXqtN + - req_ErftSuX2l5ntGG Stripe-Account: - - acct_1P0hvxQKJsxyg7Xm + - acct_1P1qUT4FUH4DrOek Stripe-Should-Retry: - 'false' Stripe-Version: @@ -295,7 +295,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvzQKJsxyg7Xm1F7SlEaz", + "id": "pi_3P1qUV4FUH4DrOek1RKGhFUE", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -311,18 +311,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1711966667, + "created": 1712237887, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P0hvzQKJsxyg7Xm1yaStIBm", + "latest_charge": "ch_3P1qUV4FUH4DrOek1fNfHccu", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvzQKJsxyg7Xmcm9nKHkF", + "payment_method": "pm_1P1qUV4FUH4DrOeksbOellLu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -347,10 +347,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:47 GMT + recorded_at: Thu, 04 Apr 2024 13:38:08 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvzQKJsxyg7Xm1F7SlEaz + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUV4FUH4DrOek1RKGhFUE body: encoding: US-ASCII string: '' @@ -366,7 +366,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P0hvxQKJsxyg7Xm + - acct_1P1qUT4FUH4DrOek Connection: - close Accept-Encoding: @@ -381,7 +381,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:48 GMT + - Thu, 04 Apr 2024 13:38:09 GMT Content-Type: - application/json Content-Length: @@ -413,9 +413,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OzWVOd5Hl9GDRa + - req_DgpAovTMNPHCsd Stripe-Account: - - acct_1P0hvxQKJsxyg7Xm + - acct_1P1qUT4FUH4DrOek Stripe-Version: - '2020-08-27' Vary: @@ -428,7 +428,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvzQKJsxyg7Xm1F7SlEaz", + "id": "pi_3P1qUV4FUH4DrOek1RKGhFUE", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -446,7 +446,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P0hvzQKJsxyg7Xm1yaStIBm", + "id": "ch_3P1qUV4FUH4DrOek1fNfHccu", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -454,7 +454,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P0hvzQKJsxyg7Xm1XuyTg59", + "balance_transaction": "txn_3P1qUV4FUH4DrOek1PvVuo8C", "billing_details": { "address": { "city": null, @@ -470,7 +470,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711966667, + "created": 1712237888, "currency": "aud", "customer": null, "description": null, @@ -490,13 +490,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 27, + "risk_score": 12, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P0hvzQKJsxyg7Xm1F7SlEaz", - "payment_method": "pm_1P0hvzQKJsxyg7Xmcm9nKHkF", + "payment_intent": "pi_3P1qUV4FUH4DrOek1RKGhFUE", + "payment_method": "pm_1P1qUV4FUH4DrOeksbOellLu", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -539,14 +539,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDBodnhRS0pzeHlnN1htKMyTqrAGMgagIC1dC4g6LBa_RnE4t8Z6RFw7z5iNrtCxFgz1qsdSgfljLtBrigjEcUqEye-Ykf5_ujwB", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDFxVVQ0RlVINERyT2VrKMHaurAGMgZZKl1iUHY6LBaqvjNsOr6FLKpGEC6CrzF6o_JvPc19Oz9hpaSsiRkCAiUPGJJHiWqxXcTu", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P0hvzQKJsxyg7Xm1yaStIBm/refunds" + "url": "/v1/charges/ch_3P1qUV4FUH4DrOek1fNfHccu/refunds" }, "review": null, "shipping": null, @@ -561,22 +561,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P0hvzQKJsxyg7Xm1F7SlEaz" + "url": "/v1/charges?payment_intent=pi_3P1qUV4FUH4DrOek1RKGhFUE" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1711966667, + "created": 1712237887, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P0hvzQKJsxyg7Xm1yaStIBm", + "latest_charge": "ch_3P1qUV4FUH4DrOek1fNfHccu", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvzQKJsxyg7Xmcm9nKHkF", + "payment_method": "pm_1P1qUV4FUH4DrOeksbOellLu", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -601,10 +601,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:48 GMT + recorded_at: Thu, 04 Apr 2024 13:38:09 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3P0hvzQKJsxyg7Xm1yaStIBm/refunds + uri: https://api.stripe.com/v1/charges/ch_3P1qUV4FUH4DrOek1fNfHccu/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -622,7 +622,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P0hvxQKJsxyg7Xm + - acct_1P1qUT4FUH4DrOek Connection: - close Accept-Encoding: @@ -637,7 +637,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:50 GMT + - Thu, 04 Apr 2024 13:38:11 GMT Content-Type: - application/json Content-Length: @@ -665,17 +665,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f3a27053-08a2-48a4-9365-8be0a2640a99 + - 49e985bf-b934-45a0-a2a8-4a96a7962e15 Original-Request: - - req_HsA2oPctvXOzHJ + - req_kLFFcmNXJs6v8i Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_HsA2oPctvXOzHJ + - req_kLFFcmNXJs6v8i Stripe-Account: - - acct_1P0hvxQKJsxyg7Xm + - acct_1P1qUT4FUH4DrOek Stripe-Should-Retry: - 'false' Stripe-Version: @@ -690,12 +690,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3P0hvzQKJsxyg7Xm1vh5ClXr", + "id": "re_3P1qUV4FUH4DrOek1xpo3PX7", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P0hvzQKJsxyg7Xm1X7XsjkF", + "balance_transaction": "txn_3P1qUV4FUH4DrOek1DoVOI6A", "charge": { - "id": "ch_3P0hvzQKJsxyg7Xm1yaStIBm", + "id": "ch_3P1qUV4FUH4DrOek1fNfHccu", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -703,7 +703,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P0hvzQKJsxyg7Xm1XuyTg59", + "balance_transaction": "txn_3P1qUV4FUH4DrOek1PvVuo8C", "billing_details": { "address": { "city": null, @@ -719,7 +719,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711966667, + "created": 1712237888, "currency": "aud", "customer": null, "description": null, @@ -739,13 +739,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 27, + "risk_score": 12, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P0hvzQKJsxyg7Xm1F7SlEaz", - "payment_method": "pm_1P0hvzQKJsxyg7Xmcm9nKHkF", + "payment_intent": "pi_3P1qUV4FUH4DrOek1RKGhFUE", + "payment_method": "pm_1P1qUV4FUH4DrOeksbOellLu", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -788,18 +788,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDBodnhRS0pzeHlnN1htKM2TqrAGMgYOp7ktBPI6LBa3drlCvWCNQIXREBHiFbU5feoRc9WpEoK6xto6d5jvytb__krblV-onUHu", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDFxVVQ0RlVINERyT2VrKMLaurAGMgauhPxDSls6LBZFEPmOUCGc2a2t4boq2JFTl9182xRZCIhwqV_ZBZ2QOeIRT2k4Msf9yRV8", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3P0hvzQKJsxyg7Xm1vh5ClXr", + "id": "re_3P1qUV4FUH4DrOek1xpo3PX7", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P0hvzQKJsxyg7Xm1X7XsjkF", - "charge": "ch_3P0hvzQKJsxyg7Xm1yaStIBm", - "created": 1711966669, + "balance_transaction": "txn_3P1qUV4FUH4DrOek1DoVOI6A", + "charge": "ch_3P1qUV4FUH4DrOek1fNfHccu", + "created": 1712237890, "currency": "aud", "destination_details": { "card": { @@ -810,7 +810,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P0hvzQKJsxyg7Xm1F7SlEaz", + "payment_intent": "pi_3P1qUV4FUH4DrOek1RKGhFUE", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -820,7 +820,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3P0hvzQKJsxyg7Xm1yaStIBm/refunds" + "url": "/v1/charges/ch_3P1qUV4FUH4DrOek1fNfHccu/refunds" }, "review": null, "shipping": null, @@ -832,7 +832,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1711966669, + "created": 1712237890, "currency": "aud", "destination_details": { "card": { @@ -843,29 +843,29 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P0hvzQKJsxyg7Xm1F7SlEaz", + "payment_intent": "pi_3P1qUV4FUH4DrOek1RKGhFUE", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Mon, 01 Apr 2024 10:17:49 GMT + recorded_at: Thu, 04 Apr 2024 13:38:11 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0hvxQKJsxyg7Xm + uri: https://api.stripe.com/v1/accounts/acct_1P1qUT4FUH4DrOek body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dBgFusE0TKXqtN","request_duration_ms":1488}}' + - '{"last_request_metrics":{"request_id":"req_ErftSuX2l5ntGG","request_duration_ms":1401}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -882,7 +882,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:51 GMT + - Thu, 04 Apr 2024 13:38:12 GMT Content-Type: - application/json Content-Length: @@ -913,9 +913,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Vxcx1VoZ2gIpT7 + - req_S1jGPNEXFYIXgU Stripe-Account: - - acct_1P0hvxQKJsxyg7Xm + - acct_1P1qUT4FUH4DrOek Stripe-Version: - '2023-10-16' Vary: @@ -928,9 +928,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hvxQKJsxyg7Xm", + "id": "acct_1P1qUT4FUH4DrOek", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:17:50 GMT + recorded_at: Thu, 04 Apr 2024 13:38:12 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml index a23a96b9b2..ae4078c6bf 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Vxcx1VoZ2gIpT7","request_duration_ms":1065}}' + - '{"last_request_metrics":{"request_id":"req_S1jGPNEXFYIXgU","request_duration_ms":1095}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:52 GMT + - Thu, 04 Apr 2024 13:38:13 GMT Content-Type: - application/json Content-Length: @@ -63,7 +63,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9uqqs0dhQujm9Z + - req_X2V04rd6Y8NC2A Stripe-Version: - '2023-10-16' Vary: @@ -76,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0hw4KuuB1fWySntDFvCnCW", + "id": "pm_1P1qUbKuuB1fWySnZjdN9NvP", "object": "payment_method", "billing_details": { "address": { @@ -117,28 +117,28 @@ http_interactions: }, "wallet": null }, - "created": 1711966672, + "created": 1712237893, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:17:52 GMT + recorded_at: Thu, 04 Apr 2024 13:38:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1P0hw4KuuB1fWySntDFvCnCW&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P1qUbKuuB1fWySnZjdN9NvP&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9uqqs0dhQujm9Z","request_duration_ms":360}}' + - '{"last_request_metrics":{"request_id":"req_X2V04rd6Y8NC2A","request_duration_ms":376}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -155,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:53 GMT + - Thu, 04 Apr 2024 13:38:14 GMT Content-Type: - application/json Content-Length: @@ -182,15 +182,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4ecbe95a-3ec0-4337-b19e-7e175451cfd1 + - 5425de4e-83ab-4bf8-8610-4c5418c7fbb9 Original-Request: - - req_d7SbxDw4JbGPV6 + - req_V508Jr8c1acE7T Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_d7SbxDw4JbGPV6 + - req_V508Jr8c1acE7T Stripe-Should-Retry: - 'false' Stripe-Version: @@ -205,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hw5KuuB1fWySn2nvrAGCL", + "id": "pi_3P1qUbKuuB1fWySn1S1VWTAh", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711966673, + "created": 1712237893, "currency": "aud", "customer": null, "description": null, @@ -232,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hw4KuuB1fWySntDFvCnCW", + "payment_method": "pm_1P1qUbKuuB1fWySnZjdN9NvP", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,22 +257,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:52 GMT + recorded_at: Thu, 04 Apr 2024 13:38:14 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P0hw5KuuB1fWySn2nvrAGCL + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUbKuuB1fWySn1S1VWTAh body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_d7SbxDw4JbGPV6","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_V508Jr8c1acE7T","request_duration_ms":587}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -289,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:53 GMT + - Thu, 04 Apr 2024 13:38:14 GMT Content-Type: - application/json Content-Length: @@ -321,7 +321,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DqIecKV3qULNG7 + - req_t5uiUnY5A3VxJB Stripe-Version: - '2023-10-16' Vary: @@ -334,7 +334,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hw5KuuB1fWySn2nvrAGCL", + "id": "pi_3P1qUbKuuB1fWySn1S1VWTAh", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -350,7 +350,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711966673, + "created": 1712237893, "currency": "aud", "customer": null, "description": null, @@ -361,7 +361,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hw4KuuB1fWySntDFvCnCW", + "payment_method": "pm_1P1qUbKuuB1fWySnZjdN9NvP", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -386,7 +386,7 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:53 GMT + recorded_at: Thu, 04 Apr 2024 13:38:14 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -395,13 +395,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DqIecKV3qULNG7","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_t5uiUnY5A3VxJB","request_duration_ms":353}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -418,7 +418,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:55 GMT + - Thu, 04 Apr 2024 13:38:16 GMT Content-Type: - application/json Content-Length: @@ -445,15 +445,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e81ed6ab-996f-42b6-9da3-4682aead8558 + - 9fb925db-1658-4ff5-9abf-3ada888ee291 Original-Request: - - req_EDPibXlowchAvO + - req_XDgR1hGwKchRrt Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EDPibXlowchAvO + - req_XDgR1hGwKchRrt Stripe-Should-Retry: - 'false' Stripe-Version: @@ -468,7 +468,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hw5QT9u0FYInb", + "id": "acct_1P1qUc4FlxsMZxEH", "object": "account", "business_profile": { "annual_revenue": null, @@ -490,7 +490,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711966674, + "created": 1712237895, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -499,7 +499,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0hw5QT9u0FYInb/external_accounts" + "url": "/v1/accounts/acct_1P1qUc4FlxsMZxEH/external_accounts" }, "future_requirements": { "alternatives": [], @@ -596,22 +596,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:17:54 GMT + recorded_at: Thu, 04 Apr 2024 13:38:16 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0hw5QT9u0FYInb + uri: https://api.stripe.com/v1/accounts/acct_1P1qUc4FlxsMZxEH body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EDPibXlowchAvO","request_duration_ms":1590}}' + - '{"last_request_metrics":{"request_id":"req_XDgR1hGwKchRrt","request_duration_ms":1758}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -628,7 +628,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:56 GMT + - Thu, 04 Apr 2024 13:38:17 GMT Content-Type: - application/json Content-Length: @@ -659,9 +659,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_THI2PVqc1ZJrFQ + - req_r9zJbHDsVhRbsz Stripe-Account: - - acct_1P0hw5QT9u0FYInb + - acct_1P1qUc4FlxsMZxEH Stripe-Version: - '2023-10-16' Vary: @@ -674,9 +674,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hw5QT9u0FYInb", + "id": "acct_1P1qUc4FlxsMZxEH", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:17:55 GMT + recorded_at: Thu, 04 Apr 2024 13:38:17 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml similarity index 90% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml index 0735deef1d..6422311754 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qGbRhQRLinAVWB","request_duration_ms":900}}' + - '{"last_request_metrics":{"request_id":"req_N6M2SnTgskLWFX","request_duration_ms":1003}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:18:02 GMT + - Thu, 04 Apr 2024 13:38:23 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 94670b1e-5595-43bd-8cc3-1b099c613d59 + - 47dba25e-9c8b-45ac-b737-7ff106d28766 Original-Request: - - req_sZR0zGRpMmvqd6 + - req_MSCKu0VRHuVCcz Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sZR0zGRpMmvqd6 + - req_MSCKu0VRHuVCcz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hwD4EE19S9Esd", + "id": "acct_1P1qUjQNU50zQTZg", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711966681, + "created": 1712237902, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0hwD4EE19S9Esd/external_accounts" + "url": "/v1/accounts/acct_1P1qUjQNU50zQTZg/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,22 +209,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:18:02 GMT + recorded_at: Thu, 04 Apr 2024 13:38:23 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0hwD4EE19S9Esd + uri: https://api.stripe.com/v1/accounts/acct_1P1qUjQNU50zQTZg body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sZR0zGRpMmvqd6","request_duration_ms":1798}}' + - '{"last_request_metrics":{"request_id":"req_MSCKu0VRHuVCcz","request_duration_ms":1776}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:18:03 GMT + - Thu, 04 Apr 2024 13:38:24 GMT Content-Type: - application/json Content-Length: @@ -272,9 +272,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6J3hXuJ4aUNNqR + - req_5G9aqJo89J2ae9 Stripe-Account: - - acct_1P0hwD4EE19S9Esd + - acct_1P1qUjQNU50zQTZg Stripe-Version: - '2023-10-16' Vary: @@ -287,9 +287,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hwD4EE19S9Esd", + "id": "acct_1P1qUjQNU50zQTZg", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:18:03 GMT + recorded_at: Thu, 04 Apr 2024 13:38:24 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml similarity index 90% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml index 3b9cd58f79..373303a64c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_THI2PVqc1ZJrFQ","request_duration_ms":925}}' + - '{"last_request_metrics":{"request_id":"req_r9zJbHDsVhRbsz","request_duration_ms":1098}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:58 GMT + - Thu, 04 Apr 2024 13:38:19 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f82c1fbd-6ae1-4f50-88d9-fe10d7cba328 + - cad95ab3-7449-42a1-88d5-e3a76440da0a Original-Request: - - req_utR5hUFKEPNNWO + - req_EwjRXBb3EtXlBw Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_utR5hUFKEPNNWO + - req_EwjRXBb3EtXlBw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hw8QLyaBty4VB", + "id": "acct_1P1qUfQTbqHGvcIz", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711966677, + "created": 1712237898, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0hw8QLyaBty4VB/external_accounts" + "url": "/v1/accounts/acct_1P1qUfQTbqHGvcIz/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,22 +209,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:17:57 GMT + recorded_at: Thu, 04 Apr 2024 13:38:19 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0hw8QLyaBty4VB + uri: https://api.stripe.com/v1/accounts/acct_1P1qUfQTbqHGvcIz body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_utR5hUFKEPNNWO","request_duration_ms":1921}}' + - '{"last_request_metrics":{"request_id":"req_EwjRXBb3EtXlBw","request_duration_ms":1719}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:59 GMT + - Thu, 04 Apr 2024 13:38:20 GMT Content-Type: - application/json Content-Length: @@ -272,9 +272,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qGbRhQRLinAVWB + - req_N6M2SnTgskLWFX Stripe-Account: - - acct_1P0hw8QLyaBty4VB + - acct_1P1qUfQTbqHGvcIz Stripe-Version: - '2023-10-16' Vary: @@ -287,9 +287,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hw8QLyaBty4VB", + "id": "acct_1P1qUfQTbqHGvcIz", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:17:58 GMT + recorded_at: Thu, 04 Apr 2024 13:38:20 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml index a6164d0ec6..759cc3beaa 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml @@ -8,11 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_uU7ESpHotpLyHH","request_duration_ms":817}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -29,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:14 GMT + - Thu, 04 Apr 2024 13:37:34 GMT Content-Type: - application/json Content-Length: @@ -61,7 +63,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NROkvnMh04rWQN + - req_SWIAqbzAEntdHS Stripe-Version: - '2023-10-16' Vary: @@ -74,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0hvSKuuB1fWySnJ7tz7AJK", + "id": "pm_1P1qTyKuuB1fWySniOJ4sS4c", "object": "payment_method", "billing_details": { "address": { @@ -115,28 +117,28 @@ http_interactions: }, "wallet": null }, - "created": 1711966634, + "created": 1712237854, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:17:13 GMT + recorded_at: Thu, 04 Apr 2024 13:37:34 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1P0hvSKuuB1fWySnJ7tz7AJK&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P1qTyKuuB1fWySniOJ4sS4c&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NROkvnMh04rWQN","request_duration_ms":654}}' + - '{"last_request_metrics":{"request_id":"req_SWIAqbzAEntdHS","request_duration_ms":411}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -153,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:14 GMT + - Thu, 04 Apr 2024 13:37:35 GMT Content-Type: - application/json Content-Length: @@ -180,15 +182,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cba76d31-80ee-43f3-8ed7-82050651941a + - 3a76784e-af91-4dbb-8973-3623f0a66303 Original-Request: - - req_KE257bfb4pCgy9 + - req_3lAcL8h4F60kUx Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KE257bfb4pCgy9 + - req_3lAcL8h4F60kUx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -203,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvSKuuB1fWySn0RNbGSBR", + "id": "pi_3P1qTzKuuB1fWySn0eQrt5H3", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -219,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711966634, + "created": 1712237855, "currency": "aud", "customer": null, "description": null, @@ -230,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvSKuuB1fWySnJ7tz7AJK", + "payment_method": "pm_1P1qTyKuuB1fWySniOJ4sS4c", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -255,22 +257,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:14 GMT + recorded_at: Thu, 04 Apr 2024 13:37:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvSKuuB1fWySn0RNbGSBR/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTzKuuB1fWySn0eQrt5H3/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KE257bfb4pCgy9","request_duration_ms":611}}' + - '{"last_request_metrics":{"request_id":"req_3lAcL8h4F60kUx","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -287,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:15 GMT + - Thu, 04 Apr 2024 13:37:36 GMT Content-Type: - application/json Content-Length: @@ -315,15 +317,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - df6fa1d7-7c63-4c89-8482-e6a3c7b761d5 + - 72630604-f0da-4f2e-b5d6-5deea351d505 Original-Request: - - req_hZkVWHrm7BBut4 + - req_OnIsInOzorDJAR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hZkVWHrm7BBut4 + - req_OnIsInOzorDJAR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -338,7 +340,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvSKuuB1fWySn0RNbGSBR", + "id": "pi_3P1qTzKuuB1fWySn0eQrt5H3", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -354,18 +356,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711966634, + "created": 1712237855, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P0hvSKuuB1fWySn01aUEw8a", + "latest_charge": "ch_3P1qTzKuuB1fWySn0aYEAUs0", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvSKuuB1fWySnJ7tz7AJK", + "payment_method": "pm_1P1qTyKuuB1fWySniOJ4sS4c", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -390,22 +392,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:15 GMT + recorded_at: Thu, 04 Apr 2024 13:37:36 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvSKuuB1fWySn0RNbGSBR + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTzKuuB1fWySn0eQrt5H3 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hZkVWHrm7BBut4","request_duration_ms":1040}}' + - '{"last_request_metrics":{"request_id":"req_OnIsInOzorDJAR","request_duration_ms":1638}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -422,7 +424,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:19 GMT + - Thu, 04 Apr 2024 13:37:39 GMT Content-Type: - application/json Content-Length: @@ -454,7 +456,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jzjgc37xM2CuNm + - req_QpEqE39Soc9bXl Stripe-Version: - '2023-10-16' Vary: @@ -467,7 +469,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvSKuuB1fWySn0RNbGSBR", + "id": "pi_3P1qTzKuuB1fWySn0eQrt5H3", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -483,18 +485,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711966634, + "created": 1712237855, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P0hvSKuuB1fWySn01aUEw8a", + "latest_charge": "ch_3P1qTzKuuB1fWySn0aYEAUs0", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvSKuuB1fWySnJ7tz7AJK", + "payment_method": "pm_1P1qTyKuuB1fWySniOJ4sS4c", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -519,10 +521,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:18 GMT + recorded_at: Thu, 04 Apr 2024 13:37:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvSKuuB1fWySn0RNbGSBR/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTzKuuB1fWySn0eQrt5H3/capture body: encoding: UTF-8 string: amount_to_capture=1000 @@ -553,11 +555,11 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:20 GMT + - Thu, 04 Apr 2024 13:37:40 GMT Content-Type: - application/json Content-Length: - - '5163' + - '5162' Connection: - close Access-Control-Allow-Credentials: @@ -581,15 +583,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cf45fd92-6c39-4ba7-8fda-da00040a35e6 + - cf49b5bd-a97f-437b-90fe-102dd8b7fad8 Original-Request: - - req_1PGTPM2HKB09cZ + - req_yo5Oci6hy7rLoN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1PGTPM2HKB09cZ + - req_yo5Oci6hy7rLoN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -604,7 +606,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvSKuuB1fWySn0RNbGSBR", + "id": "pi_3P1qTzKuuB1fWySn0eQrt5H3", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -622,7 +624,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P0hvSKuuB1fWySn01aUEw8a", + "id": "ch_3P1qTzKuuB1fWySn0aYEAUs0", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -631,7 +633,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P0hvSKuuB1fWySn01bU7GoR", + "balance_transaction": "txn_3P1qTzKuuB1fWySn0QX9eIsk", "billing_details": { "address": { "city": null, @@ -647,7 +649,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711966635, + "created": 1712237855, "currency": "aud", "customer": null, "description": null, @@ -667,18 +669,18 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 31, + "risk_score": 6, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P0hvSKuuB1fWySn0RNbGSBR", - "payment_method": "pm_1P0hvSKuuB1fWySnJ7tz7AJK", + "payment_intent": "pi_3P1qTzKuuB1fWySn0eQrt5H3", + "payment_method": "pm_1P1qTyKuuB1fWySniOJ4sS4c", "payment_method_details": { "card": { "amount_authorized": 1000, "brand": "mastercard", - "capture_before": 1712571435, + "capture_before": 1712842655, "checks": { "address_line1_check": null, "address_postal_code_check": null, @@ -717,14 +719,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKLCTqrAGMgbNvCvIw0g6LBbGTJrRbRYLZ-ydAl2URON7Lqf2q67mw5SMB1ivr6qOAp-39SKNVncDs0Xh", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKKTaurAGMgauas2VWeA6LBaRnfNP2lLuxLG81VsnCiVVe2GcujpxP69RvupHRUMrBtEQMVBnp4ygJNu_", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P0hvSKuuB1fWySn01aUEw8a/refunds" + "url": "/v1/charges/ch_3P1qTzKuuB1fWySn0aYEAUs0/refunds" }, "review": null, "shipping": null, @@ -739,22 +741,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P0hvSKuuB1fWySn0RNbGSBR" + "url": "/v1/charges?payment_intent=pi_3P1qTzKuuB1fWySn0eQrt5H3" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1711966634, + "created": 1712237855, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P0hvSKuuB1fWySn01aUEw8a", + "latest_charge": "ch_3P1qTzKuuB1fWySn0aYEAUs0", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvSKuuB1fWySnJ7tz7AJK", + "payment_method": "pm_1P1qTyKuuB1fWySniOJ4sS4c", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -779,7 +781,7 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:19 GMT + recorded_at: Thu, 04 Apr 2024 13:37:40 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -788,13 +790,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jzjgc37xM2CuNm","request_duration_ms":329}}' + - '{"last_request_metrics":{"request_id":"req_QpEqE39Soc9bXl","request_duration_ms":378}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -811,7 +813,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:22 GMT + - Thu, 04 Apr 2024 13:37:42 GMT Content-Type: - application/json Content-Length: @@ -838,15 +840,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f08fb11b-d34f-43bc-bb7c-6d8d14817f85 + - 00bc9e6b-ea15-491a-93df-5e3a8bbdb0ae Original-Request: - - req_LtIyyQ5lUErcOZ + - req_HTxP4aTOrvIsnP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LtIyyQ5lUErcOZ + - req_HTxP4aTOrvIsnP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -861,7 +863,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hvY4KTZpW5r5h", + "id": "acct_1P1qU5QMcSCimNwD", "object": "account", "business_profile": { "annual_revenue": null, @@ -883,7 +885,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711966641, + "created": 1712237861, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -892,7 +894,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0hvY4KTZpW5r5h/external_accounts" + "url": "/v1/accounts/acct_1P1qU5QMcSCimNwD/external_accounts" }, "future_requirements": { "alternatives": [], @@ -989,22 +991,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:17:21 GMT + recorded_at: Thu, 04 Apr 2024 13:37:42 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0hvY4KTZpW5r5h + uri: https://api.stripe.com/v1/accounts/acct_1P1qU5QMcSCimNwD body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LtIyyQ5lUErcOZ","request_duration_ms":1634}}' + - '{"last_request_metrics":{"request_id":"req_HTxP4aTOrvIsnP","request_duration_ms":1887}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -1021,7 +1023,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:23 GMT + - Thu, 04 Apr 2024 13:37:43 GMT Content-Type: - application/json Content-Length: @@ -1052,9 +1054,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FFbh4TJnQI3ZW8 + - req_jy9tAWNV0UBmAq Stripe-Account: - - acct_1P0hvY4KTZpW5r5h + - acct_1P1qU5QMcSCimNwD Stripe-Version: - '2023-10-16' Vary: @@ -1067,9 +1069,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hvY4KTZpW5r5h", + "id": "acct_1P1qU5QMcSCimNwD", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:17:22 GMT + recorded_at: Thu, 04 Apr 2024 13:37:43 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml index 9ce7fc4fde..3fa3bdbb0e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FFbh4TJnQI3ZW8","request_duration_ms":1118}}' + - '{"last_request_metrics":{"request_id":"req_jy9tAWNV0UBmAq","request_duration_ms":1128}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:23 GMT + - Thu, 04 Apr 2024 13:37:44 GMT Content-Type: - application/json Content-Length: @@ -63,7 +63,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Dxle6ambnNzGMR + - req_LTZ1iQ7jViVYpT Stripe-Version: - '2023-10-16' Vary: @@ -76,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0hvbKuuB1fWySnphwbA46F", + "id": "pm_1P1qU8KuuB1fWySnZdV2eZ0k", "object": "payment_method", "billing_details": { "address": { @@ -117,28 +117,28 @@ http_interactions: }, "wallet": null }, - "created": 1711966643, + "created": 1712237864, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:17:23 GMT + recorded_at: Thu, 04 Apr 2024 13:37:44 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1P0hvbKuuB1fWySnphwbA46F&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P1qU8KuuB1fWySnZdV2eZ0k&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Dxle6ambnNzGMR","request_duration_ms":471}}' + - '{"last_request_metrics":{"request_id":"req_LTZ1iQ7jViVYpT","request_duration_ms":398}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -155,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:24 GMT + - Thu, 04 Apr 2024 13:37:44 GMT Content-Type: - application/json Content-Length: @@ -182,15 +182,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3221df62-1efa-4f68-bc9a-481084dbc0d5 + - '08246155-0523-435e-ab08-90eea375e016' Original-Request: - - req_IFPoshfyuzAtNV + - req_SDlfB9PDXb4KhZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IFPoshfyuzAtNV + - req_SDlfB9PDXb4KhZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -205,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvcKuuB1fWySn2qMAW4Pl", + "id": "pi_3P1qU8KuuB1fWySn2YHTAkd6", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711966644, + "created": 1712237864, "currency": "aud", "customer": null, "description": null, @@ -232,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvbKuuB1fWySnphwbA46F", + "payment_method": "pm_1P1qU8KuuB1fWySnZdV2eZ0k", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,22 +257,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:23 GMT + recorded_at: Thu, 04 Apr 2024 13:37:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvcKuuB1fWySn2qMAW4Pl/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qU8KuuB1fWySn2YHTAkd6/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IFPoshfyuzAtNV","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_SDlfB9PDXb4KhZ","request_duration_ms":451}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -289,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:25 GMT + - Thu, 04 Apr 2024 13:37:45 GMT Content-Type: - application/json Content-Length: @@ -317,15 +317,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 955a38d6-f683-4ec9-ae3e-745e1aee014c + - 16aa2499-2a03-4bb0-a345-f4702d81534c Original-Request: - - req_yTVJzIu4xzBdz1 + - req_QhSbZdn46Whusk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_yTVJzIu4xzBdz1 + - req_QhSbZdn46Whusk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -340,7 +340,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvcKuuB1fWySn2qMAW4Pl", + "id": "pi_3P1qU8KuuB1fWySn2YHTAkd6", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -356,18 +356,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711966644, + "created": 1712237864, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P0hvcKuuB1fWySn21gozvRO", + "latest_charge": "ch_3P1qU8KuuB1fWySn2FfgDNgo", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvbKuuB1fWySnphwbA46F", + "payment_method": "pm_1P1qU8KuuB1fWySnZdV2eZ0k", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -392,7 +392,7 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:24 GMT + recorded_at: Thu, 04 Apr 2024 13:37:45 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -401,13 +401,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yTVJzIu4xzBdz1","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_QhSbZdn46Whusk","request_duration_ms":915}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -424,7 +424,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:28 GMT + - Thu, 04 Apr 2024 13:37:48 GMT Content-Type: - application/json Content-Length: @@ -451,15 +451,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7bf68c6c-e10c-4c16-be41-5223aa78b9f8 + - d1991332-1891-4d5f-9c1c-50c6d9094afa Original-Request: - - req_JIxGPj3qSK72eE + - req_RLDwPXSnA2roL4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JIxGPj3qSK72eE + - req_RLDwPXSnA2roL4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hveQMn01RU0IH", + "id": "acct_1P1qUB4E8jq5GXqS", "object": "account", "business_profile": { "annual_revenue": null, @@ -496,7 +496,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711966647, + "created": 1712237868, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -505,7 +505,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0hveQMn01RU0IH/external_accounts" + "url": "/v1/accounts/acct_1P1qUB4E8jq5GXqS/external_accounts" }, "future_requirements": { "alternatives": [], @@ -602,22 +602,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:17:27 GMT + recorded_at: Thu, 04 Apr 2024 13:37:48 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0hveQMn01RU0IH + uri: https://api.stripe.com/v1/accounts/acct_1P1qUB4E8jq5GXqS body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JIxGPj3qSK72eE","request_duration_ms":1761}}' + - '{"last_request_metrics":{"request_id":"req_RLDwPXSnA2roL4","request_duration_ms":1665}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -634,7 +634,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:29 GMT + - Thu, 04 Apr 2024 13:37:49 GMT Content-Type: - application/json Content-Length: @@ -665,9 +665,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OR1ot4mPDCrtpe + - req_GUViUk8J8uVpdf Stripe-Account: - - acct_1P0hveQMn01RU0IH + - acct_1P1qUB4E8jq5GXqS Stripe-Version: - '2023-10-16' Vary: @@ -680,9 +680,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hveQMn01RU0IH", + "id": "acct_1P1qUB4E8jq5GXqS", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:17:28 GMT + recorded_at: Thu, 04 Apr 2024 13:37:49 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml index 889dfa1fa3..bb839861ef 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OR1ot4mPDCrtpe","request_duration_ms":1014}}' + - '{"last_request_metrics":{"request_id":"req_GUViUk8J8uVpdf","request_duration_ms":1070}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:31 GMT + - Thu, 04 Apr 2024 13:37:51 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3a486fc8-7081-42e5-9448-12eaaab21320 + - fbba5462-f62d-4473-9042-09f37e393035 Original-Request: - - req_JlcagkGgFmf09l + - req_Lhf94tsrKwMxj9 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JlcagkGgFmf09l + - req_Lhf94tsrKwMxj9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hvhQOtfYFz63d", + "id": "acct_1P1qUE4Ek2ZwB7pH", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711966650, + "created": 1712237870, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0hvhQOtfYFz63d/external_accounts" + "url": "/v1/accounts/acct_1P1qUE4Ek2ZwB7pH/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:17:30 GMT + recorded_at: Thu, 04 Apr 2024 13:37:51 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -218,13 +218,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JlcagkGgFmf09l","request_duration_ms":1812}}' + - '{"last_request_metrics":{"request_id":"req_Lhf94tsrKwMxj9","request_duration_ms":1760}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:33 GMT + - Thu, 04 Apr 2024 13:37:54 GMT Content-Type: - application/json Content-Length: @@ -273,7 +273,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SD6TmRQwlO8i9h + - req_ncWbHoIxZpGKkT Stripe-Version: - '2023-10-16' Vary: @@ -286,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0hvkKuuB1fWySnHhJwKNp0", + "id": "pm_1P1qUHKuuB1fWySnzahOxFqp", "object": "payment_method", "billing_details": { "address": { @@ -327,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1711966653, + "created": 1712237874, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:17:32 GMT + recorded_at: Thu, 04 Apr 2024 13:37:54 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -342,19 +342,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SD6TmRQwlO8i9h","request_duration_ms":395}}' + - '{"last_request_metrics":{"request_id":"req_ncWbHoIxZpGKkT","request_duration_ms":357}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0hvhQOtfYFz63d + - acct_1P1qUE4Ek2ZwB7pH Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:34 GMT + - Thu, 04 Apr 2024 13:37:55 GMT Content-Type: - application/json Content-Length: @@ -394,17 +394,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8929364e-fcee-4841-bf21-90286e78e8cf + - f061a829-02ea-4b92-8826-479969b53cfa Original-Request: - - req_Jooh4BEh09MmaC + - req_zR4xiGCSo1ueFT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Jooh4BEh09MmaC + - req_zR4xiGCSo1ueFT Stripe-Account: - - acct_1P0hvhQOtfYFz63d + - acct_1P1qUE4Ek2ZwB7pH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -419,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvlQOtfYFz63d1S3oHL1K", + "id": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -435,18 +435,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1711966653, + "created": 1712237874, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P0hvlQOtfYFz63d17W6Uk5o", + "latest_charge": "ch_3P1qUI4Ek2ZwB7pH07qdMaAX", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvlQOtfYFz63d4BUPS5Hy", + "payment_method": "pm_1P1qUI4Ek2ZwB7pHTeU52Klq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,28 +471,28 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:33 GMT + recorded_at: Thu, 04 Apr 2024 13:37:55 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvlQOtfYFz63d1S3oHL1K + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUI4Ek2ZwB7pH0jJnfyPi body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Jooh4BEh09MmaC","request_duration_ms":1489}}' + - '{"last_request_metrics":{"request_id":"req_zR4xiGCSo1ueFT","request_duration_ms":1404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0hvhQOtfYFz63d + - acct_1P1qUE4Ek2ZwB7pH Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:35 GMT + - Thu, 04 Apr 2024 13:37:55 GMT Content-Type: - application/json Content-Length: @@ -537,9 +537,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_TjPcCKrV0d7ymx + - req_8IyKkuoF1szqpR Stripe-Account: - - acct_1P0hvhQOtfYFz63d + - acct_1P1qUE4Ek2ZwB7pH Stripe-Version: - '2023-10-16' Vary: @@ -552,7 +552,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvlQOtfYFz63d1S3oHL1K", + "id": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -568,18 +568,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1711966653, + "created": 1712237874, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P0hvlQOtfYFz63d17W6Uk5o", + "latest_charge": "ch_3P1qUI4Ek2ZwB7pH07qdMaAX", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvlQOtfYFz63d4BUPS5Hy", + "payment_method": "pm_1P1qUI4Ek2ZwB7pHTeU52Klq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -604,10 +604,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:34 GMT + recorded_at: Thu, 04 Apr 2024 13:37:56 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvlQOtfYFz63d1S3oHL1K + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUI4Ek2ZwB7pH0jJnfyPi body: encoding: US-ASCII string: '' @@ -623,7 +623,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P0hvhQOtfYFz63d + - acct_1P1qUE4Ek2ZwB7pH Connection: - close Accept-Encoding: @@ -638,7 +638,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:35 GMT + - Thu, 04 Apr 2024 13:37:56 GMT Content-Type: - application/json Content-Length: @@ -670,9 +670,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KPSoGkE7nvNfqA + - req_EfUN5Rj4O65tHE Stripe-Account: - - acct_1P0hvhQOtfYFz63d + - acct_1P1qUE4Ek2ZwB7pH Stripe-Version: - '2020-08-27' Vary: @@ -685,7 +685,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvlQOtfYFz63d1S3oHL1K", + "id": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -703,7 +703,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P0hvlQOtfYFz63d17W6Uk5o", + "id": "ch_3P1qUI4Ek2ZwB7pH07qdMaAX", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -711,7 +711,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P0hvlQOtfYFz63d14KNEbJT", + "balance_transaction": "txn_3P1qUI4Ek2ZwB7pH0QxwYXBd", "billing_details": { "address": { "city": null, @@ -727,7 +727,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711966653, + "created": 1712237874, "currency": "aud", "customer": null, "description": null, @@ -747,13 +747,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 51, + "risk_score": 24, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P0hvlQOtfYFz63d1S3oHL1K", - "payment_method": "pm_1P0hvlQOtfYFz63d4BUPS5Hy", + "payment_intent": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", + "payment_method": "pm_1P1qUI4Ek2ZwB7pHTeU52Klq", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -796,14 +796,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDBodmhRT3RmWUZ6NjNkKL-TqrAGMgb4Lds_0ZM6LBbjEEGODjni8tWktObzq-jhec7I_Q_T-kMGRTOWbdfl6e3_dhFPfEzDinAN", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDFxVUU0RWsyWndCN3BIKLTaurAGMgYUD3tJlQQ6LBYNnOvWrV27lg2z12RNCblPrcq9IS7UJX0NaQ7r3JTlMJazDJwQ_TbvcKoQ", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P0hvlQOtfYFz63d17W6Uk5o/refunds" + "url": "/v1/charges/ch_3P1qUI4Ek2ZwB7pH07qdMaAX/refunds" }, "review": null, "shipping": null, @@ -818,22 +818,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P0hvlQOtfYFz63d1S3oHL1K" + "url": "/v1/charges?payment_intent=pi_3P1qUI4Ek2ZwB7pH0jJnfyPi" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1711966653, + "created": 1712237874, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P0hvlQOtfYFz63d17W6Uk5o", + "latest_charge": "ch_3P1qUI4Ek2ZwB7pH07qdMaAX", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvlQOtfYFz63d4BUPS5Hy", + "payment_method": "pm_1P1qUI4Ek2ZwB7pHTeU52Klq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -858,10 +858,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:34 GMT + recorded_at: Thu, 04 Apr 2024 13:37:56 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3P0hvlQOtfYFz63d17W6Uk5o/refunds + uri: https://api.stripe.com/v1/charges/ch_3P1qUI4Ek2ZwB7pH07qdMaAX/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -879,7 +879,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P0hvhQOtfYFz63d + - acct_1P1qUE4Ek2ZwB7pH Connection: - close Accept-Encoding: @@ -894,7 +894,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:36 GMT + - Thu, 04 Apr 2024 13:37:57 GMT Content-Type: - application/json Content-Length: @@ -922,17 +922,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9405517c-b17a-403c-8ad0-0f46c69764f4 + - 4f9bea7d-3299-4cbb-9541-2d5f866f5683 Original-Request: - - req_0VkhDqHi0ceRgK + - req_I7dCkMSSNATdGF Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0VkhDqHi0ceRgK + - req_I7dCkMSSNATdGF Stripe-Account: - - acct_1P0hvhQOtfYFz63d + - acct_1P1qUE4Ek2ZwB7pH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -947,12 +947,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3P0hvlQOtfYFz63d1RyMfZ9w", + "id": "re_3P1qUI4Ek2ZwB7pH0euEVI1B", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P0hvlQOtfYFz63d1ZPMfDM4", + "balance_transaction": "txn_3P1qUI4Ek2ZwB7pH0SMQHq3F", "charge": { - "id": "ch_3P0hvlQOtfYFz63d17W6Uk5o", + "id": "ch_3P1qUI4Ek2ZwB7pH07qdMaAX", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -960,7 +960,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P0hvlQOtfYFz63d14KNEbJT", + "balance_transaction": "txn_3P1qUI4Ek2ZwB7pH0QxwYXBd", "billing_details": { "address": { "city": null, @@ -976,7 +976,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711966653, + "created": 1712237874, "currency": "aud", "customer": null, "description": null, @@ -996,13 +996,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 51, + "risk_score": 24, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P0hvlQOtfYFz63d1S3oHL1K", - "payment_method": "pm_1P0hvlQOtfYFz63d4BUPS5Hy", + "payment_intent": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", + "payment_method": "pm_1P1qUI4Ek2ZwB7pHTeU52Klq", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -1045,18 +1045,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDBodmhRT3RmWUZ6NjNkKMCTqrAGMgbyY5RUFRk6LBaT3wmNFdytmSSbdRYuUMdycJATyR94mCeZ-emUTnJlAObM_RmUJl9XBnk_", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDFxVUU0RWsyWndCN3BIKLXaurAGMgaDcnecduI6LBbXDFpR8ywGlbV-zbi23m5cCYDkjz3nYYK7Gp4t0E45mjeacdxOKwBPV3XF", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3P0hvlQOtfYFz63d1RyMfZ9w", + "id": "re_3P1qUI4Ek2ZwB7pH0euEVI1B", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P0hvlQOtfYFz63d1ZPMfDM4", - "charge": "ch_3P0hvlQOtfYFz63d17W6Uk5o", - "created": 1711966656, + "balance_transaction": "txn_3P1qUI4Ek2ZwB7pH0SMQHq3F", + "charge": "ch_3P1qUI4Ek2ZwB7pH07qdMaAX", + "created": 1712237877, "currency": "aud", "destination_details": { "card": { @@ -1067,7 +1067,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P0hvlQOtfYFz63d1S3oHL1K", + "payment_intent": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1077,7 +1077,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3P0hvlQOtfYFz63d17W6Uk5o/refunds" + "url": "/v1/charges/ch_3P1qUI4Ek2ZwB7pH07qdMaAX/refunds" }, "review": null, "shipping": null, @@ -1089,7 +1089,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1711966656, + "created": 1712237877, "currency": "aud", "destination_details": { "card": { @@ -1100,29 +1100,29 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P0hvlQOtfYFz63d1S3oHL1K", + "payment_intent": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Mon, 01 Apr 2024 10:17:36 GMT + recorded_at: Thu, 04 Apr 2024 13:37:58 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0hvhQOtfYFz63d + uri: https://api.stripe.com/v1/accounts/acct_1P1qUE4Ek2ZwB7pH body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TjPcCKrV0d7ymx","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_8IyKkuoF1szqpR","request_duration_ms":374}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -1139,7 +1139,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:38 GMT + - Thu, 04 Apr 2024 13:37:59 GMT Content-Type: - application/json Content-Length: @@ -1170,9 +1170,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hKiCpXqUl16Kl8 + - req_mquq9MlYxvy7SC Stripe-Account: - - acct_1P0hvhQOtfYFz63d + - acct_1P1qUE4Ek2ZwB7pH Stripe-Version: - '2023-10-16' Vary: @@ -1185,9 +1185,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hvhQOtfYFz63d", + "id": "acct_1P1qUE4Ek2ZwB7pH", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:17:37 GMT + recorded_at: Thu, 04 Apr 2024 13:37:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml index fc037da5b6..f8130ade65 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hKiCpXqUl16Kl8","request_duration_ms":1787}}' + - '{"last_request_metrics":{"request_id":"req_mquq9MlYxvy7SC","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:40 GMT + - Thu, 04 Apr 2024 13:38:00 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 14264278-d788-4d2e-ad3d-0117eb363c3c + - 619e306f-dcfa-4f05-9f12-8e3b83c144ef Original-Request: - - req_LHu8cqhZqgQMUJ + - req_mhZQ6HtuR8G75e Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LHu8cqhZqgQMUJ + - req_mhZQ6HtuR8G75e Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hvqQNl7gNJ86k", + "id": "acct_1P1qUN4GgEVWwVXY", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711966659, + "created": 1712237880, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0hvqQNl7gNJ86k/external_accounts" + "url": "/v1/accounts/acct_1P1qUN4GgEVWwVXY/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:17:39 GMT + recorded_at: Thu, 04 Apr 2024 13:38:00 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -218,13 +218,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LHu8cqhZqgQMUJ","request_duration_ms":1883}}' + - '{"last_request_metrics":{"request_id":"req_mhZQ6HtuR8G75e","request_duration_ms":1665}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:42 GMT + - Thu, 04 Apr 2024 13:38:02 GMT Content-Type: - application/json Content-Length: @@ -273,7 +273,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bo7V71DzluzpfV + - req_uUs92ctIEcV34e Stripe-Version: - '2023-10-16' Vary: @@ -286,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0hvuKuuB1fWySnyv0hrI42", + "id": "pm_1P1qUQKuuB1fWySnG16r4oQ8", "object": "payment_method", "billing_details": { "address": { @@ -327,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1711966662, + "created": 1712237882, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:17:41 GMT + recorded_at: Thu, 04 Apr 2024 13:38:02 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -342,19 +342,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bo7V71DzluzpfV","request_duration_ms":439}}' + - '{"last_request_metrics":{"request_id":"req_uUs92ctIEcV34e","request_duration_ms":397}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0hvqQNl7gNJ86k + - acct_1P1qUN4GgEVWwVXY Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:43 GMT + - Thu, 04 Apr 2024 13:38:03 GMT Content-Type: - application/json Content-Length: @@ -394,17 +394,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c184a160-d9d4-4966-a5fb-c6c60af56c00 + - 15c94cef-a4c3-4dad-981e-d9a5d6ceb6c3 Original-Request: - - req_UuTjMZxNofXIzO + - req_C1fm2DefrLevPR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UuTjMZxNofXIzO + - req_C1fm2DefrLevPR Stripe-Account: - - acct_1P0hvqQNl7gNJ86k + - acct_1P1qUN4GgEVWwVXY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -419,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvuQNl7gNJ86k0Jhc01Pm", + "id": "pi_3P1qUR4GgEVWwVXY1942ur74", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -435,7 +435,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711966662, + "created": 1712237883, "currency": "aud", "customer": null, "description": null, @@ -446,7 +446,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvuQNl7gNJ86k2HsxqojU", + "payment_method": "pm_1P1qUQ4GgEVWwVXYTsJd7So7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,28 +471,28 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:42 GMT + recorded_at: Thu, 04 Apr 2024 13:38:03 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvuQNl7gNJ86k0Jhc01Pm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUR4GgEVWwVXY1942ur74 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UuTjMZxNofXIzO","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_C1fm2DefrLevPR","request_duration_ms":518}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0hvqQNl7gNJ86k + - acct_1P1qUN4GgEVWwVXY Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:43 GMT + - Thu, 04 Apr 2024 13:38:03 GMT Content-Type: - application/json Content-Length: @@ -537,9 +537,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_AdmbOgLvCvz3We + - req_6fSsudVoicbiZk Stripe-Account: - - acct_1P0hvqQNl7gNJ86k + - acct_1P1qUN4GgEVWwVXY Stripe-Version: - '2023-10-16' Vary: @@ -552,7 +552,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvuQNl7gNJ86k0Jhc01Pm", + "id": "pi_3P1qUR4GgEVWwVXY1942ur74", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -568,7 +568,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711966662, + "created": 1712237883, "currency": "aud", "customer": null, "description": null, @@ -579,7 +579,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvuQNl7gNJ86k2HsxqojU", + "payment_method": "pm_1P1qUQ4GgEVWwVXYTsJd7So7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -604,10 +604,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:42 GMT + recorded_at: Thu, 04 Apr 2024 13:38:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P0hvuQNl7gNJ86k0Jhc01Pm/cancel + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUR4GgEVWwVXY1942ur74/cancel body: encoding: US-ASCII string: '' @@ -625,7 +625,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P0hvqQNl7gNJ86k + - acct_1P1qUN4GgEVWwVXY Connection: - close Accept-Encoding: @@ -640,7 +640,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:44 GMT + - Thu, 04 Apr 2024 13:38:04 GMT Content-Type: - application/json Content-Length: @@ -668,17 +668,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d9fddcbb-0ac1-4977-9c95-c29e88d0babf + - 9431c4ee-1a8e-4cb5-86fe-be6d5071d304 Original-Request: - - req_E5g5IXvjv9h9Gb + - req_yNAMSl9uKGzLLf Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_E5g5IXvjv9h9Gb + - req_yNAMSl9uKGzLLf Stripe-Account: - - acct_1P0hvqQNl7gNJ86k + - acct_1P1qUN4GgEVWwVXY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -693,7 +693,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0hvuQNl7gNJ86k0Jhc01Pm", + "id": "pi_3P1qUR4GgEVWwVXY1942ur74", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -704,7 +704,7 @@ http_interactions: "application": "", "application_fee_amount": null, "automatic_payment_methods": null, - "canceled_at": 1711966663, + "canceled_at": 1712237884, "cancellation_reason": null, "capture_method": "manual", "charges": { @@ -712,11 +712,11 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges?payment_intent=pi_3P0hvuQNl7gNJ86k0Jhc01Pm" + "url": "/v1/charges?payment_intent=pi_3P1qUR4GgEVWwVXY1942ur74" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1711966662, + "created": 1712237883, "currency": "aud", "customer": null, "description": null, @@ -727,7 +727,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0hvuQNl7gNJ86k2HsxqojU", + "payment_method": "pm_1P1qUQ4GgEVWwVXYTsJd7So7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -752,22 +752,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:17:43 GMT + recorded_at: Thu, 04 Apr 2024 13:38:04 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0hvqQNl7gNJ86k + uri: https://api.stripe.com/v1/accounts/acct_1P1qUN4GgEVWwVXY body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AdmbOgLvCvz3We","request_duration_ms":308}}' + - '{"last_request_metrics":{"request_id":"req_6fSsudVoicbiZk","request_duration_ms":346}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -784,7 +784,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:17:45 GMT + - Thu, 04 Apr 2024 13:38:05 GMT Content-Type: - application/json Content-Length: @@ -815,9 +815,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kMqUEhudX1xjNZ + - req_M2HXx1tZ6HbrSa Stripe-Account: - - acct_1P0hvqQNl7gNJ86k + - acct_1P1qUN4GgEVWwVXY Stripe-Version: - '2023-10-16' Vary: @@ -830,9 +830,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0hvqQNl7gNJ86k", + "id": "acct_1P1qUN4GgEVWwVXY", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:17:44 GMT + recorded_at: Thu, 04 Apr 2024 13:38:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml similarity index 60% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml index c93876b3f2..4b5c13f731 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml @@ -8,13 +8,13 @@ http_interactions: string: stripe_user_id=&client_id=bogus_client_id headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YyXcj9K9FRIiNe","request_duration_ms":374}}' + - '{"last_request_metrics":{"request_id":"req_5G9aqJo89J2ae9","request_duration_ms":975}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:52 GMT + - Thu, 04 Apr 2024 13:38:25 GMT Content-Type: - - application/json; charset=utf-8 + - application/json Content-Length: - - '96' + - '110' Connection: - keep-alive Cache-Control: @@ -57,27 +57,23 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XNFLMYKDQH6vzm + - req_czR7wiEtotT5KP Set-Cookie: - - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; - secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Tue, 25 Mar 2025 01:05:52 GMT; secure; + domain=stripe.com; path=/; expires=Fri, 04 Apr 2025 13:38:25 GMT; secure; HttpOnly; SameSite=Lax - - cid=50818e5c-1b1d-42ec-8a8a-fbdc026affc1; domain=stripe.com; path=/; expires=Sun, - 23 Jun 2024 01:05:52 GMT; secure; SameSite=Lax - - machine_identifier=YnZNMEy%2FWlKa7Gm7QnVeRdGoMMrrQXw%2B%2FCKlynr73IN%2FJO8YWXFPtj%2FJy%2FamU1aPXX0%3D; - domain=stripe.com; path=/; expires=Tue, 25 Mar 2025 01:05:52 GMT; secure; + - machine_identifier=8hhmxdy6jY%2Be4R3NQFvHYkHxzwigM2n8NkTLNwOr71TMZ9TOme1AmL7fLM3qoqYuu2A%3D; + domain=stripe.com; path=/; expires=Fri, 04 Apr 2025 13:38:25 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=dqPcVwwV5wGc%2BRXkhxMiXL3f5Ty7mKStR7xt%2BgGZOGpH1Vvopgi7gcEDerP2Lr%2BSVPM%3D; - domain=stripe.com; path=/; expires=Tue, 25 Mar 2025 01:05:52 GMT; secure; + - private_machine_identifier=hf3i%2BnHt%2F8p0WndP3Nv9mIborTcWXAnH%2F1VIctkexh5QR8IgxHE1TwVjYAzWb7wkvfU%3D; + domain=stripe.com; path=/; expires=Fri, 04 Apr 2025 13:38:25 GMT; secure; HttpOnly; SameSite=None - - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 - 00:00:00 GMT; secure - - stripe.csrf=ow3Uhl1_d_KlqxcAwdWmGKOqLhG-uQQKnlb-p8KaEAsY75zwAkXJgTvqXtUsAHnlXFwT6yqQUmkvE7nO1zaSbjw-AYTZVJwq3SPg2YJk-PMWG8UpZ5t2YmpI3FcHAh9lIii4Wl0Tow%3D%3D; + - stripe.csrf=NF33Y9hlhXOBAxUHC26pbjX6uJxJCgI3y8UqQZmnndJnKVITKzfNqAgxQL50wvj7jcu4wRx_RVYTVWlVLhGFbjw-AYTZVJxhovboiyspvyH2SyaglyGKyH-4_EfeaazO6oaSnx7AyQ%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" + Stripe-Version: + - '2023-10-16' Www-Authenticate: - Bearer realm="Stripe" X-Stripe-Routing-Context-Priority-Tier: @@ -86,10 +82,9 @@ http_interactions: - max-age=63072000; includeSubDomains; preload body: encoding: UTF-8 - string: |- - { - "error": "invalid_client", - "error_description": "No such application: 'bogus_client_id'" - } - recorded_at: Mon, 25 Mar 2024 01:05:52 GMT + string: '{"error":"invalid_client","error_description":"No such application: + ''bogus_client_id''","stripe_user_id":null} + + ' + recorded_at: Thu, 04 Apr 2024 13:38:25 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml index 2379e57198..ac3d206213 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YyXcj9K9FRIiNe","request_duration_ms":374}}' + - '{"last_request_metrics":{"request_id":"req_5G9aqJo89J2ae9","request_duration_ms":975}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:54 GMT + - Thu, 04 Apr 2024 13:38:27 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b5ae8fa2-666a-4aeb-9cdf-e30b113ad9db + - c575f0ac-06f4-4593-ad89-128f47972d68 Original-Request: - - req_Vtt9m004X8JFAw + - req_FIvfVhrt19W9ks Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Vtt9m004X8JFAw + - req_FIvfVhrt19W9ks Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1Oy1z24GAy4CLCUW", + "id": "acct_1P1qUn4GGuNzU93t", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711328753, + "created": 1712237906, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1Oy1z24GAy4CLCUW/external_accounts" + "url": "/v1/accounts/acct_1P1qUn4GGuNzU93t/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,22 +209,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 25 Mar 2024 01:05:54 GMT + recorded_at: Thu, 04 Apr 2024 13:38:27 GMT - request: method: post uri: https://connect.stripe.com/oauth/deauthorize body: encoding: UTF-8 - string: stripe_user_id=acct_1Oy1z24GAy4CLCUW&client_id= + string: stripe_user_id=acct_1P1qUn4GGuNzU93t&client_id= headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Vtt9m004X8JFAw","request_duration_ms":1786}}' + - '{"last_request_metrics":{"request_id":"req_FIvfVhrt19W9ks","request_duration_ms":1871}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,11 +241,11 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:54 GMT + - Thu, 04 Apr 2024 13:38:27 GMT Content-Type: - application/json Content-Length: - - '47' + - '81' Connection: - keep-alive Cache-Control: @@ -267,36 +267,31 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OHCReNyvhMrsgI + - req_Xun0z6BMx7u8Td Set-Cookie: - - __Host-session=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT; - secure; SameSite=None - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Tue, 25 Mar 2025 01:05:54 GMT; secure; + domain=stripe.com; path=/; expires=Fri, 04 Apr 2025 13:38:27 GMT; secure; HttpOnly; SameSite=Lax - - cid=69252190-cd74-4f45-9194-9f471919dc32; domain=stripe.com; path=/; expires=Sun, - 23 Jun 2024 01:05:54 GMT; secure; SameSite=Lax - - machine_identifier=aR%2BIDO68YE%2FV%2F5NgVpaP%2FOcB8Q9YfJvb2BzdWt%2BZVrrC1nIP2EIWkX1UkyqzGQwGlGQ%3D; - domain=stripe.com; path=/; expires=Tue, 25 Mar 2025 01:05:54 GMT; secure; + - machine_identifier=XNePXGP6k0kAiCZWTz7EerdMXu9rquf749s%2FEvkkZsBG4SChJqopqQB1GNpHG7AqbDc%3D; + domain=stripe.com; path=/; expires=Fri, 04 Apr 2025 13:38:27 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=Q7hoqLOLgn7ATQVfXCnDUk26QRTZ0ruZ%2FQbGVAFq0qddTiKUfg2ITQFuDeeerxLxKnw%3D; - domain=stripe.com; path=/; expires=Tue, 25 Mar 2025 01:05:54 GMT; secure; + - private_machine_identifier=i9%2F2XuiaVcAvmWtafUOT2%2BNfchqlozTQQzA8ZB7yChosSl%2BZY46zmldMDbZMCyWxDw8%3D; + domain=stripe.com; path=/; expires=Fri, 04 Apr 2025 13:38:27 GMT; secure; HttpOnly; SameSite=None - - site-auth=; domain=stripe.com; path=/; max-age=0; expires=Thu, 01 Jan 1970 - 00:00:00 GMT; secure - - stripe.csrf=Ab9IU_GLeCf6zIAQTRXKzF5nZm1j9K1y-sEuZcHmqQd_772w-RwheXWpeDo8CPJQbJN6c-xhMN5GCbLDlho4lzw-AYTZVJxuB9C5EWzN7Ov3Zz1z3QpiUK6iuOPeHHjOww65DVjEUg%3D%3D; + - stripe.csrf=mhCN3TcRvJPGIMV_0e1gj1n5XmFQzRN_ecBJNkrtjA1nKsux22pK9Qkr3UDSx__8xyQVysl2yKOm0myghi_5Zjw-AYTZVJw14ZeUiMEQbtinmj0zJMSIA-ji2R2F_rIbFCihnr_uig%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" + Stripe-Version: + - '2023-10-16' X-Stripe-Routing-Context-Priority-Tier: - api-testmode Strict-Transport-Security: - max-age=63072000; includeSubDomains; preload body: encoding: UTF-8 - string: |- - { - "stripe_user_id": "acct_1Oy1z24GAy4CLCUW" - } - recorded_at: Mon, 25 Mar 2024 01:05:54 GMT + string: '{"error":null,"error_description":null,"stripe_user_id":"acct_1P1qUn4GGuNzU93t"} + + ' + recorded_at: Thu, 04 Apr 2024 13:38:27 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml index 8f90bedbe6..280b6b88f9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kQsKDQ3Ilctbs9","request_duration_ms":1431}}' + - '{"last_request_metrics":{"request_id":"req_PBAG82sOA0Kdel","request_duration_ms":1632}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:06:01 GMT + - Thu, 04 Apr 2024 13:38:37 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fa660551-82fa-4d22-9775-33bc59e40ec5 + - d42dc9cd-88f8-44ec-9fc4-f0186a8dac9e Original-Request: - - req_u8gJ8G7RcIiERL + - req_Zg3tdEfNeLKrWU Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_u8gJ8G7RcIiERL + - req_Zg3tdEfNeLKrWU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1zBKuuB1fWySnGoPrLKzU", + "id": "pm_1P1qUzKuuB1fWySndKcTlyWm", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328761, + "created": 1712237917, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:06:01 GMT + recorded_at: Thu, 04 Apr 2024 13:38:37 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1Oy1zBKuuB1fWySnGoPrLKzU&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P1qUzKuuB1fWySndKcTlyWm&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_u8gJ8G7RcIiERL","request_duration_ms":455}}' + - '{"last_request_metrics":{"request_id":"req_Zg3tdEfNeLKrWU","request_duration_ms":469}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:06:02 GMT + - Thu, 04 Apr 2024 13:38:37 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7aca0127-2764-4eb5-b183-a408bb616d9b + - fb3b4be3-623b-49d4-a416-5dd98cab5b32 Original-Request: - - req_PrUpQJ5wWEzkD6 + - req_DfdVzi2FyJBxbY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PrUpQJ5wWEzkD6 + - req_DfdVzi2FyJBxbY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1zCKuuB1fWySn0UZ3Zant", + "id": "pi_3P1qUzKuuB1fWySn1oQIpPtE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328762, + "created": 1712237917, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1zBKuuB1fWySnGoPrLKzU", + "payment_method": "pm_1P1qUzKuuB1fWySndKcTlyWm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:06:02 GMT + recorded_at: Thu, 04 Apr 2024 13:38:37 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1zCKuuB1fWySn0UZ3Zant/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUzKuuB1fWySn1oQIpPtE/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PrUpQJ5wWEzkD6","request_duration_ms":395}}' + - '{"last_request_metrics":{"request_id":"req_DfdVzi2FyJBxbY","request_duration_ms":389}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:06:03 GMT + - Thu, 04 Apr 2024 13:38:38 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 22169816-74c6-4ac7-85a2-f6eba0b13be3 + - 4df1f016-9c82-427c-b5ae-48ea748079e3 Original-Request: - - req_8znkZW1stTKAYj + - req_CqqhHVo4Yo4mFn Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8znkZW1stTKAYj + - req_CqqhHVo4Yo4mFn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1zCKuuB1fWySn0UZ3Zant", + "id": "pi_3P1qUzKuuB1fWySn1oQIpPtE", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328762, + "created": 1712237917, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1zCKuuB1fWySn0ryNBv7i", + "latest_charge": "ch_3P1qUzKuuB1fWySn1n3iHIgm", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1zBKuuB1fWySnGoPrLKzU", + "payment_method": "pm_1P1qUzKuuB1fWySndKcTlyWm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:06:03 GMT + recorded_at: Thu, 04 Apr 2024 13:38:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1zCKuuB1fWySn0UZ3Zant/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUzKuuB1fWySn1oQIpPtE/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8znkZW1stTKAYj","request_duration_ms":965}}' + - '{"last_request_metrics":{"request_id":"req_CqqhHVo4Yo4mFn","request_duration_ms":1243}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:06:04 GMT + - Thu, 04 Apr 2024 13:38:40 GMT Content-Type: - application/json Content-Length: @@ -457,15 +457,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - dc31bd6b-cbf0-4281-907a-0c30a2223bf3 + - 1e1cf152-8439-444f-ba5e-7fe2a99305b7 Original-Request: - - req_4O9sdYTCigv3lA + - req_p1hkOWoUJyv0CV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4O9sdYTCigv3lA + - req_p1hkOWoUJyv0CV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -480,7 +480,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1zCKuuB1fWySn0UZ3Zant", + "id": "pi_3P1qUzKuuB1fWySn1oQIpPtE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -496,18 +496,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328762, + "created": 1712237917, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1zCKuuB1fWySn0ryNBv7i", + "latest_charge": "ch_3P1qUzKuuB1fWySn1n3iHIgm", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1zBKuuB1fWySnGoPrLKzU", + "payment_method": "pm_1P1qUzKuuB1fWySndKcTlyWm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -532,22 +532,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:06:04 GMT + recorded_at: Thu, 04 Apr 2024 13:38:40 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1zCKuuB1fWySn0UZ3Zant + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUzKuuB1fWySn1oQIpPtE body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4O9sdYTCigv3lA","request_duration_ms":1215}}' + - '{"last_request_metrics":{"request_id":"req_p1hkOWoUJyv0CV","request_duration_ms":1326}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -564,7 +564,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:06:04 GMT + - Thu, 04 Apr 2024 13:38:41 GMT Content-Type: - application/json Content-Length: @@ -596,7 +596,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SIi2VfiKBKwO71 + - req_mMJQsa3EGnz6Dv Stripe-Version: - '2023-10-16' Vary: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1zCKuuB1fWySn0UZ3Zant", + "id": "pi_3P1qUzKuuB1fWySn1oQIpPtE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328762, + "created": 1712237917, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1zCKuuB1fWySn0ryNBv7i", + "latest_charge": "ch_3P1qUzKuuB1fWySn1n3iHIgm", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1zBKuuB1fWySnGoPrLKzU", + "payment_method": "pm_1P1qUzKuuB1fWySndKcTlyWm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,5 +661,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:06:04 GMT + recorded_at: Thu, 04 Apr 2024 13:38:41 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml index bfe47cfa0a..4477db1f56 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GMmsMozBYYEBbf","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_p2ofUu7gSQOwEV","request_duration_ms":481}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:58 GMT + - Thu, 04 Apr 2024 13:38:33 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - faccba67-eaf2-4447-99d5-6cca21f69ee4 + - 1197f9f6-262c-494e-a0e1-84159b58f414 Original-Request: - - req_uNbDslXVsHkFhI + - req_SXqnGX50TTk9BX Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_uNbDslXVsHkFhI + - req_SXqnGX50TTk9BX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1z8KuuB1fWySnhplJ1c5u", + "id": "pm_1P1qUvKuuB1fWySnV2gmkV0Q", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328758, + "created": 1712237913, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:58 GMT + recorded_at: Thu, 04 Apr 2024 13:38:33 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1Oy1z8KuuB1fWySnhplJ1c5u&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P1qUvKuuB1fWySnV2gmkV0Q&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uNbDslXVsHkFhI","request_duration_ms":481}}' + - '{"last_request_metrics":{"request_id":"req_SXqnGX50TTk9BX","request_duration_ms":449}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:58 GMT + - Thu, 04 Apr 2024 13:38:33 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 02c479b2-32bb-44ed-be7c-f70827aedf86 + - 484dfab1-6019-4985-9d93-92c1ed3ba8c9 Original-Request: - - req_biVei4VVU7CUNp + - req_XjFYZ1UKP4I4yf Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_biVei4VVU7CUNp + - req_XjFYZ1UKP4I4yf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1z8KuuB1fWySn0tpaq7HZ", + "id": "pi_3P1qUvKuuB1fWySn2v6UXMQ9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328758, + "created": 1712237913, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1z8KuuB1fWySnhplJ1c5u", + "payment_method": "pm_1P1qUvKuuB1fWySnV2gmkV0Q", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:58 GMT + recorded_at: Thu, 04 Apr 2024 13:38:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1z8KuuB1fWySn0tpaq7HZ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUvKuuB1fWySn2v6UXMQ9/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_biVei4VVU7CUNp","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_XjFYZ1UKP4I4yf","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:59 GMT + - Thu, 04 Apr 2024 13:38:34 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3f52d2f8-a002-4772-a7c4-c2fb9bbae913 + - ad77363c-7641-4543-8d88-ad57e4f97731 Original-Request: - - req_7Nwb9PvuMZZcwK + - req_oFTnMskEV3fDWm Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7Nwb9PvuMZZcwK + - req_oFTnMskEV3fDWm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1z8KuuB1fWySn0tpaq7HZ", + "id": "pi_3P1qUvKuuB1fWySn2v6UXMQ9", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328758, + "created": 1712237913, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1z8KuuB1fWySn0OS8ZevD", + "latest_charge": "ch_3P1qUvKuuB1fWySn23MtaEQ8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1z8KuuB1fWySnhplJ1c5u", + "payment_method": "pm_1P1qUvKuuB1fWySnV2gmkV0Q", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:59 GMT + recorded_at: Thu, 04 Apr 2024 13:38:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1z8KuuB1fWySn0tpaq7HZ/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUvKuuB1fWySn2v6UXMQ9/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7Nwb9PvuMZZcwK","request_duration_ms":922}}' + - '{"last_request_metrics":{"request_id":"req_oFTnMskEV3fDWm","request_duration_ms":918}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:06:01 GMT + - Thu, 04 Apr 2024 13:38:36 GMT Content-Type: - application/json Content-Length: @@ -457,15 +457,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c2b6ba83-b62c-40e5-bb10-27136840fae1 + - 6f6e22f5-0b8a-4684-a54a-ac18fc633afc Original-Request: - - req_kQsKDQ3Ilctbs9 + - req_PBAG82sOA0Kdel Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kQsKDQ3Ilctbs9 + - req_PBAG82sOA0Kdel Stripe-Should-Retry: - 'false' Stripe-Version: @@ -480,7 +480,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1z8KuuB1fWySn0tpaq7HZ", + "id": "pi_3P1qUvKuuB1fWySn2v6UXMQ9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -496,18 +496,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328758, + "created": 1712237913, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1z8KuuB1fWySn0OS8ZevD", + "latest_charge": "ch_3P1qUvKuuB1fWySn23MtaEQ8", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1z8KuuB1fWySnhplJ1c5u", + "payment_method": "pm_1P1qUvKuuB1fWySnV2gmkV0Q", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -532,5 +532,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:06:01 GMT + recorded_at: Thu, 04 Apr 2024 13:38:36 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml index 84bdf814cf..7fa5659c38 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YZPVV40T75AV4b","request_duration_ms":384}}' + - '{"last_request_metrics":{"request_id":"req_5RY5kbY6QMHQeb","request_duration_ms":396}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:57 GMT + - Thu, 04 Apr 2024 13:38:32 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3632b8b5-f38b-4574-a804-b65151b9ea99 + - 45bfa804-4620-4efa-883f-c047506a4759 Original-Request: - - req_rtKoi0QiS5I6v1 + - req_E5xBBgNfiB3Q4m Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rtKoi0QiS5I6v1 + - req_E5xBBgNfiB3Q4m Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1z7KuuB1fWySnGplLB3LD", + "id": "pm_1P1qUtKuuB1fWySnkP12AaIv", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328757, + "created": 1712237912, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:57 GMT + recorded_at: Thu, 04 Apr 2024 13:38:32 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1Oy1z7KuuB1fWySnGplLB3LD&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P1qUtKuuB1fWySnkP12AaIv&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rtKoi0QiS5I6v1","request_duration_ms":514}}' + - '{"last_request_metrics":{"request_id":"req_E5xBBgNfiB3Q4m","request_duration_ms":458}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:57 GMT + - Thu, 04 Apr 2024 13:38:32 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a39e4fc3-09fb-4d53-90e5-ab206db93934 + - a1f72abb-56ee-4fa8-9b94-9c2f35c2649f Original-Request: - - req_GMmsMozBYYEBbf + - req_p2ofUu7gSQOwEV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GMmsMozBYYEBbf + - req_p2ofUu7gSQOwEV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1z7KuuB1fWySn2FvqaRuv", + "id": "pi_3P1qUuKuuB1fWySn0h8VAG9r", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328757, + "created": 1712237912, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1z7KuuB1fWySnGplLB3LD", + "payment_method": "pm_1P1qUtKuuB1fWySnkP12AaIv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,5 +262,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:58 GMT + recorded_at: Thu, 04 Apr 2024 13:38:32 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml index 1f59f0363c..c932dd09cb 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jPi4hZaxcZWWSD","request_duration_ms":450}}' + - '{"last_request_metrics":{"request_id":"req_3oMKFPbLvBvMMy","request_duration_ms":500}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:56 GMT + - Thu, 04 Apr 2024 13:38:30 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - '09a637f2-09b3-4e97-a0af-8ad176a333bf' + - 8cddc0fd-7feb-426a-9d8a-1053835be9da Original-Request: - - req_cgjhdLqxTeLX1s + - req_6cO4XaUgsFuh9T Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cgjhdLqxTeLX1s + - req_6cO4XaUgsFuh9T Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1z5KuuB1fWySnXm37GVsI", + "id": "pm_1P1qUrKuuB1fWySntae3NFPU", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328755, + "created": 1712237909, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:56 GMT + recorded_at: Thu, 04 Apr 2024 13:38:30 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1Oy1z5KuuB1fWySnXm37GVsI&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P1qUrKuuB1fWySntae3NFPU&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cgjhdLqxTeLX1s","request_duration_ms":498}}' + - '{"last_request_metrics":{"request_id":"req_6cO4XaUgsFuh9T","request_duration_ms":494}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:56 GMT + - Thu, 04 Apr 2024 13:38:30 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 950000b0-74b0-4264-969a-5a2701d6be1c + - da8f57d2-2ebc-42bf-af3e-47c5056ddd90 Original-Request: - - req_jAIenvWMcDTkyq + - req_zE8MJw81wHeViI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jAIenvWMcDTkyq + - req_zE8MJw81wHeViI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1z6KuuB1fWySn2F1MYjN4", + "id": "pi_3P1qUsKuuB1fWySn0pnrVG5s", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328756, + "created": 1712237910, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1z5KuuB1fWySnXm37GVsI", + "payment_method": "pm_1P1qUrKuuB1fWySntae3NFPU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:56 GMT + recorded_at: Thu, 04 Apr 2024 13:38:30 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1z6KuuB1fWySn2F1MYjN4 + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUsKuuB1fWySn0pnrVG5s body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jAIenvWMcDTkyq","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_zE8MJw81wHeViI","request_duration_ms":500}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:56 GMT + - Thu, 04 Apr 2024 13:38:31 GMT Content-Type: - application/json Content-Length: @@ -326,7 +326,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_YZPVV40T75AV4b + - req_5RY5kbY6QMHQeb Stripe-Version: - '2023-10-16' Vary: @@ -339,7 +339,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1z6KuuB1fWySn2F1MYjN4", + "id": "pi_3P1qUsKuuB1fWySn0pnrVG5s", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -355,7 +355,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328756, + "created": 1712237910, "currency": "aud", "customer": null, "description": null, @@ -366,7 +366,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1z5KuuB1fWySnXm37GVsI", + "payment_method": "pm_1P1qUrKuuB1fWySntae3NFPU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -391,5 +391,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:56 GMT + recorded_at: Thu, 04 Apr 2024 13:38:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml index 6697624818..52914a0014 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OHCReNyvhMrsgI","request_duration_ms":427}}' + - '{"last_request_metrics":{"request_id":"req_Xun0z6BMx7u8Td","request_duration_ms":500}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:55 GMT + - Thu, 04 Apr 2024 13:38:28 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 64e0bd0f-46ed-48c9-9aae-d636ae1868f9 + - 46a7bb0c-2860-441b-9370-b7d5bf669353 Original-Request: - - req_VaAL4U5L3n958r + - req_YeSyN3KwTkqmpx Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VaAL4U5L3n958r + - req_YeSyN3KwTkqmpx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1z4KuuB1fWySnO5ZNDte6", + "id": "pm_1P1qUqKuuB1fWySns3LSy7Ld", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328754, + "created": 1712237908, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:55 GMT + recorded_at: Thu, 04 Apr 2024 13:38:28 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1Oy1z4KuuB1fWySnO5ZNDte6&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P1qUqKuuB1fWySns3LSy7Ld&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VaAL4U5L3n958r","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_YeSyN3KwTkqmpx","request_duration_ms":512}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:55 GMT + - Thu, 04 Apr 2024 13:38:29 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - aec35ada-663a-4399-ad99-da58544a63e2 + - 99b2a7a0-83a5-451c-bd2f-bfe975485b8f Original-Request: - - req_jPi4hZaxcZWWSD + - req_3oMKFPbLvBvMMy Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jPi4hZaxcZWWSD + - req_3oMKFPbLvBvMMy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1z5KuuB1fWySn0m4n08NN", + "id": "pi_3P1qUqKuuB1fWySn1Sa2QyOf", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328755, + "created": 1712237908, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1z4KuuB1fWySnO5ZNDte6", + "payment_method": "pm_1P1qUqKuuB1fWySns3LSy7Ld", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,5 +262,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:55 GMT + recorded_at: Thu, 04 Apr 2024 13:38:29 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml index a2e20486a4..c2cc8c9fa0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml @@ -8,11 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_N3z3Q56Qvhb9Yh","request_duration_ms":374}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -29,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:10 GMT + - Thu, 04 Apr 2024 13:35:12 GMT Content-Type: - application/json Content-Length: @@ -56,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 87abc46e-2d05-4378-8119-4f411499c4f6 + - 5bf042f9-9e5d-49ab-a617-546ec867ef83 Original-Request: - - req_mMCwnyftaTO0A9 + - req_NtjAFxOD3MZrSD Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mMCwnyftaTO0A9 + - req_NtjAFxOD3MZrSD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -79,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0iBqKuuB1fWySnELWe8IYX", + "id": "pm_1P1qRgKuuB1fWySn7MLkOF0U", "object": "payment_method", "billing_details": { "address": { @@ -120,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1711967650, + "created": 1712237712, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:34:10 GMT + recorded_at: Thu, 04 Apr 2024 13:35:12 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -135,13 +137,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mMCwnyftaTO0A9","request_duration_ms":791}}' + - '{"last_request_metrics":{"request_id":"req_NtjAFxOD3MZrSD","request_duration_ms":490}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -158,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:12 GMT + - Thu, 04 Apr 2024 13:35:14 GMT Content-Type: - application/json Content-Length: @@ -185,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b16226ad-7fa4-473f-a888-b5b6c0fec934 + - b6e76dc2-75e9-4d82-ba28-269e70b2b25c Original-Request: - - req_KlLE3OrUB0oItW + - req_Nojg30SqCqaZhM Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KlLE3OrUB0oItW + - req_Nojg30SqCqaZhM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0iBrQQQ2czqbXz", + "id": "acct_1P1qRgQLp18wPYiN", "object": "account", "business_profile": { "annual_revenue": null, @@ -230,7 +232,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711967651, + "created": 1712237713, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -239,7 +241,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0iBrQQQ2czqbXz/external_accounts" + "url": "/v1/accounts/acct_1P1qRgQLp18wPYiN/external_accounts" }, "future_requirements": { "alternatives": [], @@ -336,22 +338,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:34:12 GMT + recorded_at: Thu, 04 Apr 2024 13:35:14 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1P0iBqKuuB1fWySnELWe8IYX + uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRgKuuB1fWySn7MLkOF0U body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KlLE3OrUB0oItW","request_duration_ms":1783}}' + - '{"last_request_metrics":{"request_id":"req_Nojg30SqCqaZhM","request_duration_ms":1704}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -368,7 +370,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:12 GMT + - Thu, 04 Apr 2024 13:35:14 GMT Content-Type: - application/json Content-Length: @@ -400,7 +402,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xntwL32OdFuHO2 + - req_VXBQonedaIlsL0 Stripe-Version: - '2023-10-16' Vary: @@ -413,7 +415,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0iBqKuuB1fWySnELWe8IYX", + "id": "pm_1P1qRgKuuB1fWySn7MLkOF0U", "object": "payment_method", "billing_details": { "address": { @@ -454,13 +456,13 @@ http_interactions: }, "wallet": null }, - "created": 1711967650, + "created": 1712237712, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:34:13 GMT + recorded_at: Thu, 04 Apr 2024 13:35:14 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -469,19 +471,19 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xntwL32OdFuHO2","request_duration_ms":383}}' + - '{"last_request_metrics":{"request_id":"req_VXBQonedaIlsL0","request_duration_ms":299}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0iBrQQQ2czqbXz + - acct_1P1qRgQLp18wPYiN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -494,7 +496,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:13 GMT + - Thu, 04 Apr 2024 13:35:14 GMT Content-Type: - application/json Content-Length: @@ -525,9 +527,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_T0KGhMK82XR0nv + - req_g3gf7KWKtazS1I Stripe-Account: - - acct_1P0iBrQQQ2czqbXz + - acct_1P1qRgQLp18wPYiN Stripe-Version: - '2023-10-16' Vary: @@ -545,28 +547,28 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Mon, 01 Apr 2024 10:34:13 GMT + recorded_at: Thu, 04 Apr 2024 13:35:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: payment_method=pm_1P0iBqKuuB1fWySnELWe8IYX + string: payment_method=pm_1P1qRgKuuB1fWySn7MLkOF0U headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_T0KGhMK82XR0nv","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_g3gf7KWKtazS1I","request_duration_ms":302}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0iBrQQQ2czqbXz + - acct_1P1qRgQLp18wPYiN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -579,7 +581,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:13 GMT + - Thu, 04 Apr 2024 13:35:15 GMT Content-Type: - application/json Content-Length: @@ -606,17 +608,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9b36e664-fbf7-467a-9985-9f27f375ff75 + - d0613ebc-07e0-4205-a86d-6af13ab4f66a Original-Request: - - req_BlhoEtliLzNeTN + - req_6h8LjZMCv2T9aV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BlhoEtliLzNeTN + - req_6h8LjZMCv2T9aV Stripe-Account: - - acct_1P0iBrQQQ2czqbXz + - acct_1P1qRgQLp18wPYiN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -631,7 +633,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0iBtQQQ2czqbXzXRQy4xCv", + "id": "pm_1P1qRjQLp18wPYiNw7mkVVqQ", "object": "payment_method", "billing_details": { "address": { @@ -672,28 +674,28 @@ http_interactions: }, "wallet": null }, - "created": 1711967653, + "created": 1712237715, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:34:13 GMT + recorded_at: Thu, 04 Apr 2024 13:35:15 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0iBrQQQ2czqbXz + uri: https://api.stripe.com/v1/accounts/acct_1P1qRgQLp18wPYiN body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BlhoEtliLzNeTN","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_6h8LjZMCv2T9aV","request_duration_ms":411}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -710,7 +712,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:14 GMT + - Thu, 04 Apr 2024 13:35:16 GMT Content-Type: - application/json Content-Length: @@ -741,9 +743,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_I9EbXGMXci58JH + - req_KqgGyOZ4kpr1Uv Stripe-Account: - - acct_1P0iBrQQQ2czqbXz + - acct_1P1qRgQLp18wPYiN Stripe-Version: - '2023-10-16' Vary: @@ -756,9 +758,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0iBrQQQ2czqbXz", + "id": "acct_1P1qRgQLp18wPYiN", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:34:14 GMT + recorded_at: Thu, 04 Apr 2024 13:35:16 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml index da25dc96d5..7c6bee1f07 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_I9EbXGMXci58JH","request_duration_ms":1014}}' + - '{"last_request_metrics":{"request_id":"req_KqgGyOZ4kpr1Uv","request_duration_ms":1136}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:15 GMT + - Thu, 04 Apr 2024 13:35:17 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9a9b78cb-d5b2-4607-8647-b3b0b7164d7f + - 462e8471-e461-4804-8626-df367259b496 Original-Request: - - req_mtxlbfRKrdqbTe + - req_CgyZEjCCTctily Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mtxlbfRKrdqbTe + - req_CgyZEjCCTctily Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0iBvKuuB1fWySnQ3GGNr5D", + "id": "pm_1P1qRlKuuB1fWySnxJpaHpSs", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1711967655, + "created": 1712237717, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:34:15 GMT + recorded_at: Thu, 04 Apr 2024 13:35:17 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,13 +137,13 @@ http_interactions: string: name=Apple+Customer&email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mtxlbfRKrdqbTe","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_CgyZEjCCTctily","request_duration_ms":441}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:15 GMT + - Thu, 04 Apr 2024 13:35:17 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a9a252ea-ff33-4041-824e-47536ea82dec + - 6163960f-107d-445b-a162-e4b8f452f136 Original-Request: - - req_8PyoP9fCUiGRLY + - req_t9sQ5FMva6hudB Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8PyoP9fCUiGRLY + - req_t9sQ5FMva6hudB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PqOzU8qAZYbzy8", + "id": "cus_PrZaK34sju0cOD", "object": "customer", "address": null, "balance": 0, - "created": 1711967655, + "created": 1712237717, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "740F2A2E", + "invoice_prefix": "918DBADA", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,22 +238,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 01 Apr 2024 10:34:15 GMT + recorded_at: Thu, 04 Apr 2024 13:35:17 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P0iBvKuuB1fWySnQ3GGNr5D/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRlKuuB1fWySnxJpaHpSs/attach body: encoding: UTF-8 - string: customer=cus_PqOzU8qAZYbzy8 + string: customer=cus_PrZaK34sju0cOD headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8PyoP9fCUiGRLY","request_duration_ms":486}}' + - '{"last_request_metrics":{"request_id":"req_t9sQ5FMva6hudB","request_duration_ms":451}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:16 GMT + - Thu, 04 Apr 2024 13:35:18 GMT Content-Type: - application/json Content-Length: @@ -298,15 +298,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ff5f81e9-99f8-4ae0-adb2-b7ad3c8be4f4 + - 47691c89-d093-4ce3-952f-a391f0a7e689 Original-Request: - - req_gyMt4WsKnRnDh9 + - req_OjEzuHTwpcWmvv Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gyMt4WsKnRnDh9 + - req_OjEzuHTwpcWmvv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0iBvKuuB1fWySnQ3GGNr5D", + "id": "pm_1P1qRlKuuB1fWySnxJpaHpSs", "object": "payment_method", "billing_details": { "address": { @@ -362,13 +362,13 @@ http_interactions: }, "wallet": null }, - "created": 1711967655, - "customer": "cus_PqOzU8qAZYbzy8", + "created": 1712237717, + "customer": "cus_PrZaK34sju0cOD", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:34:16 GMT + recorded_at: Thu, 04 Apr 2024 13:35:18 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -377,13 +377,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gyMt4WsKnRnDh9","request_duration_ms":671}}' + - '{"last_request_metrics":{"request_id":"req_OjEzuHTwpcWmvv","request_duration_ms":751}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:18 GMT + - Thu, 04 Apr 2024 13:35:20 GMT Content-Type: - application/json Content-Length: @@ -427,15 +427,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 38b82023-270d-4b5f-ad08-e879dc0c8497 + - 5df19bd3-0ab8-4d7a-9867-1e8b4358d3e0 Original-Request: - - req_rFlG6EIzTsn5Gc + - req_xmlGdGjbFw4UF6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rFlG6EIzTsn5Gc + - req_xmlGdGjbFw4UF6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -450,7 +450,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0iBw4CpUvfJTwy", + "id": "acct_1P1qRm4DIQPXhccp", "object": "account", "business_profile": { "annual_revenue": null, @@ -472,7 +472,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711967657, + "created": 1712237719, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -481,7 +481,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0iBw4CpUvfJTwy/external_accounts" + "url": "/v1/accounts/acct_1P1qRm4DIQPXhccp/external_accounts" }, "future_requirements": { "alternatives": [], @@ -578,22 +578,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:34:18 GMT + recorded_at: Thu, 04 Apr 2024 13:35:20 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1P0iBvKuuB1fWySnQ3GGNr5D + uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRlKuuB1fWySnxJpaHpSs body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rFlG6EIzTsn5Gc","request_duration_ms":1881}}' + - '{"last_request_metrics":{"request_id":"req_xmlGdGjbFw4UF6","request_duration_ms":2099}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -610,7 +610,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:18 GMT + - Thu, 04 Apr 2024 13:35:20 GMT Content-Type: - application/json Content-Length: @@ -642,7 +642,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GpP9PQR8v2I8Az + - req_ZorJaV7NWTUU5M Stripe-Version: - '2023-10-16' Vary: @@ -655,7 +655,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0iBvKuuB1fWySnQ3GGNr5D", + "id": "pm_1P1qRlKuuB1fWySnxJpaHpSs", "object": "payment_method", "billing_details": { "address": { @@ -696,13 +696,13 @@ http_interactions: }, "wallet": null }, - "created": 1711967655, - "customer": "cus_PqOzU8qAZYbzy8", + "created": 1712237717, + "customer": "cus_PrZaK34sju0cOD", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:34:18 GMT + recorded_at: Thu, 04 Apr 2024 13:35:20 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -711,19 +711,19 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GpP9PQR8v2I8Az","request_duration_ms":300}}' + - '{"last_request_metrics":{"request_id":"req_ZorJaV7NWTUU5M","request_duration_ms":300}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0iBw4CpUvfJTwy + - acct_1P1qRm4DIQPXhccp Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -736,7 +736,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:19 GMT + - Thu, 04 Apr 2024 13:35:21 GMT Content-Type: - application/json Content-Length: @@ -767,9 +767,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dwhyzLrV4PAdEw + - req_mn3UGFhvBD2jdX Stripe-Account: - - acct_1P0iBw4CpUvfJTwy + - acct_1P1qRm4DIQPXhccp Stripe-Version: - '2023-10-16' Vary: @@ -787,28 +787,28 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Mon, 01 Apr 2024 10:34:19 GMT + recorded_at: Thu, 04 Apr 2024 13:35:21 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: customer=cus_PqOzU8qAZYbzy8&payment_method=pm_1P0iBvKuuB1fWySnQ3GGNr5D + string: customer=cus_PrZaK34sju0cOD&payment_method=pm_1P1qRlKuuB1fWySnxJpaHpSs headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dwhyzLrV4PAdEw","request_duration_ms":302}}' + - '{"last_request_metrics":{"request_id":"req_mn3UGFhvBD2jdX","request_duration_ms":294}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0iBw4CpUvfJTwy + - acct_1P1qRm4DIQPXhccp Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -821,7 +821,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:19 GMT + - Thu, 04 Apr 2024 13:35:21 GMT Content-Type: - application/json Content-Length: @@ -848,17 +848,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2baba894-5b00-48e3-809e-723a1b3ec676 + - 0f5e1d31-5eb4-43bd-bb33-da8d55fc5787 Original-Request: - - req_DjC1KNG9qo16Kz + - req_mFa2eQvpjJySbZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DjC1KNG9qo16Kz + - req_mFa2eQvpjJySbZ Stripe-Account: - - acct_1P0iBw4CpUvfJTwy + - acct_1P1qRm4DIQPXhccp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -873,7 +873,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0iBz4CpUvfJTwynAKpfkxH", + "id": "pm_1P1qRp4DIQPXhccp7AP0Sa9R", "object": "payment_method", "billing_details": { "address": { @@ -914,13 +914,13 @@ http_interactions: }, "wallet": null }, - "created": 1711967659, + "created": 1712237721, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:34:19 GMT + recorded_at: Thu, 04 Apr 2024 13:35:21 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -929,19 +929,19 @@ http_interactions: string: email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DjC1KNG9qo16Kz","request_duration_ms":368}}' + - '{"last_request_metrics":{"request_id":"req_mFa2eQvpjJySbZ","request_duration_ms":418}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0iBw4CpUvfJTwy + - acct_1P1qRm4DIQPXhccp Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -954,7 +954,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:19 GMT + - Thu, 04 Apr 2024 13:35:22 GMT Content-Type: - application/json Content-Length: @@ -981,17 +981,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - dfcff075-66c2-44fc-bbf1-97b38b3b1cbb + - 7f117738-9028-4f85-850f-7f325f58d22d Original-Request: - - req_QR3OH50gGiSl9Q + - req_3iVB2B5Y6DLhzm Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QR3OH50gGiSl9Q + - req_3iVB2B5Y6DLhzm Stripe-Account: - - acct_1P0iBw4CpUvfJTwy + - acct_1P1qRm4DIQPXhccp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1006,18 +1006,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PqOzZM1X9o7ikr", + "id": "cus_PrZbpikIGsbr6K", "object": "customer", "address": null, "balance": 0, - "created": 1711967659, + "created": 1712237721, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "CD31A87F", + "invoice_prefix": "D7A186EB", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -1034,28 +1034,28 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 01 Apr 2024 10:34:19 GMT + recorded_at: Thu, 04 Apr 2024 13:35:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P0iBz4CpUvfJTwynAKpfkxH/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRp4DIQPXhccp7AP0Sa9R/attach body: encoding: UTF-8 - string: customer=cus_PqOzZM1X9o7ikr + string: customer=cus_PrZbpikIGsbr6K headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QR3OH50gGiSl9Q","request_duration_ms":366}}' + - '{"last_request_metrics":{"request_id":"req_3iVB2B5Y6DLhzm","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0iBw4CpUvfJTwy + - acct_1P1qRm4DIQPXhccp Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1068,7 +1068,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:20 GMT + - Thu, 04 Apr 2024 13:35:22 GMT Content-Type: - application/json Content-Length: @@ -1096,17 +1096,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 74a3d5eb-4048-44d0-bf50-27156c0a8b99 + - b55f22bb-f8ae-468e-a714-981044cadcec Original-Request: - - req_8TLFIETtz2WBeV + - req_BkKUGihcYZpZfe Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8TLFIETtz2WBeV + - req_BkKUGihcYZpZfe Stripe-Account: - - acct_1P0iBw4CpUvfJTwy + - acct_1P1qRm4DIQPXhccp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1121,7 +1121,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0iBz4CpUvfJTwynAKpfkxH", + "id": "pm_1P1qRp4DIQPXhccp7AP0Sa9R", "object": "payment_method", "billing_details": { "address": { @@ -1162,34 +1162,34 @@ http_interactions: }, "wallet": null }, - "created": 1711967659, - "customer": "cus_PqOzZM1X9o7ikr", + "created": 1712237721, + "customer": "cus_PrZbpikIGsbr6K", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:34:20 GMT + recorded_at: Thu, 04 Apr 2024 13:35:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P0iBz4CpUvfJTwynAKpfkxH + uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRp4DIQPXhccp7AP0Sa9R body: encoding: UTF-8 string: metadata[ofn-clone]=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8TLFIETtz2WBeV","request_duration_ms":488}}' + - '{"last_request_metrics":{"request_id":"req_BkKUGihcYZpZfe","request_duration_ms":410}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0iBw4CpUvfJTwy + - acct_1P1qRm4DIQPXhccp Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1202,7 +1202,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:20 GMT + - Thu, 04 Apr 2024 13:35:23 GMT Content-Type: - application/json Content-Length: @@ -1230,17 +1230,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 27b0d1b6-86f1-4b3b-80fa-dfd9421bc924 + - c16fb442-5ad5-4428-862d-f66b005a9b71 Original-Request: - - req_h0hBgne589Kk9w + - req_GlgAUUMLD9Gdzf Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_h0hBgne589Kk9w + - req_GlgAUUMLD9Gdzf Stripe-Account: - - acct_1P0iBw4CpUvfJTwy + - acct_1P1qRm4DIQPXhccp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1255,7 +1255,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0iBz4CpUvfJTwynAKpfkxH", + "id": "pm_1P1qRp4DIQPXhccp7AP0Sa9R", "object": "payment_method", "billing_details": { "address": { @@ -1296,30 +1296,30 @@ http_interactions: }, "wallet": null }, - "created": 1711967659, - "customer": "cus_PqOzZM1X9o7ikr", + "created": 1712237721, + "customer": "cus_PrZbpikIGsbr6K", "livemode": false, "metadata": { "ofn-clone": "true" }, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:34:20 GMT + recorded_at: Thu, 04 Apr 2024 13:35:23 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0iBw4CpUvfJTwy + uri: https://api.stripe.com/v1/accounts/acct_1P1qRm4DIQPXhccp body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_h0hBgne589Kk9w","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_GlgAUUMLD9Gdzf","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -1336,7 +1336,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:34:21 GMT + - Thu, 04 Apr 2024 13:35:24 GMT Content-Type: - application/json Content-Length: @@ -1367,9 +1367,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wwjHzXaFDsM2tY + - req_vb71nCUqDIqbdi Stripe-Account: - - acct_1P0iBw4CpUvfJTwy + - acct_1P1qRm4DIQPXhccp Stripe-Version: - '2023-10-16' Vary: @@ -1382,9 +1382,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0iBw4CpUvfJTwy", + "id": "acct_1P1qRm4DIQPXhccp", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:34:22 GMT + recorded_at: Thu, 04 Apr 2024 13:35:24 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml similarity index 90% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml index 824ae450b5..4764b55e22 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CYs5cyIYrDtms1","request_duration_ms":912}}' + - '{"last_request_metrics":{"request_id":"req_0MiND5ib4I2soy","request_duration_ms":1006}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:55 GMT + - Thu, 04 Apr 2024 13:35:35 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d1e06c14-a4a9-4ece-a1c7-2d1d82b4ce87 + - 1774eee2-ab43-48b9-8ea6-2a1e839fc5a9 Original-Request: - - req_ydZEGvejtkVfYi + - req_6OPepk3BKLw5Tg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ydZEGvejtkVfYi + - req_6OPepk3BKLw5Tg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0i7jKuuB1fWySn7ueU6TCh", + "id": "pm_1P1qS3KuuB1fWySnGdKuuqzg", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1711967395, + "created": 1712237735, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:29:55 GMT + recorded_at: Thu, 04 Apr 2024 13:35:35 GMT - request: method: get uri: https://api.stripe.com/v1/customers/non_existing_customer_id @@ -137,13 +137,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ydZEGvejtkVfYi","request_duration_ms":478}}' + - '{"last_request_metrics":{"request_id":"req_6OPepk3BKLw5Tg","request_duration_ms":434}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:56 GMT + - Thu, 04 Apr 2024 13:35:35 GMT Content-Type: - application/json Content-Length: @@ -192,7 +192,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kaJToof4XVcxfw + - req_eeANSXeU9XoC1F Stripe-Version: - '2023-10-16' Vary: @@ -210,11 +210,11 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/resource-missing", "message": "No such customer: 'non_existing_customer_id'", "param": "id", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_kaJToof4XVcxfw?t=1711967395", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_eeANSXeU9XoC1F?t=1712237735", "type": "invalid_request_error" } } - recorded_at: Mon, 01 Apr 2024 10:29:56 GMT + recorded_at: Thu, 04 Apr 2024 13:35:35 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -223,13 +223,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ydZEGvejtkVfYi","request_duration_ms":478}}' + - '{"last_request_metrics":{"request_id":"req_6OPepk3BKLw5Tg","request_duration_ms":434}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -246,7 +246,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:57 GMT + - Thu, 04 Apr 2024 13:35:37 GMT Content-Type: - application/json Content-Length: @@ -273,15 +273,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 16ba19c4-5895-4831-90f7-1f0020b6d2c7 + - 1b523d0c-d65f-4009-97f6-7970c6eb8d05 Original-Request: - - req_zZAtmDqAXjBliZ + - req_lDVvsQ2408SKiE Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zZAtmDqAXjBliZ + - req_lDVvsQ2408SKiE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -296,7 +296,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0i7kQN6BspgMVl", + "id": "acct_1P1qS4QSoge37tcw", "object": "account", "business_profile": { "annual_revenue": null, @@ -318,7 +318,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711967397, + "created": 1712237736, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -327,7 +327,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0i7kQN6BspgMVl/external_accounts" + "url": "/v1/accounts/acct_1P1qS4QSoge37tcw/external_accounts" }, "future_requirements": { "alternatives": [], @@ -424,22 +424,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:29:57 GMT + recorded_at: Thu, 04 Apr 2024 13:35:37 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0i7kQN6BspgMVl + uri: https://api.stripe.com/v1/accounts/acct_1P1qS4QSoge37tcw body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zZAtmDqAXjBliZ","request_duration_ms":1647}}' + - '{"last_request_metrics":{"request_id":"req_lDVvsQ2408SKiE","request_duration_ms":1630}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -456,7 +456,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:58 GMT + - Thu, 04 Apr 2024 13:35:38 GMT Content-Type: - application/json Content-Length: @@ -487,9 +487,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1T12HskzQnA7vD + - req_65MavRBJd7YWIw Stripe-Account: - - acct_1P0i7kQN6BspgMVl + - acct_1P1qS4QSoge37tcw Stripe-Version: - '2023-10-16' Vary: @@ -502,9 +502,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0i7kQN6BspgMVl", + "id": "acct_1P1qS4QSoge37tcw", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:29:58 GMT + recorded_at: Thu, 04 Apr 2024 13:35:38 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml index 2ebb93c84a..39043b7869 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rbpTKQEa57sHfG","request_duration_ms":912}}' + - '{"last_request_metrics":{"request_id":"req_e1f9hlXvj0GzxH","request_duration_ms":1044}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:51 GMT + - Thu, 04 Apr 2024 13:35:30 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9a9bca93-d831-4d81-b47a-bd05f4f61b04 + - bf1f0cb1-c83a-4113-8ff8-8482a5f50f0a Original-Request: - - req_0DyzOk2iA0A0ij + - req_QJU0Ss0hjuW1iB Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0DyzOk2iA0A0ij + - req_QJU0Ss0hjuW1iB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0i7eKuuB1fWySn0BtsXTu8", + "id": "pm_1P1qRyKuuB1fWySnwCkFYqAg", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1711967390, + "created": 1712237730, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:29:51 GMT + recorded_at: Thu, 04 Apr 2024 13:35:30 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,13 +137,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0DyzOk2iA0A0ij","request_duration_ms":533}}' + - '{"last_request_metrics":{"request_id":"req_QJU0Ss0hjuW1iB","request_duration_ms":555}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:51 GMT + - Thu, 04 Apr 2024 13:35:30 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ba70c906-f630-4092-8a61-0bec6183a748 + - 669050d1-04c3-45c2-9d81-f9a681057a37 Original-Request: - - req_kIz5bfnc11jwVI + - req_lCDJmCiSBHgMDO Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kIz5bfnc11jwVI + - req_lCDJmCiSBHgMDO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PqOvluNCLAk1mM", + "id": "cus_PrZbObtf3hCtu2", "object": "customer", "address": null, "balance": 0, - "created": 1711967391, + "created": 1712237730, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "B8CF2444", + "invoice_prefix": "5FA91938", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,22 +238,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 01 Apr 2024 10:29:51 GMT + recorded_at: Thu, 04 Apr 2024 13:35:31 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P0i7eKuuB1fWySn0BtsXTu8/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRyKuuB1fWySnwCkFYqAg/attach body: encoding: UTF-8 - string: customer=cus_PqOvluNCLAk1mM + string: customer=cus_PrZbObtf3hCtu2 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kIz5bfnc11jwVI","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_lCDJmCiSBHgMDO","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:52 GMT + - Thu, 04 Apr 2024 13:35:31 GMT Content-Type: - application/json Content-Length: @@ -298,15 +298,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 634f6e95-0f90-4807-8a16-a94d49760538 + - c0ab9917-9aed-496e-b4d0-facbcead4c2a Original-Request: - - req_GDtfjLPuzWtuQH + - req_uKYydDkbjrwy9o Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GDtfjLPuzWtuQH + - req_uKYydDkbjrwy9o Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0i7eKuuB1fWySn0BtsXTu8", + "id": "pm_1P1qRyKuuB1fWySnwCkFYqAg", "object": "payment_method", "billing_details": { "address": { @@ -362,13 +362,13 @@ http_interactions: }, "wallet": null }, - "created": 1711967390, - "customer": "cus_PqOvluNCLAk1mM", + "created": 1712237730, + "customer": "cus_PrZbObtf3hCtu2", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:29:52 GMT + recorded_at: Thu, 04 Apr 2024 13:35:31 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -377,13 +377,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GDtfjLPuzWtuQH","request_duration_ms":706}}' + - '{"last_request_metrics":{"request_id":"req_uKYydDkbjrwy9o","request_duration_ms":817}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:54 GMT + - Thu, 04 Apr 2024 13:35:33 GMT Content-Type: - application/json Content-Length: @@ -427,15 +427,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 890a33be-a4bd-4760-85c4-14e2e0842cce + - dbcac1d9-9b93-40d0-b256-d156a1d40fa9 Original-Request: - - req_smWHmdll7twdoW + - req_WBlUJWXjnzNgcT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_smWHmdll7twdoW + - req_WBlUJWXjnzNgcT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -450,7 +450,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0i7gQOcsMRPuMj", + "id": "acct_1P1qS0QQdz4a611j", "object": "account", "business_profile": { "annual_revenue": null, @@ -472,7 +472,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711967393, + "created": 1712237732, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -481,7 +481,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0i7gQOcsMRPuMj/external_accounts" + "url": "/v1/accounts/acct_1P1qS0QQdz4a611j/external_accounts" }, "future_requirements": { "alternatives": [], @@ -578,22 +578,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:29:54 GMT + recorded_at: Thu, 04 Apr 2024 13:35:34 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0i7gQOcsMRPuMj + uri: https://api.stripe.com/v1/accounts/acct_1P1qS0QQdz4a611j body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_smWHmdll7twdoW","request_duration_ms":1717}}' + - '{"last_request_metrics":{"request_id":"req_WBlUJWXjnzNgcT","request_duration_ms":2090}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -610,7 +610,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:55 GMT + - Thu, 04 Apr 2024 13:35:35 GMT Content-Type: - application/json Content-Length: @@ -641,9 +641,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_CYs5cyIYrDtms1 + - req_0MiND5ib4I2soy Stripe-Account: - - acct_1P0i7gQOcsMRPuMj + - acct_1P1qS0QQdz4a611j Stripe-Version: - '2023-10-16' Vary: @@ -656,9 +656,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0i7gQOcsMRPuMj", + "id": "acct_1P1qS0QQdz4a611j", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:29:55 GMT + recorded_at: Thu, 04 Apr 2024 13:35:35 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml index 3dcd459139..b94f4b3007 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml @@ -8,11 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_vb71nCUqDIqbdi","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -29,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:45 GMT + - Thu, 04 Apr 2024 13:35:24 GMT Content-Type: - application/json Content-Length: @@ -56,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7db31cab-1323-4d4f-8c57-356d1df7da68 + - 4859932f-49f9-4700-8f4f-f6d5fa783d26 Original-Request: - - req_po05dfR5WTcYjX + - req_TPWdPHffWpsymh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_po05dfR5WTcYjX + - req_TPWdPHffWpsymh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -79,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0i7ZKuuB1fWySnV4nOcrmM", + "id": "pm_1P1qRsKuuB1fWySnR2dcxqdc", "object": "payment_method", "billing_details": { "address": { @@ -120,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1711967385, + "created": 1712237724, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:29:45 GMT + recorded_at: Thu, 04 Apr 2024 13:35:25 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -135,13 +137,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_po05dfR5WTcYjX","request_duration_ms":709}}' + - '{"last_request_metrics":{"request_id":"req_TPWdPHffWpsymh","request_duration_ms":519}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -158,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:46 GMT + - Thu, 04 Apr 2024 13:35:25 GMT Content-Type: - application/json Content-Length: @@ -185,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c5e35cd7-d1f1-4a8e-98c5-0f58e57dd9ff + - 205e9bef-1bfd-499e-a856-3af611501534 Original-Request: - - req_9Y6oyXcwwZPYk2 + - req_XRFMDQ31CJln8x Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9Y6oyXcwwZPYk2 + - req_XRFMDQ31CJln8x Stripe-Should-Retry: - 'false' Stripe-Version: @@ -208,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PqOvbIa0hOWGHx", + "id": "cus_PrZbDhfIdZkg9F", "object": "customer", "address": null, "balance": 0, - "created": 1711967386, + "created": 1712237725, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "42C2AF34", + "invoice_prefix": "3E1D2257", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -236,22 +238,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 01 Apr 2024 10:29:46 GMT + recorded_at: Thu, 04 Apr 2024 13:35:25 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P0i7ZKuuB1fWySnV4nOcrmM/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRsKuuB1fWySnR2dcxqdc/attach body: encoding: UTF-8 - string: customer=cus_PqOvbIa0hOWGHx + string: customer=cus_PrZbDhfIdZkg9F headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9Y6oyXcwwZPYk2","request_duration_ms":558}}' + - '{"last_request_metrics":{"request_id":"req_XRFMDQ31CJln8x","request_duration_ms":417}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -268,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:46 GMT + - Thu, 04 Apr 2024 13:35:26 GMT Content-Type: - application/json Content-Length: @@ -296,15 +298,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 61de0f6a-0afe-4b87-ae4b-8d11cc6c2cf0 + - d46d144b-de92-4235-9e5e-4273c89f224b Original-Request: - - req_MSB1Kdfo0sTpdH + - req_MXP6hItMlq3Ptk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MSB1Kdfo0sTpdH + - req_MXP6hItMlq3Ptk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -319,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0i7ZKuuB1fWySnV4nOcrmM", + "id": "pm_1P1qRsKuuB1fWySnR2dcxqdc", "object": "payment_method", "billing_details": { "address": { @@ -360,28 +362,28 @@ http_interactions: }, "wallet": null }, - "created": 1711967385, - "customer": "cus_PqOvbIa0hOWGHx", + "created": 1712237724, + "customer": "cus_PrZbDhfIdZkg9F", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:29:47 GMT + recorded_at: Thu, 04 Apr 2024 13:35:26 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PqOvbIa0hOWGHx + uri: https://api.stripe.com/v1/customers/cus_PrZbDhfIdZkg9F body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MSB1Kdfo0sTpdH","request_duration_ms":702}}' + - '{"last_request_metrics":{"request_id":"req_MXP6hItMlq3Ptk","request_duration_ms":664}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -398,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:47 GMT + - Thu, 04 Apr 2024 13:35:26 GMT Content-Type: - application/json Content-Length: @@ -430,7 +432,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_v8BRvklpAugSOQ + - req_Ccdgvn9uzwYT7o Stripe-Version: - '2023-10-16' Vary: @@ -443,18 +445,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PqOvbIa0hOWGHx", + "id": "cus_PrZbDhfIdZkg9F", "object": "customer", "address": null, "balance": 0, - "created": 1711967386, + "created": 1712237725, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "42C2AF34", + "invoice_prefix": "3E1D2257", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -471,22 +473,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 01 Apr 2024 10:29:47 GMT + recorded_at: Thu, 04 Apr 2024 13:35:26 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_PqOvbIa0hOWGHx + uri: https://api.stripe.com/v1/customers/cus_PrZbDhfIdZkg9F body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_v8BRvklpAugSOQ","request_duration_ms":267}}' + - '{"last_request_metrics":{"request_id":"req_Ccdgvn9uzwYT7o","request_duration_ms":317}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -503,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:47 GMT + - Thu, 04 Apr 2024 13:35:26 GMT Content-Type: - application/json Content-Length: @@ -535,7 +537,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EzjgtHJg9Lsg8z + - req_oLSRneUEJrnRpm Stripe-Version: - '2023-10-16' Vary: @@ -548,11 +550,11 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PqOvbIa0hOWGHx", + "id": "cus_PrZbDhfIdZkg9F", "object": "customer", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:29:47 GMT + recorded_at: Thu, 04 Apr 2024 13:35:26 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -561,13 +563,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EzjgtHJg9Lsg8z","request_duration_ms":386}}' + - '{"last_request_metrics":{"request_id":"req_oLSRneUEJrnRpm","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -584,7 +586,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:49 GMT + - Thu, 04 Apr 2024 13:35:28 GMT Content-Type: - application/json Content-Length: @@ -611,15 +613,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 805a7508-1b56-4cf7-8e53-3ff26392c3cd + - 54aab04f-d45f-466c-9eaf-004f3d9be6f3 Original-Request: - - req_XSF73TDvh1uwNG + - req_YGKihrg3Ai8HbL Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XSF73TDvh1uwNG + - req_YGKihrg3Ai8HbL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -634,7 +636,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0i7bQQIgNTjlQP", + "id": "acct_1P1qRvQKwQi2xnYi", "object": "account", "business_profile": { "annual_revenue": null, @@ -656,7 +658,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711967388, + "created": 1712237727, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -665,7 +667,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0i7bQQIgNTjlQP/external_accounts" + "url": "/v1/accounts/acct_1P1qRvQKwQi2xnYi/external_accounts" }, "future_requirements": { "alternatives": [], @@ -762,22 +764,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:29:49 GMT + recorded_at: Thu, 04 Apr 2024 13:35:28 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0i7bQQIgNTjlQP + uri: https://api.stripe.com/v1/accounts/acct_1P1qRvQKwQi2xnYi body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XSF73TDvh1uwNG","request_duration_ms":1654}}' + - '{"last_request_metrics":{"request_id":"req_YGKihrg3Ai8HbL","request_duration_ms":1815}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -794,7 +796,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:29:50 GMT + - Thu, 04 Apr 2024 13:35:29 GMT Content-Type: - application/json Content-Length: @@ -825,9 +827,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rbpTKQEa57sHfG + - req_e1f9hlXvj0GzxH Stripe-Account: - - acct_1P0i7bQQIgNTjlQP + - acct_1P1qRvQKwQi2xnYi Stripe-Version: - '2023-10-16' Vary: @@ -840,9 +842,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0i7bQQIgNTjlQP", + "id": "acct_1P1qRvQKwQi2xnYi", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:29:50 GMT + recorded_at: Thu, 04 Apr 2024 13:35:29 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index e5ade006c4..f2c15b6b02 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000006975&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nnD7FhgHOchtXB","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_lkTgQ7qfSG1sfK","request_duration_ms":423}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:23 GMT + - Thu, 04 Apr 2024 13:37:26 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2a8dce1f-cf40-49ef-b4a7-8b8bb8dc480a + - b4be2598-e198-42ea-bebe-cc3d3eeb40a1 Original-Request: - - req_jV0ZMDYHhtNe8G + - req_Iqe87Yw3hFKEB1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jV0ZMDYHhtNe8G + - req_Iqe87Yw3hFKEB1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yZKuuB1fWySn9CsJAIVN", + "id": "pm_1P1qTqKuuB1fWySnBlZbHRNJ", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328723, + "created": 1712237846, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:23 GMT + recorded_at: Thu, 04 Apr 2024 13:37:26 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1yZKuuB1fWySn9CsJAIVN&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTqKuuB1fWySnBlZbHRNJ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jV0ZMDYHhtNe8G","request_duration_ms":457}}' + - '{"last_request_metrics":{"request_id":"req_Iqe87Yw3hFKEB1","request_duration_ms":497}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:23 GMT + - Thu, 04 Apr 2024 13:37:26 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - be504776-8056-457f-8016-4018c2ac8086 + - 00e16ebe-9284-4895-a91c-8d68661558de Original-Request: - - req_EqwvEUlwSLJqNb + - req_zN2EHx9dXN8JGT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EqwvEUlwSLJqNb + - req_zN2EHx9dXN8JGT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yZKuuB1fWySn1KPwlZcg", + "id": "pi_3P1qTqKuuB1fWySn1EqYpSSV", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328723, + "created": 1712237846, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yZKuuB1fWySn9CsJAIVN", + "payment_method": "pm_1P1qTqKuuB1fWySnBlZbHRNJ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:23 GMT + recorded_at: Thu, 04 Apr 2024 13:37:26 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yZKuuB1fWySn1KPwlZcg/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTqKuuB1fWySn1EqYpSSV/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EqwvEUlwSLJqNb","request_duration_ms":403}}' + - '{"last_request_metrics":{"request_id":"req_zN2EHx9dXN8JGT","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:24 GMT + - Thu, 04 Apr 2024 13:37:27 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 341eda46-b785-4c16-906e-e5aece012896 + - fa555edb-f3f3-4764-ae76-27dc36d8a01e Original-Request: - - req_MQjCnWkXUjXXyt + - req_k75IWMb4BQFmI1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MQjCnWkXUjXXyt + - req_k75IWMb4BQFmI1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Oy1yZKuuB1fWySn1BBiiisu", + "charge": "ch_3P1qTqKuuB1fWySn1qCgF3Kk", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_intent": { - "id": "pi_3Oy1yZKuuB1fWySn1KPwlZcg", + "id": "pi_3P1qTqKuuB1fWySn1EqYpSSV", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328723, + "created": 1712237846, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Oy1yZKuuB1fWySn1BBiiisu", + "charge": "ch_3P1qTqKuuB1fWySn1qCgF3Kk", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_method": { - "id": "pm_1Oy1yZKuuB1fWySn9CsJAIVN", + "id": "pm_1P1qTqKuuB1fWySnBlZbHRNJ", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1711328723, + "created": 1712237846, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Oy1yZKuuB1fWySn1BBiiisu", + "latest_charge": "ch_3P1qTqKuuB1fWySn1qCgF3Kk", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Oy1yZKuuB1fWySn9CsJAIVN", + "id": "pm_1P1qTqKuuB1fWySnBlZbHRNJ", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1711328723, + "created": 1712237846, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_MQjCnWkXUjXXyt?t=1711328723", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_k75IWMb4BQFmI1?t=1712237846", "type": "card_error" } } - recorded_at: Mon, 25 Mar 2024 01:05:24 GMT + recorded_at: Thu, 04 Apr 2024 13:37:27 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 479913bd98..3f26045f6d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000069&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BjNzTk5KJ6qJDv","request_duration_ms":410}}' + - '{"last_request_metrics":{"request_id":"req_9NLv0jegScJIte","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:17 GMT + - Thu, 04 Apr 2024 13:37:20 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8eae5338-3477-4c1c-be34-2799e9674707 + - e62ef117-c4ed-41cb-a0ab-46e0e14f4c51 Original-Request: - - req_dplerffHQp7S66 + - req_p1ERY2VOOzinVi Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dplerffHQp7S66 + - req_p1ERY2VOOzinVi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yTKuuB1fWySnu40htLw9", + "id": "pm_1P1qTkKuuB1fWySnL7XEIVhp", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328717, + "created": 1712237840, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:17 GMT + recorded_at: Thu, 04 Apr 2024 13:37:20 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1yTKuuB1fWySnu40htLw9&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTkKuuB1fWySnL7XEIVhp&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dplerffHQp7S66","request_duration_ms":554}}' + - '{"last_request_metrics":{"request_id":"req_p1ERY2VOOzinVi","request_duration_ms":477}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:18 GMT + - Thu, 04 Apr 2024 13:37:20 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0e45a635-0bda-4bba-8a96-9edb3e972ecb + - 62adb611-3e5c-48a1-97aa-6f037b3823d8 Original-Request: - - req_td3xY6wKa73tOT + - req_7muhATs55xhmDs Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_td3xY6wKa73tOT + - req_7muhATs55xhmDs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yUKuuB1fWySn1F73woAR", + "id": "pi_3P1qTkKuuB1fWySn2e0NXx8i", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328718, + "created": 1712237840, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yTKuuB1fWySnu40htLw9", + "payment_method": "pm_1P1qTkKuuB1fWySnL7XEIVhp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:18 GMT + recorded_at: Thu, 04 Apr 2024 13:37:20 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yUKuuB1fWySn1F73woAR/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTkKuuB1fWySn2e0NXx8i/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_td3xY6wKa73tOT","request_duration_ms":400}}' + - '{"last_request_metrics":{"request_id":"req_7muhATs55xhmDs","request_duration_ms":473}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:19 GMT + - Thu, 04 Apr 2024 13:37:21 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - '063498c0-5e66-4baa-9f2a-50c8b8a37397' + - e60df8b5-1bbf-4327-a6b0-b4aca7b6d06b Original-Request: - - req_7uTU0chzUMfZI0 + - req_EpoA5Srb1sesoO Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7uTU0chzUMfZI0 + - req_EpoA5Srb1sesoO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Oy1yUKuuB1fWySn12Xl48Ae", + "charge": "ch_3P1qTkKuuB1fWySn2hWAgIK4", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_intent": { - "id": "pi_3Oy1yUKuuB1fWySn1F73woAR", + "id": "pi_3P1qTkKuuB1fWySn2e0NXx8i", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328718, + "created": 1712237840, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Oy1yUKuuB1fWySn12Xl48Ae", + "charge": "ch_3P1qTkKuuB1fWySn2hWAgIK4", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_method": { - "id": "pm_1Oy1yTKuuB1fWySnu40htLw9", + "id": "pm_1P1qTkKuuB1fWySnL7XEIVhp", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1711328717, + "created": 1712237840, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Oy1yUKuuB1fWySn12Xl48Ae", + "latest_charge": "ch_3P1qTkKuuB1fWySn2hWAgIK4", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Oy1yTKuuB1fWySnu40htLw9", + "id": "pm_1P1qTkKuuB1fWySnL7XEIVhp", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1711328717, + "created": 1712237840, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_7uTU0chzUMfZI0?t=1711328718", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_EpoA5Srb1sesoO?t=1712237840", "type": "card_error" } } - recorded_at: Mon, 25 Mar 2024 01:05:19 GMT + recorded_at: Thu, 04 Apr 2024 13:37:22 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 6ba29b63e7..253befd7a2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000002&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GWqp0ggBJEdZND","request_duration_ms":282}}' + - '{"last_request_metrics":{"request_id":"req_VHSEgWLcpy7eeM","request_duration_ms":321}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:10 GMT + - Thu, 04 Apr 2024 13:37:12 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 40176f21-18b7-459d-a9de-dd0b4baa52a1 + - c26f47e8-cb8d-41cf-85e7-0897efb2b214 Original-Request: - - req_Em2GO1HCDaLG2f + - req_HqvZX0PjzaGxOz Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Em2GO1HCDaLG2f + - req_HqvZX0PjzaGxOz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yLKuuB1fWySng4NMBX7l", + "id": "pm_1P1qTbKuuB1fWySnDBUZSuRF", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328709, + "created": 1712237831, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:10 GMT + recorded_at: Thu, 04 Apr 2024 13:37:12 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1yLKuuB1fWySng4NMBX7l&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTbKuuB1fWySnDBUZSuRF&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Em2GO1HCDaLG2f","request_duration_ms":401}}' + - '{"last_request_metrics":{"request_id":"req_HqvZX0PjzaGxOz","request_duration_ms":448}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:10 GMT + - Thu, 04 Apr 2024 13:37:12 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a789208a-a98d-467c-b356-dd049574a8b8 + - 0e3781ca-ab85-43fa-abad-a19640cf161a Original-Request: - - req_TWSoFlKBEvPatI + - req_kyVh5Ixru1eIkz Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_TWSoFlKBEvPatI + - req_kyVh5Ixru1eIkz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yMKuuB1fWySn2NfKLXNh", + "id": "pi_3P1qTcKuuB1fWySn1yM706dv", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328710, + "created": 1712237832, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yLKuuB1fWySng4NMBX7l", + "payment_method": "pm_1P1qTbKuuB1fWySnDBUZSuRF", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:10 GMT + recorded_at: Thu, 04 Apr 2024 13:37:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yMKuuB1fWySn2NfKLXNh/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTcKuuB1fWySn1yM706dv/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TWSoFlKBEvPatI","request_duration_ms":373}}' + - '{"last_request_metrics":{"request_id":"req_kyVh5Ixru1eIkz","request_duration_ms":398}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:11 GMT + - Thu, 04 Apr 2024 13:37:13 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 85e6f360-6686-44cb-93b8-c0527ac35cf2 + - 5895b86a-c9a8-4a9e-8b4b-d77ed8c6cb4a Original-Request: - - req_VPC6vg2SscNHIK + - req_pVAVsBfYEvjJ8t Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VPC6vg2SscNHIK + - req_pVAVsBfYEvjJ8t Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Oy1yMKuuB1fWySn2hmYhfJB", + "charge": "ch_3P1qTcKuuB1fWySn1Tu6RMCw", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3Oy1yMKuuB1fWySn2NfKLXNh", + "id": "pi_3P1qTcKuuB1fWySn1yM706dv", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328710, + "created": 1712237832, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Oy1yMKuuB1fWySn2hmYhfJB", + "charge": "ch_3P1qTcKuuB1fWySn1Tu6RMCw", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1Oy1yLKuuB1fWySng4NMBX7l", + "id": "pm_1P1qTbKuuB1fWySnDBUZSuRF", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1711328709, + "created": 1712237831, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Oy1yMKuuB1fWySn2hmYhfJB", + "latest_charge": "ch_3P1qTcKuuB1fWySn1Tu6RMCw", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Oy1yLKuuB1fWySng4NMBX7l", + "id": "pm_1P1qTbKuuB1fWySnDBUZSuRF", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1711328709, + "created": 1712237831, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_VPC6vg2SscNHIK?t=1711328710", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_pVAVsBfYEvjJ8t?t=1712237832", "type": "card_error" } } - recorded_at: Mon, 25 Mar 2024 01:05:11 GMT + recorded_at: Thu, 04 Apr 2024 13:37:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 5afd32516c..8c665e46c3 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000127&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_td3xY6wKa73tOT","request_duration_ms":400}}' + - '{"last_request_metrics":{"request_id":"req_7muhATs55xhmDs","request_duration_ms":473}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:19 GMT + - Thu, 04 Apr 2024 13:37:22 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ca2ac177-20cf-46a9-aed7-3b747a5f83a9 + - c7850ef9-a1dd-48ef-9475-66fb6245154e Original-Request: - - req_sEo7BfbmrBU9Jv + - req_Dql7PyYPTt9f22 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sEo7BfbmrBU9Jv + - req_Dql7PyYPTt9f22 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yVKuuB1fWySnROBMH9bH", + "id": "pm_1P1qTmKuuB1fWySnMajYRiof", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328719, + "created": 1712237842, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:19 GMT + recorded_at: Thu, 04 Apr 2024 13:37:22 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1yVKuuB1fWySnROBMH9bH&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTmKuuB1fWySnMajYRiof&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sEo7BfbmrBU9Jv","request_duration_ms":501}}' + - '{"last_request_metrics":{"request_id":"req_Dql7PyYPTt9f22","request_duration_ms":452}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:20 GMT + - Thu, 04 Apr 2024 13:37:22 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 25a7f30d-5980-4d46-8de3-d54e5cf847df + - 77a89397-a9de-443f-9d4b-04765927e29b Original-Request: - - req_mWYTqwmnhcQ87p + - req_tJLMqPkKLlg3X5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mWYTqwmnhcQ87p + - req_tJLMqPkKLlg3X5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yVKuuB1fWySn2JmTAk40", + "id": "pi_3P1qTmKuuB1fWySn14Zh1B2n", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328719, + "created": 1712237842, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yVKuuB1fWySnROBMH9bH", + "payment_method": "pm_1P1qTmKuuB1fWySnMajYRiof", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:20 GMT + recorded_at: Thu, 04 Apr 2024 13:37:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yVKuuB1fWySn2JmTAk40/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTmKuuB1fWySn14Zh1B2n/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mWYTqwmnhcQ87p","request_duration_ms":373}}' + - '{"last_request_metrics":{"request_id":"req_tJLMqPkKLlg3X5","request_duration_ms":512}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:21 GMT + - Thu, 04 Apr 2024 13:37:23 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 786fecac-dcdd-4bf4-8d43-1da4327352f9 + - af4e80ea-c42c-4a8e-a97b-415d07df69c7 Original-Request: - - req_oVC7zIJTRYM1p9 + - req_frb1EJKpHILZw4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_oVC7zIJTRYM1p9 + - req_frb1EJKpHILZw4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Oy1yVKuuB1fWySn27dCV2tf", + "charge": "ch_3P1qTmKuuB1fWySn1IviXU30", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_intent": { - "id": "pi_3Oy1yVKuuB1fWySn2JmTAk40", + "id": "pi_3P1qTmKuuB1fWySn14Zh1B2n", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328719, + "created": 1712237842, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Oy1yVKuuB1fWySn27dCV2tf", + "charge": "ch_3P1qTmKuuB1fWySn1IviXU30", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_method": { - "id": "pm_1Oy1yVKuuB1fWySnROBMH9bH", + "id": "pm_1P1qTmKuuB1fWySnMajYRiof", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1711328719, + "created": 1712237842, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Oy1yVKuuB1fWySn27dCV2tf", + "latest_charge": "ch_3P1qTmKuuB1fWySn1IviXU30", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Oy1yVKuuB1fWySnROBMH9bH", + "id": "pm_1P1qTmKuuB1fWySnMajYRiof", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1711328719, + "created": 1712237842, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_oVC7zIJTRYM1p9?t=1711328720", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_frb1EJKpHILZw4?t=1712237843", "type": "card_error" } } - recorded_at: Mon, 25 Mar 2024 01:05:21 GMT + recorded_at: Thu, 04 Apr 2024 13:37:23 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index db5507a28e..2f8ab034a0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009995&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TWSoFlKBEvPatI","request_duration_ms":373}}' + - '{"last_request_metrics":{"request_id":"req_kyVh5Ixru1eIkz","request_duration_ms":398}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:12 GMT + - Thu, 04 Apr 2024 13:37:14 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fd2cd4d0-e680-4dcb-9ce7-91c10a22876c + - 6af5b97e-1a2d-4cef-b85f-34e496dbae06 Original-Request: - - req_WGXvov5F3tl5xb + - req_bTYHIL6AMEbshE Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WGXvov5F3tl5xb + - req_bTYHIL6AMEbshE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yNKuuB1fWySnKWPHhFg0", + "id": "pm_1P1qTdKuuB1fWySnhzIGNTyQ", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328711, + "created": 1712237833, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:12 GMT + recorded_at: Thu, 04 Apr 2024 13:37:14 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1yNKuuB1fWySnKWPHhFg0&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTdKuuB1fWySnhzIGNTyQ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WGXvov5F3tl5xb","request_duration_ms":490}}' + - '{"last_request_metrics":{"request_id":"req_bTYHIL6AMEbshE","request_duration_ms":447}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:12 GMT + - Thu, 04 Apr 2024 13:37:14 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - edd179de-cc5b-43e4-a35e-553bd2ceceeb + - fd9ba558-45bc-456f-910e-7adc4cfe6993 Original-Request: - - req_USG19odn3QkHK6 + - req_sxdDU2zM7PflMa Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_USG19odn3QkHK6 + - req_sxdDU2zM7PflMa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yOKuuB1fWySn0KZChkxm", + "id": "pi_3P1qTeKuuB1fWySn0LlyJenM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328712, + "created": 1712237834, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yNKuuB1fWySnKWPHhFg0", + "payment_method": "pm_1P1qTdKuuB1fWySnhzIGNTyQ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:12 GMT + recorded_at: Thu, 04 Apr 2024 13:37:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yOKuuB1fWySn0KZChkxm/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTeKuuB1fWySn0LlyJenM/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_USG19odn3QkHK6","request_duration_ms":426}}' + - '{"last_request_metrics":{"request_id":"req_sxdDU2zM7PflMa","request_duration_ms":397}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:13 GMT + - Thu, 04 Apr 2024 13:37:15 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d7503b10-bcda-4c2a-9bc1-008f18541c06 + - 78128457-632f-422f-981a-509895182602 Original-Request: - - req_DlVU8Sh56G2vhj + - req_H58mItqG9D4Ta9 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DlVU8Sh56G2vhj + - req_H58mItqG9D4Ta9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Oy1yOKuuB1fWySn05u59eqc", + "charge": "ch_3P1qTeKuuB1fWySn0qIBnOks", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_intent": { - "id": "pi_3Oy1yOKuuB1fWySn0KZChkxm", + "id": "pi_3P1qTeKuuB1fWySn0LlyJenM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328712, + "created": 1712237834, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Oy1yOKuuB1fWySn05u59eqc", + "charge": "ch_3P1qTeKuuB1fWySn0qIBnOks", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_method": { - "id": "pm_1Oy1yNKuuB1fWySnKWPHhFg0", + "id": "pm_1P1qTdKuuB1fWySnhzIGNTyQ", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1711328711, + "created": 1712237833, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Oy1yOKuuB1fWySn05u59eqc", + "latest_charge": "ch_3P1qTeKuuB1fWySn0qIBnOks", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Oy1yNKuuB1fWySnKWPHhFg0", + "id": "pm_1P1qTdKuuB1fWySnhzIGNTyQ", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1711328711, + "created": 1712237833, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_DlVU8Sh56G2vhj?t=1711328712", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_H58mItqG9D4Ta9?t=1712237834", "type": "card_error" } } - recorded_at: Mon, 25 Mar 2024 01:05:13 GMT + recorded_at: Thu, 04 Apr 2024 13:37:15 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 9fcae6d6c7..9368464303 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009987&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_USG19odn3QkHK6","request_duration_ms":426}}' + - '{"last_request_metrics":{"request_id":"req_sxdDU2zM7PflMa","request_duration_ms":397}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:13 GMT + - Thu, 04 Apr 2024 13:37:16 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 80863020-2451-4367-961d-cf8b6c96680e + - 9d49d2bf-40ed-4b60-ab63-4ec6c2afbe7a Original-Request: - - req_RiaFZI6ribU2oi + - req_udZEufL6xdkTl8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_RiaFZI6ribU2oi + - req_udZEufL6xdkTl8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yPKuuB1fWySnR10uecrT", + "id": "pm_1P1qTfKuuB1fWySnOyVSR2t2", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328713, + "created": 1712237835, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:13 GMT + recorded_at: Thu, 04 Apr 2024 13:37:16 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1yPKuuB1fWySnR10uecrT&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTfKuuB1fWySnOyVSR2t2&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RiaFZI6ribU2oi","request_duration_ms":433}}' + - '{"last_request_metrics":{"request_id":"req_udZEufL6xdkTl8","request_duration_ms":461}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:14 GMT + - Thu, 04 Apr 2024 13:37:16 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 99941602-abd9-4d83-97b7-29015ed42c42 + - 3c81f91b-5815-4f92-93aa-167178db8db0 Original-Request: - - req_GJAUebI2qwrn4d + - req_hcaVW03fn0j2Me Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GJAUebI2qwrn4d + - req_hcaVW03fn0j2Me Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yQKuuB1fWySn2jhODWZC", + "id": "pi_3P1qTgKuuB1fWySn0v2tPGg1", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328714, + "created": 1712237836, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yPKuuB1fWySnR10uecrT", + "payment_method": "pm_1P1qTfKuuB1fWySnOyVSR2t2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:14 GMT + recorded_at: Thu, 04 Apr 2024 13:37:16 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yQKuuB1fWySn2jhODWZC/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTgKuuB1fWySn0v2tPGg1/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GJAUebI2qwrn4d","request_duration_ms":377}}' + - '{"last_request_metrics":{"request_id":"req_hcaVW03fn0j2Me","request_duration_ms":504}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:15 GMT + - Thu, 04 Apr 2024 13:37:17 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b08e11f0-005e-427a-a198-093ede44c021 + - c4cc2c9d-db55-4d7a-b6b8-5e49a50fa5f0 Original-Request: - - req_yTHUPmk13fRJbG + - req_djGETVIUTj7jH6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_yTHUPmk13fRJbG + - req_djGETVIUTj7jH6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Oy1yQKuuB1fWySn2czGMl4j", + "charge": "ch_3P1qTgKuuB1fWySn0MyuNWAk", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3Oy1yQKuuB1fWySn2jhODWZC", + "id": "pi_3P1qTgKuuB1fWySn0v2tPGg1", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328714, + "created": 1712237836, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Oy1yQKuuB1fWySn2czGMl4j", + "charge": "ch_3P1qTgKuuB1fWySn0MyuNWAk", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1Oy1yPKuuB1fWySnR10uecrT", + "id": "pm_1P1qTfKuuB1fWySnOyVSR2t2", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1711328713, + "created": 1712237835, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Oy1yQKuuB1fWySn2czGMl4j", + "latest_charge": "ch_3P1qTgKuuB1fWySn0MyuNWAk", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Oy1yPKuuB1fWySnR10uecrT", + "id": "pm_1P1qTfKuuB1fWySnOyVSR2t2", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1711328713, + "created": 1712237835, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_yTHUPmk13fRJbG?t=1711328714", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_djGETVIUTj7jH6?t=1712237836", "type": "card_error" } } - recorded_at: Mon, 25 Mar 2024 01:05:15 GMT + recorded_at: Thu, 04 Apr 2024 13:37:17 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 5766eeb3d9..0ed3e9eeb4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000119&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mWYTqwmnhcQ87p","request_duration_ms":373}}' + - '{"last_request_metrics":{"request_id":"req_tJLMqPkKLlg3X5","request_duration_ms":512}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:21 GMT + - Thu, 04 Apr 2024 13:37:24 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 26348183-fd4b-4fa3-9de2-b33ff066c989 + - e98685eb-088a-4e38-9a07-17a31d008cac Original-Request: - - req_MyEt9J8UjzrjZl + - req_VE0ilPLfcRN9fJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MyEt9J8UjzrjZl + - req_VE0ilPLfcRN9fJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yXKuuB1fWySnpz5BbHKd", + "id": "pm_1P1qToKuuB1fWySn0ZNPtW1O", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328721, + "created": 1712237844, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:21 GMT + recorded_at: Thu, 04 Apr 2024 13:37:24 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1yXKuuB1fWySnpz5BbHKd&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qToKuuB1fWySn0ZNPtW1O&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MyEt9J8UjzrjZl","request_duration_ms":434}}' + - '{"last_request_metrics":{"request_id":"req_VE0ilPLfcRN9fJ","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:22 GMT + - Thu, 04 Apr 2024 13:37:24 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0264e1dc-3e0f-4703-8081-a7a5a008ecff + - 6d6e6b30-a204-4493-b335-9f8aa77e5965 Original-Request: - - req_nnD7FhgHOchtXB + - req_lkTgQ7qfSG1sfK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nnD7FhgHOchtXB + - req_lkTgQ7qfSG1sfK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yXKuuB1fWySn1gp3vESW", + "id": "pi_3P1qToKuuB1fWySn2AL4wKUT", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328721, + "created": 1712237844, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yXKuuB1fWySnpz5BbHKd", + "payment_method": "pm_1P1qToKuuB1fWySn0ZNPtW1O", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:22 GMT + recorded_at: Thu, 04 Apr 2024 13:37:24 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yXKuuB1fWySn1gp3vESW/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qToKuuB1fWySn2AL4wKUT/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nnD7FhgHOchtXB","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_lkTgQ7qfSG1sfK","request_duration_ms":423}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:22 GMT + - Thu, 04 Apr 2024 13:37:25 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 241115e3-0480-410a-a985-25b6da2411ee + - 8f120d4b-9d1d-4e3d-a40b-070461608485 Original-Request: - - req_1lcpsaMHx0Whmu + - req_sSt5zYJh6INY4P Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1lcpsaMHx0Whmu + - req_sSt5zYJh6INY4P Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,12 +346,12 @@ http_interactions: string: | { "error": { - "charge": "ch_3Oy1yXKuuB1fWySn1P6dQF8l", + "charge": "ch_3P1qToKuuB1fWySn2jBsBOax", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_intent": { - "id": "pi_3Oy1yXKuuB1fWySn1gp3vESW", + "id": "pi_3P1qToKuuB1fWySn2AL4wKUT", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -368,18 +368,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328721, + "created": 1712237844, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Oy1yXKuuB1fWySn1P6dQF8l", + "charge": "ch_3P1qToKuuB1fWySn2jBsBOax", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_method": { - "id": "pm_1Oy1yXKuuB1fWySnpz5BbHKd", + "id": "pm_1P1qToKuuB1fWySn0ZNPtW1O", "object": "payment_method", "billing_details": { "address": { @@ -420,7 +420,7 @@ http_interactions: }, "wallet": null }, - "created": 1711328721, + "created": 1712237844, "customer": null, "livemode": false, "metadata": { @@ -429,7 +429,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Oy1yXKuuB1fWySn1P6dQF8l", + "latest_charge": "ch_3P1qToKuuB1fWySn2jBsBOax", "livemode": false, "metadata": { }, @@ -461,7 +461,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Oy1yXKuuB1fWySnpz5BbHKd", + "id": "pm_1P1qToKuuB1fWySn0ZNPtW1O", "object": "payment_method", "billing_details": { "address": { @@ -502,16 +502,16 @@ http_interactions: }, "wallet": null }, - "created": 1711328721, + "created": 1712237844, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_1lcpsaMHx0Whmu?t=1711328722", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_sSt5zYJh6INY4P?t=1712237845", "type": "card_error" } } - recorded_at: Mon, 25 Mar 2024 01:05:23 GMT + recorded_at: Thu, 04 Apr 2024 13:37:25 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index a66e4b1760..7b4eb1c785 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009979&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GJAUebI2qwrn4d","request_duration_ms":377}}' + - '{"last_request_metrics":{"request_id":"req_hcaVW03fn0j2Me","request_duration_ms":504}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:15 GMT + - Thu, 04 Apr 2024 13:37:18 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 97eb32ef-7f08-4e2c-9de0-a1a3d1bb8691 + - e0e34dba-0544-4b50-adcc-b4af1a9ee7f8 Original-Request: - - req_95uja3TWAAKAgZ + - req_XbEloBRZEL80L4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_95uja3TWAAKAgZ + - req_XbEloBRZEL80L4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yRKuuB1fWySnTgrx8y7n", + "id": "pm_1P1qThKuuB1fWySnDszHk2Rj", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328715, + "created": 1712237838, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:15 GMT + recorded_at: Thu, 04 Apr 2024 13:37:18 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1yRKuuB1fWySnTgrx8y7n&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qThKuuB1fWySnDszHk2Rj&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_95uja3TWAAKAgZ","request_duration_ms":540}}' + - '{"last_request_metrics":{"request_id":"req_XbEloBRZEL80L4","request_duration_ms":582}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:16 GMT + - Thu, 04 Apr 2024 13:37:18 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f2fa9fb4-8eac-429c-9693-8de523434bfb + - 77d40b15-b25e-49f5-a347-2974f4954008 Original-Request: - - req_BjNzTk5KJ6qJDv + - req_9NLv0jegScJIte Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BjNzTk5KJ6qJDv + - req_9NLv0jegScJIte Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1ySKuuB1fWySn1eJ3WEUe", + "id": "pi_3P1qTiKuuB1fWySn2D7D1J5X", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328716, + "created": 1712237838, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yRKuuB1fWySnTgrx8y7n", + "payment_method": "pm_1P1qThKuuB1fWySnDszHk2Rj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:16 GMT + recorded_at: Thu, 04 Apr 2024 13:37:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1ySKuuB1fWySn1eJ3WEUe/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTiKuuB1fWySn2D7D1J5X/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BjNzTk5KJ6qJDv","request_duration_ms":410}}' + - '{"last_request_metrics":{"request_id":"req_9NLv0jegScJIte","request_duration_ms":511}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:17 GMT + - Thu, 04 Apr 2024 13:37:19 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0a8b2bd5-17cb-4bc1-949c-5da7b47451a1 + - 2103a299-836f-4490-bd27-51d8c744fa0a Original-Request: - - req_zdONKqcFBegq6Y + - req_KyuWIfhoB4gdAY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zdONKqcFBegq6Y + - req_KyuWIfhoB4gdAY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3Oy1ySKuuB1fWySn1Mqf4ucC", + "charge": "ch_3P1qTiKuuB1fWySn2c62LLgV", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3Oy1ySKuuB1fWySn1eJ3WEUe", + "id": "pi_3P1qTiKuuB1fWySn2D7D1J5X", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328716, + "created": 1712237838, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3Oy1ySKuuB1fWySn1Mqf4ucC", + "charge": "ch_3P1qTiKuuB1fWySn2c62LLgV", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1Oy1yRKuuB1fWySnTgrx8y7n", + "id": "pm_1P1qThKuuB1fWySnDszHk2Rj", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1711328715, + "created": 1712237838, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3Oy1ySKuuB1fWySn1Mqf4ucC", + "latest_charge": "ch_3P1qTiKuuB1fWySn2c62LLgV", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1Oy1yRKuuB1fWySnTgrx8y7n", + "id": "pm_1P1qThKuuB1fWySnDszHk2Rj", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1711328715, + "created": 1712237838, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_zdONKqcFBegq6Y?t=1711328716", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_KyuWIfhoB4gdAY?t=1712237838", "type": "card_error" } } - recorded_at: Mon, 25 Mar 2024 01:05:17 GMT + recorded_at: Thu, 04 Apr 2024 13:37:19 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml index 2f2fe663fe..9c5cae9024 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CHYbtgMyODWK1I","request_duration_ms":906}}' + - '{"last_request_metrics":{"request_id":"req_kKtioAccmebXnc","request_duration_ms":1075}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:23 GMT + - Thu, 04 Apr 2024 13:36:18 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 29fdf8ab-b829-418f-a208-40681103fc23 + - a556aeea-4c4c-4250-a408-a647e848669c Original-Request: - - req_YoGO6uTTeQzvES + - req_FxQeHpbU1RVbIL Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_YoGO6uTTeQzvES + - req_FxQeHpbU1RVbIL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xbKuuB1fWySnhbRSdsJp", + "id": "pm_1P1qSkKuuB1fWySnu28PRFMh", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328663, + "created": 1712237778, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:23 GMT + recorded_at: Thu, 04 Apr 2024 13:36:18 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xbKuuB1fWySnhbRSdsJp&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSkKuuB1fWySnu28PRFMh&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YoGO6uTTeQzvES","request_duration_ms":451}}' + - '{"last_request_metrics":{"request_id":"req_FxQeHpbU1RVbIL","request_duration_ms":458}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:24 GMT + - Thu, 04 Apr 2024 13:36:19 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7b7e31ee-b2dc-4eec-86bf-9ba7970478fc + - 2c1287a1-c982-431a-bfa0-06dab9a494bb Original-Request: - - req_p8ibVWdL7pbp6c + - req_pq1MbSbyeUljl3 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_p8ibVWdL7pbp6c + - req_pq1MbSbyeUljl3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xbKuuB1fWySn0vS15p4a", + "id": "pi_3P1qSkKuuB1fWySn042Z4oUa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328663, + "created": 1712237778, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xbKuuB1fWySnhbRSdsJp", + "payment_method": "pm_1P1qSkKuuB1fWySnu28PRFMh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:24 GMT + recorded_at: Thu, 04 Apr 2024 13:36:19 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xbKuuB1fWySn0vS15p4a/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSkKuuB1fWySn042Z4oUa/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_p8ibVWdL7pbp6c","request_duration_ms":468}}' + - '{"last_request_metrics":{"request_id":"req_pq1MbSbyeUljl3","request_duration_ms":450}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:25 GMT + - Thu, 04 Apr 2024 13:36:20 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 413f0054-c9f8-4a09-9b65-22e45fc2fe7b + - 2f975863-0a33-41a7-823f-c49cb552f65e Original-Request: - - req_qhizvbQLKRKkdI + - req_xNLv8ut1UZ3ZcJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qhizvbQLKRKkdI + - req_xNLv8ut1UZ3ZcJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xbKuuB1fWySn0vS15p4a", + "id": "pi_3P1qSkKuuB1fWySn042Z4oUa", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328663, + "created": 1712237778, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xbKuuB1fWySn0B7hvVYd", + "latest_charge": "ch_3P1qSkKuuB1fWySn0GnNVFsZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xbKuuB1fWySnhbRSdsJp", + "payment_method": "pm_1P1qSkKuuB1fWySnu28PRFMh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:25 GMT + recorded_at: Thu, 04 Apr 2024 13:36:20 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xbKuuB1fWySn0vS15p4a + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSkKuuB1fWySn042Z4oUa body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qhizvbQLKRKkdI","request_duration_ms":982}}' + - '{"last_request_metrics":{"request_id":"req_xNLv8ut1UZ3ZcJ","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:25 GMT + - Thu, 04 Apr 2024 13:36:20 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_A2ploA32yxHKiO + - req_qkxeb83fsKvAUy Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xbKuuB1fWySn0vS15p4a", + "id": "pi_3P1qSkKuuB1fWySn042Z4oUa", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328663, + "created": 1712237778, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xbKuuB1fWySn0B7hvVYd", + "latest_charge": "ch_3P1qSkKuuB1fWySn0GnNVFsZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xbKuuB1fWySnhbRSdsJp", + "payment_method": "pm_1P1qSkKuuB1fWySnu28PRFMh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:25 GMT + recorded_at: Thu, 04 Apr 2024 13:36:20 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xbKuuB1fWySn0vS15p4a/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSkKuuB1fWySn042Z4oUa/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_A2ploA32yxHKiO","request_duration_ms":333}}' + - '{"last_request_metrics":{"request_id":"req_qkxeb83fsKvAUy","request_duration_ms":322}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:26 GMT + - Thu, 04 Apr 2024 13:36:21 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d450173b-b28d-4250-9864-6af392be66ef + - 9576d61c-6947-4a07-abfc-5af25e8e6d1f Original-Request: - - req_HsSt59Ey5ircxg + - req_dyC99KdmgdonKM Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_HsSt59Ey5ircxg + - req_dyC99KdmgdonKM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xbKuuB1fWySn0vS15p4a", + "id": "pi_3P1qSkKuuB1fWySn042Z4oUa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328663, + "created": 1712237778, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xbKuuB1fWySn0B7hvVYd", + "latest_charge": "ch_3P1qSkKuuB1fWySn0GnNVFsZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xbKuuB1fWySnhbRSdsJp", + "payment_method": "pm_1P1qSkKuuB1fWySnu28PRFMh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:26 GMT + recorded_at: Thu, 04 Apr 2024 13:36:21 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xbKuuB1fWySn0vS15p4a + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSkKuuB1fWySn042Z4oUa body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HsSt59Ey5ircxg","request_duration_ms":988}}' + - '{"last_request_metrics":{"request_id":"req_dyC99KdmgdonKM","request_duration_ms":1001}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:26 GMT + - Thu, 04 Apr 2024 13:36:21 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_L0xeuVuB8Jgb7S + - req_Lu774gZN83JviS Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xbKuuB1fWySn0vS15p4a", + "id": "pi_3P1qSkKuuB1fWySn042Z4oUa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328663, + "created": 1712237778, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xbKuuB1fWySn0B7hvVYd", + "latest_charge": "ch_3P1qSkKuuB1fWySn0GnNVFsZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xbKuuB1fWySnhbRSdsJp", + "payment_method": "pm_1P1qSkKuuB1fWySnu28PRFMh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:26 GMT + recorded_at: Thu, 04 Apr 2024 13:36:21 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml index c22f95a6e4..8264e8e2d1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_61NTDBtug2NT9B","request_duration_ms":278}}' + - '{"last_request_metrics":{"request_id":"req_DlJ3ZIJSMo41p0","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:21 GMT + - Thu, 04 Apr 2024 13:36:16 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 064ec060-ef60-4143-b991-39d71d3f3827 + - 8c0f7d46-5e71-41e2-b19b-e7a9f7c36214 Original-Request: - - req_bQy1Pj5YLqLZPs + - req_3AvAzDP2GsXdtT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bQy1Pj5YLqLZPs + - req_3AvAzDP2GsXdtT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xZKuuB1fWySnfMMHh1Oy", + "id": "pm_1P1qSiKuuB1fWySn8toMKnyo", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328661, + "created": 1712237776, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:21 GMT + recorded_at: Thu, 04 Apr 2024 13:36:16 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xZKuuB1fWySnfMMHh1Oy&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSiKuuB1fWySn8toMKnyo&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bQy1Pj5YLqLZPs","request_duration_ms":446}}' + - '{"last_request_metrics":{"request_id":"req_3AvAzDP2GsXdtT","request_duration_ms":488}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:22 GMT + - Thu, 04 Apr 2024 13:36:16 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cc25133f-e7aa-48c1-899d-b3a47def582d + - 684b1453-96fe-458d-b0fc-3353d282fc1d Original-Request: - - req_uPjXdZe0WcM1V5 + - req_KIl2S4yiVJRLEp Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_uPjXdZe0WcM1V5 + - req_KIl2S4yiVJRLEp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xZKuuB1fWySn05aqhyDD", + "id": "pi_3P1qSiKuuB1fWySn021Qdzu8", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328661, + "created": 1712237776, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xZKuuB1fWySnfMMHh1Oy", + "payment_method": "pm_1P1qSiKuuB1fWySn8toMKnyo", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:22 GMT + recorded_at: Thu, 04 Apr 2024 13:36:17 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xZKuuB1fWySn05aqhyDD/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSiKuuB1fWySn021Qdzu8/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uPjXdZe0WcM1V5","request_duration_ms":473}}' + - '{"last_request_metrics":{"request_id":"req_KIl2S4yiVJRLEp","request_duration_ms":483}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:23 GMT + - Thu, 04 Apr 2024 13:36:17 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5466ac3d-79bb-433e-929c-fd25a3d09cf9 + - c5d929c1-a58e-46e7-9cf9-c26ca47a90aa Original-Request: - - req_CHYbtgMyODWK1I + - req_kKtioAccmebXnc Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_CHYbtgMyODWK1I + - req_kKtioAccmebXnc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xZKuuB1fWySn05aqhyDD", + "id": "pi_3P1qSiKuuB1fWySn021Qdzu8", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328661, + "created": 1712237776, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xZKuuB1fWySn0MhTaNeJ", + "latest_charge": "ch_3P1qSiKuuB1fWySn0C5ChAQh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xZKuuB1fWySnfMMHh1Oy", + "payment_method": "pm_1P1qSiKuuB1fWySn8toMKnyo", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:23 GMT + recorded_at: Thu, 04 Apr 2024 13:36:18 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml index d722b62b29..30849320cc 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ub6PTwN81SsuJq","request_duration_ms":973}}' + - '{"last_request_metrics":{"request_id":"req_X01kAvUvm0VsBE","request_duration_ms":922}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:50 GMT + - Thu, 04 Apr 2024 13:36:50 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 70dcb2e4-ac30-4746-9eeb-ddf94cdbed06 + - 43516c53-60f2-4c0f-a013-3fd89b0112a9 Original-Request: - - req_3zzVdTqUTSjqds + - req_wxpJBbdttlFEHW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3zzVdTqUTSjqds + - req_wxpJBbdttlFEHW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1y2KuuB1fWySnQkbBtDaA", + "id": "pm_1P1qTFKuuB1fWySndLalHIeo", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328690, + "created": 1712237809, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:51 GMT + recorded_at: Thu, 04 Apr 2024 13:36:50 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1y2KuuB1fWySnQkbBtDaA&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTFKuuB1fWySndLalHIeo&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3zzVdTqUTSjqds","request_duration_ms":460}}' + - '{"last_request_metrics":{"request_id":"req_wxpJBbdttlFEHW","request_duration_ms":559}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:51 GMT + - Thu, 04 Apr 2024 13:36:50 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 44a5d46e-bd4d-4c48-b9c6-6a670ea7da6b + - d73fe439-63d8-4b13-83b9-ce17541fa6c6 Original-Request: - - req_wVoLfGMULHwntT + - req_9MEB3LXvjsa17w Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wVoLfGMULHwntT + - req_9MEB3LXvjsa17w Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y3KuuB1fWySn2qbVtwoa", + "id": "pi_3P1qTGKuuB1fWySn1zeRyRLr", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328691, + "created": 1712237810, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y2KuuB1fWySnQkbBtDaA", + "payment_method": "pm_1P1qTFKuuB1fWySndLalHIeo", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:51 GMT + recorded_at: Thu, 04 Apr 2024 13:36:50 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y3KuuB1fWySn2qbVtwoa/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTGKuuB1fWySn1zeRyRLr/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wVoLfGMULHwntT","request_duration_ms":375}}' + - '{"last_request_metrics":{"request_id":"req_9MEB3LXvjsa17w","request_duration_ms":504}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:52 GMT + - Thu, 04 Apr 2024 13:36:51 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cf80bf45-85f5-45e5-921c-7db356614a22 + - af63f2ff-824c-4881-a30a-428cac1980d4 Original-Request: - - req_UsvWN6LVcymUhE + - req_MUZv1AIcfn6cOG Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UsvWN6LVcymUhE + - req_MUZv1AIcfn6cOG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y3KuuB1fWySn2qbVtwoa", + "id": "pi_3P1qTGKuuB1fWySn1zeRyRLr", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328691, + "created": 1712237810, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1y3KuuB1fWySn2Htsliyh", + "latest_charge": "ch_3P1qTGKuuB1fWySn1xUKjuyd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y2KuuB1fWySnQkbBtDaA", + "payment_method": "pm_1P1qTFKuuB1fWySndLalHIeo", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:52 GMT + recorded_at: Thu, 04 Apr 2024 13:36:51 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y3KuuB1fWySn2qbVtwoa + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTGKuuB1fWySn1zeRyRLr body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UsvWN6LVcymUhE","request_duration_ms":953}}' + - '{"last_request_metrics":{"request_id":"req_MUZv1AIcfn6cOG","request_duration_ms":1019}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:52 GMT + - Thu, 04 Apr 2024 13:36:52 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_D1hH39Ttrmhh3x + - req_gREGcicQiKec9h Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y3KuuB1fWySn2qbVtwoa", + "id": "pi_3P1qTGKuuB1fWySn1zeRyRLr", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328691, + "created": 1712237810, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1y3KuuB1fWySn2Htsliyh", + "latest_charge": "ch_3P1qTGKuuB1fWySn1xUKjuyd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y2KuuB1fWySnQkbBtDaA", + "payment_method": "pm_1P1qTFKuuB1fWySndLalHIeo", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:52 GMT + recorded_at: Thu, 04 Apr 2024 13:36:52 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y3KuuB1fWySn2qbVtwoa/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTGKuuB1fWySn1zeRyRLr/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_D1hH39Ttrmhh3x","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_gREGcicQiKec9h","request_duration_ms":309}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:53 GMT + - Thu, 04 Apr 2024 13:36:53 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f03244b1-47a6-4560-aff0-bab2c42f8e50 + - e964e4a4-d107-43cf-88b7-9ae786bc9d27 Original-Request: - - req_ebhQja7aZhXvOZ + - req_zli0aVDimaqCcR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ebhQja7aZhXvOZ + - req_zli0aVDimaqCcR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y3KuuB1fWySn2qbVtwoa", + "id": "pi_3P1qTGKuuB1fWySn1zeRyRLr", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328691, + "created": 1712237810, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1y3KuuB1fWySn2Htsliyh", + "latest_charge": "ch_3P1qTGKuuB1fWySn1xUKjuyd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y2KuuB1fWySnQkbBtDaA", + "payment_method": "pm_1P1qTFKuuB1fWySndLalHIeo", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:53 GMT + recorded_at: Thu, 04 Apr 2024 13:36:53 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y3KuuB1fWySn2qbVtwoa + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTGKuuB1fWySn1zeRyRLr body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ebhQja7aZhXvOZ","request_duration_ms":941}}' + - '{"last_request_metrics":{"request_id":"req_zli0aVDimaqCcR","request_duration_ms":1181}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:53 GMT + - Thu, 04 Apr 2024 13:36:53 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_iDg1n54KBz6Uaz + - req_iHDzqAogvyOtTH Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y3KuuB1fWySn2qbVtwoa", + "id": "pi_3P1qTGKuuB1fWySn1zeRyRLr", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328691, + "created": 1712237810, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1y3KuuB1fWySn2Htsliyh", + "latest_charge": "ch_3P1qTGKuuB1fWySn1xUKjuyd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y2KuuB1fWySnQkbBtDaA", + "payment_method": "pm_1P1qTFKuuB1fWySndLalHIeo", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:54 GMT + recorded_at: Thu, 04 Apr 2024 13:36:53 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml index 5d61164e02..26ef90826a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QjXX8d38Hkq9BM","request_duration_ms":289}}' + - '{"last_request_metrics":{"request_id":"req_G2DWAGpxQRMWqt","request_duration_ms":327}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:49 GMT + - Thu, 04 Apr 2024 13:36:47 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 40bfdefd-0c08-4c79-b260-8a9bf5d3969b + - e69ccd3e-bafc-46d0-8d70-161dd7f55e7c Original-Request: - - req_HxnB83oDlQy929 + - req_y604ljuo9s4NV4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_HxnB83oDlQy929 + - req_y604ljuo9s4NV4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1y0KuuB1fWySnHmbdlL0s", + "id": "pm_1P1qTDKuuB1fWySnPunza29b", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328688, + "created": 1712237807, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:49 GMT + recorded_at: Thu, 04 Apr 2024 13:36:47 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1y0KuuB1fWySnHmbdlL0s&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTDKuuB1fWySnPunza29b&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HxnB83oDlQy929","request_duration_ms":442}}' + - '{"last_request_metrics":{"request_id":"req_y604ljuo9s4NV4","request_duration_ms":519}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:49 GMT + - Thu, 04 Apr 2024 13:36:48 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7f2683e3-38bd-44a6-a46b-f88adde4bb59 + - b4652a2c-5588-4654-914a-64004df0478a Original-Request: - - req_DY6rFAOwWoIgSJ + - req_OXjLmV241sBRou Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DY6rFAOwWoIgSJ + - req_OXjLmV241sBRou Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y1KuuB1fWySn0FgVmR7A", + "id": "pi_3P1qTDKuuB1fWySn1tCtUiGl", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328689, + "created": 1712237807, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y0KuuB1fWySnHmbdlL0s", + "payment_method": "pm_1P1qTDKuuB1fWySnPunza29b", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:49 GMT + recorded_at: Thu, 04 Apr 2024 13:36:48 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y1KuuB1fWySn0FgVmR7A/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTDKuuB1fWySn1tCtUiGl/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DY6rFAOwWoIgSJ","request_duration_ms":461}}' + - '{"last_request_metrics":{"request_id":"req_OXjLmV241sBRou","request_duration_ms":455}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:50 GMT + - Thu, 04 Apr 2024 13:36:49 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e0169415-0618-454b-ab60-4ca30f095799 + - 63b85084-4c72-4dce-a609-c080f70bf85e Original-Request: - - req_ub6PTwN81SsuJq + - req_X01kAvUvm0VsBE Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ub6PTwN81SsuJq + - req_X01kAvUvm0VsBE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y1KuuB1fWySn0FgVmR7A", + "id": "pi_3P1qTDKuuB1fWySn1tCtUiGl", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328689, + "created": 1712237807, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1y1KuuB1fWySn00JdvBAY", + "latest_charge": "ch_3P1qTDKuuB1fWySn1cIy93Zg", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y0KuuB1fWySnHmbdlL0s", + "payment_method": "pm_1P1qTDKuuB1fWySnPunza29b", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:50 GMT + recorded_at: Thu, 04 Apr 2024 13:36:49 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml index 66e50caa44..1f00857073 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KPQl7OWTmnAChH","request_duration_ms":889}}' + - '{"last_request_metrics":{"request_id":"req_Cw9DUZdMyP6Nxr","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:40 GMT + - Thu, 04 Apr 2024 13:36:37 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2a5dd494-d602-4b14-b301-dd69227250d7 + - 275b363d-34a2-4835-99fc-005682ee4b72 Original-Request: - - req_NjIYStRyrFexWx + - req_np7BXOZWfhIwjO Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NjIYStRyrFexWx + - req_np7BXOZWfhIwjO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xrKuuB1fWySn97ZedAFu", + "id": "pm_1P1qT3KuuB1fWySnRYCu307e", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328680, + "created": 1712237797, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:40 GMT + recorded_at: Thu, 04 Apr 2024 13:36:37 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xrKuuB1fWySn97ZedAFu&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qT3KuuB1fWySnRYCu307e&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NjIYStRyrFexWx","request_duration_ms":441}}' + - '{"last_request_metrics":{"request_id":"req_np7BXOZWfhIwjO","request_duration_ms":439}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:40 GMT + - Thu, 04 Apr 2024 13:36:38 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1705ae17-a020-422c-902f-914cc4d3c0e6 + - 201f20fe-95c5-40c6-b9a3-d68107683d01 Original-Request: - - req_jpxa7QxIyOZUl1 + - req_t09PKBdjBu8kAj Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jpxa7QxIyOZUl1 + - req_t09PKBdjBu8kAj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xsKuuB1fWySn1788cHeq", + "id": "pi_3P1qT4KuuB1fWySn2fbyICTo", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328680, + "created": 1712237798, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xrKuuB1fWySn97ZedAFu", + "payment_method": "pm_1P1qT3KuuB1fWySnRYCu307e", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:40 GMT + recorded_at: Thu, 04 Apr 2024 13:36:38 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xsKuuB1fWySn1788cHeq/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qT4KuuB1fWySn2fbyICTo/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jpxa7QxIyOZUl1","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_t09PKBdjBu8kAj","request_duration_ms":526}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:41 GMT + - Thu, 04 Apr 2024 13:36:39 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2c2c5e81-393f-4617-91e7-537d32db1dd7 + - 4e6e5c4b-e3fc-4d24-9e6e-f354eabd44aa Original-Request: - - req_0mVQR11RstwQ7F + - req_04sCqdhwozEWV2 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0mVQR11RstwQ7F + - req_04sCqdhwozEWV2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xsKuuB1fWySn1788cHeq", + "id": "pi_3P1qT4KuuB1fWySn2fbyICTo", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328680, + "created": 1712237798, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xsKuuB1fWySn1Z3nSLvq", + "latest_charge": "ch_3P1qT4KuuB1fWySn2JXwAuaU", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xrKuuB1fWySn97ZedAFu", + "payment_method": "pm_1P1qT3KuuB1fWySnRYCu307e", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:41 GMT + recorded_at: Thu, 04 Apr 2024 13:36:39 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xsKuuB1fWySn1788cHeq + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qT4KuuB1fWySn2fbyICTo body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0mVQR11RstwQ7F","request_duration_ms":958}}' + - '{"last_request_metrics":{"request_id":"req_04sCqdhwozEWV2","request_duration_ms":1060}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:41 GMT + - Thu, 04 Apr 2024 13:36:39 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1rSvzTr6KZH5y9 + - req_8oWvaczosbN8G4 Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xsKuuB1fWySn1788cHeq", + "id": "pi_3P1qT4KuuB1fWySn2fbyICTo", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328680, + "created": 1712237798, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xsKuuB1fWySn1Z3nSLvq", + "latest_charge": "ch_3P1qT4KuuB1fWySn2JXwAuaU", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xrKuuB1fWySn97ZedAFu", + "payment_method": "pm_1P1qT3KuuB1fWySnRYCu307e", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:41 GMT + recorded_at: Thu, 04 Apr 2024 13:36:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xsKuuB1fWySn1788cHeq/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qT4KuuB1fWySn2fbyICTo/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1rSvzTr6KZH5y9","request_duration_ms":313}}' + - '{"last_request_metrics":{"request_id":"req_8oWvaczosbN8G4","request_duration_ms":343}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:42 GMT + - Thu, 04 Apr 2024 13:36:40 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6c9639e0-c61c-4ef2-8d3d-24a72aae7385 + - ae119da0-87e2-42ad-a95e-93fbd4c38ce0 Original-Request: - - req_aMitf3dOPhc89R + - req_VgUKYWh6UmpRJl Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aMitf3dOPhc89R + - req_VgUKYWh6UmpRJl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xsKuuB1fWySn1788cHeq", + "id": "pi_3P1qT4KuuB1fWySn2fbyICTo", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328680, + "created": 1712237798, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xsKuuB1fWySn1Z3nSLvq", + "latest_charge": "ch_3P1qT4KuuB1fWySn2JXwAuaU", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xrKuuB1fWySn97ZedAFu", + "payment_method": "pm_1P1qT3KuuB1fWySnRYCu307e", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:42 GMT + recorded_at: Thu, 04 Apr 2024 13:36:40 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xsKuuB1fWySn1788cHeq + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qT4KuuB1fWySn2fbyICTo body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aMitf3dOPhc89R","request_duration_ms":929}}' + - '{"last_request_metrics":{"request_id":"req_VgUKYWh6UmpRJl","request_duration_ms":1103}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:43 GMT + - Thu, 04 Apr 2024 13:36:41 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_G6hJeVpEtdFcAC + - req_JuD4mjpylCXHeO Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xsKuuB1fWySn1788cHeq", + "id": "pi_3P1qT4KuuB1fWySn2fbyICTo", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328680, + "created": 1712237798, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xsKuuB1fWySn1Z3nSLvq", + "latest_charge": "ch_3P1qT4KuuB1fWySn2JXwAuaU", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xrKuuB1fWySn97ZedAFu", + "payment_method": "pm_1P1qT3KuuB1fWySnRYCu307e", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:43 GMT + recorded_at: Thu, 04 Apr 2024 13:36:41 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml index 465ffb6203..992a4d502e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aYJovHMUfp9imi","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_qsqnWDAgxN1Wff","request_duration_ms":312}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:38 GMT + - Thu, 04 Apr 2024 13:36:35 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - aedacaea-f50c-4b20-b0c9-a4f5bbfdaeef + - da3215dc-435a-41ba-8a80-660ece8cffe8 Original-Request: - - req_NEtpOGHxyywL9K + - req_Wx9EPoCosMKfvR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NEtpOGHxyywL9K + - req_Wx9EPoCosMKfvR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xpKuuB1fWySn5470dSOH", + "id": "pm_1P1qT1KuuB1fWySnmH6eTmhA", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328678, + "created": 1712237795, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:38 GMT + recorded_at: Thu, 04 Apr 2024 13:36:35 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xpKuuB1fWySn5470dSOH&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qT1KuuB1fWySnmH6eTmhA&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NEtpOGHxyywL9K","request_duration_ms":498}}' + - '{"last_request_metrics":{"request_id":"req_Wx9EPoCosMKfvR","request_duration_ms":557}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:38 GMT + - Thu, 04 Apr 2024 13:36:35 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1aa7a693-aa6b-41a5-af77-743f160bd004 + - 85f990a1-7099-4b1f-b8ea-c56097295a29 Original-Request: - - req_EJCYVBzHwyAJIe + - req_PZBKHVUWgr6Cd9 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EJCYVBzHwyAJIe + - req_PZBKHVUWgr6Cd9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xqKuuB1fWySn02giHaSV", + "id": "pi_3P1qT1KuuB1fWySn1EoIuVu4", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328678, + "created": 1712237795, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xpKuuB1fWySn5470dSOH", + "payment_method": "pm_1P1qT1KuuB1fWySnmH6eTmhA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:38 GMT + recorded_at: Thu, 04 Apr 2024 13:36:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xqKuuB1fWySn02giHaSV/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qT1KuuB1fWySn1EoIuVu4/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EJCYVBzHwyAJIe","request_duration_ms":401}}' + - '{"last_request_metrics":{"request_id":"req_PZBKHVUWgr6Cd9","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:39 GMT + - Thu, 04 Apr 2024 13:36:36 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9317af03-3390-48ad-a8c2-a5ae214cc8ee + - c581a0ce-eb04-4f94-ae1b-a1f1deb7d824 Original-Request: - - req_KPQl7OWTmnAChH + - req_Cw9DUZdMyP6Nxr Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KPQl7OWTmnAChH + - req_Cw9DUZdMyP6Nxr Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xqKuuB1fWySn02giHaSV", + "id": "pi_3P1qT1KuuB1fWySn1EoIuVu4", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328678, + "created": 1712237795, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xqKuuB1fWySn0kG0pijK", + "latest_charge": "ch_3P1qT1KuuB1fWySn1VB8PDcU", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xpKuuB1fWySn5470dSOH", + "payment_method": "pm_1P1qT1KuuB1fWySnmH6eTmhA", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:39 GMT + recorded_at: Thu, 04 Apr 2024 13:36:36 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml index 287daa356d..90aafffad0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SVGQbg9n33Yvw7","request_duration_ms":967}}' + - '{"last_request_metrics":{"request_id":"req_VJ7ouI8YK5vhnw","request_duration_ms":937}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:45 GMT + - Thu, 04 Apr 2024 13:36:44 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7801efcf-fbab-40d8-86ff-7954741fe625 + - ea71a23e-bfef-43ec-bd0b-4e3fc404b916 Original-Request: - - req_PsRU2r8emxMrMK + - req_vQZXC1JPsKK3d7 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PsRU2r8emxMrMK + - req_vQZXC1JPsKK3d7 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xxKuuB1fWySnQpwYCpwd", + "id": "pm_1P1qT9KuuB1fWySnW3eUvt6l", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328685, + "created": 1712237803, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:45 GMT + recorded_at: Thu, 04 Apr 2024 13:36:44 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xxKuuB1fWySnQpwYCpwd&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qT9KuuB1fWySnW3eUvt6l&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PsRU2r8emxMrMK","request_duration_ms":431}}' + - '{"last_request_metrics":{"request_id":"req_vQZXC1JPsKK3d7","request_duration_ms":462}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:46 GMT + - Thu, 04 Apr 2024 13:36:44 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c2e3f4e7-099a-4418-99f3-de9989ef0fb1 + - ce5e4159-ff5d-4530-8f2f-909cc9af0cf8 Original-Request: - - req_C8GoFuyThwO2NF + - req_anJa2X5oHGq6M9 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_C8GoFuyThwO2NF + - req_anJa2X5oHGq6M9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xxKuuB1fWySn0hekpVtZ", + "id": "pi_3P1qTAKuuB1fWySn1fx0R4kZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328685, + "created": 1712237804, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xxKuuB1fWySnQpwYCpwd", + "payment_method": "pm_1P1qT9KuuB1fWySnW3eUvt6l", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:46 GMT + recorded_at: Thu, 04 Apr 2024 13:36:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xxKuuB1fWySn0hekpVtZ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTAKuuB1fWySn1fx0R4kZ/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_C8GoFuyThwO2NF","request_duration_ms":365}}' + - '{"last_request_metrics":{"request_id":"req_anJa2X5oHGq6M9","request_duration_ms":396}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:46 GMT + - Thu, 04 Apr 2024 13:36:45 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 208e2fd5-1896-4aa0-99a3-27a5568bd635 + - 309dce54-f9e4-45eb-988a-37077cde2ee4 Original-Request: - - req_ufBGmO7Bw8onQx + - req_ng7lWj99WoKibU Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ufBGmO7Bw8onQx + - req_ng7lWj99WoKibU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xxKuuB1fWySn0hekpVtZ", + "id": "pi_3P1qTAKuuB1fWySn1fx0R4kZ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328685, + "created": 1712237804, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xxKuuB1fWySn0OZTI5Q8", + "latest_charge": "ch_3P1qTAKuuB1fWySn14XzI70k", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xxKuuB1fWySnQpwYCpwd", + "payment_method": "pm_1P1qT9KuuB1fWySnW3eUvt6l", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:47 GMT + recorded_at: Thu, 04 Apr 2024 13:36:45 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xxKuuB1fWySn0hekpVtZ + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTAKuuB1fWySn1fx0R4kZ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ufBGmO7Bw8onQx","request_duration_ms":989}}' + - '{"last_request_metrics":{"request_id":"req_ng7lWj99WoKibU","request_duration_ms":919}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:47 GMT + - Thu, 04 Apr 2024 13:36:45 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ehIaj2WqrRkdKo + - req_hSr6ufzxVAoH5Y Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xxKuuB1fWySn0hekpVtZ", + "id": "pi_3P1qTAKuuB1fWySn1fx0R4kZ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328685, + "created": 1712237804, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xxKuuB1fWySn0OZTI5Q8", + "latest_charge": "ch_3P1qTAKuuB1fWySn14XzI70k", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xxKuuB1fWySnQpwYCpwd", + "payment_method": "pm_1P1qT9KuuB1fWySnW3eUvt6l", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:47 GMT + recorded_at: Thu, 04 Apr 2024 13:36:45 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xxKuuB1fWySn0hekpVtZ/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTAKuuB1fWySn1fx0R4kZ/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ehIaj2WqrRkdKo","request_duration_ms":307}}' + - '{"last_request_metrics":{"request_id":"req_hSr6ufzxVAoH5Y","request_duration_ms":418}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:48 GMT + - Thu, 04 Apr 2024 13:36:46 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ccdf3e96-a8ab-4976-b938-28025fdffc60 + - 6d7989ee-c1eb-48f7-89f3-15848bc99f91 Original-Request: - - req_Wd5pnkzWTULzC8 + - req_dqw4r7KQ2eCTS7 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Wd5pnkzWTULzC8 + - req_dqw4r7KQ2eCTS7 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xxKuuB1fWySn0hekpVtZ", + "id": "pi_3P1qTAKuuB1fWySn1fx0R4kZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328685, + "created": 1712237804, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xxKuuB1fWySn0OZTI5Q8", + "latest_charge": "ch_3P1qTAKuuB1fWySn14XzI70k", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xxKuuB1fWySnQpwYCpwd", + "payment_method": "pm_1P1qT9KuuB1fWySnW3eUvt6l", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:48 GMT + recorded_at: Thu, 04 Apr 2024 13:36:46 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xxKuuB1fWySn0hekpVtZ + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTAKuuB1fWySn1fx0R4kZ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Wd5pnkzWTULzC8","request_duration_ms":938}}' + - '{"last_request_metrics":{"request_id":"req_dqw4r7KQ2eCTS7","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:48 GMT + - Thu, 04 Apr 2024 13:36:47 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QjXX8d38Hkq9BM + - req_G2DWAGpxQRMWqt Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xxKuuB1fWySn0hekpVtZ", + "id": "pi_3P1qTAKuuB1fWySn1fx0R4kZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328685, + "created": 1712237804, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xxKuuB1fWySn0OZTI5Q8", + "latest_charge": "ch_3P1qTAKuuB1fWySn14XzI70k", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xxKuuB1fWySnQpwYCpwd", + "payment_method": "pm_1P1qT9KuuB1fWySnW3eUvt6l", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:48 GMT + recorded_at: Thu, 04 Apr 2024 13:36:47 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 62fce428df..09c6f2883e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_G6hJeVpEtdFcAC","request_duration_ms":291}}' + - '{"last_request_metrics":{"request_id":"req_JuD4mjpylCXHeO","request_duration_ms":305}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:43 GMT + - Thu, 04 Apr 2024 13:36:41 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 77586e7f-84bf-42dc-902d-5e2502e9d192 + - b41608da-3140-4dfb-9213-7b7683b1d37c Original-Request: - - req_FJI6vwrq7RkrpZ + - req_WJgsRTiYlwzESW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FJI6vwrq7RkrpZ + - req_WJgsRTiYlwzESW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xvKuuB1fWySnQnhjNJHu", + "id": "pm_1P1qT7KuuB1fWySnFeRhG40F", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328683, + "created": 1712237801, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:43 GMT + recorded_at: Thu, 04 Apr 2024 13:36:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xvKuuB1fWySnQnhjNJHu&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qT7KuuB1fWySnFeRhG40F&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FJI6vwrq7RkrpZ","request_duration_ms":418}}' + - '{"last_request_metrics":{"request_id":"req_WJgsRTiYlwzESW","request_duration_ms":522}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:44 GMT + - Thu, 04 Apr 2024 13:36:42 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4c46590f-e5dc-4f54-8a61-19a178f88f77 + - 80b4f37b-127a-4eed-b352-7a8ba88c400c Original-Request: - - req_hzb0bkINzt3NNa + - req_GNWW7JAIq7XXFw Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hzb0bkINzt3NNa + - req_GNWW7JAIq7XXFw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xvKuuB1fWySn1IY9Hdss", + "id": "pi_3P1qT7KuuB1fWySn2chxRhGK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328683, + "created": 1712237801, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xvKuuB1fWySnQnhjNJHu", + "payment_method": "pm_1P1qT7KuuB1fWySnFeRhG40F", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:44 GMT + recorded_at: Thu, 04 Apr 2024 13:36:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xvKuuB1fWySn1IY9Hdss/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qT7KuuB1fWySn2chxRhGK/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hzb0bkINzt3NNa","request_duration_ms":390}}' + - '{"last_request_metrics":{"request_id":"req_GNWW7JAIq7XXFw","request_duration_ms":376}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:44 GMT + - Thu, 04 Apr 2024 13:36:43 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ac808050-558e-4c84-a7f7-62789b6c1786 + - 90706e77-2a38-4e31-b92c-5b4b73e47fee Original-Request: - - req_SVGQbg9n33Yvw7 + - req_VJ7ouI8YK5vhnw Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SVGQbg9n33Yvw7 + - req_VJ7ouI8YK5vhnw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xvKuuB1fWySn1IY9Hdss", + "id": "pi_3P1qT7KuuB1fWySn2chxRhGK", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328683, + "created": 1712237801, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xvKuuB1fWySn1XA69uEx", + "latest_charge": "ch_3P1qT7KuuB1fWySn2d0iDSUl", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xvKuuB1fWySnQnhjNJHu", + "payment_method": "pm_1P1qT7KuuB1fWySnFeRhG40F", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:44 GMT + recorded_at: Thu, 04 Apr 2024 13:36:43 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml index 6234dc4cfe..e0e9e1ebf4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_j2VauhDrVyjFUn","request_duration_ms":891}}' + - '{"last_request_metrics":{"request_id":"req_B4cgfNzScPYSTo","request_duration_ms":957}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:29 GMT + - Thu, 04 Apr 2024 13:36:25 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e3975548-4e53-482f-8b83-c22f6d36594b + - eb579695-6359-4c3e-ad6e-0ef86fc2b94d Original-Request: - - req_I4dTxBURNNYAhZ + - req_2Dctrq8aqVIcPG Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_I4dTxBURNNYAhZ + - req_2Dctrq8aqVIcPG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xgKuuB1fWySnLG8YXGHF", + "id": "pm_1P1qSqKuuB1fWySnC7UEUJ8l", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328669, + "created": 1712237784, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:29 GMT + recorded_at: Thu, 04 Apr 2024 13:36:25 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xgKuuB1fWySnLG8YXGHF&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSqKuuB1fWySnC7UEUJ8l&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_I4dTxBURNNYAhZ","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_2Dctrq8aqVIcPG","request_duration_ms":428}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:29 GMT + - Thu, 04 Apr 2024 13:36:25 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5d92b7da-c30e-4127-b2ca-b76e35b4023f + - 1cec0476-1d39-4134-af7c-9caa19e7a8cc Original-Request: - - req_4OTwgekosz6I8L + - req_G8zDdlAej4WWfd Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4OTwgekosz6I8L + - req_G8zDdlAej4WWfd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xhKuuB1fWySn19IcX6TK", + "id": "pi_3P1qSrKuuB1fWySn1xJyBgYZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328669, + "created": 1712237785, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xgKuuB1fWySnLG8YXGHF", + "payment_method": "pm_1P1qSqKuuB1fWySnC7UEUJ8l", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:29 GMT + recorded_at: Thu, 04 Apr 2024 13:36:25 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xhKuuB1fWySn19IcX6TK/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSrKuuB1fWySn1xJyBgYZ/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4OTwgekosz6I8L","request_duration_ms":486}}' + - '{"last_request_metrics":{"request_id":"req_G8zDdlAej4WWfd","request_duration_ms":462}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:30 GMT + - Thu, 04 Apr 2024 13:36:26 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f536c1e2-4654-4cfe-90aa-afce369e9e7e + - 334b0ede-ba4d-4c46-ae02-99316ddc9dc7 Original-Request: - - req_Zxvs6JhF0YdiRi + - req_BCSieclGB2OYqR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Zxvs6JhF0YdiRi + - req_BCSieclGB2OYqR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xhKuuB1fWySn19IcX6TK", + "id": "pi_3P1qSrKuuB1fWySn1xJyBgYZ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328669, + "created": 1712237785, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xhKuuB1fWySn1DzDej93", + "latest_charge": "ch_3P1qSrKuuB1fWySn1bUjqxYW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xgKuuB1fWySnLG8YXGHF", + "payment_method": "pm_1P1qSqKuuB1fWySnC7UEUJ8l", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:30 GMT + recorded_at: Thu, 04 Apr 2024 13:36:26 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xhKuuB1fWySn19IcX6TK + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSrKuuB1fWySn1xJyBgYZ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Zxvs6JhF0YdiRi","request_duration_ms":1025}}' + - '{"last_request_metrics":{"request_id":"req_BCSieclGB2OYqR","request_duration_ms":1034}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:31 GMT + - Thu, 04 Apr 2024 13:36:26 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BSLvQKdIpTiFSn + - req_YU2NjtfafXtd3c Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xhKuuB1fWySn19IcX6TK", + "id": "pi_3P1qSrKuuB1fWySn1xJyBgYZ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328669, + "created": 1712237785, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xhKuuB1fWySn1DzDej93", + "latest_charge": "ch_3P1qSrKuuB1fWySn1bUjqxYW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xgKuuB1fWySnLG8YXGHF", + "payment_method": "pm_1P1qSqKuuB1fWySnC7UEUJ8l", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:31 GMT + recorded_at: Thu, 04 Apr 2024 13:36:26 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xhKuuB1fWySn19IcX6TK/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSrKuuB1fWySn1xJyBgYZ/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BSLvQKdIpTiFSn","request_duration_ms":299}}' + - '{"last_request_metrics":{"request_id":"req_YU2NjtfafXtd3c","request_duration_ms":300}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:32 GMT + - Thu, 04 Apr 2024 13:36:27 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ca9845c9-dcfc-46f9-87e1-253fb5ce1ea3 + - 9fd2201c-be96-4fad-a56a-1a8feebe0a4d Original-Request: - - req_5lzIEfjlLmcKnz + - req_f3nGgvv29wco1r Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5lzIEfjlLmcKnz + - req_f3nGgvv29wco1r Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xhKuuB1fWySn19IcX6TK", + "id": "pi_3P1qSrKuuB1fWySn1xJyBgYZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328669, + "created": 1712237785, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xhKuuB1fWySn1DzDej93", + "latest_charge": "ch_3P1qSrKuuB1fWySn1bUjqxYW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xgKuuB1fWySnLG8YXGHF", + "payment_method": "pm_1P1qSqKuuB1fWySnC7UEUJ8l", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:32 GMT + recorded_at: Thu, 04 Apr 2024 13:36:27 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xhKuuB1fWySn19IcX6TK + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSrKuuB1fWySn1xJyBgYZ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5lzIEfjlLmcKnz","request_duration_ms":1005}}' + - '{"last_request_metrics":{"request_id":"req_f3nGgvv29wco1r","request_duration_ms":972}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:32 GMT + - Thu, 04 Apr 2024 13:36:28 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bSu7GCba6m7Giu + - req_Ttxs2OQtecvonB Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xhKuuB1fWySn19IcX6TK", + "id": "pi_3P1qSrKuuB1fWySn1xJyBgYZ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328669, + "created": 1712237785, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xhKuuB1fWySn1DzDej93", + "latest_charge": "ch_3P1qSrKuuB1fWySn1bUjqxYW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xgKuuB1fWySnLG8YXGHF", + "payment_method": "pm_1P1qSqKuuB1fWySnC7UEUJ8l", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:32 GMT + recorded_at: Thu, 04 Apr 2024 13:36:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml index 239c628d74..201ff959ee 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_L0xeuVuB8Jgb7S","request_duration_ms":0}}' + - '{"last_request_metrics":{"request_id":"req_Lu774gZN83JviS","request_duration_ms":1}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:27 GMT + - Thu, 04 Apr 2024 13:36:22 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b0195ed8-e009-4639-9522-f5374f239bf7 + - 1302edb2-7a7a-45e4-b13c-25d402070741 Original-Request: - - req_9qPV0oGguVXEiR + - req_jRTWrfkuArWCzn Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9qPV0oGguVXEiR + - req_jRTWrfkuArWCzn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xfKuuB1fWySnopXOfWjY", + "id": "pm_1P1qSoKuuB1fWySnn7K6ZiWE", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328667, + "created": 1712237782, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:27 GMT + recorded_at: Thu, 04 Apr 2024 13:36:22 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xfKuuB1fWySnopXOfWjY&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSoKuuB1fWySnn7K6ZiWE&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9qPV0oGguVXEiR","request_duration_ms":489}}' + - '{"last_request_metrics":{"request_id":"req_jRTWrfkuArWCzn","request_duration_ms":606}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:27 GMT + - Thu, 04 Apr 2024 13:36:23 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1b0a6ea4-f6b7-4fff-bf50-f8926f7c9234 + - 484aa6ab-8585-4861-94a2-25e295903ab1 Original-Request: - - req_26SFTqb5jiHGYS + - req_aoIhmVvKmG1GS9 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_26SFTqb5jiHGYS + - req_aoIhmVvKmG1GS9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xfKuuB1fWySn0Tw8K0e8", + "id": "pi_3P1qSpKuuB1fWySn0uhLoG1g", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328667, + "created": 1712237783, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xfKuuB1fWySnopXOfWjY", + "payment_method": "pm_1P1qSoKuuB1fWySnn7K6ZiWE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:27 GMT + recorded_at: Thu, 04 Apr 2024 13:36:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xfKuuB1fWySn0Tw8K0e8/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSpKuuB1fWySn0uhLoG1g/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_26SFTqb5jiHGYS","request_duration_ms":390}}' + - '{"last_request_metrics":{"request_id":"req_aoIhmVvKmG1GS9","request_duration_ms":392}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:28 GMT + - Thu, 04 Apr 2024 13:36:24 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 995836aa-615a-43fc-8f8d-c455a8f8576c + - 040cc151-8cd8-4fa3-8acc-e5dea886c331 Original-Request: - - req_j2VauhDrVyjFUn + - req_B4cgfNzScPYSTo Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_j2VauhDrVyjFUn + - req_B4cgfNzScPYSTo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xfKuuB1fWySn0Tw8K0e8", + "id": "pi_3P1qSpKuuB1fWySn0uhLoG1g", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328667, + "created": 1712237783, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xfKuuB1fWySn0hBMXxM2", + "latest_charge": "ch_3P1qSpKuuB1fWySn0OueFf3n", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xfKuuB1fWySnopXOfWjY", + "payment_method": "pm_1P1qSoKuuB1fWySnn7K6ZiWE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:28 GMT + recorded_at: Thu, 04 Apr 2024 13:36:24 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml index c864ff773b..18a74fd84a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_y6WxDT5Pp5UrpE","request_duration_ms":950}}' + - '{"last_request_metrics":{"request_id":"req_e2jncoEFuWrEjP","request_duration_ms":904}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:34 GMT + - Thu, 04 Apr 2024 13:36:31 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 655ea48a-06ca-4616-8d50-a31f17f2913e + - 66911994-9813-4944-abf2-f3a09d635b08 Original-Request: - - req_d1IvQFFfsTNAko + - req_0krb1YVBeCncvG Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_d1IvQFFfsTNAko + - req_0krb1YVBeCncvG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xmKuuB1fWySne0fOTgjq", + "id": "pm_1P1qSxKuuB1fWySn0ukDNJsq", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328674, + "created": 1712237791, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:34 GMT + recorded_at: Thu, 04 Apr 2024 13:36:31 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xmKuuB1fWySne0fOTgjq&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSxKuuB1fWySn0ukDNJsq&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_d1IvQFFfsTNAko","request_duration_ms":419}}' + - '{"last_request_metrics":{"request_id":"req_0krb1YVBeCncvG","request_duration_ms":441}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:35 GMT + - Thu, 04 Apr 2024 13:36:32 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 18ba7c4d-836c-4c61-9cf1-57a0d094011f + - c54b5d14-8308-407b-abb2-89d027497209 Original-Request: - - req_ujHGX2Pj71Pv3I + - req_3Lt0bhVP4eYfbD Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ujHGX2Pj71Pv3I + - req_3Lt0bhVP4eYfbD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xnKuuB1fWySn0F3z9zSA", + "id": "pi_3P1qSxKuuB1fWySn2URLYogY", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328675, + "created": 1712237791, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xmKuuB1fWySne0fOTgjq", + "payment_method": "pm_1P1qSxKuuB1fWySn0ukDNJsq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:35 GMT + recorded_at: Thu, 04 Apr 2024 13:36:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xnKuuB1fWySn0F3z9zSA/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSxKuuB1fWySn2URLYogY/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ujHGX2Pj71Pv3I","request_duration_ms":392}}' + - '{"last_request_metrics":{"request_id":"req_3Lt0bhVP4eYfbD","request_duration_ms":456}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:36 GMT + - Thu, 04 Apr 2024 13:36:32 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6828366b-0479-41d3-ab5c-60134989bde2 + - 17a3b506-49c7-49a6-8085-c48990bc674d Original-Request: - - req_tUa91x8FT1ij9z + - req_IOivu2THRrCX1t Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_tUa91x8FT1ij9z + - req_IOivu2THRrCX1t Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xnKuuB1fWySn0F3z9zSA", + "id": "pi_3P1qSxKuuB1fWySn2URLYogY", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328675, + "created": 1712237791, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xnKuuB1fWySn0tHKj9mb", + "latest_charge": "ch_3P1qSxKuuB1fWySn2mbW9yAn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xmKuuB1fWySne0fOTgjq", + "payment_method": "pm_1P1qSxKuuB1fWySn0ukDNJsq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:36 GMT + recorded_at: Thu, 04 Apr 2024 13:36:33 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xnKuuB1fWySn0F3z9zSA + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSxKuuB1fWySn2URLYogY body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tUa91x8FT1ij9z","request_duration_ms":883}}' + - '{"last_request_metrics":{"request_id":"req_IOivu2THRrCX1t","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:36 GMT + - Thu, 04 Apr 2024 13:36:33 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DKW03XZAja0C62 + - req_2swEShDYvS9SsU Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xnKuuB1fWySn0F3z9zSA", + "id": "pi_3P1qSxKuuB1fWySn2URLYogY", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328675, + "created": 1712237791, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xnKuuB1fWySn0tHKj9mb", + "latest_charge": "ch_3P1qSxKuuB1fWySn2mbW9yAn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xmKuuB1fWySne0fOTgjq", + "payment_method": "pm_1P1qSxKuuB1fWySn0ukDNJsq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:36 GMT + recorded_at: Thu, 04 Apr 2024 13:36:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xnKuuB1fWySn0F3z9zSA/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSxKuuB1fWySn2URLYogY/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DKW03XZAja0C62","request_duration_ms":357}}' + - '{"last_request_metrics":{"request_id":"req_2swEShDYvS9SsU","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:37 GMT + - Thu, 04 Apr 2024 13:36:34 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8a0512de-b6b1-4db5-8986-52f7bdd2bb9a + - e060ff6f-0937-4d32-8fa1-0bd482292b55 Original-Request: - - req_otpbZ4uiP46dZg + - req_g97OgjGLFLa5HU Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_otpbZ4uiP46dZg + - req_g97OgjGLFLa5HU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xnKuuB1fWySn0F3z9zSA", + "id": "pi_3P1qSxKuuB1fWySn2URLYogY", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328675, + "created": 1712237791, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xnKuuB1fWySn0tHKj9mb", + "latest_charge": "ch_3P1qSxKuuB1fWySn2mbW9yAn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xmKuuB1fWySne0fOTgjq", + "payment_method": "pm_1P1qSxKuuB1fWySn0ukDNJsq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:37 GMT + recorded_at: Thu, 04 Apr 2024 13:36:34 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xnKuuB1fWySn0F3z9zSA + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSxKuuB1fWySn2URLYogY body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_otpbZ4uiP46dZg","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_g97OgjGLFLa5HU","request_duration_ms":910}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:37 GMT + - Thu, 04 Apr 2024 13:36:34 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aYJovHMUfp9imi + - req_qsqnWDAgxN1Wff Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xnKuuB1fWySn0F3z9zSA", + "id": "pi_3P1qSxKuuB1fWySn2URLYogY", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328675, + "created": 1712237791, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xnKuuB1fWySn0tHKj9mb", + "latest_charge": "ch_3P1qSxKuuB1fWySn2mbW9yAn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xmKuuB1fWySne0fOTgjq", + "payment_method": "pm_1P1qSxKuuB1fWySn0ukDNJsq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:37 GMT + recorded_at: Thu, 04 Apr 2024 13:36:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml index 1a105f0d05..f65ecb5c5a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bSu7GCba6m7Giu","request_duration_ms":0}}' + - '{"last_request_metrics":{"request_id":"req_Ttxs2OQtecvonB","request_duration_ms":1}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:32 GMT + - Thu, 04 Apr 2024 13:36:29 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7b0a334f-157f-4b3f-842a-ff0fe56a7af2 + - ec3622bb-51b1-4ba9-b8ef-5a3112d9fa7d Original-Request: - - req_DQlcWJld9Yv40j + - req_UhLmG2tGlToqE5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DQlcWJld9Yv40j + - req_UhLmG2tGlToqE5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xkKuuB1fWySnLfmtuyPG", + "id": "pm_1P1qSvKuuB1fWySnehp9kVHW", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328672, + "created": 1712237789, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:33 GMT + recorded_at: Thu, 04 Apr 2024 13:36:29 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xkKuuB1fWySnLfmtuyPG&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSvKuuB1fWySnehp9kVHW&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DQlcWJld9Yv40j","request_duration_ms":522}}' + - '{"last_request_metrics":{"request_id":"req_UhLmG2tGlToqE5","request_duration_ms":617}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:33 GMT + - Thu, 04 Apr 2024 13:36:29 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3a62d3f6-924b-4fe5-bc9e-1a1f740f3376 + - 74a40109-9669-4de9-be52-458de2316a80 Original-Request: - - req_39Qq6EMINGu4UV + - req_Q1mhIcAjYczE3b Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_39Qq6EMINGu4UV + - req_Q1mhIcAjYczE3b Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xlKuuB1fWySn22940xch", + "id": "pi_3P1qSvKuuB1fWySn1REbcx3L", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328673, + "created": 1712237789, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xkKuuB1fWySnLfmtuyPG", + "payment_method": "pm_1P1qSvKuuB1fWySnehp9kVHW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:33 GMT + recorded_at: Thu, 04 Apr 2024 13:36:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xlKuuB1fWySn22940xch/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSvKuuB1fWySn1REbcx3L/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_39Qq6EMINGu4UV","request_duration_ms":379}}' + - '{"last_request_metrics":{"request_id":"req_Q1mhIcAjYczE3b","request_duration_ms":539}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:34 GMT + - Thu, 04 Apr 2024 13:36:30 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d07c0390-88d0-4115-9d83-b2bc0a043329 + - 8ea38dbf-bd82-4cac-8a7f-01a4c708ac48 Original-Request: - - req_y6WxDT5Pp5UrpE + - req_e2jncoEFuWrEjP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_y6WxDT5Pp5UrpE + - req_e2jncoEFuWrEjP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xlKuuB1fWySn22940xch", + "id": "pi_3P1qSvKuuB1fWySn1REbcx3L", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328673, + "created": 1712237789, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xlKuuB1fWySn2bqMF7ZP", + "latest_charge": "ch_3P1qSvKuuB1fWySn1weKA5Bq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xkKuuB1fWySnLfmtuyPG", + "payment_method": "pm_1P1qSvKuuB1fWySnehp9kVHW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:34 GMT + recorded_at: Thu, 04 Apr 2024 13:36:30 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml index c604c9ab54..3348e40b77 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9m9QNON1AipCoQ","request_duration_ms":853}}' + - '{"last_request_metrics":{"request_id":"req_IP1cjyvbqKlbgB","request_duration_ms":882}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:56 GMT + - Thu, 04 Apr 2024 13:36:56 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ace055b7-cf1d-4fb8-8732-fd84167ecda6 + - cb0d263c-2374-4c0d-858e-fc293a741c41 Original-Request: - - req_Exz8vFkNtBoaNd + - req_uqpmnqqMO5WLCW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Exz8vFkNtBoaNd + - req_uqpmnqqMO5WLCW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1y7KuuB1fWySnKm3vC2M7", + "id": "pm_1P1qTLKuuB1fWySnbVRfAuFD", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328696, + "created": 1712237816, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:56 GMT + recorded_at: Thu, 04 Apr 2024 13:36:56 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1y7KuuB1fWySnKm3vC2M7&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTLKuuB1fWySnbVRfAuFD&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Exz8vFkNtBoaNd","request_duration_ms":413}}' + - '{"last_request_metrics":{"request_id":"req_uqpmnqqMO5WLCW","request_duration_ms":571}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:56 GMT + - Thu, 04 Apr 2024 13:36:56 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c62f48f8-5e68-47a7-b764-d1cf26d705c9 + - 4183ea2a-4971-47dc-ac26-027dc512e9ff Original-Request: - - req_IZLlcAPFhjsLB3 + - req_E9YULQDOtecXRH Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IZLlcAPFhjsLB3 + - req_E9YULQDOtecXRH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y8KuuB1fWySn2CfFhP5j", + "id": "pi_3P1qTMKuuB1fWySn1C1fwOgA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328696, + "created": 1712237816, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y7KuuB1fWySnKm3vC2M7", + "payment_method": "pm_1P1qTLKuuB1fWySnbVRfAuFD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:56 GMT + recorded_at: Thu, 04 Apr 2024 13:36:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y8KuuB1fWySn2CfFhP5j/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTMKuuB1fWySn1C1fwOgA/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IZLlcAPFhjsLB3","request_duration_ms":431}}' + - '{"last_request_metrics":{"request_id":"req_E9YULQDOtecXRH","request_duration_ms":400}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:57 GMT + - Thu, 04 Apr 2024 13:36:57 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5cdfd692-be49-4f19-ad1c-d9a4afbc0690 + - 62ea96f7-bbe0-423d-92c0-761611e6eb41 Original-Request: - - req_Tp8YxqUhmkTSwH + - req_imJTmxiONrwOU5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Tp8YxqUhmkTSwH + - req_imJTmxiONrwOU5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y8KuuB1fWySn2CfFhP5j", + "id": "pi_3P1qTMKuuB1fWySn1C1fwOgA", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328696, + "created": 1712237816, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1y8KuuB1fWySn22ZXZZIK", + "latest_charge": "ch_3P1qTMKuuB1fWySn1d6Eh2Xl", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y7KuuB1fWySnKm3vC2M7", + "payment_method": "pm_1P1qTLKuuB1fWySnbVRfAuFD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:57 GMT + recorded_at: Thu, 04 Apr 2024 13:36:57 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y8KuuB1fWySn2CfFhP5j + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTMKuuB1fWySn1C1fwOgA body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Tp8YxqUhmkTSwH","request_duration_ms":964}}' + - '{"last_request_metrics":{"request_id":"req_imJTmxiONrwOU5","request_duration_ms":1029}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:57 GMT + - Thu, 04 Apr 2024 13:36:57 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ed1Kwgd2OEDuuW + - req_3Ps666ila8yKKL Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y8KuuB1fWySn2CfFhP5j", + "id": "pi_3P1qTMKuuB1fWySn1C1fwOgA", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328696, + "created": 1712237816, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1y8KuuB1fWySn22ZXZZIK", + "latest_charge": "ch_3P1qTMKuuB1fWySn1d6Eh2Xl", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y7KuuB1fWySnKm3vC2M7", + "payment_method": "pm_1P1qTLKuuB1fWySnbVRfAuFD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:57 GMT + recorded_at: Thu, 04 Apr 2024 13:36:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y8KuuB1fWySn2CfFhP5j/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTMKuuB1fWySn1C1fwOgA/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ed1Kwgd2OEDuuW","request_duration_ms":309}}' + - '{"last_request_metrics":{"request_id":"req_3Ps666ila8yKKL","request_duration_ms":304}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:58 GMT + - Thu, 04 Apr 2024 13:36:58 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 97cc8392-dff6-4a5e-b823-9a4cf90b503b + - d8c01696-34de-441d-b89d-3943eedc85ba Original-Request: - - req_vv6x26KiolvPkq + - req_sYnYy8NhtL7w3z Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vv6x26KiolvPkq + - req_sYnYy8NhtL7w3z Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y8KuuB1fWySn2CfFhP5j", + "id": "pi_3P1qTMKuuB1fWySn1C1fwOgA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328696, + "created": 1712237816, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1y8KuuB1fWySn22ZXZZIK", + "latest_charge": "ch_3P1qTMKuuB1fWySn1d6Eh2Xl", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y7KuuB1fWySnKm3vC2M7", + "payment_method": "pm_1P1qTLKuuB1fWySnbVRfAuFD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:58 GMT + recorded_at: Thu, 04 Apr 2024 13:36:59 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y8KuuB1fWySn2CfFhP5j + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTMKuuB1fWySn1C1fwOgA body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vv6x26KiolvPkq","request_duration_ms":1024}}' + - '{"last_request_metrics":{"request_id":"req_sYnYy8NhtL7w3z","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:59 GMT + - Thu, 04 Apr 2024 13:36:59 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zXlaWB946BZqSH + - req_8XCQIRHl77D9wK Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y8KuuB1fWySn2CfFhP5j", + "id": "pi_3P1qTMKuuB1fWySn1C1fwOgA", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328696, + "created": 1712237816, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1y8KuuB1fWySn22ZXZZIK", + "latest_charge": "ch_3P1qTMKuuB1fWySn1d6Eh2Xl", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y7KuuB1fWySnKm3vC2M7", + "payment_method": "pm_1P1qTLKuuB1fWySnbVRfAuFD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:59 GMT + recorded_at: Thu, 04 Apr 2024 13:36:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml index aaa8f7a61e..bdda0ec69c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iDg1n54KBz6Uaz","request_duration_ms":389}}' + - '{"last_request_metrics":{"request_id":"req_iHDzqAogvyOtTH","request_duration_ms":348}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:54 GMT + - Thu, 04 Apr 2024 13:36:54 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6e6a9a4c-f08f-444a-ae14-46f153321081 + - a3869fdb-e2f1-438b-9446-0d6d9a298d7c Original-Request: - - req_UehfKY5zp0wkYe + - req_Ig4LORxryJyAsV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UehfKY5zp0wkYe + - req_Ig4LORxryJyAsV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1y6KuuB1fWySniE1CAgOm", + "id": "pm_1P1qTJKuuB1fWySnuKcWZ4xU", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328694, + "created": 1712237813, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:54 GMT + recorded_at: Thu, 04 Apr 2024 13:36:54 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1y6KuuB1fWySniE1CAgOm&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTJKuuB1fWySnuKcWZ4xU&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UehfKY5zp0wkYe","request_duration_ms":420}}' + - '{"last_request_metrics":{"request_id":"req_Ig4LORxryJyAsV","request_duration_ms":462}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:54 GMT + - Thu, 04 Apr 2024 13:36:54 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ccac614d-d92c-4666-8f9d-3516d20ed083 + - 55474e80-2bef-41cf-a7a7-3668213dc7b9 Original-Request: - - req_AUxHlgeTM6BBAR + - req_6Gx8nd2arJSQng Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_AUxHlgeTM6BBAR + - req_6Gx8nd2arJSQng Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y6KuuB1fWySn2HP4VAIl", + "id": "pi_3P1qTKKuuB1fWySn24076cbP", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328694, + "created": 1712237814, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y6KuuB1fWySniE1CAgOm", + "payment_method": "pm_1P1qTJKuuB1fWySnuKcWZ4xU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:54 GMT + recorded_at: Thu, 04 Apr 2024 13:36:54 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1y6KuuB1fWySn2HP4VAIl/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTKKuuB1fWySn24076cbP/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AUxHlgeTM6BBAR","request_duration_ms":382}}' + - '{"last_request_metrics":{"request_id":"req_6Gx8nd2arJSQng","request_duration_ms":432}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:55 GMT + - Thu, 04 Apr 2024 13:36:55 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5f1a6c95-5f0c-4dea-8706-3ddc794824a2 + - 4b241aee-bf55-4efd-a429-47f85498e7fa Original-Request: - - req_9m9QNON1AipCoQ + - req_IP1cjyvbqKlbgB Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9m9QNON1AipCoQ + - req_IP1cjyvbqKlbgB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1y6KuuB1fWySn2HP4VAIl", + "id": "pi_3P1qTKKuuB1fWySn24076cbP", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328694, + "created": 1712237814, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1y6KuuB1fWySn2UAHIIXW", + "latest_charge": "ch_3P1qTKKuuB1fWySn2zyqRUuf", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1y6KuuB1fWySniE1CAgOm", + "payment_method": "pm_1P1qTJKuuB1fWySnuKcWZ4xU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:55 GMT + recorded_at: Thu, 04 Apr 2024 13:36:55 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml index cef20f98a9..938ba688d8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_R5yqoH7nsy1Un6","request_duration_ms":1024}}' + - '{"last_request_metrics":{"request_id":"req_2KzwyFhAlWwsHu","request_duration_ms":925}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:02 GMT + - Thu, 04 Apr 2024 13:35:54 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ed75fc4f-a377-428b-bf46-1650b7f6bf0e + - 44432a35-aa4a-4796-8dce-62b035d09b54 Original-Request: - - req_Q2NtwWHqxmlRlU + - req_mNAnlDmWvBCLfz Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Q2NtwWHqxmlRlU + - req_mNAnlDmWvBCLfz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xFKuuB1fWySnpVROcA1A", + "id": "pm_1P1qSLKuuB1fWySn0yuPS4Ut", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328642, + "created": 1712237754, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:02 GMT + recorded_at: Thu, 04 Apr 2024 13:35:54 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xFKuuB1fWySnpVROcA1A&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSLKuuB1fWySn0yuPS4Ut&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Q2NtwWHqxmlRlU","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_mNAnlDmWvBCLfz","request_duration_ms":491}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:02 GMT + - Thu, 04 Apr 2024 13:35:54 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 00bacae5-6dfa-4bf5-8599-e9f2289b2e3d + - f9b0a11f-2959-4acd-802c-dfbd60b4dcb5 Original-Request: - - req_09nonsbsHPRePI + - req_VmmKTP05OMmPeE Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_09nonsbsHPRePI + - req_VmmKTP05OMmPeE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xGKuuB1fWySn1MxFk9iD", + "id": "pi_3P1qSMKuuB1fWySn27xzzeUm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328642, + "created": 1712237754, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xFKuuB1fWySnpVROcA1A", + "payment_method": "pm_1P1qSLKuuB1fWySn0yuPS4Ut", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:02 GMT + recorded_at: Thu, 04 Apr 2024 13:35:54 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xGKuuB1fWySn1MxFk9iD/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSMKuuB1fWySn27xzzeUm/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_09nonsbsHPRePI","request_duration_ms":383}}' + - '{"last_request_metrics":{"request_id":"req_VmmKTP05OMmPeE","request_duration_ms":443}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:03 GMT + - Thu, 04 Apr 2024 13:35:55 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c566eddb-0730-4d09-a4a5-393ec8340cb6 + - 526283f2-5c7c-4fb2-a15b-307978bc8143 Original-Request: - - req_DvGbTaa0RJjmpE + - req_6mEOEH1V84tVA8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DvGbTaa0RJjmpE + - req_6mEOEH1V84tVA8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xGKuuB1fWySn1MxFk9iD", + "id": "pi_3P1qSMKuuB1fWySn27xzzeUm", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328642, + "created": 1712237754, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xGKuuB1fWySn1kJCSImj", + "latest_charge": "ch_3P1qSMKuuB1fWySn2dOMK9wS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xFKuuB1fWySnpVROcA1A", + "payment_method": "pm_1P1qSLKuuB1fWySn0yuPS4Ut", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:03 GMT + recorded_at: Thu, 04 Apr 2024 13:35:55 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xGKuuB1fWySn1MxFk9iD + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSMKuuB1fWySn27xzzeUm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DvGbTaa0RJjmpE","request_duration_ms":954}}' + - '{"last_request_metrics":{"request_id":"req_6mEOEH1V84tVA8","request_duration_ms":919}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:03 GMT + - Thu, 04 Apr 2024 13:35:55 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sT0hWN4KasHaJR + - req_N78KNpkQrzreHB Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xGKuuB1fWySn1MxFk9iD", + "id": "pi_3P1qSMKuuB1fWySn27xzzeUm", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328642, + "created": 1712237754, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xGKuuB1fWySn1kJCSImj", + "latest_charge": "ch_3P1qSMKuuB1fWySn2dOMK9wS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xFKuuB1fWySnpVROcA1A", + "payment_method": "pm_1P1qSLKuuB1fWySn0yuPS4Ut", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:03 GMT + recorded_at: Thu, 04 Apr 2024 13:35:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xGKuuB1fWySn1MxFk9iD/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSMKuuB1fWySn27xzzeUm/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sT0hWN4KasHaJR","request_duration_ms":291}}' + - '{"last_request_metrics":{"request_id":"req_N78KNpkQrzreHB","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:04 GMT + - Thu, 04 Apr 2024 13:35:56 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 75985f15-4f62-4d45-b3f6-19f04d437263 + - c942faa9-e813-469b-8d0e-ac3d410545eb Original-Request: - - req_5Ji4mi8rT2xwZX + - req_8R27CxQ97n5l1h Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5Ji4mi8rT2xwZX + - req_8R27CxQ97n5l1h Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xGKuuB1fWySn1MxFk9iD", + "id": "pi_3P1qSMKuuB1fWySn27xzzeUm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328642, + "created": 1712237754, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xGKuuB1fWySn1kJCSImj", + "latest_charge": "ch_3P1qSMKuuB1fWySn2dOMK9wS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xFKuuB1fWySnpVROcA1A", + "payment_method": "pm_1P1qSLKuuB1fWySn0yuPS4Ut", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:04 GMT + recorded_at: Thu, 04 Apr 2024 13:35:56 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xGKuuB1fWySn1MxFk9iD + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSMKuuB1fWySn27xzzeUm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5Ji4mi8rT2xwZX","request_duration_ms":973}}' + - '{"last_request_metrics":{"request_id":"req_8R27CxQ97n5l1h","request_duration_ms":991}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:05 GMT + - Thu, 04 Apr 2024 13:35:57 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_T1lU4Gxx0hiRm5 + - req_mWgzP678FZw8fN Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xGKuuB1fWySn1MxFk9iD", + "id": "pi_3P1qSMKuuB1fWySn27xzzeUm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328642, + "created": 1712237754, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xGKuuB1fWySn1kJCSImj", + "latest_charge": "ch_3P1qSMKuuB1fWySn2dOMK9wS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xFKuuB1fWySnpVROcA1A", + "payment_method": "pm_1P1qSLKuuB1fWySn0yuPS4Ut", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:05 GMT + recorded_at: Thu, 04 Apr 2024 13:35:57 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml index 9ae996aad7..8b84f8c141 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_65CwppYf2U914L","request_duration_ms":307}}' + - '{"last_request_metrics":{"request_id":"req_ERo2W5xTSGP6gl","request_duration_ms":305}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:00 GMT + - Thu, 04 Apr 2024 13:35:51 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 66bd8fdc-c604-4d9a-b758-9808049846f6 + - 31509955-8006-4c37-8f10-76e4f7cd2495 Original-Request: - - req_C35vQowrXR7nic + - req_gLC9xou3f9ZQ0j Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_C35vQowrXR7nic + - req_gLC9xou3f9ZQ0j Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xDKuuB1fWySnWYYxhYPi", + "id": "pm_1P1qSJKuuB1fWySn2iMXrcCs", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328640, + "created": 1712237751, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:00 GMT + recorded_at: Thu, 04 Apr 2024 13:35:51 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xDKuuB1fWySnWYYxhYPi&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSJKuuB1fWySn2iMXrcCs&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_C35vQowrXR7nic","request_duration_ms":448}}' + - '{"last_request_metrics":{"request_id":"req_gLC9xou3f9ZQ0j","request_duration_ms":578}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:00 GMT + - Thu, 04 Apr 2024 13:35:52 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9c22fba8-5b82-48e4-a225-5ce9d8f1326c + - 215112b7-525b-49d6-96a6-dfb2c6e9ed38 Original-Request: - - req_kG3LMNvvdFl2wo + - req_8l80PJATUVF0Jl Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kG3LMNvvdFl2wo + - req_8l80PJATUVF0Jl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xEKuuB1fWySn19B1F7Tf", + "id": "pi_3P1qSKKuuB1fWySn25vZ6ztI", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328640, + "created": 1712237752, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xDKuuB1fWySnWYYxhYPi", + "payment_method": "pm_1P1qSJKuuB1fWySn2iMXrcCs", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:00 GMT + recorded_at: Thu, 04 Apr 2024 13:35:52 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xEKuuB1fWySn19B1F7Tf/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSKKuuB1fWySn25vZ6ztI/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kG3LMNvvdFl2wo","request_duration_ms":454}}' + - '{"last_request_metrics":{"request_id":"req_8l80PJATUVF0Jl","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:01 GMT + - Thu, 04 Apr 2024 13:35:53 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6f205328-da03-45fe-873d-659ef6407420 + - 177c6bf0-6ae6-454a-bcb4-607dc55feb65 Original-Request: - - req_R5yqoH7nsy1Un6 + - req_2KzwyFhAlWwsHu Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_R5yqoH7nsy1Un6 + - req_2KzwyFhAlWwsHu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xEKuuB1fWySn19B1F7Tf", + "id": "pi_3P1qSKKuuB1fWySn25vZ6ztI", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328640, + "created": 1712237752, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xEKuuB1fWySn1ECgc1t8", + "latest_charge": "ch_3P1qSKKuuB1fWySn2jHL2KHt", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xDKuuB1fWySnWYYxhYPi", + "payment_method": "pm_1P1qSJKuuB1fWySn2iMXrcCs", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:01 GMT + recorded_at: Thu, 04 Apr 2024 13:35:53 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml index 805ada7464..5f2547431b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LGhQN8tHGvhnE2","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_7x1kFSwg5Bdo2h","request_duration_ms":908}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:07 GMT + - Thu, 04 Apr 2024 13:36:00 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9921bcce-e248-4c00-84a0-c13281d37f80 + - 812733fd-56fd-4cf4-85c7-40e6ba3149c1 Original-Request: - - req_iQsIvBbUlbu0MW + - req_rM0q5MLUPNNrBq Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_iQsIvBbUlbu0MW + - req_rM0q5MLUPNNrBq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xLKuuB1fWySnqU7pWrZm", + "id": "pm_1P1qSRKuuB1fWySn4Xsl0xax", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328647, + "created": 1712237760, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:07 GMT + recorded_at: Thu, 04 Apr 2024 13:36:00 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xLKuuB1fWySnqU7pWrZm&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSRKuuB1fWySn4Xsl0xax&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iQsIvBbUlbu0MW","request_duration_ms":476}}' + - '{"last_request_metrics":{"request_id":"req_rM0q5MLUPNNrBq","request_duration_ms":423}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:08 GMT + - Thu, 04 Apr 2024 13:36:00 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7a93ffa8-485f-412c-a3f7-d41a1d85a611 + - 8826e205-04a5-45f0-b991-ff71112d392c Original-Request: - - req_Zni9L4Yd1TQa8P + - req_5FTFDSXelMOu21 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Zni9L4Yd1TQa8P + - req_5FTFDSXelMOu21 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xMKuuB1fWySn0P2PPqW0", + "id": "pi_3P1qSSKuuB1fWySn08ejxd7Y", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328648, + "created": 1712237760, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xLKuuB1fWySnqU7pWrZm", + "payment_method": "pm_1P1qSRKuuB1fWySn4Xsl0xax", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:08 GMT + recorded_at: Thu, 04 Apr 2024 13:36:00 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xMKuuB1fWySn0P2PPqW0/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSSKuuB1fWySn08ejxd7Y/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Zni9L4Yd1TQa8P","request_duration_ms":377}}' + - '{"last_request_metrics":{"request_id":"req_5FTFDSXelMOu21","request_duration_ms":483}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:09 GMT + - Thu, 04 Apr 2024 13:36:01 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e7f3cb10-77cb-4083-8578-f091719518fb + - 83199ac6-2cec-46ac-b037-38e49083770f Original-Request: - - req_DiuuzbgXitopS2 + - req_gtSGv0yjfhAA9m Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DiuuzbgXitopS2 + - req_gtSGv0yjfhAA9m Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xMKuuB1fWySn0P2PPqW0", + "id": "pi_3P1qSSKuuB1fWySn08ejxd7Y", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328648, + "created": 1712237760, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xMKuuB1fWySn0dkMuD8p", + "latest_charge": "ch_3P1qSSKuuB1fWySn0uyqz5QT", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xLKuuB1fWySnqU7pWrZm", + "payment_method": "pm_1P1qSRKuuB1fWySn4Xsl0xax", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:09 GMT + recorded_at: Thu, 04 Apr 2024 13:36:01 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xMKuuB1fWySn0P2PPqW0 + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSSKuuB1fWySn08ejxd7Y body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DiuuzbgXitopS2","request_duration_ms":863}}' + - '{"last_request_metrics":{"request_id":"req_gtSGv0yjfhAA9m","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:09 GMT + - Thu, 04 Apr 2024 13:36:02 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nJdScHCkhe3OKi + - req_ToTTpsdOszVF0Z Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xMKuuB1fWySn0P2PPqW0", + "id": "pi_3P1qSSKuuB1fWySn08ejxd7Y", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328648, + "created": 1712237760, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xMKuuB1fWySn0dkMuD8p", + "latest_charge": "ch_3P1qSSKuuB1fWySn0uyqz5QT", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xLKuuB1fWySnqU7pWrZm", + "payment_method": "pm_1P1qSRKuuB1fWySn4Xsl0xax", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:09 GMT + recorded_at: Thu, 04 Apr 2024 13:36:02 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xMKuuB1fWySn0P2PPqW0/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSSKuuB1fWySn08ejxd7Y/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nJdScHCkhe3OKi","request_duration_ms":299}}' + - '{"last_request_metrics":{"request_id":"req_ToTTpsdOszVF0Z","request_duration_ms":303}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:10 GMT + - Thu, 04 Apr 2024 13:36:03 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6c7614d0-d25d-4de2-8f29-d04f83a1a6d7 + - 82c5e857-d837-47f1-8353-de014688c0e4 Original-Request: - - req_mBwv1XKe344qrb + - req_YeZBhCeiFLwtTR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mBwv1XKe344qrb + - req_YeZBhCeiFLwtTR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xMKuuB1fWySn0P2PPqW0", + "id": "pi_3P1qSSKuuB1fWySn08ejxd7Y", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328648, + "created": 1712237760, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xMKuuB1fWySn0dkMuD8p", + "latest_charge": "ch_3P1qSSKuuB1fWySn0uyqz5QT", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xLKuuB1fWySnqU7pWrZm", + "payment_method": "pm_1P1qSRKuuB1fWySn4Xsl0xax", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:10 GMT + recorded_at: Thu, 04 Apr 2024 13:36:03 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xMKuuB1fWySn0P2PPqW0 + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSSKuuB1fWySn08ejxd7Y body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mBwv1XKe344qrb","request_duration_ms":1019}}' + - '{"last_request_metrics":{"request_id":"req_YeZBhCeiFLwtTR","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:10 GMT + - Thu, 04 Apr 2024 13:36:03 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FzldM2C2EdjbH7 + - req_mxsTq7H4NjczQj Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xMKuuB1fWySn0P2PPqW0", + "id": "pi_3P1qSSKuuB1fWySn08ejxd7Y", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328648, + "created": 1712237760, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xMKuuB1fWySn0dkMuD8p", + "latest_charge": "ch_3P1qSSKuuB1fWySn0uyqz5QT", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xLKuuB1fWySnqU7pWrZm", + "payment_method": "pm_1P1qSRKuuB1fWySn4Xsl0xax", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:10 GMT + recorded_at: Thu, 04 Apr 2024 13:36:03 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml index fcb8244deb..32aac8cd41 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_T1lU4Gxx0hiRm5","request_duration_ms":361}}' + - '{"last_request_metrics":{"request_id":"req_mWgzP678FZw8fN","request_duration_ms":435}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:05 GMT + - Thu, 04 Apr 2024 13:35:57 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 80d2e072-ede7-4990-975a-c2bc8e33f8aa + - b4caa90f-a4a4-43ac-971f-e8bc70dd06e4 Original-Request: - - req_po5c0HyouQYrTN + - req_fJFdhWaljzTS5Y Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_po5c0HyouQYrTN + - req_fJFdhWaljzTS5Y Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xJKuuB1fWySnEjzIQpub", + "id": "pm_1P1qSPKuuB1fWySnkM0X8MhY", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328645, + "created": 1712237757, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:05 GMT + recorded_at: Thu, 04 Apr 2024 13:35:58 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xJKuuB1fWySnEjzIQpub&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSPKuuB1fWySnkM0X8MhY&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_po5c0HyouQYrTN","request_duration_ms":498}}' + - '{"last_request_metrics":{"request_id":"req_fJFdhWaljzTS5Y","request_duration_ms":553}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:06 GMT + - Thu, 04 Apr 2024 13:35:58 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d408d366-3044-44a7-bb11-fadc8ce8a860 + - d47079cb-523b-43b6-b8cc-349d14e35025 Original-Request: - - req_3TD8CtVIOuWeN7 + - req_5O89SUMjAgXFcs Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3TD8CtVIOuWeN7 + - req_5O89SUMjAgXFcs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xJKuuB1fWySn1DLeAJc3", + "id": "pi_3P1qSQKuuB1fWySn29NA0fkD", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328645, + "created": 1712237758, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xJKuuB1fWySnEjzIQpub", + "payment_method": "pm_1P1qSPKuuB1fWySnkM0X8MhY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:06 GMT + recorded_at: Thu, 04 Apr 2024 13:35:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xJKuuB1fWySn1DLeAJc3/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSQKuuB1fWySn29NA0fkD/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3TD8CtVIOuWeN7","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_5O89SUMjAgXFcs","request_duration_ms":415}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:07 GMT + - Thu, 04 Apr 2024 13:35:59 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - be360095-4c54-4b46-9fdf-6081ad7216c0 + - 300f3583-544a-42c5-be1b-41875c5a44d2 Original-Request: - - req_LGhQN8tHGvhnE2 + - req_7x1kFSwg5Bdo2h Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LGhQN8tHGvhnE2 + - req_7x1kFSwg5Bdo2h Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xJKuuB1fWySn1DLeAJc3", + "id": "pi_3P1qSQKuuB1fWySn29NA0fkD", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328645, + "created": 1712237758, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xJKuuB1fWySn18KC9ReB", + "latest_charge": "ch_3P1qSQKuuB1fWySn2yx3SZCX", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xJKuuB1fWySnEjzIQpub", + "payment_method": "pm_1P1qSPKuuB1fWySnkM0X8MhY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:07 GMT + recorded_at: Thu, 04 Apr 2024 13:35:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml index b4fbde0426..77a24bf218 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jNXRdakkVVa7FX","request_duration_ms":878}}' + - '{"last_request_metrics":{"request_id":"req_0LqRy3AGNm9M9m","request_duration_ms":1019}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:13 GMT + - Thu, 04 Apr 2024 13:36:06 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0b567bd6-9634-4812-bc90-3d5225f7e7cc + - 291b1a88-8a5d-4afe-b67d-4e0c7afe7cb6 Original-Request: - - req_HImHKljJ2LXa3C + - req_E0kVhUeOiaep0j Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_HImHKljJ2LXa3C + - req_E0kVhUeOiaep0j Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xQKuuB1fWySnfxsiJ45R", + "id": "pm_1P1qSYKuuB1fWySnGFKDzSsL", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328653, + "created": 1712237766, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:13 GMT + recorded_at: Thu, 04 Apr 2024 13:36:06 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xQKuuB1fWySnfxsiJ45R&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSYKuuB1fWySnGFKDzSsL&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HImHKljJ2LXa3C","request_duration_ms":538}}' + - '{"last_request_metrics":{"request_id":"req_E0kVhUeOiaep0j","request_duration_ms":546}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:13 GMT + - Thu, 04 Apr 2024 13:36:07 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d4b2f8ea-b36e-4df2-ae71-505cd2e23dba + - edf739d0-647a-4b6f-bb98-9518133d9653 Original-Request: - - req_4BEVGfizpj8062 + - req_EIeeXvQaeRhQ8o Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4BEVGfizpj8062 + - req_EIeeXvQaeRhQ8o Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xRKuuB1fWySn1goRtUo3", + "id": "pi_3P1qSYKuuB1fWySn1NSXznFR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328653, + "created": 1712237766, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xQKuuB1fWySnfxsiJ45R", + "payment_method": "pm_1P1qSYKuuB1fWySnGFKDzSsL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:13 GMT + recorded_at: Thu, 04 Apr 2024 13:36:07 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xRKuuB1fWySn1goRtUo3/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSYKuuB1fWySn1NSXznFR/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4BEVGfizpj8062","request_duration_ms":395}}' + - '{"last_request_metrics":{"request_id":"req_EIeeXvQaeRhQ8o","request_duration_ms":431}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:14 GMT + - Thu, 04 Apr 2024 13:36:08 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0d9ec6ff-19f1-42fe-8044-3ffe10baf712 + - d0d047f6-e262-4cb0-b9f4-9cde4c4743e1 Original-Request: - - req_UAsn3t9uAUV7JJ + - req_QRxiMkK6mtXBPD Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UAsn3t9uAUV7JJ + - req_QRxiMkK6mtXBPD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xRKuuB1fWySn1goRtUo3", + "id": "pi_3P1qSYKuuB1fWySn1NSXznFR", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328653, + "created": 1712237766, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xRKuuB1fWySn1GYfrPWo", + "latest_charge": "ch_3P1qSYKuuB1fWySn1eL3dawq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xQKuuB1fWySnfxsiJ45R", + "payment_method": "pm_1P1qSYKuuB1fWySnGFKDzSsL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:14 GMT + recorded_at: Thu, 04 Apr 2024 13:36:08 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xRKuuB1fWySn1goRtUo3 + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSYKuuB1fWySn1NSXznFR body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UAsn3t9uAUV7JJ","request_duration_ms":928}}' + - '{"last_request_metrics":{"request_id":"req_QRxiMkK6mtXBPD","request_duration_ms":995}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:14 GMT + - Thu, 04 Apr 2024 13:36:08 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WeU5Fg43WnIKcY + - req_bHYQipmPMt41mm Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xRKuuB1fWySn1goRtUo3", + "id": "pi_3P1qSYKuuB1fWySn1NSXznFR", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328653, + "created": 1712237766, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xRKuuB1fWySn1GYfrPWo", + "latest_charge": "ch_3P1qSYKuuB1fWySn1eL3dawq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xQKuuB1fWySnfxsiJ45R", + "payment_method": "pm_1P1qSYKuuB1fWySnGFKDzSsL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:14 GMT + recorded_at: Thu, 04 Apr 2024 13:36:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xRKuuB1fWySn1goRtUo3/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSYKuuB1fWySn1NSXznFR/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WeU5Fg43WnIKcY","request_duration_ms":288}}' + - '{"last_request_metrics":{"request_id":"req_bHYQipmPMt41mm","request_duration_ms":352}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:15 GMT + - Thu, 04 Apr 2024 13:36:09 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 68634902-4b19-4bd3-8340-ac24766d83e3 + - f8749ec6-3f61-4a11-a1cc-a6a15bf338e2 Original-Request: - - req_jQ3VkIQD7XVasx + - req_XdLunOwKtGVJK6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jQ3VkIQD7XVasx + - req_XdLunOwKtGVJK6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xRKuuB1fWySn1goRtUo3", + "id": "pi_3P1qSYKuuB1fWySn1NSXznFR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328653, + "created": 1712237766, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xRKuuB1fWySn1GYfrPWo", + "latest_charge": "ch_3P1qSYKuuB1fWySn1eL3dawq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xQKuuB1fWySnfxsiJ45R", + "payment_method": "pm_1P1qSYKuuB1fWySnGFKDzSsL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:15 GMT + recorded_at: Thu, 04 Apr 2024 13:36:09 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xRKuuB1fWySn1goRtUo3 + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSYKuuB1fWySn1NSXznFR body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jQ3VkIQD7XVasx","request_duration_ms":1046}}' + - '{"last_request_metrics":{"request_id":"req_XdLunOwKtGVJK6","request_duration_ms":1093}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:16 GMT + - Thu, 04 Apr 2024 13:36:09 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LqtKCZkpmlzPJs + - req_XZ3sGzRpSVW70U Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xRKuuB1fWySn1goRtUo3", + "id": "pi_3P1qSYKuuB1fWySn1NSXznFR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328653, + "created": 1712237766, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xRKuuB1fWySn1GYfrPWo", + "latest_charge": "ch_3P1qSYKuuB1fWySn1eL3dawq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xQKuuB1fWySnfxsiJ45R", + "payment_method": "pm_1P1qSYKuuB1fWySnGFKDzSsL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:16 GMT + recorded_at: Thu, 04 Apr 2024 13:36:09 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml index fea188bbc0..395feab8ec 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FzldM2C2EdjbH7","request_duration_ms":315}}' + - '{"last_request_metrics":{"request_id":"req_mxsTq7H4NjczQj","request_duration_ms":404}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:11 GMT + - Thu, 04 Apr 2024 13:36:04 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 21952aeb-3604-412a-ba0e-8d791daa9638 + - 1a793482-8d26-4bb6-8964-7d36cf7dd973 Original-Request: - - req_M1hIWl42nKRx2d + - req_SM6jiq3vS4c6QL Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_M1hIWl42nKRx2d + - req_SM6jiq3vS4c6QL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xPKuuB1fWySndiBnQjKN", + "id": "pm_1P1qSVKuuB1fWySn24bdXyPX", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328651, + "created": 1712237764, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:11 GMT + recorded_at: Thu, 04 Apr 2024 13:36:04 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xPKuuB1fWySndiBnQjKN&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSVKuuB1fWySn24bdXyPX&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_M1hIWl42nKRx2d","request_duration_ms":456}}' + - '{"last_request_metrics":{"request_id":"req_SM6jiq3vS4c6QL","request_duration_ms":480}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:11 GMT + - Thu, 04 Apr 2024 13:36:04 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2fe605f6-d9ca-484f-beca-f10504809e17 + - e4be84b5-3cee-46ff-8706-9d22d8891c0e Original-Request: - - req_HPk8jxqkhWR8MJ + - req_woSCBOxYyOCgtI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_HPk8jxqkhWR8MJ + - req_woSCBOxYyOCgtI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xPKuuB1fWySn0xEwsuks", + "id": "pi_3P1qSWKuuB1fWySn0udAFYVj", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328651, + "created": 1712237764, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xPKuuB1fWySndiBnQjKN", + "payment_method": "pm_1P1qSVKuuB1fWySn24bdXyPX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:11 GMT + recorded_at: Thu, 04 Apr 2024 13:36:04 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xPKuuB1fWySn0xEwsuks/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSWKuuB1fWySn0udAFYVj/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HPk8jxqkhWR8MJ","request_duration_ms":396}}' + - '{"last_request_metrics":{"request_id":"req_woSCBOxYyOCgtI","request_duration_ms":481}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:12 GMT + - Thu, 04 Apr 2024 13:36:05 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8397a5e3-c8ca-49d5-82b8-c943c448c486 + - 8ffffb03-3e12-4a15-a189-8155ad38b277 Original-Request: - - req_jNXRdakkVVa7FX + - req_0LqRy3AGNm9M9m Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jNXRdakkVVa7FX + - req_0LqRy3AGNm9M9m Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xPKuuB1fWySn0xEwsuks", + "id": "pi_3P1qSWKuuB1fWySn0udAFYVj", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328651, + "created": 1712237764, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xPKuuB1fWySn0dEltHXl", + "latest_charge": "ch_3P1qSWKuuB1fWySn0USQJWxV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xPKuuB1fWySndiBnQjKN", + "payment_method": "pm_1P1qSVKuuB1fWySn24bdXyPX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:12 GMT + recorded_at: Thu, 04 Apr 2024 13:36:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml index ae2e6e7f26..72e3dd59a1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Hybw2fURaMoav6","request_duration_ms":935}}' + - '{"last_request_metrics":{"request_id":"req_TZGKk741wHH2tE","request_duration_ms":888}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:18 GMT + - Thu, 04 Apr 2024 13:36:12 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 384ec7ea-73f3-4c91-93f2-950c185ea316 + - 20be13e4-28a1-4a2a-afff-b98e657843a7 Original-Request: - - req_gyIwNKgIOn28S1 + - req_wvsrz377cc2N1S Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gyIwNKgIOn28S1 + - req_wvsrz377cc2N1S Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xWKuuB1fWySnNdhCnSvV", + "id": "pm_1P1qSeKuuB1fWySnvADCR3N6", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328658, + "created": 1712237772, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:18 GMT + recorded_at: Thu, 04 Apr 2024 13:36:12 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xWKuuB1fWySnNdhCnSvV&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSeKuuB1fWySnvADCR3N6&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gyIwNKgIOn28S1","request_duration_ms":480}}' + - '{"last_request_metrics":{"request_id":"req_wvsrz377cc2N1S","request_duration_ms":528}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:18 GMT + - Thu, 04 Apr 2024 13:36:13 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 175018e0-9f48-41c2-9af5-6bdad60da608 + - 97d3924e-9226-4f00-ac40-d9d7f9f432bb Original-Request: - - req_7aPLTqNvGFezqC + - req_jUPTRLNqVM8oYK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7aPLTqNvGFezqC + - req_jUPTRLNqVM8oYK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xWKuuB1fWySn14WZQM9x", + "id": "pi_3P1qSeKuuB1fWySn2zIOEC9Z", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328658, + "created": 1712237772, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xWKuuB1fWySnNdhCnSvV", + "payment_method": "pm_1P1qSeKuuB1fWySnvADCR3N6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:18 GMT + recorded_at: Thu, 04 Apr 2024 13:36:13 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xWKuuB1fWySn14WZQM9x/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSeKuuB1fWySn2zIOEC9Z/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7aPLTqNvGFezqC","request_duration_ms":373}}' + - '{"last_request_metrics":{"request_id":"req_jUPTRLNqVM8oYK","request_duration_ms":512}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:19 GMT + - Thu, 04 Apr 2024 13:36:14 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2c1f95c7-1985-4be8-a424-cbebcd7c164c + - 81dff632-1f0a-4f34-8aaa-e5e34c1852a2 Original-Request: - - req_Jt0nBGCDbbOTXF + - req_ocEnSdXMrVUPY5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Jt0nBGCDbbOTXF + - req_ocEnSdXMrVUPY5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xWKuuB1fWySn14WZQM9x", + "id": "pi_3P1qSeKuuB1fWySn2zIOEC9Z", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328658, + "created": 1712237772, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xWKuuB1fWySn1ZhhBF2Q", + "latest_charge": "ch_3P1qSeKuuB1fWySn2pjA5jOc", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xWKuuB1fWySnNdhCnSvV", + "payment_method": "pm_1P1qSeKuuB1fWySnvADCR3N6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:19 GMT + recorded_at: Thu, 04 Apr 2024 13:36:14 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xWKuuB1fWySn14WZQM9x + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSeKuuB1fWySn2zIOEC9Z body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Jt0nBGCDbbOTXF","request_duration_ms":909}}' + - '{"last_request_metrics":{"request_id":"req_ocEnSdXMrVUPY5","request_duration_ms":988}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:20 GMT + - Thu, 04 Apr 2024 13:36:14 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VhiZFBB88EjHzS + - req_bPLygwiK92hYqK Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xWKuuB1fWySn14WZQM9x", + "id": "pi_3P1qSeKuuB1fWySn2zIOEC9Z", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328658, + "created": 1712237772, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xWKuuB1fWySn1ZhhBF2Q", + "latest_charge": "ch_3P1qSeKuuB1fWySn2pjA5jOc", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xWKuuB1fWySnNdhCnSvV", + "payment_method": "pm_1P1qSeKuuB1fWySnvADCR3N6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:20 GMT + recorded_at: Thu, 04 Apr 2024 13:36:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xWKuuB1fWySn14WZQM9x/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSeKuuB1fWySn2zIOEC9Z/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VhiZFBB88EjHzS","request_duration_ms":279}}' + - '{"last_request_metrics":{"request_id":"req_bPLygwiK92hYqK","request_duration_ms":306}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:21 GMT + - Thu, 04 Apr 2024 13:36:15 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b1bc2c13-1a39-425b-b3ed-020fce4b6c7b + - 4b9f2721-d98e-4e7b-843b-7033cd471827 Original-Request: - - req_Pg1dRkcFp0F2nL + - req_N2ezmIdSMjJJ0p Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Pg1dRkcFp0F2nL + - req_N2ezmIdSMjJJ0p Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xWKuuB1fWySn14WZQM9x", + "id": "pi_3P1qSeKuuB1fWySn2zIOEC9Z", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328658, + "created": 1712237772, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xWKuuB1fWySn1ZhhBF2Q", + "latest_charge": "ch_3P1qSeKuuB1fWySn2pjA5jOc", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xWKuuB1fWySnNdhCnSvV", + "payment_method": "pm_1P1qSeKuuB1fWySnvADCR3N6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:21 GMT + recorded_at: Thu, 04 Apr 2024 13:36:15 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xWKuuB1fWySn14WZQM9x + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSeKuuB1fWySn2zIOEC9Z body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Pg1dRkcFp0F2nL","request_duration_ms":941}}' + - '{"last_request_metrics":{"request_id":"req_N2ezmIdSMjJJ0p","request_duration_ms":1053}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:21 GMT + - Thu, 04 Apr 2024 13:36:15 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_61NTDBtug2NT9B + - req_DlJ3ZIJSMo41p0 Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xWKuuB1fWySn14WZQM9x", + "id": "pi_3P1qSeKuuB1fWySn2zIOEC9Z", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328658, + "created": 1712237772, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xWKuuB1fWySn1ZhhBF2Q", + "latest_charge": "ch_3P1qSeKuuB1fWySn2pjA5jOc", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xWKuuB1fWySnNdhCnSvV", + "payment_method": "pm_1P1qSeKuuB1fWySnvADCR3N6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:21 GMT + recorded_at: Thu, 04 Apr 2024 13:36:15 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml index 50a17368ed..e25cc51a46 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LqtKCZkpmlzPJs","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_XZ3sGzRpSVW70U","request_duration_ms":321}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:16 GMT + - Thu, 04 Apr 2024 13:36:10 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 05d7a6b8-138b-454a-b8a4-5013b0f7303c + - 9fea4870-3ac9-4276-95b5-94fc40733f83 Original-Request: - - req_taIrQ618MsaHgF + - req_ZTPSNFhLtk55ba Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_taIrQ618MsaHgF + - req_ZTPSNFhLtk55ba Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xUKuuB1fWySnY5pYqHMR", + "id": "pm_1P1qScKuuB1fWySn0FFLAnju", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328656, + "created": 1712237770, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:16 GMT + recorded_at: Thu, 04 Apr 2024 13:36:10 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xUKuuB1fWySnY5pYqHMR&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qScKuuB1fWySn0FFLAnju&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_taIrQ618MsaHgF","request_duration_ms":413}}' + - '{"last_request_metrics":{"request_id":"req_ZTPSNFhLtk55ba","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:17 GMT + - Thu, 04 Apr 2024 13:36:10 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4885ca06-6f92-4405-9330-6cfdf3d77018 + - ad9f70f4-e0a2-4e62-8017-4bad93e2ce6c Original-Request: - - req_GAXPUogAbssW8y + - req_KsXU1btOPEMalB Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GAXPUogAbssW8y + - req_KsXU1btOPEMalB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xUKuuB1fWySn19ZZ8qeP", + "id": "pi_3P1qScKuuB1fWySn1hvd9D4L", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328656, + "created": 1712237770, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xUKuuB1fWySnY5pYqHMR", + "payment_method": "pm_1P1qScKuuB1fWySn0FFLAnju", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:17 GMT + recorded_at: Thu, 04 Apr 2024 13:36:11 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xUKuuB1fWySn19ZZ8qeP/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qScKuuB1fWySn1hvd9D4L/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GAXPUogAbssW8y","request_duration_ms":376}}' + - '{"last_request_metrics":{"request_id":"req_KsXU1btOPEMalB","request_duration_ms":607}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:17 GMT + - Thu, 04 Apr 2024 13:36:11 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7e47aeb1-63fb-4778-8660-d0577891d9fc + - c215e24b-006b-4c6a-8aa1-6e9342efd5ea Original-Request: - - req_Hybw2fURaMoav6 + - req_TZGKk741wHH2tE Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Hybw2fURaMoav6 + - req_TZGKk741wHH2tE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xUKuuB1fWySn19ZZ8qeP", + "id": "pi_3P1qScKuuB1fWySn1hvd9D4L", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328656, + "created": 1712237770, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xUKuuB1fWySn1Gz0wCxA", + "latest_charge": "ch_3P1qScKuuB1fWySn1MFsKf2t", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xUKuuB1fWySnY5pYqHMR", + "payment_method": "pm_1P1qScKuuB1fWySn0FFLAnju", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:04:17 GMT + recorded_at: Thu, 04 Apr 2024 13:36:11 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml index 1e3e3987dd..61b4b3b7b6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xxDvEyW1qlk6jr","request_duration_ms":966}}' + - '{"last_request_metrics":{"request_id":"req_ICJugHETjpDsm8","request_duration_ms":904}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:01 GMT + - Thu, 04 Apr 2024 13:37:02 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6a6fa4b1-8fe5-4eb6-96e3-4ff10c0c5d3f + - 986149d1-eed1-4c42-a5cd-75c859473244 Original-Request: - - req_v7PUrIXAX88QAs + - req_ZgRi9iaRdyFbYy Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_v7PUrIXAX88QAs + - req_ZgRi9iaRdyFbYy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yDKuuB1fWySnUDh5bx3C", + "id": "pm_1P1qTRKuuB1fWySnhYfkeig3", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328701, + "created": 1712237822, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:01 GMT + recorded_at: Thu, 04 Apr 2024 13:37:02 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1yDKuuB1fWySnUDh5bx3C&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTRKuuB1fWySnhYfkeig3&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_v7PUrIXAX88QAs","request_duration_ms":469}}' + - '{"last_request_metrics":{"request_id":"req_ZgRi9iaRdyFbYy","request_duration_ms":525}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:01 GMT + - Thu, 04 Apr 2024 13:37:02 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - eee004d6-a084-45aa-ae29-7c6cd227301c + - 3101e95f-1204-4f70-b973-1bdb08db56e7 Original-Request: - - req_2MOwqHixPJGXLw + - req_snMnLiwiuFNMWT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2MOwqHixPJGXLw + - req_snMnLiwiuFNMWT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yDKuuB1fWySn2MjIACHx", + "id": "pi_3P1qTSKuuB1fWySn05k0P9TF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328701, + "created": 1712237822, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yDKuuB1fWySnUDh5bx3C", + "payment_method": "pm_1P1qTRKuuB1fWySnhYfkeig3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:01 GMT + recorded_at: Thu, 04 Apr 2024 13:37:02 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yDKuuB1fWySn2MjIACHx/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTSKuuB1fWySn05k0P9TF/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2MOwqHixPJGXLw","request_duration_ms":370}}' + - '{"last_request_metrics":{"request_id":"req_snMnLiwiuFNMWT","request_duration_ms":414}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:02 GMT + - Thu, 04 Apr 2024 13:37:03 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f51988db-0340-4e05-9746-3b3b557de096 + - c701d379-3076-4139-8e6e-870278249572 Original-Request: - - req_FJQMZqVWJUV9l5 + - req_5PwFhsbJlTEJmg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FJQMZqVWJUV9l5 + - req_5PwFhsbJlTEJmg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yDKuuB1fWySn2MjIACHx", + "id": "pi_3P1qTSKuuB1fWySn05k0P9TF", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328701, + "created": 1712237822, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yDKuuB1fWySn2ftqO0pH", + "latest_charge": "ch_3P1qTSKuuB1fWySn00Lv6Aaj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yDKuuB1fWySnUDh5bx3C", + "payment_method": "pm_1P1qTRKuuB1fWySnhYfkeig3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:02 GMT + recorded_at: Thu, 04 Apr 2024 13:37:03 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yDKuuB1fWySn2MjIACHx + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTSKuuB1fWySn05k0P9TF body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FJQMZqVWJUV9l5","request_duration_ms":901}}' + - '{"last_request_metrics":{"request_id":"req_5PwFhsbJlTEJmg","request_duration_ms":1090}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:03 GMT + - Thu, 04 Apr 2024 13:37:03 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QhuyUzkpoQi6E1 + - req_GEnJp8L4yzg5aM Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yDKuuB1fWySn2MjIACHx", + "id": "pi_3P1qTSKuuB1fWySn05k0P9TF", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328701, + "created": 1712237822, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yDKuuB1fWySn2ftqO0pH", + "latest_charge": "ch_3P1qTSKuuB1fWySn00Lv6Aaj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yDKuuB1fWySnUDh5bx3C", + "payment_method": "pm_1P1qTRKuuB1fWySnhYfkeig3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:03 GMT + recorded_at: Thu, 04 Apr 2024 13:37:04 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yDKuuB1fWySn2MjIACHx/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTSKuuB1fWySn05k0P9TF/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QhuyUzkpoQi6E1","request_duration_ms":286}}' + - '{"last_request_metrics":{"request_id":"req_GEnJp8L4yzg5aM","request_duration_ms":364}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:04 GMT + - Thu, 04 Apr 2024 13:37:05 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 72f039d2-6cd7-4f58-b631-574854fe56e4 + - 60d1d58e-6cfd-423e-bfca-936224aae771 Original-Request: - - req_eXjHCxlpaXJyd4 + - req_GVtdynZRnc9O9F Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eXjHCxlpaXJyd4 + - req_GVtdynZRnc9O9F Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yDKuuB1fWySn2MjIACHx", + "id": "pi_3P1qTSKuuB1fWySn05k0P9TF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328701, + "created": 1712237822, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yDKuuB1fWySn2ftqO0pH", + "latest_charge": "ch_3P1qTSKuuB1fWySn00Lv6Aaj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yDKuuB1fWySnUDh5bx3C", + "payment_method": "pm_1P1qTRKuuB1fWySnhYfkeig3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:04 GMT + recorded_at: Thu, 04 Apr 2024 13:37:05 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yDKuuB1fWySn2MjIACHx + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTSKuuB1fWySn05k0P9TF body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eXjHCxlpaXJyd4","request_duration_ms":1017}}' + - '{"last_request_metrics":{"request_id":"req_GVtdynZRnc9O9F","request_duration_ms":1050}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:04 GMT + - Thu, 04 Apr 2024 13:37:05 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_U7UviQK6MheX6S + - req_awzODHJrSNCd3G Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yDKuuB1fWySn2MjIACHx", + "id": "pi_3P1qTSKuuB1fWySn05k0P9TF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328701, + "created": 1712237822, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yDKuuB1fWySn2ftqO0pH", + "latest_charge": "ch_3P1qTSKuuB1fWySn00Lv6Aaj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yDKuuB1fWySnUDh5bx3C", + "payment_method": "pm_1P1qTRKuuB1fWySnhYfkeig3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:04 GMT + recorded_at: Thu, 04 Apr 2024 13:37:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml index 70900f8024..57f5f84b77 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zXlaWB946BZqSH","request_duration_ms":281}}' + - '{"last_request_metrics":{"request_id":"req_8XCQIRHl77D9wK","request_duration_ms":305}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:59 GMT + - Thu, 04 Apr 2024 13:36:59 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ef249af2-3d40-4a20-8b39-365a92f86151 + - b7b95a28-07c3-4004-90b2-9af6aac6ca75 Original-Request: - - req_ouI6uuWZyy1GbM + - req_7h0vOkcIYghHUH Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ouI6uuWZyy1GbM + - req_7h0vOkcIYghHUH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yBKuuB1fWySngignO71a", + "id": "pm_1P1qTPKuuB1fWySno6t1IbWK", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328699, + "created": 1712237819, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:04:59 GMT + recorded_at: Thu, 04 Apr 2024 13:36:59 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1yBKuuB1fWySngignO71a&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTPKuuB1fWySno6t1IbWK&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ouI6uuWZyy1GbM","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_7h0vOkcIYghHUH","request_duration_ms":517}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:04:59 GMT + - Thu, 04 Apr 2024 13:37:00 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4f5d86f4-e31f-464b-8328-54019f0c2093 + - e3902ae8-2f07-4133-909c-f81e21977b96 Original-Request: - - req_8lRwLjaQ2SW6Yh + - req_UpO4jSIptwjRMM Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8lRwLjaQ2SW6Yh + - req_UpO4jSIptwjRMM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yBKuuB1fWySn13B6BEom", + "id": "pi_3P1qTQKuuB1fWySn1WsD28Lc", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328699, + "created": 1712237820, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yBKuuB1fWySngignO71a", + "payment_method": "pm_1P1qTPKuuB1fWySno6t1IbWK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:00 GMT + recorded_at: Thu, 04 Apr 2024 13:37:00 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yBKuuB1fWySn13B6BEom/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTQKuuB1fWySn1WsD28Lc/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8lRwLjaQ2SW6Yh","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_UpO4jSIptwjRMM","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:00 GMT + - Thu, 04 Apr 2024 13:37:01 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 87e81e70-f320-4826-bcbe-c77d580aa242 + - b90a975c-7d8b-405e-9eb8-c297ce3bd5e4 Original-Request: - - req_xxDvEyW1qlk6jr + - req_ICJugHETjpDsm8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xxDvEyW1qlk6jr + - req_ICJugHETjpDsm8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yBKuuB1fWySn13B6BEom", + "id": "pi_3P1qTQKuuB1fWySn1WsD28Lc", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328699, + "created": 1712237820, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yBKuuB1fWySn1wuCctz9", + "latest_charge": "ch_3P1qTQKuuB1fWySn1SZTyOe6", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yBKuuB1fWySngignO71a", + "payment_method": "pm_1P1qTPKuuB1fWySno6t1IbWK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:00 GMT + recorded_at: Thu, 04 Apr 2024 13:37:01 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml index b1ae68936b..9e987acf42 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_b3hSEWQXI60Hk0","request_duration_ms":927}}' + - '{"last_request_metrics":{"request_id":"req_KCaG9nBY3JDK5u","request_duration_ms":978}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:06 GMT + - Thu, 04 Apr 2024 13:37:08 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7eab6f7e-f8ca-4342-8e9e-8e92e6d322d1 + - 9d0dd974-b30c-4445-bc53-93c7601ae082 Original-Request: - - req_IMl1pmSjixGw99 + - req_vu9WTfeZDEPWFd Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IMl1pmSjixGw99 + - req_vu9WTfeZDEPWFd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yIKuuB1fWySnfcHYBz0S", + "id": "pm_1P1qTYKuuB1fWySnztk4h5Cf", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328706, + "created": 1712237828, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:06 GMT + recorded_at: Thu, 04 Apr 2024 13:37:08 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1yIKuuB1fWySnfcHYBz0S&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTYKuuB1fWySnztk4h5Cf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IMl1pmSjixGw99","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_vu9WTfeZDEPWFd","request_duration_ms":451}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:07 GMT + - Thu, 04 Apr 2024 13:37:08 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c546e766-31d8-40c3-a059-f4bae37d753b + - 1fae5dde-b37f-4372-afc9-fd001f3da18f Original-Request: - - req_zrkjYufiZOr5EC + - req_BR2MrOBL99VE9D Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zrkjYufiZOr5EC + - req_BR2MrOBL99VE9D Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yIKuuB1fWySn0LBPrrOZ", + "id": "pi_3P1qTYKuuB1fWySn2gnaYvWa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328706, + "created": 1712237828, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yIKuuB1fWySnfcHYBz0S", + "payment_method": "pm_1P1qTYKuuB1fWySnztk4h5Cf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:07 GMT + recorded_at: Thu, 04 Apr 2024 13:37:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yIKuuB1fWySn0LBPrrOZ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTYKuuB1fWySn2gnaYvWa/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zrkjYufiZOr5EC","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_BR2MrOBL99VE9D","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:08 GMT + - Thu, 04 Apr 2024 13:37:09 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7c9245ab-0d8f-4dda-9317-42b7074093a7 + - 7eb16ab3-623f-47b1-a02d-243ef1aeb9c4 Original-Request: - - req_s6Sis9cmgvDFSZ + - req_AvoxKaQWW28NMp Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_s6Sis9cmgvDFSZ + - req_AvoxKaQWW28NMp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yIKuuB1fWySn0LBPrrOZ", + "id": "pi_3P1qTYKuuB1fWySn2gnaYvWa", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328706, + "created": 1712237828, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yIKuuB1fWySn0IU9yp5o", + "latest_charge": "ch_3P1qTYKuuB1fWySn2zBbrXaL", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yIKuuB1fWySnfcHYBz0S", + "payment_method": "pm_1P1qTYKuuB1fWySnztk4h5Cf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:08 GMT + recorded_at: Thu, 04 Apr 2024 13:37:09 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yIKuuB1fWySn0LBPrrOZ + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTYKuuB1fWySn2gnaYvWa body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_s6Sis9cmgvDFSZ","request_duration_ms":982}}' + - '{"last_request_metrics":{"request_id":"req_AvoxKaQWW28NMp","request_duration_ms":1084}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:08 GMT + - Thu, 04 Apr 2024 13:37:10 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_HdhfHkg7FVKaSA + - req_FmJypRemanCtGK Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yIKuuB1fWySn0LBPrrOZ", + "id": "pi_3P1qTYKuuB1fWySn2gnaYvWa", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328706, + "created": 1712237828, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yIKuuB1fWySn0IU9yp5o", + "latest_charge": "ch_3P1qTYKuuB1fWySn2zBbrXaL", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yIKuuB1fWySnfcHYBz0S", + "payment_method": "pm_1P1qTYKuuB1fWySnztk4h5Cf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:08 GMT + recorded_at: Thu, 04 Apr 2024 13:37:10 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yIKuuB1fWySn0LBPrrOZ/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTYKuuB1fWySn2gnaYvWa/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HdhfHkg7FVKaSA","request_duration_ms":346}}' + - '{"last_request_metrics":{"request_id":"req_FmJypRemanCtGK","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:09 GMT + - Thu, 04 Apr 2024 13:37:11 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - '0348fc0e-9af3-4946-b594-efec7886398f' + - b6eb1cea-5503-4075-a0b0-e1cc8b52e8dc Original-Request: - - req_LOIHgGDBzmRi46 + - req_4XDVAxdIpg3ojZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LOIHgGDBzmRi46 + - req_4XDVAxdIpg3ojZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yIKuuB1fWySn0LBPrrOZ", + "id": "pi_3P1qTYKuuB1fWySn2gnaYvWa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328706, + "created": 1712237828, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yIKuuB1fWySn0IU9yp5o", + "latest_charge": "ch_3P1qTYKuuB1fWySn2zBbrXaL", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yIKuuB1fWySnfcHYBz0S", + "payment_method": "pm_1P1qTYKuuB1fWySnztk4h5Cf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:09 GMT + recorded_at: Thu, 04 Apr 2024 13:37:11 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yIKuuB1fWySn0LBPrrOZ + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTYKuuB1fWySn2gnaYvWa body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LOIHgGDBzmRi46","request_duration_ms":883}}' + - '{"last_request_metrics":{"request_id":"req_4XDVAxdIpg3ojZ","request_duration_ms":1004}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:09 GMT + - Thu, 04 Apr 2024 13:37:11 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GWqp0ggBJEdZND + - req_VHSEgWLcpy7eeM Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yIKuuB1fWySn0LBPrrOZ", + "id": "pi_3P1qTYKuuB1fWySn2gnaYvWa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328706, + "created": 1712237828, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yIKuuB1fWySn0IU9yp5o", + "latest_charge": "ch_3P1qTYKuuB1fWySn2zBbrXaL", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yIKuuB1fWySnfcHYBz0S", + "payment_method": "pm_1P1qTYKuuB1fWySnztk4h5Cf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:09 GMT + recorded_at: Thu, 04 Apr 2024 13:37:11 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index bc0576b0d2..d2774ad912 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_U7UviQK6MheX6S","request_duration_ms":300}}' + - '{"last_request_metrics":{"request_id":"req_awzODHJrSNCd3G","request_duration_ms":320}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:04 GMT + - Thu, 04 Apr 2024 13:37:05 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8003568f-e764-4ab7-93a2-ef7b9eb31036 + - b10a1299-f79f-41b6-a35e-d150444bfb7a Original-Request: - - req_XODVJfftEzEqAA + - req_i2SKAQMYJFmMi6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XODVJfftEzEqAA + - req_i2SKAQMYJFmMi6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1yGKuuB1fWySn1hS6lWpu", + "id": "pm_1P1qTVKuuB1fWySnoHhxcrUs", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328704, + "created": 1712237825, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:04 GMT + recorded_at: Thu, 04 Apr 2024 13:37:05 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1yGKuuB1fWySn1hS6lWpu&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qTVKuuB1fWySnoHhxcrUs&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XODVJfftEzEqAA","request_duration_ms":417}}' + - '{"last_request_metrics":{"request_id":"req_i2SKAQMYJFmMi6","request_duration_ms":489}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:05 GMT + - Thu, 04 Apr 2024 13:37:06 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 19999076-7841-4545-b8a4-9ddbe03e7442 + - 6ddd9b0f-b95b-47d7-a29a-fa23b0c71d1b Original-Request: - - req_6T9ReQFxEZGDhX + - req_SU7KNZXZebE90r Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6T9ReQFxEZGDhX + - req_SU7KNZXZebE90r Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yHKuuB1fWySn0pn9AdDW", + "id": "pi_3P1qTWKuuB1fWySn2gCtjiex", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328705, + "created": 1712237826, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yGKuuB1fWySn1hS6lWpu", + "payment_method": "pm_1P1qTVKuuB1fWySnoHhxcrUs", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:05 GMT + recorded_at: Thu, 04 Apr 2024 13:37:06 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1yHKuuB1fWySn0pn9AdDW/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTWKuuB1fWySn2gCtjiex/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6T9ReQFxEZGDhX","request_duration_ms":392}}' + - '{"last_request_metrics":{"request_id":"req_SU7KNZXZebE90r","request_duration_ms":422}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:06 GMT + - Thu, 04 Apr 2024 13:37:07 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ef188af5-a9d2-401e-8f91-9d3fbc989b2e + - 4e4ae9e0-1f63-46a8-8fdc-cc73f61051a1 Original-Request: - - req_b3hSEWQXI60Hk0 + - req_KCaG9nBY3JDK5u Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_b3hSEWQXI60Hk0 + - req_KCaG9nBY3JDK5u Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1yHKuuB1fWySn0pn9AdDW", + "id": "pi_3P1qTWKuuB1fWySn2gCtjiex", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328705, + "created": 1712237826, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1yHKuuB1fWySn0B5k0noU", + "latest_charge": "ch_3P1qTWKuuB1fWySn2AwS8UhT", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1yGKuuB1fWySn1hS6lWpu", + "payment_method": "pm_1P1qTVKuuB1fWySnoHhxcrUs", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:05:06 GMT + recorded_at: Thu, 04 Apr 2024 13:37:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml index 2b75740b2a..40571a32f0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LrtdGQM18B18CT","request_duration_ms":1024}}' + - '{"last_request_metrics":{"request_id":"req_OPWnAO1KH9Acfa","request_duration_ms":939}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:51 GMT + - Thu, 04 Apr 2024 13:35:41 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6617e2ea-a946-4919-aa0a-eefaab606865 + - 2839ba52-91b8-49c6-92da-d403124434eb Original-Request: - - req_IypojmCoTNHFqd + - req_RoANYU1BfqHXvc Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IypojmCoTNHFqd + - req_RoANYU1BfqHXvc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1x5KuuB1fWySnlfUbw1si", + "id": "pm_1P1qS9KuuB1fWySneChAhka4", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328631, + "created": 1712237741, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:51 GMT + recorded_at: Thu, 04 Apr 2024 13:35:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1x5KuuB1fWySnlfUbw1si&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qS9KuuB1fWySneChAhka4&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IypojmCoTNHFqd","request_duration_ms":417}}' + - '{"last_request_metrics":{"request_id":"req_RoANYU1BfqHXvc","request_duration_ms":595}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:51 GMT + - Thu, 04 Apr 2024 13:35:42 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ef1bb653-f85d-4757-a196-adf22e08a1dc + - 7e738eb2-6a84-4b84-a8bc-e13e5b585278 Original-Request: - - req_MGN5MPRgpi20xs + - req_lI4owvG8foycSJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MGN5MPRgpi20xs + - req_lI4owvG8foycSJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1x5KuuB1fWySn2IhTjARu", + "id": "pi_3P1qS9KuuB1fWySn2XykQBE2", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328631, + "created": 1712237741, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1x5KuuB1fWySnlfUbw1si", + "payment_method": "pm_1P1qS9KuuB1fWySneChAhka4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:51 GMT + recorded_at: Thu, 04 Apr 2024 13:35:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1x5KuuB1fWySn2IhTjARu/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qS9KuuB1fWySn2XykQBE2/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MGN5MPRgpi20xs","request_duration_ms":370}}' + - '{"last_request_metrics":{"request_id":"req_lI4owvG8foycSJ","request_duration_ms":423}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:52 GMT + - Thu, 04 Apr 2024 13:35:43 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 61e845e6-be42-4500-9724-9b0d9171312b + - fca2be67-8860-466a-98df-16bcecb385cb Original-Request: - - req_Sb5j0NQ5Aia3TE + - req_A32VXjMhYglpTg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Sb5j0NQ5Aia3TE + - req_A32VXjMhYglpTg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1x5KuuB1fWySn2IhTjARu", + "id": "pi_3P1qS9KuuB1fWySn2XykQBE2", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328631, + "created": 1712237741, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1x5KuuB1fWySn2epQfh1I", + "latest_charge": "ch_3P1qS9KuuB1fWySn2wOeHOx3", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1x5KuuB1fWySnlfUbw1si", + "payment_method": "pm_1P1qS9KuuB1fWySneChAhka4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:52 GMT + recorded_at: Thu, 04 Apr 2024 13:35:43 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1x5KuuB1fWySn2IhTjARu + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qS9KuuB1fWySn2XykQBE2 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Sb5j0NQ5Aia3TE","request_duration_ms":1000}}' + - '{"last_request_metrics":{"request_id":"req_A32VXjMhYglpTg","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:52 GMT + - Thu, 04 Apr 2024 13:35:43 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_H54MwTJr5YGTbq + - req_QNNoLzQpk5hDW5 Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1x5KuuB1fWySn2IhTjARu", + "id": "pi_3P1qS9KuuB1fWySn2XykQBE2", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328631, + "created": 1712237741, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1x5KuuB1fWySn2epQfh1I", + "latest_charge": "ch_3P1qS9KuuB1fWySn2wOeHOx3", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1x5KuuB1fWySnlfUbw1si", + "payment_method": "pm_1P1qS9KuuB1fWySneChAhka4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:52 GMT + recorded_at: Thu, 04 Apr 2024 13:35:43 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1x5KuuB1fWySn2IhTjARu/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qS9KuuB1fWySn2XykQBE2/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_H54MwTJr5YGTbq","request_duration_ms":307}}' + - '{"last_request_metrics":{"request_id":"req_QNNoLzQpk5hDW5","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:53 GMT + - Thu, 04 Apr 2024 13:35:44 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1bcc63ab-2a9e-4438-bb69-d2e4b078c6a5 + - 03fbcddf-cc42-444c-97d2-55ae2fcaa40a Original-Request: - - req_lJrnMqyYq1oQL8 + - req_KqN3MZJvy21Z3c Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lJrnMqyYq1oQL8 + - req_KqN3MZJvy21Z3c Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1x5KuuB1fWySn2IhTjARu", + "id": "pi_3P1qS9KuuB1fWySn2XykQBE2", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328631, + "created": 1712237741, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1x5KuuB1fWySn2epQfh1I", + "latest_charge": "ch_3P1qS9KuuB1fWySn2wOeHOx3", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1x5KuuB1fWySnlfUbw1si", + "payment_method": "pm_1P1qS9KuuB1fWySneChAhka4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:53 GMT + recorded_at: Thu, 04 Apr 2024 13:35:44 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1x5KuuB1fWySn2IhTjARu + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qS9KuuB1fWySn2XykQBE2 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lJrnMqyYq1oQL8","request_duration_ms":928}}' + - '{"last_request_metrics":{"request_id":"req_KqN3MZJvy21Z3c","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:54 GMT + - Thu, 04 Apr 2024 13:35:44 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6FbkQu4N7D8IBe + - req_t6ASt1pJdtCSur Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1x5KuuB1fWySn2IhTjARu", + "id": "pi_3P1qS9KuuB1fWySn2XykQBE2", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328631, + "created": 1712237741, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1x5KuuB1fWySn2epQfh1I", + "latest_charge": "ch_3P1qS9KuuB1fWySn2wOeHOx3", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1x5KuuB1fWySnlfUbw1si", + "payment_method": "pm_1P1qS9KuuB1fWySneChAhka4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:54 GMT + recorded_at: Thu, 04 Apr 2024 13:35:45 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml index 520fa44ffe..d882c823cb 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xinDj3jks15YZe","request_duration_ms":421}}' + - '{"last_request_metrics":{"request_id":"req_65MavRBJd7YWIw","request_duration_ms":1119}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:49 GMT + - Thu, 04 Apr 2024 13:35:39 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fbca3afe-e69d-4aa9-8612-f9b12a4607a7 + - 11b47897-cab1-4aac-a832-c8d2686b6b8a Original-Request: - - req_YEnvdRHpDrDTIV + - req_oA1vyiao9i8m2k Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_YEnvdRHpDrDTIV + - req_oA1vyiao9i8m2k Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1x2KuuB1fWySn3f5MjJs9", + "id": "pm_1P1qS6KuuB1fWySnf44hqcHV", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328628, + "created": 1712237739, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:49 GMT + recorded_at: Thu, 04 Apr 2024 13:35:39 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1x2KuuB1fWySn3f5MjJs9&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qS6KuuB1fWySnf44hqcHV&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YEnvdRHpDrDTIV","request_duration_ms":503}}' + - '{"last_request_metrics":{"request_id":"req_oA1vyiao9i8m2k","request_duration_ms":597}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:49 GMT + - Thu, 04 Apr 2024 13:35:39 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a7db835e-123d-412d-975a-fa9f4bca9314 + - dc1d24ce-4c1f-428c-80c7-bfe184885870 Original-Request: - - req_cVC3wuxyDUdA7W + - req_FDY4kYVNNGInCu Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cVC3wuxyDUdA7W + - req_FDY4kYVNNGInCu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1x3KuuB1fWySn25YN6I9l", + "id": "pi_3P1qS7KuuB1fWySn2XpoAZsF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328629, + "created": 1712237739, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1x2KuuB1fWySn3f5MjJs9", + "payment_method": "pm_1P1qS6KuuB1fWySnf44hqcHV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:49 GMT + recorded_at: Thu, 04 Apr 2024 13:35:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1x3KuuB1fWySn25YN6I9l/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qS7KuuB1fWySn2XpoAZsF/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cVC3wuxyDUdA7W","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_FDY4kYVNNGInCu","request_duration_ms":389}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:50 GMT + - Thu, 04 Apr 2024 13:35:40 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 236931a9-1bea-484a-906f-14ddffd60e43 + - 1312c571-dc27-4330-bf25-3950b4d78395 Original-Request: - - req_LrtdGQM18B18CT + - req_OPWnAO1KH9Acfa Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LrtdGQM18B18CT + - req_OPWnAO1KH9Acfa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1x3KuuB1fWySn25YN6I9l", + "id": "pi_3P1qS7KuuB1fWySn2XpoAZsF", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328629, + "created": 1712237739, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1x3KuuB1fWySn2KfvG6tV", + "latest_charge": "ch_3P1qS7KuuB1fWySn20VQqDEp", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1x2KuuB1fWySn3f5MjJs9", + "payment_method": "pm_1P1qS6KuuB1fWySnf44hqcHV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:50 GMT + recorded_at: Thu, 04 Apr 2024 13:35:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml index ca0cc7b884..370eff5815 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LpWnQ3n6OJRcpU","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_ay8y3Oiz3Rf7n2","request_duration_ms":938}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:56 GMT + - Thu, 04 Apr 2024 13:35:47 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9277d5a9-a72d-40d3-a2ff-f515b4d71099 + - a2f61cd9-3aa1-4dc3-85b0-4c9fb84f4457 Original-Request: - - req_SVhZr6qooL4q8n + - req_43qLrCd2I0ucle Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SVhZr6qooL4q8n + - req_43qLrCd2I0ucle Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1xAKuuB1fWySnCwx91SlS", + "id": "pm_1P1qSFKuuB1fWySnSX48fWqI", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328636, + "created": 1712237747, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:56 GMT + recorded_at: Thu, 04 Apr 2024 13:35:47 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1xAKuuB1fWySnCwx91SlS&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSFKuuB1fWySnSX48fWqI&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SVhZr6qooL4q8n","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_43qLrCd2I0ucle","request_duration_ms":520}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:57 GMT + - Thu, 04 Apr 2024 13:35:48 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 16f50236-199a-425a-bc2e-8de7aee1e845 + - debd90c7-39e2-4d47-a97c-69d64e9c1c0a Original-Request: - - req_0FoshXyhMWSUHq + - req_AhKpkoD12N5PE5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0FoshXyhMWSUHq + - req_AhKpkoD12N5PE5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xAKuuB1fWySn0EyM5L4o", + "id": "pi_3P1qSGKuuB1fWySn2gxyzpL0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328636, + "created": 1712237748, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xAKuuB1fWySnCwx91SlS", + "payment_method": "pm_1P1qSFKuuB1fWySnSX48fWqI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:57 GMT + recorded_at: Thu, 04 Apr 2024 13:35:48 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xAKuuB1fWySn0EyM5L4o/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSGKuuB1fWySn2gxyzpL0/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0FoshXyhMWSUHq","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_AhKpkoD12N5PE5","request_duration_ms":548}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:58 GMT + - Thu, 04 Apr 2024 13:35:49 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 838a21fb-71ae-499c-98b6-b7f6b36a6d22 + - 6e0adeba-8e15-4831-8aa8-9093b426f87b Original-Request: - - req_mfHfPB6KEsymBW + - req_7kIoJlAkTpeVce Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mfHfPB6KEsymBW + - req_7kIoJlAkTpeVce Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xAKuuB1fWySn0EyM5L4o", + "id": "pi_3P1qSGKuuB1fWySn2gxyzpL0", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328636, + "created": 1712237748, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xAKuuB1fWySn00bDQWc2", + "latest_charge": "ch_3P1qSGKuuB1fWySn2wBCA4xI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xAKuuB1fWySnCwx91SlS", + "payment_method": "pm_1P1qSFKuuB1fWySnSX48fWqI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:58 GMT + recorded_at: Thu, 04 Apr 2024 13:35:49 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xAKuuB1fWySn0EyM5L4o + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSGKuuB1fWySn2gxyzpL0 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mfHfPB6KEsymBW","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_7kIoJlAkTpeVce","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:58 GMT + - Thu, 04 Apr 2024 13:35:49 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hHAsgdTvTl5yw2 + - req_tXQgbLyaH7DQtQ Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xAKuuB1fWySn0EyM5L4o", + "id": "pi_3P1qSGKuuB1fWySn2gxyzpL0", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328636, + "created": 1712237748, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xAKuuB1fWySn00bDQWc2", + "latest_charge": "ch_3P1qSGKuuB1fWySn2wBCA4xI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xAKuuB1fWySnCwx91SlS", + "payment_method": "pm_1P1qSFKuuB1fWySnSX48fWqI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:58 GMT + recorded_at: Thu, 04 Apr 2024 13:35:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xAKuuB1fWySn0EyM5L4o/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSGKuuB1fWySn2gxyzpL0/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hHAsgdTvTl5yw2","request_duration_ms":307}}' + - '{"last_request_metrics":{"request_id":"req_tXQgbLyaH7DQtQ","request_duration_ms":309}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:59 GMT + - Thu, 04 Apr 2024 13:35:50 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6db470c2-1b92-4ed9-af31-95f807cd5ce8 + - 9352ae7b-cbf9-41fa-b56b-42cb4143c781 Original-Request: - - req_lGd3LXIV0M09aN + - req_qDbgPFiz61w4JI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lGd3LXIV0M09aN + - req_qDbgPFiz61w4JI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xAKuuB1fWySn0EyM5L4o", + "id": "pi_3P1qSGKuuB1fWySn2gxyzpL0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328636, + "created": 1712237748, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xAKuuB1fWySn00bDQWc2", + "latest_charge": "ch_3P1qSGKuuB1fWySn2wBCA4xI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xAKuuB1fWySnCwx91SlS", + "payment_method": "pm_1P1qSFKuuB1fWySnSX48fWqI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:59 GMT + recorded_at: Thu, 04 Apr 2024 13:35:50 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1xAKuuB1fWySn0EyM5L4o + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSGKuuB1fWySn2gxyzpL0 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lGd3LXIV0M09aN","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_qDbgPFiz61w4JI","request_duration_ms":1116}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:59 GMT + - Thu, 04 Apr 2024 13:35:51 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_65CwppYf2U914L + - req_ERo2W5xTSGP6gl Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1xAKuuB1fWySn0EyM5L4o", + "id": "pi_3P1qSGKuuB1fWySn2gxyzpL0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328636, + "created": 1712237748, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1xAKuuB1fWySn00bDQWc2", + "latest_charge": "ch_3P1qSGKuuB1fWySn2wBCA4xI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1xAKuuB1fWySnCwx91SlS", + "payment_method": "pm_1P1qSFKuuB1fWySnSX48fWqI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:59 GMT + recorded_at: Thu, 04 Apr 2024 13:35:51 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml index c1ccad44e2..c793fa49ef 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6FbkQu4N7D8IBe","request_duration_ms":297}}' + - '{"last_request_metrics":{"request_id":"req_t6ASt1pJdtCSur","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:54 GMT + - Thu, 04 Apr 2024 13:35:45 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d96723b9-0376-4e92-bfba-ec29a195aa1c + - 1b3a5ee1-e323-41e9-b968-3974afa6dc22 Original-Request: - - req_n5lXA028Aiq5kC + - req_TnLyKYOdCCT2DQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_n5lXA028Aiq5kC + - req_TnLyKYOdCCT2DQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1x8KuuB1fWySnhEMal6fN", + "id": "pm_1P1qSDKuuB1fWySndSTXrgfT", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1711328634, + "created": 1712237745, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:03:54 GMT + recorded_at: Thu, 04 Apr 2024 13:35:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1Oy1x8KuuB1fWySnhEMal6fN&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P1qSDKuuB1fWySndSTXrgfT&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_n5lXA028Aiq5kC","request_duration_ms":499}}' + - '{"last_request_metrics":{"request_id":"req_TnLyKYOdCCT2DQ","request_duration_ms":452}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:55 GMT + - Thu, 04 Apr 2024 13:35:46 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ca307d3d-c6d3-4b17-8dfc-65c47b97f9cd + - db28b8c6-f534-4eaf-81eb-add9c400defd Original-Request: - - req_tFPbpS2U1DRbXC + - req_fH1YjHjcZmwfmI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_tFPbpS2U1DRbXC + - req_fH1YjHjcZmwfmI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1x8KuuB1fWySn2UBNif8A", + "id": "pi_3P1qSDKuuB1fWySn1PWgLiEo", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328634, + "created": 1712237745, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1x8KuuB1fWySnhEMal6fN", + "payment_method": "pm_1P1qSDKuuB1fWySndSTXrgfT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:55 GMT + recorded_at: Thu, 04 Apr 2024 13:35:46 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3Oy1x8KuuB1fWySn2UBNif8A/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSDKuuB1fWySn1PWgLiEo/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tFPbpS2U1DRbXC","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_fH1YjHjcZmwfmI","request_duration_ms":470}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:03:56 GMT + - Thu, 04 Apr 2024 13:35:47 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5df253f8-5428-4d72-9bcc-9dba1aa8a011 + - f2117a25-ec60-4cdf-b729-20bd6ab30447 Original-Request: - - req_LpWnQ3n6OJRcpU + - req_ay8y3Oiz3Rf7n2 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LpWnQ3n6OJRcpU + - req_ay8y3Oiz3Rf7n2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3Oy1x8KuuB1fWySn2UBNif8A", + "id": "pi_3P1qSDKuuB1fWySn1PWgLiEo", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1711328634, + "created": 1712237745, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3Oy1x8KuuB1fWySn20Z8SbZk", + "latest_charge": "ch_3P1qSDKuuB1fWySn1nIOCvSD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1Oy1x8KuuB1fWySnhEMal6fN", + "payment_method": "pm_1P1qSDKuuB1fWySndSTXrgfT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 25 Mar 2024 01:03:56 GMT + recorded_at: Thu, 04 Apr 2024 13:35:47 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml index cf37244f94..b23186e721 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EqwvEUlwSLJqNb","request_duration_ms":403}}' + - '{"last_request_metrics":{"request_id":"req_zN2EHx9dXN8JGT","request_duration_ms":409}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:25 GMT + - Thu, 04 Apr 2024 13:37:28 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e450aef9-1a2a-4e87-9c9f-5618bcc8b800 + - 2e020a00-8edd-446c-aaa0-8921ab2e83bf Original-Request: - - req_Ekg7EVx2CfqvOB + - req_bX7SolRvvOcGLb Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ekg7EVx2CfqvOB + - req_bX7SolRvvOcGLb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1ybKuuB1fWySnpVkhXMKf", + "id": "pm_1P1qTsKuuB1fWySnuPDWGOWS", "object": "payment_method", "billing_details": { "address": { @@ -122,19 +122,19 @@ http_interactions: }, "wallet": null }, - "created": 1711328725, + "created": 1712237848, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:25 GMT + recorded_at: Thu, 04 Apr 2024 13:37:28 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=edison_murazik%40haag.us + string: expand[0]=sources&email=jesica%40framicronin.com headers: Content-Type: - application/x-www-form-urlencoded @@ -162,7 +162,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:26 GMT + - Thu, 04 Apr 2024 13:37:29 GMT Content-Type: - application/json Content-Length: @@ -189,15 +189,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9fbcb43e-d2ec-45c4-a2bb-e1a23e0f5151 + - 87fcb6f2-816a-413c-b39e-16b42fe95c5c Original-Request: - - req_nzChtL6iF0jGUn + - req_eTdw90N6YKruvz Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nzChtL6iF0jGUn + - req_eTdw90N6YKruvz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -212,19 +212,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PndFlh0qpIxDUJ", + "id": "cus_PrZdVp1b2to3Ll", "object": "customer", "address": null, "balance": 0, - "created": 1711328725, + "created": 1712237849, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "edison_murazik@haag.us", - "invoice_prefix": "743BDE3D", + "email": "jesica@framicronin.com", + "invoice_prefix": "A4E930BB", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -243,18 +243,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_PndFlh0qpIxDUJ/sources" + "url": "/v1/customers/cus_PrZdVp1b2to3Ll/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 25 Mar 2024 01:05:26 GMT + recorded_at: Thu, 04 Apr 2024 13:37:29 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1ybKuuB1fWySnpVkhXMKf/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P1qTsKuuB1fWySnuPDWGOWS/attach body: encoding: UTF-8 - string: customer=cus_PndFlh0qpIxDUJ + string: customer=cus_PrZdVp1b2to3Ll headers: Content-Type: - application/x-www-form-urlencoded @@ -282,7 +282,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:26 GMT + - Thu, 04 Apr 2024 13:37:30 GMT Content-Type: - application/json Content-Length: @@ -310,15 +310,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8220b78c-6ad7-43cf-a3e8-d2dfa7567b10 + - 461dd3e2-ca69-4d88-b10f-72cb2af4486a Original-Request: - - req_KlCM6e5SQzxHUp + - req_xAvZfffh4ncgz7 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KlCM6e5SQzxHUp + - req_xAvZfffh4ncgz7 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1ybKuuB1fWySnpVkhXMKf", + "id": "pm_1P1qTsKuuB1fWySnuPDWGOWS", "object": "payment_method", "billing_details": { "address": { @@ -374,11 +374,11 @@ http_interactions: }, "wallet": null }, - "created": 1711328725, - "customer": "cus_PndFlh0qpIxDUJ", + "created": 1712237848, + "customer": "cus_PrZdVp1b2to3Ll", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:26 GMT + recorded_at: Thu, 04 Apr 2024 13:37:30 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml index 332ca20145..9f2405d2eb 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ekg7EVx2CfqvOB","request_duration_ms":463}}' + - '{"last_request_metrics":{"request_id":"req_bX7SolRvvOcGLb","request_duration_ms":556}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:27 GMT + - Thu, 04 Apr 2024 13:37:31 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - abef1012-d5fd-45fe-bbda-868c2399903a + - e88784fe-911a-4c6c-a4b1-e6ba2931566f Original-Request: - - req_ObvegLjgzLB5Em + - req_vnEA9kuFOBlMML Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ObvegLjgzLB5Em + - req_vnEA9kuFOBlMML Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1ycKuuB1fWySn7mkGAVq3", + "id": "pm_1P1qTuKuuB1fWySnNjyC812d", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1711328727, + "created": 1712237851, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:27 GMT + recorded_at: Thu, 04 Apr 2024 13:37:31 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,13 +137,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ObvegLjgzLB5Em","request_duration_ms":450}}' + - '{"last_request_metrics":{"request_id":"req_vnEA9kuFOBlMML","request_duration_ms":491}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:27 GMT + - Thu, 04 Apr 2024 13:37:31 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 42705d82-5efd-4ee9-856a-c50f104e222f + - a7d59bbe-4ac7-489c-bb20-cb527fa79d30 Original-Request: - - req_OekOmAuisM2Gd2 + - req_ZExNgmwbJE20pI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OekOmAuisM2Gd2 + - req_ZExNgmwbJE20pI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PndF00L0l1hDVc", + "id": "cus_PrZd0VkXqJY1MP", "object": "customer", "address": null, "balance": 0, - "created": 1711328727, + "created": 1712237851, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "882F08A2", + "invoice_prefix": "92E17D77", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,22 +238,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 25 Mar 2024 01:05:27 GMT + recorded_at: Thu, 04 Apr 2024 13:37:31 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1ycKuuB1fWySn7mkGAVq3/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P1qTuKuuB1fWySnNjyC812d/attach body: encoding: UTF-8 - string: customer=cus_PndF00L0l1hDVc + string: customer=cus_PrZd0VkXqJY1MP headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OekOmAuisM2Gd2","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_ZExNgmwbJE20pI","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:28 GMT + - Thu, 04 Apr 2024 13:37:32 GMT Content-Type: - application/json Content-Length: @@ -298,15 +298,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 58fa1167-d6ae-444a-b489-0be7f45cf20d + - 0ee0c81c-bccf-4e11-8d80-9e54ba12f043 Original-Request: - - req_TY7Hi7GZqE85NM + - req_uU7ESpHotpLyHH Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_TY7Hi7GZqE85NM + - req_uU7ESpHotpLyHH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1Oy1ycKuuB1fWySn7mkGAVq3", + "id": "pm_1P1qTuKuuB1fWySnNjyC812d", "object": "payment_method", "billing_details": { "address": { @@ -362,19 +362,19 @@ http_interactions: }, "wallet": null }, - "created": 1711328727, - "customer": "cus_PndF00L0l1hDVc", + "created": 1712237851, + "customer": "cus_PrZd0VkXqJY1MP", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 25 Mar 2024 01:05:28 GMT + recorded_at: Thu, 04 Apr 2024 13:37:32 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=janelle%40kemmerkeeling.info + string: expand[0]=sources&email=herminia.watsica%40hermann.name headers: Content-Type: - application/x-www-form-urlencoded @@ -402,11 +402,11 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:28 GMT + - Thu, 04 Apr 2024 13:37:33 GMT Content-Type: - application/json Content-Length: - - '823' + - '826' Connection: - close Access-Control-Allow-Credentials: @@ -429,15 +429,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1511a46a-2642-48ba-8956-3918feaffb40 + - e351c382-f845-4ac1-9481-514e6480819b Original-Request: - - req_JgwqqmJQGVrJub + - req_mDyqDYAmUxLx3A Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JgwqqmJQGVrJub + - req_mDyqDYAmUxLx3A Stripe-Should-Retry: - 'false' Stripe-Version: @@ -452,19 +452,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PndFsq6iXByiBt", + "id": "cus_PrZdZqPMG54aRU", "object": "customer", "address": null, "balance": 0, - "created": 1711328728, + "created": 1712237853, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "janelle@kemmerkeeling.info", - "invoice_prefix": "98AB1521", + "email": "herminia.watsica@hermann.name", + "invoice_prefix": "C0D4867A", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -483,18 +483,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_PndFsq6iXByiBt/sources" + "url": "/v1/customers/cus_PrZdZqPMG54aRU/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 25 Mar 2024 01:05:28 GMT + recorded_at: Thu, 04 Apr 2024 13:37:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1Oy1ycKuuB1fWySn7mkGAVq3/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P1qTuKuuB1fWySnNjyC812d/attach body: encoding: UTF-8 - string: customer=cus_PndFsq6iXByiBt + string: customer=cus_PrZdZqPMG54aRU headers: Content-Type: - application/x-www-form-urlencoded @@ -522,7 +522,7 @@ http_interactions: Server: - nginx Date: - - Mon, 25 Mar 2024 01:05:29 GMT + - Thu, 04 Apr 2024 13:37:34 GMT Content-Type: - application/json Content-Length: @@ -550,15 +550,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7e3d8e7b-ccee-4ad5-9d8b-2ea7b5d7c1b2 + - 16684cab-bfbd-4535-93b5-daf3e80a606b Original-Request: - - req_UwkvDjnUV2ldEE + - req_MLszuoyPB2I5oO Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UwkvDjnUV2ldEE + - req_MLszuoyPB2I5oO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -575,9 +575,9 @@ http_interactions: { "error": { "message": "The payment method you provided has already been attached to a customer.", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_UwkvDjnUV2ldEE?t=1711328729", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_MLszuoyPB2I5oO?t=1712237854", "type": "invalid_request_error" } } - recorded_at: Mon, 25 Mar 2024 01:05:29 GMT + recorded_at: Thu, 04 Apr 2024 13:37:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.13.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.14.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml index c35067a952..d09c2d6be6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.13.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml @@ -8,11 +8,13 @@ http_interactions: string: type=standard&country=AU&email=lettuce.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_mMJQsa3EGnz6Dv","request_duration_ms":381}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -29,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:00:07 GMT + - Thu, 04 Apr 2024 13:38:45 GMT Content-Type: - application/json Content-Length: @@ -56,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 894d988f-0964-465e-96a4-cbc43d6cff62 + - 1ac839ea-16e1-4e09-b35d-c8ea53fd8eb1 Original-Request: - - req_L06jsKcXNbzYER + - req_Z6PfgRzTcacXtR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_L06jsKcXNbzYER + - req_Z6PfgRzTcacXtR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -79,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0herQTjBVDfK8a", + "id": "acct_1P1qV5QSXWgDKCVa", "object": "account", "business_profile": { "annual_revenue": null, @@ -101,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1711965606, + "created": 1712237924, "default_currency": "aud", "details_submitted": false, "email": "lettuce.producer@example.com", @@ -110,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P0herQTjBVDfK8a/external_accounts" + "url": "/v1/accounts/acct_1P1qV5QSXWgDKCVa/external_accounts" }, "future_requirements": { "alternatives": [], @@ -207,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Mon, 01 Apr 2024 10:00:06 GMT + recorded_at: Thu, 04 Apr 2024 13:38:45 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -216,13 +218,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_L06jsKcXNbzYER","request_duration_ms":1991}}' + - '{"last_request_metrics":{"request_id":"req_Z6PfgRzTcacXtR","request_duration_ms":2059}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -239,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:00:07 GMT + - Thu, 04 Apr 2024 13:38:45 GMT Content-Type: - application/json Content-Length: @@ -271,7 +273,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vWioO9TiRIjFMJ + - req_ngVMy7K3b4r1zq Stripe-Version: - '2023-10-16' Vary: @@ -284,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P0hetKuuB1fWySne9uWJYPX", + "id": "pm_1P1qV7KuuB1fWySn3gqeKnuM", "object": "payment_method", "billing_details": { "address": { @@ -325,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1711965607, + "created": 1712237925, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 01 Apr 2024 10:00:07 GMT + recorded_at: Thu, 04 Apr 2024 13:38:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -340,19 +342,19 @@ http_interactions: string: amount=2600¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vWioO9TiRIjFMJ","request_duration_ms":495}}' + - '{"last_request_metrics":{"request_id":"req_ngVMy7K3b4r1zq","request_duration_ms":424}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0herQTjBVDfK8a + - acct_1P1qV5QSXWgDKCVa Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -365,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:00:09 GMT + - Thu, 04 Apr 2024 13:38:47 GMT Content-Type: - application/json Content-Length: @@ -392,17 +394,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f729fae8-2e8d-4c89-b101-46b2343325aa + - 9e8aa74a-28c7-4a9b-b4a2-89fe42df9787 Original-Request: - - req_gKh9rEHg5FbISS + - req_goLlCxJFfXiruB Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gKh9rEHg5FbISS + - req_goLlCxJFfXiruB Stripe-Account: - - acct_1P0herQTjBVDfK8a + - acct_1P1qV5QSXWgDKCVa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -417,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0heuQTjBVDfK8a0gBRJEL6", + "id": "pi_3P1qV8QSXWgDKCVa1oZUk5la", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -433,18 +435,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1711965608, + "created": 1712237926, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P0heuQTjBVDfK8a0a5WwJKV", + "latest_charge": "ch_3P1qV8QSXWgDKCVa10ThDff2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0heuQTjBVDfK8aBSEO0abL", + "payment_method": "pm_1P1qV8QSXWgDKCVaeUYthEgj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -469,16 +471,16 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:00:08 GMT + recorded_at: Thu, 04 Apr 2024 13:38:47 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P0heuQTjBVDfK8a0gBRJEL6 + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qV8QSXWgDKCVa1oZUk5la body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: @@ -488,7 +490,7 @@ http_interactions: X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P0herQTjBVDfK8a + - acct_1P1qV5QSXWgDKCVa Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -501,7 +503,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:00:11 GMT + - Thu, 04 Apr 2024 13:38:53 GMT Content-Type: - application/json Content-Length: @@ -533,9 +535,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ddnixS5X4GzrFe + - req_agn191tIigMx5V Stripe-Account: - - acct_1P0herQTjBVDfK8a + - acct_1P1qV5QSXWgDKCVa Stripe-Version: - '2023-10-16' Vary: @@ -548,7 +550,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0heuQTjBVDfK8a0gBRJEL6", + "id": "pi_3P1qV8QSXWgDKCVa1oZUk5la", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -564,18 +566,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1711965608, + "created": 1712237926, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P0heuQTjBVDfK8a0a5WwJKV", + "latest_charge": "ch_3P1qV8QSXWgDKCVa10ThDff2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0heuQTjBVDfK8aBSEO0abL", + "payment_method": "pm_1P1qV8QSXWgDKCVaeUYthEgj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -600,10 +602,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:00:10 GMT + recorded_at: Thu, 04 Apr 2024 13:38:53 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P0heuQTjBVDfK8a0gBRJEL6 + uri: https://api.stripe.com/v1/payment_intents/pi_3P1qV8QSXWgDKCVa1oZUk5la body: encoding: US-ASCII string: '' @@ -619,7 +621,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P0herQTjBVDfK8a + - acct_1P1qV5QSXWgDKCVa Connection: - close Accept-Encoding: @@ -634,11 +636,11 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:00:11 GMT + - Thu, 04 Apr 2024 13:38:53 GMT Content-Type: - application/json Content-Length: - - '5160' + - '5159' Connection: - close Access-Control-Allow-Credentials: @@ -666,9 +668,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_f5WYRcAhEZFokf + - req_eGEHJbHKIPJ59Z Stripe-Account: - - acct_1P0herQTjBVDfK8a + - acct_1P1qV5QSXWgDKCVa Stripe-Version: - '2020-08-27' Vary: @@ -681,7 +683,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P0heuQTjBVDfK8a0gBRJEL6", + "id": "pi_3P1qV8QSXWgDKCVa1oZUk5la", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -699,7 +701,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P0heuQTjBVDfK8a0a5WwJKV", + "id": "ch_3P1qV8QSXWgDKCVa10ThDff2", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -707,7 +709,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P0heuQTjBVDfK8a0x7dKX45", + "balance_transaction": "txn_3P1qV8QSXWgDKCVa1vBAR7E0", "billing_details": { "address": { "city": null, @@ -723,7 +725,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711965608, + "created": 1712237926, "currency": "aud", "customer": null, "description": null, @@ -743,13 +745,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 10, + "risk_score": 8, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P0heuQTjBVDfK8a0gBRJEL6", - "payment_method": "pm_1P0heuQTjBVDfK8aBSEO0abL", + "payment_intent": "pi_3P1qV8QSXWgDKCVa1oZUk5la", + "payment_method": "pm_1P1qV8QSXWgDKCVaeUYthEgj", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -792,14 +794,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDBoZXJRVGpCVkRmSzhhKKuLqrAGMgZl5iBA3Tk6LBah2hXiN2VZVWEI8C03u5ojHBD7WR0LtJ1qOR8waX9LZmiGOtmFJDNtAcIn", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDFxVjVRU1hXZ0RLQ1ZhKO3aurAGMgarbxnXjjM6LBakbEbV6igFS88gLYDgYSYiamEBJQ5u6S_MKxGHuKaxTf62ifdDH0YfzrRd", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P0heuQTjBVDfK8a0a5WwJKV/refunds" + "url": "/v1/charges/ch_3P1qV8QSXWgDKCVa10ThDff2/refunds" }, "review": null, "shipping": null, @@ -814,22 +816,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P0heuQTjBVDfK8a0gBRJEL6" + "url": "/v1/charges?payment_intent=pi_3P1qV8QSXWgDKCVa1oZUk5la" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1711965608, + "created": 1712237926, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P0heuQTjBVDfK8a0a5WwJKV", + "latest_charge": "ch_3P1qV8QSXWgDKCVa10ThDff2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P0heuQTjBVDfK8aBSEO0abL", + "payment_method": "pm_1P1qV8QSXWgDKCVaeUYthEgj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -854,10 +856,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 01 Apr 2024 10:00:11 GMT + recorded_at: Thu, 04 Apr 2024 13:38:53 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3P0heuQTjBVDfK8a0a5WwJKV/refunds + uri: https://api.stripe.com/v1/charges/ch_3P1qV8QSXWgDKCVa10ThDff2/refunds body: encoding: UTF-8 string: amount=2600&expand[0]=charge @@ -875,7 +877,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P0herQTjBVDfK8a + - acct_1P1qV5QSXWgDKCVa Connection: - close Accept-Encoding: @@ -890,11 +892,11 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:00:13 GMT + - Thu, 04 Apr 2024 13:38:55 GMT Content-Type: - application/json Content-Length: - - '4536' + - '4535' Connection: - close Access-Control-Allow-Credentials: @@ -918,17 +920,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4442c923-f666-4f9e-b74c-8d6993bd0347 + - 796d0e40-6ab4-41ff-8734-26246608488d Original-Request: - - req_NxYfZfAEt2L2Rx + - req_DP21prd2Ns8zHw Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NxYfZfAEt2L2Rx + - req_DP21prd2Ns8zHw Stripe-Account: - - acct_1P0herQTjBVDfK8a + - acct_1P1qV5QSXWgDKCVa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -943,12 +945,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3P0heuQTjBVDfK8a00UpmaQ6", + "id": "re_3P1qV8QSXWgDKCVa1ps5eQft", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3P0heuQTjBVDfK8a0TBrCthB", + "balance_transaction": "txn_3P1qV8QSXWgDKCVa1wK8RobT", "charge": { - "id": "ch_3P0heuQTjBVDfK8a0a5WwJKV", + "id": "ch_3P1qV8QSXWgDKCVa10ThDff2", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -956,7 +958,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P0heuQTjBVDfK8a0x7dKX45", + "balance_transaction": "txn_3P1qV8QSXWgDKCVa1vBAR7E0", "billing_details": { "address": { "city": null, @@ -972,7 +974,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1711965608, + "created": 1712237926, "currency": "aud", "customer": null, "description": null, @@ -992,13 +994,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 10, + "risk_score": 8, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P0heuQTjBVDfK8a0gBRJEL6", - "payment_method": "pm_1P0heuQTjBVDfK8aBSEO0abL", + "payment_intent": "pi_3P1qV8QSXWgDKCVa1oZUk5la", + "payment_method": "pm_1P1qV8QSXWgDKCVaeUYthEgj", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -1041,18 +1043,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDBoZXJRVGpCVkRmSzhhKK2LqrAGMgZFrKZLsbw6LBaxLtTKUnb--xZneOjdSBMJDQz_yksC-OUOmpLLerbi0qPjd6jy3jizBg0t", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDFxVjVRU1hXZ0RLQ1ZhKO7aurAGMgZxiUWSjX06LBaPUgPj0EBFq1eOWFvHXgi8y4yAwkl7PLtM2XA53YBPSjxwiSw27KZd3Qt2", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3P0heuQTjBVDfK8a00UpmaQ6", + "id": "re_3P1qV8QSXWgDKCVa1ps5eQft", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3P0heuQTjBVDfK8a0TBrCthB", - "charge": "ch_3P0heuQTjBVDfK8a0a5WwJKV", - "created": 1711965612, + "balance_transaction": "txn_3P1qV8QSXWgDKCVa1wK8RobT", + "charge": "ch_3P1qV8QSXWgDKCVa10ThDff2", + "created": 1712237934, "currency": "aud", "destination_details": { "card": { @@ -1063,7 +1065,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P0heuQTjBVDfK8a0gBRJEL6", + "payment_intent": "pi_3P1qV8QSXWgDKCVa1oZUk5la", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1073,7 +1075,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3P0heuQTjBVDfK8a0a5WwJKV/refunds" + "url": "/v1/charges/ch_3P1qV8QSXWgDKCVa10ThDff2/refunds" }, "review": null, "shipping": null, @@ -1085,7 +1087,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1711965612, + "created": 1712237934, "currency": "aud", "destination_details": { "card": { @@ -1096,29 +1098,29 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P0heuQTjBVDfK8a0gBRJEL6", + "payment_intent": "pi_3P1qV8QSXWgDKCVa1oZUk5la", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Mon, 01 Apr 2024 10:00:12 GMT + recorded_at: Thu, 04 Apr 2024 13:38:55 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P0herQTjBVDfK8a + uri: https://api.stripe.com/v1/accounts/acct_1P1qV5QSXWgDKCVa body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.13.0 + - Stripe/v1 RubyBindings/10.14.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gKh9rEHg5FbISS","request_duration_ms":1524}}' + - '{"last_request_metrics":{"request_id":"req_goLlCxJFfXiruB","request_duration_ms":1423}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -1135,7 +1137,7 @@ http_interactions: Server: - nginx Date: - - Mon, 01 Apr 2024 10:00:13 GMT + - Thu, 04 Apr 2024 13:38:55 GMT Content-Type: - application/json Content-Length: @@ -1166,9 +1168,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_E52hF9rOGNiT8Q + - req_75j3QEgKmmqdN4 Stripe-Account: - - acct_1P0herQTjBVDfK8a + - acct_1P1qV5QSXWgDKCVa Stripe-Version: - '2023-10-16' Vary: @@ -1181,9 +1183,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P0herQTjBVDfK8a", + "id": "acct_1P1qV5QSXWgDKCVa", "object": "account", "deleted": true } - recorded_at: Mon, 01 Apr 2024 10:00:13 GMT + recorded_at: Thu, 04 Apr 2024 13:38:55 GMT recorded_with: VCR 6.2.0 From 4e7fed9c4b07b3066fde1a9610df5ad0ac1d5c6c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 09:50:40 +0000 Subject: [PATCH 255/374] chore(deps): bump datafoodconsortium-connector Bumps [datafoodconsortium-connector](https://github.com/datafoodconsortium/connector-ruby) from 1.0.0.pre.alpha.10 to 1.0.0.pre.alpha.11. - [Release notes](https://github.com/datafoodconsortium/connector-ruby/releases) - [Changelog](https://github.com/datafoodconsortium/connector-ruby/blob/main/CHANGELOG.md) - [Commits](https://github.com/datafoodconsortium/connector-ruby/compare/v1.0.0-alpha.10...v1.0.0-alpha.11) --- updated-dependencies: - dependency-name: datafoodconsortium-connector dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 21f2358444..a527beda72 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -238,7 +238,7 @@ GEM activerecord (>= 5.a) database_cleaner-core (~> 2.0.0) database_cleaner-core (2.0.1) - datafoodconsortium-connector (1.0.0.pre.alpha.10) + datafoodconsortium-connector (1.0.0.pre.alpha.11) virtual_assembly-semantizer (~> 1.0, >= 1.0.5) date (3.3.4) debug (1.9.2) From 965ca5ca92429b4e88901d1f2b1c15dd26893089 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 5 Apr 2024 10:09:00 +1100 Subject: [PATCH 256/374] Update DFC API docs --- swagger/dfc.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/swagger/dfc.yaml b/swagger/dfc.yaml index 02fe096be6..a96c33c2e7 100644 --- a/swagger/dfc.yaml +++ b/swagger/dfc.yaml @@ -64,6 +64,8 @@ paths: dfc-b:hasPostalCode: '20170' dfc-b:hasCity: Herndon dfc-b:hasCountry: Australia + dfc-b:latitude: 0.0 + dfc-b:longitude: 0.0 dfc-b:region: Victoria '404': description: not found @@ -92,10 +94,12 @@ paths: "@graph": - "@id": http://test.host/api/dfc/persons/12345 "@type": dfc-b:Person + dfc-b:logo: '' dfc-b:affiliates: http://test.host/api/dfc/enterprises/10000 - "@id": http://test.host/api/dfc/enterprises/10000 "@type": dfc-b:Enterprise dfc-b:hasAddress: http://test.host/api/dfc/addresses/40000 + dfc-b:logo: '' dfc-b:name: Fred's Farm dfc-b:hasDescription: Beautiful dfc-b:manages: http://test.host/api/dfc/enterprises/10000/catalog_items/10001 @@ -111,7 +115,6 @@ paths: "@type": dfc-b:SuppliedProduct dfc-b:name: Apple - 1g dfc-b:description: Red - dfc-b:hasType: dfc-pt:non-local-vegetable dfc-b:hasQuantity: "@type": dfc-b:QuantitativeValue dfc-b:hasUnit: dfc-m:Gram @@ -300,9 +303,11 @@ paths: "@graph": - "@id": http://test.host/api/dfc/persons/12345 "@type": dfc-b:Person + dfc-b:logo: '' dfc-b:affiliates: http://test.host/api/dfc/enterprise_groups/60000 - "@id": http://test.host/api/dfc/enterprise_groups/60000 "@type": dfc-b:Enterprise + dfc-b:logo: '' dfc-b:name: Sustainable Farmers dfc-b:hasDescription: this is a group dfc-b:VATnumber: '' @@ -331,6 +336,7 @@ paths: - "@id": http://test.host/api/dfc/enterprise_groups/60000 "@type": dfc-b:Enterprise dfc-b:hasAddress: http://test.host/api/dfc/addresses/40000 + dfc-b:logo: '' dfc-b:name: Sustainable Farmers dfc-b:hasDescription: this is a group dfc-b:VATnumber: '' @@ -341,6 +347,8 @@ paths: dfc-b:hasPostalCode: '20170' dfc-b:hasCity: Herndon dfc-b:hasCountry: Australia + dfc-b:latitude: 0.0 + dfc-b:longitude: 0.0 dfc-b:region: Victoria "/api/dfc/enterprises/{id}": get: @@ -370,6 +378,7 @@ paths: dfc-b:email: hello@example.org dfc-b:websitePage: openfoodnetwork.org dfc-b:hasSocialMedia: http://test.host/api/dfc/enterprises/10000/social_medias/facebook + dfc-b:logo: '' dfc-b:name: Fred's Farm dfc-b:hasDescription: This is an awesome enterprise dfc-b:VATnumber: 123 456 @@ -386,12 +395,13 @@ paths: dfc-b:hasPostalCode: '20170' dfc-b:hasCity: Herndon dfc-b:hasCountry: Australia + dfc-b:latitude: 0.0 + dfc-b:longitude: 0.0 dfc-b:region: Victoria - "@id": http://test.host/api/dfc/enterprises/10000/supplied_products/10001 "@type": dfc-b:SuppliedProduct dfc-b:name: Apple - 1g dfc-b:description: Round - dfc-b:hasType: dfc-pt:non-local-vegetable dfc-b:hasQuantity: "@type": dfc-b:QuantitativeValue dfc-b:hasUnit: dfc-m:Gram @@ -484,6 +494,7 @@ paths: "@context": https://www.datafoodconsortium.org "@id": http://test.host/api/dfc/persons/10000 "@type": dfc-b:Person + dfc-b:logo: '' '404': description: not found "/api/dfc/enterprises/{enterprise_id}/social_medias/{name}": From e00156a8d4a2445181ceee4bb74db55b79e36aa0 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 5 Apr 2024 14:57:13 +1100 Subject: [PATCH 257/374] Make URL to connect app translatable Instance managers can now change the URL in Transifex to use their own API endpoint. --- app/jobs/connect_app_job.rb | 2 +- config/locales/en.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/jobs/connect_app_job.rb b/app/jobs/connect_app_job.rb index 9ecfad4cd7..43d273f155 100644 --- a/app/jobs/connect_app_job.rb +++ b/app/jobs/connect_app_job.rb @@ -4,7 +4,7 @@ class ConnectAppJob < ApplicationJob include CableReady::Broadcaster def perform(app, token, channel: nil) - url = "https://n8n.openfoodnetwork.org.uk/webhook/regen/connect-enterprise" + url = I18n.t("connect_app.url") event = "connect-app" enterprise = app.enterprise payload = { diff --git a/config/locales/en.yml b/config/locales/en.yml index efb8d01f37..61694bb87c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -265,6 +265,8 @@ en: community_forum_url: "Community forum URL" customer_instructions: "Customer instructions" additional_information: "Additional Information" + connect_app: + url: "https://n8n.openfoodnetwork.org.uk/webhook/regen/connect-enterprise" devise: passwords: spree_user: From 91803953fec7d4acfa64433394a2be606576faf4 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 5 Apr 2024 15:35:03 +1100 Subject: [PATCH 258/374] Point connect app URL to new n8n server --- config/locales/en.yml | 2 +- .../stores_connection_data_on_the_app.yml | 36 +++++++------------ .../can_be_enabled_and_disabled.yml | 2 +- spec/jobs/connect_app_job_spec.rb | 2 +- 4 files changed, 16 insertions(+), 26 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 61694bb87c..17adb4de41 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -266,7 +266,7 @@ en: customer_instructions: "Customer instructions" additional_information: "Additional Information" connect_app: - url: "https://n8n.openfoodnetwork.org.uk/webhook/regen/connect-enterprise" + url: "https://n8n.openfoodnetwork.org/webhook/regen/connect-enterprise" devise: passwords: spree_user: diff --git a/spec/fixtures/vcr_cassettes/ConnectAppJob/stores_connection_data_on_the_app.yml b/spec/fixtures/vcr_cassettes/ConnectAppJob/stores_connection_data_on_the_app.yml index 42a832a80b..8c4981bae7 100644 --- a/spec/fixtures/vcr_cassettes/ConnectAppJob/stores_connection_data_on_the_app.yml +++ b/spec/fixtures/vcr_cassettes/ConnectAppJob/stores_connection_data_on_the_app.yml @@ -2,11 +2,11 @@ http_interactions: - request: method: post - uri: https://n8n.openfoodnetwork.org.uk/webhook/regen/connect-enterprise + uri: https://n8n.openfoodnetwork.org/webhook/regen/connect-enterprise body: encoding: UTF-8 - string: '{"id":"27bc9d0a-d95c-4a36-9b16-01fdd8a82b51","at":"2023-12-21 14:54:28 - +1100","event":"connect-app","data":{"@id":"http://test.host/api/dfc/enterprises/3","access_token":"12345"}}' + string: '{"id":"c9f0e82a-f200-4c1a-9aa2-3a3a63c7acba","at":"2024-04-05 15:30:57 + +1100","event":"connect-app","data":{"@id":"http://test.host/api/dfc/enterprises/3","access_token":""}}' headers: User-Agent: - openfoodnetwork_webhook/1.0 @@ -21,34 +21,24 @@ http_interactions: code: 200 message: OK headers: - Server: - - nginx - Date: - - Thu, 21 Dec 2023 03:54:33 GMT - Content-Type: - - application/json; charset=utf-8 Content-Length: - '141' - Connection: - - keep-alive + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 05 Apr 2024 04:30:58 GMT Etag: - W/"8d-Lz10bce6zwT2C429xIkj52OBWyk" + Strict-Transport-Security: + - max-age=315360000; includeSubDomains; preload Vary: - Accept-Encoding - Strict-Transport-Security: - - max-age=63072000 - X-Xss-Protection: - - 1; mode=block - X-Download-Options: - - noopen X-Content-Type-Options: - nosniff - X-Permitted-Cross-Domain-Policies: - - none - Referrer-Policy: - - same-origin + X-Xss-Protection: + - 1; mode=block body: encoding: UTF-8 - string: '{"link":"https://example.net/update","destroy":"https://n8n.openfoodnetwork.org.uk/webhook/remove-enterprise?id=recjBXXXXXXXXXXXX&key=12345"}' - recorded_at: Thu, 21 Dec 2023 03:54:33 GMT + string: '{"link":"https://example.net/update","destroy":"https://n8n.openfoodnetwork.org.uk/webhook/remove-enterprise?id=recjBXXXXXXXXXXXX&key="}' + recorded_at: Fri, 05 Apr 2024 04:30:58 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Connected_Apps/can_be_enabled_and_disabled.yml b/spec/fixtures/vcr_cassettes/Connected_Apps/can_be_enabled_and_disabled.yml index b968963b7b..c38e0d8fd4 100644 --- a/spec/fixtures/vcr_cassettes/Connected_Apps/can_be_enabled_and_disabled.yml +++ b/spec/fixtures/vcr_cassettes/Connected_Apps/can_be_enabled_and_disabled.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://n8n.openfoodnetwork.org.uk/webhook/regen/connect-enterprise + uri: https://n8n.openfoodnetwork.org/webhook/regen/connect-enterprise body: encoding: UTF-8 string: '{"id":"4da377c8-0c8f-4aaa-8f85-f2a218a13d6e","at":"2023-12-14 12:52:53 diff --git a/spec/jobs/connect_app_job_spec.rb b/spec/jobs/connect_app_job_spec.rb index 8491a0004d..0dd232d14f 100644 --- a/spec/jobs/connect_app_job_spec.rb +++ b/spec/jobs/connect_app_job_spec.rb @@ -8,7 +8,7 @@ RSpec.describe ConnectAppJob, type: :job do let(:app) { ConnectedApp.new(enterprise: ) } let(:enterprise) { build(:enterprise, id: 3, owner: user) } let(:user) { build(:user, spree_api_key: "12345") } - let(:url) { "https://n8n.openfoodnetwork.org.uk/webhook/regen/connect-enterprise" } + let(:url) { "https://n8n.openfoodnetwork.org/webhook/regen/connect-enterprise" } it "sends a semantic id and access token" do stub_request(:post, url).to_return(body: '{}') From 2877c793f8399c372077a1373cead60a780392f2 Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Fri, 5 Apr 2024 10:07:06 +0200 Subject: [PATCH 259/374] Attempt to get rid of flaky spec #10027 --- .../complex_editing_multiple_product_pages_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/admin/order_cycles/complex_editing_multiple_product_pages_spec.rb b/spec/system/admin/order_cycles/complex_editing_multiple_product_pages_spec.rb index 2284bee556..122085e583 100644 --- a/spec/system/admin/order_cycles/complex_editing_multiple_product_pages_spec.rb +++ b/spec/system/admin/order_cycles/complex_editing_multiple_product_pages_spec.rb @@ -36,9 +36,9 @@ describe ' end it "select all products" do - # replace with scroll_to method when upgrading to Capybara >= 3.13.0 checkbox_id = "order_cycle_incoming_exchange_0_select_all_variants" - page.execute_script("document.getElementById('#{checkbox_id}').scrollIntoView()") + elmnt = find_field(id: checkbox_id) + scroll_to(elmnt, align: :top) check checkbox_id expect_all_products_loaded From 644f0aaf75aa2fafe949d9c70ecae7bc97b5d121 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Apr 2024 09:26:46 +0000 Subject: [PATCH 260/374] chore(deps-dev): bump rubocop-rspec from 2.28.0 to 2.29.1 Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.28.0 to 2.29.1. - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.28.0...v2.29.1) --- updated-dependencies: - dependency-name: rubocop-rspec dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index b756462797..ae4e3a15b5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -670,7 +670,7 @@ GEM rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) - rubocop-rspec (2.28.0) + rubocop-rspec (2.29.1) rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) From f618ef1201881bafb026327d569640c0aefafaf6 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Fri, 5 Apr 2024 14:46:52 +0100 Subject: [PATCH 261/374] Adds regression spec for S2 bug #12340 --- spec/system/admin/orders_spec.rb | 47 +++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index 9bcda2b2ee..bc6ed4df7a 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -445,7 +445,7 @@ describe ' within "tr#order_#{order3.id}" do expect(page).to have_content "Note" find(".icon-warning-sign").hover - expect(page).to have_content /#{order3.special_instructions}/i + expect(page).to have_content(/#{order3.special_instructions}/i) end end end @@ -662,17 +662,58 @@ describe ' end end + shared_examples "prints invoices accordering to column ordering" do + it "bulk prints invoices in pdf format" do + page.find("span.icon-reorder", text: "ACTIONS").click + within ".ofn-drop-down .menu" do + expect { + page.find("span", text: "Print Invoices").click # Prints invoices in bulk + }.to enqueue_job(BulkInvoiceJob).exactly(:once) + end + + expect(page).to have_content "Compiling Invoices" + expect(page).to have_content "Please wait until the PDF is ready " \ + "before closing this modal." + + perform_enqueued_jobs(only: BulkInvoiceJob) + + expect(page).to have_content "Bulk Invoice created" + + within ".modal-content" do + expect(page).to have_link(class: "button", text: "VIEW FILE", + href: /invoices/) + + invoice_content = extract_pdf_content + + surnames = [order2.name.gsub(/.* /, ""), order3.name.gsub(/.* /, ""), + order4.name.gsub(/.* /, ""), order5.name.gsub(/.* /, "")].sort + expect( + invoice_content + ).to match(/#{surnames[0]}.*#{surnames[1]}.*#{surnames[2]}.*#{surnames[3]}/m) + end + end + end + context "ABN is not required" do before do allow(Spree::Config).to receive(:enterprise_number_required_on_invoices?) .and_return false end + it_behaves_like "can bulk print invoices from 2 orders" context "with legal invoices feature", feature: :invoices do it_behaves_like "can bulk print invoices from 2 orders" end - + context "ordering by customer name" do + before do + pending("#12340") + page.find('a', text: "NAME").click # orders alphabetically (asc) + sleep(1) # waits for column sorting + page.find('#selectAll').click + end + it_behaves_like "prints invoices accordering to column ordering" + end context "one of the two orders is not invoiceable" do before do order4.cancel! @@ -684,7 +725,6 @@ describe ' end end end - context "ABN is required" do before do allow(Spree::Config).to receive(:enterprise_number_required_on_invoices?) @@ -747,7 +787,6 @@ describe ' end end end - it "can bulk cancel 2 orders" do page.find("#listing_orders tbody tr:nth-child(1) input[name='bulk_ids[]']").click page.find("#listing_orders tbody tr:nth-child(2) input[name='bulk_ids[]']").click From f57d44ba2420dfb237c2f103848ed130c0ec3355 Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Fri, 5 Apr 2024 17:09:14 +0200 Subject: [PATCH 262/374] Fix Lint/DuplicateRequire issue - updates the todo list --- .rubocop_todo.yml | 6 ------ spec/lib/open_food_network/scope_variants_to_search_spec.rb | 1 - 2 files changed, 7 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 3a3a852f27..5709efec0e 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -28,12 +28,6 @@ Lint/DuplicateMethods: Exclude: - 'lib/discourse/single_sign_on.rb' -# Offense count: 1 -# This cop supports unsafe autocorrection (--autocorrect-all). -Lint/DuplicateRequire: - Exclude: - - 'spec/lib/open_food_network/scope_variants_to_search_spec.rb' - # Offense count: 16 # Configuration parameters: AllowComments, AllowEmptyLambdas. Lint/EmptyBlock: diff --git a/spec/lib/open_food_network/scope_variants_to_search_spec.rb b/spec/lib/open_food_network/scope_variants_to_search_spec.rb index 5c153f4162..e896fa8f60 100644 --- a/spec/lib/open_food_network/scope_variants_to_search_spec.rb +++ b/spec/lib/open_food_network/scope_variants_to_search_spec.rb @@ -2,7 +2,6 @@ require 'spec_helper' require 'open_food_network/scope_variants_for_search' -require 'spec_helper' describe OpenFoodNetwork::ScopeVariantsForSearch do let!(:p1) { create(:simple_product, name: 'Product 1') } From 870e2b447c67ad833c1119ed75a66ee1daecbe77 Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Fri, 5 Apr 2024 23:49:52 +0500 Subject: [PATCH 263/374] 12294 - add specs - display none if no tax category is selected - add a tax_category_column css selector for future related specs --- spec/system/admin/products_v3/products_spec.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index df24a79483..1756230ef1 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -485,6 +485,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(new_variant.price).to eq 10.25 expect(new_variant.unit_value).to eq 1000 expect(new_variant.on_hand).to eq 3 + expect(new_variant.tax_category_id).to be_nil within row_containing_name("Large box") do expect(page).to have_field "Name", with: "Large box" @@ -492,6 +493,9 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_field "Price", with: "10.25" expect(page).to have_content "1kg" expect(page).to have_button "On Hand", text: "3" + within tax_category_column do + expect(page).to have_content "None" + end end end @@ -962,4 +966,8 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do def expect_page_to_have_image(url) expect(page).to have_selector("img[src$='#{url}']") end + + def tax_category_column + @tax_category_column ||= 'td:nth-child(10)' + end end From 8ad4f885a04297818ae8f290b4d3bb7e21cec09f Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Sun, 7 Apr 2024 17:15:12 +0100 Subject: [PATCH 264/374] Adds shared example for descending name ordering --- spec/system/admin/orders_spec.rb | 35 ++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index bc6ed4df7a..2a70eef01c 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -685,8 +685,6 @@ describe ' invoice_content = extract_pdf_content - surnames = [order2.name.gsub(/.* /, ""), order3.name.gsub(/.* /, ""), - order4.name.gsub(/.* /, ""), order5.name.gsub(/.* /, "")].sort expect( invoice_content ).to match(/#{surnames[0]}.*#{surnames[1]}.*#{surnames[2]}.*#{surnames[3]}/m) @@ -706,13 +704,34 @@ describe ' it_behaves_like "can bulk print invoices from 2 orders" end context "ordering by customer name" do - before do - pending("#12340") - page.find('a', text: "NAME").click # orders alphabetically (asc) - sleep(1) # waits for column sorting - page.find('#selectAll').click + context "ascending" do + let!(:surnames) { + [order2.name.gsub(/.* /, ""), order3.name.gsub(/.* /, ""), + order4.name.gsub(/.* /, ""), order5.name.gsub(/.* /, "")].sort + } + before do + pending("#12340") + page.find('a', text: "NAME").click # orders alphabetically (asc) + sleep(0.5) # waits for column sorting + page.find('#selectAll').click + end + it_behaves_like "prints invoices accordering to column ordering" + end + context "descending" do + let!(:surnames) { + [order2.name.gsub(/.* /, ""), order3.name.gsub(/.* /, ""), + order4.name.gsub(/.* /, ""), order5.name.gsub(/.* /, "")].sort.reverse + } + before do + pending("#12340") + page.find('a', text: "NAME").click # orders alphabetically (asc) + sleep(0.5) # waits for column sorting + page.find('a', text: "NAME").click # orders alphabetically (desc) + sleep(0.5) # waits for column sorting + page.find('#selectAll').click + end + it_behaves_like "prints invoices accordering to column ordering" end - it_behaves_like "prints invoices accordering to column ordering" end context "one of the two orders is not invoiceable" do before do From 2772dd2e78e747d58adc7a2617b7d4af3d38856a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 09:07:38 +0000 Subject: [PATCH 265/374] chore(deps-dev): bump rubocop from 1.62.1 to 1.63.0 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.62.1 to 1.63.0. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.62.1...v1.63.0) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index ae4e3a15b5..263a84cc20 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -648,7 +648,7 @@ GEM rswag-ui (2.13.0) actionpack (>= 3.1, < 7.2) railties (>= 3.1, < 7.2) - rubocop (1.62.1) + rubocop (1.63.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) From 5415fa2db85ca30758c24c9eea940a52a262646f Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Tue, 26 Mar 2024 10:45:38 +0000 Subject: [PATCH 266/374] Fix offense constant definition in block in import_product_images_rake.rb Add a test to import product images rake --- .rubocop_todo.yml | 1 - lib/tasks/import_product_images.rake | 6 +- .../tasks/import_product_images_rake_spec.rb | 84 +++++++++++++++++++ 3 files changed, 87 insertions(+), 4 deletions(-) create mode 100644 spec/lib/tasks/import_product_images_rake_spec.rb diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 5709efec0e..62292766ca 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -11,7 +11,6 @@ # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - - 'lib/tasks/import_product_images.rake' - 'lib/tasks/users.rake' - 'spec/controllers/spree/admin/base_controller_spec.rb' - 'spec/helpers/serializer_helper_spec.rb' diff --git a/lib/tasks/import_product_images.rake b/lib/tasks/import_product_images.rake index e82d1e55d1..6b1ab14741 100644 --- a/lib/tasks/import_product_images.rake +++ b/lib/tasks/import_product_images.rake @@ -4,15 +4,15 @@ namespace :ofn do namespace :import do desc "Importing images for products from CSV" task :product_images, [:filename] => [:environment] do |_task, args| - COLUMNS = [:producer, :name, :image_url].freeze - puts "Warning: use only with trusted URLs. This script will download whatever it can, " \ "including local secrets, and expose the file as an image file." raise "Filename required" if args[:filename].blank? + columns = %i[producer name image_url].freeze + csv = CSV.read(args[:filename], headers: true, header_converters: :symbol) - raise "CSV columns reqired: #{COLUMNS.map(&:to_s)}" if (COLUMNS - csv.headers).present? + raise "CSV columns reqired: #{columns.map(&:to_s)}" if (columns - csv.headers).present? csv.each.with_index do |entry, index| puts "#{index} #{entry[:producer]}, #{entry[:name]}" diff --git a/spec/lib/tasks/import_product_images_rake_spec.rb b/spec/lib/tasks/import_product_images_rake_spec.rb new file mode 100644 index 0000000000..bfb6dcd571 --- /dev/null +++ b/spec/lib/tasks/import_product_images_rake_spec.rb @@ -0,0 +1,84 @@ +# frozen_string_literal: true + +require 'spec_helper' +require 'rake' + +RSpec.describe 'ofn:import:product_images' do + before do + Rake.application.load_rakefile + Rake::Task.define_task(:environment) + Rake::Task['ofn:import:product_images'].reenable + end + + after do + Rake::Task['ofn:import:product_images'].clear + end + + describe 'task' do + context "filename is blank" do + it 'raises an error' do + expect { + Rake::Task['ofn:import:product_images'].invoke('') + }.to raise_error(RuntimeError, + 'Filename required') + end + end + + context "invalid CSV format" do + it 'raises an error if CSV columns are missing' do + allow(CSV).to receive(:read).and_return(CSV::Table.new([])) + Rake::Task['ofn:import:product_images'].reenable + + expect { + Rake::Task['ofn:import:product_images'].invoke('path/to/csv/file.csv') + }.to raise_error(RuntimeError, 'CSV columns reqired: ["producer", "name", "image_url"]') + end + end + + context "valid CSV" do + it 'imports images for each product in the CSV that exists and does not have images' do + filename = 'path/to/csv/file.csv' + + csv_data = [ + { producer: 'Producer 1', name: 'Product 1', image_url: 'http://example.com/image1.jpg' }, + { producer: 'Producer 2', name: 'Product 2', image_url: 'http://example.com/image2.jpg' }, + { producer: 'Producer 3', name: 'Product 3', image_url: 'http://example.com/image3.jpg' } + ] + + csv_rows = csv_data.map do |hash| + CSV::Row.new(hash.keys, hash.values) + end + + csv_table = CSV::Table.new(csv_rows) + + allow(CSV).to receive(:read).and_return(csv_table) + + allow(Enterprise).to receive(:find_by!).with(name: 'Producer 1').and_return(double) + allow(Enterprise).to receive(:find_by!).with(name: 'Producer 2').and_return(double) + allow(Enterprise).to receive(:find_by!).with(name: 'Producer 3').and_return(double) + + allow(Spree::Product).to receive(:where).and_return( + class_double('Spree::Product', first: nil), + class_double('Spree::Product', first: instance_double('Spree::Product', image: nil)), + class_double('Spree::Product', first: instance_double('Spree::Product', image: true)) + ) + + allow_any_instance_of(ImageImporter).to receive(:import).and_return(true) + + expected_output = <<~OUTPUT + Warning: use only with trusted URLs. This script will download whatever it can, including local secrets, and expose the file as an image file. + 0 Producer 1, Product 1 + product not found. + 1 Producer 2, Product 2 + image added. + 2 Producer 3, Product 3 + image exists, not updated. + OUTPUT + + expect { + Rake::Task['ofn:import:product_images'].invoke('path/to/csv/file.csv') + }.to output(expected_output).to_stdout + end + end + end +end From d726a0e3cb3f30660142352482e932a31e060d43 Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Tue, 26 Mar 2024 10:48:23 +0000 Subject: [PATCH 267/374] Fix offense constant definition in block in users.rake This rake has tests --- .rubocop_todo.yml | 1 - lib/tasks/users.rake | 21 +++------------------ spec/lib/tasks/users_rake_spec.rb | 12 ++++++------ 3 files changed, 9 insertions(+), 25 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 62292766ca..59cfe8eaba 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -11,7 +11,6 @@ # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - - 'lib/tasks/users.rake' - 'spec/controllers/spree/admin/base_controller_spec.rb' - 'spec/helpers/serializer_helper_spec.rb' - 'spec/lib/reports/line_items_spec.rb' diff --git a/lib/tasks/users.rake b/lib/tasks/users.rake index d1249cb9a0..fdf2c110f1 100644 --- a/lib/tasks/users.rake +++ b/lib/tasks/users.rake @@ -5,23 +5,8 @@ require 'csv' namespace :ofn do desc 'remove the limit of enterprises a user can create' task :remove_enterprise_limit, [:user_id] => :environment do |_task, args| - RemoveEnterpriseLimit.new(args.user_id).call - end - - class RemoveEnterpriseLimit - MAX_INTEGER = 2_147_483_647 - - def initialize(user_id) - @user_id = user_id - end - - def call - user = Spree::User.find(user_id) - user.update_attribute(:enterprise_limit, MAX_INTEGER) - end - - private - - attr_reader :user_id + max_integer = 2_147_483_647 + user = Spree::User.find(args.user_id) + user.update_attribute(:enterprise_limit, max_integer) end end diff --git a/spec/lib/tasks/users_rake_spec.rb b/spec/lib/tasks/users_rake_spec.rb index cfddfec7ae..5fdc6a0487 100644 --- a/spec/lib/tasks/users_rake_spec.rb +++ b/spec/lib/tasks/users_rake_spec.rb @@ -4,27 +4,27 @@ require 'spec_helper' require 'rake' describe 'users.rake' do - before(:all) do + before do Rake.application.rake_require 'tasks/users' Rake::Task.define_task(:environment) + Rake::Task['ofn:remove_enterprise_limit'].reenable end describe ':remove_enterprise_limit' do context 'when the user exists' do - it 'sets the enterprise_limit to the maximum integer' do - max_integer = 2_147_483_647 - user = create(:user) + let(:user) { create(:user) } + it 'sets the enterprise_limit to the maximum integer' do Rake.application.invoke_task "ofn:remove_enterprise_limit[#{user.id}]" - expect(user.reload.enterprise_limit).to eq(max_integer) + expect(user.reload.enterprise_limit).to eq(2_147_483_647) end end context 'when the user does not exist' do it 'raises' do expect { - RemoveEnterpriseLimit.new(-1).call + Rake.application.invoke_task "ofn:remove_enterprise_limit[123]" }.to raise_error(ActiveRecord::RecordNotFound) end end From f1309db0f09325036eaa6caa4371ea46ca38332a Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Tue, 26 Mar 2024 10:51:00 +0000 Subject: [PATCH 268/374] Fix offense constant definition in block in spree base_controller_spec.rb --- .rubocop_todo.yml | 1 - spec/controllers/spree/admin/base_controller_spec.rb | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 59cfe8eaba..07a98c79d6 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -11,7 +11,6 @@ # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - - 'spec/controllers/spree/admin/base_controller_spec.rb' - 'spec/helpers/serializer_helper_spec.rb' - 'spec/lib/reports/line_items_spec.rb' - 'spec/models/spree/ability_spec.rb' diff --git a/spec/controllers/spree/admin/base_controller_spec.rb b/spec/controllers/spree/admin/base_controller_spec.rb index 15d763aee0..21dbc71a4e 100644 --- a/spec/controllers/spree/admin/base_controller_spec.rb +++ b/spec/controllers/spree/admin/base_controller_spec.rb @@ -71,10 +71,9 @@ describe Spree::Admin::BaseController, type: :controller do describe "determining the name of the serializer to be used" do before do - class Api::Admin::AllowedPrefixBaseSerializer; end; - - class Api::Admin::BaseSerializer; end; allow(controller).to receive(:ams_prefix_whitelist) { [:allowed_prefix] } + stub_const('Api::Admin::AllowedPrefixBaseSerializer', Class) + stub_const('Api::Admin::BaseSerializer', Class) end context "when a prefix is passed in" do From cfca7816d53741b3a6875e23b46164761792af33 Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Tue, 26 Mar 2024 10:52:20 +0000 Subject: [PATCH 269/374] Fix offense constant definition in block in serializer_helper_spec.rb --- .rubocop_todo.yml | 1 - spec/helpers/serializer_helper_spec.rb | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 07a98c79d6..919cb02439 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -11,7 +11,6 @@ # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - - 'spec/helpers/serializer_helper_spec.rb' - 'spec/lib/reports/line_items_spec.rb' - 'spec/models/spree/ability_spec.rb' - 'spec/models/spree/gateway_spec.rb' diff --git a/spec/helpers/serializer_helper_spec.rb b/spec/helpers/serializer_helper_spec.rb index 16822b89a0..6ba9589abe 100644 --- a/spec/helpers/serializer_helper_spec.rb +++ b/spec/helpers/serializer_helper_spec.rb @@ -4,10 +4,9 @@ require 'spec_helper' describe SerializerHelper, type: :helper do let(:serializer) do - class ExampleEnterpriseSerializer < ActiveModel::Serializer + Class.new(ActiveModel::Serializer) do attributes :id, :name end - ExampleEnterpriseSerializer end describe "#required_attributes" do From 0726e4c1d0007bfb24d22e5e1fef97a76554266c Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Tue, 26 Mar 2024 10:54:16 +0000 Subject: [PATCH 270/374] Fix offense constant definition in block in reports/line_items_spec.rb --- .rubocop_todo.yml | 1 - spec/lib/reports/line_items_spec.rb | 52 +++++++++++++++-------------- 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 919cb02439..4a90dba13a 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -11,7 +11,6 @@ # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - - 'spec/lib/reports/line_items_spec.rb' - 'spec/models/spree/ability_spec.rb' - 'spec/models/spree/gateway_spec.rb' - 'spec/models/spree/preferences/configuration_spec.rb' diff --git a/spec/lib/reports/line_items_spec.rb b/spec/lib/reports/line_items_spec.rb index 0e266352c1..8e04eb714f 100644 --- a/spec/lib/reports/line_items_spec.rb +++ b/spec/lib/reports/line_items_spec.rb @@ -3,35 +3,37 @@ require 'spec_helper' describe Reporting::LineItems do - subject(:reports_line_items) { described_class.new(order_permissions, params) } - # This object lets us add some test coverage despite the very deep coupling between the class # under test and the various objects it depends on. Other more common moking strategies where very # hard. - class FakeOrderPermissions - def initialize(line_items, orders_relation) - @relations = Spree::LineItem.where(id: line_items.map(&:id)) - @orders_relation = orders_relation + let(:fake_order_permissions) do + Class.new do + def initialize(line_items, orders_relation) + @relations = Spree::LineItem.where(id: line_items.map(&:id)) + @orders_relation = orders_relation + end + + def visible_line_items + relations + end + + def editable_line_items + line_item = FactoryBot.create(:line_item) + Spree::LineItem.where(id: line_item.id) + end + + def visible_orders + orders_relation + end + + private + + attr_reader :relations, :orders_relation end - - def visible_line_items - relations - end - - def editable_line_items - line_item = FactoryBot.create(:line_item) - Spree::LineItem.where(id: line_item.id) - end - - def visible_orders - orders_relation - end - - private - - attr_reader :relations, :orders_relation end + subject(:reports_line_items) { described_class.new(order_permissions, params) } + describe '#list' do let!(:order) do create( @@ -44,7 +46,7 @@ describe Reporting::LineItems do let!(:line_item1) { create(:line_item, order:) } let(:orders_relation) { Spree::Order.where(id: order.id) } - let(:order_permissions) { FakeOrderPermissions.new([line_item1], orders_relation) } + let(:order_permissions) { fake_order_permissions.new([line_item1], orders_relation) } let(:params) { {} } it 'returns masked data' do @@ -58,7 +60,7 @@ describe Reporting::LineItems do let!(:line_item2) { create(:line_item, order:) } let!(:line_item3) { create(:line_item, order:) } let(:order_permissions) do - FakeOrderPermissions.new([line_item1, line_item2, line_item3], orders_relation) + fake_order_permissions.new([line_item1, line_item2, line_item3], orders_relation) end let(:params) { { variant_id_in: [line_item3.variant.id, line_item1.variant.id] } } From 3bd6c85f3b3b7ae6696a91b4f7f6f4abf99b87f6 Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Tue, 26 Mar 2024 10:56:21 +0000 Subject: [PATCH 271/374] Fix offense constant definition in block in models/spree/ability_spec.rb --- .rubocop_todo.yml | 1 - spec/models/spree/ability_spec.rb | 2 -- 2 files changed, 3 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 4a90dba13a..d64c4f4631 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -11,7 +11,6 @@ # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - - 'spec/models/spree/ability_spec.rb' - 'spec/models/spree/gateway_spec.rb' - 'spec/models/spree/preferences/configuration_spec.rb' - 'spec/models/spree/preferences/preferable_spec.rb' diff --git a/spec/models/spree/ability_spec.rb b/spec/models/spree/ability_spec.rb index 4d607aa8ae..b787e64a87 100644 --- a/spec/models/spree/ability_spec.rb +++ b/spec/models/spree/ability_spec.rb @@ -13,8 +13,6 @@ describe Spree::Ability do user.spree_roles.clear end - TOKEN = 'token123' - after(:each) { user.spree_roles = [] } From fc3d7f84960a025229a053f3f45d2e90899ccf96 Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Tue, 26 Mar 2024 10:57:32 +0000 Subject: [PATCH 272/374] Fix offense constant definition in block in models/spree/gateway_spec.rb --- .rubocop_todo.yml | 1 - spec/models/spree/gateway_spec.rb | 18 +++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index d64c4f4631..a906c62651 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -11,7 +11,6 @@ # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - - 'spec/models/spree/gateway_spec.rb' - 'spec/models/spree/preferences/configuration_spec.rb' - 'spec/models/spree/preferences/preferable_spec.rb' - 'spec/validators/date_time_string_validator_spec.rb' diff --git a/spec/models/spree/gateway_spec.rb b/spec/models/spree/gateway_spec.rb index 294073a559..9bf43378f4 100644 --- a/spec/models/spree/gateway_spec.rb +++ b/spec/models/spree/gateway_spec.rb @@ -3,20 +3,20 @@ require 'spec_helper' describe Spree::Gateway do - class Provider - def initialize(options); end + let(:test_gateway) do + Class.new(Spree::Gateway) do + def provider_class + Class.new do + def initialize(options = {}); end - def imaginary_method; end - end - - class TestGateway < Spree::Gateway - def provider_class - Provider + def imaginary_method; end + end + end end end it "passes through all arguments on a method_missing call" do - gateway = TestGateway.new + gateway = test_gateway.new expect(gateway.provider).to receive(:imaginary_method).with('foo') gateway.imaginary_method('foo') end From b18fe8ce35b1378f6c20a467ca51bbfa248aff12 Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Tue, 26 Mar 2024 10:59:35 +0000 Subject: [PATCH 273/374] Fix offense constant definition in block in models/spree/preferences/configuration_spec.rb --- .rubocop_todo.yml | 1 - .../spree/preferences/configuration_spec.rb | 19 +++++++++---------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a906c62651..de77e31cd8 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -11,7 +11,6 @@ # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - - 'spec/models/spree/preferences/configuration_spec.rb' - 'spec/models/spree/preferences/preferable_spec.rb' - 'spec/validators/date_time_string_validator_spec.rb' - 'spec/validators/integer_array_validator_spec.rb' diff --git a/spec/models/spree/preferences/configuration_spec.rb b/spec/models/spree/preferences/configuration_spec.rb index 32883d3fb6..fc4b51a709 100644 --- a/spec/models/spree/preferences/configuration_spec.rb +++ b/spec/models/spree/preferences/configuration_spec.rb @@ -3,25 +3,24 @@ require 'spec_helper' describe Spree::Preferences::Configuration do - before :all do - class AppConfig < Spree::Preferences::Configuration + let(:config) do + Class.new(Spree::Preferences::Configuration) do preference :color, :string, default: :blue - end - @config = AppConfig.new + end.new end it "has named methods to access preferences" do - @config.color = 'orange' - expect(@config.color).to eq 'orange' + config.color = 'orange' + expect(config.color).to eq 'orange' end it "uses [ ] to access preferences" do - @config[:color] = 'red' - expect(@config[:color]).to eq 'red' + config[:color] = 'red' + expect(config[:color]).to eq 'red' end it "uses set/get to access preferences" do - @config.set :color, 'green' - expect(@config.get(:color)).to eq 'green' + config.set :color, 'green' + expect(config.get(:color)).to eq 'green' end end From 939605cb7aff375b197237bf44bdca552da0743d Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Tue, 26 Mar 2024 11:04:59 +0000 Subject: [PATCH 274/374] Fix offense constant definition in block in models/spree/preferences/preferable_spec.rb --- .rubocop_todo.yml | 1 - .../spree/preferences/preferable_spec.rb | 262 +++++++++--------- 2 files changed, 132 insertions(+), 131 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index de77e31cd8..a1825eba7d 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -11,7 +11,6 @@ # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - - 'spec/models/spree/preferences/preferable_spec.rb' - 'spec/validators/date_time_string_validator_spec.rb' - 'spec/validators/integer_array_validator_spec.rb' diff --git a/spec/models/spree/preferences/preferable_spec.rb b/spec/models/spree/preferences/preferable_spec.rb index f350c1a891..4cf412c392 100644 --- a/spec/models/spree/preferences/preferable_spec.rb +++ b/spec/models/spree/preferences/preferable_spec.rb @@ -3,8 +3,8 @@ require 'spec_helper' describe Spree::Preferences::Preferable do - before :all do - class A + a_class = A = + Class.new do include Spree::Preferences::Preferable attr_reader :id @@ -15,16 +15,38 @@ describe Spree::Preferences::Preferable do preference :color, :string, default: 'green', description: "My Favorite Color" end - class B < A + b_class = B = + Class.new(a_class) do preference :flavor, :string end - end - before :each do - @a = A.new - allow(@a).to receive_messages(persisted?: true) - @b = B.new - allow(@b).to receive_messages(persisted?: true) + let(:a) { a_class.new } + let(:b) { b_class.new } + + create_pref_test = + Class.new(ActiveRecord::Migration[4.2]) do + def self.up + create_table :pref_tests do |t| + t.string :col + end + end + + def self.down + drop_table :pref_tests + end + end + + pref_test_class = + Class.new(ApplicationRecord) do + self.table_name = 'pref_tests' + + preference :pref_test_pref, :string, default: 'abc' + preference :pref_test_any, :any, default: [] + end + + before do + allow(a).to receive_messages(persisted?: true) + allow(b).to receive_messages(persisted?: true) # ensure we're persisting as that is the default # @@ -34,235 +56,213 @@ describe Spree::Preferences::Preferable do describe "preference definitions" do it "parent should not see child definitions" do - expect(@a.has_preference?(:color)).to be_truthy - expect(@a.has_preference?(:flavor)).not_to be_truthy + expect(a.has_preference?(:color)).to be_truthy + expect(a.has_preference?(:flavor)).not_to be_truthy end it "child should have parent and own definitions" do - expect(@b.has_preference?(:color)).to be_truthy - expect(@b.has_preference?(:flavor)).to be_truthy + expect(b.has_preference?(:color)).to be_truthy + expect(b.has_preference?(:flavor)).to be_truthy end it "instances have defaults" do - expect(@a.preferred_color).to eq 'green' - expect(@b.preferred_color).to eq 'green' - expect(@b.preferred_flavor).to be_nil + expect(a.preferred_color).to eq 'green' + expect(b.preferred_color).to eq 'green' + expect(b.preferred_flavor).to be_nil end it "can be asked if it has a preference definition" do - expect(@a.has_preference?(:color)).to be_truthy - expect(@a.has_preference?(:bad)).to be_falsy + expect(a.has_preference?(:color)).to be_truthy + expect(a.has_preference?(:bad)).to be_falsy end it "can be asked and raises" do expect { - @a.has_preference! :flavor + a.has_preference! :flavor }.to raise_error(NoMethodError, "flavor preference not defined") end it "has a type" do - expect(@a.preferred_color_type).to eq :string - expect(@a.preference_type(:color)).to eq :string + expect(a.preferred_color_type).to eq :string + expect(a.preference_type(:color)).to eq :string end it "has a default" do - expect(@a.preferred_color_default).to eq 'green' - expect(@a.preference_default(:color)).to eq 'green' + expect(a.preferred_color_default).to eq 'green' + expect(a.preference_default(:color)).to eq 'green' end it "has a description" do - expect(@a.preferred_color_description).to eq "My Favorite Color" - expect(@a.preference_description(:color)).to eq "My Favorite Color" + expect(a.preferred_color_description).to eq "My Favorite Color" + expect(a.preference_description(:color)).to eq "My Favorite Color" end it "raises if not defined" do expect { - @a.get_preference :flavor + a.get_preference :flavor }.to raise_error(NoMethodError, "flavor preference not defined") end end describe "preference access" do it "handles ghost methods for preferences" do - @a.preferred_color = 'blue' - expect(@a.preferred_color).to eq 'blue' + a.preferred_color = 'blue' + expect(a.preferred_color).to eq 'blue' - @a.prefers_color = 'green' - expect(@a.prefers_color?).to eq 'green' + a.prefers_color = 'green' + expect(a.prefers_color?).to eq 'green' end it "has genric readers" do - @a.preferred_color = 'red' - expect(@a.prefers?(:color)).to eq 'red' - expect(@a.preferred(:color)).to eq 'red' + a.preferred_color = 'red' + expect(a.prefers?(:color)).to eq 'red' + expect(a.preferred(:color)).to eq 'red' end it "parent and child instances have their own prefs" do - @a.preferred_color = 'red' - @b.preferred_color = 'blue' + a.preferred_color = 'red' + b.preferred_color = 'blue' - expect(@a.preferred_color).to eq 'red' - expect(@b.preferred_color).to eq 'blue' + expect(a.preferred_color).to eq 'red' + expect(b.preferred_color).to eq 'blue' end it "raises when preference not defined" do expect { - @a.set_preference(:bad, :bone) + a.set_preference(:bad, :bone) }.to raise_exception(NoMethodError, "bad preference not defined") end it "builds a hash of preferences" do - @b.preferred_flavor = :strawberry - expect(@b.preferences[:flavor]).to eq 'strawberry' - expect(@b.preferences[:color]).to eq 'green' # default from A + b.preferred_flavor = :strawberry + expect(b.preferences[:flavor]).to eq 'strawberry' + expect(b.preferences[:color]).to eq 'green' # default from A end context "database fallback" do before do - @a.instance_variable_set("@pending_preferences", {}) + a.instance_variable_set("@pending_preferences", {}) end it "retrieves a preference from the database before falling back to default" do preference = double(value: "chatreuse", key: 'a/color/123') expect(Spree::Preference).to receive(:find_by).and_return(preference) - expect(@a.preferred_color).to eq 'chatreuse' + expect(a.preferred_color).to eq 'chatreuse' end it "defaults if no database key exists" do expect(Spree::Preference).to receive(:find_by).and_return(nil) - expect(@a.preferred_color).to eq 'green' + expect(a.preferred_color).to eq 'green' end end context "converts integer preferences to integer values" do before do - A.preference :is_integer, :integer + a_class.preference :is_integer, :integer end it "with strings" do - @a.set_preference(:is_integer, '3') - expect(@a.preferences[:is_integer]).to eq 3 + a.set_preference(:is_integer, '3') + expect(a.preferences[:is_integer]).to eq 3 - @a.set_preference(:is_integer, '') - expect(@a.preferences[:is_integer]).to eq 0 + a.set_preference(:is_integer, '') + expect(a.preferences[:is_integer]).to eq 0 end end context "converts decimal preferences to BigDecimal values" do before do - A.preference :if_decimal, :decimal + a_class.preference :if_decimal, :decimal end it "returns a BigDecimal" do - @a.set_preference(:if_decimal, 3.3) - expect(@a.preferences[:if_decimal].class).to eq BigDecimal + a.set_preference(:if_decimal, 3.3) + expect(a.preferences[:if_decimal].class).to eq BigDecimal end it "with strings" do - @a.set_preference(:if_decimal, '3.3') - expect(@a.preferences[:if_decimal]).to eq 3.3 + a.set_preference(:if_decimal, '3.3') + expect(a.preferences[:if_decimal]).to eq 3.3 - @a.set_preference(:if_decimal, '') - expect(@a.preferences[:if_decimal]).to eq 0.0 + a.set_preference(:if_decimal, '') + expect(a.preferences[:if_decimal]).to eq 0.0 end context "when the value cannot be converted to BigDecimal" do it "returns the original value" do - @a.set_preference(:if_decimal, "invalid") - expect(@a.preferences[:if_decimal]).to eq "invalid" + a.set_preference(:if_decimal, "invalid") + expect(a.preferences[:if_decimal]).to eq "invalid" end end end context "converts boolean preferences to boolean values" do before do - A.preference :is_boolean, :boolean, default: true + a_class.preference :is_boolean, :boolean, default: true end it "with strings" do - @a.set_preference(:is_boolean, '0') - expect(@a.preferences[:is_boolean]).to be_falsy - @a.set_preference(:is_boolean, 'f') - expect(@a.preferences[:is_boolean]).to be_falsy - @a.set_preference(:is_boolean, 't') - expect(@a.preferences[:is_boolean]).to be_truthy + a.set_preference(:is_boolean, '0') + expect(a.preferences[:is_boolean]).to be_falsy + a.set_preference(:is_boolean, 'f') + expect(a.preferences[:is_boolean]).to be_falsy + a.set_preference(:is_boolean, 't') + expect(a.preferences[:is_boolean]).to be_truthy end it "with integers" do - @a.set_preference(:is_boolean, 0) - expect(@a.preferences[:is_boolean]).to be_falsy - @a.set_preference(:is_boolean, 1) - expect(@a.preferences[:is_boolean]).to be_truthy + a.set_preference(:is_boolean, 0) + expect(a.preferences[:is_boolean]).to be_falsy + a.set_preference(:is_boolean, 1) + expect(a.preferences[:is_boolean]).to be_truthy end it "with an empty string" do - @a.set_preference(:is_boolean, '') - expect(@a.preferences[:is_boolean]).to be_falsy + a.set_preference(:is_boolean, '') + expect(a.preferences[:is_boolean]).to be_falsy end it "with an empty hash" do - @a.set_preference(:is_boolean, []) - expect(@a.preferences[:is_boolean]).to be_falsy + a.set_preference(:is_boolean, []) + expect(a.preferences[:is_boolean]).to be_falsy end end context "converts any preferences to any values" do before do - A.preference :product_ids, :any, default: [] - A.preference :product_attributes, :any, default: {} + a_class.preference :product_ids, :any, default: [] + a_class.preference :product_attributes, :any, default: {} end it "with array" do - expect(@a.preferences[:product_ids]).to eq [] - @a.set_preference(:product_ids, [1, 2]) - expect(@a.preferences[:product_ids]).to eq [1, 2] + expect(a.preferences[:product_ids]).to eq [] + a.set_preference(:product_ids, [1, 2]) + expect(a.preferences[:product_ids]).to eq [1, 2] end it "with hash" do - expect(@a.preferences[:product_attributes]).to eq({}) - @a.set_preference(:product_attributes, { id: 1, name: 2 }) + expect(a.preferences[:product_attributes]).to eq({}) + a.set_preference(:product_attributes, { id: 1, name: 2 }) attributes_hash = { id: 1, name: 2 } - expect(@a.preferences[:product_attributes]).to eq attributes_hash + expect(a.preferences[:product_attributes]).to eq attributes_hash end end end describe "persisted preferables" do before(:all) do - class CreatePrefTest < ActiveRecord::Migration[4.2] - def self.up - create_table :pref_tests do |t| - t.string :col - end - end - - def self.down - drop_table :pref_tests - end - end - - @migration_verbosity = ActiveRecord::Migration.verbose ActiveRecord::Migration.verbose = false - CreatePrefTest.migrate(:up) - - class PrefTest < ApplicationRecord - preference :pref_test_pref, :string, default: 'abc' - preference :pref_test_any, :any, default: [] - end + create_pref_test.migrate(:up) end after(:all) do - CreatePrefTest.migrate(:down) - ActiveRecord::Migration.verbose = @migration_verbosity - end - - before(:each) do - @pt = PrefTest.create + create_pref_test.migrate(:down) + ActiveRecord::Migration.verbose = true end describe "pending preferences for new activerecord objects" do it "saves preferences after record is saved" do - pr = PrefTest.new + pr = pref_test_class.new pr.set_preference(:pref_test_pref, 'XXX') expect(pr.get_preference(:pref_test_pref)).to eq 'XXX' pr.save! @@ -270,7 +270,7 @@ describe Spree::Preferences::Preferable do end it "saves preferences for serialized object" do - pr = PrefTest.new + pr = pref_test_class.new pr.set_preference(:pref_test_any, [1, 2]) expect(pr.get_preference(:pref_test_any)).to eq [1, 2] pr.save! @@ -280,7 +280,7 @@ describe Spree::Preferences::Preferable do describe "requires a valid id" do it "for cache_key" do - pref_test = PrefTest.new + pref_test = pref_test_class.new expect(pref_test.preference_cache_key(:pref_test_pref)).to be_nil pref_test.save @@ -288,46 +288,48 @@ describe Spree::Preferences::Preferable do end it "but returns default values" do - pref_test = PrefTest.new + pref_test = pref_test_class.new expect(pref_test.get_preference(:pref_test_pref)).to eq 'abc' end it "adds prefs in a pending hash until after_create" do - pref_test = PrefTest.new + pref_test = pref_test_class.new expect(pref_test).to receive(:add_pending_preference).with(:pref_test_pref, 'XXX') pref_test.set_preference(:pref_test_pref, 'XXX') end end + let!(:pt) { pref_test_class.create } + it "clear preferences" do - @pt.set_preference(:pref_test_pref, 'xyz') - expect(@pt.preferred_pref_test_pref).to eq 'xyz' - @pt.clear_preferences - expect(@pt.preferred_pref_test_pref).to eq 'abc' + pt.set_preference(:pref_test_pref, 'xyz') + expect(pt.preferred_pref_test_pref).to eq 'xyz' + pt.clear_preferences + expect(pt.preferred_pref_test_pref).to eq 'abc' end it "clear preferences when record is deleted" do - @pt.save! - @pt.preferred_pref_test_pref = 'lmn' - @pt.save! - @pt.destroy - @pt1 = PrefTest.new(col: 'aaaa') - @pt1.id = @pt.id - @pt1.save! - expect(@pt1.get_preference(:pref_test_pref)).not_to eq 'lmn' - expect(@pt1.get_preference(:pref_test_pref)).to eq 'abc' + pt.save! + pt.preferred_pref_test_pref = 'lmn' + pt.save! + pt.destroy + pt1 = pref_test_class.new(col: 'aaaa') + pt1.id = pt.id + pt1.save! + expect(pt1.get_preference(:pref_test_pref)).not_to eq 'lmn' + expect(pt1.get_preference(:pref_test_pref)).to eq 'abc' end end it "builds cache keys" do - expect(@a.preference_cache_key(:color)).to match %r{a/color/\d+} + expect(a.preference_cache_key(:color)).to match %r{a/color/\d+} end it "can add and remove preferences" do - A.preference :test_temp, :boolean, default: true - expect(@a.preferred_test_temp).to be_truthy - A.remove_preference :test_temp - expect(@a.has_preference?(:test_temp)).to be_falsy - expect(@a.respond_to?(:preferred_test_temp)).to be_falsy + a_class.preference :test_temp, :boolean, default: true + expect(a.preferred_test_temp).to be_truthy + a_class.remove_preference :test_temp + expect(a.has_preference?(:test_temp)).to be_falsy + expect(a.respond_to?(:preferred_test_temp)).to be_falsy end end From 0aea14832abd13cd8612f0e904058a8a659573c8 Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Tue, 26 Mar 2024 11:06:47 +0000 Subject: [PATCH 275/374] Fix offense constant definition in block in validators/date_time_string_validator_spec.rb --- .rubocop_todo.yml | 1 - .../date_time_string_validator_spec.rb | 17 ++++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a1825eba7d..e1e44cee6f 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -11,7 +11,6 @@ # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - - 'spec/validators/date_time_string_validator_spec.rb' - 'spec/validators/integer_array_validator_spec.rb' # Offense count: 2 diff --git a/spec/validators/date_time_string_validator_spec.rb b/spec/validators/date_time_string_validator_spec.rb index 5476b0f6a0..a4b5d7a468 100644 --- a/spec/validators/date_time_string_validator_spec.rb +++ b/spec/validators/date_time_string_validator_spec.rb @@ -3,14 +3,6 @@ require "spec_helper" describe DateTimeStringValidator do - class TestModel - include ActiveModel::Validations - - attr_accessor :timestamp - - validates :timestamp, date_time_string: true - end - describe "internationalization" do it "has translation for NOT_STRING_ERROR" do expect(described_class.not_string_error).not_to be_blank @@ -22,7 +14,14 @@ describe DateTimeStringValidator do end describe "validation" do - let(:instance) { TestModel.new } + let(:instance) do + Class.new do + include ActiveModel::Validations + attr_accessor :timestamp + + validates :timestamp, date_time_string: true + end.new + end it "does not add error when nil" do instance.timestamp = nil From 061ff9178611f111adaa56db973b6d2c98806fdc Mon Sep 17 00:00:00 2001 From: Ana Nunes da Silva Date: Tue, 26 Mar 2024 11:08:53 +0000 Subject: [PATCH 276/374] Fix offense constant definition in block in validators/integer_array_validator_spec.rb --- .rubocop_todo.yml | 7 ------- spec/validators/integer_array_validator_spec.rb | 17 ++++++++--------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e1e44cee6f..bc831cf76c 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,13 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 16 -# Configuration parameters: AllowedMethods. -# AllowedMethods: enums -Lint/ConstantDefinitionInBlock: - Exclude: - - 'spec/validators/integer_array_validator_spec.rb' - # Offense count: 2 Lint/DuplicateMethods: Exclude: diff --git a/spec/validators/integer_array_validator_spec.rb b/spec/validators/integer_array_validator_spec.rb index 0fbb08fd20..0643d02806 100644 --- a/spec/validators/integer_array_validator_spec.rb +++ b/spec/validators/integer_array_validator_spec.rb @@ -3,14 +3,6 @@ require "spec_helper" describe IntegerArrayValidator do - class TestModel - include ActiveModel::Validations - - attr_accessor :ids - - validates :ids, integer_array: true - end - describe "internationalization" do it "has translation for NOT_ARRAY_ERROR" do expect(described_class.not_array_error).not_to be_blank @@ -22,7 +14,14 @@ describe IntegerArrayValidator do end describe "validation" do - let(:instance) { TestModel.new } + let(:instance) do + Class.new do + include ActiveModel::Validations + attr_accessor :ids + + validates :ids, integer_array: true + end.new + end it "does not add error when nil" do instance.ids = nil From 1509066b85a1059bd68e9afbf7d3726e304f06ea Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Tue, 9 Apr 2024 10:29:30 +1000 Subject: [PATCH 277/374] Apply new cop Style/MapIntoArray fix --- lib/reporting/report_rows_builder.rb | 6 ++---- spec/controllers/api/v0/reports/packing_report_spec.rb | 8 ++------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/lib/reporting/report_rows_builder.rb b/lib/reporting/report_rows_builder.rb index f8b09488b0..4da6c969c3 100644 --- a/lib/reporting/report_rows_builder.rb +++ b/lib/reporting/report_rows_builder.rb @@ -78,12 +78,11 @@ module Reporting end def group_and_sort(rule, remaining_rules, datas) - result = [] groups = group_data_with_rule(datas, rule) sorted_groups = sort_groups_with_rule(groups, rule) - sorted_groups.each do |group_value, group_datas| - result << { + sorted_groups.map do |group_value, group_datas| + { is_group: true, header: @builder.build_header(rule, group_value, group_datas), header_class: rule[:header_class], @@ -92,7 +91,6 @@ module Reporting data: build_tree(group_datas, remaining_rules) } end - result end def group_data_with_rule(datas, rule) diff --git a/spec/controllers/api/v0/reports/packing_report_spec.rb b/spec/controllers/api/v0/reports/packing_report_spec.rb index 4cee3984f4..a88a26c7d0 100644 --- a/spec/controllers/api/v0/reports/packing_report_spec.rb +++ b/spec/controllers/api/v0/reports/packing_report_spec.rb @@ -53,13 +53,9 @@ describe Api::V0::ReportsController, type: :controller do private def report_output(order, user_type) - results = [] - - order.line_items.each do |line_item| - results << __send__("#{user_type}_report_row", line_item) + results = order.line_items.map do |line_item| + __send__("#{user_type}_report_row", line_item) end - - results end def distributor_report_row(line_item) From 103c6e7fc06f0e8c4a2e87395a2bdb5f2aa934e4 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Tue, 9 Apr 2024 10:30:46 +1000 Subject: [PATCH 278/374] Remove debugging line --- spec/system/admin/order_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/system/admin/order_spec.rb b/spec/system/admin/order_spec.rb index 6462c3cda7..c5fb4bce13 100644 --- a/spec/system/admin/order_spec.rb +++ b/spec/system/admin/order_spec.rb @@ -952,7 +952,6 @@ describe ' }.not_to enqueue_job(ActionMailer::MailDeliveryJob) end - save_screenshot('~/hello.png') expect(order.reload.shipped?).to be true expect(page).to have_text 'SHIPPED' end From c0010319af3678685f6b4ffe50430164830e59a2 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 9 Apr 2024 12:04:42 +1000 Subject: [PATCH 279/374] Avoid duplicate loading of task in spec The new product image import spec was loading rake tasks multiple times. That make the spec for enterprise deletion fail when executed afterwards because the deletion task was executed twice and failed the second time. --- spec/lib/tasks/enterprises_rake_spec.rb | 8 +++++--- .../lib/tasks/import_product_images_rake_spec.rb | 16 +++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/spec/lib/tasks/enterprises_rake_spec.rb b/spec/lib/tasks/enterprises_rake_spec.rb index 5e3b02873e..dfcb91cebd 100644 --- a/spec/lib/tasks/enterprises_rake_spec.rb +++ b/spec/lib/tasks/enterprises_rake_spec.rb @@ -4,14 +4,16 @@ require 'spec_helper' require 'rake' describe 'enterprises.rake' do + before(:all) do + Rake.application.rake_require("tasks/enterprises") + Rake::Task.define_task(:environment) + end + describe ':remove_enterprise' do context 'when the enterprises exists' do it 'removes the enterprise' do enterprise = create(:enterprise) - Rake.application.rake_require 'tasks/enterprises' - Rake::Task.define_task(:environment) - expect { Rake.application.invoke_task "ofn:remove_enterprise[#{enterprise.id}]" }.to change { Enterprise.count }.by(-1) diff --git a/spec/lib/tasks/import_product_images_rake_spec.rb b/spec/lib/tasks/import_product_images_rake_spec.rb index bfb6dcd571..7a6451b0f2 100644 --- a/spec/lib/tasks/import_product_images_rake_spec.rb +++ b/spec/lib/tasks/import_product_images_rake_spec.rb @@ -4,21 +4,20 @@ require 'spec_helper' require 'rake' RSpec.describe 'ofn:import:product_images' do - before do - Rake.application.load_rakefile + before(:all) do + Rake.application.rake_require("tasks/import_product_images") Rake::Task.define_task(:environment) - Rake::Task['ofn:import:product_images'].reenable end - after do - Rake::Task['ofn:import:product_images'].clear + before do + Rake::Task['ofn:import:product_images'].reenable end describe 'task' do context "filename is blank" do it 'raises an error' do expect { - Rake::Task['ofn:import:product_images'].invoke('') + Rake.application.invoke_task('ofn:import:product_images') }.to raise_error(RuntimeError, 'Filename required') end @@ -27,10 +26,9 @@ RSpec.describe 'ofn:import:product_images' do context "invalid CSV format" do it 'raises an error if CSV columns are missing' do allow(CSV).to receive(:read).and_return(CSV::Table.new([])) - Rake::Task['ofn:import:product_images'].reenable expect { - Rake::Task['ofn:import:product_images'].invoke('path/to/csv/file.csv') + Rake.application.invoke_task('ofn:import:product_images["path/to/csv/file.csv"]') }.to raise_error(RuntimeError, 'CSV columns reqired: ["producer", "name", "image_url"]') end end @@ -76,7 +74,7 @@ RSpec.describe 'ofn:import:product_images' do OUTPUT expect { - Rake::Task['ofn:import:product_images'].invoke('path/to/csv/file.csv') + Rake.application.invoke_task('ofn:import:product_images["path/to/csv/file.csv"]') }.to output(expected_output).to_stdout end end From 404fcf1f729cd999c4fb59a8cc5e51619667bf6c Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Mon, 8 Apr 2024 09:17:21 +0200 Subject: [PATCH 280/374] Fix FixRailsWhereEquals - fixes offenses caused by RuboCop::Cop::Rails::WhereEquals cop --- .rubocop_todo.yml | 32 ------------------- .../spree/admin/products_controller.rb | 2 +- app/mailers/producer_mailer.rb | 2 +- app/models/enterprise.rb | 12 +++---- app/models/enterprise_fee.rb | 4 +-- app/models/enterprise_group.rb | 2 +- app/models/enterprise_relationship.rb | 8 ++--- app/models/exchange.rb | 8 ++--- app/models/order_cycle.rb | 4 +-- app/models/product_import/entry_processor.rb | 2 +- app/models/proxy_order.rb | 2 +- app/models/schedule.rb | 3 +- app/models/spree/line_item.rb | 8 ++--- app/models/spree/order.rb | 2 +- app/models/spree/payment_method.rb | 5 ++- app/models/spree/product.rb | 12 +++---- app/models/spree/shipping_method.rb | 5 ++- app/models/spree/variant.rb | 10 +++--- app/models/subscription.rb | 4 +-- .../api/enterprise_shopfront_serializer.rb | 2 +- app/serializers/api/order_serializer.rb | 2 +- .../enterprise_fee_calculator.rb | 2 +- .../order_cycle_permissions.rb | 4 +-- .../reports/products_and_inventory/base.rb | 2 +- lib/tasks/data.rake | 12 ++++--- lib/tasks/data/anonymize_data.rake | 2 +- lib/tasks/data/remove_transient_data.rb | 2 +- .../product_tag_rules_filterer_spec.rb | 2 +- 28 files changed, 63 insertions(+), 94 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 25df407c86..a8b712cedf 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -798,38 +798,6 @@ Rails/UnusedRenderContent: - 'app/controllers/api/v0/taxons_controller.rb' - 'app/controllers/api/v0/variants_controller.rb' -# Offense count: 54 -# This cop supports unsafe autocorrection (--autocorrect-all). -Rails/WhereEquals: - Exclude: - - 'app/controllers/spree/admin/products_controller.rb' - - 'app/mailers/producer_mailer.rb' - - 'app/models/enterprise.rb' - - 'app/models/enterprise_fee.rb' - - 'app/models/enterprise_group.rb' - - 'app/models/enterprise_relationship.rb' - - 'app/models/exchange.rb' - - 'app/models/order_cycle.rb' - - 'app/models/product_import/entry_processor.rb' - - 'app/models/proxy_order.rb' - - 'app/models/schedule.rb' - - 'app/models/spree/line_item.rb' - - 'app/models/spree/order.rb' - - 'app/models/spree/payment_method.rb' - - 'app/models/spree/product.rb' - - 'app/models/spree/shipping_method.rb' - - 'app/models/spree/variant.rb' - - 'app/models/subscription.rb' - - 'app/serializers/api/enterprise_shopfront_serializer.rb' - - 'app/serializers/api/order_serializer.rb' - - 'lib/open_food_network/enterprise_fee_calculator.rb' - - 'lib/open_food_network/order_cycle_permissions.rb' - - 'lib/reporting/reports/products_and_inventory/base.rb' - - 'lib/tasks/data.rake' - - 'lib/tasks/data/anonymize_data.rake' - - 'lib/tasks/data/remove_transient_data.rb' - - 'spec/services/product_tag_rules_filterer_spec.rb' - # Offense count: 8 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. diff --git a/app/controllers/spree/admin/products_controller.rb b/app/controllers/spree/admin/products_controller.rb index e153faff38..32099627d8 100644 --- a/app/controllers/spree/admin/products_controller.rb +++ b/app/controllers/spree/admin/products_controller.rb @@ -175,7 +175,7 @@ module Spree Spree::Variant. select('DISTINCT spree_variants.import_date'). joins(:product). - where('spree_products.supplier_id IN (?)', editable_enterprises.collect(&:id)). + where(spree_products: { supplier_id: editable_enterprises.collect(&:id) }). where.not(spree_variants: { import_date: nil }). where(spree_variants: { deleted_at: nil }). order('spree_variants.import_date DESC') diff --git a/app/mailers/producer_mailer.rb b/app/mailers/producer_mailer.rb index f4dcb334e7..4752141c42 100644 --- a/app/mailers/producer_mailer.rb +++ b/app/mailers/producer_mailer.rb @@ -52,7 +52,7 @@ class ProducerMailer < ApplicationMailer def distributors_pickup_times_for(line_items) @order_cycle.distributors. joins(:distributed_orders). - where("spree_orders.id IN (?)", line_items.map(&:order_id).uniq). + where(spree_orders: { id: line_items.map(&:order_id).uniq }). map do |distributor| [distributor.name, @order_cycle.pickup_time_for(distributor)] end diff --git a/app/models/enterprise.rb b/app/models/enterprise.rb index 0d5ad5e4ec..22a18473a9 100644 --- a/app/models/enterprise.rb +++ b/app/models/enterprise.rb @@ -161,7 +161,7 @@ class Enterprise < ApplicationRecord scope :is_hub, -> { where(sells: 'any') } scope :supplying_variant_in, lambda { |variants| joins(supplied_products: :variants). - where('spree_variants.id IN (?)', variants). + where(spree_variants: { id: variants }). select('DISTINCT enterprises.*') } @@ -205,7 +205,7 @@ class Enterprise < ApplicationRecord "). joins('INNER JOIN exchange_variants ON (exchange_variants.exchange_id = exchanges.id)'). joins('INNER JOIN spree_variants ON (spree_variants.id = exchange_variants.variant_id)'). - where('spree_variants.product_id IN (?)', product_ids).select('DISTINCT enterprises.id') + where(spree_variants: { product_id: product_ids }).select('DISTINCT enterprises.id') where(id: exchanges) } @@ -214,7 +214,7 @@ class Enterprise < ApplicationRecord if user.has_spree_role?('admin') where(nil) else - joins(:enterprise_roles).where('enterprise_roles.user_id = ?', user.id) + joins(:enterprise_roles).where(enterprise_roles: { user_id: user.id }) end } @@ -382,7 +382,7 @@ class Enterprise < ApplicationRecord def distributed_taxons Spree::Taxon. joins(:products). - where('spree_products.id IN (?)', Spree::Product.in_distributor(self).select(&:id)). + where(spree_products: { id: Spree::Product.in_distributor(self).select(&:id) }). select('DISTINCT spree_taxons.*') end @@ -398,7 +398,7 @@ class Enterprise < ApplicationRecord def supplied_taxons Spree::Taxon. joins(:products). - where('spree_products.id IN (?)', Spree::Product.in_supplier(self).select(&:id)). + where(spree_products: { id: Spree::Product.in_supplier(self).select(&:id) }). select('DISTINCT spree_taxons.*') end @@ -472,7 +472,7 @@ class Enterprise < ApplicationRecord ExchangeVariant.joins(exchange: :order_cycle) .merge(Exchange.outgoing) .select("DISTINCT exchange_variants.variant_id, exchanges.receiver_id AS enterprise_id") - .where("exchanges.receiver_id = ?", id) + .where(exchanges: { receiver_id: id }) .merge(OrderCycle.active.with_distributor(id)) end diff --git a/app/models/enterprise_fee.rb b/app/models/enterprise_fee.rb index 9c22754919..a4bcdd272d 100644 --- a/app/models/enterprise_fee.rb +++ b/app/models/enterprise_fee.rb @@ -32,7 +32,7 @@ class EnterpriseFee < ApplicationRecord if user.has_spree_role?('admin') where(nil) else - where('enterprise_id IN (?)', user.enterprises.select(&:id)) + where(enterprise_id: user.enterprises.select(&:id)) end } @@ -40,7 +40,7 @@ class EnterpriseFee < ApplicationRecord joins(:calculator).where.not(spree_calculators: { type: PER_ORDER_CALCULATORS }) } scope :per_order, lambda { - joins(:calculator).where('spree_calculators.type IN (?)', PER_ORDER_CALCULATORS) + joins(:calculator).where(spree_calculators: { type: PER_ORDER_CALCULATORS }) } def self.clear_all_adjustments(order) diff --git a/app/models/enterprise_group.rb b/app/models/enterprise_group.rb index 91be3db4fd..c6160fb404 100644 --- a/app/models/enterprise_group.rb +++ b/app/models/enterprise_group.rb @@ -41,7 +41,7 @@ class EnterpriseGroup < ApplicationRecord if user.has_spree_role?('admin') where(nil) else - where('owner_id = ?', user.id) + where(owner_id: user.id) end } diff --git a/app/models/enterprise_relationship.rb b/app/models/enterprise_relationship.rb index 3e673eab34..29cd043f9a 100644 --- a/app/models/enterprise_relationship.rb +++ b/app/models/enterprise_relationship.rb @@ -27,12 +27,12 @@ class EnterpriseRelationship < ApplicationRecord where('parent_id IN (?) OR child_id IN (?)', enterprises.select(&:id), enterprises.select(&:id)) } - scope :permitting, ->(enterprise_ids) { where('child_id IN (?)', enterprise_ids) } - scope :permitted_by, ->(enterprise_ids) { where('parent_id IN (?)', enterprise_ids) } + scope :permitting, ->(enterprise_ids) { where(child_id: enterprise_ids) } + scope :permitted_by, ->(enterprise_ids) { where(parent_id: enterprise_ids) } scope :with_permission, ->(permission) { joins(:permissions). - where('enterprise_relationship_permissions.name = ?', permission) + where(enterprise_relationship_permissions: { name: permission }) } scope :by_name, -> { with_enterprises.order('child_enterprises.name, parent_enterprises.name') } @@ -108,6 +108,6 @@ class EnterpriseRelationship < ApplicationRecord def child_variant_overrides VariantOverride.unscoped.for_hubs(child) - .joins(variant: :product).where("spree_products.supplier_id IN (?)", parent) + .joins(variant: :product).where(spree_products: { supplier_id: parent }) end end diff --git a/app/models/exchange.rb b/app/models/exchange.rb index d349679dc1..796a251ed1 100644 --- a/app/models/exchange.rb +++ b/app/models/exchange.rb @@ -38,8 +38,8 @@ class Exchange < ApplicationRecord scope :outgoing, -> { where(incoming: false) } scope :from_enterprise, lambda { |enterprise| where(sender_id: enterprise) } scope :to_enterprise, lambda { |enterprise| where(receiver_id: enterprise) } - scope :from_enterprises, lambda { |enterprises| where('exchanges.sender_id IN (?)', enterprises) } - scope :to_enterprises, lambda { |enterprises| where('exchanges.receiver_id IN (?)', enterprises) } + scope :from_enterprises, lambda { |enterprises| where(exchanges: { sender_id: enterprises }) } + scope :to_enterprises, lambda { |enterprises| where(exchanges: { receiver_id: enterprises }) } scope :involving, lambda { |enterprises| where('exchanges.receiver_id IN (?) OR exchanges.sender_id IN (?)', enterprises, enterprises). select('DISTINCT exchanges.*') @@ -48,7 +48,7 @@ class Exchange < ApplicationRecord where('exchanges.incoming OR exchanges.receiver_id = ?', distributor) } scope :with_variant, lambda { |variant| - joins(:exchange_variants).where('exchange_variants.variant_id = ?', variant) + joins(:exchange_variants).where(exchange_variants: { variant_id: variant }) } scope :with_any_variant, lambda { |variant_ids| joins(:exchange_variants). @@ -57,7 +57,7 @@ class Exchange < ApplicationRecord } scope :with_product, lambda { |product| joins(:exchange_variants). - where('exchange_variants.variant_id IN (?)', product.variants.select(&:id)) + where(exchange_variants: { variant_id: product.variants.select(&:id) }) } scope :by_enterprise_name, -> { joins('INNER JOIN enterprises AS sender ON (sender.id = exchanges.sender_id)'). diff --git a/app/models/order_cycle.rb b/app/models/order_cycle.rb index 7fa53009eb..e6b0d1dff1 100644 --- a/app/models/order_cycle.rb +++ b/app/models/order_cycle.rb @@ -165,13 +165,13 @@ class OrderCycle < ApplicationRecord def attachable_distributor_payment_methods DistributorPaymentMethod.joins(:payment_method). merge(Spree::PaymentMethod.available). - where("distributor_id IN (?)", distributor_ids) + where(distributor_id: distributor_ids) end def attachable_distributor_shipping_methods DistributorShippingMethod.joins(:shipping_method). merge(Spree::ShippingMethod.frontend). - where("distributor_id IN (?)", distributor_ids) + where(distributor_id: distributor_ids) end def clone! diff --git a/app/models/product_import/entry_processor.rb b/app/models/product_import/entry_processor.rb index d2603e2762..05bc462eff 100644 --- a/app/models/product_import/entry_processor.rb +++ b/app/models/product_import/entry_processor.rb @@ -56,7 +56,7 @@ module ProductImport else Spree::Variant. joins(:product). - where('spree_products.supplier_id IN (?)', enterprise_id). + where(spree_products: { supplier_id: enterprise_id }). count end diff --git a/app/models/proxy_order.rb b/app/models/proxy_order.rb index 2f64fe0a2b..5a017bb1e6 100644 --- a/app/models/proxy_order.rb +++ b/app/models/proxy_order.rb @@ -17,7 +17,7 @@ class ProxyOrder < ApplicationRecord scope :closed, -> { joins(:order_cycle).merge(OrderCycle.closed) } scope :not_closed, -> { joins(:order_cycle).merge(OrderCycle.not_closed) } scope :canceled, -> { where.not(proxy_orders: { canceled_at: nil }) } - scope :not_canceled, -> { where('proxy_orders.canceled_at IS NULL') } + scope :not_canceled, -> { where(proxy_orders: { canceled_at: nil }) } scope :placed_and_open, -> { joins(:order).not_closed .where(spree_orders: { state: ['complete', 'resumed'] }) diff --git a/app/models/schedule.rb b/app/models/schedule.rb index 3ab11d1a0b..dd7499ec45 100644 --- a/app/models/schedule.rb +++ b/app/models/schedule.rb @@ -8,7 +8,8 @@ class Schedule < ApplicationRecord has_many :coordinators, -> { distinct }, through: :order_cycles scope :with_coordinator, lambda { |enterprise| - joins(:order_cycles).where('coordinator_id = ?', enterprise.id) + joins(:order_cycles) + .where(order_cycles: { coordinator_id: enterprise.id }) .select('DISTINCT schedules.*') } diff --git a/app/models/spree/line_item.rb b/app/models/spree/line_item.rb index 571a9adfd4..74d3acdc7e 100644 --- a/app/models/spree/line_item.rb +++ b/app/models/spree/line_item.rb @@ -85,7 +85,7 @@ module Spree scope :from_order_cycle, lambda { |order_cycle| joins(order: :order_cycle). - where('order_cycles.id = ?', order_cycle) + where(order_cycles: { id: order_cycle }) } # Here we are simply joining the line item to its variant and product @@ -94,12 +94,12 @@ module Spree scope :supplied_by_any, lambda { |enterprises| product_ids = Spree::Product.unscoped.where(supplier_id: enterprises).select(:id) variant_ids = Spree::Variant.unscoped.where(product_id: product_ids).select(:id) - where("spree_line_items.variant_id IN (?)", variant_ids) + where(spree_line_items: { variant_id: variant_ids }) } scope :with_tax, -> { joins(:adjustments). - where('spree_adjustments.originator_type = ?', 'Spree::TaxRate'). + where(spree_adjustments: { originator_type: 'Spree::TaxRate' }). select('DISTINCT spree_line_items.*') } @@ -110,7 +110,7 @@ module Spree ON (spree_adjustments.adjustable_id=spree_line_items.id AND spree_adjustments.adjustable_type = 'Spree::LineItem' AND spree_adjustments.originator_type='Spree::TaxRate')"). - where('spree_adjustments.id IS NULL') + where(spree_adjustments: { id: nil }) } def copy_price diff --git a/app/models/spree/order.rb b/app/models/spree/order.rb index fbb41c5abb..5964af833b 100644 --- a/app/models/spree/order.rb +++ b/app/models/spree/order.rb @@ -141,7 +141,7 @@ module Spree if user.has_spree_role?('admin') where(nil) else - where('spree_orders.distributor_id IN (?)', user.enterprises.select(&:id)) + where(spree_orders: { distributor_id: user.enterprises.select(&:id) }) end } diff --git a/app/models/spree/payment_method.rb b/app/models/spree/payment_method.rb index 5b60aded62..a729571066 100644 --- a/app/models/spree/payment_method.rb +++ b/app/models/spree/payment_method.rb @@ -29,8 +29,7 @@ module Spree return where(nil) if user.admin? joins(:distributors). - where('distributors_payment_methods.distributor_id IN (?)', - user.enterprises.select(&:id)). + where(distributors_payment_methods: { distributor_id: user.enterprises.select(&:id) }). select('DISTINCT spree_payment_methods.*') } @@ -40,7 +39,7 @@ module Spree } scope :for_distributor, ->(distributor) { - joins(:distributors).where('enterprises.id = ?', distributor) + joins(:distributors).where(enterprises: { id: distributor }) } scope :for_subscriptions, -> { where(type: Subscription::ALLOWED_PAYMENT_METHOD_TYPES) } diff --git a/app/models/spree/product.rb b/app/models/spree/product.rb index 496194c7ec..4fd670f90e 100755 --- a/app/models/spree/product.rb +++ b/app/models/spree/product.rb @@ -159,7 +159,7 @@ module Spree scope :in_order_cycle, lambda { |order_cycle| with_order_cycles_inner. merge(Exchange.outgoing). - where('order_cycles.id = ?', order_cycle) + where(order_cycles: { id: order_cycle }) } scope :in_an_active_order_cycle, lambda { @@ -176,7 +176,7 @@ module Spree if user.has_spree_role?('admin') where(nil) else - where('supplier_id IN (?)', user.enterprises.select("enterprises.id")) + where(supplier_id: user.enterprises.select("enterprises.id")) end } @@ -187,10 +187,10 @@ module Spree .with_permission(:add_to_order_cycle) .where(enterprises: { is_primary_producer: true }) .pluck(:parent_id) - where('spree_products.supplier_id IN (?)', [enterprise.id] | permitted_producer_ids) + where(spree_products: { supplier_id: [enterprise.id] | permitted_producer_ids }) } - scope :active, lambda { where("spree_products.deleted_at IS NULL") } + scope :active, lambda { where(spree_products: { deleted_at: nil }) } def self.group_by_products_id group(column_names.map { |col_name| "#{table_name}.#{col_name}" }) @@ -265,8 +265,8 @@ module Spree touch_distributors ExchangeVariant. - where('exchange_variants.variant_id IN (?)', variants.with_deleted. - select(:id)).destroy_all + where(exchange_variants: { variant_id: variants.with_deleted. + select(:id) }).destroy_all yield end diff --git a/app/models/spree/shipping_method.rb b/app/models/spree/shipping_method.rb index 1f726a5d2a..68f2d19015 100644 --- a/app/models/spree/shipping_method.rb +++ b/app/models/spree/shipping_method.rb @@ -41,8 +41,7 @@ module Spree where(nil) else joins(:distributors). - where('distributors_shipping_methods.distributor_id IN (?)', - user.enterprises.select(&:id)). + where(distributors_shipping_methods: { distributor_id: user.enterprises.select(&:id) }). select('DISTINCT spree_shipping_methods.*') end } @@ -53,7 +52,7 @@ module Spree } scope :for_distributor, lambda { |distributor| joins(:distributors). - where('enterprises.id = ?', distributor) + where(enterprises: { id: distributor }) } scope :by_name, -> { order('spree_shipping_methods.name ASC') } diff --git a/app/models/spree/variant.rb b/app/models/spree/variant.rb index 94e3bfb3c5..c5f93e0de9 100644 --- a/app/models/spree/variant.rb +++ b/app/models/spree/variant.rb @@ -101,7 +101,7 @@ module Spree scope :in_order_cycle, lambda { |order_cycle| with_order_cycles_inner. merge(Exchange.outgoing). - where('order_cycles.id = ?', order_cycle). + where(order_cycles: { id: order_cycle }). select('DISTINCT spree_variants.*') } @@ -113,8 +113,8 @@ module Spree } scope :for_distribution, lambda { |order_cycle, distributor| - where('spree_variants.id IN (?)', order_cycle.variants_distributed_by(distributor). - select(&:id)) + where(spree_variants: { id: order_cycle.variants_distributed_by(distributor). + select(&:id) }) } scope :visible_for, lambda { |enterprise| @@ -161,12 +161,12 @@ module Spree def self.active(currency = nil) # "where(id:" is necessary so that the returned relation has no includes # The relation without includes will not be readonly and allow updates on it - where("spree_variants.id in (?)", joins(:prices). + where(spree_variants: { id: joins(:prices). where(deleted_at: nil). where('spree_prices.currency' => currency || CurrentConfig.get(:currency)). where.not(spree_prices: { amount: nil }). - select("spree_variants.id")) + select("spree_variants.id") }) end def tax_category diff --git a/app/models/subscription.rb b/app/models/subscription.rb index 04e57d1a54..4509c1ac75 100644 --- a/app/models/subscription.rb +++ b/app/models/subscription.rb @@ -34,8 +34,8 @@ class Subscription < ApplicationRecord where('subscriptions.ends_at > (?) OR subscriptions.ends_at IS NULL', Time.zone.now) } - scope :not_canceled, -> { where('subscriptions.canceled_at IS NULL') } - scope :not_paused, -> { where('subscriptions.paused_at IS NULL') } + scope :not_canceled, -> { where(subscriptions: { canceled_at: nil }) } + scope :not_paused, -> { where(subscriptions: { paused_at: nil }) } scope :active, -> { not_canceled.not_ended.not_paused.where('subscriptions.begins_at <= (?)', Time.zone.now) diff --git a/app/serializers/api/enterprise_shopfront_serializer.rb b/app/serializers/api/enterprise_shopfront_serializer.rb index 7e2b4df3bc..613c9f1bdf 100644 --- a/app/serializers/api/enterprise_shopfront_serializer.rb +++ b/app/serializers/api/enterprise_shopfront_serializer.rb @@ -145,7 +145,7 @@ module Api require_shipping = type == :delivery ? 't' : 'f' Spree::ShippingMethod. joins(:distributor_shipping_methods). - where('distributors_shipping_methods.distributor_id = ?', enterprise.id). + where(distributors_shipping_methods: { distributor_id: enterprise.id }). where("spree_shipping_methods.require_ship_address = '#{require_shipping}'").exists? end end diff --git a/app/serializers/api/order_serializer.rb b/app/serializers/api/order_serializer.rb index b8fa04dff2..b1acb825c4 100644 --- a/app/serializers/api/order_serializer.rb +++ b/app/serializers/api/order_serializer.rb @@ -16,7 +16,7 @@ module Api end def payments - object.payments.joins(:payment_method).where('state IN (?)', %w(completed pending)) + object.payments.joins(:payment_method).where(state: %w(completed pending)) end def shop_id diff --git a/lib/open_food_network/enterprise_fee_calculator.rb b/lib/open_food_network/enterprise_fee_calculator.rb index 66001716ab..739725ce79 100644 --- a/lib/open_food_network/enterprise_fee_calculator.rb +++ b/lib/open_food_network/enterprise_fee_calculator.rb @@ -111,7 +111,7 @@ module OpenFoodNetwork EnterpriseFee. per_item. joins(exchanges: :exchange_variants). - where('exchanges.order_cycle_id = ?', @order_cycle.id). + where(exchanges: { order_cycle_id: @order_cycle.id }). merge(Exchange.supplying_to(@distributor)). select('enterprise_fees.*, exchange_variants.variant_id AS variant_id') end diff --git a/lib/open_food_network/order_cycle_permissions.rb b/lib/open_food_network/order_cycle_permissions.rb index a20a6292e2..c6c2508112 100644 --- a/lib/open_food_network/order_cycle_permissions.rb +++ b/lib/open_food_network/order_cycle_permissions.rb @@ -99,10 +99,10 @@ module OpenFoodNetwork ).pluck(:id).uniq product_ids = Spree::Product.joins(:variants). - where("spree_variants.id IN (?)", variant_ids).pluck(:id).uniq + where(spree_variants: { id: variant_ids }).pluck(:id).uniq producers_active_ids = Enterprise.joins(:supplied_products). - where("spree_products.id IN (?)", product_ids).pluck(:id).uniq + where(spree_products: { id: product_ids }).pluck(:id).uniq end ids = managed_permitted_ids | hubs_permitted_ids | hubs_permitting_ids | diff --git a/lib/reporting/reports/products_and_inventory/base.rb b/lib/reporting/reports/products_and_inventory/base.rb index 555e30cd68..3b58daca76 100644 --- a/lib/reporting/reports/products_and_inventory/base.rb +++ b/lib/reporting/reports/products_and_inventory/base.rb @@ -59,7 +59,7 @@ module Reporting def filter_to_supplier(variants) if params[:supplier_id].to_i > 0 - variants.where("spree_products.supplier_id = ?", params[:supplier_id]) + variants.where(spree_products: { supplier_id: params[:supplier_id] }) else variants end diff --git a/lib/tasks/data.rake b/lib/tasks/data.rake index 1cb18ff0db..bb26f748b1 100644 --- a/lib/tasks/data.rake +++ b/lib/tasks/data.rake @@ -46,11 +46,13 @@ namespace :ofn do end # For each variant in the exchange - products = Spree::Product.joins(:variants).where( - 'spree_variants.id IN (?)', exchange.variants - ).pluck(:id).uniq - producers = Enterprise.joins(:supplied_products).where("spree_products.id IN (?)", - products).distinct + products = Spree::Product.joins(:variants) + .where(spree_variants: { id: exchange.variants }) + .pluck(:id) + .uniq + producers = Enterprise.joins(:supplied_products) + .where(spree_products: { id: products }) + .distinct producers.each do |producer| next if producer == exchange.receiver diff --git a/lib/tasks/data/anonymize_data.rake b/lib/tasks/data/anonymize_data.rake index 5a19e56be0..d5a6a8f558 100644 --- a/lib/tasks/data/anonymize_data.rake +++ b/lib/tasks/data/anonymize_data.rake @@ -44,7 +44,7 @@ namespace :ofn do Spree::User.update_all("email = concat(id, '_ofn_user@example.com'), login = concat(id, '_ofn_user@example.com'), unconfirmed_email = concat(id, '_ofn_user@example.com')") - Customer.where("user_id IS NULL") + Customer.where(user_id: nil) .update_all("email = concat(id, '_ofn_customer@example.com'), name = concat('Customer Number ', id, ' (without connected User)')") Customer.where.not(user_id: nil) diff --git a/lib/tasks/data/remove_transient_data.rb b/lib/tasks/data/remove_transient_data.rb index 36136ceff8..1a519fae8f 100644 --- a/lib/tasks/data/remove_transient_data.rb +++ b/lib/tasks/data/remove_transient_data.rb @@ -38,6 +38,6 @@ class RemoveTransientData # Carts with failed payments are ignored, as they contain potentially useful data Spree::Order. joins("LEFT OUTER JOIN spree_payments ON spree_orders.id = spree_payments.order_id"). - where("spree_payments.id IS NULL") + where(spree_payments: { id: nil }) end end diff --git a/spec/services/product_tag_rules_filterer_spec.rb b/spec/services/product_tag_rules_filterer_spec.rb index 804e4933a5..1302788381 100644 --- a/spec/services/product_tag_rules_filterer_spec.rb +++ b/spec/services/product_tag_rules_filterer_spec.rb @@ -18,7 +18,7 @@ describe ProductTagRulesFilterer do } let(:customer) { create(:customer, enterprise: distributor) } let(:variants_relation) { - Spree::Variant.joins(:product).where("spree_products.supplier_id = ?", distributor.id) + Spree::Variant.joins(:product).where(spree_products: { supplier_id: distributor.id }) } let(:default_hide_rule) { create(:filter_products_tag_rule, From 1d8b942acd755ec6be9dfc47bd72f760a47d3458 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 10 Apr 2024 14:03:25 +1000 Subject: [PATCH 281/374] Fix spec for invoice ordering --- spec/system/admin/orders_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index 2a70eef01c..cbdfe44330 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -686,7 +686,7 @@ describe ' invoice_content = extract_pdf_content expect( - invoice_content + invoice_content.join ).to match(/#{surnames[0]}.*#{surnames[1]}.*#{surnames[2]}.*#{surnames[3]}/m) end end From 16c877f7cb0c3409ee4fc59d53d1614410148bae Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 10 Apr 2024 14:51:55 +1000 Subject: [PATCH 282/374] Fix: preserve order of invoices in bulk print --- app/reflexes/admin/orders_reflex.rb | 7 ++++++- spec/system/admin/orders_spec.rb | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/reflexes/admin/orders_reflex.rb b/app/reflexes/admin/orders_reflex.rb index 8e5f43eb65..ea07b3e9a5 100644 --- a/app/reflexes/admin/orders_reflex.rb +++ b/app/reflexes/admin/orders_reflex.rb @@ -44,8 +44,13 @@ module Admin html: render(partial: "spree/admin/orders/bulk/invoice_modal") ).broadcast + # Preserve order of bulk_ids. + # The ids are supplied in the sequence of the orders screen and may be + # sorted, for example by last name of the customer. + visible_order_ids = params[:bulk_ids].map(&:to_i) & visible_orders.pluck(:id) + BulkInvoiceJob.perform_later( - visible_orders.pluck(:id), + visible_order_ids, "tmp/invoices/#{Time.zone.now.to_i}-#{SecureRandom.hex(2)}.pdf", channel: SessionChannel.for_request(request), current_user_id: current_user.id diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index cbdfe44330..01aa5d5802 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -710,7 +710,6 @@ describe ' order4.name.gsub(/.* /, ""), order5.name.gsub(/.* /, "")].sort } before do - pending("#12340") page.find('a', text: "NAME").click # orders alphabetically (asc) sleep(0.5) # waits for column sorting page.find('#selectAll').click @@ -723,7 +722,6 @@ describe ' order4.name.gsub(/.* /, ""), order5.name.gsub(/.* /, "")].sort.reverse } before do - pending("#12340") page.find('a', text: "NAME").click # orders alphabetically (asc) sleep(0.5) # waits for column sorting page.find('a', text: "NAME").click # orders alphabetically (desc) From 48b447500f6fb1c126ffa183767205ab11d991eb Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 10 Apr 2024 15:57:25 +1000 Subject: [PATCH 283/374] Move selection of invoicable orders to database It's more efficient and should allow for further optimisations. --- app/jobs/bulk_invoice_job.rb | 17 ++++++++++------ app/models/spree/order.rb | 5 +---- app/reflexes/admin/orders_reflex.rb | 6 +++--- spec/models/spree/order_spec.rb | 30 +++++++++++++---------------- 4 files changed, 28 insertions(+), 30 deletions(-) diff --git a/app/jobs/bulk_invoice_job.rb b/app/jobs/bulk_invoice_job.rb index 517cba1c22..4eab661a66 100644 --- a/app/jobs/bulk_invoice_job.rb +++ b/app/jobs/bulk_invoice_job.rb @@ -7,9 +7,14 @@ class BulkInvoiceJob < ApplicationJob def perform(order_ids, filepath, options = {}) @options = options - orders = sorted_orders(order_ids) - orders.filter!(&:invoiceable?) if OpenFoodNetwork::FeatureToggle.enabled?(:invoices, - current_user) + + orders = Spree::Order.where(id: order_ids) + + if OpenFoodNetwork::FeatureToggle.enabled?(:invoices, current_user) + orders = orders.invoiceable + end + + orders = sort_orders(orders, order_ids) orders.each(&method(:generate_invoice)) ensure_directory_exists filepath @@ -22,9 +27,9 @@ class BulkInvoiceJob < ApplicationJob private # Ensures the records are returned in the same order the ids were originally given in - def sorted_orders(order_ids) - orders_by_id = Spree::Order.where(id: order_ids).to_a.index_by(&:id) - order_ids.map { |id| orders_by_id[id.to_i] } + def sort_orders(orders, order_ids) + orders_by_id = orders.to_a.index_by(&:id) + order_ids.map { |id| orders_by_id[id.to_i] }.compact end def renderer diff --git a/app/models/spree/order.rb b/app/models/spree/order.rb index fbb41c5abb..8301db41d3 100644 --- a/app/models/spree/order.rb +++ b/app/models/spree/order.rb @@ -165,6 +165,7 @@ module Spree scope :finalized, -> { where(state: FINALIZED_STATES) } scope :complete, -> { where.not(completed_at: nil) } scope :incomplete, -> { where(completed_at: nil) } + scope :invoiceable, -> { where(state: [:complete, :resumed]) } scope :by_state, lambda { |state| where(state:) } scope :not_state, lambda { |state| where.not(state:) } @@ -213,10 +214,6 @@ module Spree completed_at.present? end - def invoiceable? - complete? || resumed? - end - # Indicates whether or not the user is allowed to proceed to checkout. # Currently this is implemented as a check for whether or not there is at # least one LineItem in the Order. Feel free to override this logic in your diff --git a/app/reflexes/admin/orders_reflex.rb b/app/reflexes/admin/orders_reflex.rb index ea07b3e9a5..f7a562d745 100644 --- a/app/reflexes/admin/orders_reflex.rb +++ b/app/reflexes/admin/orders_reflex.rb @@ -32,7 +32,7 @@ module Admin end def bulk_invoice(params) - visible_orders = editable_orders.where(id: params[:bulk_ids]).filter(&:invoiceable?) + visible_orders = editable_orders.invoiceable.where(id: params[:bulk_ids]) if Spree::Config.enterprise_number_required_on_invoices? && !all_distributors_can_invoice?(visible_orders) render_business_number_required_error(visible_orders) @@ -87,8 +87,8 @@ module Admin def send_invoices(params) count = 0 - editable_orders.where(id: params[:bulk_ids]).find_each do |o| - next unless o.distributor.can_invoice? && o.invoiceable? + editable_orders.invoiceable.where(id: params[:bulk_ids]).find_each do |o| + next unless o.distributor.can_invoice? Spree::OrderMailer.invoice_email(o.id, current_user_id: current_user.id).deliver_later count += 1 diff --git a/spec/models/spree/order_spec.rb b/spec/models/spree/order_spec.rb index 480cef7cab..9310c83b00 100644 --- a/spec/models/spree/order_spec.rb +++ b/spec/models/spree/order_spec.rb @@ -140,23 +140,6 @@ describe Spree::Order do end end - context "#invoiceable?" do - it "should return true if the order is completed" do - allow(order).to receive_messages(complete?: true) - expect(order.invoiceable?).to be_truthy - end - - it "should return true if the order is resumed" do - allow(order).to receive_messages(resumed?: true) - expect(order.invoiceable?).to be_truthy - end - - it "should return false if the order is neither completed nor resumed" do - allow(order).to receive_messages(complete?: false, resumed?: false) - expect(order.invoiceable?).to be_falsy - end - end - context '#changes_allowed?' do let(:order) { create(:order_ready_for_details) } let(:complete) { true } @@ -997,6 +980,19 @@ describe Spree::Order do end describe "scopes" do + describe "invoiceable" do + it "finds only active orders" do + order_complete = create(:order, state: :complete) + order_canceled = create(:order, state: :canceled) + order_resumed = create(:order, state: :resumed) + + expect(Spree::Order.invoiceable).to match_array [ + order_complete, + order_resumed, + ] + end + end + describe "not_state" do it "finds only orders not in specified state" do o = FactoryBot.create(:completed_order_with_totals, From 3382a62eb5bbe6f1e61b5858b8f8b17f7aa14b77 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 10 Apr 2024 16:08:14 +1000 Subject: [PATCH 284/374] Simplify BulkInvoiceJob by removing checks The check for invoiceability is already done by the reflex triggering the job. Let's DRY the code, save time and be more flexible in the future. Also checking the order of actually generated PDF pages. --- app/jobs/bulk_invoice_job.rb | 14 ++---------- spec/jobs/bulk_invoice_job_spec.rb | 35 +++++++++++------------------- 2 files changed, 15 insertions(+), 34 deletions(-) diff --git a/app/jobs/bulk_invoice_job.rb b/app/jobs/bulk_invoice_job.rb index 4eab661a66..c77eb077f9 100644 --- a/app/jobs/bulk_invoice_job.rb +++ b/app/jobs/bulk_invoice_job.rb @@ -8,13 +8,9 @@ class BulkInvoiceJob < ApplicationJob def perform(order_ids, filepath, options = {}) @options = options - orders = Spree::Order.where(id: order_ids) + # The `find` method returns records in the same order as the given ids. + orders = Spree::Order.find(order_ids) - if OpenFoodNetwork::FeatureToggle.enabled?(:invoices, current_user) - orders = orders.invoiceable - end - - orders = sort_orders(orders, order_ids) orders.each(&method(:generate_invoice)) ensure_directory_exists filepath @@ -26,12 +22,6 @@ class BulkInvoiceJob < ApplicationJob private - # Ensures the records are returned in the same order the ids were originally given in - def sort_orders(orders, order_ids) - orders_by_id = orders.to_a.index_by(&:id) - order_ids.map { |id| orders_by_id[id.to_i] }.compact - end - def renderer @renderer ||= InvoiceRenderer.new end diff --git a/spec/jobs/bulk_invoice_job_spec.rb b/spec/jobs/bulk_invoice_job_spec.rb index ace4234103..907749033c 100644 --- a/spec/jobs/bulk_invoice_job_spec.rb +++ b/spec/jobs/bulk_invoice_job_spec.rb @@ -5,45 +5,36 @@ require 'spec_helper' describe BulkInvoiceJob do subject { BulkInvoiceJob.new(order_ids, "/tmp/file/path") } - describe "#sorted_orders" do - let(:order1) { build(:order, id: 1) } - let(:order2) { build(:order, id: 2) } - let(:order3) { build(:order, id: 3) } - let(:order_ids) { [3, 1, 2] } - - it "returns results in their original order" do - expect(Spree::Order).to receive(:where).and_return([order1, order2, order3]) - - expect(subject.__send__(:sorted_orders, order_ids)).to eq [order3, order1, order2] - end - end - context "when invoices are enabled", feature: :invoices do describe "#perform" do let!(:order1) { create(:shipped_order) } - let!(:order2) { create(:order_with_line_items) } + let!(:order2) { create(:shipped_order) } let!(:order3) { create(:order_ready_to_ship) } - let(:order_ids) { [order1.id, order2.id, order3.id] } + let(:order_ids) { [order3.id, order1.id, order2.id] } let(:path){ "/tmp/file/path.pdf" } + before do allow(TermsOfServiceFile).to receive(:current_url).and_return("http://example.com/terms.pdf") order3.cancel order3.resume end - it "should generate invoices for invoiceable orders only" do + + it "should generate invoices for given order ids" do expect{ subject.perform(order_ids, path) }.to change{ order1.invoices.count }.from(0).to(1) - .and change{ order2.invoices.count }.by(0) + .and change{ order2.invoices.count }.from(0).to(1) .and change{ order3.invoices.count }.from(0).to(1) - File.open(path, "rb") do |io| + pages = File.open(path, "rb") do |io| reader = PDF::Reader.new(io) - content = reader.pages.map(&:text).join("\n") - expect(content).to include(order1.number) - expect(content).to include(order3.number) - expect(content).not_to include(order2.number) + reader.pages.map(&:text) end + + # Pages should be in the order of order ids given: + expect(pages[0]).to include(order3.number) + expect(pages[1]).to include(order1.number) + expect(pages[2]).to include(order2.number) end end end From b03bb30a8e20c2fd403e6a6ba92a7af95ba6a199 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 10 Apr 2024 16:23:54 +1000 Subject: [PATCH 285/374] Move ABN checks to the database --- app/reflexes/admin/orders_reflex.rb | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/app/reflexes/admin/orders_reflex.rb b/app/reflexes/admin/orders_reflex.rb index f7a562d745..8010277ecc 100644 --- a/app/reflexes/admin/orders_reflex.rb +++ b/app/reflexes/admin/orders_reflex.rb @@ -33,10 +33,17 @@ module Admin def bulk_invoice(params) visible_orders = editable_orders.invoiceable.where(id: params[:bulk_ids]) - if Spree::Config.enterprise_number_required_on_invoices? && - !all_distributors_can_invoice?(visible_orders) - render_business_number_required_error(visible_orders) - return + + if Spree::Config.enterprise_number_required_on_invoices? + distributors_without_abn = Enterprise.where( + id: visible_orders.select(:distributor_id), + abn: nil, + ) + + if distributors_without_abn.exists? + render_business_number_required_error(distributors_without_abn) + return + end end cable_ready.append( @@ -124,9 +131,8 @@ module Admin Enterprise.where(id: distributor_ids, abn: nil).empty? end - def render_business_number_required_error(orders) - distributor_ids = orders.map(&:distributor_id) - distributor_names = Enterprise.where(id: distributor_ids, abn: nil).pluck(:name) + def render_business_number_required_error(distributors) + distributor_names = distributors.pluck(:name) flash[:error] = I18n.t(:must_have_valid_business_number, enterprise_name: distributor_names.join(", ")) From e5e8d62c6a27909cd1659a6becd7dbddbae7156e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Apr 2024 09:57:15 +0000 Subject: [PATCH 286/374] chore(deps): bump valid_email2 from 5.2.1 to 5.2.3 Bumps [valid_email2](https://github.com/micke/valid_email2) from 5.2.1 to 5.2.3. - [Changelog](https://github.com/micke/valid_email2/blob/master/CHANGELOG.md) - [Commits](https://github.com/micke/valid_email2/compare/v5.2.1...v5.2.3) --- updated-dependencies: - dependency-name: valid_email2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 263a84cc20..c4419fa924 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -433,7 +433,7 @@ GEM net-protocol net-protocol (0.2.2) timeout - net-smtp (0.4.0.1) + net-smtp (0.5.0) net-protocol newrelic_rpm (9.8.0) nio4r (2.7.0) @@ -769,7 +769,7 @@ GEM unicode-display_width (2.5.0) uniform_notifier (1.16.0) uri (0.13.0) - valid_email2 (5.2.1) + valid_email2 (5.2.3) activemodel (>= 3.2) mail (~> 2.5) validate_url (1.0.15) From 9897c33a086bf38aff0f918c15e9b0426f2eb8a3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Apr 2024 09:59:34 +0000 Subject: [PATCH 287/374] chore(deps): bump stripe from 10.14.0 to 10.15.0 Bumps [stripe](https://github.com/stripe/stripe-ruby) from 10.14.0 to 10.15.0. - [Release notes](https://github.com/stripe/stripe-ruby/releases) - [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md) - [Commits](https://github.com/stripe/stripe-ruby/compare/v10.14.0...v10.15.0) --- updated-dependencies: - dependency-name: stripe dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 263a84cc20..c1b50f2cb8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -751,7 +751,7 @@ GEM stimulus_reflex (>= 3.3.0) stringex (2.8.6) stringio (3.1.0) - stripe (10.14.0) + stripe (10.15.0) swd (2.0.3) activesupport (>= 3) attr_required (>= 0.0.5) From 6bcbbeadc49a24bc08d352d60c94aafb6f172c9d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Apr 2024 10:08:27 +0000 Subject: [PATCH 288/374] chore(deps-dev): bump spring from 4.1.3 to 4.2.0 Bumps [spring](https://github.com/rails/spring) from 4.1.3 to 4.2.0. - [Release notes](https://github.com/rails/spring/releases) - [Changelog](https://github.com/rails/spring/blob/main/CHANGELOG.md) - [Commits](https://github.com/rails/spring/compare/v4.1.3...v4.2.0) --- updated-dependencies: - dependency-name: spring dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 263a84cc20..2fb2cec56a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -718,7 +718,7 @@ GEM spreadsheet_architect (5.0.0) caxlsx (>= 3.3.0, < 4) rodf (>= 1.0.0, < 2) - spring (4.1.3) + spring (4.2.0) spring-commands-rspec (1.0.4) spring (>= 0.9.1) spring-commands-rubocop (0.4.0) From d904c2a4941d7ea48803dc1bf087913dc2fc39f5 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 3 Apr 2024 14:04:17 +1100 Subject: [PATCH 289/374] Don't warn when submitting form --- .../controllers/bulk_form_controller.js | 39 +++++++++++-------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/app/webpacker/controllers/bulk_form_controller.js b/app/webpacker/controllers/bulk_form_controller.js index d5a84545dd..b81165f9f0 100644 --- a/app/webpacker/controllers/bulk_form_controller.js +++ b/app/webpacker/controllers/bulk_form_controller.js @@ -23,18 +23,22 @@ export default class BulkFormController extends Controller { recordElements = {}; connect() { + this.submitting = false; this.form = this.element; // Start listening for any changes within the form this.#registerElements(this.form.elements); this.toggleFormChanged(); + + this.form.addEventListener("submit", this.#registerSubmit.bind(this)); + window.addEventListener("beforeunload", this.preventLeavingChangedForm.bind(this)); } disconnect() { // Make sure to clean up anything that happened outside this.#disableOtherElements(false); - window.removeEventListener("beforeunload", this.preventLeavingBulkForm); + window.removeEventListener("beforeunload", this.preventLeavingChangedForm.bind(this)); } // Register any new elements (may be called by another controller after dynamically adding fields) @@ -59,11 +63,11 @@ export default class BulkFormController extends Controller { const changedRecordCount = Object.values(this.recordElements).filter((elements) => elements.some(this.#isChanged) ).length; - const formChanged = changedRecordCount > 0 || this.errorValue; + this.formChanged = changedRecordCount > 0 || this.errorValue; // Show actions - this.hasActionsTarget && this.actionsTarget.classList.toggle("hidden", !formChanged); - this.#disableOtherElements(formChanged); // like filters and sorting + this.hasActionsTarget && this.actionsTarget.classList.toggle("hidden", !this.formChanged); + this.#disableOtherElements(this.formChanged); // like filters and sorting // Display number of records changed const key = this.hasChangedSummaryTarget && this.changedSummaryTarget.dataset.translationKey; @@ -71,25 +75,26 @@ export default class BulkFormController extends Controller { // TODO: save processing and only run if changedRecordCount has changed. this.changedSummaryTarget.textContent = I18n.t(key, { count: changedRecordCount }); } + } - // Prevent accidental data loss - if (formChanged) { - window.addEventListener("beforeunload", this.preventLeavingBulkForm); // TOFIX: what if it has laredy been added? we can optimise above to avoid this - } else { - window.removeEventListener("beforeunload", this.preventLeavingBulkForm); + // If form is not being submitted, warn to prevent accidental data loss + preventLeavingChangedForm(event) { + if (this.formChanged && !this.submitting){ + // Cancel the event + event.preventDefault(); + // Chrome requires returnValue to be set, but ignores the value. Other browsers may display + // this if provided, but let's not create a new translation key, and keep the behaviour + // consistent. + event.returnValue = ""; } } - preventLeavingBulkForm(e) { - // Cancel the event - e.preventDefault(); - // Chrome requires returnValue to be set. Other browsers may display this if provided, but let's - // not create a new translation key, and keep the behaviour consistent. - e.returnValue = ""; - } - // private + #registerSubmit() { + this.submitting = true; + } + #registerElements(elements) { for (const element of elements) { element.addEventListener("input", this.toggleChanged.bind(this)); // immediately respond to any change From dadabcf8adc29a1cbe94586b7a26ee09862871ae Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 3 Apr 2024 14:05:25 +1100 Subject: [PATCH 290/374] Prettify --- .../controllers/bulk_form_controller.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app/webpacker/controllers/bulk_form_controller.js b/app/webpacker/controllers/bulk_form_controller.js index b81165f9f0..602f7c0127 100644 --- a/app/webpacker/controllers/bulk_form_controller.js +++ b/app/webpacker/controllers/bulk_form_controller.js @@ -45,7 +45,9 @@ export default class BulkFormController extends Controller { registerElements() { const registeredElements = Object.values(this.recordElements).flat(); // Select only elements that haven't been registered yet - const newElements = Array.from(this.form.elements).filter(n => !registeredElements.includes(n)); + const newElements = Array.from(this.form.elements).filter( + (n) => !registeredElements.includes(n), + ); this.#registerElements(newElements); } @@ -61,7 +63,7 @@ export default class BulkFormController extends Controller { // For each record, check if any fields are changed // TODO: optimise basd on current state. if field is changed, but form already changed, no need to update (and vice versa) const changedRecordCount = Object.values(this.recordElements).filter((elements) => - elements.some(this.#isChanged) + elements.some(this.#isChanged), ).length; this.formChanged = changedRecordCount > 0 || this.errorValue; @@ -79,7 +81,7 @@ export default class BulkFormController extends Controller { // If form is not being submitted, warn to prevent accidental data loss preventLeavingChangedForm(event) { - if (this.formChanged && !this.submitting){ + if (this.formChanged && !this.submitting) { // Cancel the event event.preventDefault(); // Chrome requires returnValue to be set, but ignores the value. Other browsers may display @@ -124,7 +126,7 @@ export default class BulkFormController extends Controller { forms && forms.forEach((form) => - Array.from(form.elements).forEach((formElement) => (formElement.disabled = disable)) + Array.from(form.elements).forEach((formElement) => (formElement.disabled = disable)), ); }); } @@ -132,11 +134,11 @@ export default class BulkFormController extends Controller { #isChanged(element) { if (element.type == "checkbox") { return element.defaultChecked !== undefined && element.checked != element.defaultChecked; - } else if (element.type == "select-one") { - const defaultSelected = Array.from(element.options).find((opt)=>opt.hasAttribute('selected')); + const defaultSelected = Array.from(element.options).find((opt) => + opt.hasAttribute("selected"), + ); return element.selectedOptions[0] != defaultSelected; - } else { return element.defaultValue !== undefined && element.value != element.defaultValue; } From 8696e05e66cb9e617fbaa82886e7276087b48b5b Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 2 Apr 2024 17:08:44 +1100 Subject: [PATCH 291/374] Move index and bulk_update actions to good ol' HTTP requests We've found that we just can't rely in StimulusReflex (and the underlying WebSockets stack) to guarantee a response to a request. Because of this, there was intermittent issues when the server was overloaded with large requests, and the response never arrived, leaving an infinite loader, and a poor user wondering if anything was still happening. --- .../admin/products_v3_controller.rb | 130 +++++++++++++++++- app/reflexes/products_reflex.rb | 21 --- .../admin/products_v3/_filters.html.haml | 4 +- app/views/admin/products_v3/_sort.html.haml | 2 +- app/views/admin/products_v3/_table.html.haml | 19 ++- app/views/admin/products_v3/index.html.haml | 9 +- .../controllers/products_controller.js | 2 - config/routes/admin.rb | 6 +- .../system/admin/products_v3/products_spec.rb | 19 ++- 9 files changed, 164 insertions(+), 48 deletions(-) diff --git a/app/controllers/admin/products_v3_controller.rb b/app/controllers/admin/products_v3_controller.rb index ede851965d..7a00d77144 100644 --- a/app/controllers/admin/products_v3_controller.rb +++ b/app/controllers/admin/products_v3_controller.rb @@ -2,6 +2,134 @@ module Admin class ProductsV3Controller < Spree::Admin::BaseController - def index; end + before_action :init_filters_params + before_action :init_pagination_params + + def index + fetch_products + render "index", locals: { producers:, categories:, flash: } + end + + def bulk_update + product_set = product_set_from_params + + product_set.collection.each { |p| authorize! :update, p } + @products = product_set.collection # use instance variable mainly for testing + + if product_set.save + flash[:success] = I18n.t('admin.products_v3.bulk_update.success') + redirect_to [:index, { page: @page, per_page: @per_page }] + elsif product_set.errors.present? + @error_counts = { saved: product_set.saved_count, invalid: product_set.invalid.count } + + render "index", locals: { producers:, categories:, flash: } + end + end + + def index_url + "/admin/products" # todo: fix routing so this can be automatically generated + end + + private + + def init_filters_params + # params comes from the form + # _params comes from the url + # priority is given to params from the form (if present) over url params + @search_term = params[:search_term] || params[:_search_term] + @producer_id = params[:producer_id] || params[:_producer_id] + @category_id = params[:category_id] || params[:_category_id] + end + + def init_pagination_params + # prority is given to element dataset (if present) over url params + @page = params[:_page] || 1 + @per_page = params[:_per_page] || 15 + end + + def producers + producers = OpenFoodNetwork::Permissions.new(spree_current_user) + .managed_product_enterprises.is_primary_producer.by_name + producers.map { |p| [p.name, p.id] } + end + + def categories + Spree::Taxon.order(:name).map { |c| [c.name, c.id] } + end + + def fetch_products + product_query = OpenFoodNetwork::Permissions.new(spree_current_user) + .editable_products.merge(product_scope).ransack(ransack_query).result + @pagy, @products = pagy(product_query.order(:name), items: @per_page, page: @page, + size: [1, 2, 2, 1]) + end + + def product_scope + user = spree_current_user + scope = if user.has_spree_role?("admin") || user.enterprises.present? + Spree::Product + else + Spree::Product.active + end + + scope.includes(product_query_includes) + end + + def ransack_query + query = {} + query.merge!(supplier_id_in: @producer_id) if @producer_id.present? + if @search_term.present? + query.merge!(Spree::Variant::SEARCH_KEY => @search_term) + end + query.merge!(primary_taxon_id_in: @category_id) if @category_id.present? + query + end + + # Optimise by pre-loading required columns + def product_query_includes + # TODO: add other fields used in columns? (eg supplier: [:name]) + [ + # variants: [ + # :default_price, + # :stock_locations, + # :stock_items, + # :variant_overrides + # ] + ] + end + + # Similar to spree/admin/products_controller + def product_set_from_params + # Form field names: + # '[products][0][id]' (hidden field) + # '[products][0][name]' + # '[products][0][variants_attributes][0][id]' (hidden field) + # '[products][0][variants_attributes][0][display_name]' + # + # Resulting in params: + # "products" => { + # "0" => { + # "id" => "123" + # "name" => "Pommes", + # "variants_attributes" => { + # "0" => { + # "id" => "1234", + # "display_name" => "Large box", + # } + # } + # } + collection_hash = products_bulk_params[:products] + .transform_values { |product| + # Convert variants_attributes form hash to an array if present + product[:variants_attributes] &&= product[:variants_attributes].values + product + }.with_indifferent_access + Sets::ProductSet.new(collection_attributes: collection_hash) + end + + def products_bulk_params + params.permit(products: ::PermittedAttributes::Product.attributes) + .to_h.with_indifferent_access + end end end diff --git a/app/reflexes/products_reflex.rb b/app/reflexes/products_reflex.rb index e8d7634b7c..66a5ca17e7 100644 --- a/app/reflexes/products_reflex.rb +++ b/app/reflexes/products_reflex.rb @@ -16,12 +16,6 @@ class ProductsReflex < ApplicationReflex fetch_and_render_products_with_flash end - def filter - @page = 1 - - fetch_and_render_products_with_flash - end - def clear_search @search_term = nil @producer_id = nil @@ -31,21 +25,6 @@ class ProductsReflex < ApplicationReflex fetch_and_render_products_with_flash end - def bulk_update - product_set = product_set_from_params - - product_set.collection.each { |p| authorize! :update, p } - @products = product_set.collection # use instance variable mainly for testing - - if product_set.save - flash[:success] = I18n.t('admin.products_v3.bulk_update.success') - elsif product_set.errors.present? - @error_counts = { saved: product_set.saved_count, invalid: product_set.invalid.count } - end - - render_products_form_with_flash - end - def delete_product id = current_id_from_element(element) product = product_finder(id).find_product diff --git a/app/views/admin/products_v3/_filters.html.haml b/app/views/admin/products_v3/_filters.html.haml index e413f481d3..c8b173aea7 100644 --- a/app/views/admin/products_v3/_filters.html.haml +++ b/app/views/admin/products_v3/_filters.html.haml @@ -1,4 +1,4 @@ -%form{ id: "filters", 'data-reflex-serialize-form': true, 'data-reflex': 'submit->products#filter' } +%form{ id: "filters" } .query .search-input = text_field_tag :search_term, search_term, placeholder: t('.search_products') @@ -15,4 +15,4 @@ data: { "controller": "tom-select", 'tom-select-placeholder-value': t('.search_for_categories')} .submit .search-button - = button_tag t(".search"), class: "secondary icon-search relaxed" + = button_tag t(".search"), class: "secondary icon-search relaxed", name: nil diff --git a/app/views/admin/products_v3/_sort.html.haml b/app/views/admin/products_v3/_sort.html.haml index b89d926cef..f0de4b76d4 100644 --- a/app/views/admin/products_v3/_sort.html.haml +++ b/app/views/admin/products_v3/_sort.html.haml @@ -2,7 +2,7 @@ %div = t(".pagination.total_html", total: pagy.count, from: pagy.from, to: pagy.to) - if search_term.present? || producer_id.present? || category_id.present? - %a{ href: "#", class: "button disruptive", data: { reflex: "click->products#clear_search" } } + %a{ href: "#", class: "button disruptive" } = t(".pagination.clear_search") %form.with-dropdown = t(".pagination.per_page.show") diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 750746ddc3..6b85adaf05 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -1,8 +1,7 @@ -= form_with url: bulk_update_admin_products_path, method: :patch, id: "products-form", += form_with url: bulk_update_admin_products_path, method: :post, id: "products-form", builder: BulkFormBuilder, - html: { data: { reflex: 'submit->products#bulk_update', 'reflex-serialize-form': true, - controller: "bulk-form", 'bulk-form-disable-selector-value': "#sort,#filters", - 'bulk-form-error-value': defined?(error_counts), + html: { data: { controller: "bulk-form", 'bulk-form-disable-selector-value': "#sort,#filters", + 'bulk-form-error-value': defined?(@error_counts), } } do |form| = render(partial: "admin/shared/flashes", locals: { flashes: }) if defined? flashes %table.products @@ -23,20 +22,20 @@ %tr %td.form-actions-wrapper{ colspan: 12 } .form-actions-wrapper2 - %fieldset.form-actions{ class: ("hidden" unless defined?(error_counts)), 'data-bulk-form-target': "actions" } + %fieldset.form-actions{ class: ("hidden" unless defined?(@error_counts)), 'data-bulk-form-target': "actions" } .container .status .modified_summary{ 'data-bulk-form-target': "changedSummary", 'data-translation-key': 'admin.products_v3.table.changed_summary'} - - if defined?(error_counts) + - if defined?(@error_counts) .error_summary - - if error_counts[:saved] > 0 + - if @error_counts[:saved] > 0 -# X products were saved correctly, but Y products could not be saved correctly. Please review errors and try again - = t('.error_summary.saved', count: error_counts[:saved]) + t('.error_summary.invalid', count: error_counts[:invalid]) + = t('.error_summary.saved', count: @error_counts[:saved]) + t('.error_summary.invalid', count: @error_counts[:invalid]) - else -# Y products could not be saved correctly. Please review errors and try again - = t('.error_summary.invalid', count: error_counts[:invalid]) + = t('.error_summary.invalid', count: @error_counts[:invalid]) .form-buttons - = form.submit t('.reset'), type: :reset, class: "medium", 'data-reflex': 'click->products#fetch' + = form.submit t('.reset'), type: :reset, class: "medium" = form.submit t('.save'), class: "medium" %tr %th.align-left= # image diff --git a/app/views/admin/products_v3/index.html.haml b/app/views/admin/products_v3/index.html.haml index f6d3be9f81..2ac344c476 100644 --- a/app/views/admin/products_v3/index.html.haml +++ b/app/views/admin/products_v3/index.html.haml @@ -14,12 +14,15 @@ = render partial: 'spree/admin/shared/product_sub_menu' #products_v3_page{ "data-controller": "products" } - - .spinner-overlay{ "data-controller": "loading", "data-products-target": "loading" } + .spinner-overlay{ "data-controller": "loading", "data-products-target": "loading", class: "hidden" } .spinner-container .spinner = t('.loading') - #products-content + + = render partial: "content", locals: { products: @products, pagy: @pagy, search_term: @search_term, + producer_options: producers, producer_id: @producer_id, + category_options: categories, category_id: @category_id, + flashes: flash } - %w[product variant].each do |object_type| = render partial: 'delete_modal', locals: { object_type: } #modal-component diff --git a/app/webpacker/controllers/products_controller.js b/app/webpacker/controllers/products_controller.js index 6fe8662f50..9ec3ac1a86 100644 --- a/app/webpacker/controllers/products_controller.js +++ b/app/webpacker/controllers/products_controller.js @@ -6,8 +6,6 @@ export default class extends ApplicationController { connect() { super.connect(); - // Fetch the products on page load - this.stimulate("Products#fetch"); } beforeReflex() { diff --git a/config/routes/admin.rb b/config/routes/admin.rb index 8d0a9f6705..1a7ca8c3cc 100644 --- a/config/routes/admin.rb +++ b/config/routes/admin.rb @@ -70,9 +70,9 @@ Openfoodnetwork::Application.routes.draw do resources :dfc_product_imports, only: [:index] constraints FeatureToggleConstraint.new(:admin_style_v3) do - resources :products, to: 'products_v3#index', only: :index do - patch :bulk_update, on: :collection - end + # This might be easier to arrange once we rename the controller to plain old "products" + post '/products/bulk_update', to: 'products_v3#bulk_update' + get '/products', to: 'products_v3#index' end resources :variant_overrides do diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index df24a79483..14e1765036 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -383,6 +383,8 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do let!(:product_b) { create(:simple_product, name: "Bananas") } before do + visit admin_products_url + within row_containing_name("Apples") do fill_in "Name", with: "" fill_in "SKU", with: "A" * 256 @@ -580,6 +582,8 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do let!(:product_b) { create(:simple_product, name: "Bananas") } before do + visit admin_products_url + within row_containing_name("Apples") do fill_in "Name", with: "" fill_in "SKU", with: "A" * 256 @@ -741,11 +745,11 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do "tr:has(input[aria-label=Price][value='#{product_a.price}'])" } - before do - visit admin_products_url - end - describe "Actions columns (delete)" do + before do + visit admin_products_url + end + it "shows an actions menu with a delete link when clicking on icon for product. " \ "doesn't show delete link for the single variant" do within product_selector do @@ -761,13 +765,14 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do end end - it "shows an actions menu with a delete link when clicking on icon for variant" \ + it "shows an actions menu with a delete link when clicking on icon for variant " \ "if have multiple" do create(:variant, product: product_a, display_name: "Medium box", sku: "APL-01", price: 5.25) + visit admin_products_url # to select the default variant within default_variant_selector do @@ -796,6 +801,8 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do context "when 'keep product/variant' is selected" do it 'should not delete the product/variant' do + visit admin_products_url + # Keep Product within product_selector do page.find(".vertical-ellipsis-menu").click @@ -828,6 +835,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do let(:success_flash_message_selector) { "div.flash.success" } let(:error_flash_message_selector) { "div.flash.error" } it 'should successfully delete the product/variant' do + visit admin_products_url # Delete Variant within variant_selector do page.find(".vertical-ellipsis-menu").click @@ -867,6 +875,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do end it 'should be failed to delete the product/variant' do + visit admin_products_url allow_any_instance_of(Spree::Product).to receive(:destroy).and_return(false) allow_any_instance_of(Spree::Variant).to receive(:destroy).and_return(false) From 2c71f7f1ed2942a19db530a2ede0a6320fdc365f Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 3 Apr 2024 15:12:04 +1100 Subject: [PATCH 292/374] Discard changes by reloading the page Now there's a popup asking to confirm, which I think is worth keeping! --- app/views/admin/products_v3/_table.html.haml | 4 +++- app/webpacker/css/admin_v3/components/buttons.scss | 3 ++- spec/system/admin/products_v3/products_spec.rb | 4 +++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 6b85adaf05..6f9850e778 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -35,7 +35,9 @@ -# Y products could not be saved correctly. Please review errors and try again = t('.error_summary.invalid', count: @error_counts[:invalid]) .form-buttons - = form.submit t('.reset'), type: :reset, class: "medium" + + %a.button.reset.medium{ href: admin_products_path(page: @page, per_page: @per_page) } + = t('.reset') = form.submit t('.save'), class: "medium" %tr %th.align-left= # image diff --git a/app/webpacker/css/admin_v3/components/buttons.scss b/app/webpacker/css/admin_v3/components/buttons.scss index f213dd7bc3..01ede577d1 100644 --- a/app/webpacker/css/admin_v3/components/buttons.scss +++ b/app/webpacker/css/admin_v3/components/buttons.scss @@ -158,7 +158,8 @@ button:not(.plain):not(.trix-button), } // --- Reset buttons --- -input[type="reset"] { +input[type="reset"], +.reset { // Reset button looks like a link, but has a border the same as buttons when active. background: none; border: 1px solid transparent; diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 14e1765036..0f23adf05c 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -369,7 +369,9 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do product_a.update! sku: "APL-10" expect { - click_button "Discard changes" + accept_confirm do + click_on "Discard changes" + end product_a.reload }.not_to change { product_a.name } From 0fc3d39106e61528feaca47d2bd4e87180991e18 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 3 Apr 2024 16:56:29 +1100 Subject: [PATCH 293/374] Ensure pagination is retained when saving or discarding But we have more work to do. --- .../admin/products_v3_controller.rb | 8 ++--- app/views/admin/products_v3/_table.html.haml | 5 ++- .../system/admin/products_v3/products_spec.rb | 31 +++++++++++++++++++ 3 files changed, 39 insertions(+), 5 deletions(-) diff --git a/app/controllers/admin/products_v3_controller.rb b/app/controllers/admin/products_v3_controller.rb index 7a00d77144..1750083cea 100644 --- a/app/controllers/admin/products_v3_controller.rb +++ b/app/controllers/admin/products_v3_controller.rb @@ -26,8 +26,8 @@ module Admin end end - def index_url - "/admin/products" # todo: fix routing so this can be automatically generated + def index_url(params) + "/admin/products?#{params.to_query}" # todo: fix routing so this can be automaticly generated end private @@ -43,8 +43,8 @@ module Admin def init_pagination_params # prority is given to element dataset (if present) over url params - @page = params[:_page] || 1 - @per_page = params[:_per_page] || 15 + @page = params[:_page].presence || 1 + @per_page = params[:_per_page].presence || 15 end def producers diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 6f9850e778..bf7154de84 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -4,6 +4,10 @@ 'bulk-form-error-value': defined?(@error_counts), } } do |form| = render(partial: "admin/shared/flashes", locals: { flashes: }) if defined? flashes + + = hidden_field_tag :_page, @page + = hidden_field_tag :_per_page, @per_page + %table.products %colgroup %col{ width:"56" }= # Img (size + padding) @@ -35,7 +39,6 @@ -# Y products could not be saved correctly. Please review errors and try again = t('.error_summary.invalid', count: @error_counts[:invalid]) .form-buttons - %a.button.reset.medium{ href: admin_products_path(page: @page, per_page: @per_page) } = t('.reset') = form.submit t('.save'), class: "medium" diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 0f23adf05c..9622ce4a9d 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -608,6 +608,37 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_content "Please review the errors and try again" end end + + context "pagination" do + let!(:product_a) { create(:simple_product, name: "zucchini") } # appears on p2 + + it "retains selected page after saving" do + create_products 15 # in addition to product_a + visit admin_products_url + + within ".pagination" do + click_link "2" + end + + within row_containing_name("zucchini") do + fill_in "Name", with: "zucchinis" + end + + expect { + click_button "Save changes" + + expect(page).to have_content "Changes saved" + product_a.reload + }.to change { product_a.name }.to("zucchinis") + + pending "awaiting pagination to be loaded without SR" + expect(page).to have_content "Showing 16 to 16" # todo: remove unnecessary duplication + expect_page_to_be 2 + expect_per_page_to_be 15 + expect_products_count_to_be 1 + expect(page).to have_css row_containing_name("zucchinis") + end + end end describe "edit image" do From fd8be37a6278d657c407d4b7fe875be67687fecc Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 4 Apr 2024 09:54:45 +1100 Subject: [PATCH 294/374] Use shared page controls on products screen This has an auto submit and can potentially work with Turbo, like on the Orders screen. --- app/controllers/admin/products_v3_controller.rb | 4 ++-- app/reflexes/products_reflex.rb | 4 ---- app/views/admin/products_v3/_content.html.haml | 2 +- app/views/admin/products_v3/_filters.html.haml | 5 ++++- app/views/admin/products_v3/_sort.html.haml | 7 +++++-- app/views/admin/products_v3/_table.html.haml | 4 ++-- app/views/admin/shared/v3/_pagy.html.haml | 15 --------------- config/locales/en.yml | 15 +++++++-------- spec/system/admin/products_v3/products_spec.rb | 10 ++++------ 9 files changed, 25 insertions(+), 41 deletions(-) delete mode 100644 app/views/admin/shared/v3/_pagy.html.haml diff --git a/app/controllers/admin/products_v3_controller.rb b/app/controllers/admin/products_v3_controller.rb index 1750083cea..ff5973fc49 100644 --- a/app/controllers/admin/products_v3_controller.rb +++ b/app/controllers/admin/products_v3_controller.rb @@ -43,8 +43,8 @@ module Admin def init_pagination_params # prority is given to element dataset (if present) over url params - @page = params[:_page].presence || 1 - @per_page = params[:_per_page].presence || 15 + @page = params[:page].presence || 1 + @per_page = params[:per_page].presence || 15 end def producers diff --git a/app/reflexes/products_reflex.rb b/app/reflexes/products_reflex.rb index 66a5ca17e7..9cad290331 100644 --- a/app/reflexes/products_reflex.rb +++ b/app/reflexes/products_reflex.rb @@ -5,10 +5,6 @@ class ProductsReflex < ApplicationReflex before_reflex :init_filters_params, :init_pagination_params - def fetch - fetch_and_render_products_with_flash - end - def change_per_page @per_page = element.value.to_i @page = 1 diff --git a/app/views/admin/products_v3/_content.html.haml b/app/views/admin/products_v3/_content.html.haml index b805747b71..b9a5625e84 100644 --- a/app/views/admin/products_v3/_content.html.haml +++ b/app/views/admin/products_v3/_content.html.haml @@ -13,7 +13,7 @@ = render partial: 'sort', locals: { pagy: pagy, search_term: search_term, producer_id: producer_id, category_id: category_id } = render partial: 'table', locals: { products: products } - if pagy.pages > 1 - = render partial: 'admin/shared/v3/pagy', locals: { pagy: pagy, reflex: "click->Products#fetch" } + = render partial: 'admin/shared/stimulus_pagination', locals: { pagy: pagy } - else #no-products = render partial: "no_products", locals: { search_term: search_term, producer_id: producer_id, category_id: category_id } diff --git a/app/views/admin/products_v3/_filters.html.haml b/app/views/admin/products_v3/_filters.html.haml index c8b173aea7..ec13f12c90 100644 --- a/app/views/admin/products_v3/_filters.html.haml +++ b/app/views/admin/products_v3/_filters.html.haml @@ -1,4 +1,7 @@ -%form{ id: "filters" } += form_with url: admin_products_path, id: "filters", method: :get, data: { remote: false, "search-target": "form" } do + = hidden_field_tag :page, @page, class: "page" + = hidden_field_tag :per_page, @per_page, class: "per-page" + .query .search-input = text_field_tag :search_term, search_term, placeholder: t('.search_products') diff --git a/app/views/admin/products_v3/_sort.html.haml b/app/views/admin/products_v3/_sort.html.haml index f0de4b76d4..848710fe58 100644 --- a/app/views/admin/products_v3/_sort.html.haml +++ b/app/views/admin/products_v3/_sort.html.haml @@ -2,8 +2,11 @@ %div = t(".pagination.total_html", total: pagy.count, from: pagy.from, to: pagy.to) - if search_term.present? || producer_id.present? || category_id.present? - %a{ href: "#", class: "button disruptive" } + %a{ href: url_for(per_page: @per_page, page: @page), class: "button disruptive" } = t(".pagination.clear_search") %form.with-dropdown = t(".pagination.per_page.show") - = select_tag :per_page, options_for_select([15, 25, 50, 100].collect{|i| [t('.pagination.per_page.per_page', num: i), i]}, pagy.items), class: "no-input per-page", data: { reflex: "change->products#change_per_page", controller: "tom-select", "tom-select-options-value": '{ "plugins": [] }'} + = select_tag :per_page, + options_for_select([15, 25, 50, 100].collect{|i| [t('.pagination.per_page.per_page', num: i), i]}, pagy.items), + class: "no-input per-page", + data: { controller: "tom-select search", action: "change->search#changePerPage", "tom-select-options-value": '{ "plugins": [] }'} diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index bf7154de84..4a34b81258 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -5,8 +5,8 @@ } } do |form| = render(partial: "admin/shared/flashes", locals: { flashes: }) if defined? flashes - = hidden_field_tag :_page, @page - = hidden_field_tag :_per_page, @per_page + = hidden_field_tag :page, @page + = hidden_field_tag :per_page, @per_page %table.products %colgroup diff --git a/app/views/admin/shared/v3/_pagy.html.haml b/app/views/admin/shared/v3/_pagy.html.haml deleted file mode 100644 index 6456fae45a..0000000000 --- a/app/views/admin/shared/v3/_pagy.html.haml +++ /dev/null @@ -1,15 +0,0 @@ -%nav.pagy_nav.pagination{"aria-label" => "pager", :role => "navigation"} - - if pagy.prev - %a.page.prev{ href: "#", id: "pagy-prev", "data-reflex": reflex, "data-perPage": pagy.items, "data-page": pagy.prev || 1, "aria-label": "previous"} - %i.icon-chevron-left - - pagy.series.each do |item| # series example: [1, :gap, 7, 8, "9", 10, 11, :gap, 36] - - if item.is_a?(Integer) # page link - %a.page{ href: "#", id:"pagy-#{item}", "data-reflex": reflex, "data-perPage": pagy.items, "data-page": item, "aria-label": "page #{item}"} - = item - - elsif item.is_a?(String) # current page - %span.page.current= item - - elsif item == :gap # page gap - %span.page.gap … - - if pagy.next - %a.page.next{ href: "#", id:"pagy-next", "data-reflex": reflex, "data-perPage": pagy.items, "data-page": pagy.next || pagy.last, "aria-label": "next"} - %i.icon-chevron-right diff --git a/config/locales/en.yml b/config/locales/en.yml index 17adb4de41..3c3c1d1c1d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -848,13 +848,6 @@ en: prompt: "This will permanently remove it from your list." confirmation_text: "Delete variant" cancellation_text: "Keep variant" - sort: - pagination: - total_html: "%{total} products found for your search criteria. Showing %{from} to %{to}." - per_page: - show: Show - per_page: "%{num} per page" - clear_search: Clear search filters: search_products: Search for products search_for_producers: Search for producers @@ -866,7 +859,13 @@ en: categories: label: Categories search: Search - content: + sort: + pagination: + total_html: "%{total} products found for your search criteria. Showing %{from} to %{to}." + per_page: + show: Show + per_page: "%{num} per page" + clear_search: Clear search no_products: no_products_found: No products found import_products: Import multiple products diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 9622ce4a9d..9911ca78dc 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -43,7 +43,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_selector ".pagination" expect_products_count_to_be 15 within ".pagination" do - click_link "2" + click_on "2" end expect(page).to have_content "Showing 16 to 16" # todo: remove unnecessary duplication @@ -86,7 +86,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do visit admin_products_url within ".pagination" do - click_link "2" + click_on "2" end expect(page).to have_content "Showing 16 to 16" @@ -617,9 +617,8 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do visit admin_products_url within ".pagination" do - click_link "2" + click_on "2" end - within row_containing_name("zucchini") do fill_in "Name", with: "zucchinis" end @@ -631,7 +630,6 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do product_a.reload }.to change { product_a.name }.to("zucchinis") - pending "awaiting pagination to be loaded without SR" expect(page).to have_content "Showing 16 to 16" # todo: remove unnecessary duplication expect_page_to_be 2 expect_per_page_to_be 15 @@ -959,7 +957,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do end def expect_page_to_be(page_number) - expect(page).to have_selector ".pagination span.page.current", text: page_number.to_s + expect(page).to have_selector ".pagination .page.current", text: page_number.to_s end def expect_per_page_to_be(per_page) From c4b7b76e6481aa6f003443637ce72fd6e7df0339 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 4 Apr 2024 16:06:03 +1100 Subject: [PATCH 295/374] Avoid pagination when editing errored products --- app/views/admin/products_v3/_content.html.haml | 2 +- app/views/admin/products_v3/_filters.html.haml | 4 ++-- app/views/admin/products_v3/_sort.html.haml | 11 +++++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/app/views/admin/products_v3/_content.html.haml b/app/views/admin/products_v3/_content.html.haml index b9a5625e84..64e6620ef9 100644 --- a/app/views/admin/products_v3/_content.html.haml +++ b/app/views/admin/products_v3/_content.html.haml @@ -12,7 +12,7 @@ .sixteen.columns = render partial: 'sort', locals: { pagy: pagy, search_term: search_term, producer_id: producer_id, category_id: category_id } = render partial: 'table', locals: { products: products } - - if pagy.pages > 1 + - if pagy.present? && pagy.pages > 1 = render partial: 'admin/shared/stimulus_pagination', locals: { pagy: pagy } - else #no-products diff --git a/app/views/admin/products_v3/_filters.html.haml b/app/views/admin/products_v3/_filters.html.haml index ec13f12c90..30a95abc08 100644 --- a/app/views/admin/products_v3/_filters.html.haml +++ b/app/views/admin/products_v3/_filters.html.haml @@ -1,6 +1,6 @@ = form_with url: admin_products_path, id: "filters", method: :get, data: { remote: false, "search-target": "form" } do - = hidden_field_tag :page, @page, class: "page" - = hidden_field_tag :per_page, @per_page, class: "per-page" + = hidden_field_tag :page, nil, class: "page" + = hidden_field_tag :per_page, nil, class: "per-page" .query .search-input diff --git a/app/views/admin/products_v3/_sort.html.haml b/app/views/admin/products_v3/_sort.html.haml index 848710fe58..8bd5b249bc 100644 --- a/app/views/admin/products_v3/_sort.html.haml +++ b/app/views/admin/products_v3/_sort.html.haml @@ -1,12 +1,15 @@ #sort %div - = t(".pagination.total_html", total: pagy.count, from: pagy.from, to: pagy.to) + - if pagy.present? + = t(".pagination.total_html", total: pagy.count, from: pagy.from, to: pagy.to) + - if search_term.present? || producer_id.present? || category_id.present? - %a{ href: url_for(per_page: @per_page, page: @page), class: "button disruptive" } - = t(".pagination.clear_search") + %a{ href: url_for(page: 1), class: "button disruptive" } + = t(".pagination.clear_search") + %form.with-dropdown = t(".pagination.per_page.show") = select_tag :per_page, - options_for_select([15, 25, 50, 100].collect{|i| [t('.pagination.per_page.per_page', num: i), i]}, pagy.items), + options_for_select([15, 25, 50, 100].collect{|i| [t('.pagination.per_page.per_page', num: i), i]}, pagy&.items), class: "no-input per-page", data: { controller: "tom-select search", action: "change->search#changePerPage", "tom-select-options-value": '{ "plugins": [] }'} From 54d0dfb141c9e4f059253c19cd49acc26fbec91a Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 4 Apr 2024 13:09:28 +1100 Subject: [PATCH 296/374] Prevent duplicate products in search results Dunno why, but the product was appearing once for each variant. --- app/controllers/admin/products_v3_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/products_v3_controller.rb b/app/controllers/admin/products_v3_controller.rb index ff5973fc49..48751cf323 100644 --- a/app/controllers/admin/products_v3_controller.rb +++ b/app/controllers/admin/products_v3_controller.rb @@ -72,7 +72,7 @@ module Admin Spree::Product.active end - scope.includes(product_query_includes) + scope.includes(product_query_includes).distinct end def ransack_query From 15790d3d8e3a78a9f8d930bfc33d1d242ff09f63 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 4 Apr 2024 13:41:23 +1100 Subject: [PATCH 297/374] Only register event listeners when needed Otherwise there could be over 200 listeners on a page. --- .../controllers/popout_controller.js | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/app/webpacker/controllers/popout_controller.js b/app/webpacker/controllers/popout_controller.js index 30a2061187..c3d66d744f 100644 --- a/app/webpacker/controllers/popout_controller.js +++ b/app/webpacker/controllers/popout_controller.js @@ -15,18 +15,14 @@ export default class PopoutController extends Controller { this.buttonTarget.addEventListener("click", this.show.bind(this)); this.buttonTarget.addEventListener("keydown", this.applyKeyAction.bind(this)); - // Close when click or tab outside of dialog. Run async (don't block primary event handlers). - this.closeIfOutsideBound = this.closeIfOutside.bind(this); // Store reference for removing listeners later. - document.addEventListener("click", this.closeIfOutsideBound, { passive: true }); - document.addEventListener("focusin", this.closeIfOutsideBound, { passive: true }); + this.closeIfOutsideBound = this.closeIfOutside.bind(this); // Store reference for managing listeners. } disconnect() { // Clean up handlers registered outside the controller element. // (jest cleans up document too early) if (document) { - document.removeEventListener("click", this.closeIfOutsideBound); - document.removeEventListener("focusin", this.closeIfOutsideBound); + this.#removeGlobalEventListeners(); } } @@ -34,6 +30,9 @@ export default class PopoutController extends Controller { this.dialogTarget.style.display = "block"; this.first_input.focus(); e.preventDefault(); + + // Close when click or tab outside of dialog. + this.#addGlobalEventListeners(); } // Apply an appropriate action, behaving similar to a dropdown @@ -68,6 +67,8 @@ export default class PopoutController extends Controller { this.buttonTarget.classList.toggle("changed", this.#isChanged()); this.dialogTarget.style.display = "none"; + + this.#removeGlobalEventListeners(); } } @@ -109,4 +110,15 @@ export default class PopoutController extends Controller { #enabledDisplayElements() { return this.displayElements.filter((element) => !element.disabled); } + + #addGlobalEventListeners() { + // Run async (don't block primary event handlers). + document.addEventListener("click", this.closeIfOutsideBound, { passive: true }); + document.addEventListener("focusin", this.closeIfOutsideBound, { passive: true }); + } + + #removeGlobalEventListeners() { + document.removeEventListener("click", this.closeIfOutsideBound); + document.removeEventListener("focusin", this.closeIfOutsideBound); + } } From 97d13597b058540f3381771bf589a218bd1df5ef Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 4 Apr 2024 13:42:33 +1100 Subject: [PATCH 298/374] Fix intermittent bug Dunno why, but this recently started occuring for me in dev and test. Browser update? --- app/webpacker/controllers/popout_controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/webpacker/controllers/popout_controller.js b/app/webpacker/controllers/popout_controller.js index c3d66d744f..c62d7934dd 100644 --- a/app/webpacker/controllers/popout_controller.js +++ b/app/webpacker/controllers/popout_controller.js @@ -73,7 +73,9 @@ export default class PopoutController extends Controller { } closeIfOutside(e) { - if (!this.dialogTarget.contains(e.target)) { + // Note that we need to ignore the clicked button. Even though the listener was only just + // registered, it still fires sometimes for some unkown reason. + if (!this.dialogTarget.contains(e.target) && !this.buttonTarget.contains(e.target)) { this.close(); } } From 129ceb01f041177683020f9ab7884806cb045358 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 4 Apr 2024 16:32:26 +1100 Subject: [PATCH 299/374] Fix spec --- spec/reflexes/products_reflex_spec.rb | 230 -------------------------- 1 file changed, 230 deletions(-) diff --git a/spec/reflexes/products_reflex_spec.rb b/spec/reflexes/products_reflex_spec.rb index cb8314b544..97bf617161 100644 --- a/spec/reflexes/products_reflex_spec.rb +++ b/spec/reflexes/products_reflex_spec.rb @@ -14,236 +14,6 @@ describe ProductsReflex, type: :reflex, feature: :admin_style_v3 do allow_any_instance_of(described_class).to receive(:flash).and_return(flash) end - describe '#fetch' do - subject { build_reflex(method_name: :fetch, **context) } - - describe "sorting" do - let!(:product_z) { create(:simple_product, name: "Zucchini") } - # let!(:product_b) { create(:simple_product, name: "bananas") } # Fails on macOS - let!(:product_a) { create(:simple_product, name: "Apples") } - - it "Should sort products alphabetically by default" do - subject.run(:fetch) - - expect(subject.get(:products).to_a).to eq [ - product_a, - # product_b, - product_z, - ] - end - end - end - - describe '#filter' do - context "when filtering by category" do - let!(:product_a) { create(:simple_product, name: "Apples") } - let!(:product_z) do - create(:simple_product, name: "Zucchini").tap do |p| - p.variants.first.update(primary_taxon: category_c) - end - end - let(:category_c) { create(:taxon, name: "Category 1") } - - it "returns product with a variant matching the given category" do - # Add a second variant to test we are not returning duplicate product - product_z.variants << create(:variant, primary_taxon: category_c) - - reflex = run_reflex(:filter, params: { category_id: category_c.id } ) - - expect(reflex.get(:products).to_a).to eq([product_z]) - end - end - end - - describe '#bulk_update' do - let!(:variant_a1) { - product_a.variants.first.tap{ |v| - v.update! display_name: "Medium box", sku: "APL-01", price: 5.25, on_hand: 5, - on_demand: false - } - } - let!(:product_c) { create(:simple_product, name: "Carrots", sku: "CAR-00") } - let!(:product_b) { create(:simple_product, name: "Bananas", sku: "BAN-00") } - let!(:product_a) { create(:simple_product, name: "Apples", sku: "APL-00") } - - it "saves valid changes" do - params = { - # '[products][0][name]' - "products" => { - "0" => { - "id" => product_a.id.to_s, - "name" => "Pommes", - "sku" => "POM-00", - }, - }, - } - - expect{ - run_reflex(:bulk_update, params:) - product_a.reload - }.to change{ product_a.name }.to("Pommes") - .and change{ product_a.sku }.to("POM-00") - - expect(flash).to include success: "Changes saved" - end - - it "saves valid changes to products and nested variants" do - # Form field names: - # '[products][0][id]' (hidden field) - # '[products][0][name]' - # '[products][0][variants_attributes][0][id]' (hidden field) - # '[products][0][variants_attributes][0][display_name]' - params = { - "products" => { - "0" => { - "id" => product_a.id.to_s, - "name" => "Pommes", - "variant_unit_with_scale" => "volume_0.001", # 1mL - "variants_attributes" => { - "0" => { - "id" => variant_a1.id.to_s, - "display_name" => "Large box", - "sku" => "POM-01", - "price" => "10.25", - "on_hand" => "6", - }, - }, - }, - }, - } - - expect{ - run_reflex(:bulk_update, params:) - product_a.reload - variant_a1.reload - }.to change{ product_a.name }.to("Pommes") - .and change{ product_a.variant_unit }.to("volume") - .and change{ product_a.variant_unit_scale }.to(0.001) - .and change{ variant_a1.display_name }.to("Large box") - .and change{ variant_a1.sku }.to("POM-01") - .and change{ variant_a1.price }.to(10.25) - .and change{ variant_a1.on_hand }.to(6) - - expect(flash).to include success: "Changes saved" - end - - it "creates new variants" do - # Form field names: - # '[products][0][id]' (hidden field) - # '[products][0][name]' - # '[products][0][variants_attributes][0][id]' (hidden field) - # '[products][0][variants_attributes][0][display_name]' - # '[products][0][variants_attributes][1][display_name]' (id is omitted for new record) - # '[products][0][variants_attributes][2][display_name]' (more than 1 new record is allowed) - params = { - "products" => { - "0" => { - "id" => product_a.id.to_s, - "name" => "Pommes", - "variants_attributes" => { - "0" => { - "id" => variant_a1.id.to_s, - "display_name" => "Large box", - }, - "1" => { - "display_name" => "Small box", - "sku" => "POM-02", - "price" => "5.25", - "unit_value" => "0.5", - }, - "2" => { - "sku" => "POM-03", - "price" => "15.25", - "unit_value" => "2", - }, - }, - }, - }, - } - - expect{ - run_reflex(:bulk_update, params:) - product_a.reload - variant_a1.reload - }.to change{ product_a.name }.to("Pommes") - .and change{ variant_a1.display_name }.to("Large box") - .and change{ product_a.variants.count }.by(2) - - variant_a2 = product_a.variants[1] - expect(variant_a2.display_name).to eq "Small box" - expect(variant_a2.sku).to eq "POM-02" - expect(variant_a2.price).to eq 5.25 - expect(variant_a2.unit_value).to eq 0.5 - - variant_a3 = product_a.variants[2] - expect(variant_a3.display_name).to be_nil - expect(variant_a3.sku).to eq "POM-03" - expect(variant_a3.price).to eq 15.25 - expect(variant_a3.unit_value).to eq 2 - - expect(flash).to include success: "Changes saved" - end - - describe "sorting" do - let(:params) { - { - "products" => { - "0" => { - "id" => product_a.id.to_s, - "name" => "Pommes", - }, - "1" => { - "id" => product_b.id.to_s, - }, - }, - } - } - subject{ run_reflex(:bulk_update, params:) } - - it "Should retain sort order, even when names change" do - expect(subject.get(:products).map(&:id)).to eq [ - product_a.id, - product_b.id, - ] - expect(flash).to include success: "Changes saved" - end - end - - describe "error messages" do - it "summarises error messages" do - params = { - "products" => { - "0" => { - "id" => product_a.id.to_s, - "name" => "Pommes", - }, - "1" => { - "id" => product_b.id.to_s, - "name" => "", # Name can't be blank - }, - "2" => { - "id" => product_c.id.to_s, - "name" => "", # Name can't be blank - }, - }, - } - - reflex = run_reflex(:bulk_update, params:) - expect(reflex.get(:error_counts)).to eq({ saved: 1, invalid: 2 }) - expect(flash).not_to include success: "Changes saved" - - # # WTF - # expect{ reflex(:bulk_update, params:) }.to broadcast( - # replace: { - # selector: "#products-form", - # html: /2 products have errors/, - # }, - # broadcast: nil - # ) - end - end - end - describe '#delete_product' do let(:product) { create(:simple_product) } let(:action_name) { :delete_product } From e78ef120f497a188130e14e09ff0398ed796845b Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 9 Apr 2024 17:23:36 +1000 Subject: [PATCH 300/374] TODO I think this case got lost. --- spec/system/admin/products_v3/products_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 9911ca78dc..74dcc2d051 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -66,6 +66,8 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do end describe "search" do + # TODO: explicitly test with multiple products, to ensure incorrect products don't show. + # TODO: test with multiple variants, to ensure distinct query reponse context "product has searchable term" do # create a product with a name that can be searched let!(:product_by_name) { create(:simple_product, name: "searchable product") } From 1425d524b9828eae1caacd49b3b03a74fd8aa299 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 10 Apr 2024 14:54:10 +1000 Subject: [PATCH 301/374] Fix product filtering Merges change from fb09a7f1e62d --- app/controllers/admin/products_v3_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/products_v3_controller.rb b/app/controllers/admin/products_v3_controller.rb index 48751cf323..d328e4abfb 100644 --- a/app/controllers/admin/products_v3_controller.rb +++ b/app/controllers/admin/products_v3_controller.rb @@ -81,7 +81,7 @@ module Admin if @search_term.present? query.merge!(Spree::Variant::SEARCH_KEY => @search_term) end - query.merge!(primary_taxon_id_in: @category_id) if @category_id.present? + query.merge!(variants_primary_taxon_id_in: @category_id) if @category_id.present? query end From 693b9bd171aaa409af94e018aaafc8a3dd03fe82 Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Sun, 7 Apr 2024 00:17:21 +0500 Subject: [PATCH 302/374] 12332 - Fix rubocop Rails/I18nLocaleAssignment errors - use I18n.with_locale method rather than direct locale assignment --- .rubocop_todo.yml | 10 ------- .../user_registrations_controller_spec.rb | 13 +++++---- spec/helpers/i18n_helper_spec.rb | 7 +++-- spec/models/spree/variant_spec.rb | 28 +++++++++---------- spec/system/admin/order_cycles/list_spec.rb | 6 ++-- 5 files changed, 28 insertions(+), 36 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f0bc6f67b5..52b702e701 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -576,16 +576,6 @@ Rails/HasManyOrHasOneDependent: - 'app/models/spree/tax_rate.rb' - 'app/models/spree/variant.rb' -# Offense count: 8 -# Configuration parameters: Include. -# Include: spec/**/*.rb, test/**/*.rb -Rails/I18nLocaleAssignment: - Exclude: - - 'spec/controllers/user_registrations_controller_spec.rb' - - 'spec/helpers/i18n_helper_spec.rb' - - 'spec/models/spree/variant_spec.rb' - - 'spec/system/admin/order_cycles/list_spec.rb' - # Offense count: 3 Rails/I18nLocaleTexts: Exclude: diff --git a/spec/controllers/user_registrations_controller_spec.rb b/spec/controllers/user_registrations_controller_spec.rb index 8d91a8d25f..fb948cfa4e 100644 --- a/spec/controllers/user_registrations_controller_spec.rb +++ b/spec/controllers/user_registrations_controller_spec.rb @@ -51,12 +51,13 @@ describe UserRegistrationsController, type: :controller do original_i18n_locale = I18n.locale original_locale_cookie = cookies[:locale] - cookies[:locale] = "pt" - post :create, xhr: true, params: { spree_user: user_params, use_route: :spree } - expect(assigns[:user].locale).to eq("pt") - - I18n.locale = original_i18n_locale - cookies[:locale] = original_locale_cookie + # changes to +I18n.locale+ will only persist within the +with_locale+ block + I18n.with_locale(original_i18n_locale) do + cookies[:locale] = "pt" + post :create, xhr: true, params: { spree_user: user_params, use_route: :spree } + expect(assigns[:user].locale).to eq("pt") + cookies[:locale] = original_locale_cookie + end end end end diff --git a/spec/helpers/i18n_helper_spec.rb b/spec/helpers/i18n_helper_spec.rb index c91b22f6af..546719180e 100644 --- a/spec/helpers/i18n_helper_spec.rb +++ b/spec/helpers/i18n_helper_spec.rb @@ -15,9 +15,10 @@ describe I18nHelper, type: :helper do # have to restore I18n.locale for unit tests that don't call the helper, but # rely on translated strings. around do |example| - locale = I18n.locale - example.run - I18n.locale = locale + original_locale = I18n.locale + I18n.with_locale(original_locale) do + example.run + end end context "as guest" do diff --git a/spec/models/spree/variant_spec.rb b/spec/models/spree/variant_spec.rb index aec627bf71..0de7418b8f 100644 --- a/spec/models/spree/variant_spec.rb +++ b/spec/models/spree/variant_spec.rb @@ -60,14 +60,12 @@ describe Spree::Variant do context "price parsing" do before(:each) do - I18n.locale = I18n.default_locale - I18n.backend.store_translations(:de, - { number: { currency: { format: { delimiter: '.', - separator: ',' } } } }) - end - - after do - I18n.locale = I18n.default_locale + default_locale = I18n.default_locale + I18n.with_locale(default_locale) do + I18n.backend.store_translations(:de, + { number: { currency: { format: { delimiter: '.', + separator: ',' } } } }) + end end context "price=" do @@ -80,17 +78,19 @@ describe Spree::Variant do context "with decimal comma" do it "captures the proper amount for a formatted price" do - I18n.locale = :es - variant.price = '1.599,99' - expect(variant.price).to eq 1599.99 + I18n.with_locale(:es) do + variant.price = '1.599,99' + expect(variant.price).to eq 1599.99 + end end end context "with a numeric price" do it "uses the price as is" do - I18n.locale = :es - variant.price = 1599.99 - expect(variant.price).to eq 1599.99 + I18n.with_locale(:es) do + variant.price = 1599.99 + expect(variant.price).to eq 1599.99 + end end end end diff --git a/spec/system/admin/order_cycles/list_spec.rb b/spec/system/admin/order_cycles/list_spec.rb index bcc977e5f8..87cef27c14 100644 --- a/spec/system/admin/order_cycles/list_spec.rb +++ b/spec/system/admin/order_cycles/list_spec.rb @@ -133,9 +133,9 @@ describe ' } around(:each) do |spec| - I18n.locale = :pt - spec.run - I18n.locale = :en + I18n.with_locale(:pt) do + spec.run + end end context 'using datetimepickers' do From ec61cff3876c1f1d32999f0d947d97895ebc1b2b Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Sun, 7 Apr 2024 03:02:37 +0500 Subject: [PATCH 303/374] 12332 - Fix rubocop Rails/I18nLocaleTexts errors - Add en locales for the hardcodded strings --- .rubocop_todo.yml | 5 ----- app/controllers/admin/stripe_accounts_controller.rb | 6 +++--- config/locales/en.yml | 3 +++ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 52b702e701..0c09f9ce14 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -576,11 +576,6 @@ Rails/HasManyOrHasOneDependent: - 'app/models/spree/tax_rate.rb' - 'app/models/spree/variant.rb' -# Offense count: 3 -Rails/I18nLocaleTexts: - Exclude: - - 'app/controllers/admin/stripe_accounts_controller.rb' - # Offense count: 22 # Configuration parameters: IgnoreScopes, Include. # Include: app/models/**/*.rb diff --git a/app/controllers/admin/stripe_accounts_controller.rb b/app/controllers/admin/stripe_accounts_controller.rb index b72175ac05..3b094adc5e 100644 --- a/app/controllers/admin/stripe_accounts_controller.rb +++ b/app/controllers/admin/stripe_accounts_controller.rb @@ -16,14 +16,14 @@ module Admin authorize! :destroy, stripe_account if stripe_account.deauthorize_and_destroy - flash[:success] = "Stripe account disconnected." + flash[:success] = I18n.t('stripe.success_code.disconnected') else - flash[:error] = "Failed to disconnect Stripe." + flash[:error] = I18n.t('stripe.error_code.disconnect_failure') end redirect_to main_app.edit_admin_enterprise_path(stripe_account.enterprise) rescue ActiveRecord::RecordNotFound - flash[:error] = "Failed to disconnect Stripe." + flash[:error] = I18n.t('stripe.error_code.disconnect_failure') redirect_to spree.admin_dashboard_path end diff --git a/config/locales/en.yml b/config/locales/en.yml index 3c3c1d1c1d..162f65d273 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -235,6 +235,9 @@ en: transaction_not_allowed: "The card has been declined for an unknown reason." try_again_later: "The card has been declined for an unknown reason." withdrawal_count_limit_exceeded: "The customer has exceeded the balance or credit limit available on their card." + disconnect_failure: "Failed to disconnect Stripe." + success_code: + disconnected: "Stripe account disconnected." activemodel: errors: From b2172ef8d8d7b90b7987606a2560ac1238979f90 Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Tue, 9 Apr 2024 05:19:45 +0500 Subject: [PATCH 304/374] 12332 - Add around block to apply default_locale on specs --- spec/models/spree/variant_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/models/spree/variant_spec.rb b/spec/models/spree/variant_spec.rb index 0de7418b8f..b081c355f8 100644 --- a/spec/models/spree/variant_spec.rb +++ b/spec/models/spree/variant_spec.rb @@ -59,12 +59,13 @@ describe Spree::Variant do end context "price parsing" do - before(:each) do + around(:each) do |spec| default_locale = I18n.default_locale I18n.with_locale(default_locale) do I18n.backend.store_translations(:de, { number: { currency: { format: { delimiter: '.', separator: ',' } } } }) + spec.run end end From c2c7910357ed2ff6562cc997e6941cd50bc71d2e Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 11 Apr 2024 10:05:49 +1000 Subject: [PATCH 305/374] Reset I18n.local for each spec This avoids a locale setting leaking from one spec to another. It also means that we don't have to reset the locale in individual specs. Also: - `cookies` is reset automatically and we don't need to do that. - Removed some unused code (German number format and helper methods). --- spec/base_spec_helper.rb | 5 +++++ .../user_registrations_controller_spec.rb | 13 +++---------- spec/helpers/i18n_helper_spec.rb | 11 ----------- spec/models/spree/variant_spec.rb | 10 ---------- spec/system/admin/order_cycles/list_spec.rb | 9 --------- 5 files changed, 8 insertions(+), 40 deletions(-) diff --git a/spec/base_spec_helper.rb b/spec/base_spec_helper.rb index f835bc883b..1238281f00 100644 --- a/spec/base_spec_helper.rb +++ b/spec/base_spec_helper.rb @@ -96,6 +96,11 @@ RSpec.configure do |config| expectations.syntax = :expect end + # Reset locale for all specs. + config.around(:each) do |example| + I18n.with_locale(:en) { example.run } + end + # Reset all feature toggles to prevent leaking. config.before(:suite) do Flipper.features.each(&:remove) diff --git a/spec/controllers/user_registrations_controller_spec.rb b/spec/controllers/user_registrations_controller_spec.rb index fb948cfa4e..d25b811d69 100644 --- a/spec/controllers/user_registrations_controller_spec.rb +++ b/spec/controllers/user_registrations_controller_spec.rb @@ -48,16 +48,9 @@ describe UserRegistrationsController, type: :controller do end it "sets user.locale from cookie on create" do - original_i18n_locale = I18n.locale - original_locale_cookie = cookies[:locale] - - # changes to +I18n.locale+ will only persist within the +with_locale+ block - I18n.with_locale(original_i18n_locale) do - cookies[:locale] = "pt" - post :create, xhr: true, params: { spree_user: user_params, use_route: :spree } - expect(assigns[:user].locale).to eq("pt") - cookies[:locale] = original_locale_cookie - end + cookies[:locale] = "pt" + post :create, xhr: true, params: { spree_user: user_params, use_route: :spree } + expect(assigns[:user].locale).to eq("pt") end end end diff --git a/spec/helpers/i18n_helper_spec.rb b/spec/helpers/i18n_helper_spec.rb index 546719180e..a4117097d4 100644 --- a/spec/helpers/i18n_helper_spec.rb +++ b/spec/helpers/i18n_helper_spec.rb @@ -10,17 +10,6 @@ describe I18nHelper, type: :helper do allow(helper).to receive(:cookies) { cookies } end - # In the real world, the helper is called in every request and sets - # I18n.locale to the chosen locale or the default. For testing purposes we - # have to restore I18n.locale for unit tests that don't call the helper, but - # rely on translated strings. - around do |example| - original_locale = I18n.locale - I18n.with_locale(original_locale) do - example.run - end - end - context "as guest" do before do allow(helper).to receive(:spree_current_user) { nil } diff --git a/spec/models/spree/variant_spec.rb b/spec/models/spree/variant_spec.rb index b081c355f8..1771e860a1 100644 --- a/spec/models/spree/variant_spec.rb +++ b/spec/models/spree/variant_spec.rb @@ -59,16 +59,6 @@ describe Spree::Variant do end context "price parsing" do - around(:each) do |spec| - default_locale = I18n.default_locale - I18n.with_locale(default_locale) do - I18n.backend.store_translations(:de, - { number: { currency: { format: { delimiter: '.', - separator: ',' } } } }) - spec.run - end - end - context "price=" do context "with decimal point" do it "captures the proper amount for a formatted price" do diff --git a/spec/system/admin/order_cycles/list_spec.rb b/spec/system/admin/order_cycles/list_spec.rb index 87cef27c14..308f95a36f 100644 --- a/spec/system/admin/order_cycles/list_spec.rb +++ b/spec/system/admin/order_cycles/list_spec.rb @@ -194,15 +194,6 @@ describe ' private - def wait_for_edit_form_to_load_order_cycle(order_cycle) - expect(page).to have_field "order_cycle_name", with: order_cycle.name - end - - def select_incoming_variant(supplier, exchange_no, variant) - page.find("table.exchanges tr.supplier-#{supplier.id} td.products").click - check "order_cycle_incoming_exchange_#{exchange_no}_variants_#{variant.id}" - end - def date_warning_msg(nbr = 1) "This order cycle is linked to %d open subscription orders. Changing this date now will not " \ "affect any orders which have already been placed, but should be avoided if possible. " \ From 917ca790af10340b552d8c885ba9acf7025a0a7d Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 4 Apr 2024 17:15:53 +1100 Subject: [PATCH 306/374] Temporarily add db counter to query This is going to be totally flaky so will remove soon. --- spec/system/admin/products_v3/products_spec.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 74dcc2d051..af556bf494 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -16,6 +16,15 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_content "Bulk Edit Products" end + # TODO: this belongs in a unit or request spec + it "minimises db queries" do + create_products 16 + + expect{ + visit admin_products_url + }.to query_database 416.times # goodness me. Remember this includes user session updates etc. + end + describe "sorting" do let!(:product_b) { create(:simple_product, name: "Bananas") } let!(:product_a) { create(:simple_product, name: "Apples") } From 32b33de707527e46e4f393d7bac695c38daf55ef Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 4 Apr 2024 17:18:32 +1100 Subject: [PATCH 307/374] Optimise by pre-loading required columns Oh boy, that's a big change. --- app/controllers/admin/products_v3_controller.rb | 16 +++++++++------- spec/system/admin/products_v3/products_spec.rb | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/controllers/admin/products_v3_controller.rb b/app/controllers/admin/products_v3_controller.rb index d328e4abfb..fb5efe5d1a 100644 --- a/app/controllers/admin/products_v3_controller.rb +++ b/app/controllers/admin/products_v3_controller.rb @@ -87,14 +87,16 @@ module Admin # Optimise by pre-loading required columns def product_query_includes - # TODO: add other fields used in columns? (eg supplier: [:name]) [ - # variants: [ - # :default_price, - # :stock_locations, - # :stock_items, - # :variant_overrides - # ] + :image, + :supplier, + { variants: [ + :default_price, + :primary_taxon, + :product, + :stock_items, + :tax_category, + ] }, ] end diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index af556bf494..ec588ec7d7 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -22,7 +22,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect{ visit admin_products_url - }.to query_database 416.times # goodness me. Remember this includes user session updates etc. + }.to query_database 243.times # Remember this includes user session updates etc. end describe "sorting" do From 18d91d166e8633dcc025566243bfab631e7882a2 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 10 Apr 2024 15:36:45 +1000 Subject: [PATCH 308/374] Remove temporary spec It's likely to change frequently when there are global changes to the admin screen. It would be better to test more directly, but I don't think worth it while everythings moving around so much. --- spec/system/admin/products_v3/products_spec.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index ec588ec7d7..74dcc2d051 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -16,15 +16,6 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_content "Bulk Edit Products" end - # TODO: this belongs in a unit or request spec - it "minimises db queries" do - create_products 16 - - expect{ - visit admin_products_url - }.to query_database 243.times # Remember this includes user session updates etc. - end - describe "sorting" do let!(:product_b) { create(:simple_product, name: "Bananas") } let!(:product_a) { create(:simple_product, name: "Apples") } From 0be720dcb11749b4ebb1d1364c02953648073008 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 01:27:41 +0000 Subject: [PATCH 309/374] chore(deps): bump tar from 6.1.11 to 6.2.1 Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.11 to 6.2.1. - [Release notes](https://github.com/isaacs/node-tar/releases) - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/isaacs/node-tar/compare/v6.1.11...v6.2.1) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index 02fba1e88e..d84ee5e204 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6058,6 +6058,11 @@ minipass@^3.0.0, minipass@^3.1.1: dependencies: yallist "^4.0.0" +minipass@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" + integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== + minizlib@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" @@ -8608,13 +8613,13 @@ tapable@^1.0.0, tapable@^1.1.3: integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== tar@^6.0.2: - version "6.1.11" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" - integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== + version "6.2.1" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" + integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" - minipass "^3.0.0" + minipass "^5.0.0" minizlib "^2.1.1" mkdirp "^1.0.3" yallist "^4.0.0" From 2f3b8c8573068596438782bb8eb1564aef33a64f Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 11 Apr 2024 11:45:14 +1000 Subject: [PATCH 310/374] Re-record Stripe cassettes --- .../redirects_to_unauthorized.yml | 34 +-- .../redirects_to_unauthorized.yml | 36 +-- .../redirects_to_unauthorized.yml | 36 +-- ...turns_with_a_status_of_access_revoked_.yml | 44 ++-- .../returns_with_a_status_of_connected_.yml | 56 ++--- .../saves_the_card_locally.yml | 68 ++--- .../_credit/refunds_the_payment.yml | 150 +++++------ ...t_intent_state_is_not_requires_capture.yml | 90 +++---- .../calls_Checkout_StripeRedirect.yml | 36 +-- ...urns_nil_when_an_order_is_not_supplied.yml | 36 +-- .../_purchase/completes_the_purchase.yml | 158 ++++++------ ..._error_message_to_help_developer_debug.yml | 96 ++++---- .../refunds_the_payment.yml | 188 +++++++------- .../void_the_payment.yml | 122 ++++----- ...stroys_the_record_and_notifies_Bugsnag.yml | 24 +- .../destroys_the_record.yml | 48 ++-- .../returns_true.yml | 108 ++++---- .../returns_false.yml | 88 +++---- .../returns_failed_response.yml | 40 +-- ...tus_with_Stripe_PaymentIntentValidator.yml | 58 ++--- .../returns_nil.yml | 40 +-- .../clones_the_payment_method_only.yml | 108 ++++---- ...th_the_payment_method_and_the_customer.yml | 232 +++++++++--------- .../raises_an_error.yml | 66 ++--- .../deletes_the_credit_card_clone.yml | 98 ++++---- ...the_credit_card_clone_and_the_customer.yml | 130 +++++----- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- ...t_intent_last_payment_error_as_message.yml | 76 +++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_Diners_Club/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_Discover/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_JCB/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_Mastercard/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_UnionPay/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_Visa/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- .../from_Visa_debit_/captures_the_payment.yml | 128 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 64 ++--- ...rd_id_from_the_correct_response_fields.yml | 62 ++--- .../when_request_fails/raises_an_error.yml | 102 ++++---- .../allows_to_refund_the_payment.yml | 190 +++++++------- 67 files changed, 3018 insertions(+), 3014 deletions(-) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml (92%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml (91%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml (91%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml (91%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml (92%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml (84%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml (90%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml (90%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml (71%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml (84%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml (90%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.14.0 => Stripe-v10.15.0}/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml (88%) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml similarity index 92% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml index 8392e9f343..489f3218da 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml @@ -8,7 +8,7 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: @@ -29,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:34:54 GMT + - Thu, 11 Apr 2024 01:39:07 GMT Content-Type: - application/json Content-Length: @@ -56,15 +56,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d9d4c914-5547-471b-9d65-ecddc5ba1a5a + - d068d3de-3327-4195-9d6d-496fced66c39 Original-Request: - - req_kbiuPsChP7rmJC + - req_5cuGSkCL7l6PEN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kbiuPsChP7rmJC + - req_5cuGSkCL7l6PEN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -79,7 +79,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRN4DHdBtVgfF", + "id": "acct_1P4CbW4JHxgXqNCi", "object": "account", "business_profile": { "annual_revenue": null, @@ -124,7 +124,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237693, + "created": 1712799547, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -133,7 +133,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qRN4DHdBtVgfF/external_accounts" + "url": "/v1/accounts/acct_1P4CbW4JHxgXqNCi/external_accounts" }, "future_requirements": { "alternatives": [], @@ -230,22 +230,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:34:54 GMT + recorded_at: Thu, 11 Apr 2024 01:39:07 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qRN4DHdBtVgfF + uri: https://api.stripe.com/v1/accounts/acct_1P4CbW4JHxgXqNCi body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kbiuPsChP7rmJC","request_duration_ms":1962}}' + - '{"last_request_metrics":{"request_id":"req_5cuGSkCL7l6PEN","request_duration_ms":2507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -262,7 +262,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:34:55 GMT + - Thu, 11 Apr 2024 01:39:09 GMT Content-Type: - application/json Content-Length: @@ -293,9 +293,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hn8ot4FZR3f8mO + - req_t116V6JL8x4msM Stripe-Account: - - acct_1P1qRN4DHdBtVgfF + - acct_1P4CbW4JHxgXqNCi Stripe-Version: - '2023-10-16' Vary: @@ -308,9 +308,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRN4DHdBtVgfF", + "id": "acct_1P4CbW4JHxgXqNCi", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:34:56 GMT + recorded_at: Thu, 11 Apr 2024 01:39:09 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml similarity index 91% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml index 6840f24bb7..2e7b0fc03f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_E35rBd6ia7ZpVh","request_duration_ms":1144}}' + - '{"last_request_metrics":{"request_id":"req_Ntllhx76FuoTJG","request_duration_ms":1093}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:01 GMT + - Thu, 11 Apr 2024 01:39:15 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 932f716d-55a0-4f97-aaaf-0415ef950442 + - 57574075-88d9-4bae-a100-ef4b2203c32b Original-Request: - - req_gSGNH3mtIomhgs + - req_J3VQ7CvJAi207e Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gSGNH3mtIomhgs + - req_J3VQ7CvJAi207e Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRT4CKKdbW89s", + "id": "acct_1P4Cbd4GzQH7sTvf", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237700, + "created": 1712799554, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qRT4CKKdbW89s/external_accounts" + "url": "/v1/accounts/acct_1P4Cbd4GzQH7sTvf/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,22 +232,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:35:01 GMT + recorded_at: Thu, 11 Apr 2024 01:39:15 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qRT4CKKdbW89s + uri: https://api.stripe.com/v1/accounts/acct_1P4Cbd4GzQH7sTvf body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gSGNH3mtIomhgs","request_duration_ms":1895}}' + - '{"last_request_metrics":{"request_id":"req_J3VQ7CvJAi207e","request_duration_ms":2169}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:02 GMT + - Thu, 11 Apr 2024 01:39:16 GMT Content-Type: - application/json Content-Length: @@ -295,9 +295,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mZsYz5XHc2aNIn + - req_wRB8EPVE14OgjJ Stripe-Account: - - acct_1P1qRT4CKKdbW89s + - acct_1P4Cbd4GzQH7sTvf Stripe-Version: - '2023-10-16' Vary: @@ -310,9 +310,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRT4CKKdbW89s", + "id": "acct_1P4Cbd4GzQH7sTvf", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:35:02 GMT + recorded_at: Thu, 11 Apr 2024 01:39:16 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml similarity index 91% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml index ba68c6750f..a32fba3ede 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hn8ot4FZR3f8mO","request_duration_ms":1182}}' + - '{"last_request_metrics":{"request_id":"req_t116V6JL8x4msM","request_duration_ms":1656}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:34:58 GMT + - Thu, 11 Apr 2024 01:39:11 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4cff27dd-6193-4e16-ab6c-ca2ecfa7aa1b + - 90008096-9979-403c-acc4-34ad4cb9b59a Original-Request: - - req_mYkorxGJCKVMHR + - req_Nm4QwjE6USodc1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mYkorxGJCKVMHR + - req_Nm4QwjE6USodc1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRQ4CR5oVe7Nd", + "id": "acct_1P4CbaQSEFMq0o7h", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237697, + "created": 1712799550, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qRQ4CR5oVe7Nd/external_accounts" + "url": "/v1/accounts/acct_1P4CbaQSEFMq0o7h/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,22 +232,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:34:58 GMT + recorded_at: Thu, 11 Apr 2024 01:39:11 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qRQ4CR5oVe7Nd + uri: https://api.stripe.com/v1/accounts/acct_1P4CbaQSEFMq0o7h body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mYkorxGJCKVMHR","request_duration_ms":1877}}' + - '{"last_request_metrics":{"request_id":"req_Nm4QwjE6USodc1","request_duration_ms":2054}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:34:59 GMT + - Thu, 11 Apr 2024 01:39:12 GMT Content-Type: - application/json Content-Length: @@ -295,9 +295,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_E35rBd6ia7ZpVh + - req_Ntllhx76FuoTJG Stripe-Account: - - acct_1P1qRQ4CR5oVe7Nd + - acct_1P4CbaQSEFMq0o7h Stripe-Version: - '2023-10-16' Vary: @@ -310,9 +310,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRQ4CR5oVe7Nd", + "id": "acct_1P4CbaQSEFMq0o7h", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:34:59 GMT + recorded_at: Thu, 11 Apr 2024 01:39:12 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml similarity index 91% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml index 63107f3de4..570922db4c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mZsYz5XHc2aNIn","request_duration_ms":1063}}' + - '{"last_request_metrics":{"request_id":"req_wRB8EPVE14OgjJ","request_duration_ms":1079}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:04 GMT + - Thu, 11 Apr 2024 01:39:18 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9ebb2da0-20db-496f-aaf8-5620e5822572 + - ae26d6fe-e80f-4e66-85e4-bf4197004de3 Original-Request: - - req_KF45PmGJlZOAs0 + - req_T6L1t5nvtrxsyu Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KF45PmGJlZOAs0 + - req_T6L1t5nvtrxsyu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRW4DPiWMEZPr", + "id": "acct_1P4CbgQK4fGWx4Eh", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237703, + "created": 1712799557, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qRW4DPiWMEZPr/external_accounts" + "url": "/v1/accounts/acct_1P4CbgQK4fGWx4Eh/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,7 +232,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:35:04 GMT + recorded_at: Thu, 11 Apr 2024 01:39:18 GMT - request: method: get uri: https://api.stripe.com/v1/accounts/acct_fake_account @@ -241,13 +241,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KF45PmGJlZOAs0","request_duration_ms":2011}}' + - '{"last_request_metrics":{"request_id":"req_T6L1t5nvtrxsyu","request_duration_ms":2123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:04 GMT + - Thu, 11 Apr 2024 01:39:18 GMT Content-Type: - application/json Content-Length: @@ -299,22 +299,22 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/account-invalid" } } - recorded_at: Thu, 04 Apr 2024 13:35:05 GMT + recorded_at: Thu, 11 Apr 2024 01:39:18 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qRW4DPiWMEZPr + uri: https://api.stripe.com/v1/accounts/acct_1P4CbgQK4fGWx4Eh body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KF45PmGJlZOAs0","request_duration_ms":2011}}' + - '{"last_request_metrics":{"request_id":"req_T6L1t5nvtrxsyu","request_duration_ms":2123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -331,7 +331,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:06 GMT + - Thu, 11 Apr 2024 01:39:19 GMT Content-Type: - application/json Content-Length: @@ -362,9 +362,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UKpStSG25uf2UJ + - req_DDQoFFYpnDkwhm Stripe-Account: - - acct_1P1qRW4DPiWMEZPr + - acct_1P4CbgQK4fGWx4Eh Stripe-Version: - '2023-10-16' Vary: @@ -377,9 +377,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRW4DPiWMEZPr", + "id": "acct_1P4CbgQK4fGWx4Eh", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:35:06 GMT + recorded_at: Thu, 11 Apr 2024 01:39:19 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml similarity index 92% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml index a0b8a834d6..0898fef69d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UKpStSG25uf2UJ","request_duration_ms":1033}}' + - '{"last_request_metrics":{"request_id":"req_DDQoFFYpnDkwhm","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:07 GMT + - Thu, 11 Apr 2024 01:39:21 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - aaf8dcfd-9af8-446e-bb0e-9717584de981 + - 41ec9ecc-fd34-4d63-9a5f-1b42241e324b Original-Request: - - req_72tD5EeiCofO4G + - req_rvgjiC0W8zFZQF Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_72tD5EeiCofO4G + - req_rvgjiC0W8zFZQF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRaQKIxaRx9Sc", + "id": "acct_1P4CbkQQ4IpZOZtd", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237707, + "created": 1712799561, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qRaQKIxaRx9Sc/external_accounts" + "url": "/v1/accounts/acct_1P4CbkQQ4IpZOZtd/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,22 +232,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:35:07 GMT + recorded_at: Thu, 11 Apr 2024 01:39:22 GMT - request: method: get - uri: https://api.stripe.com/v1/accounts/acct_1P1qRaQKIxaRx9Sc + uri: https://api.stripe.com/v1/accounts/acct_1P4CbkQQ4IpZOZtd body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_72tD5EeiCofO4G","request_duration_ms":1709}}' + - '{"last_request_metrics":{"request_id":"req_rvgjiC0W8zFZQF","request_duration_ms":2014}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:08 GMT + - Thu, 11 Apr 2024 01:39:22 GMT Content-Type: - application/json Content-Length: @@ -295,9 +295,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5eyv9B8IG7EXAd + - req_crO2EXMKbAN4il Stripe-Account: - - acct_1P1qRaQKIxaRx9Sc + - acct_1P4CbkQQ4IpZOZtd Stripe-Version: - '2023-10-16' Vary: @@ -310,7 +310,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRaQKIxaRx9Sc", + "id": "acct_1P4CbkQQ4IpZOZtd", "object": "account", "business_profile": { "annual_revenue": null, @@ -355,7 +355,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237707, + "created": 1712799561, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -364,7 +364,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qRaQKIxaRx9Sc/external_accounts" + "url": "/v1/accounts/acct_1P4CbkQQ4IpZOZtd/external_accounts" }, "future_requirements": { "alternatives": [], @@ -461,22 +461,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:35:08 GMT + recorded_at: Thu, 11 Apr 2024 01:39:22 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qRaQKIxaRx9Sc + uri: https://api.stripe.com/v1/accounts/acct_1P4CbkQQ4IpZOZtd body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5eyv9B8IG7EXAd","request_duration_ms":542}}' + - '{"last_request_metrics":{"request_id":"req_crO2EXMKbAN4il","request_duration_ms":548}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -493,7 +493,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:09 GMT + - Thu, 11 Apr 2024 01:39:23 GMT Content-Type: - application/json Content-Length: @@ -524,9 +524,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_384facb1UCbY1L + - req_Ole2zlrl9v4eHp Stripe-Account: - - acct_1P1qRaQKIxaRx9Sc + - acct_1P4CbkQQ4IpZOZtd Stripe-Version: - '2023-10-16' Vary: @@ -539,9 +539,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRaQKIxaRx9Sc", + "id": "acct_1P4CbkQQ4IpZOZtd", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:35:09 GMT + recorded_at: Thu, 11 Apr 2024 01:39:23 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml similarity index 84% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml index aca9b2c243..b601f635f2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml @@ -8,13 +8,13 @@ http_interactions: string: card[number]=4242424242424242&card[exp_month]=9&card[exp_year]=2024&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_384facb1UCbY1L","request_duration_ms":1153}}' + - '{"last_request_metrics":{"request_id":"req_Ole2zlrl9v4eHp","request_duration_ms":1111}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:10 GMT + - Thu, 11 Apr 2024 01:39:24 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 00023ff8-186e-47a9-8c5d-ed2bf43d79cb + - 242a39ae-ca24-41c1-b352-803a73021a0a Original-Request: - - req_CScne7GI2Vypc5 + - req_1mCo8XniqdFbBH Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_CScne7GI2Vypc5 + - req_1mCo8XniqdFbBH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,10 +81,10 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "tok_1P1qReKuuB1fWySnxfGMvorq", + "id": "tok_1P4CboKuuB1fWySncwaaWZp3", "object": "token", "card": { - "id": "card_1P1qReKuuB1fWySnvmooaw9V", + "id": "card_1P4CboKuuB1fWySnfkJ7Lp1j", "object": "card", "address_city": null, "address_country": null, @@ -111,28 +111,28 @@ http_interactions: "tokenization_method": null, "wallet": null }, - "client_ip": "176.79.242.165", - "created": 1712237710, + "client_ip": "115.166.62.139", + "created": 1712799564, "livemode": false, "type": "card", "used": false } - recorded_at: Thu, 04 Apr 2024 13:35:10 GMT + recorded_at: Thu, 11 Apr 2024 01:39:24 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: email=miyoko_klocko%40mccullough.co.uk&source=tok_1P1qReKuuB1fWySnxfGMvorq + string: email=aiko.heidenreich%40gibson.co.uk&source=tok_1P4CboKuuB1fWySncwaaWZp3 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CScne7GI2Vypc5","request_duration_ms":443}}' + - '{"last_request_metrics":{"request_id":"req_1mCo8XniqdFbBH","request_duration_ms":801}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -149,11 +149,11 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:11 GMT + - Thu, 11 Apr 2024 01:39:25 GMT Content-Type: - application/json Content-Length: - - '669' + - '668' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -176,15 +176,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6531c198-ed96-4b9c-b871-ab2da1d00f95 + - 6ee2505b-c17a-455a-8587-0e52a970d447 Original-Request: - - req_7GMeHE4aqEk68o + - req_1CqYH1Xt8uau94 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7GMeHE4aqEk68o + - req_1CqYH1Xt8uau94 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -199,18 +199,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PrZas2js4rGX3f", + "id": "cus_Pu0dzuriRXbALS", "object": "customer", "address": null, "balance": 0, - "created": 1712237710, + "created": 1712799565, "currency": null, - "default_source": "card_1P1qReKuuB1fWySnvmooaw9V", + "default_source": "card_1P4CboKuuB1fWySnfkJ7Lp1j", "delinquent": false, "description": null, "discount": null, - "email": "miyoko_klocko@mccullough.co.uk", - "invoice_prefix": "21B6C1B3", + "email": "aiko.heidenreich@gibson.co.uk", + "invoice_prefix": "CF7197CE", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -227,22 +227,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 04 Apr 2024 13:35:11 GMT + recorded_at: Thu, 11 Apr 2024 01:39:25 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PrZas2js4rGX3f/sources?limit=1&object=card + uri: https://api.stripe.com/v1/customers/cus_Pu0dzuriRXbALS/sources?limit=1&object=card body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7GMeHE4aqEk68o","request_duration_ms":800}}' + - '{"last_request_metrics":{"request_id":"req_1CqYH1Xt8uau94","request_duration_ms":1034}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -259,7 +259,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:11 GMT + - Thu, 11 Apr 2024 01:39:26 GMT Content-Type: - application/json Content-Length: @@ -291,7 +291,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_N3z3Q56Qvhb9Yh + - req_kK49CSJ3ow9j3K Stripe-Version: - '2023-10-16' Vary: @@ -307,7 +307,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1P1qReKuuB1fWySnvmooaw9V", + "id": "card_1P4CboKuuB1fWySnfkJ7Lp1j", "object": "card", "address_city": null, "address_country": null, @@ -319,7 +319,7 @@ http_interactions: "address_zip_check": null, "brand": "Visa", "country": "US", - "customer": "cus_PrZas2js4rGX3f", + "customer": "cus_Pu0dzuriRXbALS", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 9, @@ -334,7 +334,7 @@ http_interactions: } ], "has_more": false, - "url": "/v1/customers/cus_PrZas2js4rGX3f/sources" + "url": "/v1/customers/cus_Pu0dzuriRXbALS/sources" } - recorded_at: Thu, 04 Apr 2024 13:35:11 GMT + recorded_at: Thu, 11 Apr 2024 01:39:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml index 465a1da6d1..c28fd6af0b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_M2HXx1tZ6HbrSa","request_duration_ms":1110}}' + - '{"last_request_metrics":{"request_id":"req_6nYq7gQCqDQnbu","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:07 GMT + - Thu, 11 Apr 2024 01:42:27 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 85a1a510-46a7-4196-ba87-c4cd420cdc41 + - ab9dee72-1003-4aee-b175-9905c51deae7 Original-Request: - - req_eo3dIQMhPztkOW + - req_vcZxd3zfC3HP0z Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eo3dIQMhPztkOW + - req_vcZxd3zfC3HP0z Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUT4FUH4DrOek", + "id": "acct_1P4Cek4DFCG3lydo", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237886, + "created": 1712799747, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qUT4FUH4DrOek/external_accounts" + "url": "/v1/accounts/acct_1P4Cek4DFCG3lydo/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:38:07 GMT + recorded_at: Thu, 11 Apr 2024 01:42:27 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -218,19 +218,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eo3dIQMhPztkOW","request_duration_ms":1976}}' + - '{"last_request_metrics":{"request_id":"req_vcZxd3zfC3HP0z","request_duration_ms":1931}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qUT4FUH4DrOek + - acct_1P4Cek4DFCG3lydo Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:08 GMT + - Thu, 11 Apr 2024 01:42:29 GMT Content-Type: - application/json Content-Length: @@ -270,17 +270,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ca02656b-9b01-4d0d-8d3c-0b47c256f12a + - 62619505-d470-4ae2-8914-19bfa981a1a1 Original-Request: - - req_ErftSuX2l5ntGG + - req_zU4T4pahBs3ImT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ErftSuX2l5ntGG + - req_zU4T4pahBs3ImT Stripe-Account: - - acct_1P1qUT4FUH4DrOek + - acct_1P4Cek4DFCG3lydo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -295,7 +295,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUV4FUH4DrOek1RKGhFUE", + "id": "pi_3P4Cem4DFCG3lydo1WZIqV25", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -311,18 +311,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237887, + "created": 1712799748, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qUV4FUH4DrOek1fNfHccu", + "latest_charge": "ch_3P4Cem4DFCG3lydo1nKDp9pZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUV4FUH4DrOeksbOellLu", + "payment_method": "pm_1P4Cem4DFCG3lydo3Y8vG8vs", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -347,10 +347,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:08 GMT + recorded_at: Thu, 11 Apr 2024 01:42:29 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUV4FUH4DrOek1RKGhFUE + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cem4DFCG3lydo1WZIqV25 body: encoding: US-ASCII string: '' @@ -366,7 +366,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P1qUT4FUH4DrOek + - acct_1P4Cek4DFCG3lydo Connection: - close Accept-Encoding: @@ -381,7 +381,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:09 GMT + - Thu, 11 Apr 2024 01:42:30 GMT Content-Type: - application/json Content-Length: @@ -413,9 +413,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DgpAovTMNPHCsd + - req_pyIuabpZwOnwgA Stripe-Account: - - acct_1P1qUT4FUH4DrOek + - acct_1P4Cek4DFCG3lydo Stripe-Version: - '2020-08-27' Vary: @@ -428,7 +428,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUV4FUH4DrOek1RKGhFUE", + "id": "pi_3P4Cem4DFCG3lydo1WZIqV25", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -446,7 +446,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P1qUV4FUH4DrOek1fNfHccu", + "id": "ch_3P4Cem4DFCG3lydo1nKDp9pZ", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -454,7 +454,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P1qUV4FUH4DrOek1PvVuo8C", + "balance_transaction": "txn_3P4Cem4DFCG3lydo1kBMXJUu", "billing_details": { "address": { "city": null, @@ -470,7 +470,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712237888, + "created": 1712799748, "currency": "aud", "customer": null, "description": null, @@ -490,13 +490,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 12, + "risk_score": 64, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P1qUV4FUH4DrOek1RKGhFUE", - "payment_method": "pm_1P1qUV4FUH4DrOeksbOellLu", + "payment_intent": "pi_3P4Cem4DFCG3lydo1WZIqV25", + "payment_method": "pm_1P4Cem4DFCG3lydo3Y8vG8vs", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -539,14 +539,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDFxVVQ0RlVINERyT2VrKMHaurAGMgZZKl1iUHY6LBaqvjNsOr6FLKpGEC6CrzF6o_JvPc19Oz9hpaSsiRkCAiUPGJJHiWqxXcTu", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRDZWs0REZDRzNseWRvKIaA3bAGMgafema0lII6LBZYzmN7Q4kUnuMvTjpgfVeLgj5vp7_Bt2iOLhqYyPHDrUUSUYKJqVtEpf1C", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P1qUV4FUH4DrOek1fNfHccu/refunds" + "url": "/v1/charges/ch_3P4Cem4DFCG3lydo1nKDp9pZ/refunds" }, "review": null, "shipping": null, @@ -561,22 +561,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P1qUV4FUH4DrOek1RKGhFUE" + "url": "/v1/charges?payment_intent=pi_3P4Cem4DFCG3lydo1WZIqV25" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712237887, + "created": 1712799748, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qUV4FUH4DrOek1fNfHccu", + "latest_charge": "ch_3P4Cem4DFCG3lydo1nKDp9pZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUV4FUH4DrOeksbOellLu", + "payment_method": "pm_1P4Cem4DFCG3lydo3Y8vG8vs", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -601,10 +601,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:09 GMT + recorded_at: Thu, 11 Apr 2024 01:42:30 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3P1qUV4FUH4DrOek1fNfHccu/refunds + uri: https://api.stripe.com/v1/charges/ch_3P4Cem4DFCG3lydo1nKDp9pZ/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -622,7 +622,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P1qUT4FUH4DrOek + - acct_1P4Cek4DFCG3lydo Connection: - close Accept-Encoding: @@ -637,7 +637,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:11 GMT + - Thu, 11 Apr 2024 01:42:32 GMT Content-Type: - application/json Content-Length: @@ -665,17 +665,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 49e985bf-b934-45a0-a2a8-4a96a7962e15 + - 8d4f097b-9728-4526-b9ad-5801a8b5a89a Original-Request: - - req_kLFFcmNXJs6v8i + - req_sKZ5rzVYsSG2CA Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kLFFcmNXJs6v8i + - req_sKZ5rzVYsSG2CA Stripe-Account: - - acct_1P1qUT4FUH4DrOek + - acct_1P4Cek4DFCG3lydo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -690,12 +690,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3P1qUV4FUH4DrOek1xpo3PX7", + "id": "re_3P4Cem4DFCG3lydo1YbNTOUH", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P1qUV4FUH4DrOek1DoVOI6A", + "balance_transaction": "txn_3P4Cem4DFCG3lydo1xCDnVT1", "charge": { - "id": "ch_3P1qUV4FUH4DrOek1fNfHccu", + "id": "ch_3P4Cem4DFCG3lydo1nKDp9pZ", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -703,7 +703,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P1qUV4FUH4DrOek1PvVuo8C", + "balance_transaction": "txn_3P4Cem4DFCG3lydo1kBMXJUu", "billing_details": { "address": { "city": null, @@ -719,7 +719,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712237888, + "created": 1712799748, "currency": "aud", "customer": null, "description": null, @@ -739,13 +739,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 12, + "risk_score": 64, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P1qUV4FUH4DrOek1RKGhFUE", - "payment_method": "pm_1P1qUV4FUH4DrOeksbOellLu", + "payment_intent": "pi_3P4Cem4DFCG3lydo1WZIqV25", + "payment_method": "pm_1P4Cem4DFCG3lydo3Y8vG8vs", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -788,18 +788,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDFxVVQ0RlVINERyT2VrKMLaurAGMgauhPxDSls6LBZFEPmOUCGc2a2t4boq2JFTl9182xRZCIhwqV_ZBZ2QOeIRT2k4Msf9yRV8", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRDZWs0REZDRzNseWRvKIeA3bAGMgZV1je7r686LBaLDJd1owHpcx9VKYvztd-CSIqskNBAqIPcmYYHxtMg82qnn2SskvmGOeCy", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3P1qUV4FUH4DrOek1xpo3PX7", + "id": "re_3P4Cem4DFCG3lydo1YbNTOUH", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P1qUV4FUH4DrOek1DoVOI6A", - "charge": "ch_3P1qUV4FUH4DrOek1fNfHccu", - "created": 1712237890, + "balance_transaction": "txn_3P4Cem4DFCG3lydo1xCDnVT1", + "charge": "ch_3P4Cem4DFCG3lydo1nKDp9pZ", + "created": 1712799751, "currency": "aud", "destination_details": { "card": { @@ -810,7 +810,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P1qUV4FUH4DrOek1RKGhFUE", + "payment_intent": "pi_3P4Cem4DFCG3lydo1WZIqV25", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -820,7 +820,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3P1qUV4FUH4DrOek1fNfHccu/refunds" + "url": "/v1/charges/ch_3P4Cem4DFCG3lydo1nKDp9pZ/refunds" }, "review": null, "shipping": null, @@ -832,7 +832,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1712237890, + "created": 1712799751, "currency": "aud", "destination_details": { "card": { @@ -843,29 +843,29 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P1qUV4FUH4DrOek1RKGhFUE", + "payment_intent": "pi_3P4Cem4DFCG3lydo1WZIqV25", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 04 Apr 2024 13:38:11 GMT + recorded_at: Thu, 11 Apr 2024 01:42:32 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qUT4FUH4DrOek + uri: https://api.stripe.com/v1/accounts/acct_1P4Cek4DFCG3lydo body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ErftSuX2l5ntGG","request_duration_ms":1401}}' + - '{"last_request_metrics":{"request_id":"req_zU4T4pahBs3ImT","request_duration_ms":1431}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -882,7 +882,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:12 GMT + - Thu, 11 Apr 2024 01:42:33 GMT Content-Type: - application/json Content-Length: @@ -913,9 +913,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_S1jGPNEXFYIXgU + - req_Y4Lbetac8D59hU Stripe-Account: - - acct_1P1qUT4FUH4DrOek + - acct_1P4Cek4DFCG3lydo Stripe-Version: - '2023-10-16' Vary: @@ -928,9 +928,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUT4FUH4DrOek", + "id": "acct_1P4Cek4DFCG3lydo", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:38:12 GMT + recorded_at: Thu, 11 Apr 2024 01:42:33 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml index ae4078c6bf..174fa77500 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_S1jGPNEXFYIXgU","request_duration_ms":1095}}' + - '{"last_request_metrics":{"request_id":"req_Y4Lbetac8D59hU","request_duration_ms":1019}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:13 GMT + - Thu, 11 Apr 2024 01:42:34 GMT Content-Type: - application/json Content-Length: @@ -63,7 +63,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_X2V04rd6Y8NC2A + - req_Akg2smooeyvumS Stripe-Version: - '2023-10-16' Vary: @@ -76,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qUbKuuB1fWySnZjdN9NvP", + "id": "pm_1P4CesKuuB1fWySnsJt44AFU", "object": "payment_method", "billing_details": { "address": { @@ -117,28 +117,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237893, + "created": 1712799754, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:38:13 GMT + recorded_at: Thu, 11 Apr 2024 01:42:34 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1P1qUbKuuB1fWySnZjdN9NvP&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P4CesKuuB1fWySnsJt44AFU&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_X2V04rd6Y8NC2A","request_duration_ms":376}}' + - '{"last_request_metrics":{"request_id":"req_Akg2smooeyvumS","request_duration_ms":467}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -155,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:14 GMT + - Thu, 11 Apr 2024 01:42:34 GMT Content-Type: - application/json Content-Length: @@ -182,15 +182,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5425de4e-83ab-4bf8-8610-4c5418c7fbb9 + - f118ea09-5822-47de-8f9e-d6f57d1419e3 Original-Request: - - req_V508Jr8c1acE7T + - req_zgTVfvQIBa17lU Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_V508Jr8c1acE7T + - req_zgTVfvQIBa17lU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -205,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUbKuuB1fWySn1S1VWTAh", + "id": "pi_3P4CesKuuB1fWySn2dLi9ErR", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237893, + "created": 1712799754, "currency": "aud", "customer": null, "description": null, @@ -232,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUbKuuB1fWySnZjdN9NvP", + "payment_method": "pm_1P4CesKuuB1fWySnsJt44AFU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,22 +257,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:14 GMT + recorded_at: Thu, 11 Apr 2024 01:42:34 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUbKuuB1fWySn1S1VWTAh + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CesKuuB1fWySn2dLi9ErR body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_V508Jr8c1acE7T","request_duration_ms":587}}' + - '{"last_request_metrics":{"request_id":"req_zgTVfvQIBa17lU","request_duration_ms":503}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -289,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:14 GMT + - Thu, 11 Apr 2024 01:42:35 GMT Content-Type: - application/json Content-Length: @@ -321,7 +321,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_t5uiUnY5A3VxJB + - req_1LFUptriGpoZt1 Stripe-Version: - '2023-10-16' Vary: @@ -334,7 +334,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUbKuuB1fWySn1S1VWTAh", + "id": "pi_3P4CesKuuB1fWySn2dLi9ErR", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -350,7 +350,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237893, + "created": 1712799754, "currency": "aud", "customer": null, "description": null, @@ -361,7 +361,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUbKuuB1fWySnZjdN9NvP", + "payment_method": "pm_1P4CesKuuB1fWySnsJt44AFU", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -386,7 +386,7 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:14 GMT + recorded_at: Thu, 11 Apr 2024 01:42:35 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -395,13 +395,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t5uiUnY5A3VxJB","request_duration_ms":353}}' + - '{"last_request_metrics":{"request_id":"req_1LFUptriGpoZt1","request_duration_ms":365}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -418,7 +418,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:16 GMT + - Thu, 11 Apr 2024 01:42:37 GMT Content-Type: - application/json Content-Length: @@ -445,15 +445,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9fb925db-1658-4ff5-9abf-3ada888ee291 + - f0011be4-d1df-4865-b1f4-9bb52b2006fb Original-Request: - - req_XDgR1hGwKchRrt + - req_kWT3H7wWNHBLzm Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XDgR1hGwKchRrt + - req_kWT3H7wWNHBLzm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -468,7 +468,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUc4FlxsMZxEH", + "id": "acct_1P4Cet4EYmmdrDms", "object": "account", "business_profile": { "annual_revenue": null, @@ -490,7 +490,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237895, + "created": 1712799756, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -499,7 +499,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qUc4FlxsMZxEH/external_accounts" + "url": "/v1/accounts/acct_1P4Cet4EYmmdrDms/external_accounts" }, "future_requirements": { "alternatives": [], @@ -596,22 +596,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:38:16 GMT + recorded_at: Thu, 11 Apr 2024 01:42:37 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qUc4FlxsMZxEH + uri: https://api.stripe.com/v1/accounts/acct_1P4Cet4EYmmdrDms body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XDgR1hGwKchRrt","request_duration_ms":1758}}' + - '{"last_request_metrics":{"request_id":"req_kWT3H7wWNHBLzm","request_duration_ms":1841}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -628,7 +628,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:17 GMT + - Thu, 11 Apr 2024 01:42:38 GMT Content-Type: - application/json Content-Length: @@ -659,9 +659,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_r9zJbHDsVhRbsz + - req_3d0nOcbBqPz0oS Stripe-Account: - - acct_1P1qUc4FlxsMZxEH + - acct_1P4Cet4EYmmdrDms Stripe-Version: - '2023-10-16' Vary: @@ -674,9 +674,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUc4FlxsMZxEH", + "id": "acct_1P4Cet4EYmmdrDms", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:38:17 GMT + recorded_at: Thu, 11 Apr 2024 01:42:38 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml similarity index 90% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml index 6422311754..4a93dc48c8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_N6M2SnTgskLWFX","request_duration_ms":1003}}' + - '{"last_request_metrics":{"request_id":"req_OjPVgEkXL1fVwL","request_duration_ms":994}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:23 GMT + - Thu, 11 Apr 2024 01:42:43 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 47dba25e-9c8b-45ac-b737-7ff106d28766 + - 3a6faabc-7f61-4d84-b14f-d0a275a14b8c Original-Request: - - req_MSCKu0VRHuVCcz + - req_3mMts3GVaM2BQD Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MSCKu0VRHuVCcz + - req_3mMts3GVaM2BQD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUjQNU50zQTZg", + "id": "acct_1P4CezQMegu5vT9o", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237902, + "created": 1712799762, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qUjQNU50zQTZg/external_accounts" + "url": "/v1/accounts/acct_1P4CezQMegu5vT9o/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,22 +209,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:38:23 GMT + recorded_at: Thu, 11 Apr 2024 01:42:43 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qUjQNU50zQTZg + uri: https://api.stripe.com/v1/accounts/acct_1P4CezQMegu5vT9o body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MSCKu0VRHuVCcz","request_duration_ms":1776}}' + - '{"last_request_metrics":{"request_id":"req_3mMts3GVaM2BQD","request_duration_ms":1777}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:24 GMT + - Thu, 11 Apr 2024 01:42:44 GMT Content-Type: - application/json Content-Length: @@ -272,9 +272,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5G9aqJo89J2ae9 + - req_9bYrMMiSVMcKK3 Stripe-Account: - - acct_1P1qUjQNU50zQTZg + - acct_1P4CezQMegu5vT9o Stripe-Version: - '2023-10-16' Vary: @@ -287,9 +287,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUjQNU50zQTZg", + "id": "acct_1P4CezQMegu5vT9o", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:38:24 GMT + recorded_at: Thu, 11 Apr 2024 01:42:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml similarity index 90% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml index 373303a64c..6601673715 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_r9zJbHDsVhRbsz","request_duration_ms":1098}}' + - '{"last_request_metrics":{"request_id":"req_3d0nOcbBqPz0oS","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:19 GMT + - Thu, 11 Apr 2024 01:42:40 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cad95ab3-7449-42a1-88d5-e3a76440da0a + - b5ab08d8-f812-45d1-bc0a-274096f2be5a Original-Request: - - req_EwjRXBb3EtXlBw + - req_2keaqOe16EQw71 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EwjRXBb3EtXlBw + - req_2keaqOe16EQw71 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUfQTbqHGvcIz", + "id": "acct_1P4CewQMvy0onavY", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237898, + "created": 1712799759, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qUfQTbqHGvcIz/external_accounts" + "url": "/v1/accounts/acct_1P4CewQMvy0onavY/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,22 +209,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:38:19 GMT + recorded_at: Thu, 11 Apr 2024 01:42:39 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qUfQTbqHGvcIz + uri: https://api.stripe.com/v1/accounts/acct_1P4CewQMvy0onavY body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EwjRXBb3EtXlBw","request_duration_ms":1719}}' + - '{"last_request_metrics":{"request_id":"req_2keaqOe16EQw71","request_duration_ms":1862}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:20 GMT + - Thu, 11 Apr 2024 01:42:41 GMT Content-Type: - application/json Content-Length: @@ -272,9 +272,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_N6M2SnTgskLWFX + - req_OjPVgEkXL1fVwL Stripe-Account: - - acct_1P1qUfQTbqHGvcIz + - acct_1P4CewQMvy0onavY Stripe-Version: - '2023-10-16' Vary: @@ -287,9 +287,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUfQTbqHGvcIz", + "id": "acct_1P4CewQMvy0onavY", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:38:20 GMT + recorded_at: Thu, 11 Apr 2024 01:42:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml index 759cc3beaa..8d8c7418ec 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uU7ESpHotpLyHH","request_duration_ms":817}}' + - '{"last_request_metrics":{"request_id":"req_5U49TOk1gV8WNx","request_duration_ms":717}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:34 GMT + - Thu, 11 Apr 2024 01:41:59 GMT Content-Type: - application/json Content-Length: @@ -63,7 +63,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SWIAqbzAEntdHS + - req_5tGoupwLMNoKbl Stripe-Version: - '2023-10-16' Vary: @@ -76,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTyKuuB1fWySniOJ4sS4c", + "id": "pm_1P4CeIKuuB1fWySn0l3IJoP4", "object": "payment_method", "billing_details": { "address": { @@ -117,28 +117,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237854, + "created": 1712799719, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:34 GMT + recorded_at: Thu, 11 Apr 2024 01:41:59 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1P1qTyKuuB1fWySniOJ4sS4c&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P4CeIKuuB1fWySn0l3IJoP4&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SWIAqbzAEntdHS","request_duration_ms":411}}' + - '{"last_request_metrics":{"request_id":"req_5tGoupwLMNoKbl","request_duration_ms":491}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -155,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:35 GMT + - Thu, 11 Apr 2024 01:41:59 GMT Content-Type: - application/json Content-Length: @@ -182,15 +182,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3a76784e-af91-4dbb-8973-3623f0a66303 + - da6d7882-5408-4e82-8a9d-051c5464e305 Original-Request: - - req_3lAcL8h4F60kUx + - req_pe6jYL4L38GsUK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3lAcL8h4F60kUx + - req_pe6jYL4L38GsUK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -205,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTzKuuB1fWySn0eQrt5H3", + "id": "pi_3P4CeJKuuB1fWySn1JAvIbub", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237855, + "created": 1712799719, "currency": "aud", "customer": null, "description": null, @@ -232,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTyKuuB1fWySniOJ4sS4c", + "payment_method": "pm_1P4CeIKuuB1fWySn0l3IJoP4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,22 +257,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:35 GMT + recorded_at: Thu, 11 Apr 2024 01:41:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTzKuuB1fWySn0eQrt5H3/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeJKuuB1fWySn1JAvIbub/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3lAcL8h4F60kUx","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_pe6jYL4L38GsUK","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -289,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:36 GMT + - Thu, 11 Apr 2024 01:42:00 GMT Content-Type: - application/json Content-Length: @@ -317,15 +317,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 72630604-f0da-4f2e-b5d6-5deea351d505 + - e4f00232-1a94-43f6-95a9-fcef7d3d36f3 Original-Request: - - req_OnIsInOzorDJAR + - req_af2ZWnugGeiT1T Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OnIsInOzorDJAR + - req_af2ZWnugGeiT1T Stripe-Should-Retry: - 'false' Stripe-Version: @@ -340,7 +340,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTzKuuB1fWySn0eQrt5H3", + "id": "pi_3P4CeJKuuB1fWySn1JAvIbub", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -356,18 +356,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237855, + "created": 1712799719, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTzKuuB1fWySn0aYEAUs0", + "latest_charge": "ch_3P4CeJKuuB1fWySn1bvqhUIF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTyKuuB1fWySniOJ4sS4c", + "payment_method": "pm_1P4CeIKuuB1fWySn0l3IJoP4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -392,22 +392,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:36 GMT + recorded_at: Thu, 11 Apr 2024 01:42:00 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTzKuuB1fWySn0eQrt5H3 + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeJKuuB1fWySn1JAvIbub body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OnIsInOzorDJAR","request_duration_ms":1638}}' + - '{"last_request_metrics":{"request_id":"req_af2ZWnugGeiT1T","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -424,7 +424,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:39 GMT + - Thu, 11 Apr 2024 01:42:02 GMT Content-Type: - application/json Content-Length: @@ -456,7 +456,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QpEqE39Soc9bXl + - req_5WVhIT8p72sh23 Stripe-Version: - '2023-10-16' Vary: @@ -469,7 +469,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTzKuuB1fWySn0eQrt5H3", + "id": "pi_3P4CeJKuuB1fWySn1JAvIbub", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -485,18 +485,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237855, + "created": 1712799719, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTzKuuB1fWySn0aYEAUs0", + "latest_charge": "ch_3P4CeJKuuB1fWySn1bvqhUIF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTyKuuB1fWySniOJ4sS4c", + "payment_method": "pm_1P4CeIKuuB1fWySn0l3IJoP4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -521,10 +521,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:39 GMT + recorded_at: Thu, 11 Apr 2024 01:42:02 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTzKuuB1fWySn0eQrt5H3/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeJKuuB1fWySn1JAvIbub/capture body: encoding: UTF-8 string: amount_to_capture=1000 @@ -555,11 +555,11 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:40 GMT + - Thu, 11 Apr 2024 01:42:03 GMT Content-Type: - application/json Content-Length: - - '5162' + - '5163' Connection: - close Access-Control-Allow-Credentials: @@ -583,15 +583,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cf49b5bd-a97f-437b-90fe-102dd8b7fad8 + - 4f3d9c10-efa0-497b-a6e6-a6ad141ebe3b Original-Request: - - req_yo5Oci6hy7rLoN + - req_blotVHViQAIet0 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_yo5Oci6hy7rLoN + - req_blotVHViQAIet0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -606,7 +606,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTzKuuB1fWySn0eQrt5H3", + "id": "pi_3P4CeJKuuB1fWySn1JAvIbub", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -624,7 +624,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P1qTzKuuB1fWySn0aYEAUs0", + "id": "ch_3P4CeJKuuB1fWySn1bvqhUIF", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -633,7 +633,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P1qTzKuuB1fWySn0QX9eIsk", + "balance_transaction": "txn_3P4CeJKuuB1fWySn13bWCQ8F", "billing_details": { "address": { "city": null, @@ -649,7 +649,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712237855, + "created": 1712799720, "currency": "aud", "customer": null, "description": null, @@ -669,18 +669,18 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 6, + "risk_score": 22, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P1qTzKuuB1fWySn0eQrt5H3", - "payment_method": "pm_1P1qTyKuuB1fWySniOJ4sS4c", + "payment_intent": "pi_3P4CeJKuuB1fWySn1JAvIbub", + "payment_method": "pm_1P4CeIKuuB1fWySn0l3IJoP4", "payment_method_details": { "card": { "amount_authorized": 1000, "brand": "mastercard", - "capture_before": 1712842655, + "capture_before": 1713404520, "checks": { "address_line1_check": null, "address_postal_code_check": null, @@ -719,14 +719,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKKTaurAGMgauas2VWeA6LBaRnfNP2lLuxLG81VsnCiVVe2GcujpxP69RvupHRUMrBtEQMVBnp4ygJNu_", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKOv_3LAGMgb8bzxXE9U6LBYgnhw2EI3ThlSCnc-1-jZaAO0BfihXe48y5d9SpAJSTdx4kMI5LM9QwqPy", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P1qTzKuuB1fWySn0aYEAUs0/refunds" + "url": "/v1/charges/ch_3P4CeJKuuB1fWySn1bvqhUIF/refunds" }, "review": null, "shipping": null, @@ -741,22 +741,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P1qTzKuuB1fWySn0eQrt5H3" + "url": "/v1/charges?payment_intent=pi_3P4CeJKuuB1fWySn1JAvIbub" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712237855, + "created": 1712799719, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTzKuuB1fWySn0aYEAUs0", + "latest_charge": "ch_3P4CeJKuuB1fWySn1bvqhUIF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTyKuuB1fWySniOJ4sS4c", + "payment_method": "pm_1P4CeIKuuB1fWySn0l3IJoP4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -781,7 +781,7 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:40 GMT + recorded_at: Thu, 11 Apr 2024 01:42:03 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -790,13 +790,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QpEqE39Soc9bXl","request_duration_ms":378}}' + - '{"last_request_metrics":{"request_id":"req_5WVhIT8p72sh23","request_duration_ms":355}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -813,7 +813,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:42 GMT + - Thu, 11 Apr 2024 01:42:05 GMT Content-Type: - application/json Content-Length: @@ -840,15 +840,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 00bc9e6b-ea15-491a-93df-5e3a8bbdb0ae + - 514f7c26-78f7-4aba-bc19-86cddeabf616 Original-Request: - - req_HTxP4aTOrvIsnP + - req_VUrZbTZJtIbZlj Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_HTxP4aTOrvIsnP + - req_VUrZbTZJtIbZlj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -863,7 +863,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qU5QMcSCimNwD", + "id": "acct_1P4CeN4CLBeYCTd2", "object": "account", "business_profile": { "annual_revenue": null, @@ -885,7 +885,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237861, + "created": 1712799724, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -894,7 +894,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qU5QMcSCimNwD/external_accounts" + "url": "/v1/accounts/acct_1P4CeN4CLBeYCTd2/external_accounts" }, "future_requirements": { "alternatives": [], @@ -991,22 +991,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:37:42 GMT + recorded_at: Thu, 11 Apr 2024 01:42:05 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qU5QMcSCimNwD + uri: https://api.stripe.com/v1/accounts/acct_1P4CeN4CLBeYCTd2 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HTxP4aTOrvIsnP","request_duration_ms":1887}}' + - '{"last_request_metrics":{"request_id":"req_VUrZbTZJtIbZlj","request_duration_ms":1738}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -1023,7 +1023,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:43 GMT + - Thu, 11 Apr 2024 01:42:06 GMT Content-Type: - application/json Content-Length: @@ -1054,9 +1054,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jy9tAWNV0UBmAq + - req_KCdS3P9OuGbpY8 Stripe-Account: - - acct_1P1qU5QMcSCimNwD + - acct_1P4CeN4CLBeYCTd2 Stripe-Version: - '2023-10-16' Vary: @@ -1069,9 +1069,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qU5QMcSCimNwD", + "id": "acct_1P4CeN4CLBeYCTd2", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:37:43 GMT + recorded_at: Thu, 11 Apr 2024 01:42:06 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml index 3fa3bdbb0e..9f19f82ca2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jy9tAWNV0UBmAq","request_duration_ms":1128}}' + - '{"last_request_metrics":{"request_id":"req_KCdS3P9OuGbpY8","request_duration_ms":1017}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:44 GMT + - Thu, 11 Apr 2024 01:42:06 GMT Content-Type: - application/json Content-Length: @@ -63,7 +63,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LTZ1iQ7jViVYpT + - req_Rci17cfG5CbUpR Stripe-Version: - '2023-10-16' Vary: @@ -76,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qU8KuuB1fWySnZdV2eZ0k", + "id": "pm_1P4CeQKuuB1fWySnO0eb9vyi", "object": "payment_method", "billing_details": { "address": { @@ -117,28 +117,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237864, + "created": 1712799726, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:44 GMT + recorded_at: Thu, 11 Apr 2024 01:42:06 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1P1qU8KuuB1fWySnZdV2eZ0k&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P4CeQKuuB1fWySnO0eb9vyi&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LTZ1iQ7jViVYpT","request_duration_ms":398}}' + - '{"last_request_metrics":{"request_id":"req_Rci17cfG5CbUpR","request_duration_ms":469}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -155,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:44 GMT + - Thu, 11 Apr 2024 01:42:07 GMT Content-Type: - application/json Content-Length: @@ -182,15 +182,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - '08246155-0523-435e-ab08-90eea375e016' + - 56bf2437-4850-48c1-8dbc-8b0f86938187 Original-Request: - - req_SDlfB9PDXb4KhZ + - req_e0JZRXVwfOR6qo Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SDlfB9PDXb4KhZ + - req_e0JZRXVwfOR6qo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -205,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qU8KuuB1fWySn2YHTAkd6", + "id": "pi_3P4CeRKuuB1fWySn1YSbWl3n", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237864, + "created": 1712799727, "currency": "aud", "customer": null, "description": null, @@ -232,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qU8KuuB1fWySnZdV2eZ0k", + "payment_method": "pm_1P4CeQKuuB1fWySnO0eb9vyi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,22 +257,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:44 GMT + recorded_at: Thu, 11 Apr 2024 01:42:07 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qU8KuuB1fWySn2YHTAkd6/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeRKuuB1fWySn1YSbWl3n/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SDlfB9PDXb4KhZ","request_duration_ms":451}}' + - '{"last_request_metrics":{"request_id":"req_e0JZRXVwfOR6qo","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -289,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:45 GMT + - Thu, 11 Apr 2024 01:42:08 GMT Content-Type: - application/json Content-Length: @@ -317,15 +317,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 16aa2499-2a03-4bb0-a345-f4702d81534c + - c6e4a911-c86a-4d4d-b248-5f50ec694f6b Original-Request: - - req_QhSbZdn46Whusk + - req_PCJdMQOWIbSifj Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QhSbZdn46Whusk + - req_PCJdMQOWIbSifj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -340,7 +340,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qU8KuuB1fWySn2YHTAkd6", + "id": "pi_3P4CeRKuuB1fWySn1YSbWl3n", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -356,18 +356,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237864, + "created": 1712799727, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qU8KuuB1fWySn2FfgDNgo", + "latest_charge": "ch_3P4CeRKuuB1fWySn1jfBHfgN", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qU8KuuB1fWySnZdV2eZ0k", + "payment_method": "pm_1P4CeQKuuB1fWySnO0eb9vyi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -392,7 +392,7 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:45 GMT + recorded_at: Thu, 11 Apr 2024 01:42:08 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -401,13 +401,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QhSbZdn46Whusk","request_duration_ms":915}}' + - '{"last_request_metrics":{"request_id":"req_PCJdMQOWIbSifj","request_duration_ms":1025}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -424,7 +424,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:48 GMT + - Thu, 11 Apr 2024 01:42:11 GMT Content-Type: - application/json Content-Length: @@ -451,15 +451,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d1991332-1891-4d5f-9c1c-50c6d9094afa + - 220a55e4-a147-4f2b-af5c-f969571c926c Original-Request: - - req_RLDwPXSnA2roL4 + - req_0kjyAwzJ6GFITF Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_RLDwPXSnA2roL4 + - req_0kjyAwzJ6GFITF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUB4E8jq5GXqS", + "id": "acct_1P4CeT4CqkLDeByk", "object": "account", "business_profile": { "annual_revenue": null, @@ -496,7 +496,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237868, + "created": 1712799730, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -505,7 +505,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qUB4E8jq5GXqS/external_accounts" + "url": "/v1/accounts/acct_1P4CeT4CqkLDeByk/external_accounts" }, "future_requirements": { "alternatives": [], @@ -602,22 +602,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:37:48 GMT + recorded_at: Thu, 11 Apr 2024 01:42:11 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qUB4E8jq5GXqS + uri: https://api.stripe.com/v1/accounts/acct_1P4CeT4CqkLDeByk body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RLDwPXSnA2roL4","request_duration_ms":1665}}' + - '{"last_request_metrics":{"request_id":"req_0kjyAwzJ6GFITF","request_duration_ms":1881}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -634,7 +634,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:49 GMT + - Thu, 11 Apr 2024 01:42:12 GMT Content-Type: - application/json Content-Length: @@ -665,9 +665,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GUViUk8J8uVpdf + - req_WYJPD993fa3Xs6 Stripe-Account: - - acct_1P1qUB4E8jq5GXqS + - acct_1P4CeT4CqkLDeByk Stripe-Version: - '2023-10-16' Vary: @@ -680,9 +680,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUB4E8jq5GXqS", + "id": "acct_1P4CeT4CqkLDeByk", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:37:49 GMT + recorded_at: Thu, 11 Apr 2024 01:42:12 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml index bb839861ef..49eb8cb06b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GUViUk8J8uVpdf","request_duration_ms":1070}}' + - '{"last_request_metrics":{"request_id":"req_WYJPD993fa3Xs6","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:51 GMT + - Thu, 11 Apr 2024 01:42:13 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fbba5462-f62d-4473-9042-09f37e393035 + - 4df340e3-861b-46f1-98d0-197e10a90ec5 Original-Request: - - req_Lhf94tsrKwMxj9 + - req_OkDOipPX0BQeet Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Lhf94tsrKwMxj9 + - req_OkDOipPX0BQeet Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUE4Ek2ZwB7pH", + "id": "acct_1P4CeW4GQ5sbQu5r", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237870, + "created": 1712799733, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qUE4Ek2ZwB7pH/external_accounts" + "url": "/v1/accounts/acct_1P4CeW4GQ5sbQu5r/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:37:51 GMT + recorded_at: Thu, 11 Apr 2024 01:42:13 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -218,13 +218,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Lhf94tsrKwMxj9","request_duration_ms":1760}}' + - '{"last_request_metrics":{"request_id":"req_OkDOipPX0BQeet","request_duration_ms":1590}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:54 GMT + - Thu, 11 Apr 2024 01:42:15 GMT Content-Type: - application/json Content-Length: @@ -273,7 +273,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ncWbHoIxZpGKkT + - req_h69dPvJbhHsCM4 Stripe-Version: - '2023-10-16' Vary: @@ -286,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qUHKuuB1fWySnzahOxFqp", + "id": "pm_1P4CeYKuuB1fWySnhbp2ajh1", "object": "payment_method", "billing_details": { "address": { @@ -327,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237874, + "created": 1712799734, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:54 GMT + recorded_at: Thu, 11 Apr 2024 01:42:14 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -342,19 +342,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ncWbHoIxZpGKkT","request_duration_ms":357}}' + - '{"last_request_metrics":{"request_id":"req_h69dPvJbhHsCM4","request_duration_ms":411}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qUE4Ek2ZwB7pH + - acct_1P4CeW4GQ5sbQu5r Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:55 GMT + - Thu, 11 Apr 2024 01:42:16 GMT Content-Type: - application/json Content-Length: @@ -394,17 +394,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f061a829-02ea-4b92-8826-479969b53cfa + - b400791d-088a-490a-8597-52e7d5a6cca1 Original-Request: - - req_zR4xiGCSo1ueFT + - req_vPQXW5U7pIfXOX Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zR4xiGCSo1ueFT + - req_vPQXW5U7pIfXOX Stripe-Account: - - acct_1P1qUE4Ek2ZwB7pH + - acct_1P4CeW4GQ5sbQu5r Stripe-Should-Retry: - 'false' Stripe-Version: @@ -419,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", + "id": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -435,18 +435,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237874, + "created": 1712799735, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qUI4Ek2ZwB7pH07qdMaAX", + "latest_charge": "ch_3P4CeZ4GQ5sbQu5r0m1r2sQF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUI4Ek2ZwB7pHTeU52Klq", + "payment_method": "pm_1P4CeZ4GQ5sbQu5rl8ICT4K5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,28 +471,28 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:55 GMT + recorded_at: Thu, 11 Apr 2024 01:42:16 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUI4Ek2ZwB7pH0jJnfyPi + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeZ4GQ5sbQu5r0EgF0mW7 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zR4xiGCSo1ueFT","request_duration_ms":1404}}' + - '{"last_request_metrics":{"request_id":"req_vPQXW5U7pIfXOX","request_duration_ms":1395}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qUE4Ek2ZwB7pH + - acct_1P4CeW4GQ5sbQu5r Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:55 GMT + - Thu, 11 Apr 2024 01:42:16 GMT Content-Type: - application/json Content-Length: @@ -537,9 +537,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8IyKkuoF1szqpR + - req_hWr50HQoPzRx3V Stripe-Account: - - acct_1P1qUE4Ek2ZwB7pH + - acct_1P4CeW4GQ5sbQu5r Stripe-Version: - '2023-10-16' Vary: @@ -552,7 +552,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", + "id": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -568,18 +568,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237874, + "created": 1712799735, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qUI4Ek2ZwB7pH07qdMaAX", + "latest_charge": "ch_3P4CeZ4GQ5sbQu5r0m1r2sQF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUI4Ek2ZwB7pHTeU52Klq", + "payment_method": "pm_1P4CeZ4GQ5sbQu5rl8ICT4K5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -604,10 +604,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:56 GMT + recorded_at: Thu, 11 Apr 2024 01:42:16 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUI4Ek2ZwB7pH0jJnfyPi + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeZ4GQ5sbQu5r0EgF0mW7 body: encoding: US-ASCII string: '' @@ -623,7 +623,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P1qUE4Ek2ZwB7pH + - acct_1P4CeW4GQ5sbQu5r Connection: - close Accept-Encoding: @@ -638,7 +638,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:56 GMT + - Thu, 11 Apr 2024 01:42:17 GMT Content-Type: - application/json Content-Length: @@ -670,9 +670,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EfUN5Rj4O65tHE + - req_lrQ7lgqg6B5Rqy Stripe-Account: - - acct_1P1qUE4Ek2ZwB7pH + - acct_1P4CeW4GQ5sbQu5r Stripe-Version: - '2020-08-27' Vary: @@ -685,7 +685,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", + "id": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -703,7 +703,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P1qUI4Ek2ZwB7pH07qdMaAX", + "id": "ch_3P4CeZ4GQ5sbQu5r0m1r2sQF", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -711,7 +711,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P1qUI4Ek2ZwB7pH0QxwYXBd", + "balance_transaction": "txn_3P4CeZ4GQ5sbQu5r0vbgUMaY", "billing_details": { "address": { "city": null, @@ -727,7 +727,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712237874, + "created": 1712799735, "currency": "aud", "customer": null, "description": null, @@ -747,13 +747,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 24, + "risk_score": 12, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", - "payment_method": "pm_1P1qUI4Ek2ZwB7pHTeU52Klq", + "payment_intent": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", + "payment_method": "pm_1P4CeZ4GQ5sbQu5rl8ICT4K5", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -796,14 +796,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDFxVUU0RWsyWndCN3BIKLTaurAGMgYUD3tJlQQ6LBYNnOvWrV27lg2z12RNCblPrcq9IS7UJX0NaQ7r3JTlMJazDJwQ_TbvcKoQ", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRDZVc0R1E1c2JRdTVyKPn_3LAGMgY2WWsiVI06LBYG_4APh3CgnMaRtVfLTk2W-s5FpdciiZcmn-1P9Hkhau6jZkc4H6Tadl4h", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P1qUI4Ek2ZwB7pH07qdMaAX/refunds" + "url": "/v1/charges/ch_3P4CeZ4GQ5sbQu5r0m1r2sQF/refunds" }, "review": null, "shipping": null, @@ -818,22 +818,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P1qUI4Ek2ZwB7pH0jJnfyPi" + "url": "/v1/charges?payment_intent=pi_3P4CeZ4GQ5sbQu5r0EgF0mW7" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712237874, + "created": 1712799735, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qUI4Ek2ZwB7pH07qdMaAX", + "latest_charge": "ch_3P4CeZ4GQ5sbQu5r0m1r2sQF", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUI4Ek2ZwB7pHTeU52Klq", + "payment_method": "pm_1P4CeZ4GQ5sbQu5rl8ICT4K5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -858,10 +858,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:56 GMT + recorded_at: Thu, 11 Apr 2024 01:42:17 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3P1qUI4Ek2ZwB7pH07qdMaAX/refunds + uri: https://api.stripe.com/v1/charges/ch_3P4CeZ4GQ5sbQu5r0m1r2sQF/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -879,7 +879,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P1qUE4Ek2ZwB7pH + - acct_1P4CeW4GQ5sbQu5r Connection: - close Accept-Encoding: @@ -894,7 +894,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:57 GMT + - Thu, 11 Apr 2024 01:42:19 GMT Content-Type: - application/json Content-Length: @@ -922,17 +922,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4f9bea7d-3299-4cbb-9541-2d5f866f5683 + - 98745e06-0f60-4e95-92f2-989fabe73f1c Original-Request: - - req_I7dCkMSSNATdGF + - req_GxBY4tWwDVvMWd Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_I7dCkMSSNATdGF + - req_GxBY4tWwDVvMWd Stripe-Account: - - acct_1P1qUE4Ek2ZwB7pH + - acct_1P4CeW4GQ5sbQu5r Stripe-Should-Retry: - 'false' Stripe-Version: @@ -947,12 +947,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3P1qUI4Ek2ZwB7pH0euEVI1B", + "id": "re_3P4CeZ4GQ5sbQu5r0E0FSXHD", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P1qUI4Ek2ZwB7pH0SMQHq3F", + "balance_transaction": "txn_3P4CeZ4GQ5sbQu5r0qC4jG0h", "charge": { - "id": "ch_3P1qUI4Ek2ZwB7pH07qdMaAX", + "id": "ch_3P4CeZ4GQ5sbQu5r0m1r2sQF", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -960,7 +960,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P1qUI4Ek2ZwB7pH0QxwYXBd", + "balance_transaction": "txn_3P4CeZ4GQ5sbQu5r0vbgUMaY", "billing_details": { "address": { "city": null, @@ -976,7 +976,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712237874, + "created": 1712799735, "currency": "aud", "customer": null, "description": null, @@ -996,13 +996,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 24, + "risk_score": 12, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", - "payment_method": "pm_1P1qUI4Ek2ZwB7pHTeU52Klq", + "payment_intent": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", + "payment_method": "pm_1P4CeZ4GQ5sbQu5rl8ICT4K5", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -1045,18 +1045,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDFxVUU0RWsyWndCN3BIKLXaurAGMgaDcnecduI6LBbXDFpR8ywGlbV-zbi23m5cCYDkjz3nYYK7Gp4t0E45mjeacdxOKwBPV3XF", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRDZVc0R1E1c2JRdTVyKPr_3LAGMgZj9rPSe-06LBbN8TCYK1UhY8WAe6cBsvm6AgMYphn9EryCanouL-L4Rac0X_qXcZR-13B_", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3P1qUI4Ek2ZwB7pH0euEVI1B", + "id": "re_3P4CeZ4GQ5sbQu5r0E0FSXHD", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P1qUI4Ek2ZwB7pH0SMQHq3F", - "charge": "ch_3P1qUI4Ek2ZwB7pH07qdMaAX", - "created": 1712237877, + "balance_transaction": "txn_3P4CeZ4GQ5sbQu5r0qC4jG0h", + "charge": "ch_3P4CeZ4GQ5sbQu5r0m1r2sQF", + "created": 1712799738, "currency": "aud", "destination_details": { "card": { @@ -1067,7 +1067,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", + "payment_intent": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1077,7 +1077,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3P1qUI4Ek2ZwB7pH07qdMaAX/refunds" + "url": "/v1/charges/ch_3P4CeZ4GQ5sbQu5r0m1r2sQF/refunds" }, "review": null, "shipping": null, @@ -1089,7 +1089,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1712237877, + "created": 1712799738, "currency": "aud", "destination_details": { "card": { @@ -1100,29 +1100,29 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P1qUI4Ek2ZwB7pH0jJnfyPi", + "payment_intent": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 04 Apr 2024 13:37:58 GMT + recorded_at: Thu, 11 Apr 2024 01:42:19 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qUE4Ek2ZwB7pH + uri: https://api.stripe.com/v1/accounts/acct_1P4CeW4GQ5sbQu5r body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8IyKkuoF1szqpR","request_duration_ms":374}}' + - '{"last_request_metrics":{"request_id":"req_hWr50HQoPzRx3V","request_duration_ms":395}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -1139,7 +1139,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:59 GMT + - Thu, 11 Apr 2024 01:42:20 GMT Content-Type: - application/json Content-Length: @@ -1170,9 +1170,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mquq9MlYxvy7SC + - req_dJNJhTggw7sqLc Stripe-Account: - - acct_1P1qUE4Ek2ZwB7pH + - acct_1P4CeW4GQ5sbQu5r Stripe-Version: - '2023-10-16' Vary: @@ -1185,9 +1185,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUE4Ek2ZwB7pH", + "id": "acct_1P4CeW4GQ5sbQu5r", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:37:59 GMT + recorded_at: Thu, 11 Apr 2024 01:42:20 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml index f8130ade65..f063a0e769 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mquq9MlYxvy7SC","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_dJNJhTggw7sqLc","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:00 GMT + - Thu, 11 Apr 2024 01:42:21 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 619e306f-dcfa-4f05-9f12-8e3b83c144ef + - 8493b56f-f851-416a-9ff1-76049bb71374 Original-Request: - - req_mhZQ6HtuR8G75e + - req_ubfLNIZzpxwzgq Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mhZQ6HtuR8G75e + - req_ubfLNIZzpxwzgq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUN4GgEVWwVXY", + "id": "acct_1P4Cee4I6x5YhB04", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237880, + "created": 1712799741, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qUN4GgEVWwVXY/external_accounts" + "url": "/v1/accounts/acct_1P4Cee4I6x5YhB04/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:38:00 GMT + recorded_at: Thu, 11 Apr 2024 01:42:21 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -218,13 +218,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mhZQ6HtuR8G75e","request_duration_ms":1665}}' + - '{"last_request_metrics":{"request_id":"req_ubfLNIZzpxwzgq","request_duration_ms":1803}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:02 GMT + - Thu, 11 Apr 2024 01:42:23 GMT Content-Type: - application/json Content-Length: @@ -273,7 +273,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_uUs92ctIEcV34e + - req_UAMSHDS9ipeL31 Stripe-Version: - '2023-10-16' Vary: @@ -286,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qUQKuuB1fWySnG16r4oQ8", + "id": "pm_1P4CegKuuB1fWySnKZeZ67yq", "object": "payment_method", "billing_details": { "address": { @@ -327,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237882, + "created": 1712799742, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:38:02 GMT + recorded_at: Thu, 11 Apr 2024 01:42:23 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -342,19 +342,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uUs92ctIEcV34e","request_duration_ms":397}}' + - '{"last_request_metrics":{"request_id":"req_UAMSHDS9ipeL31","request_duration_ms":501}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qUN4GgEVWwVXY + - acct_1P4Cee4I6x5YhB04 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:03 GMT + - Thu, 11 Apr 2024 01:42:23 GMT Content-Type: - application/json Content-Length: @@ -394,17 +394,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 15c94cef-a4c3-4dad-981e-d9a5d6ceb6c3 + - 7e85bda1-659c-4c06-9fd4-cf2eba70ed86 Original-Request: - - req_C1fm2DefrLevPR + - req_1RhuCxK6FKMSwQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_C1fm2DefrLevPR + - req_1RhuCxK6FKMSwQ Stripe-Account: - - acct_1P1qUN4GgEVWwVXY + - acct_1P4Cee4I6x5YhB04 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -419,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUR4GgEVWwVXY1942ur74", + "id": "pi_3P4Ceh4I6x5YhB04149YY7BP", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -435,7 +435,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237883, + "created": 1712799743, "currency": "aud", "customer": null, "description": null, @@ -446,7 +446,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUQ4GgEVWwVXYTsJd7So7", + "payment_method": "pm_1P4Ceh4I6x5YhB04QkQAz9WS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,28 +471,28 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:03 GMT + recorded_at: Thu, 11 Apr 2024 01:42:23 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUR4GgEVWwVXY1942ur74 + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ceh4I6x5YhB04149YY7BP body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_C1fm2DefrLevPR","request_duration_ms":518}}' + - '{"last_request_metrics":{"request_id":"req_1RhuCxK6FKMSwQ","request_duration_ms":534}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qUN4GgEVWwVXY + - acct_1P4Cee4I6x5YhB04 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:03 GMT + - Thu, 11 Apr 2024 01:42:24 GMT Content-Type: - application/json Content-Length: @@ -537,9 +537,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6fSsudVoicbiZk + - req_X2m4m8rKbyU9L0 Stripe-Account: - - acct_1P1qUN4GgEVWwVXY + - acct_1P4Cee4I6x5YhB04 Stripe-Version: - '2023-10-16' Vary: @@ -552,7 +552,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUR4GgEVWwVXY1942ur74", + "id": "pi_3P4Ceh4I6x5YhB04149YY7BP", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -568,7 +568,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237883, + "created": 1712799743, "currency": "aud", "customer": null, "description": null, @@ -579,7 +579,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUQ4GgEVWwVXYTsJd7So7", + "payment_method": "pm_1P4Ceh4I6x5YhB04QkQAz9WS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -604,10 +604,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:03 GMT + recorded_at: Thu, 11 Apr 2024 01:42:24 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUR4GgEVWwVXY1942ur74/cancel + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ceh4I6x5YhB04149YY7BP/cancel body: encoding: US-ASCII string: '' @@ -625,7 +625,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P1qUN4GgEVWwVXY + - acct_1P4Cee4I6x5YhB04 Connection: - close Accept-Encoding: @@ -640,7 +640,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:04 GMT + - Thu, 11 Apr 2024 01:42:24 GMT Content-Type: - application/json Content-Length: @@ -668,17 +668,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9431c4ee-1a8e-4cb5-86fe-be6d5071d304 + - 6c88247e-1655-4d3b-aafc-598e773e5f08 Original-Request: - - req_yNAMSl9uKGzLLf + - req_dk9aNDbFoDF2QZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_yNAMSl9uKGzLLf + - req_dk9aNDbFoDF2QZ Stripe-Account: - - acct_1P1qUN4GgEVWwVXY + - acct_1P4Cee4I6x5YhB04 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -693,7 +693,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUR4GgEVWwVXY1942ur74", + "id": "pi_3P4Ceh4I6x5YhB04149YY7BP", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -704,7 +704,7 @@ http_interactions: "application": "", "application_fee_amount": null, "automatic_payment_methods": null, - "canceled_at": 1712237884, + "canceled_at": 1712799744, "cancellation_reason": null, "capture_method": "manual", "charges": { @@ -712,11 +712,11 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges?payment_intent=pi_3P1qUR4GgEVWwVXY1942ur74" + "url": "/v1/charges?payment_intent=pi_3P4Ceh4I6x5YhB04149YY7BP" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712237883, + "created": 1712799743, "currency": "aud", "customer": null, "description": null, @@ -727,7 +727,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUQ4GgEVWwVXYTsJd7So7", + "payment_method": "pm_1P4Ceh4I6x5YhB04QkQAz9WS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -752,22 +752,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:04 GMT + recorded_at: Thu, 11 Apr 2024 01:42:24 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qUN4GgEVWwVXY + uri: https://api.stripe.com/v1/accounts/acct_1P4Cee4I6x5YhB04 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6fSsudVoicbiZk","request_duration_ms":346}}' + - '{"last_request_metrics":{"request_id":"req_X2m4m8rKbyU9L0","request_duration_ms":447}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -784,7 +784,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:05 GMT + - Thu, 11 Apr 2024 01:42:26 GMT Content-Type: - application/json Content-Length: @@ -815,9 +815,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_M2HXx1tZ6HbrSa + - req_6nYq7gQCqDQnbu Stripe-Account: - - acct_1P1qUN4GgEVWwVXY + - acct_1P4Cee4I6x5YhB04 Stripe-Version: - '2023-10-16' Vary: @@ -830,9 +830,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUN4GgEVWwVXY", + "id": "acct_1P4Cee4I6x5YhB04", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:38:05 GMT + recorded_at: Thu, 11 Apr 2024 01:42:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml similarity index 71% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml index 4b5c13f731..86e43bc716 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml @@ -8,13 +8,13 @@ http_interactions: string: stripe_user_id=&client_id=bogus_client_id headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5G9aqJo89J2ae9","request_duration_ms":975}}' + - '{"last_request_metrics":{"request_id":"req_9bYrMMiSVMcKK3","request_duration_ms":1121}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:25 GMT + - Thu, 11 Apr 2024 01:42:45 GMT Content-Type: - application/json Content-Length: @@ -57,18 +57,20 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_czR7wiEtotT5KP + - req_zb3YVY6gEAtvxo Set-Cookie: - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Fri, 04 Apr 2025 13:38:25 GMT; secure; + domain=stripe.com; path=/; expires=Fri, 11 Apr 2025 01:42:45 GMT; secure; HttpOnly; SameSite=Lax - - machine_identifier=8hhmxdy6jY%2Be4R3NQFvHYkHxzwigM2n8NkTLNwOr71TMZ9TOme1AmL7fLM3qoqYuu2A%3D; - domain=stripe.com; path=/; expires=Fri, 04 Apr 2025 13:38:25 GMT; secure; + - cid=9815559b-cba9-4da2-b751-4c090b5103d4; domain=stripe.com; path=/; expires=Wed, + 10 Jul 2024 01:42:45 GMT; secure; SameSite=Lax + - machine_identifier=WxwQLtXFWcvzkNQGA1f0D7mJfeooX444ywXHXWrhQbhOmiedbqQQSdFE99kGjVbaePg%3D; + domain=stripe.com; path=/; expires=Fri, 11 Apr 2025 01:42:45 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=hf3i%2BnHt%2F8p0WndP3Nv9mIborTcWXAnH%2F1VIctkexh5QR8IgxHE1TwVjYAzWb7wkvfU%3D; - domain=stripe.com; path=/; expires=Fri, 04 Apr 2025 13:38:25 GMT; secure; + - private_machine_identifier=FsjivGL97M1akNYAtD%2BgSfwDIn5iYOCPCIgNyWIT6ydWlUCrSJz3ixUNuQUFW9eVsy4%3D; + domain=stripe.com; path=/; expires=Fri, 11 Apr 2025 01:42:45 GMT; secure; HttpOnly; SameSite=None - - stripe.csrf=NF33Y9hlhXOBAxUHC26pbjX6uJxJCgI3y8UqQZmnndJnKVITKzfNqAgxQL50wvj7jcu4wRx_RVYTVWlVLhGFbjw-AYTZVJxhovboiyspvyH2SyaglyGKyH-4_EfeaazO6oaSnx7AyQ%3D%3D; + - stripe.csrf=inx-AQDnqtYjoWXOptx1JaPV2pnAdRdkzOutkv2CQhuRmfrhIPMwtRwMNiwSJS6KyNRU0jTtC3em8cXV81HJVTw-AYTZVJz4bD8HIFmVILFrw8wFPYu3ogaV5YuLCVCVGdNQMaEW5Q%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -86,5 +88,5 @@ http_interactions: ''bogus_client_id''","stripe_user_id":null} ' - recorded_at: Thu, 04 Apr 2024 13:38:25 GMT + recorded_at: Thu, 11 Apr 2024 01:42:45 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml similarity index 84% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml index ac3d206213..774244162c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5G9aqJo89J2ae9","request_duration_ms":975}}' + - '{"last_request_metrics":{"request_id":"req_9bYrMMiSVMcKK3","request_duration_ms":1121}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:27 GMT + - Thu, 11 Apr 2024 01:42:48 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c575f0ac-06f4-4593-ad89-128f47972d68 + - 543e6674-c26c-4565-a13b-995df476579c Original-Request: - - req_FIvfVhrt19W9ks + - req_df5P3X5kYWras9 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FIvfVhrt19W9ks + - req_df5P3X5kYWras9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qUn4GGuNzU93t", + "id": "acct_1P4Cf44K2CrobfOo", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237906, + "created": 1712799767, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qUn4GGuNzU93t/external_accounts" + "url": "/v1/accounts/acct_1P4Cf44K2CrobfOo/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,22 +209,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:38:27 GMT + recorded_at: Thu, 11 Apr 2024 01:42:48 GMT - request: method: post uri: https://connect.stripe.com/oauth/deauthorize body: encoding: UTF-8 - string: stripe_user_id=acct_1P1qUn4GGuNzU93t&client_id= + string: stripe_user_id=acct_1P4Cf44K2CrobfOo&client_id= headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FIvfVhrt19W9ks","request_duration_ms":1871}}' + - '{"last_request_metrics":{"request_id":"req_df5P3X5kYWras9","request_duration_ms":2345}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:27 GMT + - Thu, 11 Apr 2024 01:42:48 GMT Content-Type: - application/json Content-Length: @@ -267,18 +267,20 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Xun0z6BMx7u8Td + - req_tcXm0UbUoHE3l6 Set-Cookie: - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Fri, 04 Apr 2025 13:38:27 GMT; secure; + domain=stripe.com; path=/; expires=Fri, 11 Apr 2025 01:42:48 GMT; secure; HttpOnly; SameSite=Lax - - machine_identifier=XNePXGP6k0kAiCZWTz7EerdMXu9rquf749s%2FEvkkZsBG4SChJqopqQB1GNpHG7AqbDc%3D; - domain=stripe.com; path=/; expires=Fri, 04 Apr 2025 13:38:27 GMT; secure; + - cid=3ce67fca-df18-4d8b-880e-4adc6b6a3011; domain=stripe.com; path=/; expires=Wed, + 10 Jul 2024 01:42:48 GMT; secure; SameSite=Lax + - machine_identifier=bi6zM%2FTcqP07Y8hEy2MB%2FAOZXxhJndlZnh6XH8IXOoWSXdyIf96RBfAxwUoUcTucjfw%3D; + domain=stripe.com; path=/; expires=Fri, 11 Apr 2025 01:42:48 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=i9%2F2XuiaVcAvmWtafUOT2%2BNfchqlozTQQzA8ZB7yChosSl%2BZY46zmldMDbZMCyWxDw8%3D; - domain=stripe.com; path=/; expires=Fri, 04 Apr 2025 13:38:27 GMT; secure; + - private_machine_identifier=qOJTgAyIgSA6CqoxPUYbHJ2066tOrmcDPbdeSNexOTYtnLtixcIlEuK%2Fln02RZfYn8c%3D; + domain=stripe.com; path=/; expires=Fri, 11 Apr 2025 01:42:48 GMT; secure; HttpOnly; SameSite=None - - stripe.csrf=mhCN3TcRvJPGIMV_0e1gj1n5XmFQzRN_ecBJNkrtjA1nKsux22pK9Qkr3UDSx__8xyQVysl2yKOm0myghi_5Zjw-AYTZVJw14ZeUiMEQbtinmj0zJMSIA-ji2R2F_rIbFCihnr_uig%3D%3D; + - stripe.csrf=Fm0ciqqyck9g0JhwP5DGa3NEevVahkdj387npn_K6GLHvMGi3yP8osk7ateeQK5fgIpu1DibLwUMhyLqo5CgkTw-AYTZVJwH8noGRrY3oLAYd5k7Lo21cpMM2pOAeGXdY-ltkyyf0w%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -290,8 +292,8 @@ http_interactions: - max-age=63072000; includeSubDomains; preload body: encoding: UTF-8 - string: '{"error":null,"error_description":null,"stripe_user_id":"acct_1P1qUn4GGuNzU93t"} + string: '{"error":null,"error_description":null,"stripe_user_id":"acct_1P4Cf44K2CrobfOo"} ' - recorded_at: Thu, 04 Apr 2024 13:38:27 GMT + recorded_at: Thu, 11 Apr 2024 01:42:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml index 280b6b88f9..03b6956da4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PBAG82sOA0Kdel","request_duration_ms":1632}}' + - '{"last_request_metrics":{"request_id":"req_TYX4cYK26bUKyt","request_duration_ms":1262}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:37 GMT + - Thu, 11 Apr 2024 01:42:57 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d42dc9cd-88f8-44ec-9fc4-f0186a8dac9e + - 2aa7ac77-82aa-415c-8ac9-7cf5737fa822 Original-Request: - - req_Zg3tdEfNeLKrWU + - req_ccyq0bhWkLSnqp Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Zg3tdEfNeLKrWU + - req_ccyq0bhWkLSnqp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qUzKuuB1fWySndKcTlyWm", + "id": "pm_1P4CfEKuuB1fWySnUeQGFJVE", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237917, + "created": 1712799776, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:38:37 GMT + recorded_at: Thu, 11 Apr 2024 01:42:57 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P1qUzKuuB1fWySndKcTlyWm&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P4CfEKuuB1fWySnUeQGFJVE&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Zg3tdEfNeLKrWU","request_duration_ms":469}}' + - '{"last_request_metrics":{"request_id":"req_ccyq0bhWkLSnqp","request_duration_ms":564}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:37 GMT + - Thu, 11 Apr 2024 01:42:57 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fb3b4be3-623b-49d4-a416-5dd98cab5b32 + - 19990890-4f83-44f5-9cc5-66370150425d Original-Request: - - req_DfdVzi2FyJBxbY + - req_aZdCc1T0laY225 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DfdVzi2FyJBxbY + - req_aZdCc1T0laY225 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUzKuuB1fWySn1oQIpPtE", + "id": "pi_3P4CfFKuuB1fWySn1rALRtwl", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237917, + "created": 1712799777, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUzKuuB1fWySndKcTlyWm", + "payment_method": "pm_1P4CfEKuuB1fWySnUeQGFJVE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:37 GMT + recorded_at: Thu, 11 Apr 2024 01:42:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUzKuuB1fWySn1oQIpPtE/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfFKuuB1fWySn1rALRtwl/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DfdVzi2FyJBxbY","request_duration_ms":389}}' + - '{"last_request_metrics":{"request_id":"req_aZdCc1T0laY225","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:38 GMT + - Thu, 11 Apr 2024 01:42:58 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4df1f016-9c82-427c-b5ae-48ea748079e3 + - ccea12d9-9b86-46de-bd2a-c14ffc8eba52 Original-Request: - - req_CqqhHVo4Yo4mFn + - req_SHeM7eNQxq7br4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_CqqhHVo4Yo4mFn + - req_SHeM7eNQxq7br4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUzKuuB1fWySn1oQIpPtE", + "id": "pi_3P4CfFKuuB1fWySn1rALRtwl", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237917, + "created": 1712799777, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qUzKuuB1fWySn1n3iHIgm", + "latest_charge": "ch_3P4CfFKuuB1fWySn1wgtaive", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUzKuuB1fWySndKcTlyWm", + "payment_method": "pm_1P4CfEKuuB1fWySnUeQGFJVE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:39 GMT + recorded_at: Thu, 11 Apr 2024 01:42:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUzKuuB1fWySn1oQIpPtE/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfFKuuB1fWySn1rALRtwl/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CqqhHVo4Yo4mFn","request_duration_ms":1243}}' + - '{"last_request_metrics":{"request_id":"req_SHeM7eNQxq7br4","request_duration_ms":945}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:40 GMT + - Thu, 11 Apr 2024 01:42:59 GMT Content-Type: - application/json Content-Length: @@ -457,15 +457,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1e1cf152-8439-444f-ba5e-7fe2a99305b7 + - 68d1f711-c85f-48a3-a72e-4eb29624365d Original-Request: - - req_p1hkOWoUJyv0CV + - req_ME1DaPnCIJ5bmj Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_p1hkOWoUJyv0CV + - req_ME1DaPnCIJ5bmj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -480,7 +480,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUzKuuB1fWySn1oQIpPtE", + "id": "pi_3P4CfFKuuB1fWySn1rALRtwl", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -496,18 +496,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237917, + "created": 1712799777, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qUzKuuB1fWySn1n3iHIgm", + "latest_charge": "ch_3P4CfFKuuB1fWySn1wgtaive", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUzKuuB1fWySndKcTlyWm", + "payment_method": "pm_1P4CfEKuuB1fWySnUeQGFJVE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -532,22 +532,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:40 GMT + recorded_at: Thu, 11 Apr 2024 01:42:59 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUzKuuB1fWySn1oQIpPtE + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfFKuuB1fWySn1rALRtwl body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_p1hkOWoUJyv0CV","request_duration_ms":1326}}' + - '{"last_request_metrics":{"request_id":"req_ME1DaPnCIJ5bmj","request_duration_ms":1248}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -564,7 +564,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:41 GMT + - Thu, 11 Apr 2024 01:43:00 GMT Content-Type: - application/json Content-Length: @@ -596,7 +596,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mMJQsa3EGnz6Dv + - req_rZwiAlPiMghx6Z Stripe-Version: - '2023-10-16' Vary: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUzKuuB1fWySn1oQIpPtE", + "id": "pi_3P4CfFKuuB1fWySn1rALRtwl", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237917, + "created": 1712799777, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qUzKuuB1fWySn1n3iHIgm", + "latest_charge": "ch_3P4CfFKuuB1fWySn1wgtaive", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUzKuuB1fWySndKcTlyWm", + "payment_method": "pm_1P4CfEKuuB1fWySnUeQGFJVE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,5 +661,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:41 GMT + recorded_at: Thu, 11 Apr 2024 01:43:00 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml index 4477db1f56..1d5815650a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_p2ofUu7gSQOwEV","request_duration_ms":481}}' + - '{"last_request_metrics":{"request_id":"req_u19NRhqbswzHgY","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:33 GMT + - Thu, 11 Apr 2024 01:42:53 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1197f9f6-262c-494e-a0e1-84159b58f414 + - 360f2609-0256-4609-8d98-dcdd763014a6 Original-Request: - - req_SXqnGX50TTk9BX + - req_XEBghHAcyXforc Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SXqnGX50TTk9BX + - req_XEBghHAcyXforc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qUvKuuB1fWySnV2gmkV0Q", + "id": "pm_1P4CfBKuuB1fWySnZiXdbXrx", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237913, + "created": 1712799773, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:38:33 GMT + recorded_at: Thu, 11 Apr 2024 01:42:53 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P1qUvKuuB1fWySnV2gmkV0Q&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P4CfBKuuB1fWySnZiXdbXrx&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SXqnGX50TTk9BX","request_duration_ms":449}}' + - '{"last_request_metrics":{"request_id":"req_XEBghHAcyXforc","request_duration_ms":529}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:33 GMT + - Thu, 11 Apr 2024 01:42:54 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 484dfab1-6019-4985-9d93-92c1ed3ba8c9 + - 71881b50-3320-448c-9480-9b0cdb5c16f7 Original-Request: - - req_XjFYZ1UKP4I4yf + - req_TRztIbCEvjBtu4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XjFYZ1UKP4I4yf + - req_TRztIbCEvjBtu4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUvKuuB1fWySn2v6UXMQ9", + "id": "pi_3P4CfBKuuB1fWySn2ZyFmQil", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237913, + "created": 1712799773, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUvKuuB1fWySnV2gmkV0Q", + "payment_method": "pm_1P4CfBKuuB1fWySnZiXdbXrx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:33 GMT + recorded_at: Thu, 11 Apr 2024 01:42:54 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUvKuuB1fWySn2v6UXMQ9/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfBKuuB1fWySn2ZyFmQil/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XjFYZ1UKP4I4yf","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_TRztIbCEvjBtu4","request_duration_ms":506}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:34 GMT + - Thu, 11 Apr 2024 01:42:55 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ad77363c-7641-4543-8d88-ad57e4f97731 + - 8ebcb5c6-6ad5-4ae9-839f-d2a69aac380a Original-Request: - - req_oFTnMskEV3fDWm + - req_l6BIn37FcCkh89 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_oFTnMskEV3fDWm + - req_l6BIn37FcCkh89 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUvKuuB1fWySn2v6UXMQ9", + "id": "pi_3P4CfBKuuB1fWySn2ZyFmQil", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237913, + "created": 1712799773, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qUvKuuB1fWySn23MtaEQ8", + "latest_charge": "ch_3P4CfBKuuB1fWySn28z5EJNz", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUvKuuB1fWySnV2gmkV0Q", + "payment_method": "pm_1P4CfBKuuB1fWySnZiXdbXrx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:34 GMT + recorded_at: Thu, 11 Apr 2024 01:42:54 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUvKuuB1fWySn2v6UXMQ9/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfBKuuB1fWySn2ZyFmQil/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oFTnMskEV3fDWm","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_l6BIn37FcCkh89","request_duration_ms":909}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:36 GMT + - Thu, 11 Apr 2024 01:42:56 GMT Content-Type: - application/json Content-Length: @@ -457,15 +457,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6f6e22f5-0b8a-4684-a54a-ac18fc633afc + - 84725776-6d31-4f48-98ef-6d590f7a1f2d Original-Request: - - req_PBAG82sOA0Kdel + - req_TYX4cYK26bUKyt Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PBAG82sOA0Kdel + - req_TYX4cYK26bUKyt Stripe-Should-Retry: - 'false' Stripe-Version: @@ -480,7 +480,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUvKuuB1fWySn2v6UXMQ9", + "id": "pi_3P4CfBKuuB1fWySn2ZyFmQil", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -496,18 +496,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237913, + "created": 1712799773, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qUvKuuB1fWySn23MtaEQ8", + "latest_charge": "ch_3P4CfBKuuB1fWySn28z5EJNz", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUvKuuB1fWySnV2gmkV0Q", + "payment_method": "pm_1P4CfBKuuB1fWySnZiXdbXrx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -532,5 +532,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:36 GMT + recorded_at: Thu, 11 Apr 2024 01:42:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml index 7fa5659c38..e0e264af22 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5RY5kbY6QMHQeb","request_duration_ms":396}}' + - '{"last_request_metrics":{"request_id":"req_hDuAD7svVx7EjN","request_duration_ms":445}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:32 GMT + - Thu, 11 Apr 2024 01:42:52 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 45bfa804-4620-4efa-883f-c047506a4759 + - 4d8a97c6-412a-4e39-a502-b7f77c90dd21 Original-Request: - - req_E5xBBgNfiB3Q4m + - req_GJtDTywa3XMBGf Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_E5xBBgNfiB3Q4m + - req_GJtDTywa3XMBGf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qUtKuuB1fWySnkP12AaIv", + "id": "pm_1P4CfAKuuB1fWySnmLnN4k02", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237912, + "created": 1712799772, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:38:32 GMT + recorded_at: Thu, 11 Apr 2024 01:42:52 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P1qUtKuuB1fWySnkP12AaIv&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P4CfAKuuB1fWySnmLnN4k02&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_E5xBBgNfiB3Q4m","request_duration_ms":458}}' + - '{"last_request_metrics":{"request_id":"req_GJtDTywa3XMBGf","request_duration_ms":522}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:32 GMT + - Thu, 11 Apr 2024 01:42:52 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a1f72abb-56ee-4fa8-9b94-9c2f35c2649f + - fbc43e50-2334-46cf-934e-9246f816bb57 Original-Request: - - req_p2ofUu7gSQOwEV + - req_u19NRhqbswzHgY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_p2ofUu7gSQOwEV + - req_u19NRhqbswzHgY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUuKuuB1fWySn0h8VAG9r", + "id": "pi_3P4CfAKuuB1fWySn0zgRpW3m", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237912, + "created": 1712799772, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUtKuuB1fWySnkP12AaIv", + "payment_method": "pm_1P4CfAKuuB1fWySnmLnN4k02", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,5 +262,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:32 GMT + recorded_at: Thu, 11 Apr 2024 01:42:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml index c932dd09cb..1af4e0de22 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3oMKFPbLvBvMMy","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_QxAE2RQy4L9SUs","request_duration_ms":467}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:30 GMT + - Thu, 11 Apr 2024 01:42:50 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8cddc0fd-7feb-426a-9d8a-1053835be9da + - a496c0c3-060f-4ab5-90be-bc5da624fe97 Original-Request: - - req_6cO4XaUgsFuh9T + - req_B5YJajLzglYUii Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6cO4XaUgsFuh9T + - req_B5YJajLzglYUii Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qUrKuuB1fWySntae3NFPU", + "id": "pm_1P4Cf8KuuB1fWySnCT1NkbIN", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237909, + "created": 1712799770, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:38:30 GMT + recorded_at: Thu, 11 Apr 2024 01:42:50 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P1qUrKuuB1fWySntae3NFPU&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P4Cf8KuuB1fWySnCT1NkbIN&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6cO4XaUgsFuh9T","request_duration_ms":494}}' + - '{"last_request_metrics":{"request_id":"req_B5YJajLzglYUii","request_duration_ms":486}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:30 GMT + - Thu, 11 Apr 2024 01:42:51 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - da8f57d2-2ebc-42bf-af3e-47c5056ddd90 + - dfa25a19-743b-492d-ac08-60092d49bf4b Original-Request: - - req_zE8MJw81wHeViI + - req_o1vwPlG1BAXQNm Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zE8MJw81wHeViI + - req_o1vwPlG1BAXQNm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUsKuuB1fWySn0pnrVG5s", + "id": "pi_3P4Cf9KuuB1fWySn11pFttMm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237910, + "created": 1712799771, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUrKuuB1fWySntae3NFPU", + "payment_method": "pm_1P4Cf8KuuB1fWySnCT1NkbIN", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:30 GMT + recorded_at: Thu, 11 Apr 2024 01:42:51 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qUsKuuB1fWySn0pnrVG5s + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cf9KuuB1fWySn11pFttMm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zE8MJw81wHeViI","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_o1vwPlG1BAXQNm","request_duration_ms":504}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:31 GMT + - Thu, 11 Apr 2024 01:42:51 GMT Content-Type: - application/json Content-Length: @@ -326,7 +326,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5RY5kbY6QMHQeb + - req_hDuAD7svVx7EjN Stripe-Version: - '2023-10-16' Vary: @@ -339,7 +339,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUsKuuB1fWySn0pnrVG5s", + "id": "pi_3P4Cf9KuuB1fWySn11pFttMm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -355,7 +355,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237910, + "created": 1712799771, "currency": "aud", "customer": null, "description": null, @@ -366,7 +366,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUrKuuB1fWySntae3NFPU", + "payment_method": "pm_1P4Cf8KuuB1fWySnCT1NkbIN", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -391,5 +391,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:31 GMT + recorded_at: Thu, 11 Apr 2024 01:42:51 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml index 52914a0014..592777a570 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Xun0z6BMx7u8Td","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_tcXm0UbUoHE3l6","request_duration_ms":589}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:28 GMT + - Thu, 11 Apr 2024 01:42:49 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 46a7bb0c-2860-441b-9370-b7d5bf669353 + - 2d0bda1e-0c00-41a0-ae44-d8b08317eb17 Original-Request: - - req_YeSyN3KwTkqmpx + - req_0ebY2CdBa0kLZ5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_YeSyN3KwTkqmpx + - req_0ebY2CdBa0kLZ5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qUqKuuB1fWySns3LSy7Ld", + "id": "pm_1P4Cf7KuuB1fWySnf4YwSwEX", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237908, + "created": 1712799769, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:38:28 GMT + recorded_at: Thu, 11 Apr 2024 01:42:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P1qUqKuuB1fWySns3LSy7Ld&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P4Cf7KuuB1fWySnf4YwSwEX&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YeSyN3KwTkqmpx","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_0ebY2CdBa0kLZ5","request_duration_ms":460}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:29 GMT + - Thu, 11 Apr 2024 01:42:50 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 99b2a7a0-83a5-451c-bd2f-bfe975485b8f + - f502063d-f100-47d3-8aa0-7da9bc130db0 Original-Request: - - req_3oMKFPbLvBvMMy + - req_QxAE2RQy4L9SUs Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3oMKFPbLvBvMMy + - req_QxAE2RQy4L9SUs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qUqKuuB1fWySn1Sa2QyOf", + "id": "pi_3P4Cf7KuuB1fWySn11m4vnRI", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237908, + "created": 1712799769, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qUqKuuB1fWySns3LSy7Ld", + "payment_method": "pm_1P4Cf7KuuB1fWySnf4YwSwEX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,5 +262,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:29 GMT + recorded_at: Thu, 11 Apr 2024 01:42:49 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml index c2cc8c9fa0..bc89f21de2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_N3z3Q56Qvhb9Yh","request_duration_ms":374}}' + - '{"last_request_metrics":{"request_id":"req_kK49CSJ3ow9j3K","request_duration_ms":491}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:12 GMT + - Thu, 11 Apr 2024 01:39:26 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5bf042f9-9e5d-49ab-a617-546ec867ef83 + - b9831e86-cb52-47d2-ba40-b603c42078a4 Original-Request: - - req_NtjAFxOD3MZrSD + - req_ww71z0UnfLqkcj Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NtjAFxOD3MZrSD + - req_ww71z0UnfLqkcj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRgKuuB1fWySn7MLkOF0U", + "id": "pm_1P4CbqKuuB1fWySnBHGi6m3a", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237712, + "created": 1712799566, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:12 GMT + recorded_at: Thu, 11 Apr 2024 01:39:26 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -137,13 +137,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NtjAFxOD3MZrSD","request_duration_ms":490}}' + - '{"last_request_metrics":{"request_id":"req_ww71z0UnfLqkcj","request_duration_ms":645}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:14 GMT + - Thu, 11 Apr 2024 01:39:28 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b6e76dc2-75e9-4d82-ba28-269e70b2b25c + - a4ce1cef-fd65-4a15-8395-6c991454e1fb Original-Request: - - req_Nojg30SqCqaZhM + - req_rFrBTDyJMBYFg2 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Nojg30SqCqaZhM + - req_rFrBTDyJMBYFg2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRgQLp18wPYiN", + "id": "acct_1P4Cbr4IrHqw6weo", "object": "account", "business_profile": { "annual_revenue": null, @@ -232,7 +232,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237713, + "created": 1712799568, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -241,7 +241,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qRgQLp18wPYiN/external_accounts" + "url": "/v1/accounts/acct_1P4Cbr4IrHqw6weo/external_accounts" }, "future_requirements": { "alternatives": [], @@ -338,22 +338,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:35:14 GMT + recorded_at: Thu, 11 Apr 2024 01:39:28 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRgKuuB1fWySn7MLkOF0U + uri: https://api.stripe.com/v1/payment_methods/pm_1P4CbqKuuB1fWySnBHGi6m3a body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Nojg30SqCqaZhM","request_duration_ms":1704}}' + - '{"last_request_metrics":{"request_id":"req_rFrBTDyJMBYFg2","request_duration_ms":1939}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -370,7 +370,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:14 GMT + - Thu, 11 Apr 2024 01:39:29 GMT Content-Type: - application/json Content-Length: @@ -402,7 +402,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VXBQonedaIlsL0 + - req_O2c9koi2YkH7oO Stripe-Version: - '2023-10-16' Vary: @@ -415,7 +415,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRgKuuB1fWySn7MLkOF0U", + "id": "pm_1P4CbqKuuB1fWySnBHGi6m3a", "object": "payment_method", "billing_details": { "address": { @@ -456,13 +456,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237712, + "created": 1712799566, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:14 GMT + recorded_at: Thu, 11 Apr 2024 01:39:29 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -471,19 +471,19 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VXBQonedaIlsL0","request_duration_ms":299}}' + - '{"last_request_metrics":{"request_id":"req_O2c9koi2YkH7oO","request_duration_ms":423}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qRgQLp18wPYiN + - acct_1P4Cbr4IrHqw6weo Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -496,7 +496,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:14 GMT + - Thu, 11 Apr 2024 01:39:29 GMT Content-Type: - application/json Content-Length: @@ -527,9 +527,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_g3gf7KWKtazS1I + - req_gWUI45VEjZnwb0 Stripe-Account: - - acct_1P1qRgQLp18wPYiN + - acct_1P4Cbr4IrHqw6weo Stripe-Version: - '2023-10-16' Vary: @@ -547,28 +547,28 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Thu, 04 Apr 2024 13:35:15 GMT + recorded_at: Thu, 11 Apr 2024 01:39:29 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: payment_method=pm_1P1qRgKuuB1fWySn7MLkOF0U + string: payment_method=pm_1P4CbqKuuB1fWySnBHGi6m3a headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_g3gf7KWKtazS1I","request_duration_ms":302}}' + - '{"last_request_metrics":{"request_id":"req_gWUI45VEjZnwb0","request_duration_ms":488}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qRgQLp18wPYiN + - acct_1P4Cbr4IrHqw6weo Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -581,7 +581,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:15 GMT + - Thu, 11 Apr 2024 01:39:30 GMT Content-Type: - application/json Content-Length: @@ -608,17 +608,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d0613ebc-07e0-4205-a86d-6af13ab4f66a + - 74316562-c6c2-4a30-aa03-23dcc5f1ea8d Original-Request: - - req_6h8LjZMCv2T9aV + - req_yZ6FewCUuIUCoN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6h8LjZMCv2T9aV + - req_yZ6FewCUuIUCoN Stripe-Account: - - acct_1P1qRgQLp18wPYiN + - acct_1P4Cbr4IrHqw6weo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -633,7 +633,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRjQLp18wPYiNw7mkVVqQ", + "id": "pm_1P4Cbu4IrHqw6weogQI9gVn9", "object": "payment_method", "billing_details": { "address": { @@ -674,28 +674,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237715, + "created": 1712799570, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:15 GMT + recorded_at: Thu, 11 Apr 2024 01:39:30 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qRgQLp18wPYiN + uri: https://api.stripe.com/v1/accounts/acct_1P4Cbr4IrHqw6weo body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6h8LjZMCv2T9aV","request_duration_ms":411}}' + - '{"last_request_metrics":{"request_id":"req_yZ6FewCUuIUCoN","request_duration_ms":613}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -712,7 +712,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:16 GMT + - Thu, 11 Apr 2024 01:39:31 GMT Content-Type: - application/json Content-Length: @@ -743,9 +743,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KqgGyOZ4kpr1Uv + - req_WHFqykFMJ3ScZ6 Stripe-Account: - - acct_1P1qRgQLp18wPYiN + - acct_1P4Cbr4IrHqw6weo Stripe-Version: - '2023-10-16' Vary: @@ -758,9 +758,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRgQLp18wPYiN", + "id": "acct_1P4Cbr4IrHqw6weo", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:35:16 GMT + recorded_at: Thu, 11 Apr 2024 01:39:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml index 7c6bee1f07..c938d24fb3 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KqgGyOZ4kpr1Uv","request_duration_ms":1136}}' + - '{"last_request_metrics":{"request_id":"req_WHFqykFMJ3ScZ6","request_duration_ms":1236}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:17 GMT + - Thu, 11 Apr 2024 01:39:32 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 462e8471-e461-4804-8626-df367259b496 + - 0d4309ba-4878-425e-a417-7367c25d97cc Original-Request: - - req_CgyZEjCCTctily + - req_B3ifBDqFa7qvLq Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_CgyZEjCCTctily + - req_B3ifBDqFa7qvLq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRlKuuB1fWySnxJpaHpSs", + "id": "pm_1P4CbwKuuB1fWySnbRQ6PSVQ", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237717, + "created": 1712799572, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:17 GMT + recorded_at: Thu, 11 Apr 2024 01:39:32 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,13 +137,13 @@ http_interactions: string: name=Apple+Customer&email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CgyZEjCCTctily","request_duration_ms":441}}' + - '{"last_request_metrics":{"request_id":"req_B3ifBDqFa7qvLq","request_duration_ms":607}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:17 GMT + - Thu, 11 Apr 2024 01:39:32 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6163960f-107d-445b-a162-e4b8f452f136 + - 657671f7-1ab1-4c15-afe3-6c796ea0147f Original-Request: - - req_t9sQ5FMva6hudB + - req_pUvj16UzIPguz1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_t9sQ5FMva6hudB + - req_pUvj16UzIPguz1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PrZaK34sju0cOD", + "id": "cus_Pu0dWFDWBxpP1E", "object": "customer", "address": null, "balance": 0, - "created": 1712237717, + "created": 1712799572, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "918DBADA", + "invoice_prefix": "91F2E5A7", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,22 +238,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 04 Apr 2024 13:35:17 GMT + recorded_at: Thu, 11 Apr 2024 01:39:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRlKuuB1fWySnxJpaHpSs/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4CbwKuuB1fWySnbRQ6PSVQ/attach body: encoding: UTF-8 - string: customer=cus_PrZaK34sju0cOD + string: customer=cus_Pu0dWFDWBxpP1E headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t9sQ5FMva6hudB","request_duration_ms":451}}' + - '{"last_request_metrics":{"request_id":"req_pUvj16UzIPguz1","request_duration_ms":610}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:18 GMT + - Thu, 11 Apr 2024 01:39:33 GMT Content-Type: - application/json Content-Length: @@ -298,15 +298,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 47691c89-d093-4ce3-952f-a391f0a7e689 + - 614d3c1e-ea1b-4b88-ab66-aab40b9cfd09 Original-Request: - - req_OjEzuHTwpcWmvv + - req_zdIG3lwZrYbxwB Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OjEzuHTwpcWmvv + - req_zdIG3lwZrYbxwB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRlKuuB1fWySnxJpaHpSs", + "id": "pm_1P4CbwKuuB1fWySnbRQ6PSVQ", "object": "payment_method", "billing_details": { "address": { @@ -362,13 +362,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237717, - "customer": "cus_PrZaK34sju0cOD", + "created": 1712799572, + "customer": "cus_Pu0dWFDWBxpP1E", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:18 GMT + recorded_at: Thu, 11 Apr 2024 01:39:33 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -377,13 +377,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OjEzuHTwpcWmvv","request_duration_ms":751}}' + - '{"last_request_metrics":{"request_id":"req_zdIG3lwZrYbxwB","request_duration_ms":816}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:20 GMT + - Thu, 11 Apr 2024 01:39:35 GMT Content-Type: - application/json Content-Length: @@ -427,15 +427,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5df19bd3-0ab8-4d7a-9867-1e8b4358d3e0 + - a623d4b5-907a-4570-aeb6-dd268926b1fa Original-Request: - - req_xmlGdGjbFw4UF6 + - req_LHJFcpgquKqTyM Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xmlGdGjbFw4UF6 + - req_LHJFcpgquKqTyM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -450,7 +450,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRm4DIQPXhccp", + "id": "acct_1P4CbyQTfgozVshF", "object": "account", "business_profile": { "annual_revenue": null, @@ -472,7 +472,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237719, + "created": 1712799574, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -481,7 +481,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qRm4DIQPXhccp/external_accounts" + "url": "/v1/accounts/acct_1P4CbyQTfgozVshF/external_accounts" }, "future_requirements": { "alternatives": [], @@ -578,22 +578,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:35:20 GMT + recorded_at: Thu, 11 Apr 2024 01:39:35 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRlKuuB1fWySnxJpaHpSs + uri: https://api.stripe.com/v1/payment_methods/pm_1P4CbwKuuB1fWySnbRQ6PSVQ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xmlGdGjbFw4UF6","request_duration_ms":2099}}' + - '{"last_request_metrics":{"request_id":"req_LHJFcpgquKqTyM","request_duration_ms":1902}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -610,7 +610,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:20 GMT + - Thu, 11 Apr 2024 01:39:36 GMT Content-Type: - application/json Content-Length: @@ -642,7 +642,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZorJaV7NWTUU5M + - req_RFxk9SetkJnSyW Stripe-Version: - '2023-10-16' Vary: @@ -655,7 +655,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRlKuuB1fWySnxJpaHpSs", + "id": "pm_1P4CbwKuuB1fWySnbRQ6PSVQ", "object": "payment_method", "billing_details": { "address": { @@ -696,13 +696,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237717, - "customer": "cus_PrZaK34sju0cOD", + "created": 1712799572, + "customer": "cus_Pu0dWFDWBxpP1E", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:20 GMT + recorded_at: Thu, 11 Apr 2024 01:39:36 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -711,19 +711,19 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZorJaV7NWTUU5M","request_duration_ms":300}}' + - '{"last_request_metrics":{"request_id":"req_RFxk9SetkJnSyW","request_duration_ms":540}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qRm4DIQPXhccp + - acct_1P4CbyQTfgozVshF Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -736,7 +736,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:21 GMT + - Thu, 11 Apr 2024 01:39:36 GMT Content-Type: - application/json Content-Length: @@ -767,9 +767,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mn3UGFhvBD2jdX + - req_eq3NimkOCUzKNs Stripe-Account: - - acct_1P1qRm4DIQPXhccp + - acct_1P4CbyQTfgozVshF Stripe-Version: - '2023-10-16' Vary: @@ -787,28 +787,28 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Thu, 04 Apr 2024 13:35:21 GMT + recorded_at: Thu, 11 Apr 2024 01:39:36 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: customer=cus_PrZaK34sju0cOD&payment_method=pm_1P1qRlKuuB1fWySnxJpaHpSs + string: customer=cus_Pu0dWFDWBxpP1E&payment_method=pm_1P4CbwKuuB1fWySnbRQ6PSVQ headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mn3UGFhvBD2jdX","request_duration_ms":294}}' + - '{"last_request_metrics":{"request_id":"req_eq3NimkOCUzKNs","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qRm4DIQPXhccp + - acct_1P4CbyQTfgozVshF Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -821,7 +821,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:21 GMT + - Thu, 11 Apr 2024 01:39:37 GMT Content-Type: - application/json Content-Length: @@ -848,17 +848,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0f5e1d31-5eb4-43bd-bb33-da8d55fc5787 + - 0dbd7214-bbe6-40d1-9fd8-3a3124c3c65d Original-Request: - - req_mFa2eQvpjJySbZ + - req_Skyqld5bIqsRXF Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mFa2eQvpjJySbZ + - req_Skyqld5bIqsRXF Stripe-Account: - - acct_1P1qRm4DIQPXhccp + - acct_1P4CbyQTfgozVshF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -873,7 +873,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRp4DIQPXhccp7AP0Sa9R", + "id": "pm_1P4Cc1QTfgozVshF7JZmw68o", "object": "payment_method", "billing_details": { "address": { @@ -914,13 +914,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237721, + "created": 1712799577, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:21 GMT + recorded_at: Thu, 11 Apr 2024 01:39:37 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -929,19 +929,19 @@ http_interactions: string: email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mFa2eQvpjJySbZ","request_duration_ms":418}}' + - '{"last_request_metrics":{"request_id":"req_Skyqld5bIqsRXF","request_duration_ms":613}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qRm4DIQPXhccp + - acct_1P4CbyQTfgozVshF Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -954,7 +954,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:22 GMT + - Thu, 11 Apr 2024 01:39:37 GMT Content-Type: - application/json Content-Length: @@ -981,17 +981,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7f117738-9028-4f85-850f-7f325f58d22d + - 932ed49e-e140-4e87-9f67-b7171f0fcf77 Original-Request: - - req_3iVB2B5Y6DLhzm + - req_klNVZEXViSu6lc Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3iVB2B5Y6DLhzm + - req_klNVZEXViSu6lc Stripe-Account: - - acct_1P1qRm4DIQPXhccp + - acct_1P4CbyQTfgozVshF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1006,18 +1006,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PrZbpikIGsbr6K", + "id": "cus_Pu0dKdqrDJlo9l", "object": "customer", "address": null, "balance": 0, - "created": 1712237721, + "created": 1712799577, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "D7A186EB", + "invoice_prefix": "3AB9B824", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -1034,28 +1034,28 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 04 Apr 2024 13:35:22 GMT + recorded_at: Thu, 11 Apr 2024 01:39:37 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRp4DIQPXhccp7AP0Sa9R/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4Cc1QTfgozVshF7JZmw68o/attach body: encoding: UTF-8 - string: customer=cus_PrZbpikIGsbr6K + string: customer=cus_Pu0dKdqrDJlo9l headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3iVB2B5Y6DLhzm","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_klNVZEXViSu6lc","request_duration_ms":612}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qRm4DIQPXhccp + - acct_1P4CbyQTfgozVshF Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1068,7 +1068,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:22 GMT + - Thu, 11 Apr 2024 01:39:38 GMT Content-Type: - application/json Content-Length: @@ -1096,17 +1096,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b55f22bb-f8ae-468e-a714-981044cadcec + - 81b0f8ba-77ae-40a9-a92f-cca9cdccbda4 Original-Request: - - req_BkKUGihcYZpZfe + - req_nA0RtoX9p3cZsd Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BkKUGihcYZpZfe + - req_nA0RtoX9p3cZsd Stripe-Account: - - acct_1P1qRm4DIQPXhccp + - acct_1P4CbyQTfgozVshF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1121,7 +1121,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRp4DIQPXhccp7AP0Sa9R", + "id": "pm_1P4Cc1QTfgozVshF7JZmw68o", "object": "payment_method", "billing_details": { "address": { @@ -1162,34 +1162,34 @@ http_interactions: }, "wallet": null }, - "created": 1712237721, - "customer": "cus_PrZbpikIGsbr6K", + "created": 1712799577, + "customer": "cus_Pu0dKdqrDJlo9l", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:22 GMT + recorded_at: Thu, 11 Apr 2024 01:39:38 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRp4DIQPXhccp7AP0Sa9R + uri: https://api.stripe.com/v1/payment_methods/pm_1P4Cc1QTfgozVshF7JZmw68o body: encoding: UTF-8 string: metadata[ofn-clone]=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BkKUGihcYZpZfe","request_duration_ms":410}}' + - '{"last_request_metrics":{"request_id":"req_nA0RtoX9p3cZsd","request_duration_ms":611}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qRm4DIQPXhccp + - acct_1P4CbyQTfgozVshF Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1202,7 +1202,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:23 GMT + - Thu, 11 Apr 2024 01:39:39 GMT Content-Type: - application/json Content-Length: @@ -1230,17 +1230,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c16fb442-5ad5-4428-862d-f66b005a9b71 + - ae6c7faa-26e8-4a6a-be37-4ca37fb87d43 Original-Request: - - req_GlgAUUMLD9Gdzf + - req_zP3WPzF1jR910k Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GlgAUUMLD9Gdzf + - req_zP3WPzF1jR910k Stripe-Account: - - acct_1P1qRm4DIQPXhccp + - acct_1P4CbyQTfgozVshF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1255,7 +1255,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRp4DIQPXhccp7AP0Sa9R", + "id": "pm_1P4Cc1QTfgozVshF7JZmw68o", "object": "payment_method", "billing_details": { "address": { @@ -1296,30 +1296,30 @@ http_interactions: }, "wallet": null }, - "created": 1712237721, - "customer": "cus_PrZbpikIGsbr6K", + "created": 1712799577, + "customer": "cus_Pu0dKdqrDJlo9l", "livemode": false, "metadata": { "ofn-clone": "true" }, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:23 GMT + recorded_at: Thu, 11 Apr 2024 01:39:39 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qRm4DIQPXhccp + uri: https://api.stripe.com/v1/accounts/acct_1P4CbyQTfgozVshF body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GlgAUUMLD9Gdzf","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_zP3WPzF1jR910k","request_duration_ms":612}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -1336,7 +1336,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:24 GMT + - Thu, 11 Apr 2024 01:39:40 GMT Content-Type: - application/json Content-Length: @@ -1367,9 +1367,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vb71nCUqDIqbdi + - req_FB9NKtSweAN0Vr Stripe-Account: - - acct_1P1qRm4DIQPXhccp + - acct_1P4CbyQTfgozVshF Stripe-Version: - '2023-10-16' Vary: @@ -1382,9 +1382,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRm4DIQPXhccp", + "id": "acct_1P4CbyQTfgozVshF", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:35:24 GMT + recorded_at: Thu, 11 Apr 2024 01:39:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml similarity index 90% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml index 4764b55e22..4086dbb887 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0MiND5ib4I2soy","request_duration_ms":1006}}' + - '{"last_request_metrics":{"request_id":"req_P8WoM4EskSdPPM","request_duration_ms":1119}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:35 GMT + - Thu, 11 Apr 2024 01:39:52 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1774eee2-ab43-48b9-8ea6-2a1e839fc5a9 + - 67552288-93d8-4f17-b10c-bcdaa645806c Original-Request: - - req_6OPepk3BKLw5Tg + - req_bV32D2aarbkHS3 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6OPepk3BKLw5Tg + - req_bV32D2aarbkHS3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qS3KuuB1fWySnGdKuuqzg", + "id": "pm_1P4CcGKuuB1fWySnONvZIx7Y", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237735, + "created": 1712799592, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:35 GMT + recorded_at: Thu, 11 Apr 2024 01:39:52 GMT - request: method: get uri: https://api.stripe.com/v1/customers/non_existing_customer_id @@ -137,13 +137,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6OPepk3BKLw5Tg","request_duration_ms":434}}' + - '{"last_request_metrics":{"request_id":"req_bV32D2aarbkHS3","request_duration_ms":613}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:35 GMT + - Thu, 11 Apr 2024 01:39:52 GMT Content-Type: - application/json Content-Length: @@ -192,7 +192,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eeANSXeU9XoC1F + - req_vs3VbKpsPaqvuy Stripe-Version: - '2023-10-16' Vary: @@ -210,11 +210,11 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/resource-missing", "message": "No such customer: 'non_existing_customer_id'", "param": "id", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_eeANSXeU9XoC1F?t=1712237735", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_vs3VbKpsPaqvuy?t=1712799592", "type": "invalid_request_error" } } - recorded_at: Thu, 04 Apr 2024 13:35:35 GMT + recorded_at: Thu, 11 Apr 2024 01:39:52 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -223,13 +223,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6OPepk3BKLw5Tg","request_duration_ms":434}}' + - '{"last_request_metrics":{"request_id":"req_bV32D2aarbkHS3","request_duration_ms":613}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -246,7 +246,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:37 GMT + - Thu, 11 Apr 2024 01:39:54 GMT Content-Type: - application/json Content-Length: @@ -273,15 +273,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1b523d0c-d65f-4009-97f6-7970c6eb8d05 + - cf4681a5-61b4-4ba0-aec8-1f89b664e003 Original-Request: - - req_lDVvsQ2408SKiE + - req_j4BoFa2azQtgzk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lDVvsQ2408SKiE + - req_j4BoFa2azQtgzk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -296,7 +296,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qS4QSoge37tcw", + "id": "acct_1P4CcHQRJuqcOuTG", "object": "account", "business_profile": { "annual_revenue": null, @@ -318,7 +318,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237736, + "created": 1712799594, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -327,7 +327,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qS4QSoge37tcw/external_accounts" + "url": "/v1/accounts/acct_1P4CcHQRJuqcOuTG/external_accounts" }, "future_requirements": { "alternatives": [], @@ -424,22 +424,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:35:37 GMT + recorded_at: Thu, 11 Apr 2024 01:39:54 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qS4QSoge37tcw + uri: https://api.stripe.com/v1/accounts/acct_1P4CcHQRJuqcOuTG body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lDVvsQ2408SKiE","request_duration_ms":1630}}' + - '{"last_request_metrics":{"request_id":"req_j4BoFa2azQtgzk","request_duration_ms":1834}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -456,7 +456,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:38 GMT + - Thu, 11 Apr 2024 01:39:55 GMT Content-Type: - application/json Content-Length: @@ -487,9 +487,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_65MavRBJd7YWIw + - req_OXbd4EXm1dK9Ge Stripe-Account: - - acct_1P1qS4QSoge37tcw + - acct_1P4CcHQRJuqcOuTG Stripe-Version: - '2023-10-16' Vary: @@ -502,9 +502,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qS4QSoge37tcw", + "id": "acct_1P4CcHQRJuqcOuTG", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:35:38 GMT + recorded_at: Thu, 11 Apr 2024 01:39:55 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml index 39043b7869..6ba6cf0aca 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_e1f9hlXvj0GzxH","request_duration_ms":1044}}' + - '{"last_request_metrics":{"request_id":"req_IqBG0UIF6Q7Ew2","request_duration_ms":1119}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:30 GMT + - Thu, 11 Apr 2024 01:39:47 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - bf1f0cb1-c83a-4113-8ff8-8482a5f50f0a + - e66a327a-8f58-4b3b-ba7c-269ecc856743 Original-Request: - - req_QJU0Ss0hjuW1iB + - req_zBS4VW8OS7sGto Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QJU0Ss0hjuW1iB + - req_zBS4VW8OS7sGto Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRyKuuB1fWySnwCkFYqAg", + "id": "pm_1P4CcAKuuB1fWySnL81u6x83", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237730, + "created": 1712799587, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:30 GMT + recorded_at: Thu, 11 Apr 2024 01:39:47 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,13 +137,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QJU0Ss0hjuW1iB","request_duration_ms":555}}' + - '{"last_request_metrics":{"request_id":"req_zBS4VW8OS7sGto","request_duration_ms":649}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:30 GMT + - Thu, 11 Apr 2024 01:39:47 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 669050d1-04c3-45c2-9d81-f9a681057a37 + - 362b6380-f0b8-4f1d-8ec3-d9ada2102229 Original-Request: - - req_lCDJmCiSBHgMDO + - req_sRNHK1R5bM40yY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lCDJmCiSBHgMDO + - req_sRNHK1R5bM40yY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PrZbObtf3hCtu2", + "id": "cus_Pu0dODyVRbFErg", "object": "customer", "address": null, "balance": 0, - "created": 1712237730, + "created": 1712799587, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "5FA91938", + "invoice_prefix": "57EAA726", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,22 +238,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 04 Apr 2024 13:35:31 GMT + recorded_at: Thu, 11 Apr 2024 01:39:47 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRyKuuB1fWySnwCkFYqAg/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4CcAKuuB1fWySnL81u6x83/attach body: encoding: UTF-8 - string: customer=cus_PrZbObtf3hCtu2 + string: customer=cus_Pu0dODyVRbFErg headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lCDJmCiSBHgMDO","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_sRNHK1R5bM40yY","request_duration_ms":682}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:31 GMT + - Thu, 11 Apr 2024 01:39:48 GMT Content-Type: - application/json Content-Length: @@ -298,15 +298,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c0ab9917-9aed-496e-b4d0-facbcead4c2a + - 0ae185c4-09d9-492a-9de0-8becdaad54fc Original-Request: - - req_uKYydDkbjrwy9o + - req_Gmb8srTWGYQrMP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_uKYydDkbjrwy9o + - req_Gmb8srTWGYQrMP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRyKuuB1fWySnwCkFYqAg", + "id": "pm_1P4CcAKuuB1fWySnL81u6x83", "object": "payment_method", "billing_details": { "address": { @@ -362,13 +362,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237730, - "customer": "cus_PrZbObtf3hCtu2", + "created": 1712799587, + "customer": "cus_Pu0dODyVRbFErg", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:31 GMT + recorded_at: Thu, 11 Apr 2024 01:39:48 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -377,13 +377,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uKYydDkbjrwy9o","request_duration_ms":817}}' + - '{"last_request_metrics":{"request_id":"req_Gmb8srTWGYQrMP","request_duration_ms":852}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:33 GMT + - Thu, 11 Apr 2024 01:39:50 GMT Content-Type: - application/json Content-Length: @@ -427,15 +427,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - dbcac1d9-9b93-40d0-b256-d156a1d40fa9 + - 9f8d377b-8d7d-454a-8b30-986de5904940 Original-Request: - - req_WBlUJWXjnzNgcT + - req_lnhrDAqKC7sWmN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WBlUJWXjnzNgcT + - req_lnhrDAqKC7sWmN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -450,7 +450,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qS0QQdz4a611j", + "id": "acct_1P4CcDQTIBVaYol5", "object": "account", "business_profile": { "annual_revenue": null, @@ -472,7 +472,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237732, + "created": 1712799589, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -481,7 +481,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qS0QQdz4a611j/external_accounts" + "url": "/v1/accounts/acct_1P4CcDQTIBVaYol5/external_accounts" }, "future_requirements": { "alternatives": [], @@ -578,22 +578,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:35:34 GMT + recorded_at: Thu, 11 Apr 2024 01:39:50 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qS0QQdz4a611j + uri: https://api.stripe.com/v1/accounts/acct_1P4CcDQTIBVaYol5 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WBlUJWXjnzNgcT","request_duration_ms":2090}}' + - '{"last_request_metrics":{"request_id":"req_lnhrDAqKC7sWmN","request_duration_ms":1922}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -610,7 +610,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:35 GMT + - Thu, 11 Apr 2024 01:39:51 GMT Content-Type: - application/json Content-Length: @@ -641,9 +641,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0MiND5ib4I2soy + - req_P8WoM4EskSdPPM Stripe-Account: - - acct_1P1qS0QQdz4a611j + - acct_1P4CcDQTIBVaYol5 Stripe-Version: - '2023-10-16' Vary: @@ -656,9 +656,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qS0QQdz4a611j", + "id": "acct_1P4CcDQTIBVaYol5", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:35:35 GMT + recorded_at: Thu, 11 Apr 2024 01:39:51 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml index b94f4b3007..97f69f9432 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vb71nCUqDIqbdi","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_FB9NKtSweAN0Vr","request_duration_ms":1122}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:24 GMT + - Thu, 11 Apr 2024 01:39:40 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4859932f-49f9-4700-8f4f-f6d5fa783d26 + - 623b987b-33da-44a2-ae7e-b5337c990cc8 Original-Request: - - req_TPWdPHffWpsymh + - req_spNvzllxAhPUKH Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_TPWdPHffWpsymh + - req_spNvzllxAhPUKH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRsKuuB1fWySnR2dcxqdc", + "id": "pm_1P4Cc4KuuB1fWySn4z9DLUSk", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237724, + "created": 1712799580, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:25 GMT + recorded_at: Thu, 11 Apr 2024 01:39:40 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,13 +137,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TPWdPHffWpsymh","request_duration_ms":519}}' + - '{"last_request_metrics":{"request_id":"req_spNvzllxAhPUKH","request_duration_ms":645}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:25 GMT + - Thu, 11 Apr 2024 01:39:41 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 205e9bef-1bfd-499e-a856-3af611501534 + - fa7f2f42-401b-45cc-8a0f-190cb9f13d7e Original-Request: - - req_XRFMDQ31CJln8x + - req_esIcvcfSdeWGmF Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XRFMDQ31CJln8x + - req_esIcvcfSdeWGmF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PrZbDhfIdZkg9F", + "id": "cus_Pu0dGRpsBVLnbp", "object": "customer", "address": null, "balance": 0, - "created": 1712237725, + "created": 1712799581, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "3E1D2257", + "invoice_prefix": "F2D764EB", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,22 +238,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 04 Apr 2024 13:35:25 GMT + recorded_at: Thu, 11 Apr 2024 01:39:41 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P1qRsKuuB1fWySnR2dcxqdc/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4Cc4KuuB1fWySn4z9DLUSk/attach body: encoding: UTF-8 - string: customer=cus_PrZbDhfIdZkg9F + string: customer=cus_Pu0dGRpsBVLnbp headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XRFMDQ31CJln8x","request_duration_ms":417}}' + - '{"last_request_metrics":{"request_id":"req_esIcvcfSdeWGmF","request_duration_ms":611}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:26 GMT + - Thu, 11 Apr 2024 01:39:42 GMT Content-Type: - application/json Content-Length: @@ -298,15 +298,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d46d144b-de92-4235-9e5e-4273c89f224b + - 4d20a7ed-622f-4aea-a50d-563d620987c5 Original-Request: - - req_MXP6hItMlq3Ptk + - req_zFrIXD1V2qlMeQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MXP6hItMlq3Ptk + - req_zFrIXD1V2qlMeQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qRsKuuB1fWySnR2dcxqdc", + "id": "pm_1P4Cc4KuuB1fWySn4z9DLUSk", "object": "payment_method", "billing_details": { "address": { @@ -362,28 +362,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237724, - "customer": "cus_PrZbDhfIdZkg9F", + "created": 1712799580, + "customer": "cus_Pu0dGRpsBVLnbp", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:26 GMT + recorded_at: Thu, 11 Apr 2024 01:39:42 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PrZbDhfIdZkg9F + uri: https://api.stripe.com/v1/customers/cus_Pu0dGRpsBVLnbp body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MXP6hItMlq3Ptk","request_duration_ms":664}}' + - '{"last_request_metrics":{"request_id":"req_zFrIXD1V2qlMeQ","request_duration_ms":818}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:26 GMT + - Thu, 11 Apr 2024 01:39:42 GMT Content-Type: - application/json Content-Length: @@ -432,7 +432,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ccdgvn9uzwYT7o + - req_TCGnZ8q2lRg7SW Stripe-Version: - '2023-10-16' Vary: @@ -445,18 +445,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PrZbDhfIdZkg9F", + "id": "cus_Pu0dGRpsBVLnbp", "object": "customer", "address": null, "balance": 0, - "created": 1712237725, + "created": 1712799581, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "3E1D2257", + "invoice_prefix": "F2D764EB", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -473,22 +473,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 04 Apr 2024 13:35:26 GMT + recorded_at: Thu, 11 Apr 2024 01:39:42 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_PrZbDhfIdZkg9F + uri: https://api.stripe.com/v1/customers/cus_Pu0dGRpsBVLnbp body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ccdgvn9uzwYT7o","request_duration_ms":317}}' + - '{"last_request_metrics":{"request_id":"req_TCGnZ8q2lRg7SW","request_duration_ms":491}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:26 GMT + - Thu, 11 Apr 2024 01:39:43 GMT Content-Type: - application/json Content-Length: @@ -537,7 +537,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_oLSRneUEJrnRpm + - req_D6josEqE8650yb Stripe-Version: - '2023-10-16' Vary: @@ -550,11 +550,11 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PrZbDhfIdZkg9F", + "id": "cus_Pu0dGRpsBVLnbp", "object": "customer", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:35:26 GMT + recorded_at: Thu, 11 Apr 2024 01:39:43 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -563,13 +563,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oLSRneUEJrnRpm","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_D6josEqE8650yb","request_duration_ms":612}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -586,7 +586,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:28 GMT + - Thu, 11 Apr 2024 01:39:45 GMT Content-Type: - application/json Content-Length: @@ -613,15 +613,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 54aab04f-d45f-466c-9eaf-004f3d9be6f3 + - 0b8d1df4-0412-4abf-9623-acaa72abf4f0 Original-Request: - - req_YGKihrg3Ai8HbL + - req_w6T0KrumipAj1j Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_YGKihrg3Ai8HbL + - req_w6T0KrumipAj1j Stripe-Should-Retry: - 'false' Stripe-Version: @@ -636,7 +636,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRvQKwQi2xnYi", + "id": "acct_1P4Cc74KjoXgt7bN", "object": "account", "business_profile": { "annual_revenue": null, @@ -658,7 +658,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237727, + "created": 1712799584, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -667,7 +667,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qRvQKwQi2xnYi/external_accounts" + "url": "/v1/accounts/acct_1P4Cc74KjoXgt7bN/external_accounts" }, "future_requirements": { "alternatives": [], @@ -764,22 +764,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:35:28 GMT + recorded_at: Thu, 11 Apr 2024 01:39:45 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qRvQKwQi2xnYi + uri: https://api.stripe.com/v1/accounts/acct_1P4Cc74KjoXgt7bN body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YGKihrg3Ai8HbL","request_duration_ms":1815}}' + - '{"last_request_metrics":{"request_id":"req_w6T0KrumipAj1j","request_duration_ms":1844}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -796,7 +796,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:29 GMT + - Thu, 11 Apr 2024 01:39:46 GMT Content-Type: - application/json Content-Length: @@ -827,9 +827,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_e1f9hlXvj0GzxH + - req_IqBG0UIF6Q7Ew2 Stripe-Account: - - acct_1P1qRvQKwQi2xnYi + - acct_1P4Cc74KjoXgt7bN Stripe-Version: - '2023-10-16' Vary: @@ -842,9 +842,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qRvQKwQi2xnYi", + "id": "acct_1P4Cc74KjoXgt7bN", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:35:29 GMT + recorded_at: Thu, 11 Apr 2024 01:39:46 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index f2c15b6b02..af2d6154b9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000006975&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lkTgQ7qfSG1sfK","request_duration_ms":423}}' + - '{"last_request_metrics":{"request_id":"req_ynj128QsGPOaSh","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:26 GMT + - Thu, 11 Apr 2024 01:41:50 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b4be2598-e198-42ea-bebe-cc3d3eeb40a1 + - ffd4103c-fe3d-4290-bfdc-0b1ca4ebac8b Original-Request: - - req_Iqe87Yw3hFKEB1 + - req_X9DwapbL2bJGMv Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Iqe87Yw3hFKEB1 + - req_X9DwapbL2bJGMv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTqKuuB1fWySnBlZbHRNJ", + "id": "pm_1P4CeAKuuB1fWySn3qD9cLuL", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237846, + "created": 1712799710, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:26 GMT + recorded_at: Thu, 11 Apr 2024 01:41:50 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTqKuuB1fWySnBlZbHRNJ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CeAKuuB1fWySn3qD9cLuL&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Iqe87Yw3hFKEB1","request_duration_ms":497}}' + - '{"last_request_metrics":{"request_id":"req_X9DwapbL2bJGMv","request_duration_ms":498}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:26 GMT + - Thu, 11 Apr 2024 01:41:51 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 00e16ebe-9284-4895-a91c-8d68661558de + - 68ee5002-0df0-412d-addc-28066ab4e73b Original-Request: - - req_zN2EHx9dXN8JGT + - req_DwV7h1Uqx5qRyJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zN2EHx9dXN8JGT + - req_DwV7h1Uqx5qRyJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTqKuuB1fWySn1EqYpSSV", + "id": "pi_3P4CeBKuuB1fWySn0mx5iGN0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237846, + "created": 1712799711, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTqKuuB1fWySnBlZbHRNJ", + "payment_method": "pm_1P4CeAKuuB1fWySn3qD9cLuL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:26 GMT + recorded_at: Thu, 11 Apr 2024 01:41:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTqKuuB1fWySn1EqYpSSV/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeBKuuB1fWySn0mx5iGN0/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zN2EHx9dXN8JGT","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_DwV7h1Uqx5qRyJ","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:27 GMT + - Thu, 11 Apr 2024 01:41:52 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fa555edb-f3f3-4764-ae76-27dc36d8a01e + - b63cdb72-d031-4e03-ae75-2bb984e73374 Original-Request: - - req_k75IWMb4BQFmI1 + - req_Z5HfF0UNJiOgjq Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_k75IWMb4BQFmI1 + - req_Z5HfF0UNJiOgjq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P1qTqKuuB1fWySn1qCgF3Kk", + "charge": "ch_3P4CeBKuuB1fWySn0unrH53f", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_intent": { - "id": "pi_3P1qTqKuuB1fWySn1EqYpSSV", + "id": "pi_3P4CeBKuuB1fWySn0mx5iGN0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237846, + "created": 1712799711, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P1qTqKuuB1fWySn1qCgF3Kk", + "charge": "ch_3P4CeBKuuB1fWySn0unrH53f", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_method": { - "id": "pm_1P1qTqKuuB1fWySnBlZbHRNJ", + "id": "pm_1P4CeAKuuB1fWySn3qD9cLuL", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712237846, + "created": 1712799710, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P1qTqKuuB1fWySn1qCgF3Kk", + "latest_charge": "ch_3P4CeBKuuB1fWySn0unrH53f", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P1qTqKuuB1fWySnBlZbHRNJ", + "id": "pm_1P4CeAKuuB1fWySn3qD9cLuL", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712237846, + "created": 1712799710, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_k75IWMb4BQFmI1?t=1712237846", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_Z5HfF0UNJiOgjq?t=1712799711", "type": "card_error" } } - recorded_at: Thu, 04 Apr 2024 13:37:27 GMT + recorded_at: Thu, 11 Apr 2024 01:41:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 3f26045f6d..afe7c7eaa1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000069&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9NLv0jegScJIte","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_Ps5pBOSZrkoW6S","request_duration_ms":435}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:20 GMT + - Thu, 11 Apr 2024 01:41:44 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e62ef117-c4ed-41cb-a0ab-46e0e14f4c51 + - bc794db1-1da6-44aa-a1ad-7f0ce62e50de Original-Request: - - req_p1ERY2VOOzinVi + - req_u0t2fLtjSmInNx Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_p1ERY2VOOzinVi + - req_u0t2fLtjSmInNx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTkKuuB1fWySnL7XEIVhp", + "id": "pm_1P4Ce4KuuB1fWySnZ2dwmFOr", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237840, + "created": 1712799704, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:20 GMT + recorded_at: Thu, 11 Apr 2024 01:41:44 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTkKuuB1fWySnL7XEIVhp&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Ce4KuuB1fWySnZ2dwmFOr&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_p1ERY2VOOzinVi","request_duration_ms":477}}' + - '{"last_request_metrics":{"request_id":"req_u0t2fLtjSmInNx","request_duration_ms":578}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:20 GMT + - Thu, 11 Apr 2024 01:41:45 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 62adb611-3e5c-48a1-97aa-6f037b3823d8 + - 81b15b19-594b-43a3-8d66-424a0f070234 Original-Request: - - req_7muhATs55xhmDs + - req_5brt1R00IqpcxT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7muhATs55xhmDs + - req_5brt1R00IqpcxT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTkKuuB1fWySn2e0NXx8i", + "id": "pi_3P4Ce4KuuB1fWySn1nKOV5C7", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237840, + "created": 1712799704, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTkKuuB1fWySnL7XEIVhp", + "payment_method": "pm_1P4Ce4KuuB1fWySnZ2dwmFOr", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:20 GMT + recorded_at: Thu, 11 Apr 2024 01:41:45 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTkKuuB1fWySn2e0NXx8i/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ce4KuuB1fWySn1nKOV5C7/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7muhATs55xhmDs","request_duration_ms":473}}' + - '{"last_request_metrics":{"request_id":"req_5brt1R00IqpcxT","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:21 GMT + - Thu, 11 Apr 2024 01:41:46 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e60df8b5-1bbf-4327-a6b0-b4aca7b6d06b + - 5997da20-09b0-488a-931c-de483ec5a51b Original-Request: - - req_EpoA5Srb1sesoO + - req_8w5Qkk3lwjlXyJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EpoA5Srb1sesoO + - req_8w5Qkk3lwjlXyJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P1qTkKuuB1fWySn2hWAgIK4", + "charge": "ch_3P4Ce4KuuB1fWySn1feaDvUR", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_intent": { - "id": "pi_3P1qTkKuuB1fWySn2e0NXx8i", + "id": "pi_3P4Ce4KuuB1fWySn1nKOV5C7", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237840, + "created": 1712799704, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P1qTkKuuB1fWySn2hWAgIK4", + "charge": "ch_3P4Ce4KuuB1fWySn1feaDvUR", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_method": { - "id": "pm_1P1qTkKuuB1fWySnL7XEIVhp", + "id": "pm_1P4Ce4KuuB1fWySnZ2dwmFOr", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712237840, + "created": 1712799704, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P1qTkKuuB1fWySn2hWAgIK4", + "latest_charge": "ch_3P4Ce4KuuB1fWySn1feaDvUR", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P1qTkKuuB1fWySnL7XEIVhp", + "id": "pm_1P4Ce4KuuB1fWySnZ2dwmFOr", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712237840, + "created": 1712799704, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_EpoA5Srb1sesoO?t=1712237840", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_8w5Qkk3lwjlXyJ?t=1712799705", "type": "card_error" } } - recorded_at: Thu, 04 Apr 2024 13:37:22 GMT + recorded_at: Thu, 11 Apr 2024 01:41:46 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 253befd7a2..8606ba65b3 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000002&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VHSEgWLcpy7eeM","request_duration_ms":321}}' + - '{"last_request_metrics":{"request_id":"req_fbEkE3Lhj68GyR","request_duration_ms":318}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:12 GMT + - Thu, 11 Apr 2024 01:41:36 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c26f47e8-cb8d-41cf-85e7-0897efb2b214 + - 83f84e3d-bca0-4b51-8c5c-0022e150a80f Original-Request: - - req_HqvZX0PjzaGxOz + - req_Ha6FfDQGbA3vgP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_HqvZX0PjzaGxOz + - req_Ha6FfDQGbA3vgP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTbKuuB1fWySnDBUZSuRF", + "id": "pm_1P4CdwKuuB1fWySns9gfQh3n", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237831, + "created": 1712799696, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:12 GMT + recorded_at: Thu, 11 Apr 2024 01:41:36 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTbKuuB1fWySnDBUZSuRF&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdwKuuB1fWySns9gfQh3n&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HqvZX0PjzaGxOz","request_duration_ms":448}}' + - '{"last_request_metrics":{"request_id":"req_Ha6FfDQGbA3vgP","request_duration_ms":457}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:12 GMT + - Thu, 11 Apr 2024 01:41:36 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0e3781ca-ab85-43fa-abad-a19640cf161a + - 1b8ce995-a79c-42cc-b36e-d3f6a0380a65 Original-Request: - - req_kyVh5Ixru1eIkz + - req_zIfMz3vKk8H1KX Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kyVh5Ixru1eIkz + - req_zIfMz3vKk8H1KX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTcKuuB1fWySn1yM706dv", + "id": "pi_3P4CdwKuuB1fWySn1cwhyI2U", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237832, + "created": 1712799696, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTbKuuB1fWySnDBUZSuRF", + "payment_method": "pm_1P4CdwKuuB1fWySns9gfQh3n", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:12 GMT + recorded_at: Thu, 11 Apr 2024 01:41:36 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTcKuuB1fWySn1yM706dv/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdwKuuB1fWySn1cwhyI2U/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kyVh5Ixru1eIkz","request_duration_ms":398}}' + - '{"last_request_metrics":{"request_id":"req_zIfMz3vKk8H1KX","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:13 GMT + - Thu, 11 Apr 2024 01:41:37 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5895b86a-c9a8-4a9e-8b4b-d77ed8c6cb4a + - 1037e7b5-c873-471e-9e57-cdf079909d1b Original-Request: - - req_pVAVsBfYEvjJ8t + - req_bUFy6N0MNTiN0u Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pVAVsBfYEvjJ8t + - req_bUFy6N0MNTiN0u Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P1qTcKuuB1fWySn1Tu6RMCw", + "charge": "ch_3P4CdwKuuB1fWySn1NSYjFk5", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3P1qTcKuuB1fWySn1yM706dv", + "id": "pi_3P4CdwKuuB1fWySn1cwhyI2U", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237832, + "created": 1712799696, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P1qTcKuuB1fWySn1Tu6RMCw", + "charge": "ch_3P4CdwKuuB1fWySn1NSYjFk5", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1P1qTbKuuB1fWySnDBUZSuRF", + "id": "pm_1P4CdwKuuB1fWySns9gfQh3n", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712237831, + "created": 1712799696, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P1qTcKuuB1fWySn1Tu6RMCw", + "latest_charge": "ch_3P4CdwKuuB1fWySn1NSYjFk5", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P1qTbKuuB1fWySnDBUZSuRF", + "id": "pm_1P4CdwKuuB1fWySns9gfQh3n", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712237831, + "created": 1712799696, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_pVAVsBfYEvjJ8t?t=1712237832", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_bUFy6N0MNTiN0u?t=1712799696", "type": "card_error" } } - recorded_at: Thu, 04 Apr 2024 13:37:13 GMT + recorded_at: Thu, 11 Apr 2024 01:41:37 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 8c665e46c3..14e303656a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000127&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7muhATs55xhmDs","request_duration_ms":473}}' + - '{"last_request_metrics":{"request_id":"req_5brt1R00IqpcxT","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:22 GMT + - Thu, 11 Apr 2024 01:41:46 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c7850ef9-a1dd-48ef-9475-66fb6245154e + - 2cab8240-54fb-45b1-b3c5-40556c86d76e Original-Request: - - req_Dql7PyYPTt9f22 + - req_DZam3NryK0lwhu Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Dql7PyYPTt9f22 + - req_DZam3NryK0lwhu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTmKuuB1fWySnMajYRiof", + "id": "pm_1P4Ce6KuuB1fWySnumAdoaHx", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237842, + "created": 1712799706, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:22 GMT + recorded_at: Thu, 11 Apr 2024 01:41:46 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTmKuuB1fWySnMajYRiof&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Ce6KuuB1fWySnumAdoaHx&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Dql7PyYPTt9f22","request_duration_ms":452}}' + - '{"last_request_metrics":{"request_id":"req_DZam3NryK0lwhu","request_duration_ms":475}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:22 GMT + - Thu, 11 Apr 2024 01:41:47 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 77a89397-a9de-443f-9d4b-04765927e29b + - 00b8e9af-31a9-4e5c-9e2e-6d3110840b48 Original-Request: - - req_tJLMqPkKLlg3X5 + - req_UGdWH8g6hyQD7G Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_tJLMqPkKLlg3X5 + - req_UGdWH8g6hyQD7G Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTmKuuB1fWySn14Zh1B2n", + "id": "pi_3P4Ce6KuuB1fWySn1qi13bF9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237842, + "created": 1712799706, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTmKuuB1fWySnMajYRiof", + "payment_method": "pm_1P4Ce6KuuB1fWySnumAdoaHx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:23 GMT + recorded_at: Thu, 11 Apr 2024 01:41:47 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTmKuuB1fWySn14Zh1B2n/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ce6KuuB1fWySn1qi13bF9/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tJLMqPkKLlg3X5","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_UGdWH8g6hyQD7G","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:23 GMT + - Thu, 11 Apr 2024 01:41:48 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - af4e80ea-c42c-4a8e-a97b-415d07df69c7 + - 6c395200-4aae-4a5d-b664-06109d56cdf9 Original-Request: - - req_frb1EJKpHILZw4 + - req_vEWZWytWs0jtAu Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_frb1EJKpHILZw4 + - req_vEWZWytWs0jtAu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P1qTmKuuB1fWySn1IviXU30", + "charge": "ch_3P4Ce6KuuB1fWySn1rh759N9", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_intent": { - "id": "pi_3P1qTmKuuB1fWySn14Zh1B2n", + "id": "pi_3P4Ce6KuuB1fWySn1qi13bF9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237842, + "created": 1712799706, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P1qTmKuuB1fWySn1IviXU30", + "charge": "ch_3P4Ce6KuuB1fWySn1rh759N9", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_method": { - "id": "pm_1P1qTmKuuB1fWySnMajYRiof", + "id": "pm_1P4Ce6KuuB1fWySnumAdoaHx", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712237842, + "created": 1712799706, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P1qTmKuuB1fWySn1IviXU30", + "latest_charge": "ch_3P4Ce6KuuB1fWySn1rh759N9", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P1qTmKuuB1fWySnMajYRiof", + "id": "pm_1P4Ce6KuuB1fWySnumAdoaHx", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712237842, + "created": 1712799706, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_frb1EJKpHILZw4?t=1712237843", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_vEWZWytWs0jtAu?t=1712799707", "type": "card_error" } } - recorded_at: Thu, 04 Apr 2024 13:37:23 GMT + recorded_at: Thu, 11 Apr 2024 01:41:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 2f8ab034a0..a52e2024bb 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009995&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kyVh5Ixru1eIkz","request_duration_ms":398}}' + - '{"last_request_metrics":{"request_id":"req_zIfMz3vKk8H1KX","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:14 GMT + - Thu, 11 Apr 2024 01:41:38 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6af5b97e-1a2d-4cef-b85f-34e496dbae06 + - f6555995-c493-4dfd-af33-9908602003e7 Original-Request: - - req_bTYHIL6AMEbshE + - req_nxD5RASm1S9HJM Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bTYHIL6AMEbshE + - req_nxD5RASm1S9HJM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTdKuuB1fWySnhzIGNTyQ", + "id": "pm_1P4CdyKuuB1fWySnIIxNFemL", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237833, + "created": 1712799698, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:14 GMT + recorded_at: Thu, 11 Apr 2024 01:41:38 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTdKuuB1fWySnhzIGNTyQ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdyKuuB1fWySnIIxNFemL&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bTYHIL6AMEbshE","request_duration_ms":447}}' + - '{"last_request_metrics":{"request_id":"req_nxD5RASm1S9HJM","request_duration_ms":473}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:14 GMT + - Thu, 11 Apr 2024 01:41:38 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fd9ba558-45bc-456f-910e-7adc4cfe6993 + - f1188128-25d7-448c-b57f-0da3d28cc2a9 Original-Request: - - req_sxdDU2zM7PflMa + - req_7p7aJHhuJDOR6c Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sxdDU2zM7PflMa + - req_7p7aJHhuJDOR6c Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTeKuuB1fWySn0LlyJenM", + "id": "pi_3P4CdyKuuB1fWySn2onvjoT7", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237834, + "created": 1712799698, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTdKuuB1fWySnhzIGNTyQ", + "payment_method": "pm_1P4CdyKuuB1fWySnIIxNFemL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:14 GMT + recorded_at: Thu, 11 Apr 2024 01:41:38 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTeKuuB1fWySn0LlyJenM/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdyKuuB1fWySn2onvjoT7/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sxdDU2zM7PflMa","request_duration_ms":397}}' + - '{"last_request_metrics":{"request_id":"req_7p7aJHhuJDOR6c","request_duration_ms":513}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:15 GMT + - Thu, 11 Apr 2024 01:41:39 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 78128457-632f-422f-981a-509895182602 + - 257910b0-267b-4c0b-9600-f824fdf99905 Original-Request: - - req_H58mItqG9D4Ta9 + - req_sWgt2fVQAuEy5w Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_H58mItqG9D4Ta9 + - req_sWgt2fVQAuEy5w Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P1qTeKuuB1fWySn0qIBnOks", + "charge": "ch_3P4CdyKuuB1fWySn2JvwzPpJ", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_intent": { - "id": "pi_3P1qTeKuuB1fWySn0LlyJenM", + "id": "pi_3P4CdyKuuB1fWySn2onvjoT7", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237834, + "created": 1712799698, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P1qTeKuuB1fWySn0qIBnOks", + "charge": "ch_3P4CdyKuuB1fWySn2JvwzPpJ", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_method": { - "id": "pm_1P1qTdKuuB1fWySnhzIGNTyQ", + "id": "pm_1P4CdyKuuB1fWySnIIxNFemL", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712237833, + "created": 1712799698, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P1qTeKuuB1fWySn0qIBnOks", + "latest_charge": "ch_3P4CdyKuuB1fWySn2JvwzPpJ", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P1qTdKuuB1fWySnhzIGNTyQ", + "id": "pm_1P4CdyKuuB1fWySnIIxNFemL", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712237833, + "created": 1712799698, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_H58mItqG9D4Ta9?t=1712237834", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_sWgt2fVQAuEy5w?t=1712799699", "type": "card_error" } } - recorded_at: Thu, 04 Apr 2024 13:37:15 GMT + recorded_at: Thu, 11 Apr 2024 01:41:39 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 9368464303..93c8571def 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009987&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sxdDU2zM7PflMa","request_duration_ms":397}}' + - '{"last_request_metrics":{"request_id":"req_7p7aJHhuJDOR6c","request_duration_ms":513}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:16 GMT + - Thu, 11 Apr 2024 01:41:40 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9d49d2bf-40ed-4b60-ab63-4ec6c2afbe7a + - 89e7cd61-0029-4aba-93b5-8c02a58e5288 Original-Request: - - req_udZEufL6xdkTl8 + - req_oas1yG54f0V9cg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_udZEufL6xdkTl8 + - req_oas1yG54f0V9cg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTfKuuB1fWySnOyVSR2t2", + "id": "pm_1P4Ce0KuuB1fWySnCact5Rqh", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237835, + "created": 1712799700, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:16 GMT + recorded_at: Thu, 11 Apr 2024 01:41:40 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTfKuuB1fWySnOyVSR2t2&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Ce0KuuB1fWySnCact5Rqh&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_udZEufL6xdkTl8","request_duration_ms":461}}' + - '{"last_request_metrics":{"request_id":"req_oas1yG54f0V9cg","request_duration_ms":483}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:16 GMT + - Thu, 11 Apr 2024 01:41:40 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3c81f91b-5815-4f92-93aa-167178db8db0 + - 741b640d-7d07-4bcc-8498-dad93ae80c5a Original-Request: - - req_hcaVW03fn0j2Me + - req_bFBHR4qX9Ma0Ag Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hcaVW03fn0j2Me + - req_bFBHR4qX9Ma0Ag Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTgKuuB1fWySn0v2tPGg1", + "id": "pi_3P4Ce0KuuB1fWySn19NOiOfT", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237836, + "created": 1712799700, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTfKuuB1fWySnOyVSR2t2", + "payment_method": "pm_1P4Ce0KuuB1fWySnCact5Rqh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:16 GMT + recorded_at: Thu, 11 Apr 2024 01:41:40 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTgKuuB1fWySn0v2tPGg1/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ce0KuuB1fWySn19NOiOfT/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hcaVW03fn0j2Me","request_duration_ms":504}}' + - '{"last_request_metrics":{"request_id":"req_bFBHR4qX9Ma0Ag","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:17 GMT + - Thu, 11 Apr 2024 01:41:41 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c4cc2c9d-db55-4d7a-b6b8-5e49a50fa5f0 + - 54aa764f-2ccb-4535-b3e8-b9e12c33c64a Original-Request: - - req_djGETVIUTj7jH6 + - req_V7pA8XyCNNyPj8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_djGETVIUTj7jH6 + - req_V7pA8XyCNNyPj8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P1qTgKuuB1fWySn0MyuNWAk", + "charge": "ch_3P4Ce0KuuB1fWySn1kHRFVD2", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3P1qTgKuuB1fWySn0v2tPGg1", + "id": "pi_3P4Ce0KuuB1fWySn19NOiOfT", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237836, + "created": 1712799700, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P1qTgKuuB1fWySn0MyuNWAk", + "charge": "ch_3P4Ce0KuuB1fWySn1kHRFVD2", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1P1qTfKuuB1fWySnOyVSR2t2", + "id": "pm_1P4Ce0KuuB1fWySnCact5Rqh", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712237835, + "created": 1712799700, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P1qTgKuuB1fWySn0MyuNWAk", + "latest_charge": "ch_3P4Ce0KuuB1fWySn1kHRFVD2", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P1qTfKuuB1fWySnOyVSR2t2", + "id": "pm_1P4Ce0KuuB1fWySnCact5Rqh", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712237835, + "created": 1712799700, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_djGETVIUTj7jH6?t=1712237836", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_V7pA8XyCNNyPj8?t=1712799701", "type": "card_error" } } - recorded_at: Thu, 04 Apr 2024 13:37:17 GMT + recorded_at: Thu, 11 Apr 2024 01:41:41 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 0ed3e9eeb4..bcec8b2e17 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000119&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tJLMqPkKLlg3X5","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_UGdWH8g6hyQD7G","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:24 GMT + - Thu, 11 Apr 2024 01:41:48 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e98685eb-088a-4e38-9a07-17a31d008cac + - 1b6a0e05-22ac-4cc0-ab8c-ba0da5ce1055 Original-Request: - - req_VE0ilPLfcRN9fJ + - req_0Wtksqpxj9nzQJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VE0ilPLfcRN9fJ + - req_0Wtksqpxj9nzQJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qToKuuB1fWySn0ZNPtW1O", + "id": "pm_1P4Ce8KuuB1fWySniBl5z2cZ", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237844, + "created": 1712799708, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:24 GMT + recorded_at: Thu, 11 Apr 2024 01:41:48 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qToKuuB1fWySn0ZNPtW1O&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Ce8KuuB1fWySniBl5z2cZ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VE0ilPLfcRN9fJ","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_0Wtksqpxj9nzQJ","request_duration_ms":533}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:24 GMT + - Thu, 11 Apr 2024 01:41:49 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6d6e6b30-a204-4493-b335-9f8aa77e5965 + - 135cd2f5-8216-4d4f-a9c9-3b1f376d39eb Original-Request: - - req_lkTgQ7qfSG1sfK + - req_ynj128QsGPOaSh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lkTgQ7qfSG1sfK + - req_ynj128QsGPOaSh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qToKuuB1fWySn2AL4wKUT", + "id": "pi_3P4Ce8KuuB1fWySn2tLVqjlU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237844, + "created": 1712799708, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qToKuuB1fWySn0ZNPtW1O", + "payment_method": "pm_1P4Ce8KuuB1fWySniBl5z2cZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:24 GMT + recorded_at: Thu, 11 Apr 2024 01:41:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qToKuuB1fWySn2AL4wKUT/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ce8KuuB1fWySn2tLVqjlU/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lkTgQ7qfSG1sfK","request_duration_ms":423}}' + - '{"last_request_metrics":{"request_id":"req_ynj128QsGPOaSh","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:25 GMT + - Thu, 11 Apr 2024 01:41:50 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8f120d4b-9d1d-4e3d-a40b-070461608485 + - 91aac37a-b189-4286-8a4f-67f99f3aaec4 Original-Request: - - req_sSt5zYJh6INY4P + - req_xUDBRFXPyBPxlo Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sSt5zYJh6INY4P + - req_xUDBRFXPyBPxlo Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,12 +346,12 @@ http_interactions: string: | { "error": { - "charge": "ch_3P1qToKuuB1fWySn2jBsBOax", + "charge": "ch_3P4Ce8KuuB1fWySn276LHsCh", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_intent": { - "id": "pi_3P1qToKuuB1fWySn2AL4wKUT", + "id": "pi_3P4Ce8KuuB1fWySn2tLVqjlU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -368,18 +368,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237844, + "created": 1712799708, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P1qToKuuB1fWySn2jBsBOax", + "charge": "ch_3P4Ce8KuuB1fWySn276LHsCh", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_method": { - "id": "pm_1P1qToKuuB1fWySn0ZNPtW1O", + "id": "pm_1P4Ce8KuuB1fWySniBl5z2cZ", "object": "payment_method", "billing_details": { "address": { @@ -420,7 +420,7 @@ http_interactions: }, "wallet": null }, - "created": 1712237844, + "created": 1712799708, "customer": null, "livemode": false, "metadata": { @@ -429,7 +429,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P1qToKuuB1fWySn2jBsBOax", + "latest_charge": "ch_3P4Ce8KuuB1fWySn276LHsCh", "livemode": false, "metadata": { }, @@ -461,7 +461,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P1qToKuuB1fWySn0ZNPtW1O", + "id": "pm_1P4Ce8KuuB1fWySniBl5z2cZ", "object": "payment_method", "billing_details": { "address": { @@ -502,16 +502,16 @@ http_interactions: }, "wallet": null }, - "created": 1712237844, + "created": 1712799708, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_sSt5zYJh6INY4P?t=1712237845", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_xUDBRFXPyBPxlo?t=1712799709", "type": "card_error" } } - recorded_at: Thu, 04 Apr 2024 13:37:25 GMT + recorded_at: Thu, 11 Apr 2024 01:41:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 7b4eb1c785..8610e94b88 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009979&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hcaVW03fn0j2Me","request_duration_ms":504}}' + - '{"last_request_metrics":{"request_id":"req_bFBHR4qX9Ma0Ag","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:18 GMT + - Thu, 11 Apr 2024 01:41:42 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e0e34dba-0544-4b50-adcc-b4af1a9ee7f8 + - db2585b9-6eb4-41fb-9f3f-1e3759ac5522 Original-Request: - - req_XbEloBRZEL80L4 + - req_kXKSBi0VRGFwxt Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XbEloBRZEL80L4 + - req_kXKSBi0VRGFwxt Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qThKuuB1fWySnDszHk2Rj", + "id": "pm_1P4Ce2KuuB1fWySn2uIDTObL", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237838, + "created": 1712799702, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:18 GMT + recorded_at: Thu, 11 Apr 2024 01:41:42 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qThKuuB1fWySnDszHk2Rj&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Ce2KuuB1fWySn2uIDTObL&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XbEloBRZEL80L4","request_duration_ms":582}}' + - '{"last_request_metrics":{"request_id":"req_kXKSBi0VRGFwxt","request_duration_ms":446}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:18 GMT + - Thu, 11 Apr 2024 01:41:42 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 77d40b15-b25e-49f5-a347-2974f4954008 + - 8ddc8738-808a-4435-82a0-8b3298d6bdaa Original-Request: - - req_9NLv0jegScJIte + - req_Ps5pBOSZrkoW6S Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9NLv0jegScJIte + - req_Ps5pBOSZrkoW6S Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTiKuuB1fWySn2D7D1J5X", + "id": "pi_3P4Ce2KuuB1fWySn0iYqQfyO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237838, + "created": 1712799702, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qThKuuB1fWySnDszHk2Rj", + "payment_method": "pm_1P4Ce2KuuB1fWySn2uIDTObL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:18 GMT + recorded_at: Thu, 11 Apr 2024 01:41:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTiKuuB1fWySn2D7D1J5X/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ce2KuuB1fWySn0iYqQfyO/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9NLv0jegScJIte","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_Ps5pBOSZrkoW6S","request_duration_ms":435}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:19 GMT + - Thu, 11 Apr 2024 01:41:43 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2103a299-836f-4490-bd27-51d8c744fa0a + - 7f810e3f-08f2-4a38-b59e-dea565351638 Original-Request: - - req_KyuWIfhoB4gdAY + - req_DdiqiFUlHk8ku1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KyuWIfhoB4gdAY + - req_DdiqiFUlHk8ku1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P1qTiKuuB1fWySn2c62LLgV", + "charge": "ch_3P4Ce2KuuB1fWySn0fTwKReQ", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3P1qTiKuuB1fWySn2D7D1J5X", + "id": "pi_3P4Ce2KuuB1fWySn0iYqQfyO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237838, + "created": 1712799702, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P1qTiKuuB1fWySn2c62LLgV", + "charge": "ch_3P4Ce2KuuB1fWySn0fTwKReQ", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1P1qThKuuB1fWySnDszHk2Rj", + "id": "pm_1P4Ce2KuuB1fWySn2uIDTObL", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712237838, + "created": 1712799702, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P1qTiKuuB1fWySn2c62LLgV", + "latest_charge": "ch_3P4Ce2KuuB1fWySn0fTwKReQ", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P1qThKuuB1fWySnDszHk2Rj", + "id": "pm_1P4Ce2KuuB1fWySn2uIDTObL", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712237838, + "created": 1712799702, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_KyuWIfhoB4gdAY?t=1712237838", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_DdiqiFUlHk8ku1?t=1712799703", "type": "card_error" } } - recorded_at: Thu, 04 Apr 2024 13:37:19 GMT + recorded_at: Thu, 11 Apr 2024 01:41:43 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml index 9c5cae9024..d84be14b69 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kKtioAccmebXnc","request_duration_ms":1075}}' + - '{"last_request_metrics":{"request_id":"req_gUgOisvVc4b1DK","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:18 GMT + - Thu, 11 Apr 2024 01:40:42 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a556aeea-4c4c-4250-a408-a647e848669c + - 56b10db3-a574-4a50-ba06-b8490e366324 Original-Request: - - req_FxQeHpbU1RVbIL + - req_6I9Dw8OnNzZt9B Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FxQeHpbU1RVbIL + - req_6I9Dw8OnNzZt9B Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSkKuuB1fWySnu28PRFMh", + "id": "pm_1P4Cd3KuuB1fWySn02wPfVkh", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237778, + "created": 1712799642, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:18 GMT + recorded_at: Thu, 11 Apr 2024 01:40:42 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSkKuuB1fWySnu28PRFMh&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Cd3KuuB1fWySn02wPfVkh&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FxQeHpbU1RVbIL","request_duration_ms":458}}' + - '{"last_request_metrics":{"request_id":"req_6I9Dw8OnNzZt9B","request_duration_ms":642}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:19 GMT + - Thu, 11 Apr 2024 01:40:42 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2c1287a1-c982-431a-bfa0-06dab9a494bb + - 6073c6ac-92a5-4dc8-803b-af9644d494c8 Original-Request: - - req_pq1MbSbyeUljl3 + - req_uDbFKDWKZdvLhQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pq1MbSbyeUljl3 + - req_uDbFKDWKZdvLhQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSkKuuB1fWySn042Z4oUa", + "id": "pi_3P4Cd4KuuB1fWySn0Why5wfP", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237778, + "created": 1712799642, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSkKuuB1fWySnu28PRFMh", + "payment_method": "pm_1P4Cd3KuuB1fWySn02wPfVkh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:19 GMT + recorded_at: Thu, 11 Apr 2024 01:40:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSkKuuB1fWySn042Z4oUa/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cd4KuuB1fWySn0Why5wfP/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pq1MbSbyeUljl3","request_duration_ms":450}}' + - '{"last_request_metrics":{"request_id":"req_uDbFKDWKZdvLhQ","request_duration_ms":560}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:20 GMT + - Thu, 11 Apr 2024 01:40:43 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2f975863-0a33-41a7-823f-c49cb552f65e + - db0a1088-03b8-4f85-aca6-f9e5c66bd45b Original-Request: - - req_xNLv8ut1UZ3ZcJ + - req_ZQD37mFbOEllFZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xNLv8ut1UZ3ZcJ + - req_ZQD37mFbOEllFZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSkKuuB1fWySn042Z4oUa", + "id": "pi_3P4Cd4KuuB1fWySn0Why5wfP", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237778, + "created": 1712799642, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSkKuuB1fWySn0GnNVFsZ", + "latest_charge": "ch_3P4Cd4KuuB1fWySn0R2TSo4B", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSkKuuB1fWySnu28PRFMh", + "payment_method": "pm_1P4Cd3KuuB1fWySn02wPfVkh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:20 GMT + recorded_at: Thu, 11 Apr 2024 01:40:43 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSkKuuB1fWySn042Z4oUa + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cd4KuuB1fWySn0Why5wfP body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xNLv8ut1UZ3ZcJ","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_ZQD37mFbOEllFZ","request_duration_ms":1092}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:20 GMT + - Thu, 11 Apr 2024 01:40:44 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qkxeb83fsKvAUy + - req_g7uCBRwSYdIt28 Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSkKuuB1fWySn042Z4oUa", + "id": "pi_3P4Cd4KuuB1fWySn0Why5wfP", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237778, + "created": 1712799642, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSkKuuB1fWySn0GnNVFsZ", + "latest_charge": "ch_3P4Cd4KuuB1fWySn0R2TSo4B", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSkKuuB1fWySnu28PRFMh", + "payment_method": "pm_1P4Cd3KuuB1fWySn02wPfVkh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:20 GMT + recorded_at: Thu, 11 Apr 2024 01:40:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSkKuuB1fWySn042Z4oUa/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cd4KuuB1fWySn0Why5wfP/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qkxeb83fsKvAUy","request_duration_ms":322}}' + - '{"last_request_metrics":{"request_id":"req_g7uCBRwSYdIt28","request_duration_ms":456}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:21 GMT + - Thu, 11 Apr 2024 01:40:45 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9576d61c-6947-4a07-abfc-5af25e8e6d1f + - a05a1173-0168-4fb9-af33-cfa0a41e1d3b Original-Request: - - req_dyC99KdmgdonKM + - req_C8ri4d7PH0V2Xk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dyC99KdmgdonKM + - req_C8ri4d7PH0V2Xk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSkKuuB1fWySn042Z4oUa", + "id": "pi_3P4Cd4KuuB1fWySn0Why5wfP", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237778, + "created": 1712799642, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSkKuuB1fWySn0GnNVFsZ", + "latest_charge": "ch_3P4Cd4KuuB1fWySn0R2TSo4B", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSkKuuB1fWySnu28PRFMh", + "payment_method": "pm_1P4Cd3KuuB1fWySn02wPfVkh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:21 GMT + recorded_at: Thu, 11 Apr 2024 01:40:45 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSkKuuB1fWySn042Z4oUa + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cd4KuuB1fWySn0Why5wfP body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dyC99KdmgdonKM","request_duration_ms":1001}}' + - '{"last_request_metrics":{"request_id":"req_C8ri4d7PH0V2Xk","request_duration_ms":1109}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:21 GMT + - Thu, 11 Apr 2024 01:40:45 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Lu774gZN83JviS + - req_naE4Sjq3oo6NB2 Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSkKuuB1fWySn042Z4oUa", + "id": "pi_3P4Cd4KuuB1fWySn0Why5wfP", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237778, + "created": 1712799642, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSkKuuB1fWySn0GnNVFsZ", + "latest_charge": "ch_3P4Cd4KuuB1fWySn0R2TSo4B", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSkKuuB1fWySnu28PRFMh", + "payment_method": "pm_1P4Cd3KuuB1fWySn02wPfVkh", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:21 GMT + recorded_at: Thu, 11 Apr 2024 01:40:45 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml index 8264e8e2d1..ac1fd23e0e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DlJ3ZIJSMo41p0","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_GgIhqL9Ai6JbXO","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:16 GMT + - Thu, 11 Apr 2024 01:40:39 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8c0f7d46-5e71-41e2-b19b-e7a9f7c36214 + - 07f25984-ebd4-4584-9c22-983099d37366 Original-Request: - - req_3AvAzDP2GsXdtT + - req_lI4SE4zuGmbwlg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3AvAzDP2GsXdtT + - req_lI4SE4zuGmbwlg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSiKuuB1fWySn8toMKnyo", + "id": "pm_1P4Cd1KuuB1fWySno6nla47i", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237776, + "created": 1712799639, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:16 GMT + recorded_at: Thu, 11 Apr 2024 01:40:39 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSiKuuB1fWySn8toMKnyo&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Cd1KuuB1fWySno6nla47i&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3AvAzDP2GsXdtT","request_duration_ms":488}}' + - '{"last_request_metrics":{"request_id":"req_lI4SE4zuGmbwlg","request_duration_ms":601}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:16 GMT + - Thu, 11 Apr 2024 01:40:40 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 684b1453-96fe-458d-b0fc-3353d282fc1d + - 4b7aa7ce-86e0-4470-9601-8fceffb9f8a2 Original-Request: - - req_KIl2S4yiVJRLEp + - req_SCVKoZwya38XiH Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KIl2S4yiVJRLEp + - req_SCVKoZwya38XiH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSiKuuB1fWySn021Qdzu8", + "id": "pi_3P4Cd2KuuB1fWySn1sXdgagJ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237776, + "created": 1712799640, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSiKuuB1fWySn8toMKnyo", + "payment_method": "pm_1P4Cd1KuuB1fWySno6nla47i", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:17 GMT + recorded_at: Thu, 11 Apr 2024 01:40:40 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSiKuuB1fWySn021Qdzu8/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cd2KuuB1fWySn1sXdgagJ/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KIl2S4yiVJRLEp","request_duration_ms":483}}' + - '{"last_request_metrics":{"request_id":"req_SCVKoZwya38XiH","request_duration_ms":614}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:17 GMT + - Thu, 11 Apr 2024 01:40:41 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c5d929c1-a58e-46e7-9cf9-c26ca47a90aa + - 80d9362d-446e-44c6-95f9-994dedfb1c60 Original-Request: - - req_kKtioAccmebXnc + - req_gUgOisvVc4b1DK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kKtioAccmebXnc + - req_gUgOisvVc4b1DK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSiKuuB1fWySn021Qdzu8", + "id": "pi_3P4Cd2KuuB1fWySn1sXdgagJ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237776, + "created": 1712799640, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSiKuuB1fWySn0C5ChAQh", + "latest_charge": "ch_3P4Cd2KuuB1fWySn1NeHPT61", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSiKuuB1fWySn8toMKnyo", + "payment_method": "pm_1P4Cd1KuuB1fWySno6nla47i", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:18 GMT + recorded_at: Thu, 11 Apr 2024 01:40:41 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml index 30849320cc..8f9e6bbf79 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_X01kAvUvm0VsBE","request_duration_ms":922}}' + - '{"last_request_metrics":{"request_id":"req_t0INEjxIN1feiF","request_duration_ms":1037}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:50 GMT + - Thu, 11 Apr 2024 01:41:14 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 43516c53-60f2-4c0f-a013-3fd89b0112a9 + - 18629f31-8564-41b5-a273-193575c3bcab Original-Request: - - req_wxpJBbdttlFEHW + - req_Fnppsh3o8ZFEc8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wxpJBbdttlFEHW + - req_Fnppsh3o8ZFEc8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTFKuuB1fWySndLalHIeo", + "id": "pm_1P4CdZKuuB1fWySnDxt1Amzg", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237809, + "created": 1712799673, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:50 GMT + recorded_at: Thu, 11 Apr 2024 01:41:14 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTFKuuB1fWySndLalHIeo&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdZKuuB1fWySnDxt1Amzg&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wxpJBbdttlFEHW","request_duration_ms":559}}' + - '{"last_request_metrics":{"request_id":"req_Fnppsh3o8ZFEc8","request_duration_ms":568}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:50 GMT + - Thu, 11 Apr 2024 01:41:14 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d73fe439-63d8-4b13-83b9-ce17541fa6c6 + - 86b3d011-2d01-4b2d-af70-8a6305ae4a11 Original-Request: - - req_9MEB3LXvjsa17w + - req_BOZ9VG5pJHjKdv Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9MEB3LXvjsa17w + - req_BOZ9VG5pJHjKdv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTGKuuB1fWySn1zeRyRLr", + "id": "pi_3P4CdaKuuB1fWySn2JlRxwhC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237810, + "created": 1712799674, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTFKuuB1fWySndLalHIeo", + "payment_method": "pm_1P4CdZKuuB1fWySnDxt1Amzg", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:50 GMT + recorded_at: Thu, 11 Apr 2024 01:41:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTGKuuB1fWySn1zeRyRLr/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdaKuuB1fWySn2JlRxwhC/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9MEB3LXvjsa17w","request_duration_ms":504}}' + - '{"last_request_metrics":{"request_id":"req_BOZ9VG5pJHjKdv","request_duration_ms":435}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:51 GMT + - Thu, 11 Apr 2024 01:41:15 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - af63f2ff-824c-4881-a30a-428cac1980d4 + - 9a082ff6-a0c8-45c6-8a09-96569cd04577 Original-Request: - - req_MUZv1AIcfn6cOG + - req_uYQKWrAhlqO9TI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MUZv1AIcfn6cOG + - req_uYQKWrAhlqO9TI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTGKuuB1fWySn1zeRyRLr", + "id": "pi_3P4CdaKuuB1fWySn2JlRxwhC", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237810, + "created": 1712799674, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTGKuuB1fWySn1xUKjuyd", + "latest_charge": "ch_3P4CdaKuuB1fWySn2K3kG3eh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTFKuuB1fWySndLalHIeo", + "payment_method": "pm_1P4CdZKuuB1fWySnDxt1Amzg", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:51 GMT + recorded_at: Thu, 11 Apr 2024 01:41:15 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTGKuuB1fWySn1zeRyRLr + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdaKuuB1fWySn2JlRxwhC body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MUZv1AIcfn6cOG","request_duration_ms":1019}}' + - '{"last_request_metrics":{"request_id":"req_uYQKWrAhlqO9TI","request_duration_ms":994}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:52 GMT + - Thu, 11 Apr 2024 01:41:16 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gREGcicQiKec9h + - req_beHpLNszLLO3w2 Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTGKuuB1fWySn1zeRyRLr", + "id": "pi_3P4CdaKuuB1fWySn2JlRxwhC", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237810, + "created": 1712799674, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTGKuuB1fWySn1xUKjuyd", + "latest_charge": "ch_3P4CdaKuuB1fWySn2K3kG3eh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTFKuuB1fWySndLalHIeo", + "payment_method": "pm_1P4CdZKuuB1fWySnDxt1Amzg", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:52 GMT + recorded_at: Thu, 11 Apr 2024 01:41:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTGKuuB1fWySn1zeRyRLr/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdaKuuB1fWySn2JlRxwhC/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gREGcicQiKec9h","request_duration_ms":309}}' + - '{"last_request_metrics":{"request_id":"req_beHpLNszLLO3w2","request_duration_ms":401}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:53 GMT + - Thu, 11 Apr 2024 01:41:17 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e964e4a4-d107-43cf-88b7-9ae786bc9d27 + - ccd3363e-c883-4480-82a1-9e2fdbb891fe Original-Request: - - req_zli0aVDimaqCcR + - req_Yg6eyUBIYuXlWv Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zli0aVDimaqCcR + - req_Yg6eyUBIYuXlWv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTGKuuB1fWySn1zeRyRLr", + "id": "pi_3P4CdaKuuB1fWySn2JlRxwhC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237810, + "created": 1712799674, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTGKuuB1fWySn1xUKjuyd", + "latest_charge": "ch_3P4CdaKuuB1fWySn2K3kG3eh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTFKuuB1fWySndLalHIeo", + "payment_method": "pm_1P4CdZKuuB1fWySnDxt1Amzg", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:53 GMT + recorded_at: Thu, 11 Apr 2024 01:41:17 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTGKuuB1fWySn1zeRyRLr + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdaKuuB1fWySn2JlRxwhC body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zli0aVDimaqCcR","request_duration_ms":1181}}' + - '{"last_request_metrics":{"request_id":"req_Yg6eyUBIYuXlWv","request_duration_ms":1121}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:53 GMT + - Thu, 11 Apr 2024 01:41:17 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_iHDzqAogvyOtTH + - req_4Q8pNCcYRdgsMm Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTGKuuB1fWySn1zeRyRLr", + "id": "pi_3P4CdaKuuB1fWySn2JlRxwhC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237810, + "created": 1712799674, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTGKuuB1fWySn1xUKjuyd", + "latest_charge": "ch_3P4CdaKuuB1fWySn2K3kG3eh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTFKuuB1fWySndLalHIeo", + "payment_method": "pm_1P4CdZKuuB1fWySnDxt1Amzg", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:53 GMT + recorded_at: Thu, 11 Apr 2024 01:41:17 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml index 26ef90826a..eb18f726ba 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_G2DWAGpxQRMWqt","request_duration_ms":327}}' + - '{"last_request_metrics":{"request_id":"req_yEQOgrtHWfqAZN","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:47 GMT + - Thu, 11 Apr 2024 01:41:11 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e69ccd3e-bafc-46d0-8d70-161dd7f55e7c + - f47a3e80-7473-4457-94b6-916912b93308 Original-Request: - - req_y604ljuo9s4NV4 + - req_9qlUGA9B2AMCuj Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_y604ljuo9s4NV4 + - req_9qlUGA9B2AMCuj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTDKuuB1fWySnPunza29b", + "id": "pm_1P4CdXKuuB1fWySnEwDBzyEF", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237807, + "created": 1712799671, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:47 GMT + recorded_at: Thu, 11 Apr 2024 01:41:11 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTDKuuB1fWySnPunza29b&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdXKuuB1fWySnEwDBzyEF&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_y604ljuo9s4NV4","request_duration_ms":519}}' + - '{"last_request_metrics":{"request_id":"req_9qlUGA9B2AMCuj","request_duration_ms":546}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:48 GMT + - Thu, 11 Apr 2024 01:41:12 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b4652a2c-5588-4654-914a-64004df0478a + - ae5b458c-b7e4-4519-89f5-2f126ef6d431 Original-Request: - - req_OXjLmV241sBRou + - req_4oguLHo7vhnqrf Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OXjLmV241sBRou + - req_4oguLHo7vhnqrf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTDKuuB1fWySn1tCtUiGl", + "id": "pi_3P4CdYKuuB1fWySn0bF1xUWs", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237807, + "created": 1712799672, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTDKuuB1fWySnPunza29b", + "payment_method": "pm_1P4CdXKuuB1fWySnEwDBzyEF", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:48 GMT + recorded_at: Thu, 11 Apr 2024 01:41:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTDKuuB1fWySn1tCtUiGl/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdYKuuB1fWySn0bF1xUWs/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OXjLmV241sBRou","request_duration_ms":455}}' + - '{"last_request_metrics":{"request_id":"req_4oguLHo7vhnqrf","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:49 GMT + - Thu, 11 Apr 2024 01:41:13 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 63b85084-4c72-4dce-a609-c080f70bf85e + - 703ec906-24f7-4640-82cb-203c8bb7781f Original-Request: - - req_X01kAvUvm0VsBE + - req_t0INEjxIN1feiF Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_X01kAvUvm0VsBE + - req_t0INEjxIN1feiF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTDKuuB1fWySn1tCtUiGl", + "id": "pi_3P4CdYKuuB1fWySn0bF1xUWs", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237807, + "created": 1712799672, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTDKuuB1fWySn1cIy93Zg", + "latest_charge": "ch_3P4CdYKuuB1fWySn0wfA830t", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTDKuuB1fWySnPunza29b", + "payment_method": "pm_1P4CdXKuuB1fWySnEwDBzyEF", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:49 GMT + recorded_at: Thu, 11 Apr 2024 01:41:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml index 1f00857073..558dad925d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Cw9DUZdMyP6Nxr","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_wv4icqCPH9PJSX","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:37 GMT + - Thu, 11 Apr 2024 01:41:01 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 275b363d-34a2-4835-99fc-005682ee4b72 + - fcf9e18a-1859-4ad7-9d77-7aa735de10b8 Original-Request: - - req_np7BXOZWfhIwjO + - req_sMqPXoaFLjH4TE Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_np7BXOZWfhIwjO + - req_sMqPXoaFLjH4TE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qT3KuuB1fWySnRYCu307e", + "id": "pm_1P4CdNKuuB1fWySnixSHwis9", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237797, + "created": 1712799661, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:37 GMT + recorded_at: Thu, 11 Apr 2024 01:41:01 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qT3KuuB1fWySnRYCu307e&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdNKuuB1fWySnixSHwis9&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_np7BXOZWfhIwjO","request_duration_ms":439}}' + - '{"last_request_metrics":{"request_id":"req_sMqPXoaFLjH4TE","request_duration_ms":558}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:38 GMT + - Thu, 11 Apr 2024 01:41:02 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 201f20fe-95c5-40c6-b9a3-d68107683d01 + - 350d7d54-5a6c-42cc-ba58-cee82eb95967 Original-Request: - - req_t09PKBdjBu8kAj + - req_hDgvzCCPz6MJlY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_t09PKBdjBu8kAj + - req_hDgvzCCPz6MJlY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qT4KuuB1fWySn2fbyICTo", + "id": "pi_3P4CdNKuuB1fWySn0ZhunmAR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237798, + "created": 1712799661, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT3KuuB1fWySnRYCu307e", + "payment_method": "pm_1P4CdNKuuB1fWySnixSHwis9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:38 GMT + recorded_at: Thu, 11 Apr 2024 01:41:02 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qT4KuuB1fWySn2fbyICTo/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdNKuuB1fWySn0ZhunmAR/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t09PKBdjBu8kAj","request_duration_ms":526}}' + - '{"last_request_metrics":{"request_id":"req_hDgvzCCPz6MJlY","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:39 GMT + - Thu, 11 Apr 2024 01:41:03 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4e6e5c4b-e3fc-4d24-9e6e-f354eabd44aa + - b476402f-429d-421e-a072-d69569ff64aa Original-Request: - - req_04sCqdhwozEWV2 + - req_Xnxx6XQIFC0tDe Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_04sCqdhwozEWV2 + - req_Xnxx6XQIFC0tDe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qT4KuuB1fWySn2fbyICTo", + "id": "pi_3P4CdNKuuB1fWySn0ZhunmAR", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237798, + "created": 1712799661, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qT4KuuB1fWySn2JXwAuaU", + "latest_charge": "ch_3P4CdNKuuB1fWySn0XkGh00c", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT3KuuB1fWySnRYCu307e", + "payment_method": "pm_1P4CdNKuuB1fWySnixSHwis9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:39 GMT + recorded_at: Thu, 11 Apr 2024 01:41:03 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qT4KuuB1fWySn2fbyICTo + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdNKuuB1fWySn0ZhunmAR body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_04sCqdhwozEWV2","request_duration_ms":1060}}' + - '{"last_request_metrics":{"request_id":"req_Xnxx6XQIFC0tDe","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:39 GMT + - Thu, 11 Apr 2024 01:41:03 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8oWvaczosbN8G4 + - req_VfyDdeMc7bl6Ux Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qT4KuuB1fWySn2fbyICTo", + "id": "pi_3P4CdNKuuB1fWySn0ZhunmAR", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237798, + "created": 1712799661, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qT4KuuB1fWySn2JXwAuaU", + "latest_charge": "ch_3P4CdNKuuB1fWySn0XkGh00c", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT3KuuB1fWySnRYCu307e", + "payment_method": "pm_1P4CdNKuuB1fWySnixSHwis9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:39 GMT + recorded_at: Thu, 11 Apr 2024 01:41:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qT4KuuB1fWySn2fbyICTo/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdNKuuB1fWySn0ZhunmAR/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8oWvaczosbN8G4","request_duration_ms":343}}' + - '{"last_request_metrics":{"request_id":"req_VfyDdeMc7bl6Ux","request_duration_ms":408}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:40 GMT + - Thu, 11 Apr 2024 01:41:04 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ae119da0-87e2-42ad-a95e-93fbd4c38ce0 + - 82ceae99-36ab-473f-9e94-15073a992b27 Original-Request: - - req_VgUKYWh6UmpRJl + - req_SmHtGrHeDJZ3Qh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VgUKYWh6UmpRJl + - req_SmHtGrHeDJZ3Qh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qT4KuuB1fWySn2fbyICTo", + "id": "pi_3P4CdNKuuB1fWySn0ZhunmAR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237798, + "created": 1712799661, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qT4KuuB1fWySn2JXwAuaU", + "latest_charge": "ch_3P4CdNKuuB1fWySn0XkGh00c", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT3KuuB1fWySnRYCu307e", + "payment_method": "pm_1P4CdNKuuB1fWySnixSHwis9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:40 GMT + recorded_at: Thu, 11 Apr 2024 01:41:04 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qT4KuuB1fWySn2fbyICTo + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdNKuuB1fWySn0ZhunmAR body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VgUKYWh6UmpRJl","request_duration_ms":1103}}' + - '{"last_request_metrics":{"request_id":"req_SmHtGrHeDJZ3Qh","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:41 GMT + - Thu, 11 Apr 2024 01:41:05 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JuD4mjpylCXHeO + - req_czk4DLl2Z1dIOu Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qT4KuuB1fWySn2fbyICTo", + "id": "pi_3P4CdNKuuB1fWySn0ZhunmAR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237798, + "created": 1712799661, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qT4KuuB1fWySn2JXwAuaU", + "latest_charge": "ch_3P4CdNKuuB1fWySn0XkGh00c", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT3KuuB1fWySnRYCu307e", + "payment_method": "pm_1P4CdNKuuB1fWySnixSHwis9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:41 GMT + recorded_at: Thu, 11 Apr 2024 01:41:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml index 992a4d502e..503c4b4a14 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qsqnWDAgxN1Wff","request_duration_ms":312}}' + - '{"last_request_metrics":{"request_id":"req_PRj2guhfYhVyfj","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:35 GMT + - Thu, 11 Apr 2024 01:40:59 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - da3215dc-435a-41ba-8a80-660ece8cffe8 + - 04c4bbca-c84f-4195-9c69-cf5bd52e7a64 Original-Request: - - req_Wx9EPoCosMKfvR + - req_l4SxBIDwVpzhbm Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Wx9EPoCosMKfvR + - req_l4SxBIDwVpzhbm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qT1KuuB1fWySnmH6eTmhA", + "id": "pm_1P4CdLKuuB1fWySnwymK9l6f", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237795, + "created": 1712799659, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:35 GMT + recorded_at: Thu, 11 Apr 2024 01:40:59 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qT1KuuB1fWySnmH6eTmhA&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdLKuuB1fWySnwymK9l6f&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Wx9EPoCosMKfvR","request_duration_ms":557}}' + - '{"last_request_metrics":{"request_id":"req_l4SxBIDwVpzhbm","request_duration_ms":496}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:35 GMT + - Thu, 11 Apr 2024 01:40:59 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 85f990a1-7099-4b1f-b8ea-c56097295a29 + - 8d177c0f-7e7e-4a43-b86b-b4909e9c5c34 Original-Request: - - req_PZBKHVUWgr6Cd9 + - req_HXediLi3AJGUtI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PZBKHVUWgr6Cd9 + - req_HXediLi3AJGUtI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qT1KuuB1fWySn1EoIuVu4", + "id": "pi_3P4CdLKuuB1fWySn24MDxCgR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237795, + "created": 1712799659, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT1KuuB1fWySnmH6eTmhA", + "payment_method": "pm_1P4CdLKuuB1fWySnwymK9l6f", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:35 GMT + recorded_at: Thu, 11 Apr 2024 01:40:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qT1KuuB1fWySn1EoIuVu4/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdLKuuB1fWySn24MDxCgR/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PZBKHVUWgr6Cd9","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_HXediLi3AJGUtI","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:36 GMT + - Thu, 11 Apr 2024 01:41:00 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c581a0ce-eb04-4f94-ae1b-a1f1deb7d824 + - d590cbb1-7f88-4efb-b488-5bd683b408d9 Original-Request: - - req_Cw9DUZdMyP6Nxr + - req_wv4icqCPH9PJSX Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Cw9DUZdMyP6Nxr + - req_wv4icqCPH9PJSX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qT1KuuB1fWySn1EoIuVu4", + "id": "pi_3P4CdLKuuB1fWySn24MDxCgR", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237795, + "created": 1712799659, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qT1KuuB1fWySn1VB8PDcU", + "latest_charge": "ch_3P4CdLKuuB1fWySn2WCOyvMU", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT1KuuB1fWySnmH6eTmhA", + "payment_method": "pm_1P4CdLKuuB1fWySnwymK9l6f", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:36 GMT + recorded_at: Thu, 11 Apr 2024 01:41:00 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml index 90aafffad0..538ac64b13 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VJ7ouI8YK5vhnw","request_duration_ms":937}}' + - '{"last_request_metrics":{"request_id":"req_QyAnd0wDo5DYxP","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:44 GMT + - Thu, 11 Apr 2024 01:41:07 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ea71a23e-bfef-43ec-bd0b-4e3fc404b916 + - 4425a98f-dbad-42d2-8af1-8af48006521d Original-Request: - - req_vQZXC1JPsKK3d7 + - req_OkIB8veJh2dSHg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vQZXC1JPsKK3d7 + - req_OkIB8veJh2dSHg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qT9KuuB1fWySnW3eUvt6l", + "id": "pm_1P4CdTKuuB1fWySnVSwG4Dub", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237803, + "created": 1712799667, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:44 GMT + recorded_at: Thu, 11 Apr 2024 01:41:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qT9KuuB1fWySnW3eUvt6l&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdTKuuB1fWySnVSwG4Dub&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vQZXC1JPsKK3d7","request_duration_ms":462}}' + - '{"last_request_metrics":{"request_id":"req_OkIB8veJh2dSHg","request_duration_ms":475}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:44 GMT + - Thu, 11 Apr 2024 01:41:08 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ce5e4159-ff5d-4530-8f2f-909cc9af0cf8 + - 42b6557b-8e36-430a-b268-3542ffce95fa Original-Request: - - req_anJa2X5oHGq6M9 + - req_O28bkaru64HoC4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_anJa2X5oHGq6M9 + - req_O28bkaru64HoC4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTAKuuB1fWySn1fx0R4kZ", + "id": "pi_3P4CdUKuuB1fWySn21umO6sY", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237804, + "created": 1712799668, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT9KuuB1fWySnW3eUvt6l", + "payment_method": "pm_1P4CdTKuuB1fWySnVSwG4Dub", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:44 GMT + recorded_at: Thu, 11 Apr 2024 01:41:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTAKuuB1fWySn1fx0R4kZ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdUKuuB1fWySn21umO6sY/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_anJa2X5oHGq6M9","request_duration_ms":396}}' + - '{"last_request_metrics":{"request_id":"req_O28bkaru64HoC4","request_duration_ms":440}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:45 GMT + - Thu, 11 Apr 2024 01:41:09 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 309dce54-f9e4-45eb-988a-37077cde2ee4 + - 1c5fb85d-0a1a-4c43-8b8c-672e82c77846 Original-Request: - - req_ng7lWj99WoKibU + - req_r7EBK9eCvTxtQa Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ng7lWj99WoKibU + - req_r7EBK9eCvTxtQa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTAKuuB1fWySn1fx0R4kZ", + "id": "pi_3P4CdUKuuB1fWySn21umO6sY", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237804, + "created": 1712799668, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTAKuuB1fWySn14XzI70k", + "latest_charge": "ch_3P4CdUKuuB1fWySn2r3COC10", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT9KuuB1fWySnW3eUvt6l", + "payment_method": "pm_1P4CdTKuuB1fWySnVSwG4Dub", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:45 GMT + recorded_at: Thu, 11 Apr 2024 01:41:09 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTAKuuB1fWySn1fx0R4kZ + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdUKuuB1fWySn21umO6sY body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ng7lWj99WoKibU","request_duration_ms":919}}' + - '{"last_request_metrics":{"request_id":"req_r7EBK9eCvTxtQa","request_duration_ms":974}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:45 GMT + - Thu, 11 Apr 2024 01:41:09 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hSr6ufzxVAoH5Y + - req_KwVhezAfvg85tN Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTAKuuB1fWySn1fx0R4kZ", + "id": "pi_3P4CdUKuuB1fWySn21umO6sY", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237804, + "created": 1712799668, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTAKuuB1fWySn14XzI70k", + "latest_charge": "ch_3P4CdUKuuB1fWySn2r3COC10", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT9KuuB1fWySnW3eUvt6l", + "payment_method": "pm_1P4CdTKuuB1fWySnVSwG4Dub", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:45 GMT + recorded_at: Thu, 11 Apr 2024 01:41:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTAKuuB1fWySn1fx0R4kZ/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdUKuuB1fWySn21umO6sY/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hSr6ufzxVAoH5Y","request_duration_ms":418}}' + - '{"last_request_metrics":{"request_id":"req_KwVhezAfvg85tN","request_duration_ms":396}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:46 GMT + - Thu, 11 Apr 2024 01:41:10 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6d7989ee-c1eb-48f7-89f3-15848bc99f91 + - 70e42ce6-53bb-404e-adc2-276ae215518f Original-Request: - - req_dqw4r7KQ2eCTS7 + - req_0Ycv1r4aMHxtEf Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dqw4r7KQ2eCTS7 + - req_0Ycv1r4aMHxtEf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTAKuuB1fWySn1fx0R4kZ", + "id": "pi_3P4CdUKuuB1fWySn21umO6sY", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237804, + "created": 1712799668, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTAKuuB1fWySn14XzI70k", + "latest_charge": "ch_3P4CdUKuuB1fWySn2r3COC10", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT9KuuB1fWySnW3eUvt6l", + "payment_method": "pm_1P4CdTKuuB1fWySnVSwG4Dub", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:46 GMT + recorded_at: Thu, 11 Apr 2024 01:41:10 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTAKuuB1fWySn1fx0R4kZ + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdUKuuB1fWySn21umO6sY body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dqw4r7KQ2eCTS7","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_0Ycv1r4aMHxtEf","request_duration_ms":1114}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:47 GMT + - Thu, 11 Apr 2024 01:41:11 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_G2DWAGpxQRMWqt + - req_yEQOgrtHWfqAZN Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTAKuuB1fWySn1fx0R4kZ", + "id": "pi_3P4CdUKuuB1fWySn21umO6sY", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237804, + "created": 1712799668, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTAKuuB1fWySn14XzI70k", + "latest_charge": "ch_3P4CdUKuuB1fWySn2r3COC10", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT9KuuB1fWySnW3eUvt6l", + "payment_method": "pm_1P4CdTKuuB1fWySnVSwG4Dub", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:47 GMT + recorded_at: Thu, 11 Apr 2024 01:41:11 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 09c6f2883e..19115df8d9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JuD4mjpylCXHeO","request_duration_ms":305}}' + - '{"last_request_metrics":{"request_id":"req_czk4DLl2Z1dIOu","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:41 GMT + - Thu, 11 Apr 2024 01:41:05 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b41608da-3140-4dfb-9213-7b7683b1d37c + - d4167936-f565-442d-bb15-307590ff62c8 Original-Request: - - req_WJgsRTiYlwzESW + - req_xqxteOXsFMiziW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WJgsRTiYlwzESW + - req_xqxteOXsFMiziW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qT7KuuB1fWySnFeRhG40F", + "id": "pm_1P4CdRKuuB1fWySnHJHOWqFq", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237801, + "created": 1712799665, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:41 GMT + recorded_at: Thu, 11 Apr 2024 01:41:05 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qT7KuuB1fWySnFeRhG40F&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdRKuuB1fWySnHJHOWqFq&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WJgsRTiYlwzESW","request_duration_ms":522}}' + - '{"last_request_metrics":{"request_id":"req_xqxteOXsFMiziW","request_duration_ms":491}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:42 GMT + - Thu, 11 Apr 2024 01:41:06 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 80b4f37b-127a-4eed-b352-7a8ba88c400c + - 77df7ad2-e573-437c-84ab-d9f9268a82d3 Original-Request: - - req_GNWW7JAIq7XXFw + - req_1YXD0iiHK1Hwsk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GNWW7JAIq7XXFw + - req_1YXD0iiHK1Hwsk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qT7KuuB1fWySn2chxRhGK", + "id": "pi_3P4CdRKuuB1fWySn0VXWtS0g", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237801, + "created": 1712799665, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT7KuuB1fWySnFeRhG40F", + "payment_method": "pm_1P4CdRKuuB1fWySnHJHOWqFq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:42 GMT + recorded_at: Thu, 11 Apr 2024 01:41:06 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qT7KuuB1fWySn2chxRhGK/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdRKuuB1fWySn0VXWtS0g/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GNWW7JAIq7XXFw","request_duration_ms":376}}' + - '{"last_request_metrics":{"request_id":"req_1YXD0iiHK1Hwsk","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:43 GMT + - Thu, 11 Apr 2024 01:41:07 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 90706e77-2a38-4e31-b92c-5b4b73e47fee + - 8b9c91d5-ad95-4215-a38e-370e4ea381b9 Original-Request: - - req_VJ7ouI8YK5vhnw + - req_QyAnd0wDo5DYxP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VJ7ouI8YK5vhnw + - req_QyAnd0wDo5DYxP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qT7KuuB1fWySn2chxRhGK", + "id": "pi_3P4CdRKuuB1fWySn0VXWtS0g", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237801, + "created": 1712799665, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qT7KuuB1fWySn2d0iDSUl", + "latest_charge": "ch_3P4CdRKuuB1fWySn0Kl7PHGl", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qT7KuuB1fWySnFeRhG40F", + "payment_method": "pm_1P4CdRKuuB1fWySnHJHOWqFq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:43 GMT + recorded_at: Thu, 11 Apr 2024 01:41:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml index e0e9e1ebf4..39ed3a91cb 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_B4cgfNzScPYSTo","request_duration_ms":957}}' + - '{"last_request_metrics":{"request_id":"req_sXDJmfU4FXa0zi","request_duration_ms":967}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:25 GMT + - Thu, 11 Apr 2024 01:40:49 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - eb579695-6359-4c3e-ad6e-0ef86fc2b94d + - 8b964134-0c93-47b5-bd8c-fd0db74630a7 Original-Request: - - req_2Dctrq8aqVIcPG + - req_k8a6mQJDEY8JYM Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2Dctrq8aqVIcPG + - req_k8a6mQJDEY8JYM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSqKuuB1fWySnC7UEUJ8l", + "id": "pm_1P4CdAKuuB1fWySn7C5uXUPt", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237784, + "created": 1712799648, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:25 GMT + recorded_at: Thu, 11 Apr 2024 01:40:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSqKuuB1fWySnC7UEUJ8l&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdAKuuB1fWySn7C5uXUPt&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2Dctrq8aqVIcPG","request_duration_ms":428}}' + - '{"last_request_metrics":{"request_id":"req_k8a6mQJDEY8JYM","request_duration_ms":563}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:25 GMT + - Thu, 11 Apr 2024 01:40:49 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1cec0476-1d39-4134-af7c-9caa19e7a8cc + - edeafb1e-9b9f-40dd-b1e2-ee33a4dd130a Original-Request: - - req_G8zDdlAej4WWfd + - req_fNZljMk8OQ2ddW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_G8zDdlAej4WWfd + - req_fNZljMk8OQ2ddW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSrKuuB1fWySn1xJyBgYZ", + "id": "pi_3P4CdBKuuB1fWySn249H5Gks", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237785, + "created": 1712799649, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSqKuuB1fWySnC7UEUJ8l", + "payment_method": "pm_1P4CdAKuuB1fWySn7C5uXUPt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:25 GMT + recorded_at: Thu, 11 Apr 2024 01:40:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSrKuuB1fWySn1xJyBgYZ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdBKuuB1fWySn249H5Gks/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_G8zDdlAej4WWfd","request_duration_ms":462}}' + - '{"last_request_metrics":{"request_id":"req_fNZljMk8OQ2ddW","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:26 GMT + - Thu, 11 Apr 2024 01:40:50 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 334b0ede-ba4d-4c46-ae02-99316ddc9dc7 + - 4737a4a2-77e3-42a0-ba84-48137c7fb44f Original-Request: - - req_BCSieclGB2OYqR + - req_RbIqTuGrwMuLxu Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BCSieclGB2OYqR + - req_RbIqTuGrwMuLxu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSrKuuB1fWySn1xJyBgYZ", + "id": "pi_3P4CdBKuuB1fWySn249H5Gks", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237785, + "created": 1712799649, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSrKuuB1fWySn1bUjqxYW", + "latest_charge": "ch_3P4CdBKuuB1fWySn2pd9mdJy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSqKuuB1fWySnC7UEUJ8l", + "payment_method": "pm_1P4CdAKuuB1fWySn7C5uXUPt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:26 GMT + recorded_at: Thu, 11 Apr 2024 01:40:50 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSrKuuB1fWySn1xJyBgYZ + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdBKuuB1fWySn249H5Gks body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BCSieclGB2OYqR","request_duration_ms":1034}}' + - '{"last_request_metrics":{"request_id":"req_RbIqTuGrwMuLxu","request_duration_ms":1228}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:26 GMT + - Thu, 11 Apr 2024 01:40:51 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_YU2NjtfafXtd3c + - req_gU5x0HVyyAGq7A Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSrKuuB1fWySn1xJyBgYZ", + "id": "pi_3P4CdBKuuB1fWySn249H5Gks", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237785, + "created": 1712799649, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSrKuuB1fWySn1bUjqxYW", + "latest_charge": "ch_3P4CdBKuuB1fWySn2pd9mdJy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSqKuuB1fWySnC7UEUJ8l", + "payment_method": "pm_1P4CdAKuuB1fWySn7C5uXUPt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:26 GMT + recorded_at: Thu, 11 Apr 2024 01:40:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSrKuuB1fWySn1xJyBgYZ/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdBKuuB1fWySn249H5Gks/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YU2NjtfafXtd3c","request_duration_ms":300}}' + - '{"last_request_metrics":{"request_id":"req_gU5x0HVyyAGq7A","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:27 GMT + - Thu, 11 Apr 2024 01:40:52 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9fd2201c-be96-4fad-a56a-1a8feebe0a4d + - 41f28b43-cb09-48b6-bf3e-f6636cf5f3a3 Original-Request: - - req_f3nGgvv29wco1r + - req_O5sqx5qIeGVYTz Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_f3nGgvv29wco1r + - req_O5sqx5qIeGVYTz Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSrKuuB1fWySn1xJyBgYZ", + "id": "pi_3P4CdBKuuB1fWySn249H5Gks", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237785, + "created": 1712799649, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSrKuuB1fWySn1bUjqxYW", + "latest_charge": "ch_3P4CdBKuuB1fWySn2pd9mdJy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSqKuuB1fWySnC7UEUJ8l", + "payment_method": "pm_1P4CdAKuuB1fWySn7C5uXUPt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:27 GMT + recorded_at: Thu, 11 Apr 2024 01:40:52 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSrKuuB1fWySn1xJyBgYZ + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdBKuuB1fWySn249H5Gks body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_f3nGgvv29wco1r","request_duration_ms":972}}' + - '{"last_request_metrics":{"request_id":"req_O5sqx5qIeGVYTz","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:28 GMT + - Thu, 11 Apr 2024 01:40:52 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ttxs2OQtecvonB + - req_tyIYaeWKnZNuql Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSrKuuB1fWySn1xJyBgYZ", + "id": "pi_3P4CdBKuuB1fWySn249H5Gks", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237785, + "created": 1712799649, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSrKuuB1fWySn1bUjqxYW", + "latest_charge": "ch_3P4CdBKuuB1fWySn2pd9mdJy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSqKuuB1fWySnC7UEUJ8l", + "payment_method": "pm_1P4CdAKuuB1fWySn7C5uXUPt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:28 GMT + recorded_at: Thu, 11 Apr 2024 01:40:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml index 201ff959ee..4937fd8e9e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Lu774gZN83JviS","request_duration_ms":1}}' + - '{"last_request_metrics":{"request_id":"req_naE4Sjq3oo6NB2","request_duration_ms":0}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:22 GMT + - Thu, 11 Apr 2024 01:40:46 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1302edb2-7a7a-45e4-b13c-25d402070741 + - dff29161-3cbe-41cf-9004-d6dc014e05b7 Original-Request: - - req_jRTWrfkuArWCzn + - req_p9S0BUOsPyLIty Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jRTWrfkuArWCzn + - req_p9S0BUOsPyLIty Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSoKuuB1fWySnn7K6ZiWE", + "id": "pm_1P4Cd8KuuB1fWySnoIy2Kels", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237782, + "created": 1712799646, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:22 GMT + recorded_at: Thu, 11 Apr 2024 01:40:46 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSoKuuB1fWySnn7K6ZiWE&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Cd8KuuB1fWySnoIy2Kels&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jRTWrfkuArWCzn","request_duration_ms":606}}' + - '{"last_request_metrics":{"request_id":"req_p9S0BUOsPyLIty","request_duration_ms":652}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:23 GMT + - Thu, 11 Apr 2024 01:40:47 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 484aa6ab-8585-4861-94a2-25e295903ab1 + - b09982a1-5bdc-4247-aba1-8a00f54162ae Original-Request: - - req_aoIhmVvKmG1GS9 + - req_aoc6AuqUcX8CpQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aoIhmVvKmG1GS9 + - req_aoc6AuqUcX8CpQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSpKuuB1fWySn0uhLoG1g", + "id": "pi_3P4Cd9KuuB1fWySn0DJQdZyF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237783, + "created": 1712799647, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSoKuuB1fWySnn7K6ZiWE", + "payment_method": "pm_1P4Cd8KuuB1fWySnoIy2Kels", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:23 GMT + recorded_at: Thu, 11 Apr 2024 01:40:47 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSpKuuB1fWySn0uhLoG1g/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cd9KuuB1fWySn0DJQdZyF/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aoIhmVvKmG1GS9","request_duration_ms":392}}' + - '{"last_request_metrics":{"request_id":"req_aoc6AuqUcX8CpQ","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:24 GMT + - Thu, 11 Apr 2024 01:40:48 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 040cc151-8cd8-4fa3-8acc-e5dea886c331 + - e93e63f3-69a4-46ab-8098-d26f67fff159 Original-Request: - - req_B4cgfNzScPYSTo + - req_sXDJmfU4FXa0zi Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_B4cgfNzScPYSTo + - req_sXDJmfU4FXa0zi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSpKuuB1fWySn0uhLoG1g", + "id": "pi_3P4Cd9KuuB1fWySn0DJQdZyF", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237783, + "created": 1712799647, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSpKuuB1fWySn0OueFf3n", + "latest_charge": "ch_3P4Cd9KuuB1fWySn0LmTfdvO", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSoKuuB1fWySnn7K6ZiWE", + "payment_method": "pm_1P4Cd8KuuB1fWySnoIy2Kels", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:24 GMT + recorded_at: Thu, 11 Apr 2024 01:40:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml index 18a74fd84a..8ac03e9aac 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_e2jncoEFuWrEjP","request_duration_ms":904}}' + - '{"last_request_metrics":{"request_id":"req_2DMFe6UJUOT4cO","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:31 GMT + - Thu, 11 Apr 2024 01:40:55 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 66911994-9813-4944-abf2-f3a09d635b08 + - ea7fe854-7e4a-4ee5-af5d-6c555715b32a Original-Request: - - req_0krb1YVBeCncvG + - req_j1IvBlDeygUWvZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0krb1YVBeCncvG + - req_j1IvBlDeygUWvZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSxKuuB1fWySn0ukDNJsq", + "id": "pm_1P4CdHKuuB1fWySn1V72DblC", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237791, + "created": 1712799655, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:31 GMT + recorded_at: Thu, 11 Apr 2024 01:40:55 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSxKuuB1fWySn0ukDNJsq&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdHKuuB1fWySn1V72DblC&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0krb1YVBeCncvG","request_duration_ms":441}}' + - '{"last_request_metrics":{"request_id":"req_j1IvBlDeygUWvZ","request_duration_ms":453}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:32 GMT + - Thu, 11 Apr 2024 01:40:55 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c54b5d14-8308-407b-abb2-89d027497209 + - 739eac45-0edf-4679-85af-3ad90d3e3c7a Original-Request: - - req_3Lt0bhVP4eYfbD + - req_Zpq4Ohcrwiw170 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3Lt0bhVP4eYfbD + - req_Zpq4Ohcrwiw170 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSxKuuB1fWySn2URLYogY", + "id": "pi_3P4CdHKuuB1fWySn1h0joHoM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237791, + "created": 1712799655, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSxKuuB1fWySn0ukDNJsq", + "payment_method": "pm_1P4CdHKuuB1fWySn1V72DblC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:32 GMT + recorded_at: Thu, 11 Apr 2024 01:40:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSxKuuB1fWySn2URLYogY/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdHKuuB1fWySn1h0joHoM/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3Lt0bhVP4eYfbD","request_duration_ms":456}}' + - '{"last_request_metrics":{"request_id":"req_Zpq4Ohcrwiw170","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:32 GMT + - Thu, 11 Apr 2024 01:40:57 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 17a3b506-49c7-49a6-8085-c48990bc674d + - 26613e05-19e5-4ad0-bf2c-3306b87a16c5 Original-Request: - - req_IOivu2THRrCX1t + - req_WSwqrDDCdXFb7H Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IOivu2THRrCX1t + - req_WSwqrDDCdXFb7H Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSxKuuB1fWySn2URLYogY", + "id": "pi_3P4CdHKuuB1fWySn1h0joHoM", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237791, + "created": 1712799655, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSxKuuB1fWySn2mbW9yAn", + "latest_charge": "ch_3P4CdHKuuB1fWySn1AcKZp1p", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSxKuuB1fWySn0ukDNJsq", + "payment_method": "pm_1P4CdHKuuB1fWySn1V72DblC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:33 GMT + recorded_at: Thu, 11 Apr 2024 01:40:57 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSxKuuB1fWySn2URLYogY + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdHKuuB1fWySn1h0joHoM body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IOivu2THRrCX1t","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_WSwqrDDCdXFb7H","request_duration_ms":1023}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:33 GMT + - Thu, 11 Apr 2024 01:40:57 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2swEShDYvS9SsU + - req_Cm2zJfcOKeY8fk Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSxKuuB1fWySn2URLYogY", + "id": "pi_3P4CdHKuuB1fWySn1h0joHoM", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237791, + "created": 1712799655, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSxKuuB1fWySn2mbW9yAn", + "latest_charge": "ch_3P4CdHKuuB1fWySn1AcKZp1p", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSxKuuB1fWySn0ukDNJsq", + "payment_method": "pm_1P4CdHKuuB1fWySn1V72DblC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:33 GMT + recorded_at: Thu, 11 Apr 2024 01:40:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSxKuuB1fWySn2URLYogY/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdHKuuB1fWySn1h0joHoM/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2swEShDYvS9SsU","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_Cm2zJfcOKeY8fk","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:34 GMT + - Thu, 11 Apr 2024 01:40:58 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e060ff6f-0937-4d32-8fa1-0bd482292b55 + - 953138a3-bdae-43ee-b921-bd79bb03cfbd Original-Request: - - req_g97OgjGLFLa5HU + - req_5wfVBtIqVEtWml Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_g97OgjGLFLa5HU + - req_5wfVBtIqVEtWml Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSxKuuB1fWySn2URLYogY", + "id": "pi_3P4CdHKuuB1fWySn1h0joHoM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237791, + "created": 1712799655, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSxKuuB1fWySn2mbW9yAn", + "latest_charge": "ch_3P4CdHKuuB1fWySn1AcKZp1p", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSxKuuB1fWySn0ukDNJsq", + "payment_method": "pm_1P4CdHKuuB1fWySn1V72DblC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:34 GMT + recorded_at: Thu, 11 Apr 2024 01:40:58 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSxKuuB1fWySn2URLYogY + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdHKuuB1fWySn1h0joHoM body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_g97OgjGLFLa5HU","request_duration_ms":910}}' + - '{"last_request_metrics":{"request_id":"req_5wfVBtIqVEtWml","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:34 GMT + - Thu, 11 Apr 2024 01:40:58 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qsqnWDAgxN1Wff + - req_PRj2guhfYhVyfj Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSxKuuB1fWySn2URLYogY", + "id": "pi_3P4CdHKuuB1fWySn1h0joHoM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237791, + "created": 1712799655, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSxKuuB1fWySn2mbW9yAn", + "latest_charge": "ch_3P4CdHKuuB1fWySn1AcKZp1p", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSxKuuB1fWySn0ukDNJsq", + "payment_method": "pm_1P4CdHKuuB1fWySn1V72DblC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:34 GMT + recorded_at: Thu, 11 Apr 2024 01:40:58 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml index f65ecb5c5a..7e7fb81e22 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ttxs2OQtecvonB","request_duration_ms":1}}' + - '{"last_request_metrics":{"request_id":"req_tyIYaeWKnZNuql","request_duration_ms":0}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:29 GMT + - Thu, 11 Apr 2024 01:40:53 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ec3622bb-51b1-4ba9-b8ef-5a3112d9fa7d + - 697c29ac-c640-49b4-85c2-63ca978c5415 Original-Request: - - req_UhLmG2tGlToqE5 + - req_I7E59VwrkMIUN4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UhLmG2tGlToqE5 + - req_I7E59VwrkMIUN4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSvKuuB1fWySnehp9kVHW", + "id": "pm_1P4CdFKuuB1fWySnex1WO3uH", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237789, + "created": 1712799653, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:29 GMT + recorded_at: Thu, 11 Apr 2024 01:40:53 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSvKuuB1fWySnehp9kVHW&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdFKuuB1fWySnex1WO3uH&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UhLmG2tGlToqE5","request_duration_ms":617}}' + - '{"last_request_metrics":{"request_id":"req_I7E59VwrkMIUN4","request_duration_ms":603}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:29 GMT + - Thu, 11 Apr 2024 01:40:53 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 74a40109-9669-4de9-be52-458de2316a80 + - a10a9413-6569-4d4e-9549-0009959eb8ff Original-Request: - - req_Q1mhIcAjYczE3b + - req_FFBSe5mXGsnoBN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Q1mhIcAjYczE3b + - req_FFBSe5mXGsnoBN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSvKuuB1fWySn1REbcx3L", + "id": "pi_3P4CdFKuuB1fWySn2tqgS3Pz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237789, + "created": 1712799653, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSvKuuB1fWySnehp9kVHW", + "payment_method": "pm_1P4CdFKuuB1fWySnex1WO3uH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:30 GMT + recorded_at: Thu, 11 Apr 2024 01:40:53 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSvKuuB1fWySn1REbcx3L/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdFKuuB1fWySn2tqgS3Pz/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Q1mhIcAjYczE3b","request_duration_ms":539}}' + - '{"last_request_metrics":{"request_id":"req_FFBSe5mXGsnoBN","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:30 GMT + - Thu, 11 Apr 2024 01:40:54 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8ea38dbf-bd82-4cac-8a7f-01a4c708ac48 + - a2364ee7-247a-42f5-a1b2-a367a6e09d10 Original-Request: - - req_e2jncoEFuWrEjP + - req_2DMFe6UJUOT4cO Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_e2jncoEFuWrEjP + - req_2DMFe6UJUOT4cO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSvKuuB1fWySn1REbcx3L", + "id": "pi_3P4CdFKuuB1fWySn2tqgS3Pz", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237789, + "created": 1712799653, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSvKuuB1fWySn1weKA5Bq", + "latest_charge": "ch_3P4CdFKuuB1fWySn2ot2vRAo", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSvKuuB1fWySnehp9kVHW", + "payment_method": "pm_1P4CdFKuuB1fWySnex1WO3uH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:30 GMT + recorded_at: Thu, 11 Apr 2024 01:40:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml index 3348e40b77..4650ceeba9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IP1cjyvbqKlbgB","request_duration_ms":882}}' + - '{"last_request_metrics":{"request_id":"req_FC2nZnujyWC4yd","request_duration_ms":918}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:56 GMT + - Thu, 11 Apr 2024 01:41:20 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cb0d263c-2374-4c0d-858e-fc293a741c41 + - fac840d2-6aed-4d1e-87de-3c6895e88652 Original-Request: - - req_uqpmnqqMO5WLCW + - req_ntle5eO8fH2hxk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_uqpmnqqMO5WLCW + - req_ntle5eO8fH2hxk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTLKuuB1fWySnbVRfAuFD", + "id": "pm_1P4CdgKuuB1fWySnptmGKHsY", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237816, + "created": 1712799680, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:56 GMT + recorded_at: Thu, 11 Apr 2024 01:41:20 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTLKuuB1fWySnbVRfAuFD&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdgKuuB1fWySnptmGKHsY&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uqpmnqqMO5WLCW","request_duration_ms":571}}' + - '{"last_request_metrics":{"request_id":"req_ntle5eO8fH2hxk","request_duration_ms":467}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:56 GMT + - Thu, 11 Apr 2024 01:41:20 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4183ea2a-4971-47dc-ac26-027dc512e9ff + - 9a3a5c21-0b40-456c-a6ee-bc2e6144c65c Original-Request: - - req_E9YULQDOtecXRH + - req_eDwZL0tP4YZeri Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_E9YULQDOtecXRH + - req_eDwZL0tP4YZeri Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTMKuuB1fWySn1C1fwOgA", + "id": "pi_3P4CdgKuuB1fWySn2YYuyJKU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237816, + "created": 1712799680, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTLKuuB1fWySnbVRfAuFD", + "payment_method": "pm_1P4CdgKuuB1fWySnptmGKHsY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:56 GMT + recorded_at: Thu, 11 Apr 2024 01:41:20 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTMKuuB1fWySn1C1fwOgA/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdgKuuB1fWySn2YYuyJKU/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_E9YULQDOtecXRH","request_duration_ms":400}}' + - '{"last_request_metrics":{"request_id":"req_eDwZL0tP4YZeri","request_duration_ms":445}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:57 GMT + - Thu, 11 Apr 2024 01:41:21 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 62ea96f7-bbe0-423d-92c0-761611e6eb41 + - 90305c99-0abf-46e6-beb8-ea056447f0f1 Original-Request: - - req_imJTmxiONrwOU5 + - req_UM1OYcMIDVBYRO Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_imJTmxiONrwOU5 + - req_UM1OYcMIDVBYRO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTMKuuB1fWySn1C1fwOgA", + "id": "pi_3P4CdgKuuB1fWySn2YYuyJKU", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237816, + "created": 1712799680, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTMKuuB1fWySn1d6Eh2Xl", + "latest_charge": "ch_3P4CdgKuuB1fWySn2ctrVeEm", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTLKuuB1fWySnbVRfAuFD", + "payment_method": "pm_1P4CdgKuuB1fWySnptmGKHsY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:57 GMT + recorded_at: Thu, 11 Apr 2024 01:41:21 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTMKuuB1fWySn1C1fwOgA + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdgKuuB1fWySn2YYuyJKU body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_imJTmxiONrwOU5","request_duration_ms":1029}}' + - '{"last_request_metrics":{"request_id":"req_UM1OYcMIDVBYRO","request_duration_ms":1073}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:57 GMT + - Thu, 11 Apr 2024 01:41:22 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3Ps666ila8yKKL + - req_qeym2bARTf7nWL Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTMKuuB1fWySn1C1fwOgA", + "id": "pi_3P4CdgKuuB1fWySn2YYuyJKU", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237816, + "created": 1712799680, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTMKuuB1fWySn1d6Eh2Xl", + "latest_charge": "ch_3P4CdgKuuB1fWySn2ctrVeEm", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTLKuuB1fWySnbVRfAuFD", + "payment_method": "pm_1P4CdgKuuB1fWySnptmGKHsY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:58 GMT + recorded_at: Thu, 11 Apr 2024 01:41:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTMKuuB1fWySn1C1fwOgA/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdgKuuB1fWySn2YYuyJKU/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3Ps666ila8yKKL","request_duration_ms":304}}' + - '{"last_request_metrics":{"request_id":"req_qeym2bARTf7nWL","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:58 GMT + - Thu, 11 Apr 2024 01:41:23 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d8c01696-34de-441d-b89d-3943eedc85ba + - 6dcf9dd3-4915-40a7-b344-23c9bbda18f0 Original-Request: - - req_sYnYy8NhtL7w3z + - req_FBBrf4RP7IAEih Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sYnYy8NhtL7w3z + - req_FBBrf4RP7IAEih Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTMKuuB1fWySn1C1fwOgA", + "id": "pi_3P4CdgKuuB1fWySn2YYuyJKU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237816, + "created": 1712799680, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTMKuuB1fWySn1d6Eh2Xl", + "latest_charge": "ch_3P4CdgKuuB1fWySn2ctrVeEm", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTLKuuB1fWySnbVRfAuFD", + "payment_method": "pm_1P4CdgKuuB1fWySnptmGKHsY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:59 GMT + recorded_at: Thu, 11 Apr 2024 01:41:23 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTMKuuB1fWySn1C1fwOgA + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdgKuuB1fWySn2YYuyJKU body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sYnYy8NhtL7w3z","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_FBBrf4RP7IAEih","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:59 GMT + - Thu, 11 Apr 2024 01:41:23 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8XCQIRHl77D9wK + - req_XrlQZJP5Pg94Db Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTMKuuB1fWySn1C1fwOgA", + "id": "pi_3P4CdgKuuB1fWySn2YYuyJKU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237816, + "created": 1712799680, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTMKuuB1fWySn1d6Eh2Xl", + "latest_charge": "ch_3P4CdgKuuB1fWySn2ctrVeEm", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTLKuuB1fWySnbVRfAuFD", + "payment_method": "pm_1P4CdgKuuB1fWySnptmGKHsY", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:59 GMT + recorded_at: Thu, 11 Apr 2024 01:41:23 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml index bdda0ec69c..0b737919e1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iHDzqAogvyOtTH","request_duration_ms":348}}' + - '{"last_request_metrics":{"request_id":"req_4Q8pNCcYRdgsMm","request_duration_ms":474}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:54 GMT + - Thu, 11 Apr 2024 01:41:18 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a3869fdb-e2f1-438b-9446-0d6d9a298d7c + - 4ec1d418-e15d-4488-bfb4-50ecff2c1e08 Original-Request: - - req_Ig4LORxryJyAsV + - req_MzFfmYxdZQn5Sw Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ig4LORxryJyAsV + - req_MzFfmYxdZQn5Sw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTJKuuB1fWySnuKcWZ4xU", + "id": "pm_1P4CdeKuuB1fWySneCu2LMeb", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237813, + "created": 1712799678, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:54 GMT + recorded_at: Thu, 11 Apr 2024 01:41:18 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTJKuuB1fWySnuKcWZ4xU&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdeKuuB1fWySneCu2LMeb&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ig4LORxryJyAsV","request_duration_ms":462}}' + - '{"last_request_metrics":{"request_id":"req_MzFfmYxdZQn5Sw","request_duration_ms":500}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:54 GMT + - Thu, 11 Apr 2024 01:41:18 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 55474e80-2bef-41cf-a7a7-3668213dc7b9 + - 46f6a046-c9ec-4c8c-a4e6-ecf36baa84f3 Original-Request: - - req_6Gx8nd2arJSQng + - req_zib6izQHfhjPH0 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6Gx8nd2arJSQng + - req_zib6izQHfhjPH0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTKKuuB1fWySn24076cbP", + "id": "pi_3P4CdeKuuB1fWySn22Lai7Jb", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237814, + "created": 1712799678, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTJKuuB1fWySnuKcWZ4xU", + "payment_method": "pm_1P4CdeKuuB1fWySneCu2LMeb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:54 GMT + recorded_at: Thu, 11 Apr 2024 01:41:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTKKuuB1fWySn24076cbP/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdeKuuB1fWySn22Lai7Jb/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6Gx8nd2arJSQng","request_duration_ms":432}}' + - '{"last_request_metrics":{"request_id":"req_zib6izQHfhjPH0","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:55 GMT + - Thu, 11 Apr 2024 01:41:19 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4b241aee-bf55-4efd-a429-47f85498e7fa + - 6eaf6fd1-8891-4b31-a696-c5a413fe467e Original-Request: - - req_IP1cjyvbqKlbgB + - req_FC2nZnujyWC4yd Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IP1cjyvbqKlbgB + - req_FC2nZnujyWC4yd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTKKuuB1fWySn24076cbP", + "id": "pi_3P4CdeKuuB1fWySn22Lai7Jb", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237814, + "created": 1712799678, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTKKuuB1fWySn2zyqRUuf", + "latest_charge": "ch_3P4CdeKuuB1fWySn2ftQ0Svc", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTJKuuB1fWySnuKcWZ4xU", + "payment_method": "pm_1P4CdeKuuB1fWySneCu2LMeb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:55 GMT + recorded_at: Thu, 11 Apr 2024 01:41:19 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml index 938ba688d8..6200bb8cb2 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2KzwyFhAlWwsHu","request_duration_ms":925}}' + - '{"last_request_metrics":{"request_id":"req_51m2V28iqwWrSE","request_duration_ms":1102}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:54 GMT + - Thu, 11 Apr 2024 01:40:13 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 44432a35-aa4a-4796-8dce-62b035d09b54 + - 8a4a7480-2ca0-4360-9323-7efffae497a7 Original-Request: - - req_mNAnlDmWvBCLfz + - req_0PKwIAXcARWm9s Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mNAnlDmWvBCLfz + - req_0PKwIAXcARWm9s Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSLKuuB1fWySn0yuPS4Ut", + "id": "pm_1P4CcbKuuB1fWySnw3Io8sWa", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237754, + "created": 1712799613, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:54 GMT + recorded_at: Thu, 11 Apr 2024 01:40:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSLKuuB1fWySn0yuPS4Ut&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CcbKuuB1fWySnw3Io8sWa&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mNAnlDmWvBCLfz","request_duration_ms":491}}' + - '{"last_request_metrics":{"request_id":"req_0PKwIAXcARWm9s","request_duration_ms":654}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:54 GMT + - Thu, 11 Apr 2024 01:40:14 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f9b0a11f-2959-4acd-802c-dfbd60b4dcb5 + - 8674135f-3d47-40b8-ad8e-7740bd19c0c1 Original-Request: - - req_VmmKTP05OMmPeE + - req_bv567NG1Suur9M Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VmmKTP05OMmPeE + - req_bv567NG1Suur9M Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSMKuuB1fWySn27xzzeUm", + "id": "pi_3P4CccKuuB1fWySn0cPiyKAS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237754, + "created": 1712799614, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSLKuuB1fWySn0yuPS4Ut", + "payment_method": "pm_1P4CcbKuuB1fWySnw3Io8sWa", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:54 GMT + recorded_at: Thu, 11 Apr 2024 01:40:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSMKuuB1fWySn27xzzeUm/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CccKuuB1fWySn0cPiyKAS/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VmmKTP05OMmPeE","request_duration_ms":443}}' + - '{"last_request_metrics":{"request_id":"req_bv567NG1Suur9M","request_duration_ms":610}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:55 GMT + - Thu, 11 Apr 2024 01:40:15 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 526283f2-5c7c-4fb2-a15b-307978bc8143 + - e2c3d6a9-6b19-433e-b6c1-673ae582ced5 Original-Request: - - req_6mEOEH1V84tVA8 + - req_bmR4QpxCr7Ur9s Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6mEOEH1V84tVA8 + - req_bmR4QpxCr7Ur9s Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSMKuuB1fWySn27xzzeUm", + "id": "pi_3P4CccKuuB1fWySn0cPiyKAS", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237754, + "created": 1712799614, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSMKuuB1fWySn2dOMK9wS", + "latest_charge": "ch_3P4CccKuuB1fWySn0IBNVvPQ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSLKuuB1fWySn0yuPS4Ut", + "payment_method": "pm_1P4CcbKuuB1fWySnw3Io8sWa", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:55 GMT + recorded_at: Thu, 11 Apr 2024 01:40:15 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSMKuuB1fWySn27xzzeUm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CccKuuB1fWySn0cPiyKAS body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6mEOEH1V84tVA8","request_duration_ms":919}}' + - '{"last_request_metrics":{"request_id":"req_bmR4QpxCr7Ur9s","request_duration_ms":1073}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:55 GMT + - Thu, 11 Apr 2024 01:40:16 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_N78KNpkQrzreHB + - req_5QWURJAJ8kElHp Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSMKuuB1fWySn27xzzeUm", + "id": "pi_3P4CccKuuB1fWySn0cPiyKAS", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237754, + "created": 1712799614, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSMKuuB1fWySn2dOMK9wS", + "latest_charge": "ch_3P4CccKuuB1fWySn0IBNVvPQ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSLKuuB1fWySn0yuPS4Ut", + "payment_method": "pm_1P4CcbKuuB1fWySnw3Io8sWa", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:55 GMT + recorded_at: Thu, 11 Apr 2024 01:40:16 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSMKuuB1fWySn27xzzeUm/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CccKuuB1fWySn0cPiyKAS/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_N78KNpkQrzreHB","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_5QWURJAJ8kElHp","request_duration_ms":563}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:56 GMT + - Thu, 11 Apr 2024 01:40:17 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c942faa9-e813-469b-8d0e-ac3d410545eb + - cfb2bd9c-cfbb-4d85-9fed-284f6f454680 Original-Request: - - req_8R27CxQ97n5l1h + - req_vTKNwmW2L8kC3D Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8R27CxQ97n5l1h + - req_vTKNwmW2L8kC3D Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSMKuuB1fWySn27xzzeUm", + "id": "pi_3P4CccKuuB1fWySn0cPiyKAS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237754, + "created": 1712799614, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSMKuuB1fWySn2dOMK9wS", + "latest_charge": "ch_3P4CccKuuB1fWySn0IBNVvPQ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSLKuuB1fWySn0yuPS4Ut", + "payment_method": "pm_1P4CcbKuuB1fWySnw3Io8sWa", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:56 GMT + recorded_at: Thu, 11 Apr 2024 01:40:17 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSMKuuB1fWySn27xzzeUm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CccKuuB1fWySn0cPiyKAS body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8R27CxQ97n5l1h","request_duration_ms":991}}' + - '{"last_request_metrics":{"request_id":"req_vTKNwmW2L8kC3D","request_duration_ms":1126}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:57 GMT + - Thu, 11 Apr 2024 01:40:17 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mWgzP678FZw8fN + - req_hMujftniWZ1raC Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSMKuuB1fWySn27xzzeUm", + "id": "pi_3P4CccKuuB1fWySn0cPiyKAS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237754, + "created": 1712799614, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSMKuuB1fWySn2dOMK9wS", + "latest_charge": "ch_3P4CccKuuB1fWySn0IBNVvPQ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSLKuuB1fWySn0yuPS4Ut", + "payment_method": "pm_1P4CcbKuuB1fWySnw3Io8sWa", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:57 GMT + recorded_at: Thu, 11 Apr 2024 01:40:17 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml index 8b84f8c141..6b29e50ca9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ERo2W5xTSGP6gl","request_duration_ms":305}}' + - '{"last_request_metrics":{"request_id":"req_zgJCJAnxlgF0ia","request_duration_ms":453}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:51 GMT + - Thu, 11 Apr 2024 01:40:11 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 31509955-8006-4c37-8f10-76e4f7cd2495 + - a20f417d-aa63-4525-938e-7a3eb8523512 Original-Request: - - req_gLC9xou3f9ZQ0j + - req_3hN2pTv3G7JE72 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gLC9xou3f9ZQ0j + - req_3hN2pTv3G7JE72 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSJKuuB1fWySn2iMXrcCs", + "id": "pm_1P4CcYKuuB1fWySn4rq8k17T", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237751, + "created": 1712799611, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:51 GMT + recorded_at: Thu, 11 Apr 2024 01:40:11 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSJKuuB1fWySn2iMXrcCs&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CcYKuuB1fWySn4rq8k17T&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gLC9xou3f9ZQ0j","request_duration_ms":578}}' + - '{"last_request_metrics":{"request_id":"req_3hN2pTv3G7JE72","request_duration_ms":605}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:52 GMT + - Thu, 11 Apr 2024 01:40:11 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 215112b7-525b-49d6-96a6-dfb2c6e9ed38 + - cd966ffb-f917-492a-9cf0-b1e32cb1026f Original-Request: - - req_8l80PJATUVF0Jl + - req_vSooJwz9cF2nwG Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8l80PJATUVF0Jl + - req_vSooJwz9cF2nwG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSKKuuB1fWySn25vZ6ztI", + "id": "pi_3P4CcZKuuB1fWySn03Iac4hw", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237752, + "created": 1712799611, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSJKuuB1fWySn2iMXrcCs", + "payment_method": "pm_1P4CcYKuuB1fWySn4rq8k17T", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:52 GMT + recorded_at: Thu, 11 Apr 2024 01:40:11 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSKKuuB1fWySn25vZ6ztI/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcZKuuB1fWySn03Iac4hw/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8l80PJATUVF0Jl","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_vSooJwz9cF2nwG","request_duration_ms":804}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:53 GMT + - Thu, 11 Apr 2024 01:40:13 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 177c6bf0-6ae6-454a-bcb4-607dc55feb65 + - aad9a6b4-3fe4-4755-a572-02dc5104b50f Original-Request: - - req_2KzwyFhAlWwsHu + - req_51m2V28iqwWrSE Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2KzwyFhAlWwsHu + - req_51m2V28iqwWrSE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSKKuuB1fWySn25vZ6ztI", + "id": "pi_3P4CcZKuuB1fWySn03Iac4hw", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237752, + "created": 1712799611, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSKKuuB1fWySn2jHL2KHt", + "latest_charge": "ch_3P4CcZKuuB1fWySn0SZcCH44", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSJKuuB1fWySn2iMXrcCs", + "payment_method": "pm_1P4CcYKuuB1fWySn4rq8k17T", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:53 GMT + recorded_at: Thu, 11 Apr 2024 01:40:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml index 5f2547431b..40466640b5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7x1kFSwg5Bdo2h","request_duration_ms":908}}' + - '{"last_request_metrics":{"request_id":"req_nZ8LjWXFBN49Ww","request_duration_ms":1078}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:00 GMT + - Thu, 11 Apr 2024 01:40:20 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 812733fd-56fd-4cf4-85c7-40e6ba3149c1 + - 12417ccc-632c-4ac2-b381-a2bc68da40cf Original-Request: - - req_rM0q5MLUPNNrBq + - req_ZnTZPuY6svoWPe Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rM0q5MLUPNNrBq + - req_ZnTZPuY6svoWPe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSRKuuB1fWySn4Xsl0xax", + "id": "pm_1P4CciKuuB1fWySnbRMHjZco", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237760, + "created": 1712799620, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:00 GMT + recorded_at: Thu, 11 Apr 2024 01:40:20 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSRKuuB1fWySn4Xsl0xax&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CciKuuB1fWySnbRMHjZco&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rM0q5MLUPNNrBq","request_duration_ms":423}}' + - '{"last_request_metrics":{"request_id":"req_ZnTZPuY6svoWPe","request_duration_ms":598}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:00 GMT + - Thu, 11 Apr 2024 01:40:21 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8826e205-04a5-45f0-b991-ff71112d392c + - 86324a54-3f7e-4859-8fce-9296e18a3a1f Original-Request: - - req_5FTFDSXelMOu21 + - req_sovNsVN8sQChtI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5FTFDSXelMOu21 + - req_sovNsVN8sQChtI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSSKuuB1fWySn08ejxd7Y", + "id": "pi_3P4CcjKuuB1fWySn19jH2mi0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237760, + "created": 1712799621, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSRKuuB1fWySn4Xsl0xax", + "payment_method": "pm_1P4CciKuuB1fWySnbRMHjZco", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:00 GMT + recorded_at: Thu, 11 Apr 2024 01:40:21 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSSKuuB1fWySn08ejxd7Y/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcjKuuB1fWySn19jH2mi0/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5FTFDSXelMOu21","request_duration_ms":483}}' + - '{"last_request_metrics":{"request_id":"req_sovNsVN8sQChtI","request_duration_ms":580}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:01 GMT + - Thu, 11 Apr 2024 01:40:22 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 83199ac6-2cec-46ac-b037-38e49083770f + - 4411bd84-774a-43cd-8671-bc1555e6636b Original-Request: - - req_gtSGv0yjfhAA9m + - req_VPpoqBWD2lSrF0 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gtSGv0yjfhAA9m + - req_VPpoqBWD2lSrF0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSSKuuB1fWySn08ejxd7Y", + "id": "pi_3P4CcjKuuB1fWySn19jH2mi0", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237760, + "created": 1712799621, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSSKuuB1fWySn0uyqz5QT", + "latest_charge": "ch_3P4CcjKuuB1fWySn1mF4knza", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSRKuuB1fWySn4Xsl0xax", + "payment_method": "pm_1P4CciKuuB1fWySnbRMHjZco", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:01 GMT + recorded_at: Thu, 11 Apr 2024 01:40:22 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSSKuuB1fWySn08ejxd7Y + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcjKuuB1fWySn19jH2mi0 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gtSGv0yjfhAA9m","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_VPpoqBWD2lSrF0","request_duration_ms":1132}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:02 GMT + - Thu, 11 Apr 2024 01:40:23 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ToTTpsdOszVF0Z + - req_ubf2CfCHb2ZmTu Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSSKuuB1fWySn08ejxd7Y", + "id": "pi_3P4CcjKuuB1fWySn19jH2mi0", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237760, + "created": 1712799621, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSSKuuB1fWySn0uyqz5QT", + "latest_charge": "ch_3P4CcjKuuB1fWySn1mF4knza", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSRKuuB1fWySn4Xsl0xax", + "payment_method": "pm_1P4CciKuuB1fWySnbRMHjZco", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:02 GMT + recorded_at: Thu, 11 Apr 2024 01:40:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSSKuuB1fWySn08ejxd7Y/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcjKuuB1fWySn19jH2mi0/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ToTTpsdOszVF0Z","request_duration_ms":303}}' + - '{"last_request_metrics":{"request_id":"req_ubf2CfCHb2ZmTu","request_duration_ms":461}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:03 GMT + - Thu, 11 Apr 2024 01:40:24 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 82c5e857-d837-47f1-8353-de014688c0e4 + - 146b7e00-038e-48df-bbad-cbaac9abd3a4 Original-Request: - - req_YeZBhCeiFLwtTR + - req_PKct63xE9mOViQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_YeZBhCeiFLwtTR + - req_PKct63xE9mOViQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSSKuuB1fWySn08ejxd7Y", + "id": "pi_3P4CcjKuuB1fWySn19jH2mi0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237760, + "created": 1712799621, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSSKuuB1fWySn0uyqz5QT", + "latest_charge": "ch_3P4CcjKuuB1fWySn1mF4knza", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSRKuuB1fWySn4Xsl0xax", + "payment_method": "pm_1P4CciKuuB1fWySnbRMHjZco", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:03 GMT + recorded_at: Thu, 11 Apr 2024 01:40:24 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSSKuuB1fWySn08ejxd7Y + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcjKuuB1fWySn19jH2mi0 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YeZBhCeiFLwtTR","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_PKct63xE9mOViQ","request_duration_ms":1217}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:03 GMT + - Thu, 11 Apr 2024 01:40:24 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mxsTq7H4NjczQj + - req_CeaHXyFQTiqVYg Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSSKuuB1fWySn08ejxd7Y", + "id": "pi_3P4CcjKuuB1fWySn19jH2mi0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237760, + "created": 1712799621, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSSKuuB1fWySn0uyqz5QT", + "latest_charge": "ch_3P4CcjKuuB1fWySn1mF4knza", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSRKuuB1fWySn4Xsl0xax", + "payment_method": "pm_1P4CciKuuB1fWySnbRMHjZco", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:03 GMT + recorded_at: Thu, 11 Apr 2024 01:40:24 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml index 32aac8cd41..4e27b1b03d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mWgzP678FZw8fN","request_duration_ms":435}}' + - '{"last_request_metrics":{"request_id":"req_hMujftniWZ1raC","request_duration_ms":475}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:57 GMT + - Thu, 11 Apr 2024 01:40:18 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b4caa90f-a4a4-43ac-971f-e8bc70dd06e4 + - d10e7f79-9649-4353-837c-8d65e88f9079 Original-Request: - - req_fJFdhWaljzTS5Y + - req_Tw1lpG9Q8xu3Db Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_fJFdhWaljzTS5Y + - req_Tw1lpG9Q8xu3Db Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSPKuuB1fWySnkM0X8MhY", + "id": "pm_1P4CcgKuuB1fWySnVDn8ujgE", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237757, + "created": 1712799618, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:58 GMT + recorded_at: Thu, 11 Apr 2024 01:40:18 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSPKuuB1fWySnkM0X8MhY&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CcgKuuB1fWySnVDn8ujgE&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fJFdhWaljzTS5Y","request_duration_ms":553}}' + - '{"last_request_metrics":{"request_id":"req_Tw1lpG9Q8xu3Db","request_duration_ms":628}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:58 GMT + - Thu, 11 Apr 2024 01:40:19 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d47079cb-523b-43b6-b8cc-349d14e35025 + - 731c733b-02be-4e7b-a4c7-95ce3fd383ad Original-Request: - - req_5O89SUMjAgXFcs + - req_a53M03HLU8gNv8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5O89SUMjAgXFcs + - req_a53M03HLU8gNv8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSQKuuB1fWySn29NA0fkD", + "id": "pi_3P4CcgKuuB1fWySn2f9tEaet", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237758, + "created": 1712799618, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSPKuuB1fWySnkM0X8MhY", + "payment_method": "pm_1P4CcgKuuB1fWySnVDn8ujgE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:58 GMT + recorded_at: Thu, 11 Apr 2024 01:40:19 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSQKuuB1fWySn29NA0fkD/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcgKuuB1fWySn2f9tEaet/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5O89SUMjAgXFcs","request_duration_ms":415}}' + - '{"last_request_metrics":{"request_id":"req_a53M03HLU8gNv8","request_duration_ms":537}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:59 GMT + - Thu, 11 Apr 2024 01:40:20 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 300f3583-544a-42c5-be1b-41875c5a44d2 + - 2d447d00-eaa8-40c7-9209-89f925b7f857 Original-Request: - - req_7x1kFSwg5Bdo2h + - req_nZ8LjWXFBN49Ww Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7x1kFSwg5Bdo2h + - req_nZ8LjWXFBN49Ww Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSQKuuB1fWySn29NA0fkD", + "id": "pi_3P4CcgKuuB1fWySn2f9tEaet", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237758, + "created": 1712799618, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSQKuuB1fWySn2yx3SZCX", + "latest_charge": "ch_3P4CcgKuuB1fWySn2jeoBtRq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSPKuuB1fWySnkM0X8MhY", + "payment_method": "pm_1P4CcgKuuB1fWySnVDn8ujgE", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:59 GMT + recorded_at: Thu, 11 Apr 2024 01:40:20 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml index 77a24bf218..88f3a7e49b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0LqRy3AGNm9M9m","request_duration_ms":1019}}' + - '{"last_request_metrics":{"request_id":"req_hf6N81RK5EhdCh","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:06 GMT + - Thu, 11 Apr 2024 01:40:28 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 291b1a88-8a5d-4afe-b67d-4e0c7afe7cb6 + - 9ee9f577-e832-46cd-816b-9d0b1f5221e1 Original-Request: - - req_E0kVhUeOiaep0j + - req_QrauocMo0BFqoc Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_E0kVhUeOiaep0j + - req_QrauocMo0BFqoc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSYKuuB1fWySnGFKDzSsL", + "id": "pm_1P4CcpKuuB1fWySnpCNGzHDR", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237766, + "created": 1712799627, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:06 GMT + recorded_at: Thu, 11 Apr 2024 01:40:28 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSYKuuB1fWySnGFKDzSsL&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CcpKuuB1fWySnpCNGzHDR&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_E0kVhUeOiaep0j","request_duration_ms":546}}' + - '{"last_request_metrics":{"request_id":"req_QrauocMo0BFqoc","request_duration_ms":687}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:07 GMT + - Thu, 11 Apr 2024 01:40:28 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - edf739d0-647a-4b6f-bb98-9518133d9653 + - a9140adb-8f32-4a2c-b51e-9027363d6e47 Original-Request: - - req_EIeeXvQaeRhQ8o + - req_FVTPjlGpdiVQkN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EIeeXvQaeRhQ8o + - req_FVTPjlGpdiVQkN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSYKuuB1fWySn1NSXznFR", + "id": "pi_3P4CcqKuuB1fWySn2SEAwvgE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237766, + "created": 1712799628, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSYKuuB1fWySnGFKDzSsL", + "payment_method": "pm_1P4CcpKuuB1fWySnpCNGzHDR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:07 GMT + recorded_at: Thu, 11 Apr 2024 01:40:28 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSYKuuB1fWySn1NSXznFR/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcqKuuB1fWySn2SEAwvgE/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EIeeXvQaeRhQ8o","request_duration_ms":431}}' + - '{"last_request_metrics":{"request_id":"req_FVTPjlGpdiVQkN","request_duration_ms":612}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:08 GMT + - Thu, 11 Apr 2024 01:40:29 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d0d047f6-e262-4cb0-b9f4-9cde4c4743e1 + - d255805f-592a-4c7b-b7ff-b8964bd53bac Original-Request: - - req_QRxiMkK6mtXBPD + - req_PD4CuP3qmAhCBZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QRxiMkK6mtXBPD + - req_PD4CuP3qmAhCBZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSYKuuB1fWySn1NSXznFR", + "id": "pi_3P4CcqKuuB1fWySn2SEAwvgE", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237766, + "created": 1712799628, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSYKuuB1fWySn1eL3dawq", + "latest_charge": "ch_3P4CcqKuuB1fWySn2QmrveSq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSYKuuB1fWySnGFKDzSsL", + "payment_method": "pm_1P4CcpKuuB1fWySnpCNGzHDR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:08 GMT + recorded_at: Thu, 11 Apr 2024 01:40:29 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSYKuuB1fWySn1NSXznFR + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcqKuuB1fWySn2SEAwvgE body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QRxiMkK6mtXBPD","request_duration_ms":995}}' + - '{"last_request_metrics":{"request_id":"req_PD4CuP3qmAhCBZ","request_duration_ms":1126}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:08 GMT + - Thu, 11 Apr 2024 01:40:30 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bHYQipmPMt41mm + - req_BBUDktmphPLVi9 Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSYKuuB1fWySn1NSXznFR", + "id": "pi_3P4CcqKuuB1fWySn2SEAwvgE", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237766, + "created": 1712799628, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSYKuuB1fWySn1eL3dawq", + "latest_charge": "ch_3P4CcqKuuB1fWySn2QmrveSq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSYKuuB1fWySnGFKDzSsL", + "payment_method": "pm_1P4CcpKuuB1fWySnpCNGzHDR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:08 GMT + recorded_at: Thu, 11 Apr 2024 01:40:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSYKuuB1fWySn1NSXznFR/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcqKuuB1fWySn2SEAwvgE/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bHYQipmPMt41mm","request_duration_ms":352}}' + - '{"last_request_metrics":{"request_id":"req_BBUDktmphPLVi9","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:09 GMT + - Thu, 11 Apr 2024 01:40:31 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f8749ec6-3f61-4a11-a1cc-a6a15bf338e2 + - b902c95e-58cf-48f9-8c91-af4909987970 Original-Request: - - req_XdLunOwKtGVJK6 + - req_oktSTpP5kbjtmm Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XdLunOwKtGVJK6 + - req_oktSTpP5kbjtmm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSYKuuB1fWySn1NSXznFR", + "id": "pi_3P4CcqKuuB1fWySn2SEAwvgE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237766, + "created": 1712799628, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSYKuuB1fWySn1eL3dawq", + "latest_charge": "ch_3P4CcqKuuB1fWySn2QmrveSq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSYKuuB1fWySnGFKDzSsL", + "payment_method": "pm_1P4CcpKuuB1fWySnpCNGzHDR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:09 GMT + recorded_at: Thu, 11 Apr 2024 01:40:31 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSYKuuB1fWySn1NSXznFR + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcqKuuB1fWySn2SEAwvgE body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XdLunOwKtGVJK6","request_duration_ms":1093}}' + - '{"last_request_metrics":{"request_id":"req_oktSTpP5kbjtmm","request_duration_ms":1227}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:09 GMT + - Thu, 11 Apr 2024 01:40:32 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XZ3sGzRpSVW70U + - req_66CQeHzsUGH62R Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSYKuuB1fWySn1NSXznFR", + "id": "pi_3P4CcqKuuB1fWySn2SEAwvgE", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237766, + "created": 1712799628, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSYKuuB1fWySn1eL3dawq", + "latest_charge": "ch_3P4CcqKuuB1fWySn2QmrveSq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSYKuuB1fWySnGFKDzSsL", + "payment_method": "pm_1P4CcpKuuB1fWySnpCNGzHDR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:09 GMT + recorded_at: Thu, 11 Apr 2024 01:40:32 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml index 395feab8ec..1923f7c941 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mxsTq7H4NjczQj","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_CeaHXyFQTiqVYg","request_duration_ms":437}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:04 GMT + - Thu, 11 Apr 2024 01:40:25 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1a793482-8d26-4bb6-8964-7d36cf7dd973 + - cbb71a3f-0646-454b-8113-ca87c03b8242 Original-Request: - - req_SM6jiq3vS4c6QL + - req_lGOZKMdTSCO7iD Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SM6jiq3vS4c6QL + - req_lGOZKMdTSCO7iD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSVKuuB1fWySn24bdXyPX", + "id": "pm_1P4CcnKuuB1fWySnAE64BB70", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237764, + "created": 1712799625, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:04 GMT + recorded_at: Thu, 11 Apr 2024 01:40:25 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSVKuuB1fWySn24bdXyPX&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CcnKuuB1fWySnAE64BB70&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SM6jiq3vS4c6QL","request_duration_ms":480}}' + - '{"last_request_metrics":{"request_id":"req_lGOZKMdTSCO7iD","request_duration_ms":695}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:04 GMT + - Thu, 11 Apr 2024 01:40:26 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e4be84b5-3cee-46ff-8706-9d22d8891c0e + - 9805239d-4fb9-400a-b7d8-5c2e80253834 Original-Request: - - req_woSCBOxYyOCgtI + - req_rjzc9ScePLn3Re Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_woSCBOxYyOCgtI + - req_rjzc9ScePLn3Re Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSWKuuB1fWySn0udAFYVj", + "id": "pi_3P4CcnKuuB1fWySn1dv8xwGj", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237764, + "created": 1712799625, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSVKuuB1fWySn24bdXyPX", + "payment_method": "pm_1P4CcnKuuB1fWySnAE64BB70", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:04 GMT + recorded_at: Thu, 11 Apr 2024 01:40:26 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSWKuuB1fWySn0udAFYVj/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcnKuuB1fWySn1dv8xwGj/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_woSCBOxYyOCgtI","request_duration_ms":481}}' + - '{"last_request_metrics":{"request_id":"req_rjzc9ScePLn3Re","request_duration_ms":609}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:05 GMT + - Thu, 11 Apr 2024 01:40:27 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8ffffb03-3e12-4a15-a189-8155ad38b277 + - 31ecbf50-e10e-49bf-895d-3be2a4bc8075 Original-Request: - - req_0LqRy3AGNm9M9m + - req_hf6N81RK5EhdCh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0LqRy3AGNm9M9m + - req_hf6N81RK5EhdCh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSWKuuB1fWySn0udAFYVj", + "id": "pi_3P4CcnKuuB1fWySn1dv8xwGj", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237764, + "created": 1712799625, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSWKuuB1fWySn0USQJWxV", + "latest_charge": "ch_3P4CcnKuuB1fWySn1HNDBKrZ", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSVKuuB1fWySn24bdXyPX", + "payment_method": "pm_1P4CcnKuuB1fWySnAE64BB70", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:05 GMT + recorded_at: Thu, 11 Apr 2024 01:40:27 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml index 72e3dd59a1..1471b01c95 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TZGKk741wHH2tE","request_duration_ms":888}}' + - '{"last_request_metrics":{"request_id":"req_5IjptsmLmzO3ps","request_duration_ms":1175}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:12 GMT + - Thu, 11 Apr 2024 01:40:35 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 20be13e4-28a1-4a2a-afff-b98e657843a7 + - e7490baf-6e33-4266-bd72-beb863a68406 Original-Request: - - req_wvsrz377cc2N1S + - req_UI7MEE2eOd2Qjq Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wvsrz377cc2N1S + - req_UI7MEE2eOd2Qjq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSeKuuB1fWySnvADCR3N6", + "id": "pm_1P4CcxKuuB1fWySnWqvXphv1", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237772, + "created": 1712799635, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:12 GMT + recorded_at: Thu, 11 Apr 2024 01:40:35 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSeKuuB1fWySnvADCR3N6&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CcxKuuB1fWySnWqvXphv1&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wvsrz377cc2N1S","request_duration_ms":528}}' + - '{"last_request_metrics":{"request_id":"req_UI7MEE2eOd2Qjq","request_duration_ms":599}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:13 GMT + - Thu, 11 Apr 2024 01:40:35 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 97d3924e-9226-4f00-ac40-d9d7f9f432bb + - 80d7ed13-6111-4b98-a1d5-d3d9f5cce4ac Original-Request: - - req_jUPTRLNqVM8oYK + - req_PmLLNnE8KF9X0p Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jUPTRLNqVM8oYK + - req_PmLLNnE8KF9X0p Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSeKuuB1fWySn2zIOEC9Z", + "id": "pi_3P4CcxKuuB1fWySn2AMeXsle", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237772, + "created": 1712799635, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSeKuuB1fWySnvADCR3N6", + "payment_method": "pm_1P4CcxKuuB1fWySnWqvXphv1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:13 GMT + recorded_at: Thu, 11 Apr 2024 01:40:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSeKuuB1fWySn2zIOEC9Z/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcxKuuB1fWySn2AMeXsle/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jUPTRLNqVM8oYK","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_PmLLNnE8KF9X0p","request_duration_ms":591}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:14 GMT + - Thu, 11 Apr 2024 01:40:36 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 81dff632-1f0a-4f34-8aaa-e5e34c1852a2 + - f4bebe43-830c-40b6-bef2-f363ff336051 Original-Request: - - req_ocEnSdXMrVUPY5 + - req_nBOaXPnE6ugABV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ocEnSdXMrVUPY5 + - req_nBOaXPnE6ugABV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSeKuuB1fWySn2zIOEC9Z", + "id": "pi_3P4CcxKuuB1fWySn2AMeXsle", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237772, + "created": 1712799635, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSeKuuB1fWySn2pjA5jOc", + "latest_charge": "ch_3P4CcxKuuB1fWySn2jKWiIB2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSeKuuB1fWySnvADCR3N6", + "payment_method": "pm_1P4CcxKuuB1fWySnWqvXphv1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:14 GMT + recorded_at: Thu, 11 Apr 2024 01:40:36 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSeKuuB1fWySn2zIOEC9Z + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcxKuuB1fWySn2AMeXsle body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ocEnSdXMrVUPY5","request_duration_ms":988}}' + - '{"last_request_metrics":{"request_id":"req_nBOaXPnE6ugABV","request_duration_ms":1027}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:14 GMT + - Thu, 11 Apr 2024 01:40:37 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bPLygwiK92hYqK + - req_A1SRx4UbzKpu2H Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSeKuuB1fWySn2zIOEC9Z", + "id": "pi_3P4CcxKuuB1fWySn2AMeXsle", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237772, + "created": 1712799635, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSeKuuB1fWySn2pjA5jOc", + "latest_charge": "ch_3P4CcxKuuB1fWySn2jKWiIB2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSeKuuB1fWySnvADCR3N6", + "payment_method": "pm_1P4CcxKuuB1fWySnWqvXphv1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:14 GMT + recorded_at: Thu, 11 Apr 2024 01:40:37 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSeKuuB1fWySn2zIOEC9Z/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcxKuuB1fWySn2AMeXsle/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bPLygwiK92hYqK","request_duration_ms":306}}' + - '{"last_request_metrics":{"request_id":"req_A1SRx4UbzKpu2H","request_duration_ms":524}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:15 GMT + - Thu, 11 Apr 2024 01:40:38 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4b9f2721-d98e-4e7b-843b-7033cd471827 + - 16874025-dde0-4d49-8f91-be36f6a41338 Original-Request: - - req_N2ezmIdSMjJJ0p + - req_EDcb1WYKNSfuEZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_N2ezmIdSMjJJ0p + - req_EDcb1WYKNSfuEZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSeKuuB1fWySn2zIOEC9Z", + "id": "pi_3P4CcxKuuB1fWySn2AMeXsle", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237772, + "created": 1712799635, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSeKuuB1fWySn2pjA5jOc", + "latest_charge": "ch_3P4CcxKuuB1fWySn2jKWiIB2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSeKuuB1fWySnvADCR3N6", + "payment_method": "pm_1P4CcxKuuB1fWySnWqvXphv1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:15 GMT + recorded_at: Thu, 11 Apr 2024 01:40:38 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSeKuuB1fWySn2zIOEC9Z + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcxKuuB1fWySn2AMeXsle body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_N2ezmIdSMjJJ0p","request_duration_ms":1053}}' + - '{"last_request_metrics":{"request_id":"req_EDcb1WYKNSfuEZ","request_duration_ms":1225}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:15 GMT + - Thu, 11 Apr 2024 01:40:39 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DlJ3ZIJSMo41p0 + - req_GgIhqL9Ai6JbXO Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSeKuuB1fWySn2zIOEC9Z", + "id": "pi_3P4CcxKuuB1fWySn2AMeXsle", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237772, + "created": 1712799635, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSeKuuB1fWySn2pjA5jOc", + "latest_charge": "ch_3P4CcxKuuB1fWySn2jKWiIB2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSeKuuB1fWySnvADCR3N6", + "payment_method": "pm_1P4CcxKuuB1fWySnWqvXphv1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:15 GMT + recorded_at: Thu, 11 Apr 2024 01:40:39 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml index e25cc51a46..de143c67d3 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XZ3sGzRpSVW70U","request_duration_ms":321}}' + - '{"last_request_metrics":{"request_id":"req_66CQeHzsUGH62R","request_duration_ms":507}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:10 GMT + - Thu, 11 Apr 2024 01:40:32 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9fea4870-3ac9-4276-95b5-94fc40733f83 + - 75ea0d6c-4a05-4bf8-be32-ae474fbdf988 Original-Request: - - req_ZTPSNFhLtk55ba + - req_r0juUWENUVm24e Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZTPSNFhLtk55ba + - req_r0juUWENUVm24e Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qScKuuB1fWySn0FFLAnju", + "id": "pm_1P4CcuKuuB1fWySnNGt3r6NW", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237770, + "created": 1712799632, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:10 GMT + recorded_at: Thu, 11 Apr 2024 01:40:32 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qScKuuB1fWySn0FFLAnju&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CcuKuuB1fWySnNGt3r6NW&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZTPSNFhLtk55ba","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_r0juUWENUVm24e","request_duration_ms":596}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:10 GMT + - Thu, 11 Apr 2024 01:40:33 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ad9f70f4-e0a2-4e62-8017-4bad93e2ce6c + - dff54c29-dbe3-404f-9f43-8914902899d3 Original-Request: - - req_KsXU1btOPEMalB + - req_exHd4GHUvs1GJg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KsXU1btOPEMalB + - req_exHd4GHUvs1GJg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qScKuuB1fWySn1hvd9D4L", + "id": "pi_3P4CcvKuuB1fWySn27L34sjk", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237770, + "created": 1712799633, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qScKuuB1fWySn0FFLAnju", + "payment_method": "pm_1P4CcuKuuB1fWySnNGt3r6NW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:11 GMT + recorded_at: Thu, 11 Apr 2024 01:40:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qScKuuB1fWySn1hvd9D4L/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcvKuuB1fWySn27L34sjk/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KsXU1btOPEMalB","request_duration_ms":607}}' + - '{"last_request_metrics":{"request_id":"req_exHd4GHUvs1GJg","request_duration_ms":556}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:11 GMT + - Thu, 11 Apr 2024 01:40:34 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c215e24b-006b-4c6a-8aa1-6e9342efd5ea + - ae5f021c-860e-447a-a544-06055ca3cc27 Original-Request: - - req_TZGKk741wHH2tE + - req_5IjptsmLmzO3ps Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_TZGKk741wHH2tE + - req_5IjptsmLmzO3ps Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qScKuuB1fWySn1hvd9D4L", + "id": "pi_3P4CcvKuuB1fWySn27L34sjk", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237770, + "created": 1712799633, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qScKuuB1fWySn1MFsKf2t", + "latest_charge": "ch_3P4CcvKuuB1fWySn233peWNV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qScKuuB1fWySn0FFLAnju", + "payment_method": "pm_1P4CcuKuuB1fWySnNGt3r6NW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:36:11 GMT + recorded_at: Thu, 11 Apr 2024 01:40:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml index 61b4b3b7b6..fe193484df 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ICJugHETjpDsm8","request_duration_ms":904}}' + - '{"last_request_metrics":{"request_id":"req_3HyIrPA5Me1m4s","request_duration_ms":918}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:02 GMT + - Thu, 11 Apr 2024 01:41:26 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 986149d1-eed1-4c42-a5cd-75c859473244 + - 0a208508-3a4c-412a-8ac9-068b7af7a9f3 Original-Request: - - req_ZgRi9iaRdyFbYy + - req_9eFheAJRTeCK4l Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZgRi9iaRdyFbYy + - req_9eFheAJRTeCK4l Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTRKuuB1fWySnhYfkeig3", + "id": "pm_1P4CdlKuuB1fWySnVbxbknwx", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237822, + "created": 1712799686, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:02 GMT + recorded_at: Thu, 11 Apr 2024 01:41:26 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTRKuuB1fWySnhYfkeig3&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdlKuuB1fWySnVbxbknwx&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZgRi9iaRdyFbYy","request_duration_ms":525}}' + - '{"last_request_metrics":{"request_id":"req_9eFheAJRTeCK4l","request_duration_ms":484}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:02 GMT + - Thu, 11 Apr 2024 01:41:26 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3101e95f-1204-4f70-b973-1bdb08db56e7 + - 5a30ac3b-b19f-4b1c-8324-3d0fda73c34c Original-Request: - - req_snMnLiwiuFNMWT + - req_j0zcXmzLI05tIP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_snMnLiwiuFNMWT + - req_j0zcXmzLI05tIP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTSKuuB1fWySn05k0P9TF", + "id": "pi_3P4CdmKuuB1fWySn1VUvGOjO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237822, + "created": 1712799686, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTRKuuB1fWySnhYfkeig3", + "payment_method": "pm_1P4CdlKuuB1fWySnVbxbknwx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:02 GMT + recorded_at: Thu, 11 Apr 2024 01:41:26 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTSKuuB1fWySn05k0P9TF/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdmKuuB1fWySn1VUvGOjO/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_snMnLiwiuFNMWT","request_duration_ms":414}}' + - '{"last_request_metrics":{"request_id":"req_j0zcXmzLI05tIP","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:03 GMT + - Thu, 11 Apr 2024 01:41:27 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c701d379-3076-4139-8e6e-870278249572 + - ee16a9f9-16c9-4b24-9a92-b2d2a1f02d24 Original-Request: - - req_5PwFhsbJlTEJmg + - req_PCEwdR6TTSGNO8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5PwFhsbJlTEJmg + - req_PCEwdR6TTSGNO8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTSKuuB1fWySn05k0P9TF", + "id": "pi_3P4CdmKuuB1fWySn1VUvGOjO", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237822, + "created": 1712799686, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTSKuuB1fWySn00Lv6Aaj", + "latest_charge": "ch_3P4CdmKuuB1fWySn1V80iFD1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTRKuuB1fWySnhYfkeig3", + "payment_method": "pm_1P4CdlKuuB1fWySnVbxbknwx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:03 GMT + recorded_at: Thu, 11 Apr 2024 01:41:27 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTSKuuB1fWySn05k0P9TF + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdmKuuB1fWySn1VUvGOjO body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5PwFhsbJlTEJmg","request_duration_ms":1090}}' + - '{"last_request_metrics":{"request_id":"req_PCEwdR6TTSGNO8","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:03 GMT + - Thu, 11 Apr 2024 01:41:28 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GEnJp8L4yzg5aM + - req_hPxAKHzdIP90ep Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTSKuuB1fWySn05k0P9TF", + "id": "pi_3P4CdmKuuB1fWySn1VUvGOjO", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237822, + "created": 1712799686, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTSKuuB1fWySn00Lv6Aaj", + "latest_charge": "ch_3P4CdmKuuB1fWySn1V80iFD1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTRKuuB1fWySnhYfkeig3", + "payment_method": "pm_1P4CdlKuuB1fWySnVbxbknwx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:04 GMT + recorded_at: Thu, 11 Apr 2024 01:41:28 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTSKuuB1fWySn05k0P9TF/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdmKuuB1fWySn1VUvGOjO/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GEnJp8L4yzg5aM","request_duration_ms":364}}' + - '{"last_request_metrics":{"request_id":"req_hPxAKHzdIP90ep","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:05 GMT + - Thu, 11 Apr 2024 01:41:29 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 60d1d58e-6cfd-423e-bfca-936224aae771 + - 4e19c849-2156-45a3-96bf-5892eea0e97e Original-Request: - - req_GVtdynZRnc9O9F + - req_7AtIMlsfDSgRwY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GVtdynZRnc9O9F + - req_7AtIMlsfDSgRwY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTSKuuB1fWySn05k0P9TF", + "id": "pi_3P4CdmKuuB1fWySn1VUvGOjO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237822, + "created": 1712799686, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTSKuuB1fWySn00Lv6Aaj", + "latest_charge": "ch_3P4CdmKuuB1fWySn1V80iFD1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTRKuuB1fWySnhYfkeig3", + "payment_method": "pm_1P4CdlKuuB1fWySnVbxbknwx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:05 GMT + recorded_at: Thu, 11 Apr 2024 01:41:29 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTSKuuB1fWySn05k0P9TF + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdmKuuB1fWySn1VUvGOjO body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GVtdynZRnc9O9F","request_duration_ms":1050}}' + - '{"last_request_metrics":{"request_id":"req_7AtIMlsfDSgRwY","request_duration_ms":1125}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:05 GMT + - Thu, 11 Apr 2024 01:41:29 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_awzODHJrSNCd3G + - req_paIqh4CkcLmmUW Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTSKuuB1fWySn05k0P9TF", + "id": "pi_3P4CdmKuuB1fWySn1VUvGOjO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237822, + "created": 1712799686, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTSKuuB1fWySn00Lv6Aaj", + "latest_charge": "ch_3P4CdmKuuB1fWySn1V80iFD1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTRKuuB1fWySnhYfkeig3", + "payment_method": "pm_1P4CdlKuuB1fWySnVbxbknwx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:05 GMT + recorded_at: Thu, 11 Apr 2024 01:41:29 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml index 57f5f84b77..d2105833a1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8XCQIRHl77D9wK","request_duration_ms":305}}' + - '{"last_request_metrics":{"request_id":"req_XrlQZJP5Pg94Db","request_duration_ms":407}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:36:59 GMT + - Thu, 11 Apr 2024 01:41:24 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b7b95a28-07c3-4004-90b2-9af6aac6ca75 + - 9bbc26a2-8988-4993-9689-22c285d9ccfb Original-Request: - - req_7h0vOkcIYghHUH + - req_1xB3B1MLim5DGw Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7h0vOkcIYghHUH + - req_1xB3B1MLim5DGw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTPKuuB1fWySno6t1IbWK", + "id": "pm_1P4CdjKuuB1fWySn2l4pwRa1", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237819, + "created": 1712799684, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:36:59 GMT + recorded_at: Thu, 11 Apr 2024 01:41:24 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTPKuuB1fWySno6t1IbWK&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdjKuuB1fWySn2l4pwRa1&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7h0vOkcIYghHUH","request_duration_ms":517}}' + - '{"last_request_metrics":{"request_id":"req_1xB3B1MLim5DGw","request_duration_ms":494}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:00 GMT + - Thu, 11 Apr 2024 01:41:24 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e3902ae8-2f07-4133-909c-f81e21977b96 + - 1f0892ea-17c2-4fa3-8b9a-0d303e364c9b Original-Request: - - req_UpO4jSIptwjRMM + - req_93NnQHz5HWWuwT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UpO4jSIptwjRMM + - req_93NnQHz5HWWuwT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTQKuuB1fWySn1WsD28Lc", + "id": "pi_3P4CdkKuuB1fWySn11Uvrd2N", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237820, + "created": 1712799684, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTPKuuB1fWySno6t1IbWK", + "payment_method": "pm_1P4CdjKuuB1fWySn2l4pwRa1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:00 GMT + recorded_at: Thu, 11 Apr 2024 01:41:24 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTQKuuB1fWySn1WsD28Lc/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdkKuuB1fWySn11Uvrd2N/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UpO4jSIptwjRMM","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_93NnQHz5HWWuwT","request_duration_ms":510}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:01 GMT + - Thu, 11 Apr 2024 01:41:25 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b90a975c-7d8b-405e-9eb8-c297ce3bd5e4 + - e1398ee2-4e30-4e37-a5d9-c0da9a356cb7 Original-Request: - - req_ICJugHETjpDsm8 + - req_3HyIrPA5Me1m4s Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ICJugHETjpDsm8 + - req_3HyIrPA5Me1m4s Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTQKuuB1fWySn1WsD28Lc", + "id": "pi_3P4CdkKuuB1fWySn11Uvrd2N", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237820, + "created": 1712799684, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTQKuuB1fWySn1SZTyOe6", + "latest_charge": "ch_3P4CdkKuuB1fWySn17592u18", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTPKuuB1fWySno6t1IbWK", + "payment_method": "pm_1P4CdjKuuB1fWySn2l4pwRa1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:01 GMT + recorded_at: Thu, 11 Apr 2024 01:41:25 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml index 9e987acf42..e50ae12ae6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KCaG9nBY3JDK5u","request_duration_ms":978}}' + - '{"last_request_metrics":{"request_id":"req_V66kHDK4TyFBuY","request_duration_ms":1022}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:08 GMT + - Thu, 11 Apr 2024 01:41:32 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9d0dd974-b30c-4445-bc53-93c7601ae082 + - 16ea3e10-e24a-487b-93f7-642122f3a0a9 Original-Request: - - req_vu9WTfeZDEPWFd + - req_73J1Mvh4RCGjOb Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vu9WTfeZDEPWFd + - req_73J1Mvh4RCGjOb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTYKuuB1fWySnztk4h5Cf", + "id": "pm_1P4CdsKuuB1fWySnNUZ3nj7b", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237828, + "created": 1712799692, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:08 GMT + recorded_at: Thu, 11 Apr 2024 01:41:32 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTYKuuB1fWySnztk4h5Cf&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdsKuuB1fWySnNUZ3nj7b&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vu9WTfeZDEPWFd","request_duration_ms":451}}' + - '{"last_request_metrics":{"request_id":"req_73J1Mvh4RCGjOb","request_duration_ms":554}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:08 GMT + - Thu, 11 Apr 2024 01:41:33 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1fae5dde-b37f-4372-afc9-fd001f3da18f + - da680dc9-abdd-4f1e-b336-f5fe866f0844 Original-Request: - - req_BR2MrOBL99VE9D + - req_LRm3v1Oxy9Bei2 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BR2MrOBL99VE9D + - req_LRm3v1Oxy9Bei2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTYKuuB1fWySn2gnaYvWa", + "id": "pi_3P4CdsKuuB1fWySn0mh3zOZi", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237828, + "created": 1712799692, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTYKuuB1fWySnztk4h5Cf", + "payment_method": "pm_1P4CdsKuuB1fWySnNUZ3nj7b", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:08 GMT + recorded_at: Thu, 11 Apr 2024 01:41:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTYKuuB1fWySn2gnaYvWa/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdsKuuB1fWySn0mh3zOZi/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BR2MrOBL99VE9D","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_LRm3v1Oxy9Bei2","request_duration_ms":509}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:09 GMT + - Thu, 11 Apr 2024 01:41:34 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7eb16ab3-623f-47b1-a02d-243ef1aeb9c4 + - b0d46dd3-960c-4410-a225-a4464cb8ce86 Original-Request: - - req_AvoxKaQWW28NMp + - req_7Rrl3QBjK5njHv Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_AvoxKaQWW28NMp + - req_7Rrl3QBjK5njHv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTYKuuB1fWySn2gnaYvWa", + "id": "pi_3P4CdsKuuB1fWySn0mh3zOZi", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237828, + "created": 1712799692, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTYKuuB1fWySn2zBbrXaL", + "latest_charge": "ch_3P4CdsKuuB1fWySn0NLyOolI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTYKuuB1fWySnztk4h5Cf", + "payment_method": "pm_1P4CdsKuuB1fWySnNUZ3nj7b", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:09 GMT + recorded_at: Thu, 11 Apr 2024 01:41:33 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTYKuuB1fWySn2gnaYvWa + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdsKuuB1fWySn0mh3zOZi body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AvoxKaQWW28NMp","request_duration_ms":1084}}' + - '{"last_request_metrics":{"request_id":"req_7Rrl3QBjK5njHv","request_duration_ms":884}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:10 GMT + - Thu, 11 Apr 2024 01:41:34 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FmJypRemanCtGK + - req_qCc4h7ekhX5VHN Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTYKuuB1fWySn2gnaYvWa", + "id": "pi_3P4CdsKuuB1fWySn0mh3zOZi", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237828, + "created": 1712799692, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTYKuuB1fWySn2zBbrXaL", + "latest_charge": "ch_3P4CdsKuuB1fWySn0NLyOolI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTYKuuB1fWySnztk4h5Cf", + "payment_method": "pm_1P4CdsKuuB1fWySnNUZ3nj7b", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:10 GMT + recorded_at: Thu, 11 Apr 2024 01:41:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTYKuuB1fWySn2gnaYvWa/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdsKuuB1fWySn0mh3zOZi/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FmJypRemanCtGK","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_qCc4h7ekhX5VHN","request_duration_ms":441}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:11 GMT + - Thu, 11 Apr 2024 01:41:35 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b6eb1cea-5503-4075-a0b0-e1cc8b52e8dc + - c77ce002-458a-4d64-b91d-52f76f162a3c Original-Request: - - req_4XDVAxdIpg3ojZ + - req_NK8103scszW2QQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4XDVAxdIpg3ojZ + - req_NK8103scszW2QQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTYKuuB1fWySn2gnaYvWa", + "id": "pi_3P4CdsKuuB1fWySn0mh3zOZi", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237828, + "created": 1712799692, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTYKuuB1fWySn2zBbrXaL", + "latest_charge": "ch_3P4CdsKuuB1fWySn0NLyOolI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTYKuuB1fWySnztk4h5Cf", + "payment_method": "pm_1P4CdsKuuB1fWySnNUZ3nj7b", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:11 GMT + recorded_at: Thu, 11 Apr 2024 01:41:35 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTYKuuB1fWySn2gnaYvWa + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdsKuuB1fWySn0mh3zOZi body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4XDVAxdIpg3ojZ","request_duration_ms":1004}}' + - '{"last_request_metrics":{"request_id":"req_NK8103scszW2QQ","request_duration_ms":1020}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:11 GMT + - Thu, 11 Apr 2024 01:41:35 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VHSEgWLcpy7eeM + - req_fbEkE3Lhj68GyR Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTYKuuB1fWySn2gnaYvWa", + "id": "pi_3P4CdsKuuB1fWySn0mh3zOZi", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237828, + "created": 1712799692, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTYKuuB1fWySn2zBbrXaL", + "latest_charge": "ch_3P4CdsKuuB1fWySn0NLyOolI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTYKuuB1fWySnztk4h5Cf", + "payment_method": "pm_1P4CdsKuuB1fWySnNUZ3nj7b", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:11 GMT + recorded_at: Thu, 11 Apr 2024 01:41:35 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index d2774ad912..36e2e079ef 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_awzODHJrSNCd3G","request_duration_ms":320}}' + - '{"last_request_metrics":{"request_id":"req_paIqh4CkcLmmUW","request_duration_ms":406}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:05 GMT + - Thu, 11 Apr 2024 01:41:30 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b10a1299-f79f-41b6-a35e-d150444bfb7a + - abcfc61a-c418-4ed7-ba01-26811d708f35 Original-Request: - - req_i2SKAQMYJFmMi6 + - req_WnWVnf65PhT8UH Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_i2SKAQMYJFmMi6 + - req_WnWVnf65PhT8UH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTVKuuB1fWySnoHhxcrUs", + "id": "pm_1P4CdqKuuB1fWySnMRNU7Hv3", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237825, + "created": 1712799690, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:05 GMT + recorded_at: Thu, 11 Apr 2024 01:41:30 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qTVKuuB1fWySnoHhxcrUs&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CdqKuuB1fWySnMRNU7Hv3&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_i2SKAQMYJFmMi6","request_duration_ms":489}}' + - '{"last_request_metrics":{"request_id":"req_WnWVnf65PhT8UH","request_duration_ms":495}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:06 GMT + - Thu, 11 Apr 2024 01:41:30 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6ddd9b0f-b95b-47d7-a29a-fa23b0c71d1b + - 501a1553-fdb9-4320-8733-aebf1ea63ed5 Original-Request: - - req_SU7KNZXZebE90r + - req_jmZweFFVTkoxea Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SU7KNZXZebE90r + - req_jmZweFFVTkoxea Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTWKuuB1fWySn2gCtjiex", + "id": "pi_3P4CdqKuuB1fWySn0kpkOahQ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237826, + "created": 1712799690, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTVKuuB1fWySnoHhxcrUs", + "payment_method": "pm_1P4CdqKuuB1fWySnMRNU7Hv3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:06 GMT + recorded_at: Thu, 11 Apr 2024 01:41:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qTWKuuB1fWySn2gCtjiex/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdqKuuB1fWySn0kpkOahQ/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SU7KNZXZebE90r","request_duration_ms":422}}' + - '{"last_request_metrics":{"request_id":"req_jmZweFFVTkoxea","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:07 GMT + - Thu, 11 Apr 2024 01:41:31 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4e4ae9e0-1f63-46a8-8fdc-cc73f61051a1 + - e5bf3552-70d9-4e3f-a882-cbeef15e33ff Original-Request: - - req_KCaG9nBY3JDK5u + - req_V66kHDK4TyFBuY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KCaG9nBY3JDK5u + - req_V66kHDK4TyFBuY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qTWKuuB1fWySn2gCtjiex", + "id": "pi_3P4CdqKuuB1fWySn0kpkOahQ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237826, + "created": 1712799690, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qTWKuuB1fWySn2AwS8UhT", + "latest_charge": "ch_3P4CdqKuuB1fWySn0n25x82D", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qTVKuuB1fWySnoHhxcrUs", + "payment_method": "pm_1P4CdqKuuB1fWySnMRNU7Hv3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:37:07 GMT + recorded_at: Thu, 11 Apr 2024 01:41:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml index 40571a32f0..ab9e1d6406 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OPWnAO1KH9Acfa","request_duration_ms":939}}' + - '{"last_request_metrics":{"request_id":"req_I27XIO0R3Nf2Cl","request_duration_ms":1123}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:41 GMT + - Thu, 11 Apr 2024 01:39:59 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2839ba52-91b8-49c6-92da-d403124434eb + - 3a088250-4db9-470d-aa35-f6f55efb663a Original-Request: - - req_RoANYU1BfqHXvc + - req_cQxvMIaUDNVtXx Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_RoANYU1BfqHXvc + - req_cQxvMIaUDNVtXx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qS9KuuB1fWySneChAhka4", + "id": "pm_1P4CcNKuuB1fWySnyTcxZ7Ve", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237741, + "created": 1712799599, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:41 GMT + recorded_at: Thu, 11 Apr 2024 01:39:59 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qS9KuuB1fWySneChAhka4&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CcNKuuB1fWySnyTcxZ7Ve&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RoANYU1BfqHXvc","request_duration_ms":595}}' + - '{"last_request_metrics":{"request_id":"req_cQxvMIaUDNVtXx","request_duration_ms":640}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:42 GMT + - Thu, 11 Apr 2024 01:39:59 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7e738eb2-6a84-4b84-a8bc-e13e5b585278 + - 0dfd92b2-062f-4781-8ebe-7b072f26da40 Original-Request: - - req_lI4owvG8foycSJ + - req_zt5l2R5OEwwvp3 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lI4owvG8foycSJ + - req_zt5l2R5OEwwvp3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qS9KuuB1fWySn2XykQBE2", + "id": "pi_3P4CcNKuuB1fWySn0MWsuo9e", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237741, + "created": 1712799599, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qS9KuuB1fWySneChAhka4", + "payment_method": "pm_1P4CcNKuuB1fWySnyTcxZ7Ve", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:42 GMT + recorded_at: Thu, 11 Apr 2024 01:39:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qS9KuuB1fWySn2XykQBE2/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcNKuuB1fWySn0MWsuo9e/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lI4owvG8foycSJ","request_duration_ms":423}}' + - '{"last_request_metrics":{"request_id":"req_zt5l2R5OEwwvp3","request_duration_ms":572}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:43 GMT + - Thu, 11 Apr 2024 01:40:01 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fca2be67-8860-466a-98df-16bcecb385cb + - e1157a76-237b-4a04-b529-a1ea2ea88f74 Original-Request: - - req_A32VXjMhYglpTg + - req_a0YpvYiR7lF5gu Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_A32VXjMhYglpTg + - req_a0YpvYiR7lF5gu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qS9KuuB1fWySn2XykQBE2", + "id": "pi_3P4CcNKuuB1fWySn0MWsuo9e", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237741, + "created": 1712799599, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qS9KuuB1fWySn2wOeHOx3", + "latest_charge": "ch_3P4CcNKuuB1fWySn03F9wQBn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qS9KuuB1fWySneChAhka4", + "payment_method": "pm_1P4CcNKuuB1fWySnyTcxZ7Ve", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:43 GMT + recorded_at: Thu, 11 Apr 2024 01:40:01 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qS9KuuB1fWySn2XykQBE2 + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcNKuuB1fWySn0MWsuo9e body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_A32VXjMhYglpTg","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_a0YpvYiR7lF5gu","request_duration_ms":1184}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:43 GMT + - Thu, 11 Apr 2024 01:40:01 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QNNoLzQpk5hDW5 + - req_dJD2lW1ZmJs2KF Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qS9KuuB1fWySn2XykQBE2", + "id": "pi_3P4CcNKuuB1fWySn0MWsuo9e", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237741, + "created": 1712799599, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qS9KuuB1fWySn2wOeHOx3", + "latest_charge": "ch_3P4CcNKuuB1fWySn03F9wQBn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qS9KuuB1fWySneChAhka4", + "payment_method": "pm_1P4CcNKuuB1fWySnyTcxZ7Ve", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:43 GMT + recorded_at: Thu, 11 Apr 2024 01:40:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qS9KuuB1fWySn2XykQBE2/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcNKuuB1fWySn0MWsuo9e/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QNNoLzQpk5hDW5","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_dJD2lW1ZmJs2KF","request_duration_ms":501}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:44 GMT + - Thu, 11 Apr 2024 01:40:02 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 03fbcddf-cc42-444c-97d2-55ae2fcaa40a + - 250d7e5a-fb02-4142-9f54-08f1b8d1c3f2 Original-Request: - - req_KqN3MZJvy21Z3c + - req_Rz1HbDIAhX2dJU Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KqN3MZJvy21Z3c + - req_Rz1HbDIAhX2dJU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qS9KuuB1fWySn2XykQBE2", + "id": "pi_3P4CcNKuuB1fWySn0MWsuo9e", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237741, + "created": 1712799599, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qS9KuuB1fWySn2wOeHOx3", + "latest_charge": "ch_3P4CcNKuuB1fWySn03F9wQBn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qS9KuuB1fWySneChAhka4", + "payment_method": "pm_1P4CcNKuuB1fWySnyTcxZ7Ve", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:44 GMT + recorded_at: Thu, 11 Apr 2024 01:40:02 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qS9KuuB1fWySn2XykQBE2 + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcNKuuB1fWySn0MWsuo9e body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KqN3MZJvy21Z3c","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_Rz1HbDIAhX2dJU","request_duration_ms":1258}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:44 GMT + - Thu, 11 Apr 2024 01:40:03 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_t6ASt1pJdtCSur + - req_0bNBmEKswppHmu Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qS9KuuB1fWySn2XykQBE2", + "id": "pi_3P4CcNKuuB1fWySn0MWsuo9e", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237741, + "created": 1712799599, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qS9KuuB1fWySn2wOeHOx3", + "latest_charge": "ch_3P4CcNKuuB1fWySn03F9wQBn", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qS9KuuB1fWySneChAhka4", + "payment_method": "pm_1P4CcNKuuB1fWySnyTcxZ7Ve", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:45 GMT + recorded_at: Thu, 11 Apr 2024 01:40:03 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml index d882c823cb..3157b43df6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_65MavRBJd7YWIw","request_duration_ms":1119}}' + - '{"last_request_metrics":{"request_id":"req_OXbd4EXm1dK9Ge","request_duration_ms":1164}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:39 GMT + - Thu, 11 Apr 2024 01:39:56 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 11b47897-cab1-4aac-a832-c8d2686b6b8a + - 5cdd5662-ee9a-45e6-abcd-22b822233593 Original-Request: - - req_oA1vyiao9i8m2k + - req_wmXBHuZZ8GOovb Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_oA1vyiao9i8m2k + - req_wmXBHuZZ8GOovb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qS6KuuB1fWySnf44hqcHV", + "id": "pm_1P4CcKKuuB1fWySnBBSmHLvC", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237739, + "created": 1712799596, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:39 GMT + recorded_at: Thu, 11 Apr 2024 01:39:56 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qS6KuuB1fWySnf44hqcHV&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CcKKuuB1fWySnBBSmHLvC&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oA1vyiao9i8m2k","request_duration_ms":597}}' + - '{"last_request_metrics":{"request_id":"req_wmXBHuZZ8GOovb","request_duration_ms":582}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:39 GMT + - Thu, 11 Apr 2024 01:39:57 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - dc1d24ce-4c1f-428c-80c7-bfe184885870 + - 37d67896-9e6f-4dd9-85c4-6162bef09448 Original-Request: - - req_FDY4kYVNNGInCu + - req_TawdQyXyOhPAPJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FDY4kYVNNGInCu + - req_TawdQyXyOhPAPJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qS7KuuB1fWySn2XpoAZsF", + "id": "pi_3P4CcKKuuB1fWySn2XCgrccR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237739, + "created": 1712799596, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qS6KuuB1fWySnf44hqcHV", + "payment_method": "pm_1P4CcKKuuB1fWySnBBSmHLvC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:39 GMT + recorded_at: Thu, 11 Apr 2024 01:39:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qS7KuuB1fWySn2XpoAZsF/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcKKuuB1fWySn2XCgrccR/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FDY4kYVNNGInCu","request_duration_ms":389}}' + - '{"last_request_metrics":{"request_id":"req_TawdQyXyOhPAPJ","request_duration_ms":680}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:40 GMT + - Thu, 11 Apr 2024 01:39:58 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1312c571-dc27-4330-bf25-3950b4d78395 + - 66cf95c9-9828-427e-b73f-391f2098780c Original-Request: - - req_OPWnAO1KH9Acfa + - req_I27XIO0R3Nf2Cl Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OPWnAO1KH9Acfa + - req_I27XIO0R3Nf2Cl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qS7KuuB1fWySn2XpoAZsF", + "id": "pi_3P4CcKKuuB1fWySn2XCgrccR", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237739, + "created": 1712799596, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qS7KuuB1fWySn20VQqDEp", + "latest_charge": "ch_3P4CcKKuuB1fWySn2Enxcvlx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qS6KuuB1fWySnf44hqcHV", + "payment_method": "pm_1P4CcKKuuB1fWySnBBSmHLvC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:40 GMT + recorded_at: Thu, 11 Apr 2024 01:39:58 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml index 370eff5815..05481feadc 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ay8y3Oiz3Rf7n2","request_duration_ms":938}}' + - '{"last_request_metrics":{"request_id":"req_lVHX6rQCXZCAug","request_duration_ms":1143}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:47 GMT + - Thu, 11 Apr 2024 01:40:06 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a2f61cd9-3aa1-4dc3-85b0-4c9fb84f4457 + - bf16d6aa-7846-408a-a2d2-1b33a2b6f26a Original-Request: - - req_43qLrCd2I0ucle + - req_S7cGzSAxaLnA7Y Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_43qLrCd2I0ucle + - req_S7cGzSAxaLnA7Y Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSFKuuB1fWySnSX48fWqI", + "id": "pm_1P4CcUKuuB1fWySnnAyKF7Tq", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237747, + "created": 1712799606, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:47 GMT + recorded_at: Thu, 11 Apr 2024 01:40:06 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSFKuuB1fWySnSX48fWqI&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CcUKuuB1fWySnnAyKF7Tq&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_43qLrCd2I0ucle","request_duration_ms":520}}' + - '{"last_request_metrics":{"request_id":"req_S7cGzSAxaLnA7Y","request_duration_ms":754}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:48 GMT + - Thu, 11 Apr 2024 01:40:07 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - debd90c7-39e2-4d47-a97c-69d64e9c1c0a + - 93b8b283-bd8b-4ba6-a215-0d21c405a421 Original-Request: - - req_AhKpkoD12N5PE5 + - req_2MRbtfAcmGvbS6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_AhKpkoD12N5PE5 + - req_2MRbtfAcmGvbS6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSGKuuB1fWySn2gxyzpL0", + "id": "pi_3P4CcVKuuB1fWySn1YaCPqvM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237748, + "created": 1712799607, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSFKuuB1fWySnSX48fWqI", + "payment_method": "pm_1P4CcUKuuB1fWySnnAyKF7Tq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:48 GMT + recorded_at: Thu, 11 Apr 2024 01:40:07 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSGKuuB1fWySn2gxyzpL0/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcVKuuB1fWySn1YaCPqvM/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AhKpkoD12N5PE5","request_duration_ms":548}}' + - '{"last_request_metrics":{"request_id":"req_2MRbtfAcmGvbS6","request_duration_ms":611}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:49 GMT + - Thu, 11 Apr 2024 01:40:08 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6e0adeba-8e15-4831-8aa8-9093b426f87b + - b892e1e0-1df4-473e-8a68-8c176a28b835 Original-Request: - - req_7kIoJlAkTpeVce + - req_0z9VMy9hmmKnPV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7kIoJlAkTpeVce + - req_0z9VMy9hmmKnPV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSGKuuB1fWySn2gxyzpL0", + "id": "pi_3P4CcVKuuB1fWySn1YaCPqvM", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237748, + "created": 1712799607, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSGKuuB1fWySn2wBCA4xI", + "latest_charge": "ch_3P4CcVKuuB1fWySn1ydPbd3h", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSFKuuB1fWySnSX48fWqI", + "payment_method": "pm_1P4CcUKuuB1fWySnnAyKF7Tq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +397,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:49 GMT + recorded_at: Thu, 11 Apr 2024 01:40:08 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSGKuuB1fWySn2gxyzpL0 + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcVKuuB1fWySn1YaCPqvM body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7kIoJlAkTpeVce","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_0z9VMy9hmmKnPV","request_duration_ms":1124}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:49 GMT + - Thu, 11 Apr 2024 01:40:08 GMT Content-Type: - application/json Content-Length: @@ -461,7 +461,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_tXQgbLyaH7DQtQ + - req_IqcjG8KJd5xwaX Stripe-Version: - '2023-10-16' Vary: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSGKuuB1fWySn2gxyzpL0", + "id": "pi_3P4CcVKuuB1fWySn1YaCPqvM", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237748, + "created": 1712799607, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSGKuuB1fWySn2wBCA4xI", + "latest_charge": "ch_3P4CcVKuuB1fWySn1ydPbd3h", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSFKuuB1fWySnSX48fWqI", + "payment_method": "pm_1P4CcUKuuB1fWySnnAyKF7Tq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +526,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:49 GMT + recorded_at: Thu, 11 Apr 2024 01:40:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSGKuuB1fWySn2gxyzpL0/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcVKuuB1fWySn1YaCPqvM/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tXQgbLyaH7DQtQ","request_duration_ms":309}}' + - '{"last_request_metrics":{"request_id":"req_IqcjG8KJd5xwaX","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:50 GMT + - Thu, 11 Apr 2024 01:40:10 GMT Content-Type: - application/json Content-Length: @@ -586,15 +586,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9352ae7b-cbf9-41fa-b56b-42cb4143c781 + - 2099c97d-d6f3-432f-a3cf-1676611d7112 Original-Request: - - req_qDbgPFiz61w4JI + - req_JxbxavM9zglSFD Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qDbgPFiz61w4JI + - req_JxbxavM9zglSFD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSGKuuB1fWySn2gxyzpL0", + "id": "pi_3P4CcVKuuB1fWySn1YaCPqvM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237748, + "created": 1712799607, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSGKuuB1fWySn2wBCA4xI", + "latest_charge": "ch_3P4CcVKuuB1fWySn1ydPbd3h", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSFKuuB1fWySnSX48fWqI", + "payment_method": "pm_1P4CcUKuuB1fWySnnAyKF7Tq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +661,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:50 GMT + recorded_at: Thu, 11 Apr 2024 01:40:10 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSGKuuB1fWySn2gxyzpL0 + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcVKuuB1fWySn1YaCPqvM body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qDbgPFiz61w4JI","request_duration_ms":1116}}' + - '{"last_request_metrics":{"request_id":"req_JxbxavM9zglSFD","request_duration_ms":1193}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:51 GMT + - Thu, 11 Apr 2024 01:40:10 GMT Content-Type: - application/json Content-Length: @@ -725,7 +725,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ERo2W5xTSGP6gl + - req_zgJCJAnxlgF0ia Stripe-Version: - '2023-10-16' Vary: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSGKuuB1fWySn2gxyzpL0", + "id": "pi_3P4CcVKuuB1fWySn1YaCPqvM", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237748, + "created": 1712799607, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSGKuuB1fWySn2wBCA4xI", + "latest_charge": "ch_3P4CcVKuuB1fWySn1ydPbd3h", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSFKuuB1fWySnSX48fWqI", + "payment_method": "pm_1P4CcUKuuB1fWySnnAyKF7Tq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:51 GMT + recorded_at: Thu, 11 Apr 2024 01:40:10 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml index c793fa49ef..7933c999f5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t6ASt1pJdtCSur","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_0bNBmEKswppHmu","request_duration_ms":457}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:45 GMT + - Thu, 11 Apr 2024 01:40:03 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1b3a5ee1-e323-41e9-b968-3974afa6dc22 + - 336f98c3-42f1-4e58-9df3-fc770404ba57 Original-Request: - - req_TnLyKYOdCCT2DQ + - req_aLeiZFZpNPJxN4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_TnLyKYOdCCT2DQ + - req_aLeiZFZpNPJxN4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qSDKuuB1fWySndSTXrgfT", + "id": "pm_1P4CcRKuuB1fWySnkGo4g3Le", "object": "payment_method", "billing_details": { "address": { @@ -122,28 +122,28 @@ http_interactions: }, "wallet": null }, - "created": 1712237745, + "created": 1712799603, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:35:45 GMT + recorded_at: Thu, 11 Apr 2024 01:40:03 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P1qSDKuuB1fWySndSTXrgfT&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4CcRKuuB1fWySnkGo4g3Le&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TnLyKYOdCCT2DQ","request_duration_ms":452}}' + - '{"last_request_metrics":{"request_id":"req_aLeiZFZpNPJxN4","request_duration_ms":685}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:46 GMT + - Thu, 11 Apr 2024 01:40:04 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - db28b8c6-f534-4eaf-81eb-add9c400defd + - 8002779b-a612-47b7-a5b4-d9d1a12a9244 Original-Request: - - req_fH1YjHjcZmwfmI + - req_y4GQON6eFnGQ3e Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_fH1YjHjcZmwfmI + - req_y4GQON6eFnGQ3e Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSDKuuB1fWySn1PWgLiEo", + "id": "pi_3P4CcSKuuB1fWySn0Nz02znm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237745, + "created": 1712799604, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSDKuuB1fWySndSTXrgfT", + "payment_method": "pm_1P4CcRKuuB1fWySnkGo4g3Le", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +262,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:46 GMT + recorded_at: Thu, 11 Apr 2024 01:40:04 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qSDKuuB1fWySn1PWgLiEo/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcSKuuB1fWySn0Nz02znm/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fH1YjHjcZmwfmI","request_duration_ms":470}}' + - '{"last_request_metrics":{"request_id":"req_y4GQON6eFnGQ3e","request_duration_ms":611}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:35:47 GMT + - Thu, 11 Apr 2024 01:40:05 GMT Content-Type: - application/json Content-Length: @@ -322,15 +322,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f2117a25-ec60-4cdf-b729-20bd6ab30447 + - 12ef0f19-50f3-4af1-8f16-384dedacee64 Original-Request: - - req_ay8y3Oiz3Rf7n2 + - req_lVHX6rQCXZCAug Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ay8y3Oiz3Rf7n2 + - req_lVHX6rQCXZCAug Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qSDKuuB1fWySn1PWgLiEo", + "id": "pi_3P4CcSKuuB1fWySn0Nz02znm", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237745, + "created": 1712799604, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qSDKuuB1fWySn1nIOCvSD", + "latest_charge": "ch_3P4CcSKuuB1fWySn0C2edlrW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qSDKuuB1fWySndSTXrgfT", + "payment_method": "pm_1P4CcRKuuB1fWySnkGo4g3Le", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:35:47 GMT + recorded_at: Thu, 11 Apr 2024 01:40:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml index b23186e721..56958d0c51 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zN2EHx9dXN8JGT","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_DwV7h1Uqx5qRyJ","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:28 GMT + - Thu, 11 Apr 2024 01:41:53 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2e020a00-8edd-446c-aaa0-8921ab2e83bf + - c56f8ef0-64e7-4894-9c89-792de9ced705 Original-Request: - - req_bX7SolRvvOcGLb + - req_663IZbDMazhrUg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bX7SolRvvOcGLb + - req_663IZbDMazhrUg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTsKuuB1fWySnuPDWGOWS", + "id": "pm_1P4CeCKuuB1fWySnmrRioPE6", "object": "payment_method", "billing_details": { "address": { @@ -122,19 +122,19 @@ http_interactions: }, "wallet": null }, - "created": 1712237848, + "created": 1712799712, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:28 GMT + recorded_at: Thu, 11 Apr 2024 01:41:53 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=jesica%40framicronin.com + string: expand[0]=sources&email=lindsey_rippin%40trantow.us headers: Content-Type: - application/x-www-form-urlencoded @@ -162,11 +162,11 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:29 GMT + - Thu, 11 Apr 2024 01:41:54 GMT Content-Type: - application/json Content-Length: - - '819' + - '822' Connection: - close Access-Control-Allow-Credentials: @@ -189,15 +189,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 87fcb6f2-816a-413c-b39e-16b42fe95c5c + - 18cca20f-7488-41e1-bc59-c66f0ef53974 Original-Request: - - req_eTdw90N6YKruvz + - req_jTwDwso2b5TKw3 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eTdw90N6YKruvz + - req_jTwDwso2b5TKw3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -212,19 +212,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PrZdVp1b2to3Ll", + "id": "cus_Pu0fQxuWtEH6qW", "object": "customer", "address": null, "balance": 0, - "created": 1712237849, + "created": 1712799713, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "jesica@framicronin.com", - "invoice_prefix": "A4E930BB", + "email": "lindsey_rippin@trantow.us", + "invoice_prefix": "1885CE46", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -243,18 +243,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_PrZdVp1b2to3Ll/sources" + "url": "/v1/customers/cus_Pu0fQxuWtEH6qW/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 04 Apr 2024 13:37:29 GMT + recorded_at: Thu, 11 Apr 2024 01:41:54 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P1qTsKuuB1fWySnuPDWGOWS/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4CeCKuuB1fWySnmrRioPE6/attach body: encoding: UTF-8 - string: customer=cus_PrZdVp1b2to3Ll + string: customer=cus_Pu0fQxuWtEH6qW headers: Content-Type: - application/x-www-form-urlencoded @@ -282,7 +282,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:30 GMT + - Thu, 11 Apr 2024 01:41:55 GMT Content-Type: - application/json Content-Length: @@ -310,15 +310,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 461dd3e2-ca69-4d88-b10f-72cb2af4486a + - e55abfe7-1342-467d-8787-fb3dddf37d1c Original-Request: - - req_xAvZfffh4ncgz7 + - req_1fspcyQuTouJT8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xAvZfffh4ncgz7 + - req_1fspcyQuTouJT8 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTsKuuB1fWySnuPDWGOWS", + "id": "pm_1P4CeCKuuB1fWySnmrRioPE6", "object": "payment_method", "billing_details": { "address": { @@ -374,11 +374,11 @@ http_interactions: }, "wallet": null }, - "created": 1712237848, - "customer": "cus_PrZdVp1b2to3Ll", + "created": 1712799712, + "customer": "cus_Pu0fQxuWtEH6qW", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:30 GMT + recorded_at: Thu, 11 Apr 2024 01:41:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml index 9f2405d2eb..8f33bf6846 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bX7SolRvvOcGLb","request_duration_ms":556}}' + - '{"last_request_metrics":{"request_id":"req_663IZbDMazhrUg","request_duration_ms":548}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:31 GMT + - Thu, 11 Apr 2024 01:41:55 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e88784fe-911a-4c6c-a4b1-e6ba2931566f + - 193e4b72-8d47-4067-80ea-ca5cc4e93e8d Original-Request: - - req_vnEA9kuFOBlMML + - req_cdipUQWcU4UUwq Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vnEA9kuFOBlMML + - req_cdipUQWcU4UUwq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTuKuuB1fWySnNjyC812d", + "id": "pm_1P4CeFKuuB1fWySnmaTxxNuU", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237851, + "created": 1712799715, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:31 GMT + recorded_at: Thu, 11 Apr 2024 01:41:55 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,13 +137,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vnEA9kuFOBlMML","request_duration_ms":491}}' + - '{"last_request_metrics":{"request_id":"req_cdipUQWcU4UUwq","request_duration_ms":490}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:31 GMT + - Thu, 11 Apr 2024 01:41:55 GMT Content-Type: - application/json Content-Length: @@ -187,15 +187,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a7d59bbe-4ac7-489c-bb20-cb527fa79d30 + - 037a7bca-eed5-424a-93ac-f5ec0762abfc Original-Request: - - req_ZExNgmwbJE20pI + - req_5eQOeqgw6dKmzJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZExNgmwbJE20pI + - req_5eQOeqgw6dKmzJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PrZd0VkXqJY1MP", + "id": "cus_Pu0f2TogaRRMaC", "object": "customer", "address": null, "balance": 0, - "created": 1712237851, + "created": 1712799715, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "92E17D77", + "invoice_prefix": "7AE4CF7C", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,22 +238,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 04 Apr 2024 13:37:31 GMT + recorded_at: Thu, 11 Apr 2024 01:41:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P1qTuKuuB1fWySnNjyC812d/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4CeFKuuB1fWySnmaTxxNuU/attach body: encoding: UTF-8 - string: customer=cus_PrZd0VkXqJY1MP + string: customer=cus_Pu0f2TogaRRMaC headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZExNgmwbJE20pI","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_5eQOeqgw6dKmzJ","request_duration_ms":508}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:32 GMT + - Thu, 11 Apr 2024 01:41:56 GMT Content-Type: - application/json Content-Length: @@ -298,15 +298,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0ee0c81c-bccf-4e11-8d80-9e54ba12f043 + - 417a6010-7b43-4e9b-8fae-31897602e7d9 Original-Request: - - req_uU7ESpHotpLyHH + - req_5U49TOk1gV8WNx Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_uU7ESpHotpLyHH + - req_5U49TOk1gV8WNx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qTuKuuB1fWySnNjyC812d", + "id": "pm_1P4CeFKuuB1fWySnmaTxxNuU", "object": "payment_method", "billing_details": { "address": { @@ -362,19 +362,19 @@ http_interactions: }, "wallet": null }, - "created": 1712237851, - "customer": "cus_PrZd0VkXqJY1MP", + "created": 1712799715, + "customer": "cus_Pu0f2TogaRRMaC", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:37:32 GMT + recorded_at: Thu, 11 Apr 2024 01:41:56 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=herminia.watsica%40hermann.name + string: expand[0]=sources&email=thu.blick%40johns.name headers: Content-Type: - application/x-www-form-urlencoded @@ -402,11 +402,11 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:33 GMT + - Thu, 11 Apr 2024 01:41:58 GMT Content-Type: - application/json Content-Length: - - '826' + - '817' Connection: - close Access-Control-Allow-Credentials: @@ -429,15 +429,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e351c382-f845-4ac1-9481-514e6480819b + - 62c899d4-36ea-483f-adb2-c10d3218882f Original-Request: - - req_mDyqDYAmUxLx3A + - req_he6EdhHUgWq93Z Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mDyqDYAmUxLx3A + - req_he6EdhHUgWq93Z Stripe-Should-Retry: - 'false' Stripe-Version: @@ -452,19 +452,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PrZdZqPMG54aRU", + "id": "cus_Pu0f6RMpYrKZwF", "object": "customer", "address": null, "balance": 0, - "created": 1712237853, + "created": 1712799717, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "herminia.watsica@hermann.name", - "invoice_prefix": "C0D4867A", + "email": "thu.blick@johns.name", + "invoice_prefix": "F7CD4451", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -483,18 +483,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_PrZdZqPMG54aRU/sources" + "url": "/v1/customers/cus_Pu0f6RMpYrKZwF/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 04 Apr 2024 13:37:33 GMT + recorded_at: Thu, 11 Apr 2024 01:41:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P1qTuKuuB1fWySnNjyC812d/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4CeFKuuB1fWySnmaTxxNuU/attach body: encoding: UTF-8 - string: customer=cus_PrZdZqPMG54aRU + string: customer=cus_Pu0f6RMpYrKZwF headers: Content-Type: - application/x-www-form-urlencoded @@ -522,7 +522,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:37:34 GMT + - Thu, 11 Apr 2024 01:41:58 GMT Content-Type: - application/json Content-Length: @@ -550,15 +550,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 16684cab-bfbd-4535-93b5-daf3e80a606b + - 551d8f52-a541-4a28-b6c6-1c3bece46b7b Original-Request: - - req_MLszuoyPB2I5oO + - req_mI5f8rJX7LkRNg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MLszuoyPB2I5oO + - req_mI5f8rJX7LkRNg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -575,9 +575,9 @@ http_interactions: { "error": { "message": "The payment method you provided has already been attached to a customer.", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_MLszuoyPB2I5oO?t=1712237854", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_mI5f8rJX7LkRNg?t=1712799718", "type": "invalid_request_error" } } - recorded_at: Thu, 04 Apr 2024 13:37:34 GMT + recorded_at: Thu, 11 Apr 2024 01:41:58 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.14.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.15.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml index d09c2d6be6..adcfacd728 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.14.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=lettuce.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mMJQsa3EGnz6Dv","request_duration_ms":381}}' + - '{"last_request_metrics":{"request_id":"req_rZwiAlPiMghx6Z","request_duration_ms":321}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:45 GMT + - Thu, 11 Apr 2024 01:43:03 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1ac839ea-16e1-4e09-b35d-c8ea53fd8eb1 + - 879adbf6-353e-4db0-9d2e-045efbe7b2f5 Original-Request: - - req_Z6PfgRzTcacXtR + - req_72pqjUFLNff7tK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Z6PfgRzTcacXtR + - req_72pqjUFLNff7tK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qV5QSXWgDKCVa", + "id": "acct_1P4CfK4DTqI1KHSC", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712237924, + "created": 1712799783, "default_currency": "aud", "details_submitted": false, "email": "lettuce.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P1qV5QSXWgDKCVa/external_accounts" + "url": "/v1/accounts/acct_1P4CfK4DTqI1KHSC/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 04 Apr 2024 13:38:45 GMT + recorded_at: Thu, 11 Apr 2024 01:43:03 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -218,13 +218,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Z6PfgRzTcacXtR","request_duration_ms":2059}}' + - '{"last_request_metrics":{"request_id":"req_72pqjUFLNff7tK","request_duration_ms":1704}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:45 GMT + - Thu, 11 Apr 2024 01:43:04 GMT Content-Type: - application/json Content-Length: @@ -273,7 +273,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ngVMy7K3b4r1zq + - req_cVmuMyGhOymRHW Stripe-Version: - '2023-10-16' Vary: @@ -286,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P1qV7KuuB1fWySn3gqeKnuM", + "id": "pm_1P4CfMKuuB1fWySn3qsz24ig", "object": "payment_method", "billing_details": { "address": { @@ -327,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1712237925, + "created": 1712799784, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 04 Apr 2024 13:38:45 GMT + recorded_at: Thu, 11 Apr 2024 01:43:04 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -342,19 +342,19 @@ http_interactions: string: amount=2600¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ngVMy7K3b4r1zq","request_duration_ms":424}}' + - '{"last_request_metrics":{"request_id":"req_cVmuMyGhOymRHW","request_duration_ms":465}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qV5QSXWgDKCVa + - acct_1P4CfK4DTqI1KHSC Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:47 GMT + - Thu, 11 Apr 2024 01:43:05 GMT Content-Type: - application/json Content-Length: @@ -394,17 +394,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9e8aa74a-28c7-4a9b-b4a2-89fe42df9787 + - 6bc453c9-c704-43df-9588-acf3bed094d4 Original-Request: - - req_goLlCxJFfXiruB + - req_fkwHCNHDBioFBT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_goLlCxJFfXiruB + - req_fkwHCNHDBioFBT Stripe-Account: - - acct_1P1qV5QSXWgDKCVa + - acct_1P4CfK4DTqI1KHSC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -419,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qV8QSXWgDKCVa1oZUk5la", + "id": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -435,18 +435,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237926, + "created": 1712799784, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qV8QSXWgDKCVa10ThDff2", + "latest_charge": "ch_3P4CfM4DTqI1KHSC05y4hqBD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qV8QSXWgDKCVaeUYthEgj", + "payment_method": "pm_1P4CfM4DTqI1KHSCV2Ro75ZR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,16 +471,16 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:47 GMT + recorded_at: Thu, 11 Apr 2024 01:43:05 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qV8QSXWgDKCVa1oZUk5la + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfM4DTqI1KHSC0MkqvQIb body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: @@ -490,7 +490,7 @@ http_interactions: X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P1qV5QSXWgDKCVa + - acct_1P4CfK4DTqI1KHSC Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -503,7 +503,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:53 GMT + - Thu, 11 Apr 2024 01:43:10 GMT Content-Type: - application/json Content-Length: @@ -535,9 +535,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_agn191tIigMx5V + - req_ZgQVUQCsMeHN7C Stripe-Account: - - acct_1P1qV5QSXWgDKCVa + - acct_1P4CfK4DTqI1KHSC Stripe-Version: - '2023-10-16' Vary: @@ -550,7 +550,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qV8QSXWgDKCVa1oZUk5la", + "id": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -566,18 +566,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712237926, + "created": 1712799784, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qV8QSXWgDKCVa10ThDff2", + "latest_charge": "ch_3P4CfM4DTqI1KHSC05y4hqBD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qV8QSXWgDKCVaeUYthEgj", + "payment_method": "pm_1P4CfM4DTqI1KHSCV2Ro75ZR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -602,10 +602,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:53 GMT + recorded_at: Thu, 11 Apr 2024 01:43:10 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P1qV8QSXWgDKCVa1oZUk5la + uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfM4DTqI1KHSC0MkqvQIb body: encoding: US-ASCII string: '' @@ -621,7 +621,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P1qV5QSXWgDKCVa + - acct_1P4CfK4DTqI1KHSC Connection: - close Accept-Encoding: @@ -636,11 +636,11 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:53 GMT + - Thu, 11 Apr 2024 01:43:11 GMT Content-Type: - application/json Content-Length: - - '5159' + - '5160' Connection: - close Access-Control-Allow-Credentials: @@ -668,9 +668,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eGEHJbHKIPJ59Z + - req_1c8gJiCkSYSlcd Stripe-Account: - - acct_1P1qV5QSXWgDKCVa + - acct_1P4CfK4DTqI1KHSC Stripe-Version: - '2020-08-27' Vary: @@ -683,7 +683,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P1qV8QSXWgDKCVa1oZUk5la", + "id": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -701,7 +701,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P1qV8QSXWgDKCVa10ThDff2", + "id": "ch_3P4CfM4DTqI1KHSC05y4hqBD", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -709,7 +709,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P1qV8QSXWgDKCVa1vBAR7E0", + "balance_transaction": "txn_3P4CfM4DTqI1KHSC08UYiG5w", "billing_details": { "address": { "city": null, @@ -725,7 +725,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712237926, + "created": 1712799784, "currency": "aud", "customer": null, "description": null, @@ -745,13 +745,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 8, + "risk_score": 53, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P1qV8QSXWgDKCVa1oZUk5la", - "payment_method": "pm_1P1qV8QSXWgDKCVaeUYthEgj", + "payment_intent": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", + "payment_method": "pm_1P4CfM4DTqI1KHSCV2Ro75ZR", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -794,14 +794,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDFxVjVRU1hXZ0RLQ1ZhKO3aurAGMgarbxnXjjM6LBakbEbV6igFS88gLYDgYSYiamEBJQ5u6S_MKxGHuKaxTf62ifdDH0YfzrRd", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRDZks0RFRxSTFLSFNDKK-A3bAGMgaEzm8X0Ng6LBY6XR_SMmJbOc2RwZi-TNgXWhZ4KuPwF9S0dVgxeR3fI-bjUndA_gq25rPA", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P1qV8QSXWgDKCVa10ThDff2/refunds" + "url": "/v1/charges/ch_3P4CfM4DTqI1KHSC05y4hqBD/refunds" }, "review": null, "shipping": null, @@ -816,22 +816,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P1qV8QSXWgDKCVa1oZUk5la" + "url": "/v1/charges?payment_intent=pi_3P4CfM4DTqI1KHSC0MkqvQIb" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712237926, + "created": 1712799784, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P1qV8QSXWgDKCVa10ThDff2", + "latest_charge": "ch_3P4CfM4DTqI1KHSC05y4hqBD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P1qV8QSXWgDKCVaeUYthEgj", + "payment_method": "pm_1P4CfM4DTqI1KHSCV2Ro75ZR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -856,10 +856,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 04 Apr 2024 13:38:53 GMT + recorded_at: Thu, 11 Apr 2024 01:43:11 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3P1qV8QSXWgDKCVa10ThDff2/refunds + uri: https://api.stripe.com/v1/charges/ch_3P4CfM4DTqI1KHSC05y4hqBD/refunds body: encoding: UTF-8 string: amount=2600&expand[0]=charge @@ -877,7 +877,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P1qV5QSXWgDKCVa + - acct_1P4CfK4DTqI1KHSC Connection: - close Accept-Encoding: @@ -892,11 +892,11 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:55 GMT + - Thu, 11 Apr 2024 01:43:13 GMT Content-Type: - application/json Content-Length: - - '4535' + - '4536' Connection: - close Access-Control-Allow-Credentials: @@ -920,17 +920,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 796d0e40-6ab4-41ff-8734-26246608488d + - ec9624ef-5f45-4ddb-8944-1dddc43d8d17 Original-Request: - - req_DP21prd2Ns8zHw + - req_ZXeJO9NE9ujT2w Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DP21prd2Ns8zHw + - req_ZXeJO9NE9ujT2w Stripe-Account: - - acct_1P1qV5QSXWgDKCVa + - acct_1P4CfK4DTqI1KHSC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -945,12 +945,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3P1qV8QSXWgDKCVa1ps5eQft", + "id": "re_3P4CfM4DTqI1KHSC0HbWGcu4", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3P1qV8QSXWgDKCVa1wK8RobT", + "balance_transaction": "txn_3P4CfM4DTqI1KHSC0zdbgD9L", "charge": { - "id": "ch_3P1qV8QSXWgDKCVa10ThDff2", + "id": "ch_3P4CfM4DTqI1KHSC05y4hqBD", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -958,7 +958,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P1qV8QSXWgDKCVa1vBAR7E0", + "balance_transaction": "txn_3P4CfM4DTqI1KHSC08UYiG5w", "billing_details": { "address": { "city": null, @@ -974,7 +974,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712237926, + "created": 1712799784, "currency": "aud", "customer": null, "description": null, @@ -994,13 +994,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 8, + "risk_score": 53, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P1qV8QSXWgDKCVa1oZUk5la", - "payment_method": "pm_1P1qV8QSXWgDKCVaeUYthEgj", + "payment_intent": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", + "payment_method": "pm_1P4CfM4DTqI1KHSCV2Ro75ZR", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -1043,18 +1043,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDFxVjVRU1hXZ0RLQ1ZhKO7aurAGMgZxiUWSjX06LBaPUgPj0EBFq1eOWFvHXgi8y4yAwkl7PLtM2XA53YBPSjxwiSw27KZd3Qt2", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRDZks0RFRxSTFLSFNDKLGA3bAGMgZceqfeYwQ6LBbgxCEDtyBnPvWoU32OfZrKLBqWBetDroE4l_pnhn1o5yPene_35Tkfzp_e", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3P1qV8QSXWgDKCVa1ps5eQft", + "id": "re_3P4CfM4DTqI1KHSC0HbWGcu4", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3P1qV8QSXWgDKCVa1wK8RobT", - "charge": "ch_3P1qV8QSXWgDKCVa10ThDff2", - "created": 1712237934, + "balance_transaction": "txn_3P4CfM4DTqI1KHSC0zdbgD9L", + "charge": "ch_3P4CfM4DTqI1KHSC05y4hqBD", + "created": 1712799792, "currency": "aud", "destination_details": { "card": { @@ -1065,7 +1065,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P1qV8QSXWgDKCVa1oZUk5la", + "payment_intent": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1075,7 +1075,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3P1qV8QSXWgDKCVa10ThDff2/refunds" + "url": "/v1/charges/ch_3P4CfM4DTqI1KHSC05y4hqBD/refunds" }, "review": null, "shipping": null, @@ -1087,7 +1087,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1712237934, + "created": 1712799792, "currency": "aud", "destination_details": { "card": { @@ -1098,29 +1098,29 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P1qV8QSXWgDKCVa1oZUk5la", + "payment_intent": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 04 Apr 2024 13:38:55 GMT + recorded_at: Thu, 11 Apr 2024 01:43:13 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P1qV5QSXWgDKCVa + uri: https://api.stripe.com/v1/accounts/acct_1P4CfK4DTqI1KHSC body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.14.0 + - Stripe/v1 RubyBindings/10.15.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_goLlCxJFfXiruB","request_duration_ms":1423}}' + - '{"last_request_metrics":{"request_id":"req_fkwHCNHDBioFBT","request_duration_ms":1429}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: @@ -1137,7 +1137,7 @@ http_interactions: Server: - nginx Date: - - Thu, 04 Apr 2024 13:38:55 GMT + - Thu, 11 Apr 2024 01:43:13 GMT Content-Type: - application/json Content-Length: @@ -1168,9 +1168,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_75j3QEgKmmqdN4 + - req_hNio9dlQY2KeGl Stripe-Account: - - acct_1P1qV5QSXWgDKCVa + - acct_1P4CfK4DTqI1KHSC Stripe-Version: - '2023-10-16' Vary: @@ -1183,9 +1183,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P1qV5QSXWgDKCVa", + "id": "acct_1P4CfK4DTqI1KHSC", "object": "account", "deleted": true } - recorded_at: Thu, 04 Apr 2024 13:38:55 GMT + recorded_at: Thu, 11 Apr 2024 01:43:13 GMT recorded_with: VCR 6.2.0 From 34fc6283b87d6a0ed2f415effa3261cce0f68509 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 11 Apr 2024 11:46:52 +1000 Subject: [PATCH 311/374] Remove unused code --- app/reflexes/admin/orders_reflex.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/reflexes/admin/orders_reflex.rb b/app/reflexes/admin/orders_reflex.rb index 8010277ecc..b52136391e 100644 --- a/app/reflexes/admin/orders_reflex.rb +++ b/app/reflexes/admin/orders_reflex.rb @@ -126,11 +126,6 @@ module Admin params[:id] = @order.number end - def all_distributors_can_invoice?(orders) - distributor_ids = orders.map(&:distributor_id) - Enterprise.where(id: distributor_ids, abn: nil).empty? - end - def render_business_number_required_error(distributors) distributor_names = distributors.pluck(:name) From 4d94826516e1081ee9ba88310a1ecb1fb5abfe58 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:11:45 +0000 Subject: [PATCH 312/374] chore(deps-dev): bump rubocop from 1.63.0 to 1.63.1 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.63.0 to 1.63.1. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.63.0...v1.63.1) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index f38adc1bd9..a8534918e4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -648,7 +648,7 @@ GEM rswag-ui (2.13.0) actionpack (>= 3.1, < 7.2) railties (>= 3.1, < 7.2) - rubocop (1.63.0) + rubocop (1.63.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) From 1ae876ef96e05535ec99f7c3f8aff0c9402097d0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:14:21 +0000 Subject: [PATCH 313/374] chore(deps): bump stripe from 10.15.0 to 11.0.0 Bumps [stripe](https://github.com/stripe/stripe-ruby) from 10.15.0 to 11.0.0. - [Release notes](https://github.com/stripe/stripe-ruby/releases) - [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md) - [Commits](https://github.com/stripe/stripe-ruby/compare/v10.15.0...v11.0.0) --- updated-dependencies: - dependency-name: stripe dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index f38adc1bd9..83faa6b721 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -751,7 +751,7 @@ GEM stimulus_reflex (>= 3.3.0) stringex (2.8.6) stringio (3.1.0) - stripe (10.15.0) + stripe (11.0.0) swd (2.0.3) activesupport (>= 3) attr_required (>= 0.0.5) From 38f97ffc8ef6863c9892b207eef6e19d06f6687a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:23:21 +0000 Subject: [PATCH 314/374] chore(deps): bump devise from 4.9.3 to 4.9.4 Bumps [devise](https://github.com/heartcombo/devise) from 4.9.3 to 4.9.4. - [Release notes](https://github.com/heartcombo/devise/releases) - [Changelog](https://github.com/heartcombo/devise/blob/main/CHANGELOG.md) - [Commits](https://github.com/heartcombo/devise/compare/v4.9.3...v4.9.4) --- updated-dependencies: - dependency-name: devise dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f38adc1bd9..43cfeda96f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -173,7 +173,7 @@ GEM aws-eventstream (~> 1, >= 1.0.2) base64 (0.2.0) bcp47_spec (0.2.1) - bcrypt (3.1.19) + bcrypt (3.1.20) bigdecimal (3.0.2) bindata (2.5.0) bindex (0.8.1) @@ -245,7 +245,7 @@ GEM irb (~> 1.10) reline (>= 0.3.8) debugger-linecache (1.2.0) - devise (4.9.3) + devise (4.9.4) bcrypt (~> 3.0) orm_adapter (~> 0.1) railties (>= 4.1.0) @@ -437,7 +437,7 @@ GEM net-protocol newrelic_rpm (9.8.0) nio4r (2.7.0) - nokogiri (1.16.3) + nokogiri (1.16.4) mini_portile2 (~> 2.8.2) racc (~> 1.4) oauth2 (1.4.11) @@ -568,7 +568,7 @@ GEM thor (~> 1.0) zeitwerk (~> 2.5) rainbow (3.1.1) - rake (13.1.0) + rake (13.2.1) ransack (4.1.1) activerecord (>= 6.1.5) activesupport (>= 6.1.5) From 5ec1418effd069cf729f679c4a854f07015fe1e0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:25:29 +0000 Subject: [PATCH 315/374] chore(deps): bump datafoodconsortium-connector Bumps [datafoodconsortium-connector](https://github.com/datafoodconsortium/connector-ruby) from 1.0.0.pre.alpha.11 to 1.0.0.pre.alpha.12. - [Release notes](https://github.com/datafoodconsortium/connector-ruby/releases) - [Changelog](https://github.com/datafoodconsortium/connector-ruby/blob/main/CHANGELOG.md) - [Commits](https://github.com/datafoodconsortium/connector-ruby/compare/v1.0.0-alpha.11...v1.0.0-alpha.12) --- updated-dependencies: - dependency-name: datafoodconsortium-connector dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f38adc1bd9..527ef9ce0b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -238,7 +238,7 @@ GEM activerecord (>= 5.a) database_cleaner-core (~> 2.0.0) database_cleaner-core (2.0.1) - datafoodconsortium-connector (1.0.0.pre.alpha.11) + datafoodconsortium-connector (1.0.0.pre.alpha.12) virtual_assembly-semantizer (~> 1.0, >= 1.0.5) date (3.3.4) debug (1.9.2) @@ -786,7 +786,7 @@ GEM rails (>= 5.2, < 8.0) stimulus_reflex (>= 3.5.0.pre2) view_component (>= 2.28.0) - virtual_assembly-semantizer (1.0.5) + virtual_assembly-semantizer (1.1.1) json-ld (~> 3.2, >= 3.2.3) warden (1.2.9) rack (>= 2.0.9) From f4108e97c71f4ef0fc3e54c4879ce42275782830 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Tue, 9 Apr 2024 17:10:43 +0100 Subject: [PATCH 316/374] Improves regression spec after reviewer feedback Removes shared_examples, defines a separate method Removes pending to bring spec to green --- spec/system/admin/orders_spec.rb | 121 ++++++++++++++++--------------- 1 file changed, 63 insertions(+), 58 deletions(-) diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index 01aa5d5802..d8befcb8d4 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -584,6 +584,23 @@ describe ' reader.pages.map(&:text) end + def print_all_invoices + page.find("span.icon-reorder", text: "ACTIONS").click + within ".ofn-drop-down .menu" do + expect { + page.find("span", text: "Print Invoices").click # Prints invoices in bulk + }.to enqueue_job(BulkInvoiceJob).exactly(:once) + end + + expect(page).to have_content "Compiling Invoices" + expect(page).to have_content "Please wait until the PDF is ready " \ + "before closing this modal." + + perform_enqueued_jobs(only: BulkInvoiceJob) + + expect(page).to have_content "Bulk Invoice created" + end + let(:order4_selector){ "#order_#{order4.id} input[name='bulk_ids[]']" } let(:order5_selector){ "#order_#{order5.id} input[name='bulk_ids[]']" } @@ -662,36 +679,6 @@ describe ' end end - shared_examples "prints invoices accordering to column ordering" do - it "bulk prints invoices in pdf format" do - page.find("span.icon-reorder", text: "ACTIONS").click - within ".ofn-drop-down .menu" do - expect { - page.find("span", text: "Print Invoices").click # Prints invoices in bulk - }.to enqueue_job(BulkInvoiceJob).exactly(:once) - end - - expect(page).to have_content "Compiling Invoices" - expect(page).to have_content "Please wait until the PDF is ready " \ - "before closing this modal." - - perform_enqueued_jobs(only: BulkInvoiceJob) - - expect(page).to have_content "Bulk Invoice created" - - within ".modal-content" do - expect(page).to have_link(class: "button", text: "VIEW FILE", - href: /invoices/) - - invoice_content = extract_pdf_content - - expect( - invoice_content.join - ).to match(/#{surnames[0]}.*#{surnames[1]}.*#{surnames[2]}.*#{surnames[3]}/m) - end - end - end - context "ABN is not required" do before do allow(Spree::Config).to receive(:enterprise_number_required_on_invoices?) @@ -703,34 +690,7 @@ describe ' context "with legal invoices feature", feature: :invoices do it_behaves_like "can bulk print invoices from 2 orders" end - context "ordering by customer name" do - context "ascending" do - let!(:surnames) { - [order2.name.gsub(/.* /, ""), order3.name.gsub(/.* /, ""), - order4.name.gsub(/.* /, ""), order5.name.gsub(/.* /, "")].sort - } - before do - page.find('a', text: "NAME").click # orders alphabetically (asc) - sleep(0.5) # waits for column sorting - page.find('#selectAll').click - end - it_behaves_like "prints invoices accordering to column ordering" - end - context "descending" do - let!(:surnames) { - [order2.name.gsub(/.* /, ""), order3.name.gsub(/.* /, ""), - order4.name.gsub(/.* /, ""), order5.name.gsub(/.* /, "")].sort.reverse - } - before do - page.find('a', text: "NAME").click # orders alphabetically (asc) - sleep(0.5) # waits for column sorting - page.find('a', text: "NAME").click # orders alphabetically (desc) - sleep(0.5) # waits for column sorting - page.find('#selectAll').click - end - it_behaves_like "prints invoices accordering to column ordering" - end - end + context "one of the two orders is not invoiceable" do before do order4.cancel! @@ -741,6 +701,51 @@ describe ' it_behaves_like "should ignore the non invoiceable order" end end + + context "ordering by customer name" do + context "ascending" do + let!(:surnames) { + [order2.name.gsub(/.* /, ""), order3.name.gsub(/.* /, ""), + order4.name.gsub(/.* /, ""), order5.name.gsub(/.* /, "")].sort + } + it "orders by customer name ascending" do + page.find('a', text: "NAME").click # orders alphabetically (asc) + sleep(0.5) # waits for column sorting + + page.find("#selectAll").click + + print_all_invoices + + invoice_content = extract_pdf_content + + expect( + invoice_content.join + ).to match(/#{surnames[0]}.*#{surnames[1]}.*#{surnames[2]}.*#{surnames[3]}/m) + end + end + context "descending" do + let!(:surnames) { + [order2.name.gsub(/.* /, ""), order3.name.gsub(/.* /, ""), + order4.name.gsub(/.* /, ""), order5.name.gsub(/.* /, "")].sort.reverse + } + it "order by customer name descending" do + page.find('a', text: "NAME").click # orders alphabetically (asc) + sleep(0.5) # waits for column sorting + page.find('a', text: "NAME").click # orders alphabetically (desc) + sleep(0.5) # waits for column sorting + + page.find("#selectAll").click + + print_all_invoices + + invoice_content = extract_pdf_content + + expect( + invoice_content.join + ).to match(/#{surnames[0]}.*#{surnames[1]}.*#{surnames[2]}.*#{surnames[3]}/m) + end + end + end end context "ABN is required" do before do From fd54a12bcb484a9e0882d37cbadf8c40338f3153 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 11 Apr 2024 12:36:47 +0100 Subject: [PATCH 317/374] Moves methods to end of the file --- spec/system/admin/orders_spec.rb | 53 ++++++++++++++++---------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index d8befcb8d4..d7b4ca715f 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -574,33 +574,6 @@ describe ' end context "can bulk print invoices" do - def extract_pdf_content - # Extract last part of invoice URL - link = page.find(class: "button", text: "VIEW FILE") - filename = link[:href].match %r{/invoices/.*} - - # Load invoice temp file directly instead of downloading - reader = PDF::Reader.new("tmp/#{filename}.pdf") - reader.pages.map(&:text) - end - - def print_all_invoices - page.find("span.icon-reorder", text: "ACTIONS").click - within ".ofn-drop-down .menu" do - expect { - page.find("span", text: "Print Invoices").click # Prints invoices in bulk - }.to enqueue_job(BulkInvoiceJob).exactly(:once) - end - - expect(page).to have_content "Compiling Invoices" - expect(page).to have_content "Please wait until the PDF is ready " \ - "before closing this modal." - - perform_enqueued_jobs(only: BulkInvoiceJob) - - expect(page).to have_content "Bulk Invoice created" - end - let(:order4_selector){ "#order_#{order4.id} input[name='bulk_ids[]']" } let(:order5_selector){ "#order_#{order5.id} input[name='bulk_ids[]']" } @@ -1158,4 +1131,30 @@ describe ' expect(find("input.datepicker").value).to be_empty end end + def extract_pdf_content + # Extract last part of invoice URL + link = page.find(class: "button", text: "VIEW FILE") + filename = link[:href].match %r{/invoices/.*} + + # Load invoice temp file directly instead of downloading + reader = PDF::Reader.new("tmp/#{filename}.pdf") + reader.pages.map(&:text) + end + + def print_all_invoices + page.find("span.icon-reorder", text: "ACTIONS").click + within ".ofn-drop-down .menu" do + expect { + page.find("span", text: "Print Invoices").click # Prints invoices in bulk + }.to enqueue_job(BulkInvoiceJob).exactly(:once) + end + + expect(page).to have_content "Compiling Invoices" + expect(page).to have_content "Please wait until the PDF is ready " \ + "before closing this modal." + + perform_enqueued_jobs(only: BulkInvoiceJob) + + expect(page).to have_content "Bulk Invoice created" + end end From cac9b515e0383a9cb1d559a000f265e87d2aeaf2 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 12 Apr 2024 12:06:31 +1000 Subject: [PATCH 318/374] Let Rubocop suggest extensions We are using all suggested extensions already and it's not suggesting anything at the moment. Using the default value for suggesting extensions will mean that Rubocop will tell us when there's a new recommended extension for our code base. --- .rubocop_styleguide.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.rubocop_styleguide.yml b/.rubocop_styleguide.yml index 0264a99261..a6c7d70984 100644 --- a/.rubocop_styleguide.yml +++ b/.rubocop_styleguide.yml @@ -3,7 +3,6 @@ # These are the rules we agreed upon and we work towards. AllCops: NewCops: enable - SuggestExtensions: false Exclude: - bin/**/* - db/**/* From e5323c8e82450bb435e8ec122a4db57ce1da85ab Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 12 Apr 2024 12:27:02 +1000 Subject: [PATCH 319/374] Update Stripe API recordings for new version --- .../redirects_to_unauthorized.yml | 42 +-- .../redirects_to_unauthorized.yml | 44 +-- .../redirects_to_unauthorized.yml | 44 +-- ...turns_with_a_status_of_access_revoked_.yml | 54 ++-- .../returns_with_a_status_of_connected_.yml | 68 ++--- .../saves_the_card_locally.yml | 80 ++--- .../_credit/refunds_the_payment.yml | 162 +++++----- ...t_intent_state_is_not_requires_capture.yml | 110 +++---- .../calls_Checkout_StripeRedirect.yml | 44 +-- ...urns_nil_when_an_order_is_not_supplied.yml | 44 +-- .../_purchase/completes_the_purchase.yml | 180 ++++++------ ..._error_message_to_help_developer_debug.yml | 116 ++++---- .../refunds_the_payment.yml | 208 ++++++------- .../void_the_payment.yml | 142 ++++----- ...stroys_the_record_and_notifies_Bugsnag.yml | 30 +- .../destroys_the_record.yml | 58 ++-- .../returns_true.yml | 128 ++++---- .../returns_false.yml | 104 +++---- .../returns_failed_response.yml | 48 +-- ...tus_with_Stripe_PaymentIntentValidator.yml | 70 ++--- .../returns_nil.yml | 48 +-- .../clones_the_payment_method_only.yml | 132 ++++----- ...th_the_payment_method_and_the_customer.yml | 276 +++++++++--------- .../raises_an_error.yml | 82 +++--- .../deletes_the_credit_card_clone.yml | 118 ++++---- ...the_credit_card_clone_and_the_customer.yml | 158 +++++----- ...t_intent_last_payment_error_as_message.yml | 88 +++--- ...t_intent_last_payment_error_as_message.yml | 88 +++--- ...t_intent_last_payment_error_as_message.yml | 88 +++--- ...t_intent_last_payment_error_as_message.yml | 88 +++--- ...t_intent_last_payment_error_as_message.yml | 88 +++--- ...t_intent_last_payment_error_as_message.yml | 88 +++--- ...t_intent_last_payment_error_as_message.yml | 88 +++--- ...t_intent_last_payment_error_as_message.yml | 88 +++--- .../captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../from_Diners_Club/captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../from_Discover/captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../from_JCB/captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../from_Mastercard/captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../from_UnionPay/captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../from_Visa/captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- .../from_Visa_debit_/captures_the_payment.yml | 152 +++++----- ...s_payment_intent_id_and_does_not_raise.yml | 76 ++--- ...rd_id_from_the_correct_response_fields.yml | 66 ++--- .../when_request_fails/raises_an_error.yml | 112 +++---- .../allows_to_refund_the_payment.yml | 206 ++++++------- 67 files changed, 3549 insertions(+), 3549 deletions(-) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml (91%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml (90%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml (90%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml (90%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml (91%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml (69%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml (83%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.15.0 => Stripe-v11.0.0}/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml (87%) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml similarity index 91% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml index 489f3218da..472152a4f3 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -29,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:07 GMT + - Fri, 12 Apr 2024 02:11:05 GMT Content-Type: - application/json Content-Length: @@ -56,19 +56,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d068d3de-3327-4195-9d6d-496fced66c39 + - b7820887-e8c2-4461-b90b-976c0c864d34 Original-Request: - - req_5cuGSkCL7l6PEN + - req_Zr0U7r29b5PxEQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5cuGSkCL7l6PEN + - req_Zr0U7r29b5PxEQ Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -79,7 +79,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CbW4JHxgXqNCi", + "id": "acct_1P4Za0QQGSeoUSTq", "object": "account", "business_profile": { "annual_revenue": null, @@ -124,7 +124,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799547, + "created": 1712887864, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -133,7 +133,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CbW4JHxgXqNCi/external_accounts" + "url": "/v1/accounts/acct_1P4Za0QQGSeoUSTq/external_accounts" }, "future_requirements": { "alternatives": [], @@ -230,24 +230,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:39:07 GMT + recorded_at: Fri, 12 Apr 2024 02:11:05 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CbW4JHxgXqNCi + uri: https://api.stripe.com/v1/accounts/acct_1P4Za0QQGSeoUSTq body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5cuGSkCL7l6PEN","request_duration_ms":2507}}' + - '{"last_request_metrics":{"request_id":"req_Zr0U7r29b5PxEQ","request_duration_ms":2332}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -262,7 +262,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:09 GMT + - Fri, 12 Apr 2024 02:11:07 GMT Content-Type: - application/json Content-Length: @@ -293,11 +293,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_t116V6JL8x4msM + - req_GTM1hN2ndb0731 Stripe-Account: - - acct_1P4CbW4JHxgXqNCi + - acct_1P4Za0QQGSeoUSTq Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -308,9 +308,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CbW4JHxgXqNCi", + "id": "acct_1P4Za0QQGSeoUSTq", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:39:09 GMT + recorded_at: Fri, 12 Apr 2024 02:11:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml similarity index 90% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml index 2e7b0fc03f..621de0c603 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml @@ -8,15 +8,15 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ntllhx76FuoTJG","request_duration_ms":1093}}' + - '{"last_request_metrics":{"request_id":"req_kpppcrnwXXC3gP","request_duration_ms":1054}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:15 GMT + - Fri, 12 Apr 2024 02:11:12 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 57574075-88d9-4bae-a100-ef4b2203c32b + - 041632ea-2993-4fdb-a0a2-7f56bbc59291 Original-Request: - - req_J3VQ7CvJAi207e + - req_yKnSDngjgaO9Tn Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_J3VQ7CvJAi207e + - req_yKnSDngjgaO9Tn Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cbd4GzQH7sTvf", + "id": "acct_1P4Za6QPzcJksguL", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799554, + "created": 1712887871, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Cbd4GzQH7sTvf/external_accounts" + "url": "/v1/accounts/acct_1P4Za6QPzcJksguL/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,24 +232,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:39:15 GMT + recorded_at: Fri, 12 Apr 2024 02:11:12 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Cbd4GzQH7sTvf + uri: https://api.stripe.com/v1/accounts/acct_1P4Za6QPzcJksguL body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_J3VQ7CvJAi207e","request_duration_ms":2169}}' + - '{"last_request_metrics":{"request_id":"req_yKnSDngjgaO9Tn","request_duration_ms":1893}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:16 GMT + - Fri, 12 Apr 2024 02:11:13 GMT Content-Type: - application/json Content-Length: @@ -295,11 +295,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wRB8EPVE14OgjJ + - req_IpCZda1xRlCxpU Stripe-Account: - - acct_1P4Cbd4GzQH7sTvf + - acct_1P4Za6QPzcJksguL Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -310,9 +310,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cbd4GzQH7sTvf", + "id": "acct_1P4Za6QPzcJksguL", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:39:16 GMT + recorded_at: Fri, 12 Apr 2024 02:11:13 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml similarity index 90% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml index a32fba3ede..cadfacdc9f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml @@ -8,15 +8,15 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t116V6JL8x4msM","request_duration_ms":1656}}' + - '{"last_request_metrics":{"request_id":"req_GTM1hN2ndb0731","request_duration_ms":1266}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:11 GMT + - Fri, 12 Apr 2024 02:11:09 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 90008096-9979-403c-acc4-34ad4cb9b59a + - a6cdd850-8e2c-42e8-8ee3-dedf59576679 Original-Request: - - req_Nm4QwjE6USodc1 + - req_OhGcl7jEPapuo1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Nm4QwjE6USodc1 + - req_OhGcl7jEPapuo1 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CbaQSEFMq0o7h", + "id": "acct_1P4Za3QRELxBCKHm", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799550, + "created": 1712887868, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CbaQSEFMq0o7h/external_accounts" + "url": "/v1/accounts/acct_1P4Za3QRELxBCKHm/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,24 +232,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:39:11 GMT + recorded_at: Fri, 12 Apr 2024 02:11:09 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CbaQSEFMq0o7h + uri: https://api.stripe.com/v1/accounts/acct_1P4Za3QRELxBCKHm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Nm4QwjE6USodc1","request_duration_ms":2054}}' + - '{"last_request_metrics":{"request_id":"req_OhGcl7jEPapuo1","request_duration_ms":1962}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:12 GMT + - Fri, 12 Apr 2024 02:11:10 GMT Content-Type: - application/json Content-Length: @@ -295,11 +295,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ntllhx76FuoTJG + - req_kpppcrnwXXC3gP Stripe-Account: - - acct_1P4CbaQSEFMq0o7h + - acct_1P4Za3QRELxBCKHm Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -310,9 +310,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CbaQSEFMq0o7h", + "id": "acct_1P4Za3QRELxBCKHm", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:39:12 GMT + recorded_at: Fri, 12 Apr 2024 02:11:10 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml similarity index 90% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml index 570922db4c..e90e63f3ad 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml @@ -8,15 +8,15 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wRB8EPVE14OgjJ","request_duration_ms":1079}}' + - '{"last_request_metrics":{"request_id":"req_IpCZda1xRlCxpU","request_duration_ms":1078}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:18 GMT + - Fri, 12 Apr 2024 02:11:15 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ae26d6fe-e80f-4e66-85e4-bf4197004de3 + - 49e1438c-9a87-4669-a72a-5a055a993afa Original-Request: - - req_T6L1t5nvtrxsyu + - req_sZMXXgnb37l3FN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_T6L1t5nvtrxsyu + - req_sZMXXgnb37l3FN Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CbgQK4fGWx4Eh", + "id": "acct_1P4Za9QS1yiW19oM", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799557, + "created": 1712887874, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CbgQK4fGWx4Eh/external_accounts" + "url": "/v1/accounts/acct_1P4Za9QS1yiW19oM/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,7 +232,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:39:18 GMT + recorded_at: Fri, 12 Apr 2024 02:11:15 GMT - request: method: get uri: https://api.stripe.com/v1/accounts/acct_fake_account @@ -241,15 +241,15 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_T6L1t5nvtrxsyu","request_duration_ms":2123}}' + - '{"last_request_metrics":{"request_id":"req_sZMXXgnb37l3FN","request_duration_ms":1813}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:18 GMT + - Fri, 12 Apr 2024 02:11:15 GMT Content-Type: - application/json Content-Length: @@ -299,24 +299,24 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/account-invalid" } } - recorded_at: Thu, 11 Apr 2024 01:39:18 GMT + recorded_at: Fri, 12 Apr 2024 02:11:15 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CbgQK4fGWx4Eh + uri: https://api.stripe.com/v1/accounts/acct_1P4Za9QS1yiW19oM body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_T6L1t5nvtrxsyu","request_duration_ms":2123}}' + - '{"last_request_metrics":{"request_id":"req_sZMXXgnb37l3FN","request_duration_ms":1813}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -331,7 +331,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:19 GMT + - Fri, 12 Apr 2024 02:11:16 GMT Content-Type: - application/json Content-Length: @@ -362,11 +362,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DDQoFFYpnDkwhm + - req_rbUBKwXoKU81wJ Stripe-Account: - - acct_1P4CbgQK4fGWx4Eh + - acct_1P4Za9QS1yiW19oM Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -377,9 +377,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CbgQK4fGWx4Eh", + "id": "acct_1P4Za9QS1yiW19oM", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:39:19 GMT + recorded_at: Fri, 12 Apr 2024 02:11:16 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml similarity index 91% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml index 0898fef69d..22897f1eea 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml @@ -8,15 +8,15 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DDQoFFYpnDkwhm","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_rbUBKwXoKU81wJ","request_duration_ms":1199}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:21 GMT + - Fri, 12 Apr 2024 02:11:18 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 41ec9ecc-fd34-4d63-9a5f-1b42241e324b + - 5b535c8e-1468-4cc2-9290-99a0c6af0717 Original-Request: - - req_rvgjiC0W8zFZQF + - req_GuLMrSeNfC4eaG Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rvgjiC0W8zFZQF + - req_GuLMrSeNfC4eaG Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CbkQQ4IpZOZtd", + "id": "acct_1P4ZaDQSqEaAHmwK", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799561, + "created": 1712887877, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CbkQQ4IpZOZtd/external_accounts" + "url": "/v1/accounts/acct_1P4ZaDQSqEaAHmwK/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,24 +232,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:39:22 GMT + recorded_at: Fri, 12 Apr 2024 02:11:18 GMT - request: method: get - uri: https://api.stripe.com/v1/accounts/acct_1P4CbkQQ4IpZOZtd + uri: https://api.stripe.com/v1/accounts/acct_1P4ZaDQSqEaAHmwK body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rvgjiC0W8zFZQF","request_duration_ms":2014}}' + - '{"last_request_metrics":{"request_id":"req_GuLMrSeNfC4eaG","request_duration_ms":1713}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:22 GMT + - Fri, 12 Apr 2024 02:11:19 GMT Content-Type: - application/json Content-Length: @@ -295,11 +295,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_crO2EXMKbAN4il + - req_av53tbSDUPqZ9Z Stripe-Account: - - acct_1P4CbkQQ4IpZOZtd + - acct_1P4ZaDQSqEaAHmwK Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -310,7 +310,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CbkQQ4IpZOZtd", + "id": "acct_1P4ZaDQSqEaAHmwK", "object": "account", "business_profile": { "annual_revenue": null, @@ -355,7 +355,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799561, + "created": 1712887877, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -364,7 +364,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CbkQQ4IpZOZtd/external_accounts" + "url": "/v1/accounts/acct_1P4ZaDQSqEaAHmwK/external_accounts" }, "future_requirements": { "alternatives": [], @@ -461,24 +461,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:39:22 GMT + recorded_at: Fri, 12 Apr 2024 02:11:19 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CbkQQ4IpZOZtd + uri: https://api.stripe.com/v1/accounts/acct_1P4ZaDQSqEaAHmwK body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_crO2EXMKbAN4il","request_duration_ms":548}}' + - '{"last_request_metrics":{"request_id":"req_av53tbSDUPqZ9Z","request_duration_ms":549}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -493,7 +493,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:23 GMT + - Fri, 12 Apr 2024 02:11:20 GMT Content-Type: - application/json Content-Length: @@ -524,11 +524,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ole2zlrl9v4eHp + - req_MGNPuL6lhTrTYi Stripe-Account: - - acct_1P4CbkQQ4IpZOZtd + - acct_1P4ZaDQSqEaAHmwK Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -539,9 +539,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CbkQQ4IpZOZtd", + "id": "acct_1P4ZaDQSqEaAHmwK", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:39:23 GMT + recorded_at: Fri, 12 Apr 2024 02:11:20 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml index b601f635f2..9cc422a484 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml @@ -8,15 +8,15 @@ http_interactions: string: card[number]=4242424242424242&card[exp_month]=9&card[exp_year]=2024&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ole2zlrl9v4eHp","request_duration_ms":1111}}' + - '{"last_request_metrics":{"request_id":"req_MGNPuL6lhTrTYi","request_duration_ms":965}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:24 GMT + - Fri, 12 Apr 2024 02:11:20 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 242a39ae-ca24-41c1-b352-803a73021a0a + - 7db10914-e4aa-4957-b3ea-8e052a61fabb Original-Request: - - req_1mCo8XniqdFbBH + - req_PsgzzbZ2zjIUF6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1mCo8XniqdFbBH + - req_PsgzzbZ2zjIUF6 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,10 +81,10 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "tok_1P4CboKuuB1fWySncwaaWZp3", + "id": "tok_1P4ZaGKuuB1fWySndzxvyn5W", "object": "token", "card": { - "id": "card_1P4CboKuuB1fWySnfkJ7Lp1j", + "id": "card_1P4ZaGKuuB1fWySnhCxOeAKV", "object": "card", "address_city": null, "address_country": null, @@ -111,30 +111,30 @@ http_interactions: "tokenization_method": null, "wallet": null }, - "client_ip": "115.166.62.139", - "created": 1712799564, + "client_ip": "115.166.35.233", + "created": 1712887880, "livemode": false, "type": "card", "used": false } - recorded_at: Thu, 11 Apr 2024 01:39:24 GMT + recorded_at: Fri, 12 Apr 2024 02:11:20 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: email=aiko.heidenreich%40gibson.co.uk&source=tok_1P4CboKuuB1fWySncwaaWZp3 + string: email=emmie%40becker.com&source=tok_1P4ZaGKuuB1fWySndzxvyn5W headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1mCo8XniqdFbBH","request_duration_ms":801}}' + - '{"last_request_metrics":{"request_id":"req_PsgzzbZ2zjIUF6","request_duration_ms":479}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -149,11 +149,11 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:25 GMT + - Fri, 12 Apr 2024 02:11:21 GMT Content-Type: - application/json Content-Length: - - '668' + - '655' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -176,19 +176,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6ee2505b-c17a-455a-8587-0e52a970d447 + - 3879958d-9793-4d99-9796-8bd474bbedb4 Original-Request: - - req_1CqYH1Xt8uau94 + - req_4zSxUpy5TZQHkY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1CqYH1Xt8uau94 + - req_4zSxUpy5TZQHkY Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -199,18 +199,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pu0dzuriRXbALS", + "id": "cus_PuON9fyd1MueNQ", "object": "customer", "address": null, "balance": 0, - "created": 1712799565, + "created": 1712887881, "currency": null, - "default_source": "card_1P4CboKuuB1fWySnfkJ7Lp1j", + "default_source": "card_1P4ZaGKuuB1fWySnhCxOeAKV", "delinquent": false, "description": null, "discount": null, - "email": "aiko.heidenreich@gibson.co.uk", - "invoice_prefix": "CF7197CE", + "email": "emmie@becker.com", + "invoice_prefix": "D6751725", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -227,24 +227,24 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 11 Apr 2024 01:39:25 GMT + recorded_at: Fri, 12 Apr 2024 02:11:21 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_Pu0dzuriRXbALS/sources?limit=1&object=card + uri: https://api.stripe.com/v1/customers/cus_PuON9fyd1MueNQ/sources?limit=1&object=card body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1CqYH1Xt8uau94","request_duration_ms":1034}}' + - '{"last_request_metrics":{"request_id":"req_4zSxUpy5TZQHkY","request_duration_ms":879}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -259,7 +259,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:26 GMT + - Fri, 12 Apr 2024 02:11:22 GMT Content-Type: - application/json Content-Length: @@ -291,9 +291,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kK49CSJ3ow9j3K + - req_hMYopP4arAmaeo Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -307,7 +307,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1P4CboKuuB1fWySnfkJ7Lp1j", + "id": "card_1P4ZaGKuuB1fWySnhCxOeAKV", "object": "card", "address_city": null, "address_country": null, @@ -319,7 +319,7 @@ http_interactions: "address_zip_check": null, "brand": "Visa", "country": "US", - "customer": "cus_Pu0dzuriRXbALS", + "customer": "cus_PuON9fyd1MueNQ", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 9, @@ -334,7 +334,7 @@ http_interactions: } ], "has_more": false, - "url": "/v1/customers/cus_Pu0dzuriRXbALS/sources" + "url": "/v1/customers/cus_PuON9fyd1MueNQ/sources" } - recorded_at: Thu, 11 Apr 2024 01:39:26 GMT + recorded_at: Fri, 12 Apr 2024 02:11:22 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml index c28fd6af0b..711a787e58 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6nYq7gQCqDQnbu","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_iknD95Pwi06l40","request_duration_ms":1228}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:27 GMT + - Fri, 12 Apr 2024 02:14:30 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ab9dee72-1003-4aee-b175-9905c51deae7 + - ef93dc0e-f55a-4fb4-b8f3-d2b34f065622 Original-Request: - - req_vcZxd3zfC3HP0z + - req_0HMQTy3HpF1vE1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vcZxd3zfC3HP0z + - req_0HMQTy3HpF1vE1 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cek4DFCG3lydo", + "id": "acct_1P4ZdIQTrIOvqUQ2", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799747, + "created": 1712888069, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Cek4DFCG3lydo/external_accounts" + "url": "/v1/accounts/acct_1P4ZdIQTrIOvqUQ2/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:42:27 GMT + recorded_at: Fri, 12 Apr 2024 02:14:30 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -218,19 +218,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vcZxd3zfC3HP0z","request_duration_ms":1931}}' + - '{"last_request_metrics":{"request_id":"req_0HMQTy3HpF1vE1","request_duration_ms":2025}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4Cek4DFCG3lydo + - acct_1P4ZdIQTrIOvqUQ2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:29 GMT + - Fri, 12 Apr 2024 02:14:31 GMT Content-Type: - application/json Content-Length: @@ -270,21 +270,21 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 62619505-d470-4ae2-8914-19bfa981a1a1 + - 0ca11773-3dd5-4fee-8f73-3a28577844b8 Original-Request: - - req_zU4T4pahBs3ImT + - req_2tN8y8zWlwxs1w Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zU4T4pahBs3ImT + - req_2tN8y8zWlwxs1w Stripe-Account: - - acct_1P4Cek4DFCG3lydo + - acct_1P4ZdIQTrIOvqUQ2 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -295,7 +295,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cem4DFCG3lydo1WZIqV25", + "id": "pi_3P4ZdKQTrIOvqUQ21T1VSnpz", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -311,18 +311,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799748, + "created": 1712888070, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Cem4DFCG3lydo1nKDp9pZ", + "latest_charge": "ch_3P4ZdKQTrIOvqUQ210lTSNt7", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cem4DFCG3lydo3Y8vG8vs", + "payment_method": "pm_1P4ZdKQTrIOvqUQ2kuaROm8f", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -347,10 +347,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:29 GMT + recorded_at: Fri, 12 Apr 2024 02:14:31 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cem4DFCG3lydo1WZIqV25 + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdKQTrIOvqUQ21T1VSnpz body: encoding: US-ASCII string: '' @@ -366,7 +366,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4Cek4DFCG3lydo + - acct_1P4ZdIQTrIOvqUQ2 Connection: - close Accept-Encoding: @@ -381,7 +381,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:30 GMT + - Fri, 12 Apr 2024 02:14:32 GMT Content-Type: - application/json Content-Length: @@ -413,9 +413,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pyIuabpZwOnwgA + - req_EBkaoP9fmR1JAQ Stripe-Account: - - acct_1P4Cek4DFCG3lydo + - acct_1P4ZdIQTrIOvqUQ2 Stripe-Version: - '2020-08-27' Vary: @@ -428,7 +428,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cem4DFCG3lydo1WZIqV25", + "id": "pi_3P4ZdKQTrIOvqUQ21T1VSnpz", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -446,7 +446,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P4Cem4DFCG3lydo1nKDp9pZ", + "id": "ch_3P4ZdKQTrIOvqUQ210lTSNt7", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -454,7 +454,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4Cem4DFCG3lydo1kBMXJUu", + "balance_transaction": "txn_3P4ZdKQTrIOvqUQ21AOXlgyX", "billing_details": { "address": { "city": null, @@ -470,7 +470,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712799748, + "created": 1712888070, "currency": "aud", "customer": null, "description": null, @@ -490,13 +490,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 64, + "risk_score": 55, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4Cem4DFCG3lydo1WZIqV25", - "payment_method": "pm_1P4Cem4DFCG3lydo3Y8vG8vs", + "payment_intent": "pi_3P4ZdKQTrIOvqUQ21T1VSnpz", + "payment_method": "pm_1P4ZdKQTrIOvqUQ2kuaROm8f", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -539,14 +539,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRDZWs0REZDRzNseWRvKIaA3bAGMgafema0lII6LBZYzmN7Q4kUnuMvTjpgfVeLgj5vp7_Bt2iOLhqYyPHDrUUSUYKJqVtEpf1C", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRaZElRVHJJT3ZxVVEyKIiy4rAGMgZjbxBTSYE6LBbutkKbfMus8F0GVS98qmZr4Y9x-8WbD7u-Lw97Id8N-qRzdJh8W6EwYboz", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P4Cem4DFCG3lydo1nKDp9pZ/refunds" + "url": "/v1/charges/ch_3P4ZdKQTrIOvqUQ210lTSNt7/refunds" }, "review": null, "shipping": null, @@ -561,22 +561,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P4Cem4DFCG3lydo1WZIqV25" + "url": "/v1/charges?payment_intent=pi_3P4ZdKQTrIOvqUQ21T1VSnpz" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712799748, + "created": 1712888070, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Cem4DFCG3lydo1nKDp9pZ", + "latest_charge": "ch_3P4ZdKQTrIOvqUQ210lTSNt7", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cem4DFCG3lydo3Y8vG8vs", + "payment_method": "pm_1P4ZdKQTrIOvqUQ2kuaROm8f", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -601,10 +601,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:30 GMT + recorded_at: Fri, 12 Apr 2024 02:14:32 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3P4Cem4DFCG3lydo1nKDp9pZ/refunds + uri: https://api.stripe.com/v1/charges/ch_3P4ZdKQTrIOvqUQ210lTSNt7/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -622,7 +622,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4Cek4DFCG3lydo + - acct_1P4ZdIQTrIOvqUQ2 Connection: - close Accept-Encoding: @@ -637,7 +637,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:32 GMT + - Fri, 12 Apr 2024 02:14:34 GMT Content-Type: - application/json Content-Length: @@ -665,17 +665,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8d4f097b-9728-4526-b9ad-5801a8b5a89a + - d03c81bd-4d70-496d-a726-7edb72259f00 Original-Request: - - req_sKZ5rzVYsSG2CA + - req_it1Oor7RMbGIKJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sKZ5rzVYsSG2CA + - req_it1Oor7RMbGIKJ Stripe-Account: - - acct_1P4Cek4DFCG3lydo + - acct_1P4ZdIQTrIOvqUQ2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -690,12 +690,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3P4Cem4DFCG3lydo1YbNTOUH", + "id": "re_3P4ZdKQTrIOvqUQ21K2Rx6pF", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P4Cem4DFCG3lydo1xCDnVT1", + "balance_transaction": "txn_3P4ZdKQTrIOvqUQ21Tvrkjee", "charge": { - "id": "ch_3P4Cem4DFCG3lydo1nKDp9pZ", + "id": "ch_3P4ZdKQTrIOvqUQ210lTSNt7", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -703,7 +703,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4Cem4DFCG3lydo1kBMXJUu", + "balance_transaction": "txn_3P4ZdKQTrIOvqUQ21AOXlgyX", "billing_details": { "address": { "city": null, @@ -719,7 +719,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712799748, + "created": 1712888070, "currency": "aud", "customer": null, "description": null, @@ -739,13 +739,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 64, + "risk_score": 55, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4Cem4DFCG3lydo1WZIqV25", - "payment_method": "pm_1P4Cem4DFCG3lydo3Y8vG8vs", + "payment_intent": "pi_3P4ZdKQTrIOvqUQ21T1VSnpz", + "payment_method": "pm_1P4ZdKQTrIOvqUQ2kuaROm8f", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -788,18 +788,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRDZWs0REZDRzNseWRvKIeA3bAGMgZV1je7r686LBaLDJd1owHpcx9VKYvztd-CSIqskNBAqIPcmYYHxtMg82qnn2SskvmGOeCy", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRaZElRVHJJT3ZxVVEyKImy4rAGMgagEAkzJPg6LBaTF1CUuqODCnS438BlEJipoj5sWYLZyjoCy2X8WNOrcL64VD6MQVWeB1Jj", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3P4Cem4DFCG3lydo1YbNTOUH", + "id": "re_3P4ZdKQTrIOvqUQ21K2Rx6pF", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P4Cem4DFCG3lydo1xCDnVT1", - "charge": "ch_3P4Cem4DFCG3lydo1nKDp9pZ", - "created": 1712799751, + "balance_transaction": "txn_3P4ZdKQTrIOvqUQ21Tvrkjee", + "charge": "ch_3P4ZdKQTrIOvqUQ210lTSNt7", + "created": 1712888073, "currency": "aud", "destination_details": { "card": { @@ -810,7 +810,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P4Cem4DFCG3lydo1WZIqV25", + "payment_intent": "pi_3P4ZdKQTrIOvqUQ21T1VSnpz", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -820,7 +820,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3P4Cem4DFCG3lydo1nKDp9pZ/refunds" + "url": "/v1/charges/ch_3P4ZdKQTrIOvqUQ210lTSNt7/refunds" }, "review": null, "shipping": null, @@ -832,7 +832,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1712799751, + "created": 1712888073, "currency": "aud", "destination_details": { "card": { @@ -843,31 +843,31 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P4Cem4DFCG3lydo1WZIqV25", + "payment_intent": "pi_3P4ZdKQTrIOvqUQ21T1VSnpz", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 11 Apr 2024 01:42:32 GMT + recorded_at: Fri, 12 Apr 2024 02:14:34 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Cek4DFCG3lydo + uri: https://api.stripe.com/v1/accounts/acct_1P4ZdIQTrIOvqUQ2 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zU4T4pahBs3ImT","request_duration_ms":1431}}' + - '{"last_request_metrics":{"request_id":"req_2tN8y8zWlwxs1w","request_duration_ms":1587}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -882,7 +882,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:33 GMT + - Fri, 12 Apr 2024 02:14:35 GMT Content-Type: - application/json Content-Length: @@ -913,11 +913,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Y4Lbetac8D59hU + - req_IgmQ40cYHa2soS Stripe-Account: - - acct_1P4Cek4DFCG3lydo + - acct_1P4ZdIQTrIOvqUQ2 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -928,9 +928,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cek4DFCG3lydo", + "id": "acct_1P4ZdIQTrIOvqUQ2", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:42:33 GMT + recorded_at: Fri, 12 Apr 2024 02:14:35 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml index 174fa77500..5176bef969 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml @@ -8,15 +8,15 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Y4Lbetac8D59hU","request_duration_ms":1019}}' + - '{"last_request_metrics":{"request_id":"req_IgmQ40cYHa2soS","request_duration_ms":1227}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:34 GMT + - Fri, 12 Apr 2024 02:14:36 GMT Content-Type: - application/json Content-Length: @@ -63,9 +63,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Akg2smooeyvumS + - req_AgKMSS6cKqLmTJ Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -76,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CesKuuB1fWySnsJt44AFU", + "id": "pm_1P4ZdQKuuB1fWySnPHPpMPxf", "object": "payment_method", "billing_details": { "address": { @@ -117,30 +117,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799754, + "created": 1712888076, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:42:34 GMT + recorded_at: Fri, 12 Apr 2024 02:14:36 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1P4CesKuuB1fWySnsJt44AFU&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P4ZdQKuuB1fWySnPHPpMPxf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Akg2smooeyvumS","request_duration_ms":467}}' + - '{"last_request_metrics":{"request_id":"req_AgKMSS6cKqLmTJ","request_duration_ms":559}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -155,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:34 GMT + - Fri, 12 Apr 2024 02:14:37 GMT Content-Type: - application/json Content-Length: @@ -182,19 +182,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f118ea09-5822-47de-8f9e-d6f57d1419e3 + - 855d4322-b74b-46b3-87f5-ff6c3ad4ce78 Original-Request: - - req_zgTVfvQIBa17lU + - req_q48Po5EucBHOwh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zgTVfvQIBa17lU + - req_q48Po5EucBHOwh Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -205,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CesKuuB1fWySn2dLi9ErR", + "id": "pi_3P4ZdRKuuB1fWySn2XVTbC1T", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799754, + "created": 1712888077, "currency": "aud", "customer": null, "description": null, @@ -232,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CesKuuB1fWySnsJt44AFU", + "payment_method": "pm_1P4ZdQKuuB1fWySnPHPpMPxf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,24 +257,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:34 GMT + recorded_at: Fri, 12 Apr 2024 02:14:37 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CesKuuB1fWySn2dLi9ErR + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdRKuuB1fWySn2XVTbC1T body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zgTVfvQIBa17lU","request_duration_ms":503}}' + - '{"last_request_metrics":{"request_id":"req_q48Po5EucBHOwh","request_duration_ms":593}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -289,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:35 GMT + - Fri, 12 Apr 2024 02:14:37 GMT Content-Type: - application/json Content-Length: @@ -321,9 +321,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1LFUptriGpoZt1 + - req_3ZbgYB1RnMRw6A Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -334,7 +334,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CesKuuB1fWySn2dLi9ErR", + "id": "pi_3P4ZdRKuuB1fWySn2XVTbC1T", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -350,7 +350,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799754, + "created": 1712888077, "currency": "aud", "customer": null, "description": null, @@ -361,7 +361,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CesKuuB1fWySnsJt44AFU", + "payment_method": "pm_1P4ZdQKuuB1fWySnPHPpMPxf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -386,7 +386,7 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:35 GMT + recorded_at: Fri, 12 Apr 2024 02:14:37 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -395,15 +395,15 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1LFUptriGpoZt1","request_duration_ms":365}}' + - '{"last_request_metrics":{"request_id":"req_3ZbgYB1RnMRw6A","request_duration_ms":453}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -418,7 +418,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:37 GMT + - Fri, 12 Apr 2024 02:14:39 GMT Content-Type: - application/json Content-Length: @@ -445,19 +445,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f0011be4-d1df-4865-b1f4-9bb52b2006fb + - 21822cd5-e434-4eb0-8a28-051499767133 Original-Request: - - req_kWT3H7wWNHBLzm + - req_GjRtzuCfleOmDm Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kWT3H7wWNHBLzm + - req_GjRtzuCfleOmDm Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -468,7 +468,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cet4EYmmdrDms", + "id": "acct_1P4ZdS4EobL20fse", "object": "account", "business_profile": { "annual_revenue": null, @@ -490,7 +490,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799756, + "created": 1712888079, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -499,7 +499,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Cet4EYmmdrDms/external_accounts" + "url": "/v1/accounts/acct_1P4ZdS4EobL20fse/external_accounts" }, "future_requirements": { "alternatives": [], @@ -596,24 +596,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:42:37 GMT + recorded_at: Fri, 12 Apr 2024 02:14:39 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Cet4EYmmdrDms + uri: https://api.stripe.com/v1/accounts/acct_1P4ZdS4EobL20fse body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kWT3H7wWNHBLzm","request_duration_ms":1841}}' + - '{"last_request_metrics":{"request_id":"req_GjRtzuCfleOmDm","request_duration_ms":2053}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -628,7 +628,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:38 GMT + - Fri, 12 Apr 2024 02:14:41 GMT Content-Type: - application/json Content-Length: @@ -659,11 +659,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3d0nOcbBqPz0oS + - req_6DTqYBGCUMuEYw Stripe-Account: - - acct_1P4Cet4EYmmdrDms + - acct_1P4ZdS4EobL20fse Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -674,9 +674,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cet4EYmmdrDms", + "id": "acct_1P4ZdS4EobL20fse", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:42:38 GMT + recorded_at: Fri, 12 Apr 2024 02:14:41 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml index 4a93dc48c8..894bf11016 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml @@ -8,15 +8,15 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OjPVgEkXL1fVwL","request_duration_ms":994}}' + - '{"last_request_metrics":{"request_id":"req_wNdtJElbnOaxns","request_duration_ms":1075}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:43 GMT + - Fri, 12 Apr 2024 02:14:46 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3a6faabc-7f61-4d84-b14f-d0a275a14b8c + - ea404579-4d26-4032-9447-4f9bae834e0c Original-Request: - - req_3mMts3GVaM2BQD + - req_wsfM0LaQNBGewF Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3mMts3GVaM2BQD + - req_wsfM0LaQNBGewF Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CezQMegu5vT9o", + "id": "acct_1P4ZdZ4FaMgVEaVi", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799762, + "created": 1712888086, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CezQMegu5vT9o/external_accounts" + "url": "/v1/accounts/acct_1P4ZdZ4FaMgVEaVi/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,24 +209,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:42:43 GMT + recorded_at: Fri, 12 Apr 2024 02:14:46 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CezQMegu5vT9o + uri: https://api.stripe.com/v1/accounts/acct_1P4ZdZ4FaMgVEaVi body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3mMts3GVaM2BQD","request_duration_ms":1777}}' + - '{"last_request_metrics":{"request_id":"req_wsfM0LaQNBGewF","request_duration_ms":1809}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:44 GMT + - Fri, 12 Apr 2024 02:14:47 GMT Content-Type: - application/json Content-Length: @@ -272,11 +272,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9bYrMMiSVMcKK3 + - req_gYqJXM43oQDdId Stripe-Account: - - acct_1P4CezQMegu5vT9o + - acct_1P4ZdZ4FaMgVEaVi Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -287,9 +287,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CezQMegu5vT9o", + "id": "acct_1P4ZdZ4FaMgVEaVi", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:42:44 GMT + recorded_at: Fri, 12 Apr 2024 02:14:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml index 6601673715..4e01d550cb 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml @@ -8,15 +8,15 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3d0nOcbBqPz0oS","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_6DTqYBGCUMuEYw","request_duration_ms":1240}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:40 GMT + - Fri, 12 Apr 2024 02:14:43 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b5ab08d8-f812-45d1-bc0a-274096f2be5a + - e8248ffe-e033-408a-8c3b-09565653fd4e Original-Request: - - req_2keaqOe16EQw71 + - req_AII0LhGLaeSSss Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2keaqOe16EQw71 + - req_AII0LhGLaeSSss Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CewQMvy0onavY", + "id": "acct_1P4ZdV4DumOjO1bX", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799759, + "created": 1712888082, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CewQMvy0onavY/external_accounts" + "url": "/v1/accounts/acct_1P4ZdV4DumOjO1bX/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,24 +209,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:42:39 GMT + recorded_at: Fri, 12 Apr 2024 02:14:43 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CewQMvy0onavY + uri: https://api.stripe.com/v1/accounts/acct_1P4ZdV4DumOjO1bX body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2keaqOe16EQw71","request_duration_ms":1862}}' + - '{"last_request_metrics":{"request_id":"req_AII0LhGLaeSSss","request_duration_ms":2049}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:41 GMT + - Fri, 12 Apr 2024 02:14:44 GMT Content-Type: - application/json Content-Length: @@ -272,11 +272,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OjPVgEkXL1fVwL + - req_wNdtJElbnOaxns Stripe-Account: - - acct_1P4CewQMvy0onavY + - acct_1P4ZdV4DumOjO1bX Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -287,9 +287,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CewQMvy0onavY", + "id": "acct_1P4ZdV4DumOjO1bX", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:42:40 GMT + recorded_at: Fri, 12 Apr 2024 02:14:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml index 8d8c7418ec..13d669a8c8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml @@ -8,15 +8,15 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5U49TOk1gV8WNx","request_duration_ms":717}}' + - '{"last_request_metrics":{"request_id":"req_WjxjsRdJmU7cJY","request_duration_ms":1094}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:59 GMT + - Fri, 12 Apr 2024 02:13:57 GMT Content-Type: - application/json Content-Length: @@ -63,9 +63,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5tGoupwLMNoKbl + - req_ULgR6qvMdB9s3i Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -76,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CeIKuuB1fWySn0l3IJoP4", + "id": "pm_1P4ZcnKuuB1fWySnSTWYXVAO", "object": "payment_method", "billing_details": { "address": { @@ -117,30 +117,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799719, + "created": 1712888037, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:59 GMT + recorded_at: Fri, 12 Apr 2024 02:13:57 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1P4CeIKuuB1fWySn0l3IJoP4&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P4ZcnKuuB1fWySnSTWYXVAO&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5tGoupwLMNoKbl","request_duration_ms":491}}' + - '{"last_request_metrics":{"request_id":"req_ULgR6qvMdB9s3i","request_duration_ms":526}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -155,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:59 GMT + - Fri, 12 Apr 2024 02:13:57 GMT Content-Type: - application/json Content-Length: @@ -182,19 +182,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - da6d7882-5408-4e82-8a9d-051c5464e305 + - 5913cb28-a060-481e-856e-68423e3dd4f8 Original-Request: - - req_pe6jYL4L38GsUK + - req_SZM4kvcWlto7U1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pe6jYL4L38GsUK + - req_SZM4kvcWlto7U1 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -205,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CeJKuuB1fWySn1JAvIbub", + "id": "pi_3P4ZcnKuuB1fWySn024qkKj8", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799719, + "created": 1712888037, "currency": "aud", "customer": null, "description": null, @@ -232,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CeIKuuB1fWySn0l3IJoP4", + "payment_method": "pm_1P4ZcnKuuB1fWySnSTWYXVAO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,24 +257,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:59 GMT + recorded_at: Fri, 12 Apr 2024 02:13:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeJKuuB1fWySn1JAvIbub/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcnKuuB1fWySn024qkKj8/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pe6jYL4L38GsUK","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_SZM4kvcWlto7U1","request_duration_ms":680}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -289,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:00 GMT + - Fri, 12 Apr 2024 02:13:59 GMT Content-Type: - application/json Content-Length: @@ -317,19 +317,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e4f00232-1a94-43f6-95a9-fcef7d3d36f3 + - 47e09df0-fd00-464c-98ac-b5c8b0a1a7c3 Original-Request: - - req_af2ZWnugGeiT1T + - req_7VA6PGT2ruNm85 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_af2ZWnugGeiT1T + - req_7VA6PGT2ruNm85 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -340,7 +340,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CeJKuuB1fWySn1JAvIbub", + "id": "pi_3P4ZcnKuuB1fWySn024qkKj8", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -356,18 +356,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799719, + "created": 1712888037, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CeJKuuB1fWySn1bvqhUIF", + "latest_charge": "ch_3P4ZcnKuuB1fWySn004YDeMK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CeIKuuB1fWySn0l3IJoP4", + "payment_method": "pm_1P4ZcnKuuB1fWySnSTWYXVAO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -392,24 +392,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:00 GMT + recorded_at: Fri, 12 Apr 2024 02:13:59 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeJKuuB1fWySn1JAvIbub + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcnKuuB1fWySn024qkKj8 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_af2ZWnugGeiT1T","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_7VA6PGT2ruNm85","request_duration_ms":1227}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -424,7 +424,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:02 GMT + - Fri, 12 Apr 2024 02:14:00 GMT Content-Type: - application/json Content-Length: @@ -456,9 +456,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5WVhIT8p72sh23 + - req_2V1BwK8TQm8jWZ Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -469,7 +469,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CeJKuuB1fWySn1JAvIbub", + "id": "pi_3P4ZcnKuuB1fWySn024qkKj8", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -485,18 +485,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799719, + "created": 1712888037, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CeJKuuB1fWySn1bvqhUIF", + "latest_charge": "ch_3P4ZcnKuuB1fWySn004YDeMK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CeIKuuB1fWySn0l3IJoP4", + "payment_method": "pm_1P4ZcnKuuB1fWySnSTWYXVAO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -521,10 +521,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:02 GMT + recorded_at: Fri, 12 Apr 2024 02:14:00 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeJKuuB1fWySn1JAvIbub/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcnKuuB1fWySn024qkKj8/capture body: encoding: UTF-8 string: amount_to_capture=1000 @@ -555,7 +555,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:03 GMT + - Fri, 12 Apr 2024 02:14:02 GMT Content-Type: - application/json Content-Length: @@ -583,15 +583,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4f3d9c10-efa0-497b-a6e6-a6ad141ebe3b + - 15a11901-8587-4976-9efa-76b60023ef28 Original-Request: - - req_blotVHViQAIet0 + - req_DwP6irxkH0iAJN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_blotVHViQAIet0 + - req_DwP6irxkH0iAJN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -606,7 +606,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CeJKuuB1fWySn1JAvIbub", + "id": "pi_3P4ZcnKuuB1fWySn024qkKj8", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -624,7 +624,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P4CeJKuuB1fWySn1bvqhUIF", + "id": "ch_3P4ZcnKuuB1fWySn004YDeMK", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -633,7 +633,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4CeJKuuB1fWySn13bWCQ8F", + "balance_transaction": "txn_3P4ZcnKuuB1fWySn0HWAzw3U", "billing_details": { "address": { "city": null, @@ -649,7 +649,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712799720, + "created": 1712888038, "currency": "aud", "customer": null, "description": null, @@ -669,18 +669,18 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 22, + "risk_score": 31, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4CeJKuuB1fWySn1JAvIbub", - "payment_method": "pm_1P4CeIKuuB1fWySn0l3IJoP4", + "payment_intent": "pi_3P4ZcnKuuB1fWySn024qkKj8", + "payment_method": "pm_1P4ZcnKuuB1fWySnSTWYXVAO", "payment_method_details": { "card": { "amount_authorized": 1000, "brand": "mastercard", - "capture_before": 1713404520, + "capture_before": 1713492838, "checks": { "address_line1_check": null, "address_postal_code_check": null, @@ -719,14 +719,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKOv_3LAGMgb8bzxXE9U6LBYgnhw2EI3ThlSCnc-1-jZaAO0BfihXe48y5d9SpAJSTdx4kMI5LM9QwqPy", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKOqx4rAGMgaEsoqzJsQ6LBaFUvvwIaI89i7yfz412071TUPd_rSO7IdYK6mNbKJWlGFxYDs0NRpKPbM0", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P4CeJKuuB1fWySn1bvqhUIF/refunds" + "url": "/v1/charges/ch_3P4ZcnKuuB1fWySn004YDeMK/refunds" }, "review": null, "shipping": null, @@ -741,22 +741,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P4CeJKuuB1fWySn1JAvIbub" + "url": "/v1/charges?payment_intent=pi_3P4ZcnKuuB1fWySn024qkKj8" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712799719, + "created": 1712888037, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CeJKuuB1fWySn1bvqhUIF", + "latest_charge": "ch_3P4ZcnKuuB1fWySn004YDeMK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CeIKuuB1fWySn0l3IJoP4", + "payment_method": "pm_1P4ZcnKuuB1fWySnSTWYXVAO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -781,7 +781,7 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:03 GMT + recorded_at: Fri, 12 Apr 2024 02:14:02 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -790,15 +790,15 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5WVhIT8p72sh23","request_duration_ms":355}}' + - '{"last_request_metrics":{"request_id":"req_2V1BwK8TQm8jWZ","request_duration_ms":526}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -813,7 +813,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:05 GMT + - Fri, 12 Apr 2024 02:14:04 GMT Content-Type: - application/json Content-Length: @@ -840,19 +840,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 514f7c26-78f7-4aba-bc19-86cddeabf616 + - a6171a4e-718e-4ff5-9946-d8de77c4c2ba Original-Request: - - req_VUrZbTZJtIbZlj + - req_i6kAcNwTsovpMJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VUrZbTZJtIbZlj + - req_i6kAcNwTsovpMJ Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -863,7 +863,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CeN4CLBeYCTd2", + "id": "acct_1P4Zct4EDVQ4j4x9", "object": "account", "business_profile": { "annual_revenue": null, @@ -885,7 +885,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799724, + "created": 1712888043, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -894,7 +894,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CeN4CLBeYCTd2/external_accounts" + "url": "/v1/accounts/acct_1P4Zct4EDVQ4j4x9/external_accounts" }, "future_requirements": { "alternatives": [], @@ -991,24 +991,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:42:05 GMT + recorded_at: Fri, 12 Apr 2024 02:14:04 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CeN4CLBeYCTd2 + uri: https://api.stripe.com/v1/accounts/acct_1P4Zct4EDVQ4j4x9 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VUrZbTZJtIbZlj","request_duration_ms":1738}}' + - '{"last_request_metrics":{"request_id":"req_i6kAcNwTsovpMJ","request_duration_ms":1738}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -1023,7 +1023,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:06 GMT + - Fri, 12 Apr 2024 02:14:05 GMT Content-Type: - application/json Content-Length: @@ -1054,11 +1054,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KCdS3P9OuGbpY8 + - req_vBFA9Encdt8d8u Stripe-Account: - - acct_1P4CeN4CLBeYCTd2 + - acct_1P4Zct4EDVQ4j4x9 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -1069,9 +1069,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CeN4CLBeYCTd2", + "id": "acct_1P4Zct4EDVQ4j4x9", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:42:06 GMT + recorded_at: Fri, 12 Apr 2024 02:14:05 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml index 9f19f82ca2..11647bcc41 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml @@ -8,15 +8,15 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KCdS3P9OuGbpY8","request_duration_ms":1017}}' + - '{"last_request_metrics":{"request_id":"req_vBFA9Encdt8d8u","request_duration_ms":1123}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:06 GMT + - Fri, 12 Apr 2024 02:14:06 GMT Content-Type: - application/json Content-Length: @@ -63,9 +63,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Rci17cfG5CbUpR + - req_k5uBUvHGEyS9Un Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -76,7 +76,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CeQKuuB1fWySnO0eb9vyi", + "id": "pm_1P4ZcvKuuB1fWySnPaZiae8K", "object": "payment_method", "billing_details": { "address": { @@ -117,30 +117,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799726, + "created": 1712888045, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:42:06 GMT + recorded_at: Fri, 12 Apr 2024 02:14:06 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1P4CeQKuuB1fWySnO0eb9vyi&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P4ZcvKuuB1fWySnPaZiae8K&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Rci17cfG5CbUpR","request_duration_ms":469}}' + - '{"last_request_metrics":{"request_id":"req_k5uBUvHGEyS9Un","request_duration_ms":571}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -155,7 +155,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:07 GMT + - Fri, 12 Apr 2024 02:14:06 GMT Content-Type: - application/json Content-Length: @@ -182,19 +182,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 56bf2437-4850-48c1-8dbc-8b0f86938187 + - baf83658-cdb1-42f5-b9d0-387a3be1f79c Original-Request: - - req_e0JZRXVwfOR6qo + - req_q2mvggi79eAgzs Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_e0JZRXVwfOR6qo + - req_q2mvggi79eAgzs Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -205,7 +205,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CeRKuuB1fWySn1YSbWl3n", + "id": "pi_3P4ZcwKuuB1fWySn1zGWpVvn", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +221,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799727, + "created": 1712888046, "currency": "aud", "customer": null, "description": null, @@ -232,7 +232,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CeQKuuB1fWySnO0eb9vyi", + "payment_method": "pm_1P4ZcvKuuB1fWySnPaZiae8K", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,24 +257,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:07 GMT + recorded_at: Fri, 12 Apr 2024 02:14:06 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeRKuuB1fWySn1YSbWl3n/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcwKuuB1fWySn1zGWpVvn/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_e0JZRXVwfOR6qo","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_q2mvggi79eAgzs","request_duration_ms":613}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -289,7 +289,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:08 GMT + - Fri, 12 Apr 2024 02:14:07 GMT Content-Type: - application/json Content-Length: @@ -317,19 +317,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c6e4a911-c86a-4d4d-b248-5f50ec694f6b + - 5ffb4b50-7cda-4515-98ad-3a566bc5d567 Original-Request: - - req_PCJdMQOWIbSifj + - req_4i6irO0zCIJDUV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PCJdMQOWIbSifj + - req_4i6irO0zCIJDUV Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -340,7 +340,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CeRKuuB1fWySn1YSbWl3n", + "id": "pi_3P4ZcwKuuB1fWySn1zGWpVvn", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -356,18 +356,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799727, + "created": 1712888046, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CeRKuuB1fWySn1jfBHfgN", + "latest_charge": "ch_3P4ZcwKuuB1fWySn1FdsSo4x", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CeQKuuB1fWySnO0eb9vyi", + "payment_method": "pm_1P4ZcvKuuB1fWySnPaZiae8K", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -392,7 +392,7 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:08 GMT + recorded_at: Fri, 12 Apr 2024 02:14:08 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -401,15 +401,15 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PCJdMQOWIbSifj","request_duration_ms":1025}}' + - '{"last_request_metrics":{"request_id":"req_4i6irO0zCIJDUV","request_duration_ms":1228}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -424,7 +424,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:11 GMT + - Fri, 12 Apr 2024 02:14:10 GMT Content-Type: - application/json Content-Length: @@ -451,19 +451,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 220a55e4-a147-4f2b-af5c-f969571c926c + - 02b609cf-1fc7-42c9-b0f3-4c206625521c Original-Request: - - req_0kjyAwzJ6GFITF + - req_dtXpuv1N0OLs4h Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0kjyAwzJ6GFITF + - req_dtXpuv1N0OLs4h Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CeT4CqkLDeByk", + "id": "acct_1P4Zcz4FWMqMN2a6", "object": "account", "business_profile": { "annual_revenue": null, @@ -496,7 +496,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799730, + "created": 1712888049, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -505,7 +505,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CeT4CqkLDeByk/external_accounts" + "url": "/v1/accounts/acct_1P4Zcz4FWMqMN2a6/external_accounts" }, "future_requirements": { "alternatives": [], @@ -602,24 +602,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:42:11 GMT + recorded_at: Fri, 12 Apr 2024 02:14:10 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CeT4CqkLDeByk + uri: https://api.stripe.com/v1/accounts/acct_1P4Zcz4FWMqMN2a6 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0kjyAwzJ6GFITF","request_duration_ms":1881}}' + - '{"last_request_metrics":{"request_id":"req_dtXpuv1N0OLs4h","request_duration_ms":2053}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -634,7 +634,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:12 GMT + - Fri, 12 Apr 2024 02:14:11 GMT Content-Type: - application/json Content-Length: @@ -665,11 +665,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WYJPD993fa3Xs6 + - req_0yiZduQiEGWQtL Stripe-Account: - - acct_1P4CeT4CqkLDeByk + - acct_1P4Zcz4FWMqMN2a6 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -680,9 +680,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CeT4CqkLDeByk", + "id": "acct_1P4Zcz4FWMqMN2a6", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:42:12 GMT + recorded_at: Fri, 12 Apr 2024 02:14:12 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml index 49eb8cb06b..0cafe0b6b1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WYJPD993fa3Xs6","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_0yiZduQiEGWQtL","request_duration_ms":1225}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:13 GMT + - Fri, 12 Apr 2024 02:14:14 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4df340e3-861b-46f1-98d0-197e10a90ec5 + - 81f4be9b-da40-42fc-a2fc-7635004d4844 Original-Request: - - req_OkDOipPX0BQeet + - req_sg62FTpjnvBYrg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OkDOipPX0BQeet + - req_sg62FTpjnvBYrg Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CeW4GQ5sbQu5r", + "id": "acct_1P4Zd24CEabTKRMl", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799733, + "created": 1712888053, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CeW4GQ5sbQu5r/external_accounts" + "url": "/v1/accounts/acct_1P4Zd24CEabTKRMl/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:42:13 GMT + recorded_at: Fri, 12 Apr 2024 02:14:14 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -218,15 +218,15 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OkDOipPX0BQeet","request_duration_ms":1590}}' + - '{"last_request_metrics":{"request_id":"req_sg62FTpjnvBYrg","request_duration_ms":2323}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:15 GMT + - Fri, 12 Apr 2024 02:14:15 GMT Content-Type: - application/json Content-Length: @@ -273,9 +273,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_h69dPvJbhHsCM4 + - req_UYmqzy5QBFIo6r Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -286,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CeYKuuB1fWySnhbp2ajh1", + "id": "pm_1P4Zd5KuuB1fWySnj4DGX5j0", "object": "payment_method", "billing_details": { "address": { @@ -327,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799734, + "created": 1712888055, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:42:14 GMT + recorded_at: Fri, 12 Apr 2024 02:14:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -342,19 +342,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_h69dPvJbhHsCM4","request_duration_ms":411}}' + - '{"last_request_metrics":{"request_id":"req_UYmqzy5QBFIo6r","request_duration_ms":649}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4CeW4GQ5sbQu5r + - acct_1P4Zd24CEabTKRMl Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:16 GMT + - Fri, 12 Apr 2024 02:14:17 GMT Content-Type: - application/json Content-Length: @@ -394,21 +394,21 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b400791d-088a-490a-8597-52e7d5a6cca1 + - 8005fa1a-b819-4822-aac1-3937a34917a9 Original-Request: - - req_vPQXW5U7pIfXOX + - req_dyeZJdaB0pTGZC Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vPQXW5U7pIfXOX + - req_dyeZJdaB0pTGZC Stripe-Account: - - acct_1P4CeW4GQ5sbQu5r + - acct_1P4Zd24CEabTKRMl Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -419,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", + "id": "pi_3P4Zd64CEabTKRMl0l99g08U", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -435,18 +435,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799735, + "created": 1712888056, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CeZ4GQ5sbQu5r0m1r2sQF", + "latest_charge": "ch_3P4Zd64CEabTKRMl0BZPoFpu", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CeZ4GQ5sbQu5rl8ICT4K5", + "payment_method": "pm_1P4Zd64CEabTKRMl4SCnxB9i", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,28 +471,28 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:16 GMT + recorded_at: Fri, 12 Apr 2024 02:14:17 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeZ4GQ5sbQu5r0EgF0mW7 + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zd64CEabTKRMl0l99g08U body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vPQXW5U7pIfXOX","request_duration_ms":1395}}' + - '{"last_request_metrics":{"request_id":"req_dyeZJdaB0pTGZC","request_duration_ms":1530}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4CeW4GQ5sbQu5r + - acct_1P4Zd24CEabTKRMl Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:16 GMT + - Fri, 12 Apr 2024 02:14:17 GMT Content-Type: - application/json Content-Length: @@ -537,11 +537,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hWr50HQoPzRx3V + - req_al7ltjUDwiseue Stripe-Account: - - acct_1P4CeW4GQ5sbQu5r + - acct_1P4Zd24CEabTKRMl Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -552,7 +552,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", + "id": "pi_3P4Zd64CEabTKRMl0l99g08U", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -568,18 +568,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799735, + "created": 1712888056, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CeZ4GQ5sbQu5r0m1r2sQF", + "latest_charge": "ch_3P4Zd64CEabTKRMl0BZPoFpu", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CeZ4GQ5sbQu5rl8ICT4K5", + "payment_method": "pm_1P4Zd64CEabTKRMl4SCnxB9i", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -604,10 +604,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:16 GMT + recorded_at: Fri, 12 Apr 2024 02:14:17 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeZ4GQ5sbQu5r0EgF0mW7 + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zd64CEabTKRMl0l99g08U body: encoding: US-ASCII string: '' @@ -623,7 +623,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4CeW4GQ5sbQu5r + - acct_1P4Zd24CEabTKRMl Connection: - close Accept-Encoding: @@ -638,7 +638,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:17 GMT + - Fri, 12 Apr 2024 02:14:18 GMT Content-Type: - application/json Content-Length: @@ -670,9 +670,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lrQ7lgqg6B5Rqy + - req_Xh6ZmDmo7qjVQ3 Stripe-Account: - - acct_1P4CeW4GQ5sbQu5r + - acct_1P4Zd24CEabTKRMl Stripe-Version: - '2020-08-27' Vary: @@ -685,7 +685,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", + "id": "pi_3P4Zd64CEabTKRMl0l99g08U", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -703,7 +703,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P4CeZ4GQ5sbQu5r0m1r2sQF", + "id": "ch_3P4Zd64CEabTKRMl0BZPoFpu", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -711,7 +711,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4CeZ4GQ5sbQu5r0vbgUMaY", + "balance_transaction": "txn_3P4Zd64CEabTKRMl0r7q6ifA", "billing_details": { "address": { "city": null, @@ -727,7 +727,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712799735, + "created": 1712888056, "currency": "aud", "customer": null, "description": null, @@ -747,13 +747,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 12, + "risk_score": 15, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", - "payment_method": "pm_1P4CeZ4GQ5sbQu5rl8ICT4K5", + "payment_intent": "pi_3P4Zd64CEabTKRMl0l99g08U", + "payment_method": "pm_1P4Zd64CEabTKRMl4SCnxB9i", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -796,14 +796,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRDZVc0R1E1c2JRdTVyKPn_3LAGMgY2WWsiVI06LBYG_4APh3CgnMaRtVfLTk2W-s5FpdciiZcmn-1P9Hkhau6jZkc4H6Tadl4h", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRaZDI0Q0VhYlRLUk1sKPqx4rAGMgbMCJge-eI6LBaSGtGzOnCcbrS2oskD7J9iezKwWXISOY8QtYjd8JyYB_-XMtN9R2Mu2InD", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P4CeZ4GQ5sbQu5r0m1r2sQF/refunds" + "url": "/v1/charges/ch_3P4Zd64CEabTKRMl0BZPoFpu/refunds" }, "review": null, "shipping": null, @@ -818,22 +818,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P4CeZ4GQ5sbQu5r0EgF0mW7" + "url": "/v1/charges?payment_intent=pi_3P4Zd64CEabTKRMl0l99g08U" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712799735, + "created": 1712888056, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CeZ4GQ5sbQu5r0m1r2sQF", + "latest_charge": "ch_3P4Zd64CEabTKRMl0BZPoFpu", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CeZ4GQ5sbQu5rl8ICT4K5", + "payment_method": "pm_1P4Zd64CEabTKRMl4SCnxB9i", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -858,10 +858,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:17 GMT + recorded_at: Fri, 12 Apr 2024 02:14:18 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3P4CeZ4GQ5sbQu5r0m1r2sQF/refunds + uri: https://api.stripe.com/v1/charges/ch_3P4Zd64CEabTKRMl0BZPoFpu/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -879,7 +879,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4CeW4GQ5sbQu5r + - acct_1P4Zd24CEabTKRMl Connection: - close Accept-Encoding: @@ -894,7 +894,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:19 GMT + - Fri, 12 Apr 2024 02:14:19 GMT Content-Type: - application/json Content-Length: @@ -922,17 +922,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 98745e06-0f60-4e95-92f2-989fabe73f1c + - 0a4c6916-53c5-4877-b5c5-b6bc54134a2e Original-Request: - - req_GxBY4tWwDVvMWd + - req_uQA2pp5f93iFLQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GxBY4tWwDVvMWd + - req_uQA2pp5f93iFLQ Stripe-Account: - - acct_1P4CeW4GQ5sbQu5r + - acct_1P4Zd24CEabTKRMl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -947,12 +947,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3P4CeZ4GQ5sbQu5r0E0FSXHD", + "id": "re_3P4Zd64CEabTKRMl08UQNSMt", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P4CeZ4GQ5sbQu5r0qC4jG0h", + "balance_transaction": "txn_3P4Zd64CEabTKRMl0x38NxOw", "charge": { - "id": "ch_3P4CeZ4GQ5sbQu5r0m1r2sQF", + "id": "ch_3P4Zd64CEabTKRMl0BZPoFpu", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -960,7 +960,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4CeZ4GQ5sbQu5r0vbgUMaY", + "balance_transaction": "txn_3P4Zd64CEabTKRMl0r7q6ifA", "billing_details": { "address": { "city": null, @@ -976,7 +976,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712799735, + "created": 1712888056, "currency": "aud", "customer": null, "description": null, @@ -996,13 +996,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 12, + "risk_score": 15, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", - "payment_method": "pm_1P4CeZ4GQ5sbQu5rl8ICT4K5", + "payment_intent": "pi_3P4Zd64CEabTKRMl0l99g08U", + "payment_method": "pm_1P4Zd64CEabTKRMl4SCnxB9i", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -1045,18 +1045,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRDZVc0R1E1c2JRdTVyKPr_3LAGMgZj9rPSe-06LBbN8TCYK1UhY8WAe6cBsvm6AgMYphn9EryCanouL-L4Rac0X_qXcZR-13B_", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRaZDI0Q0VhYlRLUk1sKPux4rAGMgYJu-KWM_o6LBYci-ecQl8DoJo6uIKiIjFM1ZFW_X7XXhzat-HOvF-J0zsZxCVpr_ZZL3S_", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3P4CeZ4GQ5sbQu5r0E0FSXHD", + "id": "re_3P4Zd64CEabTKRMl08UQNSMt", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P4CeZ4GQ5sbQu5r0qC4jG0h", - "charge": "ch_3P4CeZ4GQ5sbQu5r0m1r2sQF", - "created": 1712799738, + "balance_transaction": "txn_3P4Zd64CEabTKRMl0x38NxOw", + "charge": "ch_3P4Zd64CEabTKRMl0BZPoFpu", + "created": 1712888059, "currency": "aud", "destination_details": { "card": { @@ -1067,7 +1067,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", + "payment_intent": "pi_3P4Zd64CEabTKRMl0l99g08U", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1077,7 +1077,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3P4CeZ4GQ5sbQu5r0m1r2sQF/refunds" + "url": "/v1/charges/ch_3P4Zd64CEabTKRMl0BZPoFpu/refunds" }, "review": null, "shipping": null, @@ -1089,7 +1089,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1712799738, + "created": 1712888059, "currency": "aud", "destination_details": { "card": { @@ -1100,31 +1100,31 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P4CeZ4GQ5sbQu5r0EgF0mW7", + "payment_intent": "pi_3P4Zd64CEabTKRMl0l99g08U", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 11 Apr 2024 01:42:19 GMT + recorded_at: Fri, 12 Apr 2024 02:14:20 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CeW4GQ5sbQu5r + uri: https://api.stripe.com/v1/accounts/acct_1P4Zd24CEabTKRMl body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hWr50HQoPzRx3V","request_duration_ms":395}}' + - '{"last_request_metrics":{"request_id":"req_al7ltjUDwiseue","request_duration_ms":492}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -1139,7 +1139,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:20 GMT + - Fri, 12 Apr 2024 02:14:21 GMT Content-Type: - application/json Content-Length: @@ -1170,11 +1170,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dJNJhTggw7sqLc + - req_96WRUEBNDZQWAM Stripe-Account: - - acct_1P4CeW4GQ5sbQu5r + - acct_1P4Zd24CEabTKRMl Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -1185,9 +1185,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CeW4GQ5sbQu5r", + "id": "acct_1P4Zd24CEabTKRMl", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:42:20 GMT + recorded_at: Fri, 12 Apr 2024 02:14:21 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml index f063a0e769..9d6e024636 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dJNJhTggw7sqLc","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_96WRUEBNDZQWAM","request_duration_ms":1125}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:21 GMT + - Fri, 12 Apr 2024 02:14:23 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8493b56f-f851-416a-9ff1-76049bb71374 + - 628494d1-9be4-4f87-b7b3-7544f4045483 Original-Request: - - req_ubfLNIZzpxwzgq + - req_RvYYleN3Rs6McG Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ubfLNIZzpxwzgq + - req_RvYYleN3Rs6McG Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cee4I6x5YhB04", + "id": "acct_1P4ZdB4DoT4mqnG4", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799741, + "created": 1712888062, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Cee4I6x5YhB04/external_accounts" + "url": "/v1/accounts/acct_1P4ZdB4DoT4mqnG4/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:42:21 GMT + recorded_at: Fri, 12 Apr 2024 02:14:23 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -218,15 +218,15 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ubfLNIZzpxwzgq","request_duration_ms":1803}}' + - '{"last_request_metrics":{"request_id":"req_RvYYleN3Rs6McG","request_duration_ms":2016}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:23 GMT + - Fri, 12 Apr 2024 02:14:24 GMT Content-Type: - application/json Content-Length: @@ -273,9 +273,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UAMSHDS9ipeL31 + - req_rnet7ehHR016z7 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -286,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CegKuuB1fWySnKZeZ67yq", + "id": "pm_1P4ZdEKuuB1fWySn6MBR7ElD", "object": "payment_method", "billing_details": { "address": { @@ -327,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799742, + "created": 1712888064, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:42:23 GMT + recorded_at: Fri, 12 Apr 2024 02:14:24 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -342,19 +342,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UAMSHDS9ipeL31","request_duration_ms":501}}' + - '{"last_request_metrics":{"request_id":"req_rnet7ehHR016z7","request_duration_ms":588}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4Cee4I6x5YhB04 + - acct_1P4ZdB4DoT4mqnG4 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:23 GMT + - Fri, 12 Apr 2024 02:14:25 GMT Content-Type: - application/json Content-Length: @@ -394,21 +394,21 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7e85bda1-659c-4c06-9fd4-cf2eba70ed86 + - 37a89c73-45a8-4c18-93b8-c423e3d84a44 Original-Request: - - req_1RhuCxK6FKMSwQ + - req_BwGvniALp2k11B Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1RhuCxK6FKMSwQ + - req_BwGvniALp2k11B Stripe-Account: - - acct_1P4Cee4I6x5YhB04 + - acct_1P4ZdB4DoT4mqnG4 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -419,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Ceh4I6x5YhB04149YY7BP", + "id": "pi_3P4ZdE4DoT4mqnG411WLX3rQ", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -435,7 +435,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799743, + "created": 1712888064, "currency": "aud", "customer": null, "description": null, @@ -446,7 +446,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Ceh4I6x5YhB04QkQAz9WS", + "payment_method": "pm_1P4ZdE4DoT4mqnG4EpIZWzPp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,28 +471,28 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:23 GMT + recorded_at: Fri, 12 Apr 2024 02:14:25 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ceh4I6x5YhB04149YY7BP + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdE4DoT4mqnG411WLX3rQ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1RhuCxK6FKMSwQ","request_duration_ms":534}}' + - '{"last_request_metrics":{"request_id":"req_BwGvniALp2k11B","request_duration_ms":620}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4Cee4I6x5YhB04 + - acct_1P4ZdB4DoT4mqnG4 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:24 GMT + - Fri, 12 Apr 2024 02:14:25 GMT Content-Type: - application/json Content-Length: @@ -537,11 +537,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_X2m4m8rKbyU9L0 + - req_bSMCPY0HQ6QCkL Stripe-Account: - - acct_1P4Cee4I6x5YhB04 + - acct_1P4ZdB4DoT4mqnG4 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -552,7 +552,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Ceh4I6x5YhB04149YY7BP", + "id": "pi_3P4ZdE4DoT4mqnG411WLX3rQ", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -568,7 +568,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799743, + "created": 1712888064, "currency": "aud", "customer": null, "description": null, @@ -579,7 +579,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Ceh4I6x5YhB04QkQAz9WS", + "payment_method": "pm_1P4ZdE4DoT4mqnG4EpIZWzPp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -604,10 +604,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:24 GMT + recorded_at: Fri, 12 Apr 2024 02:14:25 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ceh4I6x5YhB04149YY7BP/cancel + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdE4DoT4mqnG411WLX3rQ/cancel body: encoding: US-ASCII string: '' @@ -625,7 +625,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4Cee4I6x5YhB04 + - acct_1P4ZdB4DoT4mqnG4 Connection: - close Accept-Encoding: @@ -640,7 +640,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:24 GMT + - Fri, 12 Apr 2024 02:14:26 GMT Content-Type: - application/json Content-Length: @@ -668,17 +668,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6c88247e-1655-4d3b-aafc-598e773e5f08 + - ce477308-b45d-4367-95dc-c0b069e9854c Original-Request: - - req_dk9aNDbFoDF2QZ + - req_XOdj9oIC4hNaRK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dk9aNDbFoDF2QZ + - req_XOdj9oIC4hNaRK Stripe-Account: - - acct_1P4Cee4I6x5YhB04 + - acct_1P4ZdB4DoT4mqnG4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -693,7 +693,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Ceh4I6x5YhB04149YY7BP", + "id": "pi_3P4ZdE4DoT4mqnG411WLX3rQ", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -704,7 +704,7 @@ http_interactions: "application": "", "application_fee_amount": null, "automatic_payment_methods": null, - "canceled_at": 1712799744, + "canceled_at": 1712888066, "cancellation_reason": null, "capture_method": "manual", "charges": { @@ -712,11 +712,11 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges?payment_intent=pi_3P4Ceh4I6x5YhB04149YY7BP" + "url": "/v1/charges?payment_intent=pi_3P4ZdE4DoT4mqnG411WLX3rQ" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712799743, + "created": 1712888064, "currency": "aud", "customer": null, "description": null, @@ -727,7 +727,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Ceh4I6x5YhB04QkQAz9WS", + "payment_method": "pm_1P4ZdE4DoT4mqnG4EpIZWzPp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -752,24 +752,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:24 GMT + recorded_at: Fri, 12 Apr 2024 02:14:26 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Cee4I6x5YhB04 + uri: https://api.stripe.com/v1/accounts/acct_1P4ZdB4DoT4mqnG4 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_X2m4m8rKbyU9L0","request_duration_ms":447}}' + - '{"last_request_metrics":{"request_id":"req_bSMCPY0HQ6QCkL","request_duration_ms":546}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -784,7 +784,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:26 GMT + - Fri, 12 Apr 2024 02:14:28 GMT Content-Type: - application/json Content-Length: @@ -815,11 +815,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6nYq7gQCqDQnbu + - req_iknD95Pwi06l40 Stripe-Account: - - acct_1P4Cee4I6x5YhB04 + - acct_1P4ZdB4DoT4mqnG4 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -830,9 +830,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cee4I6x5YhB04", + "id": "acct_1P4ZdB4DoT4mqnG4", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:42:26 GMT + recorded_at: Fri, 12 Apr 2024 02:14:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml similarity index 69% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml index 86e43bc716..7d57cfc2da 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml @@ -8,15 +8,15 @@ http_interactions: string: stripe_user_id=&client_id=bogus_client_id headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9bYrMMiSVMcKK3","request_duration_ms":1121}}' + - '{"last_request_metrics":{"request_id":"req_gYqJXM43oQDdId","request_duration_ms":1218}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:45 GMT + - Fri, 12 Apr 2024 02:14:49 GMT Content-Type: - application/json Content-Length: @@ -57,25 +57,25 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zb3YVY6gEAtvxo + - req_MNerLDGD8s2AIe Set-Cookie: - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Fri, 11 Apr 2025 01:42:45 GMT; secure; + domain=stripe.com; path=/; expires=Sat, 12 Apr 2025 02:14:49 GMT; secure; HttpOnly; SameSite=Lax - - cid=9815559b-cba9-4da2-b751-4c090b5103d4; domain=stripe.com; path=/; expires=Wed, - 10 Jul 2024 01:42:45 GMT; secure; SameSite=Lax - - machine_identifier=WxwQLtXFWcvzkNQGA1f0D7mJfeooX444ywXHXWrhQbhOmiedbqQQSdFE99kGjVbaePg%3D; - domain=stripe.com; path=/; expires=Fri, 11 Apr 2025 01:42:45 GMT; secure; + - cid=289fa2e6-0612-46a5-b3dc-69f7f61e61ee; domain=stripe.com; path=/; expires=Thu, + 11 Jul 2024 02:14:49 GMT; secure; SameSite=Lax + - machine_identifier=hBbcvUUqSX4F2JmzL4J0w2KhURetB7x%2FkHEneHYJahOwDqvgg0OC22%2Fo1KqwWEqWNIQ%3D; + domain=stripe.com; path=/; expires=Sat, 12 Apr 2025 02:14:49 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=FsjivGL97M1akNYAtD%2BgSfwDIn5iYOCPCIgNyWIT6ydWlUCrSJz3ixUNuQUFW9eVsy4%3D; - domain=stripe.com; path=/; expires=Fri, 11 Apr 2025 01:42:45 GMT; secure; + - private_machine_identifier=zkFt77U4hiW7KzCYlc1%2FO56NoNcVKKX0VDF9Kz5BJNujwGR7o7qK0A76lWFCTCGmhBo%3D; + domain=stripe.com; path=/; expires=Sat, 12 Apr 2025 02:14:49 GMT; secure; HttpOnly; SameSite=None - - stripe.csrf=inx-AQDnqtYjoWXOptx1JaPV2pnAdRdkzOutkv2CQhuRmfrhIPMwtRwMNiwSJS6KyNRU0jTtC3em8cXV81HJVTw-AYTZVJz4bD8HIFmVILFrw8wFPYu3ogaV5YuLCVCVGdNQMaEW5Q%3D%3D; + - stripe.csrf=1ZfkvQa3n5jAz5h0kNQc9X7zBi6NQXHoyuyMrcChvevKPo0v1HmISKVVt_wb96Mb-ogMTmiQS-EfCn5DHYHr8zw-AYTZVJzNwbf_CKx7bn1hj9N3NP6B95CO0wUnVz0X4J96M3xvaA%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" Stripe-Version: - - '2023-10-16' + - '2024-04-10' Www-Authenticate: - Bearer realm="Stripe" X-Stripe-Routing-Context-Priority-Tier: @@ -88,5 +88,5 @@ http_interactions: ''bogus_client_id''","stripe_user_id":null} ' - recorded_at: Thu, 11 Apr 2024 01:42:45 GMT + recorded_at: Fri, 12 Apr 2024 02:14:49 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml similarity index 83% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml index 774244162c..9b1931d18b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml @@ -8,15 +8,15 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9bYrMMiSVMcKK3","request_duration_ms":1121}}' + - '{"last_request_metrics":{"request_id":"req_gYqJXM43oQDdId","request_duration_ms":1218}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:48 GMT + - Fri, 12 Apr 2024 02:14:51 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 543e6674-c26c-4565-a13b-995df476579c + - 6faedd1f-1a83-4b1c-ad4d-168d2c82b4ef Original-Request: - - req_df5P3X5kYWras9 + - req_UAFiw9bz1pfZD9 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_df5P3X5kYWras9 + - req_UAFiw9bz1pfZD9 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cf44K2CrobfOo", + "id": "acct_1P4ZddQRfOW4POpO", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799767, + "created": 1712888090, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Cf44K2CrobfOo/external_accounts" + "url": "/v1/accounts/acct_1P4ZddQRfOW4POpO/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,24 +209,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:42:48 GMT + recorded_at: Fri, 12 Apr 2024 02:14:51 GMT - request: method: post uri: https://connect.stripe.com/oauth/deauthorize body: encoding: UTF-8 - string: stripe_user_id=acct_1P4Cf44K2CrobfOo&client_id= + string: stripe_user_id=acct_1P4ZddQRfOW4POpO&client_id= headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_df5P3X5kYWras9","request_duration_ms":2345}}' + - '{"last_request_metrics":{"request_id":"req_UAFiw9bz1pfZD9","request_duration_ms":1909}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:48 GMT + - Fri, 12 Apr 2024 02:14:52 GMT Content-Type: - application/json Content-Length: @@ -267,33 +267,33 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_tcXm0UbUoHE3l6 + - req_JPO7KcDPc7k4SG Set-Cookie: - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Fri, 11 Apr 2025 01:42:48 GMT; secure; + domain=stripe.com; path=/; expires=Sat, 12 Apr 2025 02:14:52 GMT; secure; HttpOnly; SameSite=Lax - - cid=3ce67fca-df18-4d8b-880e-4adc6b6a3011; domain=stripe.com; path=/; expires=Wed, - 10 Jul 2024 01:42:48 GMT; secure; SameSite=Lax - - machine_identifier=bi6zM%2FTcqP07Y8hEy2MB%2FAOZXxhJndlZnh6XH8IXOoWSXdyIf96RBfAxwUoUcTucjfw%3D; - domain=stripe.com; path=/; expires=Fri, 11 Apr 2025 01:42:48 GMT; secure; + - cid=345f5357-c07d-48cd-8341-890d54d2c985; domain=stripe.com; path=/; expires=Thu, + 11 Jul 2024 02:14:52 GMT; secure; SameSite=Lax + - machine_identifier=6ERLDVibgBETvTdkQNJiH3MSaNCjTVxBJvT%2FB3hLb2%2BtHS5h5zCCQkbgwAAktYar%2FhU%3D; + domain=stripe.com; path=/; expires=Sat, 12 Apr 2025 02:14:52 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=qOJTgAyIgSA6CqoxPUYbHJ2066tOrmcDPbdeSNexOTYtnLtixcIlEuK%2Fln02RZfYn8c%3D; - domain=stripe.com; path=/; expires=Fri, 11 Apr 2025 01:42:48 GMT; secure; + - private_machine_identifier=CkoKb2cM5RM7uplC7DwtWbaLK0%2B6rwvcTTIJP3yWLti4%2BEAguGMvsa015wMMzsiHbGo%3D; + domain=stripe.com; path=/; expires=Sat, 12 Apr 2025 02:14:52 GMT; secure; HttpOnly; SameSite=None - - stripe.csrf=Fm0ciqqyck9g0JhwP5DGa3NEevVahkdj387npn_K6GLHvMGi3yP8osk7ateeQK5fgIpu1DibLwUMhyLqo5CgkTw-AYTZVJwH8noGRrY3oLAYd5k7Lo21cpMM2pOAeGXdY-ltkyyf0w%3D%3D; + - stripe.csrf=EyZTaLATrejDwZSn33Notd5jTySp2TgYJN5j5jPFvQ_wN9bO9-8Ne1G4PF_2_B48JgpouZScjaF-smhSNnph-Dw-AYTZVJxXkia3XAIOW4vaSyg9uQMC35WcdMsJrurKwl1TltV8cw%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Routing-Context-Priority-Tier: - api-testmode Strict-Transport-Security: - max-age=63072000; includeSubDomains; preload body: encoding: UTF-8 - string: '{"error":null,"error_description":null,"stripe_user_id":"acct_1P4Cf44K2CrobfOo"} + string: '{"error":null,"error_description":null,"stripe_user_id":"acct_1P4ZddQRfOW4POpO"} ' - recorded_at: Thu, 11 Apr 2024 01:42:48 GMT + recorded_at: Fri, 12 Apr 2024 02:14:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml index 03b6956da4..b6f4f44574 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TYX4cYK26bUKyt","request_duration_ms":1262}}' + - '{"last_request_metrics":{"request_id":"req_7ND5ewRzxpeecJ","request_duration_ms":1429}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:57 GMT + - Fri, 12 Apr 2024 02:15:02 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2aa7ac77-82aa-415c-8ac9-7cf5737fa822 + - d88d1174-3869-406c-b41b-20c8d512d4d0 Original-Request: - - req_ccyq0bhWkLSnqp + - req_OnNZo7TnJDruKt Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ccyq0bhWkLSnqp + - req_OnNZo7TnJDruKt Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CfEKuuB1fWySnUeQGFJVE", + "id": "pm_1P4ZdpKuuB1fWySnAHGGy6xz", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799776, + "created": 1712888102, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:42:57 GMT + recorded_at: Fri, 12 Apr 2024 02:15:02 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P4CfEKuuB1fWySnUeQGFJVE&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P4ZdpKuuB1fWySnAHGGy6xz&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ccyq0bhWkLSnqp","request_duration_ms":564}}' + - '{"last_request_metrics":{"request_id":"req_OnNZo7TnJDruKt","request_duration_ms":695}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:57 GMT + - Fri, 12 Apr 2024 02:15:02 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 19990890-4f83-44f5-9cc5-66370150425d + - 14967189-0071-4630-9526-2b508f637ae6 Original-Request: - - req_aZdCc1T0laY225 + - req_ZmJD1JAqckCUsk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aZdCc1T0laY225 + - req_ZmJD1JAqckCUsk Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CfFKuuB1fWySn1rALRtwl", + "id": "pi_3P4ZdqKuuB1fWySn08i449zj", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799777, + "created": 1712888102, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CfEKuuB1fWySnUeQGFJVE", + "payment_method": "pm_1P4ZdpKuuB1fWySnAHGGy6xz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:57 GMT + recorded_at: Fri, 12 Apr 2024 02:15:02 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfFKuuB1fWySn1rALRtwl/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdqKuuB1fWySn08i449zj/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aZdCc1T0laY225","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_ZmJD1JAqckCUsk","request_duration_ms":611}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:58 GMT + - Fri, 12 Apr 2024 02:15:03 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ccea12d9-9b86-46de-bd2a-c14ffc8eba52 + - ac032be6-cba7-48b8-b97d-0db66ccc7663 Original-Request: - - req_SHeM7eNQxq7br4 + - req_MdEYVIgYgHYrEc Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SHeM7eNQxq7br4 + - req_MdEYVIgYgHYrEc Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CfFKuuB1fWySn1rALRtwl", + "id": "pi_3P4ZdqKuuB1fWySn08i449zj", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799777, + "created": 1712888102, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CfFKuuB1fWySn1wgtaive", + "latest_charge": "ch_3P4ZdqKuuB1fWySn0MUBo8mK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CfEKuuB1fWySnUeQGFJVE", + "payment_method": "pm_1P4ZdpKuuB1fWySnAHGGy6xz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:58 GMT + recorded_at: Fri, 12 Apr 2024 02:15:04 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfFKuuB1fWySn1rALRtwl/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdqKuuB1fWySn08i449zj/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SHeM7eNQxq7br4","request_duration_ms":945}}' + - '{"last_request_metrics":{"request_id":"req_MdEYVIgYgHYrEc","request_duration_ms":1226}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:59 GMT + - Fri, 12 Apr 2024 02:15:05 GMT Content-Type: - application/json Content-Length: @@ -457,19 +457,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 68d1f711-c85f-48a3-a72e-4eb29624365d + - 5dcc5795-a3d5-45ce-b391-32ca19ca4ad6 Original-Request: - - req_ME1DaPnCIJ5bmj + - req_El18wYIRVWTgGG Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ME1DaPnCIJ5bmj + - req_El18wYIRVWTgGG Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -480,7 +480,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CfFKuuB1fWySn1rALRtwl", + "id": "pi_3P4ZdqKuuB1fWySn08i449zj", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -496,18 +496,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799777, + "created": 1712888102, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CfFKuuB1fWySn1wgtaive", + "latest_charge": "ch_3P4ZdqKuuB1fWySn0MUBo8mK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CfEKuuB1fWySnUeQGFJVE", + "payment_method": "pm_1P4ZdpKuuB1fWySnAHGGy6xz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -532,24 +532,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:59 GMT + recorded_at: Fri, 12 Apr 2024 02:15:05 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfFKuuB1fWySn1rALRtwl + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdqKuuB1fWySn08i449zj body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ME1DaPnCIJ5bmj","request_duration_ms":1248}}' + - '{"last_request_metrics":{"request_id":"req_El18wYIRVWTgGG","request_duration_ms":1326}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -564,7 +564,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:43:00 GMT + - Fri, 12 Apr 2024 02:15:06 GMT Content-Type: - application/json Content-Length: @@ -596,9 +596,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rZwiAlPiMghx6Z + - req_xwNgw4AYwwJXMs Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CfFKuuB1fWySn1rALRtwl", + "id": "pi_3P4ZdqKuuB1fWySn08i449zj", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799777, + "created": 1712888102, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CfFKuuB1fWySn1wgtaive", + "latest_charge": "ch_3P4ZdqKuuB1fWySn0MUBo8mK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CfEKuuB1fWySnUeQGFJVE", + "payment_method": "pm_1P4ZdpKuuB1fWySnAHGGy6xz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,5 +661,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:43:00 GMT + recorded_at: Fri, 12 Apr 2024 02:15:06 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml index 1d5815650a..a2e617f069 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_u19NRhqbswzHgY","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_us5Xtd63PvuvIF","request_duration_ms":572}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:53 GMT + - Fri, 12 Apr 2024 02:14:58 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 360f2609-0256-4609-8d98-dcdd763014a6 + - 5c73fe7f-7692-44ed-8d87-6a2c76bd79e5 Original-Request: - - req_XEBghHAcyXforc + - req_hP9xJqFPWw7Ig3 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XEBghHAcyXforc + - req_hP9xJqFPWw7Ig3 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CfBKuuB1fWySnZiXdbXrx", + "id": "pm_1P4ZdlKuuB1fWySnzlSjNsDp", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799773, + "created": 1712888097, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:42:53 GMT + recorded_at: Fri, 12 Apr 2024 02:14:58 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P4CfBKuuB1fWySnZiXdbXrx&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P4ZdlKuuB1fWySnzlSjNsDp&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XEBghHAcyXforc","request_duration_ms":529}}' + - '{"last_request_metrics":{"request_id":"req_hP9xJqFPWw7Ig3","request_duration_ms":588}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:54 GMT + - Fri, 12 Apr 2024 02:14:58 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 71881b50-3320-448c-9480-9b0cdb5c16f7 + - 357b853b-effc-4182-b6b8-16decb8aaef3 Original-Request: - - req_TRztIbCEvjBtu4 + - req_q7Y1EVurOcgghq Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_TRztIbCEvjBtu4 + - req_q7Y1EVurOcgghq Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CfBKuuB1fWySn2ZyFmQil", + "id": "pi_3P4ZdmKuuB1fWySn0LU5rTBB", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799773, + "created": 1712888098, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CfBKuuB1fWySnZiXdbXrx", + "payment_method": "pm_1P4ZdlKuuB1fWySnzlSjNsDp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:54 GMT + recorded_at: Fri, 12 Apr 2024 02:14:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfBKuuB1fWySn2ZyFmQil/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdmKuuB1fWySn0LU5rTBB/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TRztIbCEvjBtu4","request_duration_ms":506}}' + - '{"last_request_metrics":{"request_id":"req_q7Y1EVurOcgghq","request_duration_ms":608}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:55 GMT + - Fri, 12 Apr 2024 02:14:59 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8ebcb5c6-6ad5-4ae9-839f-d2a69aac380a + - e1c601ed-4b5f-4f73-8bbf-cd119aa1544b Original-Request: - - req_l6BIn37FcCkh89 + - req_hy0luvU3Yera5O Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_l6BIn37FcCkh89 + - req_hy0luvU3Yera5O Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CfBKuuB1fWySn2ZyFmQil", + "id": "pi_3P4ZdmKuuB1fWySn0LU5rTBB", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799773, + "created": 1712888098, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CfBKuuB1fWySn28z5EJNz", + "latest_charge": "ch_3P4ZdmKuuB1fWySn0j3ID3CS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CfBKuuB1fWySnZiXdbXrx", + "payment_method": "pm_1P4ZdlKuuB1fWySnzlSjNsDp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:54 GMT + recorded_at: Fri, 12 Apr 2024 02:14:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfBKuuB1fWySn2ZyFmQil/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdmKuuB1fWySn0LU5rTBB/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_l6BIn37FcCkh89","request_duration_ms":909}}' + - '{"last_request_metrics":{"request_id":"req_hy0luvU3Yera5O","request_duration_ms":1122}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:56 GMT + - Fri, 12 Apr 2024 02:15:01 GMT Content-Type: - application/json Content-Length: @@ -457,19 +457,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 84725776-6d31-4f48-98ef-6d590f7a1f2d + - dea42712-f9e1-4a81-9b6b-8cc775e7ab14 Original-Request: - - req_TYX4cYK26bUKyt + - req_7ND5ewRzxpeecJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_TYX4cYK26bUKyt + - req_7ND5ewRzxpeecJ Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -480,7 +480,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CfBKuuB1fWySn2ZyFmQil", + "id": "pi_3P4ZdmKuuB1fWySn0LU5rTBB", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -496,18 +496,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799773, + "created": 1712888098, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CfBKuuB1fWySn28z5EJNz", + "latest_charge": "ch_3P4ZdmKuuB1fWySn0j3ID3CS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CfBKuuB1fWySnZiXdbXrx", + "payment_method": "pm_1P4ZdlKuuB1fWySnzlSjNsDp", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -532,5 +532,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:56 GMT + recorded_at: Fri, 12 Apr 2024 02:15:01 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml index e0e264af22..2185902557 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hDuAD7svVx7EjN","request_duration_ms":445}}' + - '{"last_request_metrics":{"request_id":"req_FEFTzrZy8t1cM9","request_duration_ms":473}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:52 GMT + - Fri, 12 Apr 2024 02:14:56 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4d8a97c6-412a-4e39-a502-b7f77c90dd21 + - 42a6ac17-4d84-40b5-a90b-ad2da0e302bf Original-Request: - - req_GJtDTywa3XMBGf + - req_lU89IsLUd1var8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GJtDTywa3XMBGf + - req_lU89IsLUd1var8 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CfAKuuB1fWySnmLnN4k02", + "id": "pm_1P4ZdkKuuB1fWySn1R4GPIMC", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799772, + "created": 1712888096, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:42:52 GMT + recorded_at: Fri, 12 Apr 2024 02:14:56 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P4CfAKuuB1fWySnmLnN4k02&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P4ZdkKuuB1fWySn1R4GPIMC&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GJtDTywa3XMBGf","request_duration_ms":522}}' + - '{"last_request_metrics":{"request_id":"req_lU89IsLUd1var8","request_duration_ms":782}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:52 GMT + - Fri, 12 Apr 2024 02:14:57 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fbc43e50-2334-46cf-934e-9246f816bb57 + - 609de0d8-b28c-4131-8da2-65cb7873046d Original-Request: - - req_u19NRhqbswzHgY + - req_us5Xtd63PvuvIF Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_u19NRhqbswzHgY + - req_us5Xtd63PvuvIF Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CfAKuuB1fWySn0zgRpW3m", + "id": "pi_3P4ZdlKuuB1fWySn2r2swMrx", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799772, + "created": 1712888097, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CfAKuuB1fWySnmLnN4k02", + "payment_method": "pm_1P4ZdkKuuB1fWySn1R4GPIMC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,5 +262,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:52 GMT + recorded_at: Fri, 12 Apr 2024 02:14:57 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml index 1af4e0de22..97d370d118 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QxAE2RQy4L9SUs","request_duration_ms":467}}' + - '{"last_request_metrics":{"request_id":"req_mR5omc7DBkl9nj","request_duration_ms":607}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:50 GMT + - Fri, 12 Apr 2024 02:14:54 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a496c0c3-060f-4ab5-90be-bc5da624fe97 + - e13e06f9-75bf-4d7b-a21c-b688806bc306 Original-Request: - - req_B5YJajLzglYUii + - req_Kk3yo4bucVN0n9 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_B5YJajLzglYUii + - req_Kk3yo4bucVN0n9 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Cf8KuuB1fWySnCT1NkbIN", + "id": "pm_1P4ZdiKuuB1fWySnnztpPqaj", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799770, + "created": 1712888094, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:42:50 GMT + recorded_at: Fri, 12 Apr 2024 02:14:54 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P4Cf8KuuB1fWySnCT1NkbIN&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P4ZdiKuuB1fWySnnztpPqaj&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_B5YJajLzglYUii","request_duration_ms":486}}' + - '{"last_request_metrics":{"request_id":"req_Kk3yo4bucVN0n9","request_duration_ms":614}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:51 GMT + - Fri, 12 Apr 2024 02:14:55 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - dfa25a19-743b-492d-ac08-60092d49bf4b + - f1b35445-1ff1-4eb4-95dd-0f0099b7bcf5 Original-Request: - - req_o1vwPlG1BAXQNm + - req_iwPUEolUy9f6ge Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_o1vwPlG1BAXQNm + - req_iwPUEolUy9f6ge Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cf9KuuB1fWySn11pFttMm", + "id": "pi_3P4ZdjKuuB1fWySn2RPQPiuc", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799771, + "created": 1712888095, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cf8KuuB1fWySnCT1NkbIN", + "payment_method": "pm_1P4ZdiKuuB1fWySnnztpPqaj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:51 GMT + recorded_at: Fri, 12 Apr 2024 02:14:55 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cf9KuuB1fWySn11pFttMm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdjKuuB1fWySn2RPQPiuc body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_o1vwPlG1BAXQNm","request_duration_ms":504}}' + - '{"last_request_metrics":{"request_id":"req_iwPUEolUy9f6ge","request_duration_ms":606}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:51 GMT + - Fri, 12 Apr 2024 02:14:55 GMT Content-Type: - application/json Content-Length: @@ -326,9 +326,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hDuAD7svVx7EjN + - req_FEFTzrZy8t1cM9 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -339,7 +339,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cf9KuuB1fWySn11pFttMm", + "id": "pi_3P4ZdjKuuB1fWySn2RPQPiuc", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -355,7 +355,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799771, + "created": 1712888095, "currency": "aud", "customer": null, "description": null, @@ -366,7 +366,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cf8KuuB1fWySnCT1NkbIN", + "payment_method": "pm_1P4ZdiKuuB1fWySnnztpPqaj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -391,5 +391,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:51 GMT + recorded_at: Fri, 12 Apr 2024 02:14:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml index 592777a570..12c7915fc6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tcXm0UbUoHE3l6","request_duration_ms":589}}' + - '{"last_request_metrics":{"request_id":"req_JPO7KcDPc7k4SG","request_duration_ms":1006}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:49 GMT + - Fri, 12 Apr 2024 02:14:53 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2d0bda1e-0c00-41a0-ae44-d8b08317eb17 + - b9caafef-09db-453c-8084-c549320a0cb5 Original-Request: - - req_0ebY2CdBa0kLZ5 + - req_D91WmSCDkmTbdi Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0ebY2CdBa0kLZ5 + - req_D91WmSCDkmTbdi Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Cf7KuuB1fWySnf4YwSwEX", + "id": "pm_1P4ZdgKuuB1fWySnDeXgGxkt", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799769, + "created": 1712888093, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:42:49 GMT + recorded_at: Fri, 12 Apr 2024 02:14:53 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P4Cf7KuuB1fWySnf4YwSwEX&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P4ZdgKuuB1fWySnDeXgGxkt&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0ebY2CdBa0kLZ5","request_duration_ms":460}}' + - '{"last_request_metrics":{"request_id":"req_D91WmSCDkmTbdi","request_duration_ms":758}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:42:50 GMT + - Fri, 12 Apr 2024 02:14:53 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f502063d-f100-47d3-8aa0-7da9bc130db0 + - 2707a21e-b629-4bce-9f6e-88e204bf4a8a Original-Request: - - req_QxAE2RQy4L9SUs + - req_mR5omc7DBkl9nj Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QxAE2RQy4L9SUs + - req_mR5omc7DBkl9nj Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cf7KuuB1fWySn11m4vnRI", + "id": "pi_3P4ZdhKuuB1fWySn2qH7oS9H", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799769, + "created": 1712888093, "currency": "aud", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cf7KuuB1fWySnf4YwSwEX", + "payment_method": "pm_1P4ZdgKuuB1fWySnDeXgGxkt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,5 +262,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:42:49 GMT + recorded_at: Fri, 12 Apr 2024 02:14:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml index bc89f21de2..76eb8224eb 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kK49CSJ3ow9j3K","request_duration_ms":491}}' + - '{"last_request_metrics":{"request_id":"req_hMYopP4arAmaeo","request_duration_ms":399}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:26 GMT + - Fri, 12 Apr 2024 02:11:22 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b9831e86-cb52-47d2-ba40-b603c42078a4 + - 2f4ad1c9-7139-46b5-a442-fa90a8bdde3a Original-Request: - - req_ww71z0UnfLqkcj + - req_7BAoei6zdJXIVX Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ww71z0UnfLqkcj + - req_7BAoei6zdJXIVX Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CbqKuuB1fWySnBHGi6m3a", + "id": "pm_1P4ZaIKuuB1fWySnSMS6Jo46", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799566, + "created": 1712887882, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:26 GMT + recorded_at: Fri, 12 Apr 2024 02:11:22 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -137,15 +137,15 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ww71z0UnfLqkcj","request_duration_ms":645}}' + - '{"last_request_metrics":{"request_id":"req_7BAoei6zdJXIVX","request_duration_ms":499}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:28 GMT + - Fri, 12 Apr 2024 02:11:24 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a4ce1cef-fd65-4a15-8395-6c991454e1fb + - 27f95a7c-1d9d-462d-b37c-453f7486ba6c Original-Request: - - req_rFrBTDyJMBYFg2 + - req_JOKDeosiH4GMXY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rFrBTDyJMBYFg2 + - req_JOKDeosiH4GMXY Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cbr4IrHqw6weo", + "id": "acct_1P4ZaJ3ObfKmNJ8t", "object": "account", "business_profile": { "annual_revenue": null, @@ -232,7 +232,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799568, + "created": 1712887883, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -241,7 +241,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Cbr4IrHqw6weo/external_accounts" + "url": "/v1/accounts/acct_1P4ZaJ3ObfKmNJ8t/external_accounts" }, "future_requirements": { "alternatives": [], @@ -338,24 +338,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:39:28 GMT + recorded_at: Fri, 12 Apr 2024 02:11:24 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1P4CbqKuuB1fWySnBHGi6m3a + uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaIKuuB1fWySnSMS6Jo46 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rFrBTDyJMBYFg2","request_duration_ms":1939}}' + - '{"last_request_metrics":{"request_id":"req_JOKDeosiH4GMXY","request_duration_ms":1980}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -370,7 +370,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:29 GMT + - Fri, 12 Apr 2024 02:11:25 GMT Content-Type: - application/json Content-Length: @@ -402,9 +402,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_O2c9koi2YkH7oO + - req_C6tDJbtmu1B78f Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -415,7 +415,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CbqKuuB1fWySnBHGi6m3a", + "id": "pm_1P4ZaIKuuB1fWySnSMS6Jo46", "object": "payment_method", "billing_details": { "address": { @@ -456,13 +456,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799566, + "created": 1712887882, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:29 GMT + recorded_at: Fri, 12 Apr 2024 02:11:25 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -471,19 +471,19 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_O2c9koi2YkH7oO","request_duration_ms":423}}' + - '{"last_request_metrics":{"request_id":"req_C6tDJbtmu1B78f","request_duration_ms":340}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4Cbr4IrHqw6weo + - acct_1P4ZaJ3ObfKmNJ8t Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -496,7 +496,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:29 GMT + - Fri, 12 Apr 2024 02:11:25 GMT Content-Type: - application/json Content-Length: @@ -527,11 +527,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gWUI45VEjZnwb0 + - req_Np5fQJpC15cMCX Stripe-Account: - - acct_1P4Cbr4IrHqw6weo + - acct_1P4ZaJ3ObfKmNJ8t Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -547,28 +547,28 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Thu, 11 Apr 2024 01:39:29 GMT + recorded_at: Fri, 12 Apr 2024 02:11:25 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: payment_method=pm_1P4CbqKuuB1fWySnBHGi6m3a + string: payment_method=pm_1P4ZaIKuuB1fWySnSMS6Jo46 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gWUI45VEjZnwb0","request_duration_ms":488}}' + - '{"last_request_metrics":{"request_id":"req_Np5fQJpC15cMCX","request_duration_ms":367}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4Cbr4IrHqw6weo + - acct_1P4ZaJ3ObfKmNJ8t Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -581,7 +581,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:30 GMT + - Fri, 12 Apr 2024 02:11:25 GMT Content-Type: - application/json Content-Length: @@ -608,21 +608,21 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 74316562-c6c2-4a30-aa03-23dcc5f1ea8d + - 2bda5820-82b7-4dd6-aa72-961349cf4565 Original-Request: - - req_yZ6FewCUuIUCoN + - req_gBbcLi5FiS4jXY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_yZ6FewCUuIUCoN + - req_gBbcLi5FiS4jXY Stripe-Account: - - acct_1P4Cbr4IrHqw6weo + - acct_1P4ZaJ3ObfKmNJ8t Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -633,7 +633,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Cbu4IrHqw6weogQI9gVn9", + "id": "pm_1P4ZaL3ObfKmNJ8tgiPHRKm1", "object": "payment_method", "billing_details": { "address": { @@ -674,30 +674,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799570, + "created": 1712887885, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:30 GMT + recorded_at: Fri, 12 Apr 2024 02:11:25 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Cbr4IrHqw6weo + uri: https://api.stripe.com/v1/accounts/acct_1P4ZaJ3ObfKmNJ8t body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yZ6FewCUuIUCoN","request_duration_ms":613}}' + - '{"last_request_metrics":{"request_id":"req_gBbcLi5FiS4jXY","request_duration_ms":508}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -712,7 +712,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:31 GMT + - Fri, 12 Apr 2024 02:11:27 GMT Content-Type: - application/json Content-Length: @@ -743,11 +743,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WHFqykFMJ3ScZ6 + - req_5SHRzoHwxdHhyc Stripe-Account: - - acct_1P4Cbr4IrHqw6weo + - acct_1P4ZaJ3ObfKmNJ8t Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -758,9 +758,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cbr4IrHqw6weo", + "id": "acct_1P4ZaJ3ObfKmNJ8t", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:39:31 GMT + recorded_at: Fri, 12 Apr 2024 02:11:27 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml index c938d24fb3..926a511ddc 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WHFqykFMJ3ScZ6","request_duration_ms":1236}}' + - '{"last_request_metrics":{"request_id":"req_5SHRzoHwxdHhyc","request_duration_ms":1113}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:32 GMT + - Fri, 12 Apr 2024 02:11:27 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0d4309ba-4878-425e-a417-7367c25d97cc + - 69ebb85c-acf7-458e-a3d2-e061742edb27 Original-Request: - - req_B3ifBDqFa7qvLq + - req_Lgg7CFtbJkFdLJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_B3ifBDqFa7qvLq + - req_Lgg7CFtbJkFdLJ Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CbwKuuB1fWySnbRQ6PSVQ", + "id": "pm_1P4ZaNKuuB1fWySnguFIZykH", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799572, + "created": 1712887887, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:32 GMT + recorded_at: Fri, 12 Apr 2024 02:11:27 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,15 +137,15 @@ http_interactions: string: name=Apple+Customer&email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_B3ifBDqFa7qvLq","request_duration_ms":607}}' + - '{"last_request_metrics":{"request_id":"req_Lgg7CFtbJkFdLJ","request_duration_ms":510}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:32 GMT + - Fri, 12 Apr 2024 02:11:28 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 657671f7-1ab1-4c15-afe3-6c796ea0147f + - 9de68f82-db85-4c58-95df-79d8bfef0497 Original-Request: - - req_pUvj16UzIPguz1 + - req_AdS9rKzMcWSHpf Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pUvj16UzIPguz1 + - req_AdS9rKzMcWSHpf Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pu0dWFDWBxpP1E", + "id": "cus_PuONHWUvq38h7I", "object": "customer", "address": null, "balance": 0, - "created": 1712799572, + "created": 1712887887, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "91F2E5A7", + "invoice_prefix": "6087D03E", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,24 +238,24 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 11 Apr 2024 01:39:32 GMT + recorded_at: Fri, 12 Apr 2024 02:11:28 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4CbwKuuB1fWySnbRQ6PSVQ/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaNKuuB1fWySnguFIZykH/attach body: encoding: UTF-8 - string: customer=cus_Pu0dWFDWBxpP1E + string: customer=cus_PuONHWUvq38h7I headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pUvj16UzIPguz1","request_duration_ms":610}}' + - '{"last_request_metrics":{"request_id":"req_AdS9rKzMcWSHpf","request_duration_ms":513}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:33 GMT + - Fri, 12 Apr 2024 02:11:28 GMT Content-Type: - application/json Content-Length: @@ -298,19 +298,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 614d3c1e-ea1b-4b88-ab66-aab40b9cfd09 + - 8608c587-ecb0-4d7e-905c-794403f9ec3b Original-Request: - - req_zdIG3lwZrYbxwB + - req_2hCXAiswoYcotA Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zdIG3lwZrYbxwB + - req_2hCXAiswoYcotA Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CbwKuuB1fWySnbRQ6PSVQ", + "id": "pm_1P4ZaNKuuB1fWySnguFIZykH", "object": "payment_method", "billing_details": { "address": { @@ -362,13 +362,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799572, - "customer": "cus_Pu0dWFDWBxpP1E", + "created": 1712887887, + "customer": "cus_PuONHWUvq38h7I", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:33 GMT + recorded_at: Fri, 12 Apr 2024 02:11:28 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -377,15 +377,15 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zdIG3lwZrYbxwB","request_duration_ms":816}}' + - '{"last_request_metrics":{"request_id":"req_2hCXAiswoYcotA","request_duration_ms":710}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:35 GMT + - Fri, 12 Apr 2024 02:11:30 GMT Content-Type: - application/json Content-Length: @@ -427,19 +427,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a623d4b5-907a-4570-aeb6-dd268926b1fa + - 67ca0af3-9044-450f-a457-eaff4186273c Original-Request: - - req_LHJFcpgquKqTyM + - req_MNBc0qvE72XW6d Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LHJFcpgquKqTyM + - req_MNBc0qvE72XW6d Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -450,7 +450,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CbyQTfgozVshF", + "id": "acct_1P4ZaPQTzqHR8CGo", "object": "account", "business_profile": { "annual_revenue": null, @@ -472,7 +472,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799574, + "created": 1712887890, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -481,7 +481,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CbyQTfgozVshF/external_accounts" + "url": "/v1/accounts/acct_1P4ZaPQTzqHR8CGo/external_accounts" }, "future_requirements": { "alternatives": [], @@ -578,24 +578,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:39:35 GMT + recorded_at: Fri, 12 Apr 2024 02:11:30 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1P4CbwKuuB1fWySnbRQ6PSVQ + uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaNKuuB1fWySnguFIZykH body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LHJFcpgquKqTyM","request_duration_ms":1902}}' + - '{"last_request_metrics":{"request_id":"req_MNBc0qvE72XW6d","request_duration_ms":1924}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -610,7 +610,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:36 GMT + - Fri, 12 Apr 2024 02:11:31 GMT Content-Type: - application/json Content-Length: @@ -642,9 +642,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_RFxk9SetkJnSyW + - req_eGpuKdTNgBEbvq Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -655,7 +655,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CbwKuuB1fWySnbRQ6PSVQ", + "id": "pm_1P4ZaNKuuB1fWySnguFIZykH", "object": "payment_method", "billing_details": { "address": { @@ -696,13 +696,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799572, - "customer": "cus_Pu0dWFDWBxpP1E", + "created": 1712887887, + "customer": "cus_PuONHWUvq38h7I", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:36 GMT + recorded_at: Fri, 12 Apr 2024 02:11:31 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -711,19 +711,19 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RFxk9SetkJnSyW","request_duration_ms":540}}' + - '{"last_request_metrics":{"request_id":"req_eGpuKdTNgBEbvq","request_duration_ms":407}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4CbyQTfgozVshF + - acct_1P4ZaPQTzqHR8CGo Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -736,7 +736,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:36 GMT + - Fri, 12 Apr 2024 02:11:31 GMT Content-Type: - application/json Content-Length: @@ -767,11 +767,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eq3NimkOCUzKNs + - req_BY4PK8nOn5TdoY Stripe-Account: - - acct_1P4CbyQTfgozVshF + - acct_1P4ZaPQTzqHR8CGo Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -787,28 +787,28 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Thu, 11 Apr 2024 01:39:36 GMT + recorded_at: Fri, 12 Apr 2024 02:11:31 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: customer=cus_Pu0dWFDWBxpP1E&payment_method=pm_1P4CbwKuuB1fWySnbRQ6PSVQ + string: customer=cus_PuONHWUvq38h7I&payment_method=pm_1P4ZaNKuuB1fWySnguFIZykH headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eq3NimkOCUzKNs","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_BY4PK8nOn5TdoY","request_duration_ms":309}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4CbyQTfgozVshF + - acct_1P4ZaPQTzqHR8CGo Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -821,7 +821,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:37 GMT + - Fri, 12 Apr 2024 02:11:32 GMT Content-Type: - application/json Content-Length: @@ -848,21 +848,21 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0dbd7214-bbe6-40d1-9fd8-3a3124c3c65d + - 77822443-e7e1-497c-8ecd-75e2c5aa2283 Original-Request: - - req_Skyqld5bIqsRXF + - req_98IQVqp4DKlui8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Skyqld5bIqsRXF + - req_98IQVqp4DKlui8 Stripe-Account: - - acct_1P4CbyQTfgozVshF + - acct_1P4ZaPQTzqHR8CGo Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -873,7 +873,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Cc1QTfgozVshF7JZmw68o", + "id": "pm_1P4ZaRQTzqHR8CGosjcS2TAx", "object": "payment_method", "billing_details": { "address": { @@ -914,13 +914,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799577, + "created": 1712887891, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:37 GMT + recorded_at: Fri, 12 Apr 2024 02:11:32 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -929,19 +929,19 @@ http_interactions: string: email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Skyqld5bIqsRXF","request_duration_ms":613}}' + - '{"last_request_metrics":{"request_id":"req_98IQVqp4DKlui8","request_duration_ms":420}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4CbyQTfgozVshF + - acct_1P4ZaPQTzqHR8CGo Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -954,7 +954,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:37 GMT + - Fri, 12 Apr 2024 02:11:32 GMT Content-Type: - application/json Content-Length: @@ -981,21 +981,21 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 932ed49e-e140-4e87-9f67-b7171f0fcf77 + - 0c8cee61-f93b-4ce5-a967-73c730a6a2dd Original-Request: - - req_klNVZEXViSu6lc + - req_pi5XJzpEqcrZnp Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_klNVZEXViSu6lc + - req_pi5XJzpEqcrZnp Stripe-Account: - - acct_1P4CbyQTfgozVshF + - acct_1P4ZaPQTzqHR8CGo Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -1006,18 +1006,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pu0dKdqrDJlo9l", + "id": "cus_PuONRIJfPuzEq6", "object": "customer", "address": null, "balance": 0, - "created": 1712799577, + "created": 1712887892, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "3AB9B824", + "invoice_prefix": "1D9525C5", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -1034,28 +1034,28 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 11 Apr 2024 01:39:37 GMT + recorded_at: Fri, 12 Apr 2024 02:11:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4Cc1QTfgozVshF7JZmw68o/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaRQTzqHR8CGosjcS2TAx/attach body: encoding: UTF-8 - string: customer=cus_Pu0dKdqrDJlo9l + string: customer=cus_PuONRIJfPuzEq6 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_klNVZEXViSu6lc","request_duration_ms":612}}' + - '{"last_request_metrics":{"request_id":"req_pi5XJzpEqcrZnp","request_duration_ms":490}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4CbyQTfgozVshF + - acct_1P4ZaPQTzqHR8CGo Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1068,7 +1068,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:38 GMT + - Fri, 12 Apr 2024 02:11:33 GMT Content-Type: - application/json Content-Length: @@ -1096,21 +1096,21 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 81b0f8ba-77ae-40a9-a92f-cca9cdccbda4 + - 82fb7f0d-2c43-4327-bb84-36f6213c5083 Original-Request: - - req_nA0RtoX9p3cZsd + - req_lBUNTPzUS0AWAg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nA0RtoX9p3cZsd + - req_lBUNTPzUS0AWAg Stripe-Account: - - acct_1P4CbyQTfgozVshF + - acct_1P4ZaPQTzqHR8CGo Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -1121,7 +1121,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Cc1QTfgozVshF7JZmw68o", + "id": "pm_1P4ZaRQTzqHR8CGosjcS2TAx", "object": "payment_method", "billing_details": { "address": { @@ -1162,34 +1162,34 @@ http_interactions: }, "wallet": null }, - "created": 1712799577, - "customer": "cus_Pu0dKdqrDJlo9l", + "created": 1712887891, + "customer": "cus_PuONRIJfPuzEq6", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:38 GMT + recorded_at: Fri, 12 Apr 2024 02:11:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4Cc1QTfgozVshF7JZmw68o + uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaRQTzqHR8CGosjcS2TAx body: encoding: UTF-8 string: metadata[ofn-clone]=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nA0RtoX9p3cZsd","request_duration_ms":611}}' + - '{"last_request_metrics":{"request_id":"req_lBUNTPzUS0AWAg","request_duration_ms":460}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4CbyQTfgozVshF + - acct_1P4ZaPQTzqHR8CGo Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1202,7 +1202,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:39 GMT + - Fri, 12 Apr 2024 02:11:33 GMT Content-Type: - application/json Content-Length: @@ -1230,21 +1230,21 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ae6c7faa-26e8-4a6a-be37-4ca37fb87d43 + - 8c0122a8-0884-4bb1-a38e-ee903dece2e5 Original-Request: - - req_zP3WPzF1jR910k + - req_483A3szmwNE8GD Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zP3WPzF1jR910k + - req_483A3szmwNE8GD Stripe-Account: - - acct_1P4CbyQTfgozVshF + - acct_1P4ZaPQTzqHR8CGo Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -1255,7 +1255,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Cc1QTfgozVshF7JZmw68o", + "id": "pm_1P4ZaRQTzqHR8CGosjcS2TAx", "object": "payment_method", "billing_details": { "address": { @@ -1296,32 +1296,32 @@ http_interactions: }, "wallet": null }, - "created": 1712799577, - "customer": "cus_Pu0dKdqrDJlo9l", + "created": 1712887891, + "customer": "cus_PuONRIJfPuzEq6", "livemode": false, "metadata": { "ofn-clone": "true" }, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:39 GMT + recorded_at: Fri, 12 Apr 2024 02:11:33 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CbyQTfgozVshF + uri: https://api.stripe.com/v1/accounts/acct_1P4ZaPQTzqHR8CGo body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zP3WPzF1jR910k","request_duration_ms":612}}' + - '{"last_request_metrics":{"request_id":"req_483A3szmwNE8GD","request_duration_ms":458}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -1336,7 +1336,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:40 GMT + - Fri, 12 Apr 2024 02:11:34 GMT Content-Type: - application/json Content-Length: @@ -1367,11 +1367,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FB9NKtSweAN0Vr + - req_vUaESIyspFDJai Stripe-Account: - - acct_1P4CbyQTfgozVshF + - acct_1P4ZaPQTzqHR8CGo Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -1382,9 +1382,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CbyQTfgozVshF", + "id": "acct_1P4ZaPQTzqHR8CGo", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:39:40 GMT + recorded_at: Fri, 12 Apr 2024 02:11:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml index 4086dbb887..0c4b0c437d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_P8WoM4EskSdPPM","request_duration_ms":1119}}' + - '{"last_request_metrics":{"request_id":"req_2MOj7f2NrGI8Zz","request_duration_ms":1020}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:52 GMT + - Fri, 12 Apr 2024 02:11:45 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 67552288-93d8-4f17-b10c-bcdaa645806c + - 1511f365-3a80-428c-aabf-af406dd04f7f Original-Request: - - req_bV32D2aarbkHS3 + - req_z8bfJeR8bp5q5x Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bV32D2aarbkHS3 + - req_z8bfJeR8bp5q5x Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcGKuuB1fWySnONvZIx7Y", + "id": "pm_1P4ZafKuuB1fWySnXDNrOXWG", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799592, + "created": 1712887905, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:52 GMT + recorded_at: Fri, 12 Apr 2024 02:11:45 GMT - request: method: get uri: https://api.stripe.com/v1/customers/non_existing_customer_id @@ -137,15 +137,15 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bV32D2aarbkHS3","request_duration_ms":613}}' + - '{"last_request_metrics":{"request_id":"req_z8bfJeR8bp5q5x","request_duration_ms":624}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:52 GMT + - Fri, 12 Apr 2024 02:11:45 GMT Content-Type: - application/json Content-Length: @@ -192,9 +192,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vs3VbKpsPaqvuy + - req_JlkfY1xXUY0LlY Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,11 +210,11 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/resource-missing", "message": "No such customer: 'non_existing_customer_id'", "param": "id", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_vs3VbKpsPaqvuy?t=1712799592", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_JlkfY1xXUY0LlY?t=1712887905", "type": "invalid_request_error" } } - recorded_at: Thu, 11 Apr 2024 01:39:52 GMT + recorded_at: Fri, 12 Apr 2024 02:11:45 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -223,15 +223,15 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bV32D2aarbkHS3","request_duration_ms":613}}' + - '{"last_request_metrics":{"request_id":"req_z8bfJeR8bp5q5x","request_duration_ms":624}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -246,7 +246,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:54 GMT + - Fri, 12 Apr 2024 02:11:47 GMT Content-Type: - application/json Content-Length: @@ -273,19 +273,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cf4681a5-61b4-4ba0-aec8-1f89b664e003 + - c9de2c10-5dcc-4a83-ae59-b84f37564f86 Original-Request: - - req_j4BoFa2azQtgzk + - req_GADNLHxu0sT3dN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_j4BoFa2azQtgzk + - req_GADNLHxu0sT3dN Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -296,7 +296,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CcHQRJuqcOuTG", + "id": "acct_1P4ZagQSWSd2lYRl", "object": "account", "business_profile": { "annual_revenue": null, @@ -318,7 +318,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799594, + "created": 1712887906, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -327,7 +327,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CcHQRJuqcOuTG/external_accounts" + "url": "/v1/accounts/acct_1P4ZagQSWSd2lYRl/external_accounts" }, "future_requirements": { "alternatives": [], @@ -424,24 +424,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:39:54 GMT + recorded_at: Fri, 12 Apr 2024 02:11:47 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CcHQRJuqcOuTG + uri: https://api.stripe.com/v1/accounts/acct_1P4ZagQSWSd2lYRl body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_j4BoFa2azQtgzk","request_duration_ms":1834}}' + - '{"last_request_metrics":{"request_id":"req_GADNLHxu0sT3dN","request_duration_ms":1792}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -456,7 +456,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:55 GMT + - Fri, 12 Apr 2024 02:11:48 GMT Content-Type: - application/json Content-Length: @@ -487,11 +487,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OXbd4EXm1dK9Ge + - req_2v3MuZspc7vhxp Stripe-Account: - - acct_1P4CcHQRJuqcOuTG + - acct_1P4ZagQSWSd2lYRl Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -502,9 +502,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CcHQRJuqcOuTG", + "id": "acct_1P4ZagQSWSd2lYRl", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:39:55 GMT + recorded_at: Fri, 12 Apr 2024 02:11:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml index 6ba6cf0aca..6eadcbb3e9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IqBG0UIF6Q7Ew2","request_duration_ms":1119}}' + - '{"last_request_metrics":{"request_id":"req_BqXpV1twvQ9KsY","request_duration_ms":1041}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:47 GMT + - Fri, 12 Apr 2024 02:11:40 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e66a327a-8f58-4b3b-ba7c-269ecc856743 + - 8d45dd9d-7179-4a08-8f28-1149c759138a Original-Request: - - req_zBS4VW8OS7sGto + - req_CnNZkbLGaTDhG4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zBS4VW8OS7sGto + - req_CnNZkbLGaTDhG4 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcAKuuB1fWySnL81u6x83", + "id": "pm_1P4ZaaKuuB1fWySnJGNn5iC4", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799587, + "created": 1712887900, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:47 GMT + recorded_at: Fri, 12 Apr 2024 02:11:40 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,15 +137,15 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zBS4VW8OS7sGto","request_duration_ms":649}}' + - '{"last_request_metrics":{"request_id":"req_CnNZkbLGaTDhG4","request_duration_ms":472}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:47 GMT + - Fri, 12 Apr 2024 02:11:41 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 362b6380-f0b8-4f1d-8ec3-d9ada2102229 + - 45754cad-f270-4fb3-9252-fdfe99391db0 Original-Request: - - req_sRNHK1R5bM40yY + - req_MPnuKRK8O5rroR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sRNHK1R5bM40yY + - req_MPnuKRK8O5rroR Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pu0dODyVRbFErg", + "id": "cus_PuONXxSxnOCthr", "object": "customer", "address": null, "balance": 0, - "created": 1712799587, + "created": 1712887900, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "57EAA726", + "invoice_prefix": "9CE41E61", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,24 +238,24 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 11 Apr 2024 01:39:47 GMT + recorded_at: Fri, 12 Apr 2024 02:11:41 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4CcAKuuB1fWySnL81u6x83/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaaKuuB1fWySnJGNn5iC4/attach body: encoding: UTF-8 - string: customer=cus_Pu0dODyVRbFErg + string: customer=cus_PuONXxSxnOCthr headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sRNHK1R5bM40yY","request_duration_ms":682}}' + - '{"last_request_metrics":{"request_id":"req_MPnuKRK8O5rroR","request_duration_ms":450}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:48 GMT + - Fri, 12 Apr 2024 02:11:41 GMT Content-Type: - application/json Content-Length: @@ -298,19 +298,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0ae185c4-09d9-492a-9de0-8becdaad54fc + - c5d73821-d4cc-49bf-b1b2-9df613c97fe7 Original-Request: - - req_Gmb8srTWGYQrMP + - req_0lNoqGNn2LV0Th Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Gmb8srTWGYQrMP + - req_0lNoqGNn2LV0Th Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcAKuuB1fWySnL81u6x83", + "id": "pm_1P4ZaaKuuB1fWySnJGNn5iC4", "object": "payment_method", "billing_details": { "address": { @@ -362,13 +362,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799587, - "customer": "cus_Pu0dODyVRbFErg", + "created": 1712887900, + "customer": "cus_PuONXxSxnOCthr", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:48 GMT + recorded_at: Fri, 12 Apr 2024 02:11:41 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -377,15 +377,15 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Gmb8srTWGYQrMP","request_duration_ms":852}}' + - '{"last_request_metrics":{"request_id":"req_0lNoqGNn2LV0Th","request_duration_ms":674}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:50 GMT + - Fri, 12 Apr 2024 02:11:43 GMT Content-Type: - application/json Content-Length: @@ -427,19 +427,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9f8d377b-8d7d-454a-8b30-986de5904940 + - 539ceab6-e416-4263-9c26-c0b76a6f2c44 Original-Request: - - req_lnhrDAqKC7sWmN + - req_Iz8ARyVGfAFquF Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lnhrDAqKC7sWmN + - req_Iz8ARyVGfAFquF Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -450,7 +450,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CcDQTIBVaYol5", + "id": "acct_1P4Zab3sJNn5MPbA", "object": "account", "business_profile": { "annual_revenue": null, @@ -472,7 +472,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799589, + "created": 1712887902, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -481,7 +481,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CcDQTIBVaYol5/external_accounts" + "url": "/v1/accounts/acct_1P4Zab3sJNn5MPbA/external_accounts" }, "future_requirements": { "alternatives": [], @@ -578,24 +578,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:39:50 GMT + recorded_at: Fri, 12 Apr 2024 02:11:43 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CcDQTIBVaYol5 + uri: https://api.stripe.com/v1/accounts/acct_1P4Zab3sJNn5MPbA body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lnhrDAqKC7sWmN","request_duration_ms":1922}}' + - '{"last_request_metrics":{"request_id":"req_Iz8ARyVGfAFquF","request_duration_ms":1957}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -610,7 +610,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:51 GMT + - Fri, 12 Apr 2024 02:11:44 GMT Content-Type: - application/json Content-Length: @@ -641,11 +641,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_P8WoM4EskSdPPM + - req_2MOj7f2NrGI8Zz Stripe-Account: - - acct_1P4CcDQTIBVaYol5 + - acct_1P4Zab3sJNn5MPbA Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -656,9 +656,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CcDQTIBVaYol5", + "id": "acct_1P4Zab3sJNn5MPbA", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:39:51 GMT + recorded_at: Fri, 12 Apr 2024 02:11:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml index 97f69f9432..ad03750d7d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FB9NKtSweAN0Vr","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_vUaESIyspFDJai","request_duration_ms":931}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:40 GMT + - Fri, 12 Apr 2024 02:11:35 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 623b987b-33da-44a2-ae7e-b5337c990cc8 + - 91fbad63-3f0d-40cc-bf79-eed192d2801b Original-Request: - - req_spNvzllxAhPUKH + - req_4QaZTuJrJnp7fw Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_spNvzllxAhPUKH + - req_4QaZTuJrJnp7fw Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Cc4KuuB1fWySn4z9DLUSk", + "id": "pm_1P4ZaUKuuB1fWySnT2WiPv34", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799580, + "created": 1712887894, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:40 GMT + recorded_at: Fri, 12 Apr 2024 02:11:34 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,15 +137,15 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_spNvzllxAhPUKH","request_duration_ms":645}}' + - '{"last_request_metrics":{"request_id":"req_4QaZTuJrJnp7fw","request_duration_ms":512}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:41 GMT + - Fri, 12 Apr 2024 02:11:35 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fa7f2f42-401b-45cc-8a0f-190cb9f13d7e + - fa0815a6-89fa-4cf8-90e2-b1135df5c480 Original-Request: - - req_esIcvcfSdeWGmF + - req_BH0KZluLsM40SO Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_esIcvcfSdeWGmF + - req_BH0KZluLsM40SO Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pu0dGRpsBVLnbp", + "id": "cus_PuONiuq2Chq3o9", "object": "customer", "address": null, "balance": 0, - "created": 1712799581, + "created": 1712887895, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "F2D764EB", + "invoice_prefix": "92344EAD", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,24 +238,24 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 11 Apr 2024 01:39:41 GMT + recorded_at: Fri, 12 Apr 2024 02:11:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4Cc4KuuB1fWySn4z9DLUSk/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaUKuuB1fWySnT2WiPv34/attach body: encoding: UTF-8 - string: customer=cus_Pu0dGRpsBVLnbp + string: customer=cus_PuONiuq2Chq3o9 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_esIcvcfSdeWGmF","request_duration_ms":611}}' + - '{"last_request_metrics":{"request_id":"req_BH0KZluLsM40SO","request_duration_ms":755}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:42 GMT + - Fri, 12 Apr 2024 02:11:36 GMT Content-Type: - application/json Content-Length: @@ -298,19 +298,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4d20a7ed-622f-4aea-a50d-563d620987c5 + - 89214ac0-0d1f-4bf7-8bf8-b02c04e32565 Original-Request: - - req_zFrIXD1V2qlMeQ + - req_WxWPGMrlpWTpmu Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zFrIXD1V2qlMeQ + - req_WxWPGMrlpWTpmu Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Cc4KuuB1fWySn4z9DLUSk", + "id": "pm_1P4ZaUKuuB1fWySnT2WiPv34", "object": "payment_method", "billing_details": { "address": { @@ -362,30 +362,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799580, - "customer": "cus_Pu0dGRpsBVLnbp", + "created": 1712887894, + "customer": "cus_PuONiuq2Chq3o9", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:42 GMT + recorded_at: Fri, 12 Apr 2024 02:11:36 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_Pu0dGRpsBVLnbp + uri: https://api.stripe.com/v1/customers/cus_PuONiuq2Chq3o9 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zFrIXD1V2qlMeQ","request_duration_ms":818}}' + - '{"last_request_metrics":{"request_id":"req_WxWPGMrlpWTpmu","request_duration_ms":726}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -400,7 +400,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:42 GMT + - Fri, 12 Apr 2024 02:11:36 GMT Content-Type: - application/json Content-Length: @@ -432,9 +432,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_TCGnZ8q2lRg7SW + - req_j7EVl8eJVJbbV2 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -445,18 +445,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pu0dGRpsBVLnbp", + "id": "cus_PuONiuq2Chq3o9", "object": "customer", "address": null, "balance": 0, - "created": 1712799581, + "created": 1712887895, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "F2D764EB", + "invoice_prefix": "92344EAD", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -473,24 +473,24 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 11 Apr 2024 01:39:42 GMT + recorded_at: Fri, 12 Apr 2024 02:11:36 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_Pu0dGRpsBVLnbp + uri: https://api.stripe.com/v1/customers/cus_PuONiuq2Chq3o9 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TCGnZ8q2lRg7SW","request_duration_ms":491}}' + - '{"last_request_metrics":{"request_id":"req_j7EVl8eJVJbbV2","request_duration_ms":336}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -505,7 +505,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:43 GMT + - Fri, 12 Apr 2024 02:11:37 GMT Content-Type: - application/json Content-Length: @@ -537,9 +537,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_D6josEqE8650yb + - req_nSBsw4fAtwp5SM Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -550,11 +550,11 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pu0dGRpsBVLnbp", + "id": "cus_PuONiuq2Chq3o9", "object": "customer", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:39:43 GMT + recorded_at: Fri, 12 Apr 2024 02:11:37 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -563,15 +563,15 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_D6josEqE8650yb","request_duration_ms":612}}' + - '{"last_request_metrics":{"request_id":"req_nSBsw4fAtwp5SM","request_duration_ms":430}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -586,7 +586,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:45 GMT + - Fri, 12 Apr 2024 02:11:38 GMT Content-Type: - application/json Content-Length: @@ -613,19 +613,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0b8d1df4-0412-4abf-9623-acaa72abf4f0 + - 9365fecb-05d6-4009-9601-0f4b8a5d25bd Original-Request: - - req_w6T0KrumipAj1j + - req_Y4Z5eb5PE84sHH Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_w6T0KrumipAj1j + - req_Y4Z5eb5PE84sHH Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -636,7 +636,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cc74KjoXgt7bN", + "id": "acct_1P4ZaX4CEtyQsUl5", "object": "account", "business_profile": { "annual_revenue": null, @@ -658,7 +658,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799584, + "created": 1712887898, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -667,7 +667,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Cc74KjoXgt7bN/external_accounts" + "url": "/v1/accounts/acct_1P4ZaX4CEtyQsUl5/external_accounts" }, "future_requirements": { "alternatives": [], @@ -764,24 +764,24 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:39:45 GMT + recorded_at: Fri, 12 Apr 2024 02:11:38 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Cc74KjoXgt7bN + uri: https://api.stripe.com/v1/accounts/acct_1P4ZaX4CEtyQsUl5 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_w6T0KrumipAj1j","request_duration_ms":1844}}' + - '{"last_request_metrics":{"request_id":"req_Y4Z5eb5PE84sHH","request_duration_ms":1716}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -796,7 +796,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:46 GMT + - Fri, 12 Apr 2024 02:11:40 GMT Content-Type: - application/json Content-Length: @@ -827,11 +827,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IqBG0UIF6Q7Ew2 + - req_BqXpV1twvQ9KsY Stripe-Account: - - acct_1P4Cc74KjoXgt7bN + - acct_1P4ZaX4CEtyQsUl5 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -842,9 +842,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Cc74KjoXgt7bN", + "id": "acct_1P4ZaX4CEtyQsUl5", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:39:46 GMT + recorded_at: Fri, 12 Apr 2024 02:11:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index af2d6154b9..c490faf574 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4000000000006975&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ynj128QsGPOaSh","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_M3yDn1A0w5dAP3","request_duration_ms":584}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:50 GMT + - Fri, 12 Apr 2024 02:13:47 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ffd4103c-fe3d-4290-bfdc-0b1ca4ebac8b + - 9ea729b6-a42b-4ac7-b124-43fca7bcfb7b Original-Request: - - req_X9DwapbL2bJGMv + - req_mUnZn15lfKgPQV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_X9DwapbL2bJGMv + - req_mUnZn15lfKgPQV Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CeAKuuB1fWySn3qD9cLuL", + "id": "pm_1P4ZcdKuuB1fWySnHTUYU0wf", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799710, + "created": 1712888027, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:50 GMT + recorded_at: Fri, 12 Apr 2024 02:13:47 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CeAKuuB1fWySn3qD9cLuL&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZcdKuuB1fWySnHTUYU0wf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_X9DwapbL2bJGMv","request_duration_ms":498}}' + - '{"last_request_metrics":{"request_id":"req_mUnZn15lfKgPQV","request_duration_ms":587}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:51 GMT + - Fri, 12 Apr 2024 02:13:48 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 68ee5002-0df0-412d-addc-28066ab4e73b + - a1290c29-f139-40d4-8e18-9c03705255de Original-Request: - - req_DwV7h1Uqx5qRyJ + - req_bPBoCxlClLhaZS Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DwV7h1Uqx5qRyJ + - req_bPBoCxlClLhaZS Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CeBKuuB1fWySn0mx5iGN0", + "id": "pi_3P4ZcdKuuB1fWySn2TTtTLjw", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799711, + "created": 1712888027, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CeAKuuB1fWySn3qD9cLuL", + "payment_method": "pm_1P4ZcdKuuB1fWySnHTUYU0wf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:51 GMT + recorded_at: Fri, 12 Apr 2024 02:13:48 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CeBKuuB1fWySn0mx5iGN0/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcdKuuB1fWySn2TTtTLjw/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DwV7h1Uqx5qRyJ","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_bPBoCxlClLhaZS","request_duration_ms":610}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:52 GMT + - Fri, 12 Apr 2024 02:13:49 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b63cdb72-d031-4e03-ae75-2bb984e73374 + - 63b13c48-bd75-421a-b446-e1c78abd61cc Original-Request: - - req_Z5HfF0UNJiOgjq + - req_My0zgxHSpLn1nJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Z5HfF0UNJiOgjq + - req_My0zgxHSpLn1nJ Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4CeBKuuB1fWySn0unrH53f", + "charge": "ch_3P4ZcdKuuB1fWySn2vxkU5cl", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_intent": { - "id": "pi_3P4CeBKuuB1fWySn0mx5iGN0", + "id": "pi_3P4ZcdKuuB1fWySn2TTtTLjw", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799711, + "created": 1712888027, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4CeBKuuB1fWySn0unrH53f", + "charge": "ch_3P4ZcdKuuB1fWySn2vxkU5cl", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_method": { - "id": "pm_1P4CeAKuuB1fWySn3qD9cLuL", + "id": "pm_1P4ZcdKuuB1fWySnHTUYU0wf", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712799710, + "created": 1712888027, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4CeBKuuB1fWySn0unrH53f", + "latest_charge": "ch_3P4ZcdKuuB1fWySn2vxkU5cl", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4CeAKuuB1fWySn3qD9cLuL", + "id": "pm_1P4ZcdKuuB1fWySnHTUYU0wf", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712799710, + "created": 1712888027, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_Z5HfF0UNJiOgjq?t=1712799711", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_My0zgxHSpLn1nJ?t=1712888028", "type": "card_error" } } - recorded_at: Thu, 11 Apr 2024 01:41:52 GMT + recorded_at: Fri, 12 Apr 2024 02:13:49 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index afe7c7eaa1..fb8142afd8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4000000000000069&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ps5pBOSZrkoW6S","request_duration_ms":435}}' + - '{"last_request_metrics":{"request_id":"req_Oj7tp0NTRHMovi","request_duration_ms":610}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:44 GMT + - Fri, 12 Apr 2024 02:13:40 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - bc794db1-1da6-44aa-a1ad-7f0ce62e50de + - a01c2089-88c7-4812-81d0-1b5f6624892b Original-Request: - - req_u0t2fLtjSmInNx + - req_nZgpB9jAk04MiG Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_u0t2fLtjSmInNx + - req_nZgpB9jAk04MiG Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Ce4KuuB1fWySnZ2dwmFOr", + "id": "pm_1P4ZcVKuuB1fWySnW2lUx9yL", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799704, + "created": 1712888019, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:44 GMT + recorded_at: Fri, 12 Apr 2024 02:13:40 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Ce4KuuB1fWySnZ2dwmFOr&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZcVKuuB1fWySnW2lUx9yL&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_u0t2fLtjSmInNx","request_duration_ms":578}}' + - '{"last_request_metrics":{"request_id":"req_nZgpB9jAk04MiG","request_duration_ms":577}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:45 GMT + - Fri, 12 Apr 2024 02:13:40 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 81b15b19-594b-43a3-8d66-424a0f070234 + - 9d194a54-8c86-477d-b8e9-c3b86b9fdff8 Original-Request: - - req_5brt1R00IqpcxT + - req_vv9HCmw8OkVFqO Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5brt1R00IqpcxT + - req_vv9HCmw8OkVFqO Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Ce4KuuB1fWySn1nKOV5C7", + "id": "pi_3P4ZcWKuuB1fWySn2Y0pRMk3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799704, + "created": 1712888020, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Ce4KuuB1fWySnZ2dwmFOr", + "payment_method": "pm_1P4ZcVKuuB1fWySnW2lUx9yL", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:45 GMT + recorded_at: Fri, 12 Apr 2024 02:13:40 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ce4KuuB1fWySn1nKOV5C7/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcWKuuB1fWySn2Y0pRMk3/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5brt1R00IqpcxT","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_vv9HCmw8OkVFqO","request_duration_ms":549}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:46 GMT + - Fri, 12 Apr 2024 02:13:41 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5997da20-09b0-488a-931c-de483ec5a51b + - 6b500a84-54c5-4357-9901-0668208eac73 Original-Request: - - req_8w5Qkk3lwjlXyJ + - req_nxoQm9URXjLB2l Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8w5Qkk3lwjlXyJ + - req_nxoQm9URXjLB2l Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4Ce4KuuB1fWySn1feaDvUR", + "charge": "ch_3P4ZcWKuuB1fWySn2W3xDHZX", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_intent": { - "id": "pi_3P4Ce4KuuB1fWySn1nKOV5C7", + "id": "pi_3P4ZcWKuuB1fWySn2Y0pRMk3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799704, + "created": 1712888020, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4Ce4KuuB1fWySn1feaDvUR", + "charge": "ch_3P4ZcWKuuB1fWySn2W3xDHZX", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_method": { - "id": "pm_1P4Ce4KuuB1fWySnZ2dwmFOr", + "id": "pm_1P4ZcVKuuB1fWySnW2lUx9yL", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712799704, + "created": 1712888019, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4Ce4KuuB1fWySn1feaDvUR", + "latest_charge": "ch_3P4ZcWKuuB1fWySn2W3xDHZX", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4Ce4KuuB1fWySnZ2dwmFOr", + "id": "pm_1P4ZcVKuuB1fWySnW2lUx9yL", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712799704, + "created": 1712888019, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_8w5Qkk3lwjlXyJ?t=1712799705", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_nxoQm9URXjLB2l?t=1712888020", "type": "card_error" } } - recorded_at: Thu, 11 Apr 2024 01:41:46 GMT + recorded_at: Fri, 12 Apr 2024 02:13:41 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 8606ba65b3..6914beaadf 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4000000000000002&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fbEkE3Lhj68GyR","request_duration_ms":318}}' + - '{"last_request_metrics":{"request_id":"req_Ut86RWakJXQafT","request_duration_ms":483}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:36 GMT + - Fri, 12 Apr 2024 02:13:29 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 83f84e3d-bca0-4b51-8c5c-0022e150a80f + - c1e65c6d-cbd0-4728-a752-3c97f075787b Original-Request: - - req_Ha6FfDQGbA3vgP + - req_aMYXlhCMmhjKF5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ha6FfDQGbA3vgP + - req_aMYXlhCMmhjKF5 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdwKuuB1fWySns9gfQh3n", + "id": "pm_1P4ZcLKuuB1fWySnF6oGVlli", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799696, + "created": 1712888009, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:36 GMT + recorded_at: Fri, 12 Apr 2024 02:13:30 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdwKuuB1fWySns9gfQh3n&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZcLKuuB1fWySnF6oGVlli&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ha6FfDQGbA3vgP","request_duration_ms":457}}' + - '{"last_request_metrics":{"request_id":"req_aMYXlhCMmhjKF5","request_duration_ms":699}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:36 GMT + - Fri, 12 Apr 2024 02:13:30 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1b8ce995-a79c-42cc-b36e-d3f6a0380a65 + - ff3df66b-d2b0-4e55-bb72-fa128d3f080e Original-Request: - - req_zIfMz3vKk8H1KX + - req_8BSHX1JO9ouDFN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zIfMz3vKk8H1KX + - req_8BSHX1JO9ouDFN Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdwKuuB1fWySn1cwhyI2U", + "id": "pi_3P4ZcMKuuB1fWySn0xnNUe3O", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799696, + "created": 1712888010, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdwKuuB1fWySns9gfQh3n", + "payment_method": "pm_1P4ZcLKuuB1fWySnF6oGVlli", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:36 GMT + recorded_at: Fri, 12 Apr 2024 02:13:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdwKuuB1fWySn1cwhyI2U/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcMKuuB1fWySn0xnNUe3O/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zIfMz3vKk8H1KX","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_8BSHX1JO9ouDFN","request_duration_ms":610}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:37 GMT + - Fri, 12 Apr 2024 02:13:31 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1037e7b5-c873-471e-9e57-cdf079909d1b + - ead3fa64-0c9b-4a8a-9a27-7400cfc2dc21 Original-Request: - - req_bUFy6N0MNTiN0u + - req_I484WMTe3vT0zP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bUFy6N0MNTiN0u + - req_I484WMTe3vT0zP Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4CdwKuuB1fWySn1NSYjFk5", + "charge": "ch_3P4ZcMKuuB1fWySn0xA7L4cq", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3P4CdwKuuB1fWySn1cwhyI2U", + "id": "pi_3P4ZcMKuuB1fWySn0xnNUe3O", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799696, + "created": 1712888010, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4CdwKuuB1fWySn1NSYjFk5", + "charge": "ch_3P4ZcMKuuB1fWySn0xA7L4cq", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1P4CdwKuuB1fWySns9gfQh3n", + "id": "pm_1P4ZcLKuuB1fWySnF6oGVlli", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712799696, + "created": 1712888009, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4CdwKuuB1fWySn1NSYjFk5", + "latest_charge": "ch_3P4ZcMKuuB1fWySn0xA7L4cq", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4CdwKuuB1fWySns9gfQh3n", + "id": "pm_1P4ZcLKuuB1fWySnF6oGVlli", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712799696, + "created": 1712888009, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_bUFy6N0MNTiN0u?t=1712799696", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_I484WMTe3vT0zP?t=1712888010", "type": "card_error" } } - recorded_at: Thu, 11 Apr 2024 01:41:37 GMT + recorded_at: Fri, 12 Apr 2024 02:13:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 14e303656a..77478c2139 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4000000000000127&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5brt1R00IqpcxT","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_vv9HCmw8OkVFqO","request_duration_ms":549}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:46 GMT + - Fri, 12 Apr 2024 02:13:42 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2cab8240-54fb-45b1-b3c5-40556c86d76e + - 0b814339-e308-4f25-97fe-2a22758e2f99 Original-Request: - - req_DZam3NryK0lwhu + - req_T9tR50v82ndHdT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DZam3NryK0lwhu + - req_T9tR50v82ndHdT Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Ce6KuuB1fWySnumAdoaHx", + "id": "pm_1P4ZcYKuuB1fWySnxErSrBLK", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799706, + "created": 1712888022, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:46 GMT + recorded_at: Fri, 12 Apr 2024 02:13:42 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Ce6KuuB1fWySnumAdoaHx&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZcYKuuB1fWySnxErSrBLK&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DZam3NryK0lwhu","request_duration_ms":475}}' + - '{"last_request_metrics":{"request_id":"req_T9tR50v82ndHdT","request_duration_ms":711}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:47 GMT + - Fri, 12 Apr 2024 02:13:43 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 00b8e9af-31a9-4e5c-9e2e-6d3110840b48 + - 86ab5ef8-cd2b-4439-a7ec-33f2b87cfdcf Original-Request: - - req_UGdWH8g6hyQD7G + - req_t4v9qLle6U09GK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UGdWH8g6hyQD7G + - req_t4v9qLle6U09GK Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Ce6KuuB1fWySn1qi13bF9", + "id": "pi_3P4ZcYKuuB1fWySn0TsGSqrW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799706, + "created": 1712888022, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Ce6KuuB1fWySnumAdoaHx", + "payment_method": "pm_1P4ZcYKuuB1fWySnxErSrBLK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:47 GMT + recorded_at: Fri, 12 Apr 2024 02:13:43 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ce6KuuB1fWySn1qi13bF9/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcYKuuB1fWySn0TsGSqrW/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UGdWH8g6hyQD7G","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_t4v9qLle6U09GK","request_duration_ms":586}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:48 GMT + - Fri, 12 Apr 2024 02:13:44 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6c395200-4aae-4a5d-b664-06109d56cdf9 + - 45912944-6f87-4f6c-a5b0-d8837d587d79 Original-Request: - - req_vEWZWytWs0jtAu + - req_lOPijGuZqecrTr Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vEWZWytWs0jtAu + - req_lOPijGuZqecrTr Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4Ce6KuuB1fWySn1rh759N9", + "charge": "ch_3P4ZcYKuuB1fWySn0s1NRQYt", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_intent": { - "id": "pi_3P4Ce6KuuB1fWySn1qi13bF9", + "id": "pi_3P4ZcYKuuB1fWySn0TsGSqrW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799706, + "created": 1712888022, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4Ce6KuuB1fWySn1rh759N9", + "charge": "ch_3P4ZcYKuuB1fWySn0s1NRQYt", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_method": { - "id": "pm_1P4Ce6KuuB1fWySnumAdoaHx", + "id": "pm_1P4ZcYKuuB1fWySnxErSrBLK", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712799706, + "created": 1712888022, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4Ce6KuuB1fWySn1rh759N9", + "latest_charge": "ch_3P4ZcYKuuB1fWySn0s1NRQYt", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4Ce6KuuB1fWySnumAdoaHx", + "id": "pm_1P4ZcYKuuB1fWySnxErSrBLK", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712799706, + "created": 1712888022, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_vEWZWytWs0jtAu?t=1712799707", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_lOPijGuZqecrTr?t=1712888023", "type": "card_error" } } - recorded_at: Thu, 11 Apr 2024 01:41:48 GMT + recorded_at: Fri, 12 Apr 2024 02:13:44 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index a52e2024bb..496b051eae 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4000000000009995&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zIfMz3vKk8H1KX","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_8BSHX1JO9ouDFN","request_duration_ms":610}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:38 GMT + - Fri, 12 Apr 2024 02:13:32 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f6555995-c493-4dfd-af33-9908602003e7 + - 88b95667-0c3a-4049-ac3b-d3ce949fd543 Original-Request: - - req_nxD5RASm1S9HJM + - req_WiOQh3qO9zxE4P Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nxD5RASm1S9HJM + - req_WiOQh3qO9zxE4P Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdyKuuB1fWySnIIxNFemL", + "id": "pm_1P4ZcOKuuB1fWySnIccgjYKR", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799698, + "created": 1712888012, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:38 GMT + recorded_at: Fri, 12 Apr 2024 02:13:32 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdyKuuB1fWySnIIxNFemL&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZcOKuuB1fWySnIccgjYKR&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nxD5RASm1S9HJM","request_duration_ms":473}}' + - '{"last_request_metrics":{"request_id":"req_WiOQh3qO9zxE4P","request_duration_ms":704}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:38 GMT + - Fri, 12 Apr 2024 02:13:33 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f1188128-25d7-448c-b57f-0da3d28cc2a9 + - 99be8d50-fb13-4b25-9745-42bd1392b6c5 Original-Request: - - req_7p7aJHhuJDOR6c + - req_RuWyO5Z4TJf8Do Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7p7aJHhuJDOR6c + - req_RuWyO5Z4TJf8Do Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdyKuuB1fWySn2onvjoT7", + "id": "pi_3P4ZcOKuuB1fWySn0X6wilIz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799698, + "created": 1712888012, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdyKuuB1fWySnIIxNFemL", + "payment_method": "pm_1P4ZcOKuuB1fWySnIccgjYKR", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:38 GMT + recorded_at: Fri, 12 Apr 2024 02:13:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdyKuuB1fWySn2onvjoT7/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcOKuuB1fWySn0X6wilIz/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7p7aJHhuJDOR6c","request_duration_ms":513}}' + - '{"last_request_metrics":{"request_id":"req_RuWyO5Z4TJf8Do","request_duration_ms":712}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:39 GMT + - Fri, 12 Apr 2024 02:13:34 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 257910b0-267b-4c0b-9600-f824fdf99905 + - ad4b4703-4805-471d-ad3a-711045aec346 Original-Request: - - req_sWgt2fVQAuEy5w + - req_KXcWVH2utUVBCT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sWgt2fVQAuEy5w + - req_KXcWVH2utUVBCT Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4CdyKuuB1fWySn2JvwzPpJ", + "charge": "ch_3P4ZcOKuuB1fWySn0GfdjpTD", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_intent": { - "id": "pi_3P4CdyKuuB1fWySn2onvjoT7", + "id": "pi_3P4ZcOKuuB1fWySn0X6wilIz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799698, + "created": 1712888012, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4CdyKuuB1fWySn2JvwzPpJ", + "charge": "ch_3P4ZcOKuuB1fWySn0GfdjpTD", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_method": { - "id": "pm_1P4CdyKuuB1fWySnIIxNFemL", + "id": "pm_1P4ZcOKuuB1fWySnIccgjYKR", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712799698, + "created": 1712888012, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4CdyKuuB1fWySn2JvwzPpJ", + "latest_charge": "ch_3P4ZcOKuuB1fWySn0GfdjpTD", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4CdyKuuB1fWySnIIxNFemL", + "id": "pm_1P4ZcOKuuB1fWySnIccgjYKR", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712799698, + "created": 1712888012, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_sWgt2fVQAuEy5w?t=1712799699", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_KXcWVH2utUVBCT?t=1712888013", "type": "card_error" } } - recorded_at: Thu, 11 Apr 2024 01:41:39 GMT + recorded_at: Fri, 12 Apr 2024 02:13:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 93c8571def..a772e31783 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4000000000009987&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7p7aJHhuJDOR6c","request_duration_ms":513}}' + - '{"last_request_metrics":{"request_id":"req_RuWyO5Z4TJf8Do","request_duration_ms":712}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:40 GMT + - Fri, 12 Apr 2024 02:13:35 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 89e7cd61-0029-4aba-93b5-8c02a58e5288 + - 7f6c5b4e-4f3b-4de1-9aac-011bb6f670fc Original-Request: - - req_oas1yG54f0V9cg + - req_faClN56iNJGgt1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_oas1yG54f0V9cg + - req_faClN56iNJGgt1 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Ce0KuuB1fWySnCact5Rqh", + "id": "pm_1P4ZcQKuuB1fWySnZEMFAO69", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799700, + "created": 1712888014, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:40 GMT + recorded_at: Fri, 12 Apr 2024 02:13:35 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Ce0KuuB1fWySnCact5Rqh&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZcQKuuB1fWySnZEMFAO69&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oas1yG54f0V9cg","request_duration_ms":483}}' + - '{"last_request_metrics":{"request_id":"req_faClN56iNJGgt1","request_duration_ms":690}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:40 GMT + - Fri, 12 Apr 2024 02:13:35 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 741b640d-7d07-4bcc-8498-dad93ae80c5a + - 20d6e306-0862-4967-9e33-fa07c4b9ebcc Original-Request: - - req_bFBHR4qX9Ma0Ag + - req_l8j6Uv2rtbF3ds Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bFBHR4qX9Ma0Ag + - req_l8j6Uv2rtbF3ds Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Ce0KuuB1fWySn19NOiOfT", + "id": "pi_3P4ZcRKuuB1fWySn0CXL9dmy", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799700, + "created": 1712888015, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Ce0KuuB1fWySnCact5Rqh", + "payment_method": "pm_1P4ZcQKuuB1fWySnZEMFAO69", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:40 GMT + recorded_at: Fri, 12 Apr 2024 02:13:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ce0KuuB1fWySn19NOiOfT/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcRKuuB1fWySn0CXL9dmy/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bFBHR4qX9Ma0Ag","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_l8j6Uv2rtbF3ds","request_duration_ms":600}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:41 GMT + - Fri, 12 Apr 2024 02:13:36 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 54aa764f-2ccb-4535-b3e8-b9e12c33c64a + - ab0f442e-ff3f-455a-a63d-e97ede9f4779 Original-Request: - - req_V7pA8XyCNNyPj8 + - req_Zvwpd3G5FZqFYr Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_V7pA8XyCNNyPj8 + - req_Zvwpd3G5FZqFYr Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4Ce0KuuB1fWySn1kHRFVD2", + "charge": "ch_3P4ZcRKuuB1fWySn0t1yT3ZY", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3P4Ce0KuuB1fWySn19NOiOfT", + "id": "pi_3P4ZcRKuuB1fWySn0CXL9dmy", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799700, + "created": 1712888015, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4Ce0KuuB1fWySn1kHRFVD2", + "charge": "ch_3P4ZcRKuuB1fWySn0t1yT3ZY", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1P4Ce0KuuB1fWySnCact5Rqh", + "id": "pm_1P4ZcQKuuB1fWySnZEMFAO69", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712799700, + "created": 1712888014, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4Ce0KuuB1fWySn1kHRFVD2", + "latest_charge": "ch_3P4ZcRKuuB1fWySn0t1yT3ZY", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4Ce0KuuB1fWySnCact5Rqh", + "id": "pm_1P4ZcQKuuB1fWySnZEMFAO69", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712799700, + "created": 1712888014, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_V7pA8XyCNNyPj8?t=1712799701", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_Zvwpd3G5FZqFYr?t=1712888015", "type": "card_error" } } - recorded_at: Thu, 11 Apr 2024 01:41:41 GMT + recorded_at: Fri, 12 Apr 2024 02:13:36 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index bcec8b2e17..d46c3468ba 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4000000000000119&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UGdWH8g6hyQD7G","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_t4v9qLle6U09GK","request_duration_ms":586}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:48 GMT + - Fri, 12 Apr 2024 02:13:44 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1b6a0e05-22ac-4cc0-ab8c-ba0da5ce1055 + - e4041eef-e7c0-4d46-9795-ab2b65840e14 Original-Request: - - req_0Wtksqpxj9nzQJ + - req_VSSJUVisiOO5pJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0Wtksqpxj9nzQJ + - req_VSSJUVisiOO5pJ Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Ce8KuuB1fWySniBl5z2cZ", + "id": "pm_1P4ZcaKuuB1fWySnvD1Yc3hb", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799708, + "created": 1712888024, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:48 GMT + recorded_at: Fri, 12 Apr 2024 02:13:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Ce8KuuB1fWySniBl5z2cZ&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZcaKuuB1fWySnvD1Yc3hb&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0Wtksqpxj9nzQJ","request_duration_ms":533}}' + - '{"last_request_metrics":{"request_id":"req_VSSJUVisiOO5pJ","request_duration_ms":699}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:49 GMT + - Fri, 12 Apr 2024 02:13:45 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 135cd2f5-8216-4d4f-a9c9-3b1f376d39eb + - f91d4fba-a956-4fc6-9acd-070c735c02a2 Original-Request: - - req_ynj128QsGPOaSh + - req_M3yDn1A0w5dAP3 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ynj128QsGPOaSh + - req_M3yDn1A0w5dAP3 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Ce8KuuB1fWySn2tLVqjlU", + "id": "pi_3P4ZcbKuuB1fWySn04J5i26k", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799708, + "created": 1712888025, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Ce8KuuB1fWySniBl5z2cZ", + "payment_method": "pm_1P4ZcaKuuB1fWySnvD1Yc3hb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:49 GMT + recorded_at: Fri, 12 Apr 2024 02:13:45 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ce8KuuB1fWySn2tLVqjlU/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcbKuuB1fWySn04J5i26k/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ynj128QsGPOaSh","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_M3yDn1A0w5dAP3","request_duration_ms":584}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:50 GMT + - Fri, 12 Apr 2024 02:13:46 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 91aac37a-b189-4286-8a4f-67f99f3aaec4 + - dbe456b6-19e0-4f4c-87dd-82c42fb701d9 Original-Request: - - req_xUDBRFXPyBPxlo + - req_E2ptxfGo9bbc19 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xUDBRFXPyBPxlo + - req_E2ptxfGo9bbc19 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -346,12 +346,12 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4Ce8KuuB1fWySn276LHsCh", + "charge": "ch_3P4ZcbKuuB1fWySn0uFa2VrD", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_intent": { - "id": "pi_3P4Ce8KuuB1fWySn2tLVqjlU", + "id": "pi_3P4ZcbKuuB1fWySn04J5i26k", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -368,18 +368,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799708, + "created": 1712888025, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4Ce8KuuB1fWySn276LHsCh", + "charge": "ch_3P4ZcbKuuB1fWySn0uFa2VrD", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_method": { - "id": "pm_1P4Ce8KuuB1fWySniBl5z2cZ", + "id": "pm_1P4ZcaKuuB1fWySnvD1Yc3hb", "object": "payment_method", "billing_details": { "address": { @@ -420,7 +420,7 @@ http_interactions: }, "wallet": null }, - "created": 1712799708, + "created": 1712888024, "customer": null, "livemode": false, "metadata": { @@ -429,7 +429,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4Ce8KuuB1fWySn276LHsCh", + "latest_charge": "ch_3P4ZcbKuuB1fWySn0uFa2VrD", "livemode": false, "metadata": { }, @@ -461,7 +461,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4Ce8KuuB1fWySniBl5z2cZ", + "id": "pm_1P4ZcaKuuB1fWySnvD1Yc3hb", "object": "payment_method", "billing_details": { "address": { @@ -502,16 +502,16 @@ http_interactions: }, "wallet": null }, - "created": 1712799708, + "created": 1712888024, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_xUDBRFXPyBPxlo?t=1712799709", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_E2ptxfGo9bbc19?t=1712888025", "type": "card_error" } } - recorded_at: Thu, 11 Apr 2024 01:41:50 GMT + recorded_at: Fri, 12 Apr 2024 02:13:47 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 8610e94b88..d367fc8d23 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4000000000009979&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bFBHR4qX9Ma0Ag","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_l8j6Uv2rtbF3ds","request_duration_ms":600}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:42 GMT + - Fri, 12 Apr 2024 02:13:37 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - db2585b9-6eb4-41fb-9f3f-1e3759ac5522 + - cf2f05b7-422b-4701-8ef1-6a1ffda03d48 Original-Request: - - req_kXKSBi0VRGFwxt + - req_EwFO5n3amx9Yd5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kXKSBi0VRGFwxt + - req_EwFO5n3amx9Yd5 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Ce2KuuB1fWySn2uIDTObL", + "id": "pm_1P4ZcTKuuB1fWySnGQvbdWf3", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799702, + "created": 1712888017, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:42 GMT + recorded_at: Fri, 12 Apr 2024 02:13:37 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Ce2KuuB1fWySn2uIDTObL&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZcTKuuB1fWySnGQvbdWf3&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kXKSBi0VRGFwxt","request_duration_ms":446}}' + - '{"last_request_metrics":{"request_id":"req_EwFO5n3amx9Yd5","request_duration_ms":582}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:42 GMT + - Fri, 12 Apr 2024 02:13:38 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8ddc8738-808a-4435-82a0-8b3298d6bdaa + - 7ae4f12c-4ed6-4c87-9706-0d0695f31a29 Original-Request: - - req_Ps5pBOSZrkoW6S + - req_Oj7tp0NTRHMovi Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ps5pBOSZrkoW6S + - req_Oj7tp0NTRHMovi Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Ce2KuuB1fWySn0iYqQfyO", + "id": "pi_3P4ZcTKuuB1fWySn29RYTgdu", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799702, + "created": 1712888017, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Ce2KuuB1fWySn2uIDTObL", + "payment_method": "pm_1P4ZcTKuuB1fWySnGQvbdWf3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:42 GMT + recorded_at: Fri, 12 Apr 2024 02:13:38 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Ce2KuuB1fWySn0iYqQfyO/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcTKuuB1fWySn29RYTgdu/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ps5pBOSZrkoW6S","request_duration_ms":435}}' + - '{"last_request_metrics":{"request_id":"req_Oj7tp0NTRHMovi","request_duration_ms":610}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:43 GMT + - Fri, 12 Apr 2024 02:13:39 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7f810e3f-08f2-4a38-b59e-dea565351638 + - abc18a74-9932-43a3-b8a9-1b68ca5eeb57 Original-Request: - - req_DdiqiFUlHk8ku1 + - req_nG522oQnhtasi8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DdiqiFUlHk8ku1 + - req_nG522oQnhtasi8 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -346,13 +346,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4Ce2KuuB1fWySn0fTwKReQ", + "charge": "ch_3P4ZcTKuuB1fWySn2d10V4oA", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3P4Ce2KuuB1fWySn0iYqQfyO", + "id": "pi_3P4ZcTKuuB1fWySn29RYTgdu", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,19 +369,19 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799702, + "created": 1712888017, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4Ce2KuuB1fWySn0fTwKReQ", + "charge": "ch_3P4ZcTKuuB1fWySn2d10V4oA", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1P4Ce2KuuB1fWySn2uIDTObL", + "id": "pm_1P4ZcTKuuB1fWySnGQvbdWf3", "object": "payment_method", "billing_details": { "address": { @@ -422,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712799702, + "created": 1712888017, "customer": null, "livemode": false, "metadata": { @@ -431,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4Ce2KuuB1fWySn0fTwKReQ", + "latest_charge": "ch_3P4ZcTKuuB1fWySn2d10V4oA", "livemode": false, "metadata": { }, @@ -463,7 +463,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4Ce2KuuB1fWySn2uIDTObL", + "id": "pm_1P4ZcTKuuB1fWySnGQvbdWf3", "object": "payment_method", "billing_details": { "address": { @@ -504,16 +504,16 @@ http_interactions: }, "wallet": null }, - "created": 1712799702, + "created": 1712888017, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_DdiqiFUlHk8ku1?t=1712799703", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_nG522oQnhtasi8?t=1712888018", "type": "card_error" } } - recorded_at: Thu, 11 Apr 2024 01:41:43 GMT + recorded_at: Fri, 12 Apr 2024 02:13:39 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml index d84be14b69..e592a63ff6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gUgOisvVc4b1DK","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_1Rgo7sZGjxeqMM","request_duration_ms":1021}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:42 GMT + - Fri, 12 Apr 2024 02:12:27 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 56b10db3-a574-4a50-ba06-b8490e366324 + - '08aa86fb-7b01-4257-af06-4aac07f7b204' Original-Request: - - req_6I9Dw8OnNzZt9B + - req_CGZEhs6KKkgC49 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6I9Dw8OnNzZt9B + - req_CGZEhs6KKkgC49 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Cd3KuuB1fWySn02wPfVkh", + "id": "pm_1P4ZbLKuuB1fWySng9mRAtCf", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799642, + "created": 1712887947, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:42 GMT + recorded_at: Fri, 12 Apr 2024 02:12:27 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Cd3KuuB1fWySn02wPfVkh&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbLKuuB1fWySng9mRAtCf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6I9Dw8OnNzZt9B","request_duration_ms":642}}' + - '{"last_request_metrics":{"request_id":"req_CGZEhs6KKkgC49","request_duration_ms":471}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:42 GMT + - Fri, 12 Apr 2024 02:12:27 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6073c6ac-92a5-4dc8-803b-af9644d494c8 + - 628bfeb6-7ecf-4314-83ff-2453ac7f65d7 Original-Request: - - req_uDbFKDWKZdvLhQ + - req_ZQCq8s5l41c4rg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_uDbFKDWKZdvLhQ + - req_ZQCq8s5l41c4rg Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cd4KuuB1fWySn0Why5wfP", + "id": "pi_3P4ZbLKuuB1fWySn2vSm9ypC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799642, + "created": 1712887947, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cd3KuuB1fWySn02wPfVkh", + "payment_method": "pm_1P4ZbLKuuB1fWySng9mRAtCf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:42 GMT + recorded_at: Fri, 12 Apr 2024 02:12:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cd4KuuB1fWySn0Why5wfP/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbLKuuB1fWySn2vSm9ypC/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uDbFKDWKZdvLhQ","request_duration_ms":560}}' + - '{"last_request_metrics":{"request_id":"req_ZQCq8s5l41c4rg","request_duration_ms":498}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:43 GMT + - Fri, 12 Apr 2024 02:12:28 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - db0a1088-03b8-4f85-aca6-f9e5c66bd45b + - 590b9855-8bd8-4927-a632-cf087de905f4 Original-Request: - - req_ZQD37mFbOEllFZ + - req_bZcZRl6snMLNUN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZQD37mFbOEllFZ + - req_bZcZRl6snMLNUN Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cd4KuuB1fWySn0Why5wfP", + "id": "pi_3P4ZbLKuuB1fWySn2vSm9ypC", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799642, + "created": 1712887947, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Cd4KuuB1fWySn0R2TSo4B", + "latest_charge": "ch_3P4ZbLKuuB1fWySn27fM0iBe", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cd3KuuB1fWySn02wPfVkh", + "payment_method": "pm_1P4ZbLKuuB1fWySng9mRAtCf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:43 GMT + recorded_at: Fri, 12 Apr 2024 02:12:28 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cd4KuuB1fWySn0Why5wfP + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbLKuuB1fWySn2vSm9ypC body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZQD37mFbOEllFZ","request_duration_ms":1092}}' + - '{"last_request_metrics":{"request_id":"req_bZcZRl6snMLNUN","request_duration_ms":919}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:44 GMT + - Fri, 12 Apr 2024 02:12:29 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_g7uCBRwSYdIt28 + - req_LF3h6ZCyn5EVfD Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cd4KuuB1fWySn0Why5wfP", + "id": "pi_3P4ZbLKuuB1fWySn2vSm9ypC", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799642, + "created": 1712887947, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Cd4KuuB1fWySn0R2TSo4B", + "latest_charge": "ch_3P4ZbLKuuB1fWySn27fM0iBe", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cd3KuuB1fWySn02wPfVkh", + "payment_method": "pm_1P4ZbLKuuB1fWySng9mRAtCf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:44 GMT + recorded_at: Fri, 12 Apr 2024 02:12:29 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cd4KuuB1fWySn0Why5wfP/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbLKuuB1fWySn2vSm9ypC/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_g7uCBRwSYdIt28","request_duration_ms":456}}' + - '{"last_request_metrics":{"request_id":"req_LF3h6ZCyn5EVfD","request_duration_ms":407}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:45 GMT + - Fri, 12 Apr 2024 02:12:30 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a05a1173-0168-4fb9-af33-cfa0a41e1d3b + - bfb5b378-a3f3-4269-a5f7-f708c83c251a Original-Request: - - req_C8ri4d7PH0V2Xk + - req_QHj5Qi8U2aL3MY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_C8ri4d7PH0V2Xk + - req_QHj5Qi8U2aL3MY Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cd4KuuB1fWySn0Why5wfP", + "id": "pi_3P4ZbLKuuB1fWySn2vSm9ypC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799642, + "created": 1712887947, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Cd4KuuB1fWySn0R2TSo4B", + "latest_charge": "ch_3P4ZbLKuuB1fWySn27fM0iBe", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cd3KuuB1fWySn02wPfVkh", + "payment_method": "pm_1P4ZbLKuuB1fWySng9mRAtCf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:45 GMT + recorded_at: Fri, 12 Apr 2024 02:12:30 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cd4KuuB1fWySn0Why5wfP + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbLKuuB1fWySn2vSm9ypC body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_C8ri4d7PH0V2Xk","request_duration_ms":1109}}' + - '{"last_request_metrics":{"request_id":"req_QHj5Qi8U2aL3MY","request_duration_ms":1127}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:45 GMT + - Fri, 12 Apr 2024 02:12:30 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_naE4Sjq3oo6NB2 + - req_R8pyYNeaoLTcEw Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cd4KuuB1fWySn0Why5wfP", + "id": "pi_3P4ZbLKuuB1fWySn2vSm9ypC", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799642, + "created": 1712887947, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Cd4KuuB1fWySn0R2TSo4B", + "latest_charge": "ch_3P4ZbLKuuB1fWySn27fM0iBe", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cd3KuuB1fWySn02wPfVkh", + "payment_method": "pm_1P4ZbLKuuB1fWySng9mRAtCf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:45 GMT + recorded_at: Fri, 12 Apr 2024 02:12:30 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml index ac1fd23e0e..5cef723fef 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GgIhqL9Ai6JbXO","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_xOSPdPk4GPWcPw","request_duration_ms":352}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:39 GMT + - Fri, 12 Apr 2024 02:12:25 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 07f25984-ebd4-4584-9c22-983099d37366 + - 557b5c0d-7a60-4117-aee0-300696d8314c Original-Request: - - req_lI4SE4zuGmbwlg + - req_lxsguvpctQJBUZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lI4SE4zuGmbwlg + - req_lxsguvpctQJBUZ Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Cd1KuuB1fWySno6nla47i", + "id": "pm_1P4ZbIKuuB1fWySnbDUxYKvr", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799639, + "created": 1712887944, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:39 GMT + recorded_at: Fri, 12 Apr 2024 02:12:25 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Cd1KuuB1fWySno6nla47i&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbIKuuB1fWySnbDUxYKvr&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lI4SE4zuGmbwlg","request_duration_ms":601}}' + - '{"last_request_metrics":{"request_id":"req_lxsguvpctQJBUZ","request_duration_ms":583}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:40 GMT + - Fri, 12 Apr 2024 02:12:25 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4b7aa7ce-86e0-4470-9601-8fceffb9f8a2 + - be992c90-0307-4207-999c-a6afd60191e9 Original-Request: - - req_SCVKoZwya38XiH + - req_E2MOVqgpfJYBPb Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SCVKoZwya38XiH + - req_E2MOVqgpfJYBPb Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cd2KuuB1fWySn1sXdgagJ", + "id": "pi_3P4ZbJKuuB1fWySn2iY9jiGp", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799640, + "created": 1712887945, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cd1KuuB1fWySno6nla47i", + "payment_method": "pm_1P4ZbIKuuB1fWySnbDUxYKvr", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:40 GMT + recorded_at: Fri, 12 Apr 2024 02:12:25 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cd2KuuB1fWySn1sXdgagJ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbJKuuB1fWySn2iY9jiGp/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SCVKoZwya38XiH","request_duration_ms":614}}' + - '{"last_request_metrics":{"request_id":"req_E2MOVqgpfJYBPb","request_duration_ms":507}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:41 GMT + - Fri, 12 Apr 2024 02:12:26 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 80d9362d-446e-44c6-95f9-994dedfb1c60 + - d0cc69b7-6380-469a-b155-bd16808f0313 Original-Request: - - req_gUgOisvVc4b1DK + - req_1Rgo7sZGjxeqMM Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gUgOisvVc4b1DK + - req_1Rgo7sZGjxeqMM Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cd2KuuB1fWySn1sXdgagJ", + "id": "pi_3P4ZbJKuuB1fWySn2iY9jiGp", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799640, + "created": 1712887945, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Cd2KuuB1fWySn1NeHPT61", + "latest_charge": "ch_3P4ZbJKuuB1fWySn20n3dP0f", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cd1KuuB1fWySno6nla47i", + "payment_method": "pm_1P4ZbIKuuB1fWySnbDUxYKvr", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:41 GMT + recorded_at: Fri, 12 Apr 2024 02:12:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml index 8f9e6bbf79..4a5ecaa62c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t0INEjxIN1feiF","request_duration_ms":1037}}' + - '{"last_request_metrics":{"request_id":"req_CnMkim7OtZ8R3i","request_duration_ms":1084}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:14 GMT + - Fri, 12 Apr 2024 02:13:02 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 18629f31-8564-41b5-a273-193575c3bcab + - 10fb5de0-9b56-42b9-b962-3ea034c6b5b3 Original-Request: - - req_Fnppsh3o8ZFEc8 + - req_PMKdSZRwMXKGTT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Fnppsh3o8ZFEc8 + - req_PMKdSZRwMXKGTT Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdZKuuB1fWySnDxt1Amzg", + "id": "pm_1P4ZbuKuuB1fWySnDrH7Dikv", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799673, + "created": 1712887982, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:14 GMT + recorded_at: Fri, 12 Apr 2024 02:13:02 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdZKuuB1fWySnDxt1Amzg&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbuKuuB1fWySnDrH7Dikv&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Fnppsh3o8ZFEc8","request_duration_ms":568}}' + - '{"last_request_metrics":{"request_id":"req_PMKdSZRwMXKGTT","request_duration_ms":588}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:14 GMT + - Fri, 12 Apr 2024 02:13:03 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 86b3d011-2d01-4b2d-af70-8a6305ae4a11 + - 02e231dc-bfe4-4a7a-8e84-4b1607839cd4 Original-Request: - - req_BOZ9VG5pJHjKdv + - req_Qsok3fDJRpmesO Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BOZ9VG5pJHjKdv + - req_Qsok3fDJRpmesO Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdaKuuB1fWySn2JlRxwhC", + "id": "pi_3P4ZbvKuuB1fWySn0MRnmqSU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799674, + "created": 1712887983, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdZKuuB1fWySnDxt1Amzg", + "payment_method": "pm_1P4ZbuKuuB1fWySnDrH7Dikv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:14 GMT + recorded_at: Fri, 12 Apr 2024 02:13:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdaKuuB1fWySn2JlRxwhC/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbvKuuB1fWySn0MRnmqSU/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BOZ9VG5pJHjKdv","request_duration_ms":435}}' + - '{"last_request_metrics":{"request_id":"req_Qsok3fDJRpmesO","request_duration_ms":611}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:15 GMT + - Fri, 12 Apr 2024 02:13:04 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9a082ff6-a0c8-45c6-8a09-96569cd04577 + - 7c6b3c52-bbd9-4acb-aa7c-a2058b1e22f4 Original-Request: - - req_uYQKWrAhlqO9TI + - req_ISwjm2MvVVm8W8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_uYQKWrAhlqO9TI + - req_ISwjm2MvVVm8W8 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdaKuuB1fWySn2JlRxwhC", + "id": "pi_3P4ZbvKuuB1fWySn0MRnmqSU", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799674, + "created": 1712887983, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdaKuuB1fWySn2K3kG3eh", + "latest_charge": "ch_3P4ZbvKuuB1fWySn05iwDCUv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdZKuuB1fWySnDxt1Amzg", + "payment_method": "pm_1P4ZbuKuuB1fWySnDrH7Dikv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:15 GMT + recorded_at: Fri, 12 Apr 2024 02:13:04 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdaKuuB1fWySn2JlRxwhC + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbvKuuB1fWySn0MRnmqSU body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uYQKWrAhlqO9TI","request_duration_ms":994}}' + - '{"last_request_metrics":{"request_id":"req_ISwjm2MvVVm8W8","request_duration_ms":1226}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:16 GMT + - Fri, 12 Apr 2024 02:13:05 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_beHpLNszLLO3w2 + - req_UOG6dHnr2aU4Uw Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdaKuuB1fWySn2JlRxwhC", + "id": "pi_3P4ZbvKuuB1fWySn0MRnmqSU", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799674, + "created": 1712887983, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdaKuuB1fWySn2K3kG3eh", + "latest_charge": "ch_3P4ZbvKuuB1fWySn05iwDCUv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdZKuuB1fWySnDxt1Amzg", + "payment_method": "pm_1P4ZbuKuuB1fWySnDrH7Dikv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:15 GMT + recorded_at: Fri, 12 Apr 2024 02:13:05 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdaKuuB1fWySn2JlRxwhC/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbvKuuB1fWySn0MRnmqSU/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_beHpLNszLLO3w2","request_duration_ms":401}}' + - '{"last_request_metrics":{"request_id":"req_UOG6dHnr2aU4Uw","request_duration_ms":509}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:17 GMT + - Fri, 12 Apr 2024 02:13:06 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ccd3363e-c883-4480-82a1-9e2fdbb891fe + - fd18a5ab-51e1-46df-a35e-43385d40b55f Original-Request: - - req_Yg6eyUBIYuXlWv + - req_PCHL2XJ2xtfykW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Yg6eyUBIYuXlWv + - req_PCHL2XJ2xtfykW Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdaKuuB1fWySn2JlRxwhC", + "id": "pi_3P4ZbvKuuB1fWySn0MRnmqSU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799674, + "created": 1712887983, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdaKuuB1fWySn2K3kG3eh", + "latest_charge": "ch_3P4ZbvKuuB1fWySn05iwDCUv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdZKuuB1fWySnDxt1Amzg", + "payment_method": "pm_1P4ZbuKuuB1fWySnDrH7Dikv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:17 GMT + recorded_at: Fri, 12 Apr 2024 02:13:06 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdaKuuB1fWySn2JlRxwhC + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbvKuuB1fWySn0MRnmqSU body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Yg6eyUBIYuXlWv","request_duration_ms":1121}}' + - '{"last_request_metrics":{"request_id":"req_PCHL2XJ2xtfykW","request_duration_ms":1281}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:17 GMT + - Fri, 12 Apr 2024 02:13:06 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4Q8pNCcYRdgsMm + - req_JGVcKD6GYpDMhA Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdaKuuB1fWySn2JlRxwhC", + "id": "pi_3P4ZbvKuuB1fWySn0MRnmqSU", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799674, + "created": 1712887983, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdaKuuB1fWySn2K3kG3eh", + "latest_charge": "ch_3P4ZbvKuuB1fWySn05iwDCUv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdZKuuB1fWySnDxt1Amzg", + "payment_method": "pm_1P4ZbuKuuB1fWySnDrH7Dikv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:17 GMT + recorded_at: Fri, 12 Apr 2024 02:13:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml index eb18f726ba..dbbc24cb74 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yEQOgrtHWfqAZN","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_KqOwkns4CLl9vj","request_duration_ms":490}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:11 GMT + - Fri, 12 Apr 2024 02:13:00 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f47a3e80-7473-4457-94b6-916912b93308 + - 0d15b5bb-2e64-44f9-a578-722731d0ebd8 Original-Request: - - req_9qlUGA9B2AMCuj + - req_OTxfqpn1fgu2DL Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9qlUGA9B2AMCuj + - req_OTxfqpn1fgu2DL Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdXKuuB1fWySnEwDBzyEF", + "id": "pm_1P4ZbsKuuB1fWySnJd6GpsRT", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799671, + "created": 1712887980, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:11 GMT + recorded_at: Fri, 12 Apr 2024 02:13:00 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdXKuuB1fWySnEwDBzyEF&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbsKuuB1fWySnJd6GpsRT&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9qlUGA9B2AMCuj","request_duration_ms":546}}' + - '{"last_request_metrics":{"request_id":"req_OTxfqpn1fgu2DL","request_duration_ms":582}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:12 GMT + - Fri, 12 Apr 2024 02:13:01 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ae5b458c-b7e4-4519-89f5-2f126ef6d431 + - e0b0ca74-5e2f-47d5-83ce-c37cf76e9d47 Original-Request: - - req_4oguLHo7vhnqrf + - req_qYGkmTY1gmDicn Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4oguLHo7vhnqrf + - req_qYGkmTY1gmDicn Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdYKuuB1fWySn0bF1xUWs", + "id": "pi_3P4ZbsKuuB1fWySn025qAsiO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799672, + "created": 1712887980, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdXKuuB1fWySnEwDBzyEF", + "payment_method": "pm_1P4ZbsKuuB1fWySnJd6GpsRT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:12 GMT + recorded_at: Fri, 12 Apr 2024 02:13:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdYKuuB1fWySn0bF1xUWs/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbsKuuB1fWySn025qAsiO/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4oguLHo7vhnqrf","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_qYGkmTY1gmDicn","request_duration_ms":640}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:13 GMT + - Fri, 12 Apr 2024 02:13:02 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 703ec906-24f7-4640-82cb-203c8bb7781f + - e16a26fd-bbac-4e09-9a39-366628879cd0 Original-Request: - - req_t0INEjxIN1feiF + - req_CnMkim7OtZ8R3i Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_t0INEjxIN1feiF + - req_CnMkim7OtZ8R3i Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdYKuuB1fWySn0bF1xUWs", + "id": "pi_3P4ZbsKuuB1fWySn025qAsiO", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799672, + "created": 1712887980, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdYKuuB1fWySn0wfA830t", + "latest_charge": "ch_3P4ZbsKuuB1fWySn0cBgfUBh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdXKuuB1fWySnEwDBzyEF", + "payment_method": "pm_1P4ZbsKuuB1fWySnJd6GpsRT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:13 GMT + recorded_at: Fri, 12 Apr 2024 02:13:02 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml index 558dad925d..3e086d562d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wv4icqCPH9PJSX","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_cHq6LbdynLpYV5","request_duration_ms":1188}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:01 GMT + - Fri, 12 Apr 2024 02:12:48 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fcf9e18a-1859-4ad7-9d77-7aa735de10b8 + - 2934ec9d-94dd-4ec3-aedc-b0c6497f10a0 Original-Request: - - req_sMqPXoaFLjH4TE + - req_ldUnBfzbI8cHwh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sMqPXoaFLjH4TE + - req_ldUnBfzbI8cHwh Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdNKuuB1fWySnixSHwis9", + "id": "pm_1P4ZbgKuuB1fWySnDFKb8eXf", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799661, + "created": 1712887968, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:01 GMT + recorded_at: Fri, 12 Apr 2024 02:12:48 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdNKuuB1fWySnixSHwis9&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbgKuuB1fWySnDFKb8eXf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sMqPXoaFLjH4TE","request_duration_ms":558}}' + - '{"last_request_metrics":{"request_id":"req_ldUnBfzbI8cHwh","request_duration_ms":588}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:02 GMT + - Fri, 12 Apr 2024 02:12:49 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 350d7d54-5a6c-42cc-ba58-cee82eb95967 + - '0857790e-36b6-47f7-8d5a-fb2f24c90c3e' Original-Request: - - req_hDgvzCCPz6MJlY + - req_mT4IJiG4KDqfsK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hDgvzCCPz6MJlY + - req_mT4IJiG4KDqfsK Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdNKuuB1fWySn0ZhunmAR", + "id": "pi_3P4ZbgKuuB1fWySn09ye0rQg", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799661, + "created": 1712887968, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdNKuuB1fWySnixSHwis9", + "payment_method": "pm_1P4ZbgKuuB1fWySnDFKb8eXf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:02 GMT + recorded_at: Fri, 12 Apr 2024 02:12:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdNKuuB1fWySn0ZhunmAR/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbgKuuB1fWySn09ye0rQg/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hDgvzCCPz6MJlY","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_mT4IJiG4KDqfsK","request_duration_ms":579}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:03 GMT + - Fri, 12 Apr 2024 02:12:50 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b476402f-429d-421e-a072-d69569ff64aa + - 7de4307a-4e10-4ba7-aa99-6041f4585c26 Original-Request: - - req_Xnxx6XQIFC0tDe + - req_jwGeZtJp5Avsjs Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Xnxx6XQIFC0tDe + - req_jwGeZtJp5Avsjs Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdNKuuB1fWySn0ZhunmAR", + "id": "pi_3P4ZbgKuuB1fWySn09ye0rQg", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799661, + "created": 1712887968, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdNKuuB1fWySn0XkGh00c", + "latest_charge": "ch_3P4ZbgKuuB1fWySn0WoS6w6j", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdNKuuB1fWySnixSHwis9", + "payment_method": "pm_1P4ZbgKuuB1fWySnDFKb8eXf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:03 GMT + recorded_at: Fri, 12 Apr 2024 02:12:50 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdNKuuB1fWySn0ZhunmAR + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbgKuuB1fWySn09ye0rQg body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Xnxx6XQIFC0tDe","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_jwGeZtJp5Avsjs","request_duration_ms":1123}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:03 GMT + - Fri, 12 Apr 2024 02:12:50 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VfyDdeMc7bl6Ux + - req_r35e0aAMwjyImh Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdNKuuB1fWySn0ZhunmAR", + "id": "pi_3P4ZbgKuuB1fWySn09ye0rQg", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799661, + "created": 1712887968, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdNKuuB1fWySn0XkGh00c", + "latest_charge": "ch_3P4ZbgKuuB1fWySn0WoS6w6j", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdNKuuB1fWySnixSHwis9", + "payment_method": "pm_1P4ZbgKuuB1fWySnDFKb8eXf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:03 GMT + recorded_at: Fri, 12 Apr 2024 02:12:50 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdNKuuB1fWySn0ZhunmAR/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbgKuuB1fWySn09ye0rQg/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VfyDdeMc7bl6Ux","request_duration_ms":408}}' + - '{"last_request_metrics":{"request_id":"req_r35e0aAMwjyImh","request_duration_ms":464}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:04 GMT + - Fri, 12 Apr 2024 02:12:51 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 82ceae99-36ab-473f-9e94-15073a992b27 + - a8acd6ad-cdbe-4d3d-b83c-7c723fca92b4 Original-Request: - - req_SmHtGrHeDJZ3Qh + - req_cgpUV2BOdXD5r7 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SmHtGrHeDJZ3Qh + - req_cgpUV2BOdXD5r7 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdNKuuB1fWySn0ZhunmAR", + "id": "pi_3P4ZbgKuuB1fWySn09ye0rQg", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799661, + "created": 1712887968, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdNKuuB1fWySn0XkGh00c", + "latest_charge": "ch_3P4ZbgKuuB1fWySn0WoS6w6j", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdNKuuB1fWySnixSHwis9", + "payment_method": "pm_1P4ZbgKuuB1fWySnDFKb8eXf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:04 GMT + recorded_at: Fri, 12 Apr 2024 02:12:51 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdNKuuB1fWySn0ZhunmAR + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbgKuuB1fWySn09ye0rQg body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SmHtGrHeDJZ3Qh","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_cgpUV2BOdXD5r7","request_duration_ms":1274}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:05 GMT + - Fri, 12 Apr 2024 02:12:52 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_czk4DLl2Z1dIOu + - req_upFNnKW76d6aGU Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdNKuuB1fWySn0ZhunmAR", + "id": "pi_3P4ZbgKuuB1fWySn09ye0rQg", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799661, + "created": 1712887968, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdNKuuB1fWySn0XkGh00c", + "latest_charge": "ch_3P4ZbgKuuB1fWySn0WoS6w6j", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdNKuuB1fWySnixSHwis9", + "payment_method": "pm_1P4ZbgKuuB1fWySnDFKb8eXf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:05 GMT + recorded_at: Fri, 12 Apr 2024 02:12:52 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml index 503c4b4a14..13db7b9870 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PRj2guhfYhVyfj","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_WHILdRRy3i3Zga","request_duration_ms":514}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:59 GMT + - Fri, 12 Apr 2024 02:12:45 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 04c4bbca-c84f-4195-9c69-cf5bd52e7a64 + - eee82345-2a97-4cdc-b306-ea7e144cb3aa Original-Request: - - req_l4SxBIDwVpzhbm + - req_XlPtzmzCypVETg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_l4SxBIDwVpzhbm + - req_XlPtzmzCypVETg Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdLKuuB1fWySnwymK9l6f", + "id": "pm_1P4ZbdKuuB1fWySnlV3JFmLV", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799659, + "created": 1712887965, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:59 GMT + recorded_at: Fri, 12 Apr 2024 02:12:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdLKuuB1fWySnwymK9l6f&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbdKuuB1fWySnlV3JFmLV&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_l4SxBIDwVpzhbm","request_duration_ms":496}}' + - '{"last_request_metrics":{"request_id":"req_XlPtzmzCypVETg","request_duration_ms":658}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:59 GMT + - Fri, 12 Apr 2024 02:12:46 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8d177c0f-7e7e-4a43-b86b-b4909e9c5c34 + - 8a68eae5-7769-4b73-b610-d69386034757 Original-Request: - - req_HXediLi3AJGUtI + - req_n9Muzz5Qtebl5u Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_HXediLi3AJGUtI + - req_n9Muzz5Qtebl5u Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdLKuuB1fWySn24MDxCgR", + "id": "pi_3P4ZbeKuuB1fWySn0tkauvXx", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799659, + "created": 1712887966, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdLKuuB1fWySnwymK9l6f", + "payment_method": "pm_1P4ZbdKuuB1fWySnlV3JFmLV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:59 GMT + recorded_at: Fri, 12 Apr 2024 02:12:46 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdLKuuB1fWySn24MDxCgR/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbeKuuB1fWySn0tkauvXx/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HXediLi3AJGUtI","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_n9Muzz5Qtebl5u","request_duration_ms":662}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:00 GMT + - Fri, 12 Apr 2024 02:12:47 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d590cbb1-7f88-4efb-b488-5bd683b408d9 + - 4252f9ff-9c1b-46a7-af62-4c6e24b100ec Original-Request: - - req_wv4icqCPH9PJSX + - req_cHq6LbdynLpYV5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wv4icqCPH9PJSX + - req_cHq6LbdynLpYV5 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdLKuuB1fWySn24MDxCgR", + "id": "pi_3P4ZbeKuuB1fWySn0tkauvXx", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799659, + "created": 1712887966, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdLKuuB1fWySn2WCOyvMU", + "latest_charge": "ch_3P4ZbeKuuB1fWySn0M4VmToI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdLKuuB1fWySnwymK9l6f", + "payment_method": "pm_1P4ZbdKuuB1fWySnlV3JFmLV", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:00 GMT + recorded_at: Fri, 12 Apr 2024 02:12:47 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml index 538ac64b13..0e7762a3f8 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QyAnd0wDo5DYxP","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_a2dSWtEJXNIbnu","request_duration_ms":1051}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:07 GMT + - Fri, 12 Apr 2024 02:12:55 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4425a98f-dbad-42d2-8af1-8af48006521d + - ae82e584-4bcc-495f-8396-22bf3f44924d Original-Request: - - req_OkIB8veJh2dSHg + - req_aKvMAJ0lSSoT3M Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OkIB8veJh2dSHg + - req_aKvMAJ0lSSoT3M Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdTKuuB1fWySnVSwG4Dub", + "id": "pm_1P4ZbnKuuB1fWySn5B7Q4SX8", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799667, + "created": 1712887975, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:07 GMT + recorded_at: Fri, 12 Apr 2024 02:12:55 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdTKuuB1fWySnVSwG4Dub&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbnKuuB1fWySn5B7Q4SX8&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OkIB8veJh2dSHg","request_duration_ms":475}}' + - '{"last_request_metrics":{"request_id":"req_aKvMAJ0lSSoT3M","request_duration_ms":661}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:08 GMT + - Fri, 12 Apr 2024 02:12:56 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 42b6557b-8e36-430a-b268-3542ffce95fa + - 703dfb97-15f2-41f0-9079-40e6c16c59d2 Original-Request: - - req_O28bkaru64HoC4 + - req_JgVfwsajT8sGtI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_O28bkaru64HoC4 + - req_JgVfwsajT8sGtI Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdUKuuB1fWySn21umO6sY", + "id": "pi_3P4ZboKuuB1fWySn0fy0x0S0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799668, + "created": 1712887976, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdTKuuB1fWySnVSwG4Dub", + "payment_method": "pm_1P4ZbnKuuB1fWySn5B7Q4SX8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:08 GMT + recorded_at: Fri, 12 Apr 2024 02:12:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdUKuuB1fWySn21umO6sY/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZboKuuB1fWySn0fy0x0S0/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_O28bkaru64HoC4","request_duration_ms":440}}' + - '{"last_request_metrics":{"request_id":"req_JgVfwsajT8sGtI","request_duration_ms":611}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:09 GMT + - Fri, 12 Apr 2024 02:12:57 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1c5fb85d-0a1a-4c43-8b8c-672e82c77846 + - 370731cd-60fe-477c-b26a-16fe88c98ce6 Original-Request: - - req_r7EBK9eCvTxtQa + - req_VOshhi6Tlu9ZwZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_r7EBK9eCvTxtQa + - req_VOshhi6Tlu9ZwZ Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdUKuuB1fWySn21umO6sY", + "id": "pi_3P4ZboKuuB1fWySn0fy0x0S0", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799668, + "created": 1712887976, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdUKuuB1fWySn2r3COC10", + "latest_charge": "ch_3P4ZboKuuB1fWySn0I8qslqh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdTKuuB1fWySnVSwG4Dub", + "payment_method": "pm_1P4ZbnKuuB1fWySn5B7Q4SX8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:09 GMT + recorded_at: Fri, 12 Apr 2024 02:12:57 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdUKuuB1fWySn21umO6sY + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZboKuuB1fWySn0fy0x0S0 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_r7EBK9eCvTxtQa","request_duration_ms":974}}' + - '{"last_request_metrics":{"request_id":"req_VOshhi6Tlu9ZwZ","request_duration_ms":1064}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:09 GMT + - Fri, 12 Apr 2024 02:12:58 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KwVhezAfvg85tN + - req_qwOTXlprisT1HR Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdUKuuB1fWySn21umO6sY", + "id": "pi_3P4ZboKuuB1fWySn0fy0x0S0", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799668, + "created": 1712887976, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdUKuuB1fWySn2r3COC10", + "latest_charge": "ch_3P4ZboKuuB1fWySn0I8qslqh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdTKuuB1fWySnVSwG4Dub", + "payment_method": "pm_1P4ZbnKuuB1fWySn5B7Q4SX8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:09 GMT + recorded_at: Fri, 12 Apr 2024 02:12:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdUKuuB1fWySn21umO6sY/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZboKuuB1fWySn0fy0x0S0/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KwVhezAfvg85tN","request_duration_ms":396}}' + - '{"last_request_metrics":{"request_id":"req_qwOTXlprisT1HR","request_duration_ms":568}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:10 GMT + - Fri, 12 Apr 2024 02:12:59 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 70e42ce6-53bb-404e-adc2-276ae215518f + - 9ac068e3-f083-4a56-a167-9b8472d6b6b8 Original-Request: - - req_0Ycv1r4aMHxtEf + - req_e89Qg4rdCZcuIY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0Ycv1r4aMHxtEf + - req_e89Qg4rdCZcuIY Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdUKuuB1fWySn21umO6sY", + "id": "pi_3P4ZboKuuB1fWySn0fy0x0S0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799668, + "created": 1712887976, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdUKuuB1fWySn2r3COC10", + "latest_charge": "ch_3P4ZboKuuB1fWySn0I8qslqh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdTKuuB1fWySnVSwG4Dub", + "payment_method": "pm_1P4ZbnKuuB1fWySn5B7Q4SX8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:10 GMT + recorded_at: Fri, 12 Apr 2024 02:12:59 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdUKuuB1fWySn21umO6sY + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZboKuuB1fWySn0fy0x0S0 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0Ycv1r4aMHxtEf","request_duration_ms":1114}}' + - '{"last_request_metrics":{"request_id":"req_e89Qg4rdCZcuIY","request_duration_ms":1142}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:11 GMT + - Fri, 12 Apr 2024 02:12:59 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_yEQOgrtHWfqAZN + - req_KqOwkns4CLl9vj Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdUKuuB1fWySn21umO6sY", + "id": "pi_3P4ZboKuuB1fWySn0fy0x0S0", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799668, + "created": 1712887976, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdUKuuB1fWySn2r3COC10", + "latest_charge": "ch_3P4ZboKuuB1fWySn0I8qslqh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdTKuuB1fWySnVSwG4Dub", + "payment_method": "pm_1P4ZbnKuuB1fWySn5B7Q4SX8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:11 GMT + recorded_at: Fri, 12 Apr 2024 02:12:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 19115df8d9..990b1adf2d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_czk4DLl2Z1dIOu","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_upFNnKW76d6aGU","request_duration_ms":608}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:05 GMT + - Fri, 12 Apr 2024 02:12:53 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d4167936-f565-442d-bb15-307590ff62c8 + - d5fc761f-29bf-41dc-b045-2989c5209bdd Original-Request: - - req_xqxteOXsFMiziW + - req_cRg1k7yPcQ10IK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xqxteOXsFMiziW + - req_cRg1k7yPcQ10IK Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdRKuuB1fWySnHJHOWqFq", + "id": "pm_1P4ZblKuuB1fWySnztAYCVzt", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799665, + "created": 1712887973, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:05 GMT + recorded_at: Fri, 12 Apr 2024 02:12:53 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdRKuuB1fWySnHJHOWqFq&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZblKuuB1fWySnztAYCVzt&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xqxteOXsFMiziW","request_duration_ms":491}}' + - '{"last_request_metrics":{"request_id":"req_cRg1k7yPcQ10IK","request_duration_ms":620}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:06 GMT + - Fri, 12 Apr 2024 02:12:53 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 77df7ad2-e573-437c-84ab-d9f9268a82d3 + - b44dadc4-e109-46b2-8db2-138ea92456c1 Original-Request: - - req_1YXD0iiHK1Hwsk + - req_qSCaQzqynBwS47 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1YXD0iiHK1Hwsk + - req_qSCaQzqynBwS47 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdRKuuB1fWySn0VXWtS0g", + "id": "pi_3P4ZblKuuB1fWySn1HGRuI4M", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799665, + "created": 1712887973, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdRKuuB1fWySnHJHOWqFq", + "payment_method": "pm_1P4ZblKuuB1fWySnztAYCVzt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:06 GMT + recorded_at: Fri, 12 Apr 2024 02:12:53 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdRKuuB1fWySn0VXWtS0g/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZblKuuB1fWySn1HGRuI4M/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1YXD0iiHK1Hwsk","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_qSCaQzqynBwS47","request_duration_ms":683}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:07 GMT + - Fri, 12 Apr 2024 02:12:55 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8b9c91d5-ad95-4215-a38e-370e4ea381b9 + - 0ee3ab7f-d6fc-412b-8a8c-0bc4bcdc075c Original-Request: - - req_QyAnd0wDo5DYxP + - req_a2dSWtEJXNIbnu Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QyAnd0wDo5DYxP + - req_a2dSWtEJXNIbnu Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdRKuuB1fWySn0VXWtS0g", + "id": "pi_3P4ZblKuuB1fWySn1HGRuI4M", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799665, + "created": 1712887973, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdRKuuB1fWySn0Kl7PHGl", + "latest_charge": "ch_3P4ZblKuuB1fWySn1GKuioq2", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdRKuuB1fWySnHJHOWqFq", + "payment_method": "pm_1P4ZblKuuB1fWySnztAYCVzt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:07 GMT + recorded_at: Fri, 12 Apr 2024 02:12:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml index 39ed3a91cb..571c3ff909 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sXDJmfU4FXa0zi","request_duration_ms":967}}' + - '{"last_request_metrics":{"request_id":"req_FYzvBwG7kG8KBb","request_duration_ms":1083}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:49 GMT + - Fri, 12 Apr 2024 02:12:33 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8b964134-0c93-47b5-bd8c-fd0db74630a7 + - f08fce2f-1e38-451c-923a-2d49c80463ce Original-Request: - - req_k8a6mQJDEY8JYM + - req_mQ5Fy4GCwRB2WH Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_k8a6mQJDEY8JYM + - req_mQ5Fy4GCwRB2WH Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdAKuuB1fWySn7C5uXUPt", + "id": "pm_1P4ZbRKuuB1fWySnefQaxF28", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799648, + "created": 1712887953, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:49 GMT + recorded_at: Fri, 12 Apr 2024 02:12:33 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdAKuuB1fWySn7C5uXUPt&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbRKuuB1fWySnefQaxF28&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_k8a6mQJDEY8JYM","request_duration_ms":563}}' + - '{"last_request_metrics":{"request_id":"req_mQ5Fy4GCwRB2WH","request_duration_ms":575}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:49 GMT + - Fri, 12 Apr 2024 02:12:34 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - edeafb1e-9b9f-40dd-b1e2-ee33a4dd130a + - b77d417b-076e-469e-8c7a-757e6d76ecfb Original-Request: - - req_fNZljMk8OQ2ddW + - req_D6MApotrwbldPT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_fNZljMk8OQ2ddW + - req_D6MApotrwbldPT Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdBKuuB1fWySn249H5Gks", + "id": "pi_3P4ZbSKuuB1fWySn2hIr2YYd", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799649, + "created": 1712887954, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdAKuuB1fWySn7C5uXUPt", + "payment_method": "pm_1P4ZbRKuuB1fWySnefQaxF28", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:49 GMT + recorded_at: Fri, 12 Apr 2024 02:12:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdBKuuB1fWySn249H5Gks/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbSKuuB1fWySn2hIr2YYd/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fNZljMk8OQ2ddW","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_D6MApotrwbldPT","request_duration_ms":512}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:50 GMT + - Fri, 12 Apr 2024 02:12:35 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4737a4a2-77e3-42a0-ba84-48137c7fb44f + - d3ca77e3-9981-4f65-bcbb-8b25a40a4996 Original-Request: - - req_RbIqTuGrwMuLxu + - req_vdBkCb7cprlYxa Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_RbIqTuGrwMuLxu + - req_vdBkCb7cprlYxa Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdBKuuB1fWySn249H5Gks", + "id": "pi_3P4ZbSKuuB1fWySn2hIr2YYd", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799649, + "created": 1712887954, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdBKuuB1fWySn2pd9mdJy", + "latest_charge": "ch_3P4ZbSKuuB1fWySn2Ah8zV3Y", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdAKuuB1fWySn7C5uXUPt", + "payment_method": "pm_1P4ZbRKuuB1fWySnefQaxF28", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:50 GMT + recorded_at: Fri, 12 Apr 2024 02:12:35 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdBKuuB1fWySn249H5Gks + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbSKuuB1fWySn2hIr2YYd body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RbIqTuGrwMuLxu","request_duration_ms":1228}}' + - '{"last_request_metrics":{"request_id":"req_vdBkCb7cprlYxa","request_duration_ms":1022}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:51 GMT + - Fri, 12 Apr 2024 02:12:35 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gU5x0HVyyAGq7A + - req_cwqvxH0GPsvmza Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdBKuuB1fWySn249H5Gks", + "id": "pi_3P4ZbSKuuB1fWySn2hIr2YYd", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799649, + "created": 1712887954, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdBKuuB1fWySn2pd9mdJy", + "latest_charge": "ch_3P4ZbSKuuB1fWySn2Ah8zV3Y", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdAKuuB1fWySn7C5uXUPt", + "payment_method": "pm_1P4ZbRKuuB1fWySnefQaxF28", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:51 GMT + recorded_at: Fri, 12 Apr 2024 02:12:35 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdBKuuB1fWySn249H5Gks/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbSKuuB1fWySn2hIr2YYd/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gU5x0HVyyAGq7A","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_cwqvxH0GPsvmza","request_duration_ms":330}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:52 GMT + - Fri, 12 Apr 2024 02:12:36 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 41f28b43-cb09-48b6-bf3e-f6636cf5f3a3 + - ed38e527-0a2e-46a9-b7b3-31451c888eb6 Original-Request: - - req_O5sqx5qIeGVYTz + - req_NZBdu3pWFIa7m8 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_O5sqx5qIeGVYTz + - req_NZBdu3pWFIa7m8 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdBKuuB1fWySn249H5Gks", + "id": "pi_3P4ZbSKuuB1fWySn2hIr2YYd", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799649, + "created": 1712887954, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdBKuuB1fWySn2pd9mdJy", + "latest_charge": "ch_3P4ZbSKuuB1fWySn2Ah8zV3Y", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdAKuuB1fWySn7C5uXUPt", + "payment_method": "pm_1P4ZbRKuuB1fWySnefQaxF28", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:52 GMT + recorded_at: Fri, 12 Apr 2024 02:12:36 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdBKuuB1fWySn249H5Gks + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbSKuuB1fWySn2hIr2YYd body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_O5sqx5qIeGVYTz","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_NZBdu3pWFIa7m8","request_duration_ms":1097}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:52 GMT + - Fri, 12 Apr 2024 02:12:37 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_tyIYaeWKnZNuql + - req_aeVMhLyJHVQV5a Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdBKuuB1fWySn249H5Gks", + "id": "pi_3P4ZbSKuuB1fWySn2hIr2YYd", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799649, + "created": 1712887954, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdBKuuB1fWySn2pd9mdJy", + "latest_charge": "ch_3P4ZbSKuuB1fWySn2Ah8zV3Y", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdAKuuB1fWySn7C5uXUPt", + "payment_method": "pm_1P4ZbRKuuB1fWySnefQaxF28", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:52 GMT + recorded_at: Fri, 12 Apr 2024 02:12:37 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml index 4937fd8e9e..307a8c0562 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_naE4Sjq3oo6NB2","request_duration_ms":0}}' + - '{"last_request_metrics":{"request_id":"req_R8pyYNeaoLTcEw","request_duration_ms":0}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:46 GMT + - Fri, 12 Apr 2024 02:12:31 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - dff29161-3cbe-41cf-9004-d6dc014e05b7 + - 3c528661-2643-4ed4-a0d0-e97af1513fdd Original-Request: - - req_p9S0BUOsPyLIty + - req_QDtt1JYdQ42GiW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_p9S0BUOsPyLIty + - req_QDtt1JYdQ42GiW Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Cd8KuuB1fWySnoIy2Kels", + "id": "pm_1P4ZbPKuuB1fWySnKuMN7Cec", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799646, + "created": 1712887951, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:46 GMT + recorded_at: Fri, 12 Apr 2024 02:12:31 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Cd8KuuB1fWySnoIy2Kels&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbPKuuB1fWySnKuMN7Cec&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_p9S0BUOsPyLIty","request_duration_ms":652}}' + - '{"last_request_metrics":{"request_id":"req_QDtt1JYdQ42GiW","request_duration_ms":930}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:47 GMT + - Fri, 12 Apr 2024 02:12:32 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b09982a1-5bdc-4247-aba1-8a00f54162ae + - f1cd4a9c-5909-40d6-b77f-fc59ff1d6c41 Original-Request: - - req_aoc6AuqUcX8CpQ + - req_J27MPCz7mWtNkf Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aoc6AuqUcX8CpQ + - req_J27MPCz7mWtNkf Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cd9KuuB1fWySn0DJQdZyF", + "id": "pi_3P4ZbPKuuB1fWySn1godCq1B", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799647, + "created": 1712887951, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cd8KuuB1fWySnoIy2Kels", + "payment_method": "pm_1P4ZbPKuuB1fWySnKuMN7Cec", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:47 GMT + recorded_at: Fri, 12 Apr 2024 02:12:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Cd9KuuB1fWySn0DJQdZyF/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbPKuuB1fWySn1godCq1B/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aoc6AuqUcX8CpQ","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_J27MPCz7mWtNkf","request_duration_ms":435}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:48 GMT + - Fri, 12 Apr 2024 02:12:33 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e93e63f3-69a4-46ab-8098-d26f67fff159 + - 8d8bb962-ee63-4e20-85d4-a00a1b98d31e Original-Request: - - req_sXDJmfU4FXa0zi + - req_FYzvBwG7kG8KBb Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sXDJmfU4FXa0zi + - req_FYzvBwG7kG8KBb Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Cd9KuuB1fWySn0DJQdZyF", + "id": "pi_3P4ZbPKuuB1fWySn1godCq1B", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799647, + "created": 1712887951, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Cd9KuuB1fWySn0LmTfdvO", + "latest_charge": "ch_3P4ZbPKuuB1fWySn1iBDWUnh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Cd8KuuB1fWySnoIy2Kels", + "payment_method": "pm_1P4ZbPKuuB1fWySnKuMN7Cec", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:48 GMT + recorded_at: Fri, 12 Apr 2024 02:12:33 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml index 8ac03e9aac..17c0bd8787 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2DMFe6UJUOT4cO","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_gHtxpVvLNxTDnn","request_duration_ms":1073}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:55 GMT + - Fri, 12 Apr 2024 02:12:41 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ea7fe854-7e4a-4ee5-af5d-6c555715b32a + - 1bd51daa-2296-4eb3-99ba-48ab5572a970 Original-Request: - - req_j1IvBlDeygUWvZ + - req_V0OeprYOt5SN3C Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_j1IvBlDeygUWvZ + - req_V0OeprYOt5SN3C Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdHKuuB1fWySn1V72DblC", + "id": "pm_1P4ZbYKuuB1fWySn754kzOhH", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799655, + "created": 1712887960, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:55 GMT + recorded_at: Fri, 12 Apr 2024 02:12:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdHKuuB1fWySn1V72DblC&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbYKuuB1fWySn754kzOhH&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_j1IvBlDeygUWvZ","request_duration_ms":453}}' + - '{"last_request_metrics":{"request_id":"req_V0OeprYOt5SN3C","request_duration_ms":602}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:55 GMT + - Fri, 12 Apr 2024 02:12:41 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 739eac45-0edf-4679-85af-3ad90d3e3c7a + - 78f4687b-d3e7-4a84-96b3-a6952aeffab1 Original-Request: - - req_Zpq4Ohcrwiw170 + - req_Gz3SQtT0CNAkeD Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Zpq4Ohcrwiw170 + - req_Gz3SQtT0CNAkeD Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdHKuuB1fWySn1h0joHoM", + "id": "pi_3P4ZbZKuuB1fWySn0JQyLL51", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799655, + "created": 1712887961, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdHKuuB1fWySn1V72DblC", + "payment_method": "pm_1P4ZbYKuuB1fWySn754kzOhH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:56 GMT + recorded_at: Fri, 12 Apr 2024 02:12:41 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdHKuuB1fWySn1h0joHoM/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbZKuuB1fWySn0JQyLL51/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Zpq4Ohcrwiw170","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_Gz3SQtT0CNAkeD","request_duration_ms":611}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:57 GMT + - Fri, 12 Apr 2024 02:12:42 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 26613e05-19e5-4ad0-bf2c-3306b87a16c5 + - ca7f1b36-6c7f-4c6e-ad98-8990f6515470 Original-Request: - - req_WSwqrDDCdXFb7H + - req_sbVkKSMNaEDYrM Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WSwqrDDCdXFb7H + - req_sbVkKSMNaEDYrM Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdHKuuB1fWySn1h0joHoM", + "id": "pi_3P4ZbZKuuB1fWySn0JQyLL51", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799655, + "created": 1712887961, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdHKuuB1fWySn1AcKZp1p", + "latest_charge": "ch_3P4ZbZKuuB1fWySn0ArTDhuI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdHKuuB1fWySn1V72DblC", + "payment_method": "pm_1P4ZbYKuuB1fWySn754kzOhH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:57 GMT + recorded_at: Fri, 12 Apr 2024 02:12:42 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdHKuuB1fWySn1h0joHoM + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbZKuuB1fWySn0JQyLL51 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WSwqrDDCdXFb7H","request_duration_ms":1023}}' + - '{"last_request_metrics":{"request_id":"req_sbVkKSMNaEDYrM","request_duration_ms":1122}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:57 GMT + - Fri, 12 Apr 2024 02:12:43 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Cm2zJfcOKeY8fk + - req_t7QCR6Won5x0AG Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdHKuuB1fWySn1h0joHoM", + "id": "pi_3P4ZbZKuuB1fWySn0JQyLL51", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799655, + "created": 1712887961, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdHKuuB1fWySn1AcKZp1p", + "latest_charge": "ch_3P4ZbZKuuB1fWySn0ArTDhuI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdHKuuB1fWySn1V72DblC", + "payment_method": "pm_1P4ZbYKuuB1fWySn754kzOhH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:57 GMT + recorded_at: Fri, 12 Apr 2024 02:12:43 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdHKuuB1fWySn1h0joHoM/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbZKuuB1fWySn0JQyLL51/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Cm2zJfcOKeY8fk","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_t7QCR6Won5x0AG","request_duration_ms":511}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:58 GMT + - Fri, 12 Apr 2024 02:12:44 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 953138a3-bdae-43ee-b921-bd79bb03cfbd + - df44ad74-0422-4613-89e5-d889d10e9ce0 Original-Request: - - req_5wfVBtIqVEtWml + - req_7QCJjuccNy3lff Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5wfVBtIqVEtWml + - req_7QCJjuccNy3lff Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdHKuuB1fWySn1h0joHoM", + "id": "pi_3P4ZbZKuuB1fWySn0JQyLL51", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799655, + "created": 1712887961, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdHKuuB1fWySn1AcKZp1p", + "latest_charge": "ch_3P4ZbZKuuB1fWySn0ArTDhuI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdHKuuB1fWySn1V72DblC", + "payment_method": "pm_1P4ZbYKuuB1fWySn754kzOhH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:58 GMT + recorded_at: Fri, 12 Apr 2024 02:12:44 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdHKuuB1fWySn1h0joHoM + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbZKuuB1fWySn0JQyLL51 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5wfVBtIqVEtWml","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_7QCJjuccNy3lff","request_duration_ms":1431}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:58 GMT + - Fri, 12 Apr 2024 02:12:45 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PRj2guhfYhVyfj + - req_WHILdRRy3i3Zga Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdHKuuB1fWySn1h0joHoM", + "id": "pi_3P4ZbZKuuB1fWySn0JQyLL51", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799655, + "created": 1712887961, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdHKuuB1fWySn1AcKZp1p", + "latest_charge": "ch_3P4ZbZKuuB1fWySn0ArTDhuI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdHKuuB1fWySn1V72DblC", + "payment_method": "pm_1P4ZbYKuuB1fWySn754kzOhH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:58 GMT + recorded_at: Fri, 12 Apr 2024 02:12:45 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml index 7e7fb81e22..ead5db100f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tyIYaeWKnZNuql","request_duration_ms":0}}' + - '{"last_request_metrics":{"request_id":"req_aeVMhLyJHVQV5a","request_duration_ms":0}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:53 GMT + - Fri, 12 Apr 2024 02:12:38 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 697c29ac-c640-49b4-85c2-63ca978c5415 + - 2a2b2032-53cb-46c7-a02e-0e295e9f3ac0 Original-Request: - - req_I7E59VwrkMIUN4 + - req_tZfbuYU3M7QXFR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_I7E59VwrkMIUN4 + - req_tZfbuYU3M7QXFR Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdFKuuB1fWySnex1WO3uH", + "id": "pm_1P4ZbWKuuB1fWySn0Myw8SKC", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799653, + "created": 1712887958, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:53 GMT + recorded_at: Fri, 12 Apr 2024 02:12:38 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdFKuuB1fWySnex1WO3uH&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbWKuuB1fWySn0Myw8SKC&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_I7E59VwrkMIUN4","request_duration_ms":603}}' + - '{"last_request_metrics":{"request_id":"req_tZfbuYU3M7QXFR","request_duration_ms":1119}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:53 GMT + - Fri, 12 Apr 2024 02:12:39 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a10a9413-6569-4d4e-9549-0009959eb8ff + - e384a803-4698-4922-a6f2-e04c12f19bc9 Original-Request: - - req_FFBSe5mXGsnoBN + - req_jp79CH1MVDzMq6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FFBSe5mXGsnoBN + - req_jp79CH1MVDzMq6 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdFKuuB1fWySn2tqgS3Pz", + "id": "pi_3P4ZbWKuuB1fWySn1SDkiIMR", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799653, + "created": 1712887958, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdFKuuB1fWySnex1WO3uH", + "payment_method": "pm_1P4ZbWKuuB1fWySn0Myw8SKC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:53 GMT + recorded_at: Fri, 12 Apr 2024 02:12:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdFKuuB1fWySn2tqgS3Pz/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbWKuuB1fWySn1SDkiIMR/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FFBSe5mXGsnoBN","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_jp79CH1MVDzMq6","request_duration_ms":609}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:54 GMT + - Fri, 12 Apr 2024 02:12:40 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a2364ee7-247a-42f5-a1b2-a367a6e09d10 + - 22380478-9f44-4409-ac4e-2c5a79bf4b66 Original-Request: - - req_2DMFe6UJUOT4cO + - req_gHtxpVvLNxTDnn Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2DMFe6UJUOT4cO + - req_gHtxpVvLNxTDnn Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdFKuuB1fWySn2tqgS3Pz", + "id": "pi_3P4ZbWKuuB1fWySn1SDkiIMR", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799653, + "created": 1712887958, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdFKuuB1fWySn2ot2vRAo", + "latest_charge": "ch_3P4ZbWKuuB1fWySn1DE7VXEP", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdFKuuB1fWySnex1WO3uH", + "payment_method": "pm_1P4ZbWKuuB1fWySn0Myw8SKC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:54 GMT + recorded_at: Fri, 12 Apr 2024 02:12:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml index 4650ceeba9..ae3a9d381a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FC2nZnujyWC4yd","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_mZl2OsNjESAeja","request_duration_ms":1330}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:20 GMT + - Fri, 12 Apr 2024 02:13:10 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fac840d2-6aed-4d1e-87de-3c6895e88652 + - 3032bd9e-9de8-4399-aecc-ee42c70278ac Original-Request: - - req_ntle5eO8fH2hxk + - req_GTlmbVS31LcLIk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ntle5eO8fH2hxk + - req_GTlmbVS31LcLIk Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdgKuuB1fWySnptmGKHsY", + "id": "pm_1P4Zc2KuuB1fWySnhhtbh2uk", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799680, + "created": 1712887990, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:20 GMT + recorded_at: Fri, 12 Apr 2024 02:13:10 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdgKuuB1fWySnptmGKHsY&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Zc2KuuB1fWySnhhtbh2uk&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ntle5eO8fH2hxk","request_duration_ms":467}}' + - '{"last_request_metrics":{"request_id":"req_GTlmbVS31LcLIk","request_duration_ms":694}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:20 GMT + - Fri, 12 Apr 2024 02:13:11 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9a3a5c21-0b40-456c-a6ee-bc2e6144c65c + - b6db1ffa-c2d1-477c-97aa-902c746814e7 Original-Request: - - req_eDwZL0tP4YZeri + - req_sp0hhFw0PM0m0W Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eDwZL0tP4YZeri + - req_sp0hhFw0PM0m0W Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdgKuuB1fWySn2YYuyJKU", + "id": "pi_3P4Zc2KuuB1fWySn1pHl8nM7", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799680, + "created": 1712887990, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdgKuuB1fWySnptmGKHsY", + "payment_method": "pm_1P4Zc2KuuB1fWySnhhtbh2uk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:20 GMT + recorded_at: Fri, 12 Apr 2024 02:13:11 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdgKuuB1fWySn2YYuyJKU/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zc2KuuB1fWySn1pHl8nM7/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eDwZL0tP4YZeri","request_duration_ms":445}}' + - '{"last_request_metrics":{"request_id":"req_sp0hhFw0PM0m0W","request_duration_ms":597}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:21 GMT + - Fri, 12 Apr 2024 02:13:12 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 90305c99-0abf-46e6-beb8-ea056447f0f1 + - 13294aac-015e-4fc0-a313-d7e4d84077e6 Original-Request: - - req_UM1OYcMIDVBYRO + - req_EfPSlz0SYQS5Ru Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UM1OYcMIDVBYRO + - req_EfPSlz0SYQS5Ru Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdgKuuB1fWySn2YYuyJKU", + "id": "pi_3P4Zc2KuuB1fWySn1pHl8nM7", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799680, + "created": 1712887990, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdgKuuB1fWySn2ctrVeEm", + "latest_charge": "ch_3P4Zc2KuuB1fWySn1Jc1MkYq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdgKuuB1fWySnptmGKHsY", + "payment_method": "pm_1P4Zc2KuuB1fWySnhhtbh2uk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:21 GMT + recorded_at: Fri, 12 Apr 2024 02:13:12 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdgKuuB1fWySn2YYuyJKU + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zc2KuuB1fWySn1pHl8nM7 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UM1OYcMIDVBYRO","request_duration_ms":1073}}' + - '{"last_request_metrics":{"request_id":"req_EfPSlz0SYQS5Ru","request_duration_ms":1252}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:22 GMT + - Fri, 12 Apr 2024 02:13:12 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qeym2bARTf7nWL + - req_9Gf7cYBFtJ0b53 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdgKuuB1fWySn2YYuyJKU", + "id": "pi_3P4Zc2KuuB1fWySn1pHl8nM7", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799680, + "created": 1712887990, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdgKuuB1fWySn2ctrVeEm", + "latest_charge": "ch_3P4Zc2KuuB1fWySn1Jc1MkYq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdgKuuB1fWySnptmGKHsY", + "payment_method": "pm_1P4Zc2KuuB1fWySnhhtbh2uk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:22 GMT + recorded_at: Fri, 12 Apr 2024 02:13:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdgKuuB1fWySn2YYuyJKU/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zc2KuuB1fWySn1pHl8nM7/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qeym2bARTf7nWL","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_9Gf7cYBFtJ0b53","request_duration_ms":512}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:23 GMT + - Fri, 12 Apr 2024 02:13:14 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6dcf9dd3-4915-40a7-b344-23c9bbda18f0 + - 18fa46a2-6b71-47f6-aeb7-f2da291919a1 Original-Request: - - req_FBBrf4RP7IAEih + - req_P5M4wA3mE711oW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FBBrf4RP7IAEih + - req_P5M4wA3mE711oW Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdgKuuB1fWySn2YYuyJKU", + "id": "pi_3P4Zc2KuuB1fWySn1pHl8nM7", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799680, + "created": 1712887990, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdgKuuB1fWySn2ctrVeEm", + "latest_charge": "ch_3P4Zc2KuuB1fWySn1Jc1MkYq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdgKuuB1fWySnptmGKHsY", + "payment_method": "pm_1P4Zc2KuuB1fWySnhhtbh2uk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:23 GMT + recorded_at: Fri, 12 Apr 2024 02:13:14 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdgKuuB1fWySn2YYuyJKU + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zc2KuuB1fWySn1pHl8nM7 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FBBrf4RP7IAEih","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_P5M4wA3mE711oW","request_duration_ms":1335}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:23 GMT + - Fri, 12 Apr 2024 02:13:14 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XrlQZJP5Pg94Db + - req_3yokmPARNPwzYX Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdgKuuB1fWySn2YYuyJKU", + "id": "pi_3P4Zc2KuuB1fWySn1pHl8nM7", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799680, + "created": 1712887990, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdgKuuB1fWySn2ctrVeEm", + "latest_charge": "ch_3P4Zc2KuuB1fWySn1Jc1MkYq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdgKuuB1fWySnptmGKHsY", + "payment_method": "pm_1P4Zc2KuuB1fWySnhhtbh2uk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:23 GMT + recorded_at: Fri, 12 Apr 2024 02:13:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml index 0b737919e1..6fc8b8a916 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4Q8pNCcYRdgsMm","request_duration_ms":474}}' + - '{"last_request_metrics":{"request_id":"req_JGVcKD6GYpDMhA","request_duration_ms":568}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:18 GMT + - Fri, 12 Apr 2024 02:13:07 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4ec1d418-e15d-4488-bfb4-50ecff2c1e08 + - 9251c328-f1a4-4aa6-bd1b-52b3f8ff4833 Original-Request: - - req_MzFfmYxdZQn5Sw + - req_dN2z52HZxCyrb1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MzFfmYxdZQn5Sw + - req_dN2z52HZxCyrb1 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdeKuuB1fWySneCu2LMeb", + "id": "pm_1P4ZbzKuuB1fWySnToP8l6ka", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799678, + "created": 1712887987, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:18 GMT + recorded_at: Fri, 12 Apr 2024 02:13:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdeKuuB1fWySneCu2LMeb&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbzKuuB1fWySnToP8l6ka&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MzFfmYxdZQn5Sw","request_duration_ms":500}}' + - '{"last_request_metrics":{"request_id":"req_dN2z52HZxCyrb1","request_duration_ms":707}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:18 GMT + - Fri, 12 Apr 2024 02:13:08 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 46f6a046-c9ec-4c8c-a4e6-ecf36baa84f3 + - 350ef265-5071-477c-ac69-5898b7b428e6 Original-Request: - - req_zib6izQHfhjPH0 + - req_sYE9a1v0sapTtr Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zib6izQHfhjPH0 + - req_sYE9a1v0sapTtr Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdeKuuB1fWySn22Lai7Jb", + "id": "pi_3P4Zc0KuuB1fWySn2xvCb6V3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799678, + "created": 1712887988, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdeKuuB1fWySneCu2LMeb", + "payment_method": "pm_1P4ZbzKuuB1fWySnToP8l6ka", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:18 GMT + recorded_at: Fri, 12 Apr 2024 02:13:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdeKuuB1fWySn22Lai7Jb/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zc0KuuB1fWySn2xvCb6V3/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zib6izQHfhjPH0","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_sYE9a1v0sapTtr","request_duration_ms":628}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:19 GMT + - Fri, 12 Apr 2024 02:13:09 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6eaf6fd1-8891-4b31-a696-c5a413fe467e + - a2d2edf0-37df-420c-ba1c-11565a0a6c93 Original-Request: - - req_FC2nZnujyWC4yd + - req_mZl2OsNjESAeja Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FC2nZnujyWC4yd + - req_mZl2OsNjESAeja Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdeKuuB1fWySn22Lai7Jb", + "id": "pi_3P4Zc0KuuB1fWySn2xvCb6V3", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799678, + "created": 1712887988, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdeKuuB1fWySn2ftQ0Svc", + "latest_charge": "ch_3P4Zc0KuuB1fWySn2Z0ndaUv", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdeKuuB1fWySneCu2LMeb", + "payment_method": "pm_1P4ZbzKuuB1fWySnToP8l6ka", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:19 GMT + recorded_at: Fri, 12 Apr 2024 02:13:09 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml index 6200bb8cb2..f81b278784 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_51m2V28iqwWrSE","request_duration_ms":1102}}' + - '{"last_request_metrics":{"request_id":"req_wYHhiSRCkeo6Us","request_duration_ms":1090}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:13 GMT + - Fri, 12 Apr 2024 02:12:03 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8a4a7480-2ca0-4360-9323-7efffae497a7 + - 39d9a8f8-ee3a-4967-ae5f-2145a2e5d6b4 Original-Request: - - req_0PKwIAXcARWm9s + - req_GfMqvXjMYLpr0i Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0PKwIAXcARWm9s + - req_GfMqvXjMYLpr0i Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcbKuuB1fWySnw3Io8sWa", + "id": "pm_1P4ZaxKuuB1fWySnqxdZKlQS", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799613, + "created": 1712887923, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:13 GMT + recorded_at: Fri, 12 Apr 2024 02:12:03 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CcbKuuB1fWySnw3Io8sWa&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZaxKuuB1fWySnqxdZKlQS&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0PKwIAXcARWm9s","request_duration_ms":654}}' + - '{"last_request_metrics":{"request_id":"req_GfMqvXjMYLpr0i","request_duration_ms":485}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:14 GMT + - Fri, 12 Apr 2024 02:12:03 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8674135f-3d47-40b8-ad8e-7740bd19c0c1 + - 5e1857d3-83b0-4dce-bf7d-eddf542a0503 Original-Request: - - req_bv567NG1Suur9M + - req_1HA8502Ojv2gPg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bv567NG1Suur9M + - req_1HA8502Ojv2gPg Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CccKuuB1fWySn0cPiyKAS", + "id": "pi_3P4ZaxKuuB1fWySn1AplAeXS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799614, + "created": 1712887923, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcbKuuB1fWySnw3Io8sWa", + "payment_method": "pm_1P4ZaxKuuB1fWySnqxdZKlQS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:14 GMT + recorded_at: Fri, 12 Apr 2024 02:12:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CccKuuB1fWySn0cPiyKAS/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZaxKuuB1fWySn1AplAeXS/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bv567NG1Suur9M","request_duration_ms":610}}' + - '{"last_request_metrics":{"request_id":"req_1HA8502Ojv2gPg","request_duration_ms":451}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:15 GMT + - Fri, 12 Apr 2024 02:12:04 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e2c3d6a9-6b19-433e-b6c1-673ae582ced5 + - 2305c8b4-df44-4633-a378-a920d09d5b9f Original-Request: - - req_bmR4QpxCr7Ur9s + - req_8hTprorfaCQVsh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bmR4QpxCr7Ur9s + - req_8hTprorfaCQVsh Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CccKuuB1fWySn0cPiyKAS", + "id": "pi_3P4ZaxKuuB1fWySn1AplAeXS", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799614, + "created": 1712887923, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CccKuuB1fWySn0IBNVvPQ", + "latest_charge": "ch_3P4ZaxKuuB1fWySn1IRX355Q", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcbKuuB1fWySnw3Io8sWa", + "payment_method": "pm_1P4ZaxKuuB1fWySnqxdZKlQS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:15 GMT + recorded_at: Fri, 12 Apr 2024 02:12:04 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CccKuuB1fWySn0cPiyKAS + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZaxKuuB1fWySn1AplAeXS body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bmR4QpxCr7Ur9s","request_duration_ms":1073}}' + - '{"last_request_metrics":{"request_id":"req_8hTprorfaCQVsh","request_duration_ms":894}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:16 GMT + - Fri, 12 Apr 2024 02:12:05 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5QWURJAJ8kElHp + - req_dXDiubYYe2UXi1 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CccKuuB1fWySn0cPiyKAS", + "id": "pi_3P4ZaxKuuB1fWySn1AplAeXS", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799614, + "created": 1712887923, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CccKuuB1fWySn0IBNVvPQ", + "latest_charge": "ch_3P4ZaxKuuB1fWySn1IRX355Q", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcbKuuB1fWySnw3Io8sWa", + "payment_method": "pm_1P4ZaxKuuB1fWySnqxdZKlQS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:16 GMT + recorded_at: Fri, 12 Apr 2024 02:12:05 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CccKuuB1fWySn0cPiyKAS/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZaxKuuB1fWySn1AplAeXS/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5QWURJAJ8kElHp","request_duration_ms":563}}' + - '{"last_request_metrics":{"request_id":"req_dXDiubYYe2UXi1","request_duration_ms":385}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:17 GMT + - Fri, 12 Apr 2024 02:12:06 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cfb2bd9c-cfbb-4d85-9fed-284f6f454680 + - cf0e242e-596a-49dd-b1ea-883c4917c9ed Original-Request: - - req_vTKNwmW2L8kC3D + - req_ozuUFGX8fC7isx Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vTKNwmW2L8kC3D + - req_ozuUFGX8fC7isx Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CccKuuB1fWySn0cPiyKAS", + "id": "pi_3P4ZaxKuuB1fWySn1AplAeXS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799614, + "created": 1712887923, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CccKuuB1fWySn0IBNVvPQ", + "latest_charge": "ch_3P4ZaxKuuB1fWySn1IRX355Q", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcbKuuB1fWySnw3Io8sWa", + "payment_method": "pm_1P4ZaxKuuB1fWySnqxdZKlQS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:17 GMT + recorded_at: Fri, 12 Apr 2024 02:12:06 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CccKuuB1fWySn0cPiyKAS + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZaxKuuB1fWySn1AplAeXS body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vTKNwmW2L8kC3D","request_duration_ms":1126}}' + - '{"last_request_metrics":{"request_id":"req_ozuUFGX8fC7isx","request_duration_ms":1031}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:17 GMT + - Fri, 12 Apr 2024 02:12:06 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hMujftniWZ1raC + - req_4FaXvVsfJheIN9 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CccKuuB1fWySn0cPiyKAS", + "id": "pi_3P4ZaxKuuB1fWySn1AplAeXS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799614, + "created": 1712887923, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CccKuuB1fWySn0IBNVvPQ", + "latest_charge": "ch_3P4ZaxKuuB1fWySn1IRX355Q", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcbKuuB1fWySnw3Io8sWa", + "payment_method": "pm_1P4ZaxKuuB1fWySnqxdZKlQS", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:17 GMT + recorded_at: Fri, 12 Apr 2024 02:12:06 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml index 6b29e50ca9..d5447bd83b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zgJCJAnxlgF0ia","request_duration_ms":453}}' + - '{"last_request_metrics":{"request_id":"req_6BUIzaf9frDFgq","request_duration_ms":413}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:11 GMT + - Fri, 12 Apr 2024 02:12:01 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a20f417d-aa63-4525-938e-7a3eb8523512 + - 8066b0fa-d460-49d3-bf6e-da07e8c5b0e3 Original-Request: - - req_3hN2pTv3G7JE72 + - req_YZMJhXbtfPrJ37 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3hN2pTv3G7JE72 + - req_YZMJhXbtfPrJ37 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcYKuuB1fWySn4rq8k17T", + "id": "pm_1P4ZauKuuB1fWySnIxDpOKOl", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799611, + "created": 1712887921, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:11 GMT + recorded_at: Fri, 12 Apr 2024 02:12:01 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CcYKuuB1fWySn4rq8k17T&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZauKuuB1fWySnIxDpOKOl&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3hN2pTv3G7JE72","request_duration_ms":605}}' + - '{"last_request_metrics":{"request_id":"req_YZMJhXbtfPrJ37","request_duration_ms":475}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:11 GMT + - Fri, 12 Apr 2024 02:12:01 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cd966ffb-f917-492a-9cf0-b1e32cb1026f + - 69a5c843-1dfa-4692-b915-eb8deb5a6144 Original-Request: - - req_vSooJwz9cF2nwG + - req_SLwRojsZTQ26xl Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vSooJwz9cF2nwG + - req_SLwRojsZTQ26xl Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcZKuuB1fWySn03Iac4hw", + "id": "pi_3P4ZavKuuB1fWySn0A0ROE2R", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799611, + "created": 1712887921, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcYKuuB1fWySn4rq8k17T", + "payment_method": "pm_1P4ZauKuuB1fWySnIxDpOKOl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:11 GMT + recorded_at: Fri, 12 Apr 2024 02:12:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcZKuuB1fWySn03Iac4hw/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZavKuuB1fWySn0A0ROE2R/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vSooJwz9cF2nwG","request_duration_ms":804}}' + - '{"last_request_metrics":{"request_id":"req_SLwRojsZTQ26xl","request_duration_ms":442}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:13 GMT + - Fri, 12 Apr 2024 02:12:02 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - aad9a6b4-3fe4-4755-a572-02dc5104b50f + - 630c6875-7128-4da7-9ba9-0c7a1351ada0 Original-Request: - - req_51m2V28iqwWrSE + - req_wYHhiSRCkeo6Us Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_51m2V28iqwWrSE + - req_wYHhiSRCkeo6Us Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcZKuuB1fWySn03Iac4hw", + "id": "pi_3P4ZavKuuB1fWySn0A0ROE2R", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799611, + "created": 1712887921, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcZKuuB1fWySn0SZcCH44", + "latest_charge": "ch_3P4ZavKuuB1fWySn0DMfOd2G", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcYKuuB1fWySn4rq8k17T", + "payment_method": "pm_1P4ZauKuuB1fWySnIxDpOKOl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:13 GMT + recorded_at: Fri, 12 Apr 2024 02:12:02 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml index 40466640b5..8569077f8b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nZ8LjWXFBN49Ww","request_duration_ms":1078}}' + - '{"last_request_metrics":{"request_id":"req_ZOh73I9LmmAAP1","request_duration_ms":994}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:20 GMT + - Fri, 12 Apr 2024 02:12:09 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 12417ccc-632c-4ac2-b381-a2bc68da40cf + - e615ce5b-cace-40ef-90a2-7c5639039e56 Original-Request: - - req_ZnTZPuY6svoWPe + - req_b2MksB5J3UsVEO Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZnTZPuY6svoWPe + - req_b2MksB5J3UsVEO Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CciKuuB1fWySnbRMHjZco", + "id": "pm_1P4Zb2KuuB1fWySn2XIoz1v6", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799620, + "created": 1712887929, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:20 GMT + recorded_at: Fri, 12 Apr 2024 02:12:09 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CciKuuB1fWySnbRMHjZco&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Zb2KuuB1fWySn2XIoz1v6&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZnTZPuY6svoWPe","request_duration_ms":598}}' + - '{"last_request_metrics":{"request_id":"req_b2MksB5J3UsVEO","request_duration_ms":547}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:21 GMT + - Fri, 12 Apr 2024 02:12:09 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 86324a54-3f7e-4859-8fce-9296e18a3a1f + - d7cf6532-3634-43cb-9c1f-7f61b4f35bda Original-Request: - - req_sovNsVN8sQChtI + - req_nXH4If9wMiYTZ7 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sovNsVN8sQChtI + - req_nXH4If9wMiYTZ7 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcjKuuB1fWySn19jH2mi0", + "id": "pi_3P4Zb3KuuB1fWySn0vNQ7xDj", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799621, + "created": 1712887929, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CciKuuB1fWySnbRMHjZco", + "payment_method": "pm_1P4Zb2KuuB1fWySn2XIoz1v6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:21 GMT + recorded_at: Fri, 12 Apr 2024 02:12:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcjKuuB1fWySn19jH2mi0/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb3KuuB1fWySn0vNQ7xDj/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sovNsVN8sQChtI","request_duration_ms":580}}' + - '{"last_request_metrics":{"request_id":"req_nXH4If9wMiYTZ7","request_duration_ms":509}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:22 GMT + - Fri, 12 Apr 2024 02:12:10 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4411bd84-774a-43cd-8671-bc1555e6636b + - e625145e-40b7-4dc5-b43d-199a0aa51840 Original-Request: - - req_VPpoqBWD2lSrF0 + - req_8pvbiWmk0zEKeY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VPpoqBWD2lSrF0 + - req_8pvbiWmk0zEKeY Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcjKuuB1fWySn19jH2mi0", + "id": "pi_3P4Zb3KuuB1fWySn0vNQ7xDj", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799621, + "created": 1712887929, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcjKuuB1fWySn1mF4knza", + "latest_charge": "ch_3P4Zb3KuuB1fWySn0aZFeSXj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CciKuuB1fWySnbRMHjZco", + "payment_method": "pm_1P4Zb2KuuB1fWySn2XIoz1v6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:22 GMT + recorded_at: Fri, 12 Apr 2024 02:12:10 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcjKuuB1fWySn19jH2mi0 + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb3KuuB1fWySn0vNQ7xDj body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VPpoqBWD2lSrF0","request_duration_ms":1132}}' + - '{"last_request_metrics":{"request_id":"req_8pvbiWmk0zEKeY","request_duration_ms":1020}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:23 GMT + - Fri, 12 Apr 2024 02:12:11 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ubf2CfCHb2ZmTu + - req_kGK2PCft7zj3v9 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcjKuuB1fWySn19jH2mi0", + "id": "pi_3P4Zb3KuuB1fWySn0vNQ7xDj", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799621, + "created": 1712887929, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcjKuuB1fWySn1mF4knza", + "latest_charge": "ch_3P4Zb3KuuB1fWySn0aZFeSXj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CciKuuB1fWySnbRMHjZco", + "payment_method": "pm_1P4Zb2KuuB1fWySn2XIoz1v6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:23 GMT + recorded_at: Fri, 12 Apr 2024 02:12:11 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcjKuuB1fWySn19jH2mi0/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb3KuuB1fWySn0vNQ7xDj/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ubf2CfCHb2ZmTu","request_duration_ms":461}}' + - '{"last_request_metrics":{"request_id":"req_kGK2PCft7zj3v9","request_duration_ms":405}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:24 GMT + - Fri, 12 Apr 2024 02:12:12 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 146b7e00-038e-48df-bbad-cbaac9abd3a4 + - a9dcf433-f31a-4e07-b2ff-c1882f23ac9b Original-Request: - - req_PKct63xE9mOViQ + - req_Vzh0yEqXJACpPg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PKct63xE9mOViQ + - req_Vzh0yEqXJACpPg Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcjKuuB1fWySn19jH2mi0", + "id": "pi_3P4Zb3KuuB1fWySn0vNQ7xDj", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799621, + "created": 1712887929, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcjKuuB1fWySn1mF4knza", + "latest_charge": "ch_3P4Zb3KuuB1fWySn0aZFeSXj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CciKuuB1fWySnbRMHjZco", + "payment_method": "pm_1P4Zb2KuuB1fWySn2XIoz1v6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:24 GMT + recorded_at: Fri, 12 Apr 2024 02:12:12 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcjKuuB1fWySn19jH2mi0 + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb3KuuB1fWySn0vNQ7xDj body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PKct63xE9mOViQ","request_duration_ms":1217}}' + - '{"last_request_metrics":{"request_id":"req_Vzh0yEqXJACpPg","request_duration_ms":1022}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:24 GMT + - Fri, 12 Apr 2024 02:12:12 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_CeaHXyFQTiqVYg + - req_rSnOOki7vgNiTY Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcjKuuB1fWySn19jH2mi0", + "id": "pi_3P4Zb3KuuB1fWySn0vNQ7xDj", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799621, + "created": 1712887929, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcjKuuB1fWySn1mF4knza", + "latest_charge": "ch_3P4Zb3KuuB1fWySn0aZFeSXj", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CciKuuB1fWySnbRMHjZco", + "payment_method": "pm_1P4Zb2KuuB1fWySn2XIoz1v6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:24 GMT + recorded_at: Fri, 12 Apr 2024 02:12:12 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml index 4e27b1b03d..5ba6440f77 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hMujftniWZ1raC","request_duration_ms":475}}' + - '{"last_request_metrics":{"request_id":"req_4FaXvVsfJheIN9","request_duration_ms":398}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:18 GMT + - Fri, 12 Apr 2024 02:12:07 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d10e7f79-9649-4353-837c-8d65e88f9079 + - b9e7e4f0-7051-4c3e-92bf-ddb342465f24 Original-Request: - - req_Tw1lpG9Q8xu3Db + - req_P5KTMaxl2ffofK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Tw1lpG9Q8xu3Db + - req_P5KTMaxl2ffofK Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcgKuuB1fWySnVDn8ujgE", + "id": "pm_1P4Zb0KuuB1fWySnFCPxEO1I", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799618, + "created": 1712887926, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:18 GMT + recorded_at: Fri, 12 Apr 2024 02:12:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CcgKuuB1fWySnVDn8ujgE&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Zb0KuuB1fWySnFCPxEO1I&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Tw1lpG9Q8xu3Db","request_duration_ms":628}}' + - '{"last_request_metrics":{"request_id":"req_P5KTMaxl2ffofK","request_duration_ms":495}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:19 GMT + - Fri, 12 Apr 2024 02:12:07 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 731c733b-02be-4e7b-a4c7-95ce3fd383ad + - 548cbbfb-7106-4780-8b21-b8efc94428fc Original-Request: - - req_a53M03HLU8gNv8 + - req_eYf75t5DnOzxgt Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_a53M03HLU8gNv8 + - req_eYf75t5DnOzxgt Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcgKuuB1fWySn2f9tEaet", + "id": "pi_3P4Zb1KuuB1fWySn1CRoIwFz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799618, + "created": 1712887927, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcgKuuB1fWySnVDn8ujgE", + "payment_method": "pm_1P4Zb0KuuB1fWySnFCPxEO1I", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:19 GMT + recorded_at: Fri, 12 Apr 2024 02:12:07 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcgKuuB1fWySn2f9tEaet/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb1KuuB1fWySn1CRoIwFz/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_a53M03HLU8gNv8","request_duration_ms":537}}' + - '{"last_request_metrics":{"request_id":"req_eYf75t5DnOzxgt","request_duration_ms":433}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:20 GMT + - Fri, 12 Apr 2024 02:12:08 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2d447d00-eaa8-40c7-9209-89f925b7f857 + - 4b5b2718-32be-4810-8e08-ec2576e34eec Original-Request: - - req_nZ8LjWXFBN49Ww + - req_ZOh73I9LmmAAP1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nZ8LjWXFBN49Ww + - req_ZOh73I9LmmAAP1 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcgKuuB1fWySn2f9tEaet", + "id": "pi_3P4Zb1KuuB1fWySn1CRoIwFz", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799618, + "created": 1712887927, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcgKuuB1fWySn2jeoBtRq", + "latest_charge": "ch_3P4Zb1KuuB1fWySn1NMqejwL", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcgKuuB1fWySnVDn8ujgE", + "payment_method": "pm_1P4Zb0KuuB1fWySnFCPxEO1I", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:20 GMT + recorded_at: Fri, 12 Apr 2024 02:12:08 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml index 88f3a7e49b..07bded0459 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hf6N81RK5EhdCh","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_lbGaRjUNbeYr9r","request_duration_ms":966}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:28 GMT + - Fri, 12 Apr 2024 02:12:15 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9ee9f577-e832-46cd-816b-9d0b1f5221e1 + - e2188b89-b3f2-44d4-9c9d-6e83496df35a Original-Request: - - req_QrauocMo0BFqoc + - req_SYAPsUd6uuvjJV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QrauocMo0BFqoc + - req_SYAPsUd6uuvjJV Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcpKuuB1fWySnpCNGzHDR", + "id": "pm_1P4Zb8KuuB1fWySnv4ULJNjv", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799627, + "created": 1712887935, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:28 GMT + recorded_at: Fri, 12 Apr 2024 02:12:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CcpKuuB1fWySnpCNGzHDR&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Zb8KuuB1fWySnv4ULJNjv&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QrauocMo0BFqoc","request_duration_ms":687}}' + - '{"last_request_metrics":{"request_id":"req_SYAPsUd6uuvjJV","request_duration_ms":545}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:28 GMT + - Fri, 12 Apr 2024 02:12:15 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a9140adb-8f32-4a2c-b51e-9027363d6e47 + - f3baad95-02ee-429c-9476-5d761435ff19 Original-Request: - - req_FVTPjlGpdiVQkN + - req_vLmcrB2R7kOJXy Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FVTPjlGpdiVQkN + - req_vLmcrB2R7kOJXy Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcqKuuB1fWySn2SEAwvgE", + "id": "pi_3P4Zb9KuuB1fWySn0BVOVvvF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799628, + "created": 1712887935, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcpKuuB1fWySnpCNGzHDR", + "payment_method": "pm_1P4Zb8KuuB1fWySnv4ULJNjv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:28 GMT + recorded_at: Fri, 12 Apr 2024 02:12:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcqKuuB1fWySn2SEAwvgE/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb9KuuB1fWySn0BVOVvvF/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FVTPjlGpdiVQkN","request_duration_ms":612}}' + - '{"last_request_metrics":{"request_id":"req_vLmcrB2R7kOJXy","request_duration_ms":508}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:29 GMT + - Fri, 12 Apr 2024 02:12:16 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d255805f-592a-4c7b-b7ff-b8964bd53bac + - 81ec96d1-f5e5-4101-9881-95ef0e11d050 Original-Request: - - req_PD4CuP3qmAhCBZ + - req_GgGHOqPsNOBFXl Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PD4CuP3qmAhCBZ + - req_GgGHOqPsNOBFXl Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcqKuuB1fWySn2SEAwvgE", + "id": "pi_3P4Zb9KuuB1fWySn0BVOVvvF", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799628, + "created": 1712887935, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcqKuuB1fWySn2QmrveSq", + "latest_charge": "ch_3P4Zb9KuuB1fWySn0ekW6quB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcpKuuB1fWySnpCNGzHDR", + "payment_method": "pm_1P4Zb8KuuB1fWySnv4ULJNjv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:29 GMT + recorded_at: Fri, 12 Apr 2024 02:12:16 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcqKuuB1fWySn2SEAwvgE + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb9KuuB1fWySn0BVOVvvF body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PD4CuP3qmAhCBZ","request_duration_ms":1126}}' + - '{"last_request_metrics":{"request_id":"req_GgGHOqPsNOBFXl","request_duration_ms":1125}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:30 GMT + - Fri, 12 Apr 2024 02:12:17 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BBUDktmphPLVi9 + - req_1XjOIPufK8iOHf Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcqKuuB1fWySn2SEAwvgE", + "id": "pi_3P4Zb9KuuB1fWySn0BVOVvvF", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799628, + "created": 1712887935, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcqKuuB1fWySn2QmrveSq", + "latest_charge": "ch_3P4Zb9KuuB1fWySn0ekW6quB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcpKuuB1fWySnpCNGzHDR", + "payment_method": "pm_1P4Zb8KuuB1fWySnv4ULJNjv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:30 GMT + recorded_at: Fri, 12 Apr 2024 02:12:17 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcqKuuB1fWySn2SEAwvgE/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb9KuuB1fWySn0BVOVvvF/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BBUDktmphPLVi9","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_1XjOIPufK8iOHf","request_duration_ms":345}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:31 GMT + - Fri, 12 Apr 2024 02:12:18 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b902c95e-58cf-48f9-8c91-af4909987970 + - a0697aab-d7e5-4041-b841-25fa494c809d Original-Request: - - req_oktSTpP5kbjtmm + - req_wPAqv0qSnrgCGq Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_oktSTpP5kbjtmm + - req_wPAqv0qSnrgCGq Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcqKuuB1fWySn2SEAwvgE", + "id": "pi_3P4Zb9KuuB1fWySn0BVOVvvF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799628, + "created": 1712887935, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcqKuuB1fWySn2QmrveSq", + "latest_charge": "ch_3P4Zb9KuuB1fWySn0ekW6quB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcpKuuB1fWySnpCNGzHDR", + "payment_method": "pm_1P4Zb8KuuB1fWySnv4ULJNjv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:31 GMT + recorded_at: Fri, 12 Apr 2024 02:12:18 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcqKuuB1fWySn2SEAwvgE + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb9KuuB1fWySn0BVOVvvF body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oktSTpP5kbjtmm","request_duration_ms":1227}}' + - '{"last_request_metrics":{"request_id":"req_wPAqv0qSnrgCGq","request_duration_ms":997}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:32 GMT + - Fri, 12 Apr 2024 02:12:18 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_66CQeHzsUGH62R + - req_KUws5Img2K7kGM Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcqKuuB1fWySn2SEAwvgE", + "id": "pi_3P4Zb9KuuB1fWySn0BVOVvvF", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799628, + "created": 1712887935, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcqKuuB1fWySn2QmrveSq", + "latest_charge": "ch_3P4Zb9KuuB1fWySn0ekW6quB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcpKuuB1fWySnpCNGzHDR", + "payment_method": "pm_1P4Zb8KuuB1fWySnv4ULJNjv", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:32 GMT + recorded_at: Fri, 12 Apr 2024 02:12:18 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml index 1923f7c941..ea9c05e9a6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CeaHXyFQTiqVYg","request_duration_ms":437}}' + - '{"last_request_metrics":{"request_id":"req_rSnOOki7vgNiTY","request_duration_ms":336}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:25 GMT + - Fri, 12 Apr 2024 02:12:13 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cbb71a3f-0646-454b-8113-ca87c03b8242 + - 49e9eef9-e600-48f9-ae84-f1442353fedb Original-Request: - - req_lGOZKMdTSCO7iD + - req_im6CHkrw1k7jpW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lGOZKMdTSCO7iD + - req_im6CHkrw1k7jpW Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcnKuuB1fWySnAE64BB70", + "id": "pm_1P4Zb6KuuB1fWySn6ZK5EEJm", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799625, + "created": 1712887932, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:25 GMT + recorded_at: Fri, 12 Apr 2024 02:12:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CcnKuuB1fWySnAE64BB70&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Zb6KuuB1fWySn6ZK5EEJm&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lGOZKMdTSCO7iD","request_duration_ms":695}}' + - '{"last_request_metrics":{"request_id":"req_im6CHkrw1k7jpW","request_duration_ms":539}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:26 GMT + - Fri, 12 Apr 2024 02:12:13 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9805239d-4fb9-400a-b7d8-5c2e80253834 + - 7b24db36-76a1-40c0-8b09-4bd0a76555cd Original-Request: - - req_rjzc9ScePLn3Re + - req_JLr2KWNz254hGw Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rjzc9ScePLn3Re + - req_JLr2KWNz254hGw Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcnKuuB1fWySn1dv8xwGj", + "id": "pi_3P4Zb7KuuB1fWySn1pzw7GKS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799625, + "created": 1712887933, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcnKuuB1fWySnAE64BB70", + "payment_method": "pm_1P4Zb6KuuB1fWySn6ZK5EEJm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:26 GMT + recorded_at: Fri, 12 Apr 2024 02:12:13 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcnKuuB1fWySn1dv8xwGj/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb7KuuB1fWySn1pzw7GKS/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rjzc9ScePLn3Re","request_duration_ms":609}}' + - '{"last_request_metrics":{"request_id":"req_JLr2KWNz254hGw","request_duration_ms":462}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:27 GMT + - Fri, 12 Apr 2024 02:12:14 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 31ecbf50-e10e-49bf-895d-3be2a4bc8075 + - f9d2bf73-e236-4931-ada2-80c6d09ebdfd Original-Request: - - req_hf6N81RK5EhdCh + - req_lbGaRjUNbeYr9r Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hf6N81RK5EhdCh + - req_lbGaRjUNbeYr9r Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcnKuuB1fWySn1dv8xwGj", + "id": "pi_3P4Zb7KuuB1fWySn1pzw7GKS", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799625, + "created": 1712887933, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcnKuuB1fWySn1HNDBKrZ", + "latest_charge": "ch_3P4Zb7KuuB1fWySn1juGugUX", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcnKuuB1fWySnAE64BB70", + "payment_method": "pm_1P4Zb6KuuB1fWySn6ZK5EEJm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:27 GMT + recorded_at: Fri, 12 Apr 2024 02:12:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml index 1471b01c95..45b9d550e6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5IjptsmLmzO3ps","request_duration_ms":1175}}' + - '{"last_request_metrics":{"request_id":"req_Il81ZtaLDOmARw","request_duration_ms":1004}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:35 GMT + - Fri, 12 Apr 2024 02:12:21 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e7490baf-6e33-4266-bd72-beb863a68406 + - b1f2838f-0fd8-483d-803a-f25c369a4bda Original-Request: - - req_UI7MEE2eOd2Qjq + - req_z48T1wSZTWB8yV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UI7MEE2eOd2Qjq + - req_z48T1wSZTWB8yV Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcxKuuB1fWySnWqvXphv1", + "id": "pm_1P4ZbEKuuB1fWySnFQEAGkJj", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799635, + "created": 1712887940, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:35 GMT + recorded_at: Fri, 12 Apr 2024 02:12:21 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CcxKuuB1fWySnWqvXphv1&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbEKuuB1fWySnFQEAGkJj&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UI7MEE2eOd2Qjq","request_duration_ms":599}}' + - '{"last_request_metrics":{"request_id":"req_z48T1wSZTWB8yV","request_duration_ms":481}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:35 GMT + - Fri, 12 Apr 2024 02:12:21 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 80d7ed13-6111-4b98-a1d5-d3d9f5cce4ac + - 32abbe07-2e84-43e7-8ed2-eae1709c0cc0 Original-Request: - - req_PmLLNnE8KF9X0p + - req_ZiMEsUPJFGTWxe Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PmLLNnE8KF9X0p + - req_ZiMEsUPJFGTWxe Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcxKuuB1fWySn2AMeXsle", + "id": "pi_3P4ZbFKuuB1fWySn1FP53VRS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799635, + "created": 1712887941, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcxKuuB1fWySnWqvXphv1", + "payment_method": "pm_1P4ZbEKuuB1fWySnFQEAGkJj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:35 GMT + recorded_at: Fri, 12 Apr 2024 02:12:21 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcxKuuB1fWySn2AMeXsle/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbFKuuB1fWySn1FP53VRS/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PmLLNnE8KF9X0p","request_duration_ms":591}}' + - '{"last_request_metrics":{"request_id":"req_ZiMEsUPJFGTWxe","request_duration_ms":509}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:36 GMT + - Fri, 12 Apr 2024 02:12:22 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f4bebe43-830c-40b6-bef2-f363ff336051 + - 3783ede7-672a-440f-8d0c-feb1e4efb0c8 Original-Request: - - req_nBOaXPnE6ugABV + - req_coaN9KT5zbeNnC Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nBOaXPnE6ugABV + - req_coaN9KT5zbeNnC Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcxKuuB1fWySn2AMeXsle", + "id": "pi_3P4ZbFKuuB1fWySn1FP53VRS", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799635, + "created": 1712887941, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcxKuuB1fWySn2jKWiIB2", + "latest_charge": "ch_3P4ZbFKuuB1fWySn1tMmNzKX", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcxKuuB1fWySnWqvXphv1", + "payment_method": "pm_1P4ZbEKuuB1fWySnFQEAGkJj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:36 GMT + recorded_at: Fri, 12 Apr 2024 02:12:22 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcxKuuB1fWySn2AMeXsle + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbFKuuB1fWySn1FP53VRS body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nBOaXPnE6ugABV","request_duration_ms":1027}}' + - '{"last_request_metrics":{"request_id":"req_coaN9KT5zbeNnC","request_duration_ms":922}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:37 GMT + - Fri, 12 Apr 2024 02:12:22 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_A1SRx4UbzKpu2H + - req_BLW2M71RtjP41m Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcxKuuB1fWySn2AMeXsle", + "id": "pi_3P4ZbFKuuB1fWySn1FP53VRS", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799635, + "created": 1712887941, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcxKuuB1fWySn2jKWiIB2", + "latest_charge": "ch_3P4ZbFKuuB1fWySn1tMmNzKX", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcxKuuB1fWySnWqvXphv1", + "payment_method": "pm_1P4ZbEKuuB1fWySnFQEAGkJj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:37 GMT + recorded_at: Fri, 12 Apr 2024 02:12:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcxKuuB1fWySn2AMeXsle/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbFKuuB1fWySn1FP53VRS/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_A1SRx4UbzKpu2H","request_duration_ms":524}}' + - '{"last_request_metrics":{"request_id":"req_BLW2M71RtjP41m","request_duration_ms":404}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:38 GMT + - Fri, 12 Apr 2024 02:12:24 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 16874025-dde0-4d49-8f91-be36f6a41338 + - cfe268f7-86a0-417f-9d3b-42f2482a521f Original-Request: - - req_EDcb1WYKNSfuEZ + - req_m5y2Ky5Zfb7DGi Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EDcb1WYKNSfuEZ + - req_m5y2Ky5Zfb7DGi Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcxKuuB1fWySn2AMeXsle", + "id": "pi_3P4ZbFKuuB1fWySn1FP53VRS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799635, + "created": 1712887941, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcxKuuB1fWySn2jKWiIB2", + "latest_charge": "ch_3P4ZbFKuuB1fWySn1tMmNzKX", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcxKuuB1fWySnWqvXphv1", + "payment_method": "pm_1P4ZbEKuuB1fWySnFQEAGkJj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:38 GMT + recorded_at: Fri, 12 Apr 2024 02:12:24 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcxKuuB1fWySn2AMeXsle + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbFKuuB1fWySn1FP53VRS body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EDcb1WYKNSfuEZ","request_duration_ms":1225}}' + - '{"last_request_metrics":{"request_id":"req_m5y2Ky5Zfb7DGi","request_duration_ms":1196}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:39 GMT + - Fri, 12 Apr 2024 02:12:24 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GgIhqL9Ai6JbXO + - req_xOSPdPk4GPWcPw Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcxKuuB1fWySn2AMeXsle", + "id": "pi_3P4ZbFKuuB1fWySn1FP53VRS", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799635, + "created": 1712887941, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcxKuuB1fWySn2jKWiIB2", + "latest_charge": "ch_3P4ZbFKuuB1fWySn1tMmNzKX", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcxKuuB1fWySnWqvXphv1", + "payment_method": "pm_1P4ZbEKuuB1fWySnFQEAGkJj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:39 GMT + recorded_at: Fri, 12 Apr 2024 02:12:24 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml index de143c67d3..4dc495d58b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_66CQeHzsUGH62R","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_KUws5Img2K7kGM","request_duration_ms":316}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:32 GMT + - Fri, 12 Apr 2024 02:12:19 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 75ea0d6c-4a05-4bf8-be32-ae474fbdf988 + - 96d82a84-160c-40bc-b7aa-9395f2b4edfb Original-Request: - - req_r0juUWENUVm24e + - req_7lWDocUHWTYqsk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_r0juUWENUVm24e + - req_7lWDocUHWTYqsk Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcuKuuB1fWySnNGt3r6NW", + "id": "pm_1P4ZbCKuuB1fWySnJJDhQRi4", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799632, + "created": 1712887938, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:32 GMT + recorded_at: Fri, 12 Apr 2024 02:12:19 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CcuKuuB1fWySnNGt3r6NW&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZbCKuuB1fWySnJJDhQRi4&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_r0juUWENUVm24e","request_duration_ms":596}}' + - '{"last_request_metrics":{"request_id":"req_7lWDocUHWTYqsk","request_duration_ms":447}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:33 GMT + - Fri, 12 Apr 2024 02:12:19 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - dff54c29-dbe3-404f-9f43-8914902899d3 + - df0b3e95-cda7-457c-ac52-77b115e6fde6 Original-Request: - - req_exHd4GHUvs1GJg + - req_CgKHAdj3vnrypt Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_exHd4GHUvs1GJg + - req_CgKHAdj3vnrypt Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcvKuuB1fWySn27L34sjk", + "id": "pi_3P4ZbDKuuB1fWySn28fundHt", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799633, + "created": 1712887939, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcuKuuB1fWySnNGt3r6NW", + "payment_method": "pm_1P4ZbCKuuB1fWySnJJDhQRi4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:33 GMT + recorded_at: Fri, 12 Apr 2024 02:12:19 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcvKuuB1fWySn27L34sjk/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbDKuuB1fWySn28fundHt/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_exHd4GHUvs1GJg","request_duration_ms":556}}' + - '{"last_request_metrics":{"request_id":"req_CgKHAdj3vnrypt","request_duration_ms":422}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:34 GMT + - Fri, 12 Apr 2024 02:12:20 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ae5f021c-860e-447a-a544-06055ca3cc27 + - 89fd301f-a117-49f2-8835-6e73861e2745 Original-Request: - - req_5IjptsmLmzO3ps + - req_Il81ZtaLDOmARw Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5IjptsmLmzO3ps + - req_Il81ZtaLDOmARw Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcvKuuB1fWySn27L34sjk", + "id": "pi_3P4ZbDKuuB1fWySn28fundHt", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799633, + "created": 1712887939, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcvKuuB1fWySn233peWNV", + "latest_charge": "ch_3P4ZbDKuuB1fWySn2uVpQj9g", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcuKuuB1fWySnNGt3r6NW", + "payment_method": "pm_1P4ZbCKuuB1fWySnJJDhQRi4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:34 GMT + recorded_at: Fri, 12 Apr 2024 02:12:20 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml index fe193484df..fb3254c42f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3HyIrPA5Me1m4s","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_ZBIrU2oe7CScJz","request_duration_ms":1232}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:26 GMT + - Fri, 12 Apr 2024 02:13:18 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0a208508-3a4c-412a-8ac9-068b7af7a9f3 + - d4ec77e8-ae4e-4d09-b33c-aea541c03519 Original-Request: - - req_9eFheAJRTeCK4l + - req_peYhJaQpettUro Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9eFheAJRTeCK4l + - req_peYhJaQpettUro Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdlKuuB1fWySnVbxbknwx", + "id": "pm_1P4Zc9KuuB1fWySnOpZn54of", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799686, + "created": 1712887998, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:26 GMT + recorded_at: Fri, 12 Apr 2024 02:13:18 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdlKuuB1fWySnVbxbknwx&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Zc9KuuB1fWySnOpZn54of&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9eFheAJRTeCK4l","request_duration_ms":484}}' + - '{"last_request_metrics":{"request_id":"req_peYhJaQpettUro","request_duration_ms":714}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:26 GMT + - Fri, 12 Apr 2024 02:13:18 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5a30ac3b-b19f-4b1c-8324-3d0fda73c34c + - 6d4d51e2-2566-4dfe-8b81-8f54639b2ec3 Original-Request: - - req_j0zcXmzLI05tIP + - req_bj1wwZvjdo0xeP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_j0zcXmzLI05tIP + - req_bj1wwZvjdo0xeP Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdmKuuB1fWySn1VUvGOjO", + "id": "pi_3P4ZcAKuuB1fWySn0QDYdDIy", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799686, + "created": 1712887998, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdlKuuB1fWySnVbxbknwx", + "payment_method": "pm_1P4Zc9KuuB1fWySnOpZn54of", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:26 GMT + recorded_at: Fri, 12 Apr 2024 02:13:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdmKuuB1fWySn1VUvGOjO/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcAKuuB1fWySn0QDYdDIy/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_j0zcXmzLI05tIP","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_bj1wwZvjdo0xeP","request_duration_ms":613}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:27 GMT + - Fri, 12 Apr 2024 02:13:20 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ee16a9f9-16c9-4b24-9a92-b2d2a1f02d24 + - 3fa56dfb-fd98-45b5-9097-8552d133c415 Original-Request: - - req_PCEwdR6TTSGNO8 + - req_V0amdkQE6EvmgX Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PCEwdR6TTSGNO8 + - req_V0amdkQE6EvmgX Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdmKuuB1fWySn1VUvGOjO", + "id": "pi_3P4ZcAKuuB1fWySn0QDYdDIy", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799686, + "created": 1712887998, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdmKuuB1fWySn1V80iFD1", + "latest_charge": "ch_3P4ZcAKuuB1fWySn0y9OXAqx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdlKuuB1fWySnVbxbknwx", + "payment_method": "pm_1P4Zc9KuuB1fWySnOpZn54of", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:27 GMT + recorded_at: Fri, 12 Apr 2024 02:13:20 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdmKuuB1fWySn1VUvGOjO + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcAKuuB1fWySn0QDYdDIy body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PCEwdR6TTSGNO8","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_V0amdkQE6EvmgX","request_duration_ms":1230}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:28 GMT + - Fri, 12 Apr 2024 02:13:20 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hPxAKHzdIP90ep + - req_v7iKas1S80TnZ7 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdmKuuB1fWySn1VUvGOjO", + "id": "pi_3P4ZcAKuuB1fWySn0QDYdDIy", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799686, + "created": 1712887998, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdmKuuB1fWySn1V80iFD1", + "latest_charge": "ch_3P4ZcAKuuB1fWySn0y9OXAqx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdlKuuB1fWySnVbxbknwx", + "payment_method": "pm_1P4Zc9KuuB1fWySnOpZn54of", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:28 GMT + recorded_at: Fri, 12 Apr 2024 02:13:20 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdmKuuB1fWySn1VUvGOjO/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcAKuuB1fWySn0QDYdDIy/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hPxAKHzdIP90ep","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_v7iKas1S80TnZ7","request_duration_ms":513}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:29 GMT + - Fri, 12 Apr 2024 02:13:21 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4e19c849-2156-45a3-96bf-5892eea0e97e + - 70504ce6-ed8b-4c0b-a9ab-0ed72bb718da Original-Request: - - req_7AtIMlsfDSgRwY + - req_hm25k5Cd4N6ZAP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7AtIMlsfDSgRwY + - req_hm25k5Cd4N6ZAP Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdmKuuB1fWySn1VUvGOjO", + "id": "pi_3P4ZcAKuuB1fWySn0QDYdDIy", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799686, + "created": 1712887998, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdmKuuB1fWySn1V80iFD1", + "latest_charge": "ch_3P4ZcAKuuB1fWySn0y9OXAqx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdlKuuB1fWySnVbxbknwx", + "payment_method": "pm_1P4Zc9KuuB1fWySnOpZn54of", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:29 GMT + recorded_at: Fri, 12 Apr 2024 02:13:21 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdmKuuB1fWySn1VUvGOjO + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcAKuuB1fWySn0QDYdDIy body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7AtIMlsfDSgRwY","request_duration_ms":1125}}' + - '{"last_request_metrics":{"request_id":"req_hm25k5Cd4N6ZAP","request_duration_ms":1226}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:29 GMT + - Fri, 12 Apr 2024 02:13:22 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_paIqh4CkcLmmUW + - req_jJDKF81zYsn1qz Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdmKuuB1fWySn1VUvGOjO", + "id": "pi_3P4ZcAKuuB1fWySn0QDYdDIy", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799686, + "created": 1712887998, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdmKuuB1fWySn1V80iFD1", + "latest_charge": "ch_3P4ZcAKuuB1fWySn0y9OXAqx", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdlKuuB1fWySnVbxbknwx", + "payment_method": "pm_1P4Zc9KuuB1fWySnOpZn54of", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:29 GMT + recorded_at: Fri, 12 Apr 2024 02:13:22 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml index d2105833a1..0570e0f91a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XrlQZJP5Pg94Db","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_3yokmPARNPwzYX","request_duration_ms":511}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:24 GMT + - Fri, 12 Apr 2024 02:13:15 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9bbc26a2-8988-4993-9689-22c285d9ccfb + - 45becaf4-8a91-447d-8e74-ecaef06d08e3 Original-Request: - - req_1xB3B1MLim5DGw + - req_uBiJJbcCKEblhb Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1xB3B1MLim5DGw + - req_uBiJJbcCKEblhb Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdjKuuB1fWySn2l4pwRa1", + "id": "pm_1P4Zc7KuuB1fWySnDKt1uN1m", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799684, + "created": 1712887995, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:24 GMT + recorded_at: Fri, 12 Apr 2024 02:13:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdjKuuB1fWySn2l4pwRa1&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4Zc7KuuB1fWySnDKt1uN1m&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1xB3B1MLim5DGw","request_duration_ms":494}}' + - '{"last_request_metrics":{"request_id":"req_uBiJJbcCKEblhb","request_duration_ms":702}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:24 GMT + - Fri, 12 Apr 2024 02:13:16 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1f0892ea-17c2-4fa3-8b9a-0d303e364c9b + - 2f447e42-6c34-40e1-9899-71b286efd11a Original-Request: - - req_93NnQHz5HWWuwT + - req_rR0nnI7hujQXxV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_93NnQHz5HWWuwT + - req_rR0nnI7hujQXxV Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdkKuuB1fWySn11Uvrd2N", + "id": "pi_3P4Zc7KuuB1fWySn2L5qgg6k", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799684, + "created": 1712887995, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdjKuuB1fWySn2l4pwRa1", + "payment_method": "pm_1P4Zc7KuuB1fWySnDKt1uN1m", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:24 GMT + recorded_at: Fri, 12 Apr 2024 02:13:16 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdkKuuB1fWySn11Uvrd2N/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zc7KuuB1fWySn2L5qgg6k/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_93NnQHz5HWWuwT","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_rR0nnI7hujQXxV","request_duration_ms":615}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:25 GMT + - Fri, 12 Apr 2024 02:13:17 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e1398ee2-4e30-4e37-a5d9-c0da9a356cb7 + - 46b3e8dc-2996-4f31-abc2-a1c2d551d9a2 Original-Request: - - req_3HyIrPA5Me1m4s + - req_ZBIrU2oe7CScJz Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3HyIrPA5Me1m4s + - req_ZBIrU2oe7CScJz Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdkKuuB1fWySn11Uvrd2N", + "id": "pi_3P4Zc7KuuB1fWySn2L5qgg6k", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799684, + "created": 1712887995, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdkKuuB1fWySn17592u18", + "latest_charge": "ch_3P4Zc7KuuB1fWySn2zOXOBNV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdjKuuB1fWySn2l4pwRa1", + "payment_method": "pm_1P4Zc7KuuB1fWySnDKt1uN1m", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:25 GMT + recorded_at: Fri, 12 Apr 2024 02:13:17 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml index e50ae12ae6..a8cb360c9b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_V66kHDK4TyFBuY","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_PPIsjJdZwJMfHQ","request_duration_ms":1123}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:32 GMT + - Fri, 12 Apr 2024 02:13:25 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 16ea3e10-e24a-487b-93f7-642122f3a0a9 + - 2af811ed-c271-4326-8616-399a53ee7615 Original-Request: - - req_73J1Mvh4RCGjOb + - req_gVrYzhUZJIaQxi Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_73J1Mvh4RCGjOb + - req_gVrYzhUZJIaQxi Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdsKuuB1fWySnNUZ3nj7b", + "id": "pm_1P4ZcHKuuB1fWySnVdPf2wL6", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799692, + "created": 1712888005, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:32 GMT + recorded_at: Fri, 12 Apr 2024 02:13:25 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdsKuuB1fWySnNUZ3nj7b&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZcHKuuB1fWySnVdPf2wL6&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_73J1Mvh4RCGjOb","request_duration_ms":554}}' + - '{"last_request_metrics":{"request_id":"req_gVrYzhUZJIaQxi","request_duration_ms":742}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:33 GMT + - Fri, 12 Apr 2024 02:13:26 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - da680dc9-abdd-4f1e-b336-f5fe866f0844 + - 7dc36c51-066c-4cea-8d52-f658f27621f0 Original-Request: - - req_LRm3v1Oxy9Bei2 + - req_PanADdH6Bl4VdI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LRm3v1Oxy9Bei2 + - req_PanADdH6Bl4VdI Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdsKuuB1fWySn0mh3zOZi", + "id": "pi_3P4ZcHKuuB1fWySn1W1WYhK8", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799692, + "created": 1712888005, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdsKuuB1fWySnNUZ3nj7b", + "payment_method": "pm_1P4ZcHKuuB1fWySnVdPf2wL6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:33 GMT + recorded_at: Fri, 12 Apr 2024 02:13:26 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdsKuuB1fWySn0mh3zOZi/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcHKuuB1fWySn1W1WYhK8/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LRm3v1Oxy9Bei2","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_PanADdH6Bl4VdI","request_duration_ms":526}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:34 GMT + - Fri, 12 Apr 2024 02:13:27 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b0d46dd3-960c-4410-a225-a4464cb8ce86 + - dec91969-6564-45a6-9d6c-4bdf01c0dbd3 Original-Request: - - req_7Rrl3QBjK5njHv + - req_lNVY4hqp7PScOB Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7Rrl3QBjK5njHv + - req_lNVY4hqp7PScOB Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdsKuuB1fWySn0mh3zOZi", + "id": "pi_3P4ZcHKuuB1fWySn1W1WYhK8", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799692, + "created": 1712888005, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdsKuuB1fWySn0NLyOolI", + "latest_charge": "ch_3P4ZcHKuuB1fWySn1NxbPuUd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdsKuuB1fWySnNUZ3nj7b", + "payment_method": "pm_1P4ZcHKuuB1fWySnVdPf2wL6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:33 GMT + recorded_at: Fri, 12 Apr 2024 02:13:27 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdsKuuB1fWySn0mh3zOZi + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcHKuuB1fWySn1W1WYhK8 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7Rrl3QBjK5njHv","request_duration_ms":884}}' + - '{"last_request_metrics":{"request_id":"req_lNVY4hqp7PScOB","request_duration_ms":1122}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:34 GMT + - Fri, 12 Apr 2024 02:13:27 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qCc4h7ekhX5VHN + - req_KyTxr5UcC60wtR Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdsKuuB1fWySn0mh3zOZi", + "id": "pi_3P4ZcHKuuB1fWySn1W1WYhK8", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799692, + "created": 1712888005, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdsKuuB1fWySn0NLyOolI", + "latest_charge": "ch_3P4ZcHKuuB1fWySn1NxbPuUd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdsKuuB1fWySnNUZ3nj7b", + "payment_method": "pm_1P4ZcHKuuB1fWySnVdPf2wL6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:34 GMT + recorded_at: Fri, 12 Apr 2024 02:13:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdsKuuB1fWySn0mh3zOZi/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcHKuuB1fWySn1W1WYhK8/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qCc4h7ekhX5VHN","request_duration_ms":441}}' + - '{"last_request_metrics":{"request_id":"req_KyTxr5UcC60wtR","request_duration_ms":453}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:35 GMT + - Fri, 12 Apr 2024 02:13:28 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c77ce002-458a-4d64-b91d-52f76f162a3c + - 6959c740-d6c2-4e70-92ba-96dec915e655 Original-Request: - - req_NK8103scszW2QQ + - req_diXG0aRKWZmiCy Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NK8103scszW2QQ + - req_diXG0aRKWZmiCy Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdsKuuB1fWySn0mh3zOZi", + "id": "pi_3P4ZcHKuuB1fWySn1W1WYhK8", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799692, + "created": 1712888005, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdsKuuB1fWySn0NLyOolI", + "latest_charge": "ch_3P4ZcHKuuB1fWySn1NxbPuUd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdsKuuB1fWySnNUZ3nj7b", + "payment_method": "pm_1P4ZcHKuuB1fWySnVdPf2wL6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:35 GMT + recorded_at: Fri, 12 Apr 2024 02:13:28 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdsKuuB1fWySn0mh3zOZi + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcHKuuB1fWySn1W1WYhK8 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NK8103scszW2QQ","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_diXG0aRKWZmiCy","request_duration_ms":1194}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:35 GMT + - Fri, 12 Apr 2024 02:13:29 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_fbEkE3Lhj68GyR + - req_Ut86RWakJXQafT Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdsKuuB1fWySn0mh3zOZi", + "id": "pi_3P4ZcHKuuB1fWySn1W1WYhK8", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799692, + "created": 1712888005, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdsKuuB1fWySn0NLyOolI", + "latest_charge": "ch_3P4ZcHKuuB1fWySn1NxbPuUd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdsKuuB1fWySnNUZ3nj7b", + "payment_method": "pm_1P4ZcHKuuB1fWySnVdPf2wL6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:35 GMT + recorded_at: Fri, 12 Apr 2024 02:13:29 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 36e2e079ef..7e9d0a630a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_paIqh4CkcLmmUW","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_jJDKF81zYsn1qz","request_duration_ms":445}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:30 GMT + - Fri, 12 Apr 2024 02:13:22 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - abcfc61a-c418-4ed7-ba01-26811d708f35 + - e01757c3-4f4f-4b1c-b71f-9bb9fbfa7cfc Original-Request: - - req_WnWVnf65PhT8UH + - req_OpArZ5LaFU3Pmb Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WnWVnf65PhT8UH + - req_OpArZ5LaFU3Pmb Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CdqKuuB1fWySnMRNU7Hv3", + "id": "pm_1P4ZcEKuuB1fWySndLoPh0Es", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799690, + "created": 1712888002, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:30 GMT + recorded_at: Fri, 12 Apr 2024 02:13:22 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CdqKuuB1fWySnMRNU7Hv3&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZcEKuuB1fWySndLoPh0Es&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WnWVnf65PhT8UH","request_duration_ms":495}}' + - '{"last_request_metrics":{"request_id":"req_OpArZ5LaFU3Pmb","request_duration_ms":577}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:30 GMT + - Fri, 12 Apr 2024 02:13:23 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 501a1553-fdb9-4320-8733-aebf1ea63ed5 + - 2fe5b5d4-bd8e-49a7-81f1-2a821c595592 Original-Request: - - req_jmZweFFVTkoxea + - req_1gp6O00FS4sF8T Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jmZweFFVTkoxea + - req_1gp6O00FS4sF8T Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdqKuuB1fWySn0kpkOahQ", + "id": "pi_3P4ZcFKuuB1fWySn2nBJzj8F", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799690, + "created": 1712888003, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdqKuuB1fWySnMRNU7Hv3", + "payment_method": "pm_1P4ZcEKuuB1fWySndLoPh0Es", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:30 GMT + recorded_at: Fri, 12 Apr 2024 02:13:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CdqKuuB1fWySn0kpkOahQ/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcFKuuB1fWySn2nBJzj8F/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jmZweFFVTkoxea","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_1gp6O00FS4sF8T","request_duration_ms":575}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:31 GMT + - Fri, 12 Apr 2024 02:13:24 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e5bf3552-70d9-4e3f-a882-cbeef15e33ff + - 78625413-1a28-412f-bca7-8ff7ccca471f Original-Request: - - req_V66kHDK4TyFBuY + - req_PPIsjJdZwJMfHQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_V66kHDK4TyFBuY + - req_PPIsjJdZwJMfHQ Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CdqKuuB1fWySn0kpkOahQ", + "id": "pi_3P4ZcFKuuB1fWySn2nBJzj8F", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799690, + "created": 1712888003, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CdqKuuB1fWySn0n25x82D", + "latest_charge": "ch_3P4ZcFKuuB1fWySn2jDZ4DYL", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CdqKuuB1fWySnMRNU7Hv3", + "payment_method": "pm_1P4ZcEKuuB1fWySndLoPh0Es", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:41:31 GMT + recorded_at: Fri, 12 Apr 2024 02:13:24 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml index ab9e1d6406..43689b1ba4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_I27XIO0R3Nf2Cl","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_kvv0mrNrVxyG3a","request_duration_ms":1024}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:59 GMT + - Fri, 12 Apr 2024 02:11:51 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3a088250-4db9-470d-aa35-f6f55efb663a + - 9c2b4625-f2d0-4b59-a5ae-24d57e67fb2a Original-Request: - - req_cQxvMIaUDNVtXx + - req_JkVrW7xvQ4hayt Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cQxvMIaUDNVtXx + - req_JkVrW7xvQ4hayt Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcNKuuB1fWySnyTcxZ7Ve", + "id": "pm_1P4ZalKuuB1fWySnPA2VwSzk", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799599, + "created": 1712887911, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:59 GMT + recorded_at: Fri, 12 Apr 2024 02:11:51 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CcNKuuB1fWySnyTcxZ7Ve&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZalKuuB1fWySnPA2VwSzk&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cQxvMIaUDNVtXx","request_duration_ms":640}}' + - '{"last_request_metrics":{"request_id":"req_JkVrW7xvQ4hayt","request_duration_ms":496}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:59 GMT + - Fri, 12 Apr 2024 02:11:51 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0dfd92b2-062f-4781-8ebe-7b072f26da40 + - e7c1f4fd-2ce1-4025-8311-8a8eed826608 Original-Request: - - req_zt5l2R5OEwwvp3 + - req_ynXvlrgAmB0GGI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zt5l2R5OEwwvp3 + - req_ynXvlrgAmB0GGI Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcNKuuB1fWySn0MWsuo9e", + "id": "pi_3P4ZalKuuB1fWySn2ImKGm6G", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799599, + "created": 1712887911, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcNKuuB1fWySnyTcxZ7Ve", + "payment_method": "pm_1P4ZalKuuB1fWySnPA2VwSzk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:39:59 GMT + recorded_at: Fri, 12 Apr 2024 02:11:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcNKuuB1fWySn0MWsuo9e/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZalKuuB1fWySn2ImKGm6G/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zt5l2R5OEwwvp3","request_duration_ms":572}}' + - '{"last_request_metrics":{"request_id":"req_ynXvlrgAmB0GGI","request_duration_ms":508}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:01 GMT + - Fri, 12 Apr 2024 02:11:52 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e1157a76-237b-4a04-b529-a1ea2ea88f74 + - aa568375-839a-4ca3-8e00-c8e8260fd026 Original-Request: - - req_a0YpvYiR7lF5gu + - req_P9RcqNDI6uaW7k Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_a0YpvYiR7lF5gu + - req_P9RcqNDI6uaW7k Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcNKuuB1fWySn0MWsuo9e", + "id": "pi_3P4ZalKuuB1fWySn2ImKGm6G", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799599, + "created": 1712887911, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcNKuuB1fWySn03F9wQBn", + "latest_charge": "ch_3P4ZalKuuB1fWySn2iYSLAT7", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcNKuuB1fWySnyTcxZ7Ve", + "payment_method": "pm_1P4ZalKuuB1fWySnPA2VwSzk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:01 GMT + recorded_at: Fri, 12 Apr 2024 02:11:52 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcNKuuB1fWySn0MWsuo9e + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZalKuuB1fWySn2ImKGm6G body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_a0YpvYiR7lF5gu","request_duration_ms":1184}}' + - '{"last_request_metrics":{"request_id":"req_P9RcqNDI6uaW7k","request_duration_ms":981}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:01 GMT + - Fri, 12 Apr 2024 02:11:53 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dJD2lW1ZmJs2KF + - req_68NBiPuBGrcVYf Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcNKuuB1fWySn0MWsuo9e", + "id": "pi_3P4ZalKuuB1fWySn2ImKGm6G", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799599, + "created": 1712887911, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcNKuuB1fWySn03F9wQBn", + "latest_charge": "ch_3P4ZalKuuB1fWySn2iYSLAT7", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcNKuuB1fWySnyTcxZ7Ve", + "payment_method": "pm_1P4ZalKuuB1fWySnPA2VwSzk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:01 GMT + recorded_at: Fri, 12 Apr 2024 02:11:53 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcNKuuB1fWySn0MWsuo9e/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZalKuuB1fWySn2ImKGm6G/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dJD2lW1ZmJs2KF","request_duration_ms":501}}' + - '{"last_request_metrics":{"request_id":"req_68NBiPuBGrcVYf","request_duration_ms":343}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:02 GMT + - Fri, 12 Apr 2024 02:11:54 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 250d7e5a-fb02-4142-9f54-08f1b8d1c3f2 + - 969d7885-fe8c-464d-bdf3-afce69e904e3 Original-Request: - - req_Rz1HbDIAhX2dJU + - req_mjMWf5x5wgdIoQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Rz1HbDIAhX2dJU + - req_mjMWf5x5wgdIoQ Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcNKuuB1fWySn0MWsuo9e", + "id": "pi_3P4ZalKuuB1fWySn2ImKGm6G", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799599, + "created": 1712887911, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcNKuuB1fWySn03F9wQBn", + "latest_charge": "ch_3P4ZalKuuB1fWySn2iYSLAT7", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcNKuuB1fWySnyTcxZ7Ve", + "payment_method": "pm_1P4ZalKuuB1fWySnPA2VwSzk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:02 GMT + recorded_at: Fri, 12 Apr 2024 02:11:54 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcNKuuB1fWySn0MWsuo9e + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZalKuuB1fWySn2ImKGm6G body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Rz1HbDIAhX2dJU","request_duration_ms":1258}}' + - '{"last_request_metrics":{"request_id":"req_mjMWf5x5wgdIoQ","request_duration_ms":1198}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:03 GMT + - Fri, 12 Apr 2024 02:11:54 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0bNBmEKswppHmu + - req_z51r1vmis8GmwV Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcNKuuB1fWySn0MWsuo9e", + "id": "pi_3P4ZalKuuB1fWySn2ImKGm6G", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799599, + "created": 1712887911, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcNKuuB1fWySn03F9wQBn", + "latest_charge": "ch_3P4ZalKuuB1fWySn2iYSLAT7", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcNKuuB1fWySnyTcxZ7Ve", + "payment_method": "pm_1P4ZalKuuB1fWySnPA2VwSzk", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:03 GMT + recorded_at: Fri, 12 Apr 2024 02:11:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml index 3157b43df6..8d911ec098 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OXbd4EXm1dK9Ge","request_duration_ms":1164}}' + - '{"last_request_metrics":{"request_id":"req_2v3MuZspc7vhxp","request_duration_ms":956}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:56 GMT + - Fri, 12 Apr 2024 02:11:49 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5cdd5662-ee9a-45e6-abcd-22b822233593 + - '0920226a-ca4f-471b-8ca5-be1bb41e3577' Original-Request: - - req_wmXBHuZZ8GOovb + - req_Ihoug0GHYKcoyI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wmXBHuZZ8GOovb + - req_Ihoug0GHYKcoyI Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcKKuuB1fWySnBBSmHLvC", + "id": "pm_1P4ZaiKuuB1fWySnmUEc08oK", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799596, + "created": 1712887908, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:39:56 GMT + recorded_at: Fri, 12 Apr 2024 02:11:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CcKKuuB1fWySnBBSmHLvC&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZaiKuuB1fWySnmUEc08oK&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wmXBHuZZ8GOovb","request_duration_ms":582}}' + - '{"last_request_metrics":{"request_id":"req_Ihoug0GHYKcoyI","request_duration_ms":497}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:57 GMT + - Fri, 12 Apr 2024 02:11:49 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 37d67896-9e6f-4dd9-85c4-6162bef09448 + - 3248d239-aea9-4870-90a1-44e927ca26d4 Original-Request: - - req_TawdQyXyOhPAPJ + - req_88eUGysrBq0CiL Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_TawdQyXyOhPAPJ + - req_88eUGysrBq0CiL Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcKKuuB1fWySn2XCgrccR", + "id": "pi_3P4ZajKuuB1fWySn2es8jYSk", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799596, + "created": 1712887909, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcKKuuB1fWySnBBSmHLvC", + "payment_method": "pm_1P4ZaiKuuB1fWySnmUEc08oK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:39:57 GMT + recorded_at: Fri, 12 Apr 2024 02:11:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcKKuuB1fWySn2XCgrccR/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZajKuuB1fWySn2es8jYSk/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TawdQyXyOhPAPJ","request_duration_ms":680}}' + - '{"last_request_metrics":{"request_id":"req_88eUGysrBq0CiL","request_duration_ms":494}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:39:58 GMT + - Fri, 12 Apr 2024 02:11:50 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 66cf95c9-9828-427e-b73f-391f2098780c + - 3178f376-5d10-453d-af15-ecd37639509a Original-Request: - - req_I27XIO0R3Nf2Cl + - req_kvv0mrNrVxyG3a Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_I27XIO0R3Nf2Cl + - req_kvv0mrNrVxyG3a Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcKKuuB1fWySn2XCgrccR", + "id": "pi_3P4ZajKuuB1fWySn2es8jYSk", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799596, + "created": 1712887909, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcKKuuB1fWySn2Enxcvlx", + "latest_charge": "ch_3P4ZajKuuB1fWySn2NECeqAi", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcKKuuB1fWySnBBSmHLvC", + "payment_method": "pm_1P4ZaiKuuB1fWySnmUEc08oK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:39:58 GMT + recorded_at: Fri, 12 Apr 2024 02:11:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml index 05481feadc..f17e9fee7f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lVHX6rQCXZCAug","request_duration_ms":1143}}' + - '{"last_request_metrics":{"request_id":"req_27l1AU6X0ljdWZ","request_duration_ms":1022}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:06 GMT + - Fri, 12 Apr 2024 02:11:57 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - bf16d6aa-7846-408a-a2d2-1b33a2b6f26a + - d358579b-e173-4bd1-9688-6901ce98edfa Original-Request: - - req_S7cGzSAxaLnA7Y + - req_5Q9EYNt21jHPUd Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_S7cGzSAxaLnA7Y + - req_5Q9EYNt21jHPUd Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcUKuuB1fWySnnAyKF7Tq", + "id": "pm_1P4ZarKuuB1fWySnJ45WwrgC", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799606, + "created": 1712887917, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:06 GMT + recorded_at: Fri, 12 Apr 2024 02:11:57 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CcUKuuB1fWySnnAyKF7Tq&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZarKuuB1fWySnJ45WwrgC&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_S7cGzSAxaLnA7Y","request_duration_ms":754}}' + - '{"last_request_metrics":{"request_id":"req_5Q9EYNt21jHPUd","request_duration_ms":496}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:07 GMT + - Fri, 12 Apr 2024 02:11:57 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 93b8b283-bd8b-4ba6-a215-0d21c405a421 + - fe117985-f5fa-4fc3-b5d5-9b65959c034c Original-Request: - - req_2MRbtfAcmGvbS6 + - req_mNjYC8Auj1yBYm Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2MRbtfAcmGvbS6 + - req_mNjYC8Auj1yBYm Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcVKuuB1fWySn1YaCPqvM", + "id": "pi_3P4ZarKuuB1fWySn0zVUxwYX", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799607, + "created": 1712887917, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcUKuuB1fWySnnAyKF7Tq", + "payment_method": "pm_1P4ZarKuuB1fWySnJ45WwrgC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:07 GMT + recorded_at: Fri, 12 Apr 2024 02:11:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcVKuuB1fWySn1YaCPqvM/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZarKuuB1fWySn0zVUxwYX/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2MRbtfAcmGvbS6","request_duration_ms":611}}' + - '{"last_request_metrics":{"request_id":"req_mNjYC8Auj1yBYm","request_duration_ms":463}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:08 GMT + - Fri, 12 Apr 2024 02:11:58 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b892e1e0-1df4-473e-8a68-8c176a28b835 + - 5bc073ea-322d-437d-8f02-013320b1e4ea Original-Request: - - req_0z9VMy9hmmKnPV + - req_3qdu2PjfDUXtw3 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0z9VMy9hmmKnPV + - req_3qdu2PjfDUXtw3 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcVKuuB1fWySn1YaCPqvM", + "id": "pi_3P4ZarKuuB1fWySn0zVUxwYX", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799607, + "created": 1712887917, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcVKuuB1fWySn1ydPbd3h", + "latest_charge": "ch_3P4ZarKuuB1fWySn0cp9XohL", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcUKuuB1fWySnnAyKF7Tq", + "payment_method": "pm_1P4ZarKuuB1fWySnJ45WwrgC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,24 +397,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:08 GMT + recorded_at: Fri, 12 Apr 2024 02:11:58 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcVKuuB1fWySn1YaCPqvM + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZarKuuB1fWySn0zVUxwYX body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0z9VMy9hmmKnPV","request_duration_ms":1124}}' + - '{"last_request_metrics":{"request_id":"req_3qdu2PjfDUXtw3","request_duration_ms":1020}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -429,7 +429,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:08 GMT + - Fri, 12 Apr 2024 02:11:59 GMT Content-Type: - application/json Content-Length: @@ -461,9 +461,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IqcjG8KJd5xwaX + - req_3EuqZp4x65Spnz Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -474,7 +474,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcVKuuB1fWySn1YaCPqvM", + "id": "pi_3P4ZarKuuB1fWySn0zVUxwYX", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +490,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799607, + "created": 1712887917, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcVKuuB1fWySn1ydPbd3h", + "latest_charge": "ch_3P4ZarKuuB1fWySn0cp9XohL", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcUKuuB1fWySnnAyKF7Tq", + "payment_method": "pm_1P4ZarKuuB1fWySnJ45WwrgC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,24 +526,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:08 GMT + recorded_at: Fri, 12 Apr 2024 02:11:59 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcVKuuB1fWySn1YaCPqvM/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZarKuuB1fWySn0zVUxwYX/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IqcjG8KJd5xwaX","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_3EuqZp4x65Spnz","request_duration_ms":407}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -558,7 +558,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:10 GMT + - Fri, 12 Apr 2024 02:12:00 GMT Content-Type: - application/json Content-Length: @@ -586,19 +586,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2099c97d-d6f3-432f-a3cf-1676611d7112 + - 16192ca9-18e5-465f-8df9-33538694f6d5 Original-Request: - - req_JxbxavM9zglSFD + - req_gzXY8343oHHy6l Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JxbxavM9zglSFD + - req_gzXY8343oHHy6l Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -609,7 +609,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcVKuuB1fWySn1YaCPqvM", + "id": "pi_3P4ZarKuuB1fWySn0zVUxwYX", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +625,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799607, + "created": 1712887917, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcVKuuB1fWySn1ydPbd3h", + "latest_charge": "ch_3P4ZarKuuB1fWySn0cp9XohL", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcUKuuB1fWySnnAyKF7Tq", + "payment_method": "pm_1P4ZarKuuB1fWySnJ45WwrgC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,24 +661,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:10 GMT + recorded_at: Fri, 12 Apr 2024 02:12:00 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcVKuuB1fWySn1YaCPqvM + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZarKuuB1fWySn0zVUxwYX body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JxbxavM9zglSFD","request_duration_ms":1193}}' + - '{"last_request_metrics":{"request_id":"req_gzXY8343oHHy6l","request_duration_ms":1014}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -693,7 +693,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:10 GMT + - Fri, 12 Apr 2024 02:12:00 GMT Content-Type: - application/json Content-Length: @@ -725,9 +725,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_zgJCJAnxlgF0ia + - req_6BUIzaf9frDFgq Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -738,7 +738,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcVKuuB1fWySn1YaCPqvM", + "id": "pi_3P4ZarKuuB1fWySn0zVUxwYX", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +754,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799607, + "created": 1712887917, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcVKuuB1fWySn1ydPbd3h", + "latest_charge": "ch_3P4ZarKuuB1fWySn0cp9XohL", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcUKuuB1fWySnnAyKF7Tq", + "payment_method": "pm_1P4ZarKuuB1fWySnJ45WwrgC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +790,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:10 GMT + recorded_at: Fri, 12 Apr 2024 02:12:00 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml index 7933c999f5..fcb7eb622c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0bNBmEKswppHmu","request_duration_ms":457}}' + - '{"last_request_metrics":{"request_id":"req_z51r1vmis8GmwV","request_duration_ms":332}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:03 GMT + - Fri, 12 Apr 2024 02:11:55 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 336f98c3-42f1-4e58-9df3-fc770404ba57 + - 3a748761-c9d5-457a-90d3-de20840bbf7d Original-Request: - - req_aLeiZFZpNPJxN4 + - req_VALmocWLrAFU6l Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aLeiZFZpNPJxN4 + - req_VALmocWLrAFU6l Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CcRKuuB1fWySnkGo4g3Le", + "id": "pm_1P4ZaoKuuB1fWySnqWkzfqx9", "object": "payment_method", "billing_details": { "address": { @@ -122,30 +122,30 @@ http_interactions: }, "wallet": null }, - "created": 1712799603, + "created": 1712887915, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:40:03 GMT + recorded_at: Fri, 12 Apr 2024 02:11:55 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4CcRKuuB1fWySnkGo4g3Le&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P4ZaoKuuB1fWySnqWkzfqx9&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aLeiZFZpNPJxN4","request_duration_ms":685}}' + - '{"last_request_metrics":{"request_id":"req_VALmocWLrAFU6l","request_duration_ms":494}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:04 GMT + - Fri, 12 Apr 2024 02:11:55 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8002779b-a612-47b7-a5b4-d9d1a12a9244 + - 8074ae26-4105-4e3a-9efb-e55662375723 Original-Request: - - req_y4GQON6eFnGQ3e + - req_AyKwRZp7jjz9nT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_y4GQON6eFnGQ3e + - req_AyKwRZp7jjz9nT Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,7 +210,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcSKuuB1fWySn0Nz02znm", + "id": "pi_3P4ZapKuuB1fWySn114ZZMhl", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +226,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799604, + "created": 1712887915, "currency": "eur", "customer": null, "description": null, @@ -237,7 +237,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcRKuuB1fWySnkGo4g3Le", + "payment_method": "pm_1P4ZaoKuuB1fWySnqWkzfqx9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,24 +262,24 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:04 GMT + recorded_at: Fri, 12 Apr 2024 02:11:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CcSKuuB1fWySn0Nz02znm/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZapKuuB1fWySn114ZZMhl/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_y4GQON6eFnGQ3e","request_duration_ms":611}}' + - '{"last_request_metrics":{"request_id":"req_AyKwRZp7jjz9nT","request_duration_ms":509}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -294,7 +294,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:40:05 GMT + - Fri, 12 Apr 2024 02:11:56 GMT Content-Type: - application/json Content-Length: @@ -322,19 +322,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 12ef0f19-50f3-4af1-8f16-384dedacee64 + - 563f7514-41ef-4760-ba79-f902ff41859a Original-Request: - - req_lVHX6rQCXZCAug + - req_27l1AU6X0ljdWZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lVHX6rQCXZCAug + - req_27l1AU6X0ljdWZ Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -345,7 +345,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CcSKuuB1fWySn0Nz02znm", + "id": "pi_3P4ZapKuuB1fWySn114ZZMhl", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +361,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799604, + "created": 1712887915, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CcSKuuB1fWySn0C2edlrW", + "latest_charge": "ch_3P4ZapKuuB1fWySn12D9ovcC", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CcRKuuB1fWySnkGo4g3Le", + "payment_method": "pm_1P4ZaoKuuB1fWySnqWkzfqx9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +397,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:40:05 GMT + recorded_at: Fri, 12 Apr 2024 02:11:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml index 56958d0c51..57c112ce9a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DwV7h1Uqx5qRyJ","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_bPBoCxlClLhaZS","request_duration_ms":610}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:53 GMT + - Fri, 12 Apr 2024 02:13:50 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c56f8ef0-64e7-4894-9c89-792de9ced705 + - 5441af95-0443-407a-b42e-3770e285fdcc Original-Request: - - req_663IZbDMazhrUg + - req_1G0LAgxg6x4SC1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_663IZbDMazhrUg + - req_1G0LAgxg6x4SC1 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CeCKuuB1fWySnmrRioPE6", + "id": "pm_1P4ZcfKuuB1fWySnkQNDpFGL", "object": "payment_method", "billing_details": { "address": { @@ -122,19 +122,19 @@ http_interactions: }, "wallet": null }, - "created": 1712799712, + "created": 1712888029, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:53 GMT + recorded_at: Fri, 12 Apr 2024 02:13:50 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=lindsey_rippin%40trantow.us + string: expand[0]=sources&email=mathilda%40abbottrohan.biz headers: Content-Type: - application/x-www-form-urlencoded @@ -162,11 +162,11 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:54 GMT + - Fri, 12 Apr 2024 02:13:50 GMT Content-Type: - application/json Content-Length: - - '822' + - '821' Connection: - close Access-Control-Allow-Credentials: @@ -189,15 +189,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 18cca20f-7488-41e1-bc59-c66f0ef53974 + - 95a25b44-5748-4293-a12f-b7fa99932fce Original-Request: - - req_jTwDwso2b5TKw3 + - req_2dZVNAhd6Jyt6o Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jTwDwso2b5TKw3 + - req_2dZVNAhd6Jyt6o Stripe-Should-Retry: - 'false' Stripe-Version: @@ -212,19 +212,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pu0fQxuWtEH6qW", + "id": "cus_PuOP1pTFxGmFVN", "object": "customer", "address": null, "balance": 0, - "created": 1712799713, + "created": 1712888030, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "lindsey_rippin@trantow.us", - "invoice_prefix": "1885CE46", + "email": "mathilda@abbottrohan.biz", + "invoice_prefix": "58B2CE50", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -243,18 +243,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_Pu0fQxuWtEH6qW/sources" + "url": "/v1/customers/cus_PuOP1pTFxGmFVN/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 11 Apr 2024 01:41:54 GMT + recorded_at: Fri, 12 Apr 2024 02:13:50 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4CeCKuuB1fWySnmrRioPE6/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZcfKuuB1fWySnkQNDpFGL/attach body: encoding: UTF-8 - string: customer=cus_Pu0fQxuWtEH6qW + string: customer=cus_PuOP1pTFxGmFVN headers: Content-Type: - application/x-www-form-urlencoded @@ -282,7 +282,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:55 GMT + - Fri, 12 Apr 2024 02:13:51 GMT Content-Type: - application/json Content-Length: @@ -310,15 +310,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e55abfe7-1342-467d-8787-fb3dddf37d1c + - 3c3a7d97-f95c-4581-829b-ce14d4af25c2 Original-Request: - - req_1fspcyQuTouJT8 + - req_gsnUxXz0kcPVk6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1fspcyQuTouJT8 + - req_gsnUxXz0kcPVk6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +333,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CeCKuuB1fWySnmrRioPE6", + "id": "pm_1P4ZcfKuuB1fWySnkQNDpFGL", "object": "payment_method", "billing_details": { "address": { @@ -374,11 +374,11 @@ http_interactions: }, "wallet": null }, - "created": 1712799712, - "customer": "cus_Pu0fQxuWtEH6qW", + "created": 1712888029, + "customer": "cus_PuOP1pTFxGmFVN", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:54 GMT + recorded_at: Fri, 12 Apr 2024 02:13:51 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml index 8f33bf6846..8c391b0a56 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml @@ -8,15 +8,15 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_663IZbDMazhrUg","request_duration_ms":548}}' + - '{"last_request_metrics":{"request_id":"req_1G0LAgxg6x4SC1","request_duration_ms":603}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:55 GMT + - Fri, 12 Apr 2024 02:13:52 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 193e4b72-8d47-4067-80ea-ca5cc4e93e8d + - ec502cf7-c372-4476-80c7-f02667a94908 Original-Request: - - req_cdipUQWcU4UUwq + - req_xqEnaIGPa64sqy Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cdipUQWcU4UUwq + - req_xqEnaIGPa64sqy Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CeFKuuB1fWySnmaTxxNuU", + "id": "pm_1P4ZciKuuB1fWySnEyae4LaJ", "object": "payment_method", "billing_details": { "address": { @@ -122,13 +122,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799715, + "created": 1712888032, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:55 GMT + recorded_at: Fri, 12 Apr 2024 02:13:52 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,15 +137,15 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cdipUQWcU4UUwq","request_duration_ms":490}}' + - '{"last_request_metrics":{"request_id":"req_xqEnaIGPa64sqy","request_duration_ms":655}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -160,7 +160,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:55 GMT + - Fri, 12 Apr 2024 02:13:53 GMT Content-Type: - application/json Content-Length: @@ -187,19 +187,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 037a7bca-eed5-424a-93ac-f5ec0762abfc + - be9ee9ae-5d35-4952-9be2-fb3e051149c9 Original-Request: - - req_5eQOeqgw6dKmzJ + - req_KGxjrrPZ0gM54i Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5eQOeqgw6dKmzJ + - req_KGxjrrPZ0gM54i Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -210,18 +210,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pu0f2TogaRRMaC", + "id": "cus_PuOPBkYDsYpzrO", "object": "customer", "address": null, "balance": 0, - "created": 1712799715, + "created": 1712888032, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "7AE4CF7C", + "invoice_prefix": "D12FF68C", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,24 +238,24 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 11 Apr 2024 01:41:56 GMT + recorded_at: Fri, 12 Apr 2024 02:13:53 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4CeFKuuB1fWySnmaTxxNuU/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZciKuuB1fWySnEyae4LaJ/attach body: encoding: UTF-8 - string: customer=cus_Pu0f2TogaRRMaC + string: customer=cus_PuOPBkYDsYpzrO headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5eQOeqgw6dKmzJ","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_KGxjrrPZ0gM54i","request_duration_ms":614}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -270,7 +270,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:56 GMT + - Fri, 12 Apr 2024 02:13:54 GMT Content-Type: - application/json Content-Length: @@ -298,19 +298,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 417a6010-7b43-4e9b-8fae-31897602e7d9 + - bac8d720-9bd5-44e7-b215-e7342122e0ea Original-Request: - - req_5U49TOk1gV8WNx + - req_WjxjsRdJmU7cJY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5U49TOk1gV8WNx + - req_WjxjsRdJmU7cJY Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -321,7 +321,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CeFKuuB1fWySnmaTxxNuU", + "id": "pm_1P4ZciKuuB1fWySnEyae4LaJ", "object": "payment_method", "billing_details": { "address": { @@ -362,19 +362,19 @@ http_interactions: }, "wallet": null }, - "created": 1712799715, - "customer": "cus_Pu0f2TogaRRMaC", + "created": 1712888032, + "customer": "cus_PuOPBkYDsYpzrO", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:41:56 GMT + recorded_at: Fri, 12 Apr 2024 02:13:54 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=thu.blick%40johns.name + string: expand[0]=sources&email=minnie%40strosin.co.uk headers: Content-Type: - application/x-www-form-urlencoded @@ -402,7 +402,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:58 GMT + - Fri, 12 Apr 2024 02:13:55 GMT Content-Type: - application/json Content-Length: @@ -429,15 +429,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 62c899d4-36ea-483f-adb2-c10d3218882f + - c109dbd6-c0f4-44e1-b8f0-a618a9e6d092 Original-Request: - - req_he6EdhHUgWq93Z + - req_lqkzKLLcZ8k6ni Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_he6EdhHUgWq93Z + - req_lqkzKLLcZ8k6ni Stripe-Should-Retry: - 'false' Stripe-Version: @@ -452,19 +452,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_Pu0f6RMpYrKZwF", + "id": "cus_PuOPBbSBS7xMfP", "object": "customer", "address": null, "balance": 0, - "created": 1712799717, + "created": 1712888035, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "thu.blick@johns.name", - "invoice_prefix": "F7CD4451", + "email": "minnie@strosin.co.uk", + "invoice_prefix": "A7F9955D", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -483,18 +483,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_Pu0f6RMpYrKZwF/sources" + "url": "/v1/customers/cus_PuOPBbSBS7xMfP/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Thu, 11 Apr 2024 01:41:58 GMT + recorded_at: Fri, 12 Apr 2024 02:13:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4CeFKuuB1fWySnmaTxxNuU/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZciKuuB1fWySnEyae4LaJ/attach body: encoding: UTF-8 - string: customer=cus_Pu0f6RMpYrKZwF + string: customer=cus_PuOPBbSBS7xMfP headers: Content-Type: - application/x-www-form-urlencoded @@ -522,7 +522,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:41:58 GMT + - Fri, 12 Apr 2024 02:13:56 GMT Content-Type: - application/json Content-Length: @@ -550,15 +550,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 551d8f52-a541-4a28-b6c6-1c3bece46b7b + - 463765c4-804f-4ce4-8253-3fcd2b6c33db Original-Request: - - req_mI5f8rJX7LkRNg + - req_npfHy9Ak2Kfwg4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mI5f8rJX7LkRNg + - req_npfHy9Ak2Kfwg4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -575,9 +575,9 @@ http_interactions: { "error": { "message": "The payment method you provided has already been attached to a customer.", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_mI5f8rJX7LkRNg?t=1712799718", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_npfHy9Ak2Kfwg4?t=1712888036", "type": "invalid_request_error" } } - recorded_at: Thu, 11 Apr 2024 01:41:58 GMT + recorded_at: Fri, 12 Apr 2024 02:13:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v10.15.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.0.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml index adcfacd728..1fa4f38aa4 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.15.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml @@ -8,15 +8,15 @@ http_interactions: string: type=standard&country=AU&email=lettuce.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rZwiAlPiMghx6Z","request_duration_ms":321}}' + - '{"last_request_metrics":{"request_id":"req_xwNgw4AYwwJXMs","request_duration_ms":495}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:43:03 GMT + - Fri, 12 Apr 2024 02:15:09 GMT Content-Type: - application/json Content-Length: @@ -58,19 +58,19 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 879adbf6-353e-4db0-9d2e-045efbe7b2f5 + - 6607a2f6-cecb-417a-b1d0-f63f3901de83 Original-Request: - - req_72pqjUFLNff7tK + - req_IgbdyG6AlIsqxf Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_72pqjUFLNff7tK + - req_IgbdyG6AlIsqxf Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CfK4DTqI1KHSC", + "id": "acct_1P4Zdv3rThJiS0D4", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712799783, + "created": 1712888108, "default_currency": "aud", "details_submitted": false, "email": "lettuce.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4CfK4DTqI1KHSC/external_accounts" + "url": "/v1/accounts/acct_1P4Zdv3rThJiS0D4/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Thu, 11 Apr 2024 01:43:03 GMT + recorded_at: Fri, 12 Apr 2024 02:15:09 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -218,15 +218,15 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_72pqjUFLNff7tK","request_duration_ms":1704}}' + - '{"last_request_metrics":{"request_id":"req_IgbdyG6AlIsqxf","request_duration_ms":1910}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:43:04 GMT + - Fri, 12 Apr 2024 02:15:09 GMT Content-Type: - application/json Content-Length: @@ -273,9 +273,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cVmuMyGhOymRHW + - req_SSsnHgomVFyjc7 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -286,7 +286,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4CfMKuuB1fWySn3qsz24ig", + "id": "pm_1P4ZdxKuuB1fWySnT0ZfatJ8", "object": "payment_method", "billing_details": { "address": { @@ -327,13 +327,13 @@ http_interactions: }, "wallet": null }, - "created": 1712799784, + "created": 1712888109, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Thu, 11 Apr 2024 01:43:04 GMT + recorded_at: Fri, 12 Apr 2024 02:15:09 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -342,19 +342,19 @@ http_interactions: string: amount=2600¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cVmuMyGhOymRHW","request_duration_ms":465}}' + - '{"last_request_metrics":{"request_id":"req_SSsnHgomVFyjc7","request_duration_ms":631}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4CfK4DTqI1KHSC + - acct_1P4Zdv3rThJiS0D4 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +367,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:43:05 GMT + - Fri, 12 Apr 2024 02:15:11 GMT Content-Type: - application/json Content-Length: @@ -394,21 +394,21 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6bc453c9-c704-43df-9588-acf3bed094d4 + - e51e258b-7a52-46f5-a60f-6a8f2f3af5b0 Original-Request: - - req_fkwHCNHDBioFBT + - req_nzBNjxD9OYU9kB Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_fkwHCNHDBioFBT + - req_nzBNjxD9OYU9kB Stripe-Account: - - acct_1P4CfK4DTqI1KHSC + - acct_1P4Zdv3rThJiS0D4 Stripe-Should-Retry: - 'false' Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -419,7 +419,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", + "id": "pi_3P4Zdy3rThJiS0D41S76EvYK", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -435,18 +435,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799784, + "created": 1712888110, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CfM4DTqI1KHSC05y4hqBD", + "latest_charge": "ch_3P4Zdy3rThJiS0D41T9lfqBq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CfM4DTqI1KHSCV2Ro75ZR", + "payment_method": "pm_1P4Zdy3rThJiS0D4v5Cw4AtT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,26 +471,26 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:43:05 GMT + recorded_at: Fri, 12 Apr 2024 02:15:11 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfM4DTqI1KHSC0MkqvQIb + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zdy3rThJiS0D41S76EvYK body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4CfK4DTqI1KHSC + - acct_1P4Zdv3rThJiS0D4 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -503,7 +503,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:43:10 GMT + - Fri, 12 Apr 2024 02:16:06 GMT Content-Type: - application/json Content-Length: @@ -535,11 +535,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZgQVUQCsMeHN7C + - req_Hsopxe7LD1k5jk Stripe-Account: - - acct_1P4CfK4DTqI1KHSC + - acct_1P4Zdv3rThJiS0D4 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -550,7 +550,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", + "id": "pi_3P4Zdy3rThJiS0D41S76EvYK", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -566,18 +566,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712799784, + "created": 1712888110, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CfM4DTqI1KHSC05y4hqBD", + "latest_charge": "ch_3P4Zdy3rThJiS0D41T9lfqBq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CfM4DTqI1KHSCV2Ro75ZR", + "payment_method": "pm_1P4Zdy3rThJiS0D4v5Cw4AtT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -602,10 +602,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:43:10 GMT + recorded_at: Fri, 12 Apr 2024 02:16:07 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4CfM4DTqI1KHSC0MkqvQIb + uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zdy3rThJiS0D41S76EvYK body: encoding: US-ASCII string: '' @@ -621,7 +621,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4CfK4DTqI1KHSC + - acct_1P4Zdv3rThJiS0D4 Connection: - close Accept-Encoding: @@ -636,7 +636,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:43:11 GMT + - Fri, 12 Apr 2024 02:16:07 GMT Content-Type: - application/json Content-Length: @@ -668,9 +668,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1c8gJiCkSYSlcd + - req_Ea9pv7z6xM7FS6 Stripe-Account: - - acct_1P4CfK4DTqI1KHSC + - acct_1P4Zdv3rThJiS0D4 Stripe-Version: - '2020-08-27' Vary: @@ -683,7 +683,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", + "id": "pi_3P4Zdy3rThJiS0D41S76EvYK", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -701,7 +701,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P4CfM4DTqI1KHSC05y4hqBD", + "id": "ch_3P4Zdy3rThJiS0D41T9lfqBq", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -709,7 +709,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4CfM4DTqI1KHSC08UYiG5w", + "balance_transaction": "txn_3P4Zdy3rThJiS0D41Mnn4AD6", "billing_details": { "address": { "city": null, @@ -725,7 +725,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712799784, + "created": 1712888110, "currency": "aud", "customer": null, "description": null, @@ -745,13 +745,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 53, + "risk_score": 17, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", - "payment_method": "pm_1P4CfM4DTqI1KHSCV2Ro75ZR", + "payment_intent": "pi_3P4Zdy3rThJiS0D41S76EvYK", + "payment_method": "pm_1P4Zdy3rThJiS0D4v5Cw4AtT", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -794,14 +794,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRDZks0RFRxSTFLSFNDKK-A3bAGMgaEzm8X0Ng6LBY6XR_SMmJbOc2RwZi-TNgXWhZ4KuPwF9S0dVgxeR3fI-bjUndA_gq25rPA", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRaZHYzclRoSmlTMEQ0KOey4rAGMgZ-neuYbd06LBYAkvqVqmdXag_XRwhpJl2MVypbJw6eOwq8p9RueJwfSmljDA4IUO87Omg5", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P4CfM4DTqI1KHSC05y4hqBD/refunds" + "url": "/v1/charges/ch_3P4Zdy3rThJiS0D41T9lfqBq/refunds" }, "review": null, "shipping": null, @@ -816,22 +816,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P4CfM4DTqI1KHSC0MkqvQIb" + "url": "/v1/charges?payment_intent=pi_3P4Zdy3rThJiS0D41S76EvYK" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712799784, + "created": 1712888110, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4CfM4DTqI1KHSC05y4hqBD", + "latest_charge": "ch_3P4Zdy3rThJiS0D41T9lfqBq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4CfM4DTqI1KHSCV2Ro75ZR", + "payment_method": "pm_1P4Zdy3rThJiS0D4v5Cw4AtT", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -856,10 +856,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Thu, 11 Apr 2024 01:43:11 GMT + recorded_at: Fri, 12 Apr 2024 02:16:07 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3P4CfM4DTqI1KHSC05y4hqBD/refunds + uri: https://api.stripe.com/v1/charges/ch_3P4Zdy3rThJiS0D41T9lfqBq/refunds body: encoding: UTF-8 string: amount=2600&expand[0]=charge @@ -877,7 +877,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4CfK4DTqI1KHSC + - acct_1P4Zdv3rThJiS0D4 Connection: - close Accept-Encoding: @@ -892,7 +892,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:43:13 GMT + - Fri, 12 Apr 2024 02:16:08 GMT Content-Type: - application/json Content-Length: @@ -920,17 +920,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ec9624ef-5f45-4ddb-8944-1dddc43d8d17 + - 8ad1387d-6fdf-4c5f-bf9b-6baca9a40282 Original-Request: - - req_ZXeJO9NE9ujT2w + - req_FmEyuSCNEggbLh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZXeJO9NE9ujT2w + - req_FmEyuSCNEggbLh Stripe-Account: - - acct_1P4CfK4DTqI1KHSC + - acct_1P4Zdv3rThJiS0D4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -945,12 +945,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3P4CfM4DTqI1KHSC0HbWGcu4", + "id": "re_3P4Zdy3rThJiS0D41TPzIlEI", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3P4CfM4DTqI1KHSC0zdbgD9L", + "balance_transaction": "txn_3P4Zdy3rThJiS0D41Z5KlNf2", "charge": { - "id": "ch_3P4CfM4DTqI1KHSC05y4hqBD", + "id": "ch_3P4Zdy3rThJiS0D41T9lfqBq", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -958,7 +958,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4CfM4DTqI1KHSC08UYiG5w", + "balance_transaction": "txn_3P4Zdy3rThJiS0D41Mnn4AD6", "billing_details": { "address": { "city": null, @@ -974,7 +974,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712799784, + "created": 1712888110, "currency": "aud", "customer": null, "description": null, @@ -994,13 +994,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 53, + "risk_score": 17, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", - "payment_method": "pm_1P4CfM4DTqI1KHSCV2Ro75ZR", + "payment_intent": "pi_3P4Zdy3rThJiS0D41S76EvYK", + "payment_method": "pm_1P4Zdy3rThJiS0D4v5Cw4AtT", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -1043,18 +1043,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRDZks0RFRxSTFLSFNDKLGA3bAGMgZceqfeYwQ6LBbgxCEDtyBnPvWoU32OfZrKLBqWBetDroE4l_pnhn1o5yPene_35Tkfzp_e", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRaZHYzclRoSmlTMEQ0KOiy4rAGMgahZUmK9fw6LBbTJVd7gt6AFl3YKLZqA2_l35i02S-Yqex9MRYil31qHKEEKt3Yw1lFo5Cc", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3P4CfM4DTqI1KHSC0HbWGcu4", + "id": "re_3P4Zdy3rThJiS0D41TPzIlEI", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3P4CfM4DTqI1KHSC0zdbgD9L", - "charge": "ch_3P4CfM4DTqI1KHSC05y4hqBD", - "created": 1712799792, + "balance_transaction": "txn_3P4Zdy3rThJiS0D41Z5KlNf2", + "charge": "ch_3P4Zdy3rThJiS0D41T9lfqBq", + "created": 1712888168, "currency": "aud", "destination_details": { "card": { @@ -1065,7 +1065,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", + "payment_intent": "pi_3P4Zdy3rThJiS0D41S76EvYK", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1075,7 +1075,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3P4CfM4DTqI1KHSC05y4hqBD/refunds" + "url": "/v1/charges/ch_3P4Zdy3rThJiS0D41T9lfqBq/refunds" }, "review": null, "shipping": null, @@ -1087,7 +1087,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1712799792, + "created": 1712888168, "currency": "aud", "destination_details": { "card": { @@ -1098,31 +1098,31 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P4CfM4DTqI1KHSC0MkqvQIb", + "payment_intent": "pi_3P4Zdy3rThJiS0D41S76EvYK", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Thu, 11 Apr 2024 01:43:13 GMT + recorded_at: Fri, 12 Apr 2024 02:16:08 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4CfK4DTqI1KHSC + uri: https://api.stripe.com/v1/accounts/acct_1P4Zdv3rThJiS0D4 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.15.0 + - Stripe/v1 RubyBindings/11.0.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fkwHCNHDBioFBT","request_duration_ms":1429}}' + - '{"last_request_metrics":{"request_id":"req_nzBNjxD9OYU9kB","request_duration_ms":1524}}' Stripe-Version: - - '2023-10-16' + - '2024-04-10' X-Stripe-Client-User-Agent: - "" Accept-Encoding: @@ -1137,7 +1137,7 @@ http_interactions: Server: - nginx Date: - - Thu, 11 Apr 2024 01:43:13 GMT + - Fri, 12 Apr 2024 02:16:09 GMT Content-Type: - application/json Content-Length: @@ -1168,11 +1168,11 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hNio9dlQY2KeGl + - req_LAGauSlRb5z9tY Stripe-Account: - - acct_1P4CfK4DTqI1KHSC + - acct_1P4Zdv3rThJiS0D4 Stripe-Version: - - '2023-10-16' + - '2024-04-10' Vary: - Origin X-Stripe-Routing-Context-Priority-Tier: @@ -1183,9 +1183,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4CfK4DTqI1KHSC", + "id": "acct_1P4Zdv3rThJiS0D4", "object": "account", "deleted": true } - recorded_at: Thu, 11 Apr 2024 01:43:13 GMT + recorded_at: Fri, 12 Apr 2024 02:16:09 GMT recorded_with: VCR 6.2.0 From d9ec6e2ca3624201b68524f3bad35aa01bc09925 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 12 Apr 2024 12:34:26 +1000 Subject: [PATCH 320/374] Wait longer for real Stripe responses When we re-record cassettes, I noticed this spec failing. We may need to add this parameter to more specs. --- spec/system/admin/payments_stripe_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/admin/payments_stripe_spec.rb b/spec/system/admin/payments_stripe_spec.rb index 19ebf58306..0d648250ae 100644 --- a/spec/system/admin/payments_stripe_spec.rb +++ b/spec/system/admin/payments_stripe_spec.rb @@ -205,7 +205,7 @@ describe ' page.find('a.icon-void').click - expect(page).to have_content "VOID" + expect(page).to have_content "VOID", wait: 4 expect(payment.reload.state).to eq "void" end end From 97eef4cfcdd217811e221b9e6e9ade14fb9b18ce Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 12 Apr 2024 14:05:46 +1000 Subject: [PATCH 321/374] Update all locales with the latest Transifex translations --- config/locales/ar.yml | 6 +- config/locales/ca.yml | 14 ++--- config/locales/cy.yml | 14 ++--- config/locales/de_CH.yml | 6 +- config/locales/de_DE.yml | 26 ++++----- config/locales/en_AU.yml | 6 +- config/locales/en_CA.yml | 14 ++--- config/locales/en_FR.yml | 20 ++++--- config/locales/en_GB.yml | 14 ++--- config/locales/en_IE.yml | 14 ++--- config/locales/en_IN.yml | 6 +- config/locales/en_NZ.yml | 6 +- config/locales/en_US.yml | 6 +- config/locales/en_ZA.yml | 6 +- config/locales/es.yml | 6 +- config/locales/es_CR.yml | 6 +- config/locales/es_US.yml | 6 +- config/locales/fr.yml | 20 ++++--- config/locales/fr_BE.yml | 6 +- config/locales/fr_CA.yml | 14 ++--- config/locales/fr_CH.yml | 6 +- config/locales/fr_CM.yml | 6 +- config/locales/hi.yml | 14 ++--- config/locales/hu.yml | 6 +- config/locales/it.yml | 6 +- config/locales/it_CH.yml | 6 +- config/locales/ko.yml | 6 +- config/locales/ml.yml | 14 ++--- config/locales/mr.yml | 14 ++--- config/locales/nb.yml | 14 ++--- config/locales/nl_BE.yml | 6 +- config/locales/pa.yml | 14 ++--- config/locales/pt_BR.yml | 6 +- config/locales/ru.yml | 120 ++++++++++++++++++++++++++++++++++++++- config/locales/tr.yml | 6 +- config/locales/uk.yml | 6 +- 36 files changed, 296 insertions(+), 170 deletions(-) diff --git a/config/locales/ar.yml b/config/locales/ar.yml index 830a47c276..1f98a353d3 100644 --- a/config/locales/ar.yml +++ b/config/locales/ar.yml @@ -695,15 +695,15 @@ ar: index: header: title: تحرير المنتجات بالجملة - sort: - pagination: - clear_search: مسح البحث filters: producers: label: المنتجين categories: label: التصنيفات search: بحث + sort: + pagination: + clear_search: مسح البحث table: new_variant: نوع جديد edit_image: diff --git a/config/locales/ca.yml b/config/locales/ca.yml index 52aeabcc05..cfb102ef8c 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -737,13 +737,6 @@ ca: prompt: "Això l'eliminarà permanentment de la vostra llista." confirmation_text: "Suprimeix la variant" cancellation_text: "Mantenir la variant" - sort: - pagination: - total_html: "%{total} productes trobats pels vostres criteris de cerca. Mostrant de %{from} a %{to} ." - per_page: - show: Mostra - per_page: "%{num} per pàgina" - clear_search: Esborra la cerca filters: search_products: Cerca de productes search_for_producers: Cercar productors @@ -755,6 +748,13 @@ ca: categories: label: Categories search: Cerca + sort: + pagination: + total_html: "%{total} productes trobats pels vostres criteris de cerca. Mostrant de %{from} a %{to} ." + per_page: + show: Mostra + per_page: "%{num} per pàgina" + clear_search: Esborra la cerca no_products: no_products_found: No hem trobat productes table: diff --git a/config/locales/cy.yml b/config/locales/cy.yml index 2f1969c0b6..224a3a8e49 100644 --- a/config/locales/cy.yml +++ b/config/locales/cy.yml @@ -767,13 +767,6 @@ cy: prompt: "Caiff ei ddileu’n barhaol o’ch rhestr." confirmation_text: "Dileu amrywiolyn" cancellation_text: "Cadw amrywiolyn" - sort: - pagination: - total_html: "%{total}Cafwyd hyd i cynnyrch ar gyfer eich meini prawf chwilio. Yn dangos %{from} i %{to}." - per_page: - show: Dangos - per_page: "%{num} fesul tudalen" - clear_search: Clirio'r chwiliad filters: search_products: Chwilio am gynnyrch search_for_producers: Chwilio am gynhyrchwyr @@ -785,6 +778,13 @@ cy: categories: label: Categorïau search: Chwilio + sort: + pagination: + total_html: "%{total}Cafwyd hyd i cynnyrch ar gyfer eich meini prawf chwilio. Yn dangos %{from} i %{to}." + per_page: + show: Dangos + per_page: "%{num} fesul tudalen" + clear_search: Clirio'r chwiliad no_products: no_products_found: Ni chafwyd hyd i gynnyrch import_products: Mewnforio cynnyrch lluosog diff --git a/config/locales/de_CH.yml b/config/locales/de_CH.yml index 81607fbbeb..ec68f51191 100644 --- a/config/locales/de_CH.yml +++ b/config/locales/de_CH.yml @@ -684,15 +684,15 @@ de_CH: index: header: title: Produkte verwalten - sort: - pagination: - clear_search: Suche zurücksetzen filters: producers: label: Unsere Produzenten categories: label: Lieferkategorien search: Suche + sort: + pagination: + clear_search: Suche zurücksetzen no_products: no_products_found: Keine Produkte gefunden. table: diff --git a/config/locales/de_DE.yml b/config/locales/de_DE.yml index 53e5c6c9c9..17349d4fc4 100644 --- a/config/locales/de_DE.yml +++ b/config/locales/de_DE.yml @@ -756,13 +756,6 @@ de_DE: header: title: Produkte verwalten loading: Produkte werden geladen... - sort: - pagination: - total_html: "%{total} Produkte für Ihre Suchkriterien gefunden. Zeige %{from} bis %{to}." - per_page: - show: Zeige - per_page: "%{num} pro Seite" - clear_search: Suche zurücksetzen filters: search_products: Nach Produkten suchen all_producers: Alle Produzenten @@ -772,6 +765,13 @@ de_DE: categories: label: Lieferkategorien search: Suche + sort: + pagination: + total_html: "%{total} Produkte für Ihre Suchkriterien gefunden. Zeige %{from} bis %{to}." + per_page: + show: Zeige + per_page: "%{num} pro Seite" + clear_search: Suche zurücksetzen no_products: no_products_found: Keine Produkte gefunden. import_products: Produkte importieren @@ -2887,7 +2887,7 @@ de_DE: report_header_billing_state: Rechnungsadresse Bundesland report_header_incoming_transport: Eingehender Transport report_header_special_instructions: Besondere Hinweise - report_header_order_number: Bestell-Nummer + report_header_order_number: Bestellnummer report_header_date: Datum report_header_confirmation_date: Bestätigungsdatum report_header_tags: Stichwörter @@ -2962,7 +2962,7 @@ de_DE: report_header_units_required: Benötigte Einheiten report_header_remainder: Rest report_header_order_date: Bestelldatum - report_header_order_id: Bestell-Nummer + report_header_order_id: Bestellnummer report_header_item_name: Produktname report_header_temp_controlled_items: Temperaturüberwachte Produkte? report_header_customer_name: Kundenname @@ -3086,7 +3086,7 @@ de_DE: order_cycles_no_permission_to_coordinate_error: "Keines Ihrer Unternehmen ist berechtigt, einen Bestellzyklus zu koordinieren." order_cycles_no_permission_to_create_error: "Sie sind nicht berechtigt, einen von diesem Unternehmen koordinierten Bestellzyklus zu erstellen." order_cycle_closed: "Der von Ihnen ausgewählte Bestellzyklus wurde gerade geschlossen. Bitte versuchen Sie es später noch einmal!" - back_to_orders_list: "Zurück zur Bestellliste" + back_to_orders_list: "Zurück zur Bestellübersicht" no_orders_found: "Keine Bestellungen gefunden." order_information: "Bestellinformationen" new_payment: "Neue Zahlung" @@ -3522,7 +3522,7 @@ de_DE: other: "Schalen" piece: one: "Stück" - other: "Stücke" + other: "Stück" pot: one: "Topf" other: "Töpfe" @@ -3685,7 +3685,7 @@ de_DE: add_product: "Produkt hinzufügen" name_or_sku: "Produktname oder Artikelnummer (geben Sie mindestens die ersten 3 Zeichen des Produktnamens ein)" resend: "Erneut senden" - back_to_orders_list: "Zurück zur Bestellliste" + back_to_orders_list: "Zurück zur Bestellübersicht" back_to_payments_list: "Zurück zur Zahlungsliste" return_authorizations: "Retouren" cannot_create_returns: "Retouren können nicht erstellt werden, da für diese Bestellung keine Lieferung bestätigt wurde." @@ -3938,7 +3938,7 @@ de_DE: index: new_return_authorization: "Neue Retour" return_authorizations: "Retouren" - back_to_orders_list: "Zurück zur Bestellliste" + back_to_orders_list: "Zurück zur Bestellübersicht" rma_number: "RMA-Nummer" status: "Status" amount: "Betrag" diff --git a/config/locales/en_AU.yml b/config/locales/en_AU.yml index 2ae66f6bc7..676b309ad0 100644 --- a/config/locales/en_AU.yml +++ b/config/locales/en_AU.yml @@ -545,15 +545,15 @@ en_AU: index: header: title: Bulk Edit Products - sort: - pagination: - clear_search: Clear search filters: producers: label: Producers categories: label: Categories search: Search + sort: + pagination: + clear_search: Clear search table: new_variant: New variant edit_image: diff --git a/config/locales/en_CA.yml b/config/locales/en_CA.yml index 0c4255940b..25afb35d22 100644 --- a/config/locales/en_CA.yml +++ b/config/locales/en_CA.yml @@ -772,13 +772,6 @@ en_CA: prompt: "This will permanently remove it from your list." confirmation_text: "Delete variant" cancellation_text: "Keep variant" - sort: - pagination: - total_html: "%{total} products found for your search criteria. Showing %{from} to %{to}." - per_page: - show: Show - per_page: "%{num} per page" - clear_search: Clear search filters: search_products: Search for products search_for_producers: Search for producers @@ -790,6 +783,13 @@ en_CA: categories: label: Categories search: Search + sort: + pagination: + total_html: "%{total} products found for your search criteria. Showing %{from} to %{to}." + per_page: + show: Show + per_page: "%{num} per page" + clear_search: Clear search no_products: no_products_found: No products found import_products: Import multiple products diff --git a/config/locales/en_FR.yml b/config/locales/en_FR.yml index 6932bd822b..7a697f98ad 100644 --- a/config/locales/en_FR.yml +++ b/config/locales/en_FR.yml @@ -194,6 +194,9 @@ en_FR: transaction_not_allowed: "The card has been declined for an unknown reason." try_again_later: "The card has been declined for an unknown reason." withdrawal_count_limit_exceeded: "The customer has exceeded the balance or credit limit available on their card." + disconnect_failure: "Failed to disconnect Stripe." + success_code: + disconnected: "Stripe account disconnected." activemodel: errors: messages: @@ -223,6 +226,8 @@ en_FR: community_forum_url: "Community forum URL" customer_instructions: "Customer instructions" additional_information: "Additional Information" + connect_app: + url: "https://n8n.openfoodnetwork.org/webhook/regen/connect-enterprise" devise: passwords: spree_user: @@ -778,13 +783,6 @@ en_FR: prompt: "This will permanently remove it from your list." confirmation_text: "Delete variant" cancellation_text: "Keep variant" - sort: - pagination: - total_html: "%{total} products found for your search criteria. Showing %{from} to %{to}." - per_page: - show: Show - per_page: "%{num} per page" - clear_search: Clear search filters: search_products: Search for products search_for_producers: Search for producers @@ -796,6 +794,13 @@ en_FR: categories: label: Categories search: Search + sort: + pagination: + total_html: "%{total} products found for your search criteria. Showing %{from} to %{to}." + per_page: + show: Show + per_page: "%{num} per page" + clear_search: Clear search no_products: no_products_found: No products found import_products: Import multiple products @@ -1180,6 +1185,7 @@ en_FR: open_date: "Open Date" close_date: "Close Date" display_ordering_in_shopfront: "Display ordering in shopfront:" + shopfront_sort_by_product: "By product" shopfront_sort_by_category: "By category" shopfront_sort_by_producer: "By producer" shopfront_sort_by_category_placeholder: "Category" diff --git a/config/locales/en_GB.yml b/config/locales/en_GB.yml index 4f7728f17f..6205d4b234 100644 --- a/config/locales/en_GB.yml +++ b/config/locales/en_GB.yml @@ -774,13 +774,6 @@ en_GB: prompt: "This will permanently remove it from your list." confirmation_text: "Delete variant" cancellation_text: "Keep variant" - sort: - pagination: - total_html: "%{total}productsfound for your search criteria. Showing %{from}to%{to}." - per_page: - show: Show - per_page: "%{num}per page" - clear_search: Clear search filters: search_products: Search for products search_for_producers: Search for producers @@ -792,6 +785,13 @@ en_GB: categories: label: Categories search: Search + sort: + pagination: + total_html: "%{total}productsfound for your search criteria. Showing %{from}to%{to}." + per_page: + show: Show + per_page: "%{num}per page" + clear_search: Clear search no_products: no_products_found: No products found import_products: Import multiple products diff --git a/config/locales/en_IE.yml b/config/locales/en_IE.yml index 7c62182967..a84a29a26c 100644 --- a/config/locales/en_IE.yml +++ b/config/locales/en_IE.yml @@ -773,13 +773,6 @@ en_IE: prompt: "This will permanently remove it from your list." confirmation_text: "Delete variant" cancellation_text: "Keep variant" - sort: - pagination: - total_html: "%{total} products found for your search criteria. Showing %{from} to %{to}." - per_page: - show: Show - per_page: "%{num} per page" - clear_search: Clear search filters: search_products: Search for products search_for_producers: Search for producers @@ -791,6 +784,13 @@ en_IE: categories: label: Categories search: Search + sort: + pagination: + total_html: "%{total} products found for your search criteria. Showing %{from} to %{to}." + per_page: + show: Show + per_page: "%{num} per page" + clear_search: Clear search no_products: no_products_found: No products found import_products: Import multiple products diff --git a/config/locales/en_IN.yml b/config/locales/en_IN.yml index 13d364e51d..61f6e7e610 100644 --- a/config/locales/en_IN.yml +++ b/config/locales/en_IN.yml @@ -529,15 +529,15 @@ en_IN: index: header: title: Bulk Edit Products - sort: - pagination: - clear_search: Clear search filters: producers: label: Producers categories: label: Categories search: Search + sort: + pagination: + clear_search: Clear search table: new_variant: New variant edit_image: diff --git a/config/locales/en_NZ.yml b/config/locales/en_NZ.yml index 3db8487872..8856a02077 100644 --- a/config/locales/en_NZ.yml +++ b/config/locales/en_NZ.yml @@ -682,15 +682,15 @@ en_NZ: index: header: title: Bulk Edit Products - sort: - pagination: - clear_search: Clear search filters: producers: label: Producers categories: label: Categories search: Search + sort: + pagination: + clear_search: Clear search table: new_variant: New variant edit_image: diff --git a/config/locales/en_US.yml b/config/locales/en_US.yml index 9e65d2b809..100eba5dc7 100644 --- a/config/locales/en_US.yml +++ b/config/locales/en_US.yml @@ -660,15 +660,15 @@ en_US: index: header: title: Bulk Edit Products - sort: - pagination: - clear_search: Clear search filters: producers: label: Producers categories: label: Categories search: Search + sort: + pagination: + clear_search: Clear search table: new_variant: New variant edit_image: diff --git a/config/locales/en_ZA.yml b/config/locales/en_ZA.yml index f8918ca840..4f6a989e67 100644 --- a/config/locales/en_ZA.yml +++ b/config/locales/en_ZA.yml @@ -525,15 +525,15 @@ en_ZA: index: header: title: Bulk Edit Products - sort: - pagination: - clear_search: Clear search filters: producers: label: Pricing categories: label: Categories search: Search + sort: + pagination: + clear_search: Clear search table: new_variant: New variant edit_image: diff --git a/config/locales/es.yml b/config/locales/es.yml index 844315285b..900e732530 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -695,15 +695,15 @@ es: header: title: Editar varios Productos loading: Cargando tus productos - sort: - pagination: - clear_search: Limpiar la búsqueda filters: producers: label: Productoras categories: label: Categorías search: Buscar + sort: + pagination: + clear_search: Limpiar la búsqueda no_products: no_products_found: No se encontraron productos import_products: Importar varios productos diff --git a/config/locales/es_CR.yml b/config/locales/es_CR.yml index d2e98b91ad..d2f0146e1d 100644 --- a/config/locales/es_CR.yml +++ b/config/locales/es_CR.yml @@ -686,15 +686,15 @@ es_CR: index: header: title: Editar productos por volumen - sort: - pagination: - clear_search: Borrar búsqueda filters: producers: label: Productores categories: label: Categorías search: Buscar + sort: + pagination: + clear_search: Borrar búsqueda table: new_variant: Nueva variante edit_image: diff --git a/config/locales/es_US.yml b/config/locales/es_US.yml index ee66c1af91..df9a64fdce 100644 --- a/config/locales/es_US.yml +++ b/config/locales/es_US.yml @@ -658,15 +658,15 @@ es_US: index: header: title: Editar varios Productos - sort: - pagination: - clear_search: Limpiar la búsqueda filters: producers: label: Productoras categories: label: Categorías search: Buscar + sort: + pagination: + clear_search: Limpiar la búsqueda table: new_variant: Nueva variante edit_image: diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 06ce890cd7..aba4d2363e 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -194,6 +194,9 @@ fr: transaction_not_allowed: "La carte a été refusée pour une raison inconnue." try_again_later: "La carte a été refusée pour une raison inconnue." withdrawal_count_limit_exceeded: "L'acheteur a dépassé son plafond de carte bancaire." + disconnect_failure: "Déconnecter Stripe a échoué." + success_code: + disconnected: "Le compte Stripe est déconnecté." activemodel: errors: messages: @@ -223,6 +226,8 @@ fr: community_forum_url: "Lien vers le forum" customer_instructions: "Précisions pour l'acheteur" additional_information: "Informations additionnelles" + connect_app: + url: "https://n8n.openfoodnetwork.org/webhook/regen/connect-enterprise" devise: passwords: spree_user: @@ -777,13 +782,6 @@ fr: prompt: "Cette action va supprimer ceci de façon permanente de votre liste." confirmation_text: "Supprimer la variante" cancellation_text: "Conserver la variante" - sort: - pagination: - total_html: "%{total} produits trouvés selon vos critères de recherche. Résultats %{from} à %{to}." - per_page: - show: Montrer - per_page: "%{num} par page" - clear_search: Annuler la recherche filters: search_products: Chercher des produits search_for_producers: Rechercher des producteurs @@ -795,6 +793,13 @@ fr: categories: label: Conditions de transport search: Rechercher + sort: + pagination: + total_html: "%{total} produits trouvés selon vos critères de recherche. Résultats %{from} à %{to}." + per_page: + show: Montrer + per_page: "%{num} par page" + clear_search: Annuler la recherche no_products: no_products_found: Pas de produits trouvés import_products: Importer plusieurs produits @@ -1181,6 +1186,7 @@ fr: open_date: "Date d'ouverture" close_date: "Date de fermeture" display_ordering_in_shopfront: "Ordre d'affichage sur la boutique en ligne :" + shopfront_sort_by_product: "Par produit" shopfront_sort_by_category: "Par catégorie" shopfront_sort_by_producer: "Par producteur" shopfront_sort_by_category_placeholder: "Catégorie" diff --git a/config/locales/fr_BE.yml b/config/locales/fr_BE.yml index 76840b3554..4af648c4f7 100644 --- a/config/locales/fr_BE.yml +++ b/config/locales/fr_BE.yml @@ -682,15 +682,15 @@ fr_BE: index: header: title: Gestion du catalogue produits - sort: - pagination: - clear_search: Effacer recherche filters: producers: label: Producteur·trice·s categories: label: Les catégories search: Rechercher + sort: + pagination: + clear_search: Effacer recherche table: new_variant: Nouvelle variante edit_image: diff --git a/config/locales/fr_CA.yml b/config/locales/fr_CA.yml index 5774c8b6ff..2ff74c21c1 100644 --- a/config/locales/fr_CA.yml +++ b/config/locales/fr_CA.yml @@ -746,13 +746,6 @@ fr_CA: header: title: Gestion du catalogue produits loading: Vos produits sont en cours de chargement - sort: - pagination: - total_html: "%{total} produits trouvés selon vos critères de recherche. Montrer %{from} à %{to}." - per_page: - show: Montrer - per_page: "%{num} par page" - clear_search: Annuler la recherche filters: search_products: Chercher des produits all_producers: Tous les producteurs @@ -762,6 +755,13 @@ fr_CA: categories: label: Conditions de transport search: Chercher + sort: + pagination: + total_html: "%{total} produits trouvés selon vos critères de recherche. Montrer %{from} à %{to}." + per_page: + show: Montrer + per_page: "%{num} par page" + clear_search: Annuler la recherche no_products: no_products_found: Pas de produits trouvés import_products: Importer plusieurs produits diff --git a/config/locales/fr_CH.yml b/config/locales/fr_CH.yml index 2469ee857c..3fda02b1f9 100644 --- a/config/locales/fr_CH.yml +++ b/config/locales/fr_CH.yml @@ -680,15 +680,15 @@ fr_CH: index: header: title: Gestion du catalogue produits - sort: - pagination: - clear_search: Annuler la recherche filters: producers: label: Producteurs categories: label: Conditions de transport search: Rechercher + sort: + pagination: + clear_search: Annuler la recherche table: new_variant: Nouvelle variante edit_image: diff --git a/config/locales/fr_CM.yml b/config/locales/fr_CM.yml index 99f8af1b39..e92dc3f782 100644 --- a/config/locales/fr_CM.yml +++ b/config/locales/fr_CM.yml @@ -617,15 +617,15 @@ fr_CM: index: header: title: Gestion du catalogue produits - sort: - pagination: - clear_search: Annuler la recherche filters: producers: label: Producteurs categories: label: Conditions de transport search: Rechercher + sort: + pagination: + clear_search: Annuler la recherche table: new_variant: Nouvelle variante edit_image: diff --git a/config/locales/hi.yml b/config/locales/hi.yml index 68e6d88756..fb85829859 100644 --- a/config/locales/hi.yml +++ b/config/locales/hi.yml @@ -753,13 +753,6 @@ hi: header: title: बल्क उत्पाद एडिट करें loading: अपने उत्पादों को लोड कर रहा है - sort: - pagination: - total_html: "%{total} उत्पाद आपके सर्च क्राइटेरिया के लिए मिले। %{from} से %{to} दिखा रहा है।" - per_page: - show: दिखाएं - per_page: "%{num} प्रति पेज" - clear_search: सर्च साफ़ करें filters: search_products: उत्पादों के लिए सर्च करें all_producers: सभी उत्पादक @@ -769,6 +762,13 @@ hi: categories: label: श्रेणियां search: सर्च + sort: + pagination: + total_html: "%{total} उत्पाद आपके सर्च क्राइटेरिया के लिए मिले। %{from} से %{to} दिखा रहा है।" + per_page: + show: दिखाएं + per_page: "%{num} प्रति पेज" + clear_search: सर्च साफ़ करें no_products: no_products_found: कोई उत्पाद नहीं मिला import_products: कई उत्पाद इम्पोर्ट करें diff --git a/config/locales/hu.yml b/config/locales/hu.yml index d5107799e0..b8960c84ba 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -699,15 +699,15 @@ hu: delete_variant_modal: heading: "Változat törlése" confirmation_text: "Változat törlése" - sort: - pagination: - clear_search: Keresés törlése filters: producers: label: Termelők categories: label: Kategóriák search: Keresés + sort: + pagination: + clear_search: Keresés törlése table: error_summary: saved: diff --git a/config/locales/it.yml b/config/locales/it.yml index d018c43a57..942a2227d4 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -716,15 +716,15 @@ it: index: header: title: Modifica prodotti tabella - sort: - pagination: - clear_search: Pulisci ricerca filters: producers: label: Produttori categories: label: categorie search: Cerca + sort: + pagination: + clear_search: Pulisci ricerca table: new_variant: Nuova variante edit_image: diff --git a/config/locales/it_CH.yml b/config/locales/it_CH.yml index 89902806e6..1b611c4d8c 100644 --- a/config/locales/it_CH.yml +++ b/config/locales/it_CH.yml @@ -658,15 +658,15 @@ it_CH: index: header: title: Modifica prodotti tabella - sort: - pagination: - clear_search: Pulisci ricerca filters: producers: label: Produttori categories: label: categorie search: Cerca + sort: + pagination: + clear_search: Pulisci ricerca table: new_variant: Nuova variante edit_image: diff --git a/config/locales/ko.yml b/config/locales/ko.yml index 8b925cd463..41b8a3ceaa 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -681,15 +681,15 @@ ko: index: header: title: 제품 대량 편집 - sort: - pagination: - clear_search: 검색 지우기 filters: producers: label: 생산자들 categories: label: 카테고리 search: 탐색 + sort: + pagination: + clear_search: 검색 지우기 table: new_variant: 새로운 변경사항 edit_image: diff --git a/config/locales/ml.yml b/config/locales/ml.yml index 569214336f..d02d69434e 100644 --- a/config/locales/ml.yml +++ b/config/locales/ml.yml @@ -756,13 +756,6 @@ ml: header: title: ഉൽപ്പന്നങ്ങൾ മൊത്തമായി തിരുത്തുക loading: നിങ്ങളുടെ ഉൽപ്പന്നങ്ങൾ ലോഡ് ചെയ്യുന്നു - sort: - pagination: - total_html: "നിങ്ങളുടെ തിരയൽ മാനദണ്ഡങ്ങൾക്കനുസരിച്ച് %{total} ഉൽപ്പന്നങ്ങൾ കണ്ടെത്തി. %{from} മുതൽ %{to} വരെ കാണിക്കുന്നു." - per_page: - show: കാണിക്കുക - per_page: "ഓരോ പേജിലും %{num}" - clear_search: തിരയൽ മായ്‌ക്കുക filters: search_products: ഉൽപ്പന്നങ്ങൾക്കായി തിരയുക all_producers: എല്ലാ പ്രൊഡ്യൂസേഴ്‌സും @@ -772,6 +765,13 @@ ml: categories: label: വിഭാഗങ്ങൾ search: തിരയുക + sort: + pagination: + total_html: "നിങ്ങളുടെ തിരയൽ മാനദണ്ഡങ്ങൾക്കനുസരിച്ച് %{total} ഉൽപ്പന്നങ്ങൾ കണ്ടെത്തി. %{from} മുതൽ %{to} വരെ കാണിക്കുന്നു." + per_page: + show: കാണിക്കുക + per_page: "ഓരോ പേജിലും %{num}" + clear_search: തിരയൽ മായ്‌ക്കുക no_products: no_products_found: ഉൽപ്പന്നങ്ങളൊന്നും കണ്ടെത്തിയില്ല import_products: ഒന്നിലധികം ഉൽപ്പന്നങ്ങൾ ഇറക്കുമതി ചെയ്യുക diff --git a/config/locales/mr.yml b/config/locales/mr.yml index 82c942a919..df80ca985c 100644 --- a/config/locales/mr.yml +++ b/config/locales/mr.yml @@ -752,13 +752,6 @@ mr: header: title: मोठ्या प्रमाणात उत्पादने संपादित करा loading: तुमची उत्पादने लोड करत आहे - sort: - pagination: - total_html: "तुमच्या शोध निकषांसाठी %{total} उत्पादने आढळली. %{from} ते %{to} दाखवत आहे." - per_page: - show: दाखवा - per_page: "%{num} प्रति पृष्ठ" - clear_search: सर्च क्लिअर करा filters: search_products: उत्पादने शोधा all_producers: सर्व उत्पादक @@ -768,6 +761,13 @@ mr: categories: label: श्रेण्या search: शोधा + sort: + pagination: + total_html: "तुमच्या शोध निकषांसाठी %{total} उत्पादने आढळली. %{from} ते %{to} दाखवत आहे." + per_page: + show: दाखवा + per_page: "%{num} प्रति पृष्ठ" + clear_search: सर्च क्लिअर करा no_products: no_products_found: कोणतीही उत्पादने आढळली नाहीत import_products: अनेक उत्पादने आयात करा diff --git a/config/locales/nb.yml b/config/locales/nb.yml index 8a6df19b49..12031b9e04 100644 --- a/config/locales/nb.yml +++ b/config/locales/nb.yml @@ -772,13 +772,6 @@ nb: prompt: "Dette vil fjerne den permanent fra listen din." confirmation_text: "Slett variant" cancellation_text: "Behold variant" - sort: - pagination: - total_html: "%{total} produkter funnet for søkekriteriene dine. Viser %{from} til %{to} ." - per_page: - show: Vis - per_page: "%{num} per side" - clear_search: Tøm søk filters: search_products: Søk etter produkter search_for_producers: Søk etter produsenter @@ -790,6 +783,13 @@ nb: categories: label: Kategorier search: Søk + sort: + pagination: + total_html: "%{total} produkter funnet for søkekriteriene dine. Viser %{from} til %{to} ." + per_page: + show: Vis + per_page: "%{num} per side" + clear_search: Tøm søk no_products: no_products_found: Ingen produkter funnet import_products: Importer flere produkter diff --git a/config/locales/nl_BE.yml b/config/locales/nl_BE.yml index a2f751a224..f0963fec77 100644 --- a/config/locales/nl_BE.yml +++ b/config/locales/nl_BE.yml @@ -538,15 +538,15 @@ nl_BE: index: header: title: Beheer van de productencatalogus - sort: - pagination: - clear_search: Verwijder zoektermen filters: producers: label: Producenten categories: label: Categorieën search: Zoeken + sort: + pagination: + clear_search: Verwijder zoektermen table: new_variant: Nieuw variant edit_image: diff --git a/config/locales/pa.yml b/config/locales/pa.yml index 3cf84df5f6..fe3aa51982 100644 --- a/config/locales/pa.yml +++ b/config/locales/pa.yml @@ -745,13 +745,6 @@ pa: header: title: ਥੋਕ ਸੰਪਾਦਿਤ ਉਤਪਾਦ loading: ਤੁਹਾਡੇ ਉਤਪਾਦ ਲੋਡ ਕੀਤੇ ਜਾ ਰਹੇ ਹਨ - sort: - pagination: - total_html: "ਤੁਹਾਡੇ ਖੋਜ ਮਾਪਦੰਡ ਲਈ %{total} ਉਤਪਾਦ ਮਿਲੇ ਹਨ। %{from} ਤੋਂ %{to} ਦਿਖਾ ਰਹੇ ਹਨ।" - per_page: - show: ਵਿਖਾਓ - per_page: "%{num} ਪ੍ਰਤੀ ਪੇਜ" - clear_search: ਖੋਜ ਮਿਟਾਓ filters: search_products: ਉਤਪਾਦਾਂ ਦੀ ਖੋਜ ਕਰੋ all_producers: ਸਾਰੇ ਉਤਪਾਦਕ @@ -761,6 +754,13 @@ pa: categories: label: ਸ਼੍ਰੇਣੀਆਂ search: ਖੋਜੋ + sort: + pagination: + total_html: "ਤੁਹਾਡੇ ਖੋਜ ਮਾਪਦੰਡ ਲਈ %{total} ਉਤਪਾਦ ਮਿਲੇ ਹਨ। %{from} ਤੋਂ %{to} ਦਿਖਾ ਰਹੇ ਹਨ।" + per_page: + show: ਵਿਖਾਓ + per_page: "%{num} ਪ੍ਰਤੀ ਪੇਜ" + clear_search: ਖੋਜ ਮਿਟਾਓ no_products: no_products_found: ਕੋਈ ਉਤਪਾਦ ਨਹੀਂ ਲੱਭੇ import_products: ਇੱਕ ਤੋਂ ਜ਼ਿਆਦਾ ਉਤਪਾਦ ਇਮਪੋਰਟ ਕਰੋ diff --git a/config/locales/pt_BR.yml b/config/locales/pt_BR.yml index 538e9b0b38..3d0c210474 100644 --- a/config/locales/pt_BR.yml +++ b/config/locales/pt_BR.yml @@ -619,13 +619,13 @@ pt_BR: index: header: title: Editar Produtos em Atacado - sort: - pagination: - clear_search: Nova busca filters: producers: label: Produtores search: Buscar + sort: + pagination: + clear_search: Nova busca edit_image: close: Voltar product_import: diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 175c49a271..aed986d8b5 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -516,6 +516,7 @@ ru: unit_scale: Единицы unit: Единица измерения unit_value: Значение товара + display_as: Отображать единицы как price: Цена producer: Производитель category: Категория @@ -607,6 +608,9 @@ ru: has_n_rules: "имеет %{num} правил" unsaved_confirm_leave: "На этой странице есть несохранённые изменения. Продолжить без сохранения?" available_units: "Доступные Единицы" + terms_of_service_have_been_updated_html: "Обновлены Условия Сервиса Открытой Сети Продуктов: %{tos_link}" + terms_of_service: Прочтите Условия Сервиса + accept_terms_of_service: Принять Условия Сервиса shopfront_settings: embedded_shopfront_settings: "Настройки Встроенного Магазина" enable_embedded_shopfronts: "Включить Встроенные Витрины" @@ -694,6 +698,10 @@ ru: your_content: Ваше Содержимое user_guide: Руководство Пользователя map: Карта + dfc_product_imports: + index: + title: "Импорт каталога продуктов DFC" + imported_products: "Внесенные товары:" enterprise_fees: index: title: "Сборы Предприятия" @@ -760,22 +768,67 @@ ru: header: title: Массовое редактирование товаров loading: Загрузка ваших товаров - sort: - pagination: - clear_search: Сбросить поиск + delete_modal: + delete_product_modal: + heading: "Удалить товар" + prompt: "Это навсегда удалит его из вашего списка." + confirmation_text: "Удалить товар" + cancellation_text: "Сохранить товар" + delete_variant_modal: + heading: "Удалить вариант" + prompt: "Это навсегда удалит его из вашего списка." + confirmation_text: "Удалить вариант" + cancellation_text: "Сохранить вариант" filters: + search_products: Поиск товаров + search_for_producers: Поиск производителей + all_producers: Все производители + search_for_categories: Поиск категорий + all_categories: Все категории producers: label: Производители categories: label: Категории search: Поиск + sort: + pagination: + total_html: "%{total} товаров найдено по вашим критериям поиска. Показаны %{from} до %{to} ." + per_page: + show: Показывать + per_page: "%{num} на странице" + clear_search: Сбросить поиск no_products: no_products_found: Товары не найдены import_products: Импорт нескольких товаров + no_products_found_for_search: По вашим критериям поиска товары не найдены table: + changed_summary: + one: "%{count} товар изменен." + other: "%{count} товары изменены." + error_summary: + saved: + one: "%{count} товар был сохранен правильно, но " + other: "%{count} товары сохранились корректно, но " + invalid: + one: "%{count} продукт не удалось сохранить. Пожалуйста, просмотрите ошибки и повторите попытку." + few: "%{count} продукты не удалось сохранить. Пожалуйста, просмотрите ошибки и повторите попытку." + many: "%{count} продукты не удалось сохранить. Пожалуйста, просмотрите ошибки и повторите попытку." + other: "%{count} товары не удалось сохранить. Пожалуйста, просмотрите ошибки и повторите попытку." + reset: Отменить изменения + save: Сохранить изменения new_variant: Новый вариант + bulk_update: + success: Изменения сохранены edit_image: + title: Изменить фотографию товара close: Назад + upload: Загрузить фото + delete_product: + success: Товар успешно удален + error: Невозможно удалить товар + delete_variant: + success: Вариант успешно удален. + error: Невозможно удалить вариант product_import: title: Импорт Товара file_not_found: Файл не найден или не может быть открыт @@ -818,7 +871,9 @@ ru: tax_categories: Налоговые Категории shipping_categories: Категории Доставки dfc_import_form: + title: "Импорт из каталога DFC" enterprise: "Предприятие" + catalog_url: "URL-адрес каталога DFC" import: "Импорт" import: review: Просмотр @@ -921,6 +976,7 @@ ru: orders: edit: order_sure_want_to: Вы уверены, что хотите %{event} этот заказ? + voucher_tax_included_in_price: "%{label} (налог включен в купон)" invoice_email_sent: 'Письмо Счета отправлено' order_email_resent: 'Письмо Заказа отправлено' bulk_management: @@ -1023,6 +1079,7 @@ ru: images: legend: "Изображения" logo: Логотип + logo_size: "300 х 300 пикселей" promo_image_placeholder: 'Это изображение будет отображаться в "О Нас"' promo_image_note1: 'ОБРАТИТЕ ВНИМАНИЕ:' promo_image_note2: Любое загруженное здесь промо изображение будет обрезано до 1200x260. @@ -1127,6 +1184,7 @@ ru: open_date: "Время Открытия" close_date: "Время Закрытия" display_ordering_in_shopfront: "Отображение заказа на витрине:" + shopfront_sort_by_product: "По товару" shopfront_sort_by_category: "По категории" shopfront_sort_by_producer: "По производителю" shopfront_sort_by_category_placeholder: "Категория" @@ -1209,7 +1267,16 @@ ru: custom_tab_title: "Название пользовательской вкладки" custom_tab_content: "Контент для пользовательской вкладки" connected_apps: + legend: "Подключенные приложения" + title: "Discover Regenerative" + tagline: "Разрешите Discover Regenerative публиковать информацию о вашем предприятии." + enable: "Разрешить обмен данными" + disable: "Прекратить обмен данными" loading: "Загружается" + note: | + Ваша учетная запись Открытой Сети Продуктов подключена к Discover Regenerative. + Добавьте или обновите информацию о своем списке Discover Regenerative здесь. + link_label: "Управление списком" actions: edit_profile: Настройки properties: Свойства @@ -1439,6 +1506,8 @@ ru: has_no_payment_methods: "%{enterprise} не имеет способов оплаты" has_no_shipping_methods: "%{enterprise} не имеет способов доставки" has_no_enterprise_fees: "%{enterprise} не имеет сборов предприятия" + flashes: + dismiss: Отклонять side_menu: enterprise: primary_details: "Основная Информация" @@ -1459,6 +1528,7 @@ ru: users: "Пользователи" vouchers: Купоны white_label: "Белая Этикетка" + connected_apps: "Подключенные приложения" enterprise_group: primary_details: "Основная Информация" users: "Пользователи" @@ -1542,6 +1612,7 @@ ru: name: "Сводка Сборов Предприятия" description: "Сводная Информация о Сборах с Предприятия" enterprise_fees_with_tax_report_by_order: "Сборы Предприятия с Налоговым Отчетом по Заказу" + enterprise_fees_with_tax_report_by_producer: "Комиссионные Сборы Предприятия С Налоговым Отчетом По Производителю" errors: no_report_type: "Укажите тип отчета" report_not_found: "Отчет не найден" @@ -1578,9 +1649,15 @@ ru: index: title: "Настройки OIDC" connect: "Подключить свою учетную запись" + disconnect: "Отключить" + connected: "Ваша учетная запись связана с %{uid} ." les_communs_link: "Les Communs Open ID сервер" link_your_account: "Сначала вам необходимо связать свою учетную запись с поставщиком авторизации, используемым DFC (Les Communs Open ID Connect)." link_account_button: "Свяжите свою учетную запись Les Communs OIDC" + note_expiry: | + Срок действия токенов для доступа к подключенным приложениям истек. Пожалуйста, обновите ваше + подключение учетной записи для поддержания работы всех интеграций. + refresh: "Обновить авторизацию" view_account: "Чтобы просмотреть свою учетную запись, см.:" subscriptions: index: @@ -1685,6 +1762,9 @@ ru: save: Сохранить voucher_code: Код Купона voucher_amount: Количество + voucher_type: Тип Купона + flat_rate: Плоский + percentage_rate: Процент (%) controllers: enterprises: stripe_connect_cancelled: "Подключение к Stripe было отменено" @@ -1891,21 +1971,26 @@ ru: invoice_column_price: "Цена" invoice_column_item: "Позиция" invoice_column_qty: "Кол-во" + invoice_column_weight_volume: "Вес / ОБЪЕМ." invoice_column_unit_price_with_taxes: "Цена за единицу (Вкл. налоги)" invoice_column_unit_price_without_taxes: "Цена за единицу (Искл. налоги)" invoice_column_price_with_taxes: "Итоговая цена (Искл. налоги)" invoice_column_price_without_taxes: "Итоговая цена (Вкл. налоги)" + invoice_column_price_per_unit_without_taxes: "Цена За Единицу (без налога)" invoice_column_tax_rate: "Налоговая ставка" invoice_tax_total: "Всего налогов:" + invoice_cancel_and_replace_invoice: "отменяет и заменяет счет" tax_invoice: "СЧЁТ" tax_total: "Всего налога (%{rate}):" invoice_shipping_category_delivery: "Доставка" invoice_shipping_category_pickup: "Самовывоз" total_excl_tax: "Всего (Искл. налог):" total_incl_tax: "Всего (Вкл. налог):" + total_all_tax: "Общий налог:" abn: "ИНН" acn: "Юридическое название" invoice_issued_on: "Счёт выписан:" + order_number: "Номер заказа:" date_of_transaction: "Дата операции:" menu_1_title: "Магазины" menu_1_url: "/shops" @@ -2118,6 +2203,9 @@ ru: order_back_to_store: Назад В Магазин order_back_to_cart: Назад В Корзину order_back_to_website: Вернуться На Сайт + checkout_details_title: Детали Заказа + checkout_payment_title: Оплата Заказа + checkout_summary_title: Информация по заказу bom_tip: "Используйте эту страницу для изменения количества товара в нескольких заказах. Если необходимо, Товары могут быть полностью удалены из заказов." unsaved_changes_warning: "Есть несохраненные изменения, которые будут потеряны, если вы продолжите." unsaved_changes_error: "Поля с красными границами содержат ошибки." @@ -2980,6 +3068,11 @@ ru: report_header_transaction_fee: Комиссия за Операцию (без налога) report_header_total_untaxable_admin: Всего необлагаемых налогом административных корректировок (без налогов) report_header_total_taxable_admin: Всего налогооблагаемых административных корректировок (включая налоги) + report_header_voucher_label: Этикетка Купона + report_header_voucher_amount: "Сумма Купона ( %{currency_symbol} )" + report_line_cost_of_produce: Стоимость продукции + report_line_line_items: позиции + report_header_last_completed_order_date: Дата последнего выполненного заказа report_xero_configuration: Xero Конфигурация initial_invoice_number: "Начальный номер счета" invoice_date: "Дата Счёта" @@ -3062,10 +3155,12 @@ ru: no_orders_found: "Заказов Не Найдено" order_information: "Информация по Заказу" new_payment: "Новый Платёж" + create_or_update_invoice: "Создать или Обновить счет" date_completed: "Дата Завершения" amount: "К оплате" invoice_number: "Номер Счета" invoice_file: "Файл" + invalid_url: "' %{url} ' — неверный URL-адрес." state_names: ready: Готово pending: В ожидании @@ -3237,6 +3332,8 @@ ru: select_all_variants: "Выбрать Все %{total_number_of_variants} Варианты" variants_loaded: "Загружено %{num_of_variants_loaded} из %{total_number_of_variants} Вариантов" loading_variants: "Загрузка Вариантов" + no_variants: "Для этого товара нет доступных вариантов (скрыт в настройках инвентаря)." + some_variants_hidden: "(Некоторые варианты могут быть скрыты в настройках инвентаря)" tag_rules: shipping_method_tagged_top: "Способы доставки помечены" shipping_method_tagged_bottom: "являются:" @@ -3293,6 +3390,7 @@ ru: processing: "в обработке" void: "аннулирован" invalid: "Недействительный" + quantity_unavailable: "Недостаточно товаров на складе. Позиция не сохранена!" quantity_unchanged: "Количество не изменилось по сравнению с предыдущим." cancel_the_order_html: "Это отменит текущий заказ.
Вы уверены, что хотите продолжить?" cancel_the_order_send_cancelation_email: "Отправить клиенту электронное письмо об отмене" @@ -3649,6 +3747,7 @@ ru: success: Конечная точка веб-хука успешно удалена error: Не удалось удалить конечную точку веб-хука. spree: + order_updated: "Заказ Обновлен" add_country: "Добавить страну" add_state: "Добавить область" adjustment: "Корректирование" @@ -3692,6 +3791,8 @@ ru: start_date: "Дата начала" successfully_removed: "Успешно удалено" taxonomy_edit: "Изменить таксономию" + taxonomy_tree_error: "Произошла ошибка при обновлении дерева таксономии." + taxonomy_tree_instruction: "Щелкните правой кнопкой мыши элемент, чтобы добавить, переименовать, удалить или отредактировать." tree: "Дерево" updating: "Обновление" your_order_is_empty_add_product: "Ваша корзина пуста, пожалуйста, найдите и добавьте товар выше" @@ -3744,6 +3845,7 @@ ru: credit_card: "Кредитная Карта" new_payment: "Новый Платёж" capture: "Capture" + capture_and_complete_order: "Применить и завершить заказ" void: "Void" login: "Войти" password: "Пароль" @@ -3985,6 +4087,9 @@ ru: add_product: cannot_add_item_to_canceled_order: "Невозможно добавить товар в отмененный заказ" include_out_of_stock_variants: "Включить варианты, которых нет в наличии" + shipment: + mark_as_shipped_message_html: "Заказ будет помечен как Отправленный.
Вы уверены, что хотите продолжить?" + mark_as_shipped_label_message: "Отправить клиенту сообщение об отправке/выдаче." index: listing_orders: "Список Заказов" new_order: "Новый Заказ" @@ -4025,10 +4130,12 @@ ru: from: "От" to: "Плательщик" shipping: "Доставка" + order_number: "Номер Заказа" invoice_number: "Номер Счета" payments_list: date_time: "Дата/Время" payment_method: "Способ оплаты" + payment_state: "Состояние оплаты" amount: "Количество" note: note_label: "Примечание:" @@ -4041,6 +4148,9 @@ ru: line_item_adjustments: "Корректировки позиции" order_adjustments: "Корректировки Заказа" order_total: "Весь заказ" + invoices: + index: + order_has_changed: "Заказ изменился с момента последнего обновления счета. Показанный здесь счет, возможно, уже неактуален." overview: enterprises_header: ofn_with_tip: Предприятия являются Производителями и/или Центрами и являются основной единицей организации в рамках Открытой Сети Продуктов. @@ -4049,6 +4159,7 @@ ru: has_no_payment_methods: "нет способов оплаты" has_no_shipping_methods: "нет способов доставки" products: + products_tip: "Товары, которые вы продаете через Открытую Сеть Продуктов." active_products: zero: "У Вас нет активных товаров." one: "У Вас один активный товар." @@ -4201,6 +4312,8 @@ ru: bulk_unit_size: Размер оптовой еденицы display_as: display_as: Показывать Как + clone: + success: Товар клонирован reports: table: select_and_search: "Для получения данных, выберите фильры и нажмите на %{option}." @@ -4228,6 +4341,7 @@ ru: enterprise_limit: "Ограничение Предприятий" confirm_password: "Подтвердить пароль" password: "Пароль" + locale: "Язык" email_confirmation: confirmation_pending: "Ожидается подтверждение по электронной почте. Мы отправили электронное письмо с подтверждением на %{address}." variants: diff --git a/config/locales/tr.yml b/config/locales/tr.yml index f2416934ea..5291704f82 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -599,15 +599,15 @@ tr: index: header: title: Ürünleri Toplu Düzenleme - sort: - pagination: - clear_search: Aramayı temizle filters: producers: label: ÜRETİCİLER categories: label: Kategoriler search: Ara + sort: + pagination: + clear_search: Aramayı temizle table: new_variant: Yeni Çeşit edit_image: diff --git a/config/locales/uk.yml b/config/locales/uk.yml index 5cc77b2c80..13ecc3e1db 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -684,15 +684,15 @@ uk: index: header: title: Масове редагування продуктів - sort: - pagination: - clear_search: Очистити пошук filters: producers: label: Виробники categories: label: Категорії search: Пошук + sort: + pagination: + clear_search: Очистити пошук table: new_variant: Новий варіант edit_image: From 81274bd0753d74ae155fef8e0a79fb16ef4a49d5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 09:37:37 +0000 Subject: [PATCH 322/374] chore(deps): bump view_component from 3.11.0 to 3.12.0 --- updated-dependencies: - dependency-name: view_component dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index a7abc392a2..7de6d6390c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -778,7 +778,7 @@ GEM validates_lengths_from_database (0.8.0) activerecord (>= 4) vcr (6.2.0) - view_component (3.11.0) + view_component (3.12.0) activesupport (>= 5.2.0, < 8.0) concurrent-ruby (~> 1.0) method_source (~> 1.0) From 7fdf6f4607e1f8fcb95e198285b66ac7a4c3ec17 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 09:44:15 +0000 Subject: [PATCH 323/374] chore(deps): bump mini_portile2 from 2.8.5 to 2.8.6 Bumps [mini_portile2](https://github.com/flavorjones/mini_portile) from 2.8.5 to 2.8.6. - [Release notes](https://github.com/flavorjones/mini_portile/releases) - [Changelog](https://github.com/flavorjones/mini_portile/blob/main/CHANGELOG.md) - [Commits](https://github.com/flavorjones/mini_portile/compare/v2.8.5...v2.8.6) --- updated-dependencies: - dependency-name: mini_portile2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index a7abc392a2..a1a03573e7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -415,7 +415,7 @@ GEM rake mini_magick (4.11.0) mini_mime (1.1.5) - mini_portile2 (2.8.5) + mini_portile2 (2.8.6) minitest (5.22.3) monetize (1.13.0) money (~> 6.12) From bdbc9ae28b32e8652b0e649f5e576c131b3474a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 09:45:11 +0000 Subject: [PATCH 324/374] chore(deps-dev): bump foreman from 0.87.2 to 0.88.1 Bumps [foreman](https://github.com/ddollar/foreman) from 0.87.2 to 0.88.1. - [Changelog](https://github.com/ddollar/foreman/blob/main/Changelog.md) - [Commits](https://github.com/ddollar/foreman/compare/v0.87.2...v0.88.1) --- updated-dependencies: - dependency-name: foreman dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index a7abc392a2..8b0ccb745f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -312,7 +312,7 @@ GEM fog-xml (0.1.3) fog-core nokogiri (>= 1.5.11, < 2.0.0) - foreman (0.87.2) + foreman (0.88.1) formatador (0.2.5) fugit (1.8.1) et-orbi (~> 1, >= 1.2.7) From 5420910907dd4477d2cf4726fdaf89f62a7a546b Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Dec 2023 12:05:09 +0000 Subject: [PATCH 325/374] Adds output from i18n-tasks on missing keys --- missing_keys.txt | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 missing_keys.txt diff --git a/missing_keys.txt b/missing_keys.txt new file mode 100644 index 0000000000..6e7c5445e8 --- /dev/null +++ b/missing_keys.txt @@ -0,0 +1,55 @@ ++--------+------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ +| Locale | Key | Value in other locales or source | ++--------+------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ +| all | admin.: | app/views/spree/admin/variants/_form.html.haml:11 | +| all | admin.customers.index.: | app/assets/javascripts/admin/customers/controllers/customers_controller.js.coffee:54 | +| all | admin.stripe_connect_settings.edit.instance_publishable_key | app/views/admin/stripe_connect_settings/edit.html.haml:44 | +| all | card_code | app/views/spree/admin/payments/source_forms/_gateway.html.haml:39 | +| all | card_type_is | app/views/spree/admin/payments/source_forms/_gateway.html.haml:23 | +| all | checkout.step1.your_details.first_name.label | app/views/checkout/payment/_gateway.html.haml:3 | +| all | checkout.step1.your_details.first_name.placeholder | app/views/checkout/payment/_gateway.html.haml:4 | +| all | checkout.step1.your_details.last_name.label | app/views/checkout/payment/_gateway.html.haml:8 | +| all | checkout.step1.your_details.last_name.placeholder | app/views/checkout/payment/_gateway.html.haml:9 | +| all | connect_body | app/views/home/_connect.html.haml:5 | +| all | connect_cta | app/views/home/_connect.html.haml:7 | +| all | continue_shopping | app/views/spree/orders/edit.html.haml:32 | +| all | devise.shared.links.didn_t_receive_confirmation_instructions | app/views/devise/shared/_links.html.erb:14 | +| all | devise.shared.links.didn_t_receive_unlock_instructions | app/views/devise/shared/_links.html.erb:18 | +| all | devise.shared.links.forgot_your_password | app/views/devise/shared/_links.html.erb:10 | +| all | devise.shared.links.sign_in | app/views/devise/shared/_links.html.erb:2 | +| all | devise.shared.links.sign_up | app/views/devise/shared/_links.html.erb:6 | +| all | expiration | app/views/spree/admin/payments/source_forms/_gateway.html.haml:34 | +| all | footer_links_helper.cookies_policy_link.footer_data_cookies_policy | app/helpers/footer_links_helper.rb:7 | +| all | footer_links_helper.privacy_policy_link.footer_data_privacy_policy | app/helpers/footer_links_helper.rb:15 | +| all | inflections | app/assets/javascripts/admin/products/services/option_value_namer.js.coffee:42 | +| all | js.admin.enterprises.form.images.: | app/assets/javascripts/admin/enterprises/controllers/enterprise_controller.js.coffee:76 | +| all | js.admin.orders.order_state.: | app/views/spree/admin/orders/_table_row.html.haml:23 | +| all | js.admin.orders.payment_states.: | app/views/spree/admin/orders/_table_row.html.haml:28 | +| all | js.admin.orders.shipment_states.: | app/views/spree/admin/orders/_table_row.html.haml:35 | +| all | js.subscriptions.: | app/assets/javascripts/admin/subscriptions/controllers/order_update_issues_controller.js.coffee:10 | +| all | label_connect | app/views/home/_connect.html.haml:4 | +| all | label_learn | app/views/home/_learn.html.haml:4 | +| all | learn_body | app/views/home/_learn.html.haml:5 | +| all | learn_cta | app/views/home/_learn.html.haml:7 | +| all | meta_description | app/views/spree/admin/taxons/_form.html.haml:20 | +| all | meta_keywords | app/views/spree/admin/taxons/_form.html.haml:24 | +| all | meta_title | app/views/spree/admin/taxons/_form.html.haml:16 | +| all | order_has_no_payments | app/views/spree/admin/payments/index.html.haml:24 | +| all | order_not_found | app/controllers/spree/orders_controller.rb:63 | +| all | paypal.spree.admin.payments.source_forms.paypal.no_payment_via_admin_backend | app/views/spree/admin/payments/source_forms/_paypal.html.haml:2 | +| all | spree.admin.payment_methods.form.: | app/views/spree/admin/payment_methods/_form.html.haml:26 | +| all | spree.admin.payment_methods.index.: | app/views/spree/admin/payment_methods/index.html.haml:43 | +| all | spree.admin.return_authorizations.states.: | app/views/spree/admin/return_authorizations/edit.html.haml:18 | +| all | spree.back_to_states_list | app/views/spree/admin/states/edit.html.haml:10 | +| all | spree.country_name | app/views/spree/admin/countries/index.html.haml:14 | +| all | spree.editing_state | app/views/spree/admin/states/edit.html.haml:4 | +| all | spree.path | app/views/spree/admin/taxons/_taxon_table.html.haml:5 | +| all | spree.remove | app/views/spree/admin/taxons/_taxon_table.html.haml:15 | +| all | spree.shipment_mailer.base_subject.picked_up_subject | app/mailers/spree/shipment_mailer.rb:15 | +| all | spree.taxon_edit | app/views/spree/admin/taxons/edit.html.haml:4 | +| all | thank_you_for_your_order | app/views/spree/orders/show.html.haml:26 | +| all | unrecognized_card_type | app/views/spree/admin/payments/source_forms/_gateway.html.haml:25 | +| all | use_new_cc | app/views/spree/admin/payments/source_forms/_gateway.html.haml:10 | +| all | what_is_this | app/views/spree/admin/payments/source_forms/_gateway.html.haml:42 | +| all | your_cart_is_empty | app/views/spree/orders/edit.html.haml:31 | ++--------+------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ From 3e27a34971100831ebda8e803e48ad800c306391 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Dec 2023 12:10:16 +0000 Subject: [PATCH 326/374] Adds missing key instance_publishable_key --- config/locales/en.yml | 1 + missing_keys.txt | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 162f65d273..bfbb44fcf4 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -712,6 +712,7 @@ en: status: Status ok: Ok instance_secret_key: Instance Secret Key + instance_publishable_key: Instance Publishable Key account_id: Account ID business_name: Business Name charges_enabled: Charges Enabled diff --git a/missing_keys.txt b/missing_keys.txt index 6e7c5445e8..8870adb9f0 100644 --- a/missing_keys.txt +++ b/missing_keys.txt @@ -1,9 +1,9 @@ +--------+------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ | Locale | Key | Value in other locales or source | +--------+------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ -| all | admin.: | app/views/spree/admin/variants/_form.html.haml:11 | -| all | admin.customers.index.: | app/assets/javascripts/admin/customers/controllers/customers_controller.js.coffee:54 | -| all | admin.stripe_connect_settings.edit.instance_publishable_key | app/views/admin/stripe_connect_settings/edit.html.haml:44 | +| all | admin.: | app/views/spree/admin/variants/_form.html.haml:11 | = label_tag :unit_value_human, "#{t('admin.'+@product.variant_unit)} ({{unitName(#{@product.variant_unit_scale}, '#{@product.variant_unit}')}})", seems to be a false positive... +| all | admin.customers.index.: | app/assets/javascripts/admin/customers/controllers/customers_controller.js.coffee:54 | t('admin.customers.index.' + customer.balance_status), seems to be a false positive... +| all | admin.stripe_connect_settings.edit.instance_publishable_key | app/views/admin/stripe_connect_settings/edit.html.haml:44 | seems missing, added! | all | card_code | app/views/spree/admin/payments/source_forms/_gateway.html.haml:39 | | all | card_type_is | app/views/spree/admin/payments/source_forms/_gateway.html.haml:23 | | all | checkout.step1.your_details.first_name.label | app/views/checkout/payment/_gateway.html.haml:3 | From 8db716f047e68a0115bb07cdec21a242a62bf381 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 18 Mar 2024 15:20:56 +0000 Subject: [PATCH 327/374] Adds missing key card_type_is --- config/locales/en.yml | 1 + missing_keys.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index bfbb44fcf4..27ec1ca85a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -264,6 +264,7 @@ en: not_available_to_shop: "is not available to %{shop}" card_details: "Card details" card_type: "Card type" + card_type_is: "Card type is" cardholder_name: "Cardholder name" community_forum_url: "Community forum URL" customer_instructions: "Customer instructions" diff --git a/missing_keys.txt b/missing_keys.txt index 8870adb9f0..3169e27f9c 100644 --- a/missing_keys.txt +++ b/missing_keys.txt @@ -4,8 +4,8 @@ | all | admin.: | app/views/spree/admin/variants/_form.html.haml:11 | = label_tag :unit_value_human, "#{t('admin.'+@product.variant_unit)} ({{unitName(#{@product.variant_unit_scale}, '#{@product.variant_unit}')}})", seems to be a false positive... | all | admin.customers.index.: | app/assets/javascripts/admin/customers/controllers/customers_controller.js.coffee:54 | t('admin.customers.index.' + customer.balance_status), seems to be a false positive... | all | admin.stripe_connect_settings.edit.instance_publishable_key | app/views/admin/stripe_connect_settings/edit.html.haml:44 | seems missing, added! -| all | card_code | app/views/spree/admin/payments/source_forms/_gateway.html.haml:39 | -| all | card_type_is | app/views/spree/admin/payments/source_forms/_gateway.html.haml:23 | +| all | card_code | app/views/spree/admin/payments/source_forms/_gateway.html.haml:39 | dynamic key, looks like a false positive. +| all | card_type_is | app/views/spree/admin/payments/source_forms/_gateway.html.haml:23 | key missing from en.yml, added. | all | checkout.step1.your_details.first_name.label | app/views/checkout/payment/_gateway.html.haml:3 | | all | checkout.step1.your_details.first_name.placeholder | app/views/checkout/payment/_gateway.html.haml:4 | | all | checkout.step1.your_details.last_name.label | app/views/checkout/payment/_gateway.html.haml:8 | From 9926b65bd9d3f39381f4ba2bb919e70c9c995afe Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 18 Mar 2024 15:34:14 +0000 Subject: [PATCH 328/374] Removes unused haml file --- app/views/checkout/payment/_gateway.html.haml | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 app/views/checkout/payment/_gateway.html.haml diff --git a/app/views/checkout/payment/_gateway.html.haml b/app/views/checkout/payment/_gateway.html.haml deleted file mode 100644 index e2e1f8412d..0000000000 --- a/app/views/checkout/payment/_gateway.html.haml +++ /dev/null @@ -1,27 +0,0 @@ -= f.fields :bill_address, model: @order.bill_address do |bill_address| - %div.checkout-input - = bill_address.label :firstname, t("checkout.step1.your_details.first_name.label") - = bill_address.text_field :firstname, { placeholder: t("checkout.step1.your_details.first_name.placeholder") } - = f.error_message_on "bill_address.firstname" - - %div.checkout-input - = bill_address.label :lastname, t("checkout.step1.your_details.last_name.label") - = bill_address.text_field :lastname, { placeholder: t("checkout.step1.your_details.last_name.placeholder") } - = f.error_message_on "bill_address.lastname" - -.flex{style: "justify-content: space-between; gap: 10px;" } - %div.checkout-input{style: "flex-grow: 2;" } - = f.label :card_number, t("checkout.step2.form.card_number.label") - = f.text_field :card_number, { placeholder: t("checkout.step2.form.card_number.placeholder") } - - %div.checkout-input{style: "flex: 0 1 100px;"} - = f.label :card_verification_value, t("checkout.step2.form.card_verification_value.label") - = f.number_field :card_verification_value, { placeholder: t("checkout.step2.form.card_verification_value.placeholder") } - - %div.checkout-input{style: "flex: 0 1 70px;"} - = f.label :card_month, t("checkout.step2.form.card_month.label") - = f.number_field :card_month, { placeholder: t("checkout.step2.form.card_month.placeholder"), max: 12 } - - %div.checkout-input{style: "flex: 0 1 70px;"} - = f.label :card_year, t("checkout.step2.form.card_year.label") - = f.number_field :card_year, { placeholder: t("checkout.step2.form.card_year.placeholder"), min: Time.now.year, max: Time.now.year + 10 } From e1823650063b6077a0cb56736220b74e86f5d83f Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 18 Mar 2024 17:04:29 +0000 Subject: [PATCH 329/374] Replaces missing keys by existing ones --- app/views/spree/orders/edit.html.haml | 4 ++-- missing_keys.txt | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/spree/orders/edit.html.haml b/app/views/spree/orders/edit.html.haml index ddde898e32..fb50b995eb 100644 --- a/app/views/spree/orders/edit.html.haml +++ b/app/views/spree/orders/edit.html.haml @@ -28,8 +28,8 @@ #cart-container - if @order.line_items.empty? %div.row - %p= t(:your_cart_is_empty) - %p= link_to t(:continue_shopping), current_shop_products_path, :class => 'button continue' + %p= t(:cart_empty) + %p= link_to t(:orders_edit_continue), current_shop_products_path, :class => 'button continue' - else %div diff --git a/missing_keys.txt b/missing_keys.txt index 3169e27f9c..b418572e8c 100644 --- a/missing_keys.txt +++ b/missing_keys.txt @@ -6,13 +6,13 @@ | all | admin.stripe_connect_settings.edit.instance_publishable_key | app/views/admin/stripe_connect_settings/edit.html.haml:44 | seems missing, added! | all | card_code | app/views/spree/admin/payments/source_forms/_gateway.html.haml:39 | dynamic key, looks like a false positive. | all | card_type_is | app/views/spree/admin/payments/source_forms/_gateway.html.haml:23 | key missing from en.yml, added. -| all | checkout.step1.your_details.first_name.label | app/views/checkout/payment/_gateway.html.haml:3 | -| all | checkout.step1.your_details.first_name.placeholder | app/views/checkout/payment/_gateway.html.haml:4 | -| all | checkout.step1.your_details.last_name.label | app/views/checkout/payment/_gateway.html.haml:8 | -| all | checkout.step1.your_details.last_name.placeholder | app/views/checkout/payment/_gateway.html.haml:9 | -| all | connect_body | app/views/home/_connect.html.haml:5 | -| all | connect_cta | app/views/home/_connect.html.haml:7 | -| all | continue_shopping | app/views/spree/orders/edit.html.haml:32 | +| all | checkout.step1.your_details.first_name.label | app/views/checkout/payment/_gateway.html.haml:3 | - seems to be an unused key/file, file removed. +| all | checkout.step1.your_details.first_name.placeholder | app/views/checkout/payment/_gateway.html.haml:4 | - seems to be an unused key/file, file removed. +| all | checkout.step1.your_details.last_name.label | app/views/checkout/payment/_gateway.html.haml:8 | - seems to be an unused key/file, file removed. +| all | checkout.step1.your_details.last_name.placeholder | app/views/checkout/payment/_gateway.html.haml:9 | - seems to be an unused key/file, file removed. +| all | connect_body | app/views/home/_connect.html.haml:5 | - seem to be missing - NEEDS ISSUE +| all | connect_cta | app/views/home/_connect.html.haml:7 | - seem to be missing - NEEDS ISSUE +| all | continue_shopping | app/views/spree/orders/edit.html.haml:32 | -replaced missing keys by existing ones | all | devise.shared.links.didn_t_receive_confirmation_instructions | app/views/devise/shared/_links.html.erb:14 | | all | devise.shared.links.didn_t_receive_unlock_instructions | app/views/devise/shared/_links.html.erb:18 | | all | devise.shared.links.forgot_your_password | app/views/devise/shared/_links.html.erb:10 | From acc036b1d7b7eccf87cc5197d42bd1ededaba738 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Mar 2024 12:30:20 +0000 Subject: [PATCH 330/374] Removes missing payement message I've checked staging, and I could not find this message, nor the entry in the en.yml file - I think we're not rendering this message currently, hence, the removal. --- app/views/spree/admin/payments/index.html.haml | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/views/spree/admin/payments/index.html.haml b/app/views/spree/admin/payments/index.html.haml index 98e00c102d..c3c52c2a23 100644 --- a/app/views/spree/admin/payments/index.html.haml +++ b/app/views/spree/admin/payments/index.html.haml @@ -20,5 +20,3 @@ - if @payments.any? = render partial: 'list', locals: { payments: @payments } -- else - .alpha.twelve.columns.no-objects-found= t(:order_has_no_payments) From b1e10f3dd466c2860b5012ba8de852284387a8c7 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Mar 2024 12:59:00 +0000 Subject: [PATCH 331/374] Replaces missing by existing key I'm not sure how to trigger this error, and triggering an update error message seems appropriate too - it's sort of an edge case, perhaps this is a valid approach --- app/controllers/spree/orders_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/spree/orders_controller.rb b/app/controllers/spree/orders_controller.rb index 7ac23f8222..af0738b17e 100644 --- a/app/controllers/spree/orders_controller.rb +++ b/app/controllers/spree/orders_controller.rb @@ -60,7 +60,7 @@ module Spree @insufficient_stock_lines = [] @order = order_to_update unless @order - flash[:error] = t(:order_not_found) + flash[:error] = t(:order_not_updated) redirect_to(main_app.root_path) && return end From eb82e30cf684f1f30425995cee64f2e56481415a Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Mar 2024 16:17:33 +0000 Subject: [PATCH 332/374] Adds keys spree.editing_state and spree.back_to_states_list --- config/locales/en.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/locales/en.yml b/config/locales/en.yml index 27ec1ca85a..f6910f595b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -3874,6 +3874,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using editing_tax_category: "Editing tax category" editing_tax_rate: "Editing tax rate" editing_zone: "Editing zone" + editing_state: "Editing State" expiration: "Expiration" invalid_payment_provider: "Invalid payment provider" items_cannot_be_shipped: "Items cannot be shipped" @@ -3911,6 +3912,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using resend: "Resend" back_to_orders_list: "Back To Orders List" back_to_payments_list: "Back To Payments List" + back_to_states_list: "Back To States List" return_authorizations: "Return Authorizations" cannot_create_returns: "Cannot create returns as this order has no shipped units." select_stock: "Select stock" From 8ca019d00c89e794a13475cabd8bd74dc220b490 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Mar 2024 16:20:36 +0000 Subject: [PATCH 333/374] updates missing translations txt file --- missing_keys.txt | 62 ++++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/missing_keys.txt b/missing_keys.txt index b418572e8c..7905f278ed 100644 --- a/missing_keys.txt +++ b/missing_keys.txt @@ -12,38 +12,38 @@ | all | checkout.step1.your_details.last_name.placeholder | app/views/checkout/payment/_gateway.html.haml:9 | - seems to be an unused key/file, file removed. | all | connect_body | app/views/home/_connect.html.haml:5 | - seem to be missing - NEEDS ISSUE | all | connect_cta | app/views/home/_connect.html.haml:7 | - seem to be missing - NEEDS ISSUE -| all | continue_shopping | app/views/spree/orders/edit.html.haml:32 | -replaced missing keys by existing ones -| all | devise.shared.links.didn_t_receive_confirmation_instructions | app/views/devise/shared/_links.html.erb:14 | -| all | devise.shared.links.didn_t_receive_unlock_instructions | app/views/devise/shared/_links.html.erb:18 | -| all | devise.shared.links.forgot_your_password | app/views/devise/shared/_links.html.erb:10 | -| all | devise.shared.links.sign_in | app/views/devise/shared/_links.html.erb:2 | -| all | devise.shared.links.sign_up | app/views/devise/shared/_links.html.erb:6 | -| all | expiration | app/views/spree/admin/payments/source_forms/_gateway.html.haml:34 | -| all | footer_links_helper.cookies_policy_link.footer_data_cookies_policy | app/helpers/footer_links_helper.rb:7 | -| all | footer_links_helper.privacy_policy_link.footer_data_privacy_policy | app/helpers/footer_links_helper.rb:15 | -| all | inflections | app/assets/javascripts/admin/products/services/option_value_namer.js.coffee:42 | -| all | js.admin.enterprises.form.images.: | app/assets/javascripts/admin/enterprises/controllers/enterprise_controller.js.coffee:76 | -| all | js.admin.orders.order_state.: | app/views/spree/admin/orders/_table_row.html.haml:23 | -| all | js.admin.orders.payment_states.: | app/views/spree/admin/orders/_table_row.html.haml:28 | -| all | js.admin.orders.shipment_states.: | app/views/spree/admin/orders/_table_row.html.haml:35 | -| all | js.subscriptions.: | app/assets/javascripts/admin/subscriptions/controllers/order_update_issues_controller.js.coffee:10 | -| all | label_connect | app/views/home/_connect.html.haml:4 | -| all | label_learn | app/views/home/_learn.html.haml:4 | -| all | learn_body | app/views/home/_learn.html.haml:5 | -| all | learn_cta | app/views/home/_learn.html.haml:7 | -| all | meta_description | app/views/spree/admin/taxons/_form.html.haml:20 | -| all | meta_keywords | app/views/spree/admin/taxons/_form.html.haml:24 | -| all | meta_title | app/views/spree/admin/taxons/_form.html.haml:16 | -| all | order_has_no_payments | app/views/spree/admin/payments/index.html.haml:24 | -| all | order_not_found | app/controllers/spree/orders_controller.rb:63 | -| all | paypal.spree.admin.payments.source_forms.paypal.no_payment_via_admin_backend | app/views/spree/admin/payments/source_forms/_paypal.html.haml:2 | -| all | spree.admin.payment_methods.form.: | app/views/spree/admin/payment_methods/_form.html.haml:26 | -| all | spree.admin.payment_methods.index.: | app/views/spree/admin/payment_methods/index.html.haml:43 | -| all | spree.admin.return_authorizations.states.: | app/views/spree/admin/return_authorizations/edit.html.haml:18 | -| all | spree.back_to_states_list | app/views/spree/admin/states/edit.html.haml:10 | -| all | spree.country_name | app/views/spree/admin/countries/index.html.haml:14 | +| all | continue_shopping | app/views/spree/orders/edit.html.haml:32 | - replaced missing keys by existing ones +| all | devise.shared.links.didn_t_receive_confirmation_instructions | app/views/devise/shared/_links.html.erb:14 | - unsure, asked here https://github.com/openfoodfoundation/openfoodnetwork/commit/b322df8#commitcomment-139961428 +| all | devise.shared.links.didn_t_receive_unlock_instructions | app/views/devise/shared/_links.html.erb:18 | - unsure, asked here https://github.com/openfoodfoundation/openfoodnetwork/commit/b322df8#commitcomment-139961428 +| all | devise.shared.links.forgot_your_password | app/views/devise/shared/_links.html.erb:10 | - unsure, asked here https://github.com/openfoodfoundation/openfoodnetwork/commit/b322df8#commitcomment-139961428 +| all | devise.shared.links.sign_in | app/views/devise/shared/_links.html.erb:2 | - unsure, asked here https://github.com/openfoodfoundation/openfoodnetwork/commit/b322df8#commitcomment-139961428 +| all | devise.shared.links.sign_up | app/views/devise/shared/_links.html.erb:6 | - unsure, asked here https://github.com/openfoodfoundation/openfoodnetwork/commit/b322df8#commitcomment-139961428 +| all | expiration | app/views/spree/admin/payments/source_forms/_gateway.html.haml:34 | - dynamic key, false positive +| all | footer_links_helper.cookies_policy_link.footer_data_cookies_policy | app/helpers/footer_links_helper.rb:7 | - dynamic key, false positive +| all | footer_links_helper.privacy_policy_link.footer_data_privacy_policy | app/helpers/footer_links_helper.rb:15 | - dynamic key, false positive +| all | inflections | app/assets/javascripts/admin/products/services/option_value_namer.js.coffee:42 | - dynamic key, false positive +| all | js.admin.enterprises.form.images.: | app/assets/javascripts/admin/enterprises/controllers/enterprise_controller.js.coffee:76 | - dynamic key, false positive +| all | js.admin.orders.order_state.: | app/views/spree/admin/orders/_table_row.html.haml:23 | - dynamic key, false positive +| all | js.admin.orders.payment_states.: | app/views/spree/admin/orders/_table_row.html.haml:28 | - dynamic key, false positive +| all | js.admin.orders.shipment_states.: | app/views/spree/admin/orders/_table_row.html.haml:35 | - dynamic key, false positive +| all | js.subscriptions.: | app/assets/javascripts/admin/subscriptions/controllers/order_update_issues_controller.js.coffee:10 | - dynamic key, false positive +| all | label_connect | app/views/home/_connect.html.haml:4 | - seem to be missing - NEEDS ISSUE +| all | label_learn | app/views/home/_learn.html.haml:4 | - seem to be missing - NEEDS ISSUE +| all | learn_body | app/views/home/_learn.html.haml:5 | - seem to be missing - NEEDS ISSUE +| all | learn_cta | app/views/home/_learn.html.haml:7 | - seem to be missing - NEEDS ISSUE +| all | meta_description | app/views/spree/admin/taxons/_form.html.haml:20 | - exists in en.yml, seems to be a false positive +| all | meta_keywords | app/views/spree/admin/taxons/_form.html.haml:24 | - exists in en.yml, seems to be a false positive +| all | meta_title | app/views/spree/admin/taxons/_form.html.haml:16 | - exists in en.yml, seems to be a false positive +| all | order_has_no_payments | app/views/spree/admin/payments/index.html.haml:24 | - removed key +| all | order_not_found | app/controllers/spree/orders_controller.rb:63 | - replaced key +| all | paypal.spree.admin.payments.source_forms.paypal.no_payment_via_admin_backend | app/views/spree/admin/payments/source_forms/_paypal.html.haml:2 | - key exists, looks like a false positive +| all | spree.admin.payment_methods.form.: | app/views/spree/admin/payment_methods/_form.html.haml:26 | - exists in en.yml, seems to be a false positive +| all | spree.admin.payment_methods.index.: | app/views/spree/admin/payment_methods/index.html.haml:43 | - exists in en.yml, seems to be a false positive +| all | spree.admin.return_authorizations.states.: | app/views/spree/admin/return_authorizations/edit.html.haml:18 | - opened issue https://github.com/openfoodfoundation/openfoodnetwork/issues/12295 +| all | spree.back_to_states_list | app/views/spree/admin/states/edit.html.haml:10 | - missing translation, added key +| all | spree.country_name | app/views/spree/admin/countries/index.html.haml:14 | - missing translation, added key | all | spree.editing_state | app/views/spree/admin/states/edit.html.haml:4 | -| all | spree.path | app/views/spree/admin/taxons/_taxon_table.html.haml:5 | +| all | spree.path | app/views/spree/admin/taxons/_taxon_table.html.haml:5 | - missing translation, added key | all | spree.remove | app/views/spree/admin/taxons/_taxon_table.html.haml:15 | | all | spree.shipment_mailer.base_subject.picked_up_subject | app/mailers/spree/shipment_mailer.rb:15 | | all | spree.taxon_edit | app/views/spree/admin/taxons/edit.html.haml:4 | From 8f07ff49ac04b27d3bec3a06bf4ba0ed14f103ee Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Mar 2024 17:02:59 +0000 Subject: [PATCH 334/374] Adds missing keys --- config/locales/en.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index f6910f595b..ead1ed4323 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -3886,7 +3886,8 @@ See the %{link} to find out more about %{sitename}'s features and to start using new_taxon: "New taxon" new_user: "New user" no_pending_payments: "No pending payments" - "none": "None" + remove: "Remove" + none: "None" not_found: "Not found" notice_messages: variant_deleted: "Variant deleted" From 8a9b728ac77dd2144b863eec4a3520352c625640 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Mar 2024 17:03:30 +0000 Subject: [PATCH 335/374] Updates missing translations file --- missing_keys.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/missing_keys.txt b/missing_keys.txt index 7905f278ed..a631909aac 100644 --- a/missing_keys.txt +++ b/missing_keys.txt @@ -44,8 +44,8 @@ | all | spree.country_name | app/views/spree/admin/countries/index.html.haml:14 | - missing translation, added key | all | spree.editing_state | app/views/spree/admin/states/edit.html.haml:4 | | all | spree.path | app/views/spree/admin/taxons/_taxon_table.html.haml:5 | - missing translation, added key -| all | spree.remove | app/views/spree/admin/taxons/_taxon_table.html.haml:15 | -| all | spree.shipment_mailer.base_subject.picked_up_subject | app/mailers/spree/shipment_mailer.rb:15 | +| all | spree.remove | app/views/spree/admin/taxons/_taxon_table.html.haml:15 | - missing translation, added key -> not sure though, where to trigger this missing translation +| all | spree.shipment_mailer.base_subject.picked_up_subject | app/mailers/spree/shipment_mailer.rb:15 | - exists in en.yml, seems to be a false positive | all | spree.taxon_edit | app/views/spree/admin/taxons/edit.html.haml:4 | | all | thank_you_for_your_order | app/views/spree/orders/show.html.haml:26 | | all | unrecognized_card_type | app/views/spree/admin/payments/source_forms/_gateway.html.haml:25 | From a2a951a18edc0f097360c4f52a4bed104ff5fe73 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Mar 2024 17:05:14 +0000 Subject: [PATCH 336/374] Updates missing translations file --- missing_keys.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/missing_keys.txt b/missing_keys.txt index a631909aac..c112e7d4e4 100644 --- a/missing_keys.txt +++ b/missing_keys.txt @@ -46,7 +46,7 @@ | all | spree.path | app/views/spree/admin/taxons/_taxon_table.html.haml:5 | - missing translation, added key | all | spree.remove | app/views/spree/admin/taxons/_taxon_table.html.haml:15 | - missing translation, added key -> not sure though, where to trigger this missing translation | all | spree.shipment_mailer.base_subject.picked_up_subject | app/mailers/spree/shipment_mailer.rb:15 | - exists in en.yml, seems to be a false positive -| all | spree.taxon_edit | app/views/spree/admin/taxons/edit.html.haml:4 | +| all | spree.taxon_edit | app/views/spree/admin/taxons/edit.html.haml:4 | - missing translation, added key | all | thank_you_for_your_order | app/views/spree/orders/show.html.haml:26 | | all | unrecognized_card_type | app/views/spree/admin/payments/source_forms/_gateway.html.haml:25 | | all | use_new_cc | app/views/spree/admin/payments/source_forms/_gateway.html.haml:10 | From 08ccdf07c952c88f528d7683129d8a555abda584 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Mar 2024 17:07:58 +0000 Subject: [PATCH 337/374] Adds missing key thank_you_for_your_order --- config/locales/en.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/locales/en.yml b/config/locales/en.yml index ead1ed4323..18819d9c41 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2630,6 +2630,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using orders_bought_already_confirmed: "* already confirmed" orders_confirm_cancel: "Are you sure you want to cancel this order?" order_processed_successfully: "Your order has been processed successfully" + thank_you_for_your_order: "Thank you for your order" products_cart_distributor_choice: "Distributor for your order:" products_cart_distributor_change: "Your distributor for this order will be changed to %{name} if you add this product to your cart." From 579357dcfae2e49faed8445b20c7f317c6cbea5d Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Mar 2024 17:09:07 +0000 Subject: [PATCH 338/374] Updates missing translations file --- missing_keys.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/missing_keys.txt b/missing_keys.txt index c112e7d4e4..45be5e7dbf 100644 --- a/missing_keys.txt +++ b/missing_keys.txt @@ -47,7 +47,7 @@ | all | spree.remove | app/views/spree/admin/taxons/_taxon_table.html.haml:15 | - missing translation, added key -> not sure though, where to trigger this missing translation | all | spree.shipment_mailer.base_subject.picked_up_subject | app/mailers/spree/shipment_mailer.rb:15 | - exists in en.yml, seems to be a false positive | all | spree.taxon_edit | app/views/spree/admin/taxons/edit.html.haml:4 | - missing translation, added key -| all | thank_you_for_your_order | app/views/spree/orders/show.html.haml:26 | +| all | thank_you_for_your_order | app/views/spree/orders/show.html.haml:26 | - missing translation, added key | all | unrecognized_card_type | app/views/spree/admin/payments/source_forms/_gateway.html.haml:25 | | all | use_new_cc | app/views/spree/admin/payments/source_forms/_gateway.html.haml:10 | | all | what_is_this | app/views/spree/admin/payments/source_forms/_gateway.html.haml:42 | From 4a7cb601e63853d147600c596aa0e8c963741fb0 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Mar 2024 17:22:05 +0000 Subject: [PATCH 339/374] Added missing keys Adds string to missing key To be squashed --- config/locales/en.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/locales/en.yml b/config/locales/en.yml index 18819d9c41..2158e4437e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -265,6 +265,10 @@ en: card_details: "Card details" card_type: "Card type" card_type_is: "Card type is" + unrecognized_card_type: "Unrecognized card type" + use_new_cc: "Use a new credit card" + what_is_this: "What is this?" + your_cart_is_empty: "Your cart is empty" cardholder_name: "Cardholder name" community_forum_url: "Community forum URL" customer_instructions: "Customer instructions" From f08c1ca51d6df585f1d052562c63c7328f331ac6 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 20 Mar 2024 17:22:54 +0000 Subject: [PATCH 340/374] Updates missing translations file --- missing_keys.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/missing_keys.txt b/missing_keys.txt index 45be5e7dbf..3c2cde57bb 100644 --- a/missing_keys.txt +++ b/missing_keys.txt @@ -48,8 +48,8 @@ | all | spree.shipment_mailer.base_subject.picked_up_subject | app/mailers/spree/shipment_mailer.rb:15 | - exists in en.yml, seems to be a false positive | all | spree.taxon_edit | app/views/spree/admin/taxons/edit.html.haml:4 | - missing translation, added key | all | thank_you_for_your_order | app/views/spree/orders/show.html.haml:26 | - missing translation, added key -| all | unrecognized_card_type | app/views/spree/admin/payments/source_forms/_gateway.html.haml:25 | -| all | use_new_cc | app/views/spree/admin/payments/source_forms/_gateway.html.haml:10 | -| all | what_is_this | app/views/spree/admin/payments/source_forms/_gateway.html.haml:42 | -| all | your_cart_is_empty | app/views/spree/orders/edit.html.haml:31 | +| all | unrecognized_card_type | app/views/spree/admin/payments/source_forms/_gateway.html.haml:25 | - missing translation, added key +| all | use_new_cc | app/views/spree/admin/payments/source_forms/_gateway.html.haml:10 | - missing translation, added key +| all | what_is_this | app/views/spree/admin/payments/source_forms/_gateway.html.haml:42 | - missing translation, added key +| all | your_cart_is_empty | app/views/spree/orders/edit.html.haml:31 | - missing translation, added key +--------+------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ From 83c74bcc77a5081e7b8d4de7328b5811f1f5989d Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 21 Mar 2024 11:27:35 +0000 Subject: [PATCH 341/374] Updates existing translation on master Done to prevent/fix merge conflicts --- config/locales/en.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/locales/en.yml b/config/locales/en.yml index 2158e4437e..f36f33af02 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -3910,6 +3910,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using taxonomy_edit: "Taxonomy edit" taxonomy_tree_error: "There was an error updating the taxonomy tree." taxonomy_tree_instruction: "Right-click on an item to add, rename, remove or edit." + taxon_edit: "Taxon edit" tree: "Tree" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" From 269811584bbf6781494f28b9dfc896d1ef3d2fe0 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 21 Mar 2024 11:46:32 +0000 Subject: [PATCH 342/374] Updates file to latest state Deletes file We only needed this file for tracking progress, during review, we should not keep it in master I think --- missing_keys.txt | 55 ------------------------------------------------ 1 file changed, 55 deletions(-) delete mode 100644 missing_keys.txt diff --git a/missing_keys.txt b/missing_keys.txt deleted file mode 100644 index 3c2cde57bb..0000000000 --- a/missing_keys.txt +++ /dev/null @@ -1,55 +0,0 @@ -+--------+------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ -| Locale | Key | Value in other locales or source | -+--------+------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ -| all | admin.: | app/views/spree/admin/variants/_form.html.haml:11 | = label_tag :unit_value_human, "#{t('admin.'+@product.variant_unit)} ({{unitName(#{@product.variant_unit_scale}, '#{@product.variant_unit}')}})", seems to be a false positive... -| all | admin.customers.index.: | app/assets/javascripts/admin/customers/controllers/customers_controller.js.coffee:54 | t('admin.customers.index.' + customer.balance_status), seems to be a false positive... -| all | admin.stripe_connect_settings.edit.instance_publishable_key | app/views/admin/stripe_connect_settings/edit.html.haml:44 | seems missing, added! -| all | card_code | app/views/spree/admin/payments/source_forms/_gateway.html.haml:39 | dynamic key, looks like a false positive. -| all | card_type_is | app/views/spree/admin/payments/source_forms/_gateway.html.haml:23 | key missing from en.yml, added. -| all | checkout.step1.your_details.first_name.label | app/views/checkout/payment/_gateway.html.haml:3 | - seems to be an unused key/file, file removed. -| all | checkout.step1.your_details.first_name.placeholder | app/views/checkout/payment/_gateway.html.haml:4 | - seems to be an unused key/file, file removed. -| all | checkout.step1.your_details.last_name.label | app/views/checkout/payment/_gateway.html.haml:8 | - seems to be an unused key/file, file removed. -| all | checkout.step1.your_details.last_name.placeholder | app/views/checkout/payment/_gateway.html.haml:9 | - seems to be an unused key/file, file removed. -| all | connect_body | app/views/home/_connect.html.haml:5 | - seem to be missing - NEEDS ISSUE -| all | connect_cta | app/views/home/_connect.html.haml:7 | - seem to be missing - NEEDS ISSUE -| all | continue_shopping | app/views/spree/orders/edit.html.haml:32 | - replaced missing keys by existing ones -| all | devise.shared.links.didn_t_receive_confirmation_instructions | app/views/devise/shared/_links.html.erb:14 | - unsure, asked here https://github.com/openfoodfoundation/openfoodnetwork/commit/b322df8#commitcomment-139961428 -| all | devise.shared.links.didn_t_receive_unlock_instructions | app/views/devise/shared/_links.html.erb:18 | - unsure, asked here https://github.com/openfoodfoundation/openfoodnetwork/commit/b322df8#commitcomment-139961428 -| all | devise.shared.links.forgot_your_password | app/views/devise/shared/_links.html.erb:10 | - unsure, asked here https://github.com/openfoodfoundation/openfoodnetwork/commit/b322df8#commitcomment-139961428 -| all | devise.shared.links.sign_in | app/views/devise/shared/_links.html.erb:2 | - unsure, asked here https://github.com/openfoodfoundation/openfoodnetwork/commit/b322df8#commitcomment-139961428 -| all | devise.shared.links.sign_up | app/views/devise/shared/_links.html.erb:6 | - unsure, asked here https://github.com/openfoodfoundation/openfoodnetwork/commit/b322df8#commitcomment-139961428 -| all | expiration | app/views/spree/admin/payments/source_forms/_gateway.html.haml:34 | - dynamic key, false positive -| all | footer_links_helper.cookies_policy_link.footer_data_cookies_policy | app/helpers/footer_links_helper.rb:7 | - dynamic key, false positive -| all | footer_links_helper.privacy_policy_link.footer_data_privacy_policy | app/helpers/footer_links_helper.rb:15 | - dynamic key, false positive -| all | inflections | app/assets/javascripts/admin/products/services/option_value_namer.js.coffee:42 | - dynamic key, false positive -| all | js.admin.enterprises.form.images.: | app/assets/javascripts/admin/enterprises/controllers/enterprise_controller.js.coffee:76 | - dynamic key, false positive -| all | js.admin.orders.order_state.: | app/views/spree/admin/orders/_table_row.html.haml:23 | - dynamic key, false positive -| all | js.admin.orders.payment_states.: | app/views/spree/admin/orders/_table_row.html.haml:28 | - dynamic key, false positive -| all | js.admin.orders.shipment_states.: | app/views/spree/admin/orders/_table_row.html.haml:35 | - dynamic key, false positive -| all | js.subscriptions.: | app/assets/javascripts/admin/subscriptions/controllers/order_update_issues_controller.js.coffee:10 | - dynamic key, false positive -| all | label_connect | app/views/home/_connect.html.haml:4 | - seem to be missing - NEEDS ISSUE -| all | label_learn | app/views/home/_learn.html.haml:4 | - seem to be missing - NEEDS ISSUE -| all | learn_body | app/views/home/_learn.html.haml:5 | - seem to be missing - NEEDS ISSUE -| all | learn_cta | app/views/home/_learn.html.haml:7 | - seem to be missing - NEEDS ISSUE -| all | meta_description | app/views/spree/admin/taxons/_form.html.haml:20 | - exists in en.yml, seems to be a false positive -| all | meta_keywords | app/views/spree/admin/taxons/_form.html.haml:24 | - exists in en.yml, seems to be a false positive -| all | meta_title | app/views/spree/admin/taxons/_form.html.haml:16 | - exists in en.yml, seems to be a false positive -| all | order_has_no_payments | app/views/spree/admin/payments/index.html.haml:24 | - removed key -| all | order_not_found | app/controllers/spree/orders_controller.rb:63 | - replaced key -| all | paypal.spree.admin.payments.source_forms.paypal.no_payment_via_admin_backend | app/views/spree/admin/payments/source_forms/_paypal.html.haml:2 | - key exists, looks like a false positive -| all | spree.admin.payment_methods.form.: | app/views/spree/admin/payment_methods/_form.html.haml:26 | - exists in en.yml, seems to be a false positive -| all | spree.admin.payment_methods.index.: | app/views/spree/admin/payment_methods/index.html.haml:43 | - exists in en.yml, seems to be a false positive -| all | spree.admin.return_authorizations.states.: | app/views/spree/admin/return_authorizations/edit.html.haml:18 | - opened issue https://github.com/openfoodfoundation/openfoodnetwork/issues/12295 -| all | spree.back_to_states_list | app/views/spree/admin/states/edit.html.haml:10 | - missing translation, added key -| all | spree.country_name | app/views/spree/admin/countries/index.html.haml:14 | - missing translation, added key -| all | spree.editing_state | app/views/spree/admin/states/edit.html.haml:4 | -| all | spree.path | app/views/spree/admin/taxons/_taxon_table.html.haml:5 | - missing translation, added key -| all | spree.remove | app/views/spree/admin/taxons/_taxon_table.html.haml:15 | - missing translation, added key -> not sure though, where to trigger this missing translation -| all | spree.shipment_mailer.base_subject.picked_up_subject | app/mailers/spree/shipment_mailer.rb:15 | - exists in en.yml, seems to be a false positive -| all | spree.taxon_edit | app/views/spree/admin/taxons/edit.html.haml:4 | - missing translation, added key -| all | thank_you_for_your_order | app/views/spree/orders/show.html.haml:26 | - missing translation, added key -| all | unrecognized_card_type | app/views/spree/admin/payments/source_forms/_gateway.html.haml:25 | - missing translation, added key -| all | use_new_cc | app/views/spree/admin/payments/source_forms/_gateway.html.haml:10 | - missing translation, added key -| all | what_is_this | app/views/spree/admin/payments/source_forms/_gateway.html.haml:42 | - missing translation, added key -| all | your_cart_is_empty | app/views/spree/orders/edit.html.haml:31 | - missing translation, added key -+--------+------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+ From d2c2e208226ecf3b5ca7fbac0e29552afb0d5099 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Fri, 22 Mar 2024 13:07:45 +0000 Subject: [PATCH 343/374] Removes #connect.pane files _learn and _connect seem to appear at the top of the homepage (and not as pane). Also, there was some hard coded URLs which seems not to be used, as the translations in the Configuration/Content section seem to work correctly. --- app/views/home/_connect.html.haml | 7 ------- app/views/home/_learn.html.haml | 7 ------- 2 files changed, 14 deletions(-) delete mode 100644 app/views/home/_connect.html.haml delete mode 100644 app/views/home/_learn.html.haml diff --git a/app/views/home/_connect.html.haml b/app/views/home/_connect.html.haml deleted file mode 100644 index 6afcb1ae96..0000000000 --- a/app/views/home/_connect.html.haml +++ /dev/null @@ -1,7 +0,0 @@ -#connect.pane - .row - .small-12.medium-6.medium-offset-3.columns.text-center - %h2= t :label_connect - %p.text-normal= t :connect_body - %a.button.transparent{href: "https://openfoodnetwork.org/au/connect/"} - = t :connect_cta diff --git a/app/views/home/_learn.html.haml b/app/views/home/_learn.html.haml deleted file mode 100644 index f6d3061e20..0000000000 --- a/app/views/home/_learn.html.haml +++ /dev/null @@ -1,7 +0,0 @@ -#learn.pane - .row - .small-12.medium-6.medium-offset-3.columns.text-center - %h2= t :label_learn - %p.text-normal= t :learn_body - %a.button.transparent{href: "https://openfoodnetwork.org/au/learn/"} - = t :learn_cta From bfd4b730f29d52c7e33568a2a4123e7104a21b75 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 15 Apr 2024 15:07:31 +0100 Subject: [PATCH 344/374] Combines keys taxon_edit and taxonomy_edit --- app/views/spree/admin/taxons/edit.html.haml | 2 +- config/locales/en.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/spree/admin/taxons/edit.html.haml b/app/views/spree/admin/taxons/edit.html.haml index efb5c29e91..1df6e7288f 100644 --- a/app/views/spree/admin/taxons/edit.html.haml +++ b/app/views/spree/admin/taxons/edit.html.haml @@ -1,7 +1,7 @@ = render partial: 'spree/admin/shared/configuration_menu' - content_for :page_title do - = t("spree.taxon_edit") + = t("spree.taxonomy_edit") - content_for :page_actions do %li diff --git a/config/locales/en.yml b/config/locales/en.yml index f36f33af02..2158e4437e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -3910,7 +3910,6 @@ See the %{link} to find out more about %{sitename}'s features and to start using taxonomy_edit: "Taxonomy edit" taxonomy_tree_error: "There was an error updating the taxonomy tree." taxonomy_tree_instruction: "Right-click on an item to add, rename, remove or edit." - taxon_edit: "Taxon edit" tree: "Tree" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" From 91769574e39e7e31f417e177901900ac7feff2a6 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 15 Apr 2024 15:16:30 +0100 Subject: [PATCH 345/374] Removes unecessary key your_cart_is_empty --- config/locales/en.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 2158e4437e..662b5fe984 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -268,7 +268,6 @@ en: unrecognized_card_type: "Unrecognized card type" use_new_cc: "Use a new credit card" what_is_this: "What is this?" - your_cart_is_empty: "Your cart is empty" cardholder_name: "Cardholder name" community_forum_url: "Community forum URL" customer_instructions: "Customer instructions" From 9d09d5aff14f9b81e979ac999b700daf2141f621 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 16 Apr 2024 11:19:27 +1000 Subject: [PATCH 346/374] Allow Dependabot to open as many PRs as it likes --- .github/dependabot.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3cf3963ad1..52ce24cee9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,8 @@ +# Dependabot configuration +# +# The `directory` and `schedule.interval` options are mandatory. +# Most of the configuration here is not used for security updates though. + version: 2 updates: @@ -5,7 +10,7 @@ updates: directory: "/" schedule: interval: "daily" - open-pull-requests-limit: 10 + # Only specific requirements are specified in Gemfile, so don't touch it. versioning-strategy: lockfile-only @@ -13,5 +18,6 @@ updates: directory: "/" schedule: interval: "daily" + # All versions are specified in package.json, so please update them. versioning-strategy: increase From d6f2a531aab1976ac38890ed03b51506da5c7500 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 16 Apr 2024 15:34:24 +1000 Subject: [PATCH 347/374] Don't pass invalid auth method "None" to net-smtp It's our magic word to not pass username and password on. --- lib/spree/core/mail_settings.rb | 8 +++++++- spec/lib/spree/core/mail_settings_spec.rb | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/spree/core/mail_settings.rb b/lib/spree/core/mail_settings.rb index 2c8261b246..07d8dbee7a 100644 --- a/lib/spree/core/mail_settings.rb +++ b/lib/spree/core/mail_settings.rb @@ -38,7 +38,13 @@ module Spree { address: Config.mail_host, domain: Config.mail_domain, port: Config.mail_port, - authentication: Config.mail_auth_type } + authentication: } + end + + def authentication + return unless need_authentication? + + Config.mail_auth_type.presence end def need_authentication? diff --git a/spec/lib/spree/core/mail_settings_spec.rb b/spec/lib/spree/core/mail_settings_spec.rb index 4039addaf2..d1a2fc99b4 100644 --- a/spec/lib/spree/core/mail_settings_spec.rb +++ b/spec/lib/spree/core/mail_settings_spec.rb @@ -23,7 +23,7 @@ module Spree it { expect(ActionMailer::Base.smtp_settings[:address]).to eq "smtp.example.com" } it { expect(ActionMailer::Base.smtp_settings[:domain]).to eq "example.com" } it { expect(ActionMailer::Base.smtp_settings[:port]).to eq 123 } - it { expect(ActionMailer::Base.smtp_settings[:authentication]).to eq "None" } + it { expect(ActionMailer::Base.smtp_settings[:authentication]).to eq nil } it { expect(ActionMailer::Base.smtp_settings[:enable_starttls_auto]).to be_truthy } it "doesnt touch user name config" do From a41019fbffcf02484fc522f38eb761d4e60fa41d Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 16 Apr 2024 15:41:15 +1000 Subject: [PATCH 348/374] Simplify SMTP auth method selection Instead of using the auth method name, let's just not supply username and password when we don't want to authenticate. The two affected servers AU and CA don't have credentials set anyway. This is compatible. The specs needed changing though. --- lib/spree/core/mail_settings.rb | 21 +++++-------- spec/lib/spree/core/mail_settings_spec.rb | 37 +++++++++-------------- 2 files changed, 21 insertions(+), 37 deletions(-) diff --git a/lib/spree/core/mail_settings.rb b/lib/spree/core/mail_settings.rb index 07d8dbee7a..0373f7fac7 100644 --- a/lib/spree/core/mail_settings.rb +++ b/lib/spree/core/mail_settings.rb @@ -20,18 +20,14 @@ module Spree private def mail_server_settings - settings = if need_authentication? - basic_settings.merge(user_credentials) - else - basic_settings - end + settings = basic_settings.merge(user_credentials) settings.merge(enable_starttls_auto: secure_connection?) end def user_credentials - { user_name: Config.smtp_username, - password: Config.smtp_password } + { user_name: Config.smtp_username.presence, + password: Config.smtp_password.presence } end def basic_settings @@ -42,13 +38,10 @@ module Spree end def authentication - return unless need_authentication? - - Config.mail_auth_type.presence - end - - def need_authentication? - Config.mail_auth_type != 'None' + # "None" is an option in the UI but not a real authentication type. + # We should remove it from our host configurations but I'm keeping + # this check for backwards-compatibility for now. + Config.mail_auth_type.presence unless Config.mail_auth_type == "None" end def secure_connection? diff --git a/spec/lib/spree/core/mail_settings_spec.rb b/spec/lib/spree/core/mail_settings_spec.rb index d1a2fc99b4..6a40495695 100644 --- a/spec/lib/spree/core/mail_settings_spec.rb +++ b/spec/lib/spree/core/mail_settings_spec.rb @@ -8,12 +8,12 @@ module Spree let!(:subject) { MailSettings.new } context "overrides appplication defaults" do - context "authentication method is none" do + context "authentication method is login" do before do Config.mail_host = "smtp.example.com" Config.mail_domain = "example.com" Config.mail_port = 123 - Config.mail_auth_type = MailSettings::SECURE_CONNECTION_TYPES[0] + Config.mail_auth_type = "login" Config.smtp_username = "schof" Config.smtp_password = "hellospree!" Config.secure_connection_type = "TLS" @@ -23,31 +23,22 @@ module Spree it { expect(ActionMailer::Base.smtp_settings[:address]).to eq "smtp.example.com" } it { expect(ActionMailer::Base.smtp_settings[:domain]).to eq "example.com" } it { expect(ActionMailer::Base.smtp_settings[:port]).to eq 123 } - it { expect(ActionMailer::Base.smtp_settings[:authentication]).to eq nil } + it { expect(ActionMailer::Base.smtp_settings[:authentication]).to eq "login" } it { expect(ActionMailer::Base.smtp_settings[:enable_starttls_auto]).to be_truthy } - - it "doesnt touch user name config" do - expect(ActionMailer::Base.smtp_settings[:user_name]).to be_nil - end - - it "doesnt touch password config" do - expect(ActionMailer::Base.smtp_settings[:password]).to be_nil - end - end - end - - context "when mail_auth_type is other than none" do - before do - Config.mail_auth_type = "login" - Config.smtp_username = "schof" - Config.smtp_password = "hellospree!" - subject.override! - end - - context "overrides user credentials" do it { expect(ActionMailer::Base.smtp_settings[:user_name]).to eq "schof" } it { expect(ActionMailer::Base.smtp_settings[:password]).to eq "hellospree!" } end + + context "authentication method is none" do + before do + Config.mail_auth_type = "None" + subject.override! + end + + it "doesn't store 'None' as auth method" do + expect(ActionMailer::Base.smtp_settings[:authentication]).to eq nil + end + end end end end From 7e2fcede61e8c8cfbc0f6e81c322efad834a6184 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 16 Apr 2024 15:43:59 +1000 Subject: [PATCH 349/374] Further simplify mail options logic We were always adding this option anyway, so why not declare it to start with? --- lib/spree/core/mail_settings.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/spree/core/mail_settings.rb b/lib/spree/core/mail_settings.rb index 0373f7fac7..ebd62fc4c0 100644 --- a/lib/spree/core/mail_settings.rb +++ b/lib/spree/core/mail_settings.rb @@ -20,9 +20,7 @@ module Spree private def mail_server_settings - settings = basic_settings.merge(user_credentials) - - settings.merge(enable_starttls_auto: secure_connection?) + basic_settings.merge(user_credentials) end def user_credentials @@ -31,10 +29,13 @@ module Spree end def basic_settings - { address: Config.mail_host, + { + address: Config.mail_host, domain: Config.mail_domain, port: Config.mail_port, - authentication: } + authentication:, + enable_starttls_auto: secure_connection?, + } end def authentication From 1fc4270613acb80a00554d1158ab703bab6eb4d4 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 16 Apr 2024 15:46:06 +1000 Subject: [PATCH 350/374] Remove indirection from MailSettings We can simply merge the option hashes now because they are not conditional anymore. Well, the magic `presence` method does the conditional logic for us now. --- lib/spree/core/mail_settings.rb | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/spree/core/mail_settings.rb b/lib/spree/core/mail_settings.rb index ebd62fc4c0..9824283521 100644 --- a/lib/spree/core/mail_settings.rb +++ b/lib/spree/core/mail_settings.rb @@ -20,21 +20,14 @@ module Spree private def mail_server_settings - basic_settings.merge(user_credentials) - end - - def user_credentials - { user_name: Config.smtp_username.presence, - password: Config.smtp_password.presence } - end - - def basic_settings { address: Config.mail_host, domain: Config.mail_domain, port: Config.mail_port, authentication:, enable_starttls_auto: secure_connection?, + user_name: Config.smtp_username.presence, + password: Config.smtp_password.presence, } end From 5cd53e0b5ee027b9f19e9378893f66522c02036b Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 16 Apr 2024 16:44:12 +1000 Subject: [PATCH 351/374] Clean up MailSettings spec Best viewed with whitespace ignored. --- spec/lib/spree/core/mail_settings_spec.rb | 62 ++++++++++------------- 1 file changed, 28 insertions(+), 34 deletions(-) diff --git a/spec/lib/spree/core/mail_settings_spec.rb b/spec/lib/spree/core/mail_settings_spec.rb index 6a40495695..3953c3266f 100644 --- a/spec/lib/spree/core/mail_settings_spec.rb +++ b/spec/lib/spree/core/mail_settings_spec.rb @@ -2,43 +2,37 @@ require 'spec_helper' -module Spree - module Core - describe MailSettings do - let!(:subject) { MailSettings.new } +describe Spree::Core::MailSettings do + context "overrides appplication defaults" do + context "authentication method is login" do + before do + Spree::Config.mail_host = "smtp.example.com" + Spree::Config.mail_domain = "example.com" + Spree::Config.mail_port = 123 + Spree::Config.mail_auth_type = "login" + Spree::Config.smtp_username = "schof" + Spree::Config.smtp_password = "hellospree!" + Spree::Config.secure_connection_type = "TLS" + subject.override! + end - context "overrides appplication defaults" do - context "authentication method is login" do - before do - Config.mail_host = "smtp.example.com" - Config.mail_domain = "example.com" - Config.mail_port = 123 - Config.mail_auth_type = "login" - Config.smtp_username = "schof" - Config.smtp_password = "hellospree!" - Config.secure_connection_type = "TLS" - subject.override! - end + it { expect(ActionMailer::Base.smtp_settings[:address]).to eq "smtp.example.com" } + it { expect(ActionMailer::Base.smtp_settings[:domain]).to eq "example.com" } + it { expect(ActionMailer::Base.smtp_settings[:port]).to eq 123 } + it { expect(ActionMailer::Base.smtp_settings[:authentication]).to eq "login" } + it { expect(ActionMailer::Base.smtp_settings[:enable_starttls_auto]).to be_truthy } + it { expect(ActionMailer::Base.smtp_settings[:user_name]).to eq "schof" } + it { expect(ActionMailer::Base.smtp_settings[:password]).to eq "hellospree!" } + end - it { expect(ActionMailer::Base.smtp_settings[:address]).to eq "smtp.example.com" } - it { expect(ActionMailer::Base.smtp_settings[:domain]).to eq "example.com" } - it { expect(ActionMailer::Base.smtp_settings[:port]).to eq 123 } - it { expect(ActionMailer::Base.smtp_settings[:authentication]).to eq "login" } - it { expect(ActionMailer::Base.smtp_settings[:enable_starttls_auto]).to be_truthy } - it { expect(ActionMailer::Base.smtp_settings[:user_name]).to eq "schof" } - it { expect(ActionMailer::Base.smtp_settings[:password]).to eq "hellospree!" } - end + context "authentication method is none" do + before do + Spree::Config.mail_auth_type = "None" + subject.override! + end - context "authentication method is none" do - before do - Config.mail_auth_type = "None" - subject.override! - end - - it "doesn't store 'None' as auth method" do - expect(ActionMailer::Base.smtp_settings[:authentication]).to eq nil - end - end + it "doesn't store 'None' as auth method" do + expect(ActionMailer::Base.smtp_settings[:authentication]).to eq nil end end end From 0c319bea2c91f49b5e8b7a88f9227ab89aa43f16 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 09:53:18 +0000 Subject: [PATCH 352/374] chore(deps-dev): bump rspec-sql from 0.0.1 to 0.0.2 Bumps [rspec-sql](https://github.com/datafoodconsortium/connector-ruby) from 0.0.1 to 0.0.2. - [Release notes](https://github.com/datafoodconsortium/connector-ruby/releases) - [Changelog](https://github.com/datafoodconsortium/connector-ruby/blob/main/CHANGELOG.md) - [Commits](https://github.com/datafoodconsortium/connector-ruby/commits) --- updated-dependencies: - dependency-name: rspec-sql dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1631a4f1a8..3a8acdfe75 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -629,7 +629,7 @@ GEM rspec-support (~> 3.13) rspec-retry (0.6.2) rspec-core (> 3.3) - rspec-sql (0.0.1) + rspec-sql (0.0.2) activesupport rspec rspec-support (3.13.1) From f6f0622e9b6fd8c6c96b1c48c9b7144ec85b2d9c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 09:54:23 +0000 Subject: [PATCH 353/374] chore(deps-dev): bump rubocop from 1.63.1 to 1.63.2 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.63.1 to 1.63.2. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.63.1...v1.63.2) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1631a4f1a8..39a0fd1ecb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -648,7 +648,7 @@ GEM rswag-ui (2.13.0) actionpack (>= 3.1, < 7.2) railties (>= 3.1, < 7.2) - rubocop (1.63.1) + rubocop (1.63.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) From ef3a41203ddc25151916d005369251ce88524fa7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 09:58:51 +0000 Subject: [PATCH 354/374] chore(deps): bump redis from 5.1.0 to 5.2.0 Bumps [redis](https://github.com/redis/redis-rb) from 5.1.0 to 5.2.0. - [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md) - [Commits](https://github.com/redis/redis-rb/compare/v5.1.0...v5.2.0) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1631a4f1a8..4e8cba0309 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -582,9 +582,9 @@ GEM rdoc (6.6.3.1) psych (>= 4.0.0) redcarpet (3.6.0) - redis (5.1.0) - redis-client (>= 0.17.0) - redis-client (0.20.0) + redis (5.2.0) + redis-client (>= 0.22.0) + redis-client (0.22.0) connection_pool regexp_parser (2.9.0) reline (0.5.0) From eb791bed27b815a10f7104384e1e24ff29dd0de7 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 17 Apr 2024 09:32:40 +1000 Subject: [PATCH 355/374] Test all files with Rubocop, not just added code in the diff --- .github/workflows/linters.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 31f95933d4..b1f9326fef 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -7,10 +7,11 @@ jobs: name: runner / rubocop runs-on: ubuntu-latest steps: - - name: Check out code - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 + with: + bundler-cache: true # runs 'bundle install' and caches installed gems automatically - run: git show --no-patch # the commit being tested (which is often a merge due to actions/checkout@v3) @@ -21,6 +22,8 @@ jobs: rubocop_extensions: rubocop-rails:gemfile rubocop-rspec:gemfile reporter: github-pr-check level: error + filter_mode: nofilter + use_bundler: true fail_on_error: true prettier: name: runner / prettier From 72ce3a01a9619878e2e7bec60be85e0d5d63a48a Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 11 Apr 2024 10:00:40 +1000 Subject: [PATCH 356/374] Ensure search terms and filters are retained when saving --- .../admin/products_v3_controller.rb | 4 ++- app/views/admin/products_v3/_table.html.haml | 5 +++- .../system/admin/products_v3/products_spec.rb | 25 +++++++++++++++---- 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/app/controllers/admin/products_v3_controller.rb b/app/controllers/admin/products_v3_controller.rb index fb5efe5d1a..819031652a 100644 --- a/app/controllers/admin/products_v3_controller.rb +++ b/app/controllers/admin/products_v3_controller.rb @@ -18,7 +18,9 @@ module Admin if product_set.save flash[:success] = I18n.t('admin.products_v3.bulk_update.success') - redirect_to [:index, { page: @page, per_page: @per_page }] + redirect_to [:index, + { page: @page, per_page: @per_page, search_term: @search_term, + producer_id: @producer_id, category_id: @category_id }] elsif product_set.errors.present? @error_counts = { saved: product_set.saved_count, invalid: product_set.invalid.count } diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 4a34b81258..1cf0f78e2d 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -7,6 +7,9 @@ = hidden_field_tag :page, @page = hidden_field_tag :per_page, @per_page + = hidden_field_tag :search_term, @search_term + = hidden_field_tag :producer_id, @producer_id + = hidden_field_tag :category_id, @category_id %table.products %colgroup @@ -39,7 +42,7 @@ -# Y products could not be saved correctly. Please review errors and try again = t('.error_summary.invalid', count: @error_counts[:invalid]) .form-buttons - %a.button.reset.medium{ href: admin_products_path(page: @page, per_page: @per_page) } + %a.button.reset.medium{ href: admin_products_path(page: @page, per_page: @per_page, search_term: @search_term, producer_id: @producer_id, category_id: @category_id) } = t('.reset') = form.submit t('.save'), class: "medium" %tr diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 74dcc2d051..2afde20c1f 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -130,9 +130,9 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do # create a product with a different supplier let!(:producer) { create(:supplier_enterprise, name: "Producer 1") } - let!(:product_by_supplier) { create(:simple_product, supplier: producer) } + let!(:product_by_supplier) { create(:simple_product, name: "Apples", supplier: producer) } - it "can search for a product" do + it "can search for and update a product" do visit admin_products_url search_by_producer "Producer 1" @@ -140,6 +140,22 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do # expect(page).to have_content "1 product found for your search criteria." expect(page).to have_select "producer_id", selected: "Producer 1" expect_products_count_to_be 1 + + within row_containing_name("Apples") do + fill_in "Name", with: "Pommes" + end + + expect { + click_button "Save changes" + + expect(page).to have_content "Changes saved" + product_by_supplier.reload + }.to change { product_by_supplier.name }.to("Pommes") + + # Search is still applied + # expect(page).to have_content "1 product found for your search criteria." + expect(page).to have_select "producer_id", selected: "Producer 1" + expect_products_count_to_be 1 end end @@ -976,13 +992,12 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do end def search_by_producer(producer) - # TODO: use a helper to more reliably select the tom-select component - select producer, from: "producer_id" + tomselect_select producer, from: "producer_id" click_button "Search" end def search_by_category(category) - select category, from: "category_id" + tomselect_select category, from: "category_id" click_button "Search" end From f17b0d176bb82c18f9502f6f0dd06fdaac73a265 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 11 Apr 2024 13:42:36 +1000 Subject: [PATCH 357/374] Enable Turbo Drive on products page Forms now load without a full page rebuild. This is not really faster, but a bit smoother because it avoids a full page render in the browser. The default Turbo loading indicator is shown (blue line at top). But the bulk_update form breaks... hmm On to the next level! --- app/controllers/admin/products_v3_controller.rb | 2 +- app/views/admin/products_v3/_table.html.haml | 2 +- app/views/admin/products_v3/index.html.haml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/admin/products_v3_controller.rb b/app/controllers/admin/products_v3_controller.rb index 819031652a..667706aeba 100644 --- a/app/controllers/admin/products_v3_controller.rb +++ b/app/controllers/admin/products_v3_controller.rb @@ -24,7 +24,7 @@ module Admin elsif product_set.errors.present? @error_counts = { saved: product_set.saved_count, invalid: product_set.invalid.count } - render "index", locals: { producers:, categories:, flash: } + render "index", status: :unprocessable_entity, locals: { producers:, categories:, flash: } end end diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 1cf0f78e2d..11f515ee28 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -1,6 +1,6 @@ = form_with url: bulk_update_admin_products_path, method: :post, id: "products-form", builder: BulkFormBuilder, - html: { data: { controller: "bulk-form", 'bulk-form-disable-selector-value': "#sort,#filters", + html: { data: { remote: true, controller: "bulk-form", 'bulk-form-disable-selector-value': "#sort,#filters", 'bulk-form-error-value': defined?(@error_counts), } } do |form| = render(partial: "admin/shared/flashes", locals: { flashes: }) if defined? flashes diff --git a/app/views/admin/products_v3/index.html.haml b/app/views/admin/products_v3/index.html.haml index 2ac344c476..4d6a384c01 100644 --- a/app/views/admin/products_v3/index.html.haml +++ b/app/views/admin/products_v3/index.html.haml @@ -13,7 +13,7 @@ = render partial: 'spree/admin/shared/product_sub_menu' -#products_v3_page{ "data-controller": "products" } +#products_v3_page{ "data-controller": "products", 'data-turbo': true } .spinner-overlay{ "data-controller": "loading", "data-products-target": "loading", class: "hidden" } .spinner-container .spinner From 9d6ef2f730c6a501e8aa2694bff3adae5fcc0667 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 11 Apr 2024 16:50:20 +1000 Subject: [PATCH 358/374] Avoid style issues with Turbo But the filter dropdowns still get duplicated. So weird.. --- app/views/admin/products_v3/index.html.haml | 2 -- app/webpacker/css/admin/products_v3.scss | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/admin/products_v3/index.html.haml b/app/views/admin/products_v3/index.html.haml index 4d6a384c01..dd3034ca42 100644 --- a/app/views/admin/products_v3/index.html.haml +++ b/app/views/admin/products_v3/index.html.haml @@ -1,5 +1,3 @@ -- content_for :body_class do - products_v3_page - content_for :page_title do = t('.header.title') - content_for :page_actions do diff --git a/app/webpacker/css/admin/products_v3.scss b/app/webpacker/css/admin/products_v3.scss index a2c835ccd0..8cb8ccbce2 100644 --- a/app/webpacker/css/admin/products_v3.scss +++ b/app/webpacker/css/admin/products_v3.scss @@ -1,5 +1,6 @@ // Customisations for the new Bulk Edit Products page only -.products_v3_page { +// Scoped to containing div, because Turbo messes with body classes +#products_v3_page { #content > .row:first-child > .container:first-child { // Allow table to extend to full width of available screen space // TODO: move this to a generic rule, eg body.full-width{}. Then it can be included on any page. From 6c9a47854a205f41c21fd8f5f0c51450535a2a75 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 10 Apr 2024 17:22:49 +1000 Subject: [PATCH 359/374] Submit forms with Turbo Frame Now the filters, pagination and product forms submit and load within the frame, and work perfectly, yay! It's still building the whole page on the server.. I think we need Turbo Streams if we want to send back just a partial. --- app/views/admin/products_v3/_content.html.haml | 2 +- app/views/admin/products_v3/_filters.html.haml | 2 +- app/views/admin/products_v3/_table.html.haml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/admin/products_v3/_content.html.haml b/app/views/admin/products_v3/_content.html.haml index 64e6620ef9..3f8f206cbc 100644 --- a/app/views/admin/products_v3/_content.html.haml +++ b/app/views/admin/products_v3/_content.html.haml @@ -1,4 +1,4 @@ -#products-content +%turbo-frame#products-content .container .sixteen.columns = render partial: 'admin/shared/flashes', locals: { flashes: } if defined? flashes diff --git a/app/views/admin/products_v3/_filters.html.haml b/app/views/admin/products_v3/_filters.html.haml index 30a95abc08..469ec1bf57 100644 --- a/app/views/admin/products_v3/_filters.html.haml +++ b/app/views/admin/products_v3/_filters.html.haml @@ -1,4 +1,4 @@ -= form_with url: admin_products_path, id: "filters", method: :get, data: { remote: false, "search-target": "form" } do += form_with url: admin_products_path, id: "filters", method: :get, data: { "search-target": "form" } do = hidden_field_tag :page, nil, class: "page" = hidden_field_tag :per_page, nil, class: "per-page" diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 11f515ee28..e14925b539 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -1,6 +1,7 @@ = form_with url: bulk_update_admin_products_path, method: :post, id: "products-form", builder: BulkFormBuilder, - html: { data: { remote: true, controller: "bulk-form", 'bulk-form-disable-selector-value': "#sort,#filters", + html: { data: { controller: "bulk-form", + 'bulk-form-disable-selector-value': "#sort,#filters", 'bulk-form-error-value': defined?(@error_counts), } } do |form| = render(partial: "admin/shared/flashes", locals: { flashes: }) if defined? flashes From 508ebab75b239c6cd5734245fcccab41bd208c05 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 11 Apr 2024 15:19:28 +1000 Subject: [PATCH 360/374] Add loading spinner to turbo frame That was surprisingly easy. Note that it's still shared with SR. It hides a bit early though: when the web response returns, but before the DOM has been rendered. Something to optimise in the future. --- app/views/admin/products_v3/_content.html.haml | 4 ++++ app/views/admin/products_v3/index.html.haml | 5 ----- app/webpacker/css/admin_v3/components/spinner.scss | 9 ++++++++- config/locales/en.yml | 1 + 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/app/views/admin/products_v3/_content.html.haml b/app/views/admin/products_v3/_content.html.haml index 3f8f206cbc..40e22e4bc5 100644 --- a/app/views/admin/products_v3/_content.html.haml +++ b/app/views/admin/products_v3/_content.html.haml @@ -1,4 +1,8 @@ %turbo-frame#products-content + .spinner-overlay{ "data-controller": "loading", "data-products-target": "loading", class: "hidden" } + .spinner-container + .spinner + = t('.loading') .container .sixteen.columns = render partial: 'admin/shared/flashes', locals: { flashes: } if defined? flashes diff --git a/app/views/admin/products_v3/index.html.haml b/app/views/admin/products_v3/index.html.haml index dd3034ca42..4200cd0176 100644 --- a/app/views/admin/products_v3/index.html.haml +++ b/app/views/admin/products_v3/index.html.haml @@ -12,11 +12,6 @@ = render partial: 'spree/admin/shared/product_sub_menu' #products_v3_page{ "data-controller": "products", 'data-turbo': true } - .spinner-overlay{ "data-controller": "loading", "data-products-target": "loading", class: "hidden" } - .spinner-container - .spinner - = t('.loading') - = render partial: "content", locals: { products: @products, pagy: @pagy, search_term: @search_term, producer_options: producers, producer_id: @producer_id, category_options: categories, category_id: @category_id, diff --git a/app/webpacker/css/admin_v3/components/spinner.scss b/app/webpacker/css/admin_v3/components/spinner.scss index fd7235ffe3..9f8d8a15e6 100644 --- a/app/webpacker/css/admin_v3/components/spinner.scss +++ b/app/webpacker/css/admin_v3/components/spinner.scss @@ -6,6 +6,11 @@ min-height: 200px; background: rgba(255, 255, 255, 0.8); z-index: 2; + + // Show when inside a loading Turbo Frame + turbo-frame[aria-busy="true"] > & { + display: flex; + } } .spinner-container { @@ -28,7 +33,9 @@ height: 56px; border-radius: 50%; border: 9px solid $teal; - animation: spinner-bulqg1 0.8s infinite linear alternate, spinner-oaa3wk 1.6s infinite linear; + animation: + spinner-bulqg1 0.8s infinite linear alternate, + spinner-oaa3wk 1.6s infinite linear; } } diff --git a/config/locales/en.yml b/config/locales/en.yml index 662b5fe984..2777dab7ad 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -844,6 +844,7 @@ en: index: header: title: Bulk Edit Products + content: loading: Loading your products delete_modal: delete_product_modal: From 1abb068a00e7745958e8b7d0819645a740f8c9ad Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 17 Apr 2024 11:59:52 +1000 Subject: [PATCH 361/374] Enable morphing? I can't really prove if this is working, but it seems to be rendering slightly faster. --- app/views/admin/products_v3/_content.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/products_v3/_content.html.haml b/app/views/admin/products_v3/_content.html.haml index 40e22e4bc5..885d851ef4 100644 --- a/app/views/admin/products_v3/_content.html.haml +++ b/app/views/admin/products_v3/_content.html.haml @@ -1,4 +1,4 @@ -%turbo-frame#products-content +%turbo-frame#products-content{ refresh: "morph" } .spinner-overlay{ "data-controller": "loading", "data-products-target": "loading", class: "hidden" } .spinner-container .spinner From acc72514de5493c051eab6923869566419628652 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 17 Apr 2024 12:11:17 +1000 Subject: [PATCH 362/374] Fix spec --- spec/system/admin/products_v3/products_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 2afde20c1f..6581ddc657 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -58,7 +58,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do select "50", from: "per_page" - expect(page).to have_content "Showing 1 to 50" + expect(page).to have_content "Showing 1 to 50", wait: 10 expect_page_to_be 1 expect_per_page_to_be 50 expect_products_count_to_be 50 @@ -138,7 +138,7 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do search_by_producer "Producer 1" # expect(page).to have_content "1 product found for your search criteria." - expect(page).to have_select "producer_id", selected: "Producer 1" + expect(page).to have_select "producer_id", selected: "Producer 1", wait: 5 expect_products_count_to_be 1 within row_containing_name("Apples") do From 06f67488a9a5098cc365c19f529dbd4a3fd18b08 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 17 Apr 2024 13:08:18 +1000 Subject: [PATCH 363/374] Open links outside of frame by default This page is big enough and it's hard to see how everything works. So links work like links by default (eg edit and clone). Other links and forms are special, and will reload only the frame: this is now explicit in the code. --- app/views/admin/products_v3/_content.html.haml | 2 +- app/views/admin/products_v3/_filters.html.haml | 2 +- app/views/admin/products_v3/_sort.html.haml | 2 +- app/views/admin/products_v3/_table.html.haml | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/admin/products_v3/_content.html.haml b/app/views/admin/products_v3/_content.html.haml index 885d851ef4..dcb29e945f 100644 --- a/app/views/admin/products_v3/_content.html.haml +++ b/app/views/admin/products_v3/_content.html.haml @@ -1,4 +1,4 @@ -%turbo-frame#products-content{ refresh: "morph" } +%turbo-frame#products-content{ target: "_top", refresh: "morph" } .spinner-overlay{ "data-controller": "loading", "data-products-target": "loading", class: "hidden" } .spinner-container .spinner diff --git a/app/views/admin/products_v3/_filters.html.haml b/app/views/admin/products_v3/_filters.html.haml index 469ec1bf57..2a0aa55428 100644 --- a/app/views/admin/products_v3/_filters.html.haml +++ b/app/views/admin/products_v3/_filters.html.haml @@ -1,4 +1,4 @@ -= form_with url: admin_products_path, id: "filters", method: :get, data: { "search-target": "form" } do += form_with url: admin_products_path, id: "filters", method: :get, data: { "search-target": "form", 'turbo-frame': "_self" } do = hidden_field_tag :page, nil, class: "page" = hidden_field_tag :per_page, nil, class: "per-page" diff --git a/app/views/admin/products_v3/_sort.html.haml b/app/views/admin/products_v3/_sort.html.haml index 8bd5b249bc..f53eec4e76 100644 --- a/app/views/admin/products_v3/_sort.html.haml +++ b/app/views/admin/products_v3/_sort.html.haml @@ -4,7 +4,7 @@ = t(".pagination.total_html", total: pagy.count, from: pagy.from, to: pagy.to) - if search_term.present? || producer_id.present? || category_id.present? - %a{ href: url_for(page: 1), class: "button disruptive" } + %a{ href: url_for(page: 1), class: "button disruptive", 'data-turbo-frame': "_self" } = t(".pagination.clear_search") %form.with-dropdown diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index e14925b539..1dd4e2f259 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -1,6 +1,7 @@ = form_with url: bulk_update_admin_products_path, method: :post, id: "products-form", builder: BulkFormBuilder, - html: { data: { controller: "bulk-form", + html: { data: { 'turbo-frame': "_self", + controller: "bulk-form", 'bulk-form-disable-selector-value': "#sort,#filters", 'bulk-form-error-value': defined?(@error_counts), } } do |form| From 1d1169b4788b745305dc25d95566107ae7027620 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 17 Apr 2024 13:08:52 +1000 Subject: [PATCH 364/374] Prevent frame navigations when form is changed This is a hacky hack, filling a gap in Turbo. --- app/views/admin/products_v3/index.html.haml | 2 +- .../controllers/bulk_form_controller.js | 27 ++++++++++++++++++- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/app/views/admin/products_v3/index.html.haml b/app/views/admin/products_v3/index.html.haml index 4200cd0176..48a43e8502 100644 --- a/app/views/admin/products_v3/index.html.haml +++ b/app/views/admin/products_v3/index.html.haml @@ -1,7 +1,7 @@ - content_for :page_title do = t('.header.title') - content_for :page_actions do - %div{ :class => "toolbar" } + %div{ :class => "toolbar", 'data-turbo': true } %ul{ :class => "actions header-action-links inline-menu" } %li#new_product_link = button_link_to t(:new_product), "/admin/products/new", { :icon => 'icon-plus', :id => 'admin_new_product' } diff --git a/app/webpacker/controllers/bulk_form_controller.js b/app/webpacker/controllers/bulk_form_controller.js index 602f7c0127..31000ca9e5 100644 --- a/app/webpacker/controllers/bulk_form_controller.js +++ b/app/webpacker/controllers/bulk_form_controller.js @@ -33,12 +33,25 @@ export default class BulkFormController extends Controller { this.form.addEventListener("submit", this.#registerSubmit.bind(this)); window.addEventListener("beforeunload", this.preventLeavingChangedForm.bind(this)); + document.addEventListener("turbo:before-visit", this.preventLeavingChangedForm.bind(this)); + + // Frustratingly there's no before-frame-visit, and no other events work, so we need to bind to + // the frame and listen for any link clicks (maybe other things too). + this.turboFrame = this.form.closest("turbo-frame"); + if(this.turboFrame){ + this.turboFrame.addEventListener("click", this.preventLeavingChangedForm.bind(this)) + } } disconnect() { // Make sure to clean up anything that happened outside this.#disableOtherElements(false); window.removeEventListener("beforeunload", this.preventLeavingChangedForm.bind(this)); + document.removeEventListener("turbo:before-visit", this.preventLeavingChangedForm.bind(this)); + + if(this.turboFrame){ + this.turboFrame.removeEventListener("click", this.preventLeavingChangedForm.bind(this)); + } } // Register any new elements (may be called by another controller after dynamically adding fields) @@ -79,9 +92,21 @@ export default class BulkFormController extends Controller { } } - // If form is not being submitted, warn to prevent accidental data loss + // If navigating away from form, warn to prevent accidental data loss preventLeavingChangedForm(event) { + const target = event.target; + // Ignore non-navigation events (see above) + if(this.turboFrame && this.turboFrame.contains(target) && (target.tagName != "A" || target.dataset.turboFrame != "_self")){ + return; + } + if (this.formChanged && !this.submitting) { + // If fired by a custom event (eg Turbo), we need to explicitly ask. + // This is skipped on beforeunload. + if(confirm(I18n.t("are_you_sure"))){ + return; + } + // Cancel the event event.preventDefault(); // Chrome requires returnValue to be set, but ignores the value. Other browsers may display From 91f0a801897a8f8eaa6de7f787cbae258965995b Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 17 Apr 2024 15:05:54 +1000 Subject: [PATCH 365/374] Use POST for action that creates data, duh. Turbo cleverly pre-fetches GET requests to save loading time. But that resulted in dozens of unwanted clones. Attack of the clones!!! I checked: even though this route predates the new products screen, it wasn't being used anywhere else. The old products screen uses the API instead. --- app/views/admin/products_v3/_product_row.html.haml | 2 +- config/routes/spree.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index 4a8b0c8ce3..f23d9b0afd 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -37,7 +37,7 @@ %td.align-right = render(VerticalEllipsisMenu::Component.new) do = link_to t('admin.products_page.actions.edit'), edit_admin_product_path(product) - = link_to t('admin.products_page.actions.clone'), clone_admin_product_path(product) + = link_to t('admin.products_page.actions.clone'), clone_admin_product_path(product), method: :post %a{ "data-controller": "modal-link", "data-action": "click->modal-link#setModalDataSetOnConfirm click->modal-link#open", "data-modal-link-target-value": "product-delete-modal", "class": "delete", "data-modal-link-modal-dataset-value": {'data-current-id': product.id}.to_json } diff --git a/config/routes/spree.rb b/config/routes/spree.rb index f59e4e7dca..d7c4aa6473 100644 --- a/config/routes/spree.rb +++ b/config/routes/spree.rb @@ -59,7 +59,7 @@ Spree::Core::Engine.routes.draw do resources :products, except: :index do member do - get :clone + post :clone get :group_buy_options get :seo end From 8f9d8b5fb822aca64338ffcf6de41454271e49e5 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 17 Apr 2024 17:26:49 +1000 Subject: [PATCH 366/374] Revert "Prevent frame navigations when form is changed" It was too hacky and had issues. Let's just disable Turbo for those links for now. This reverts commit 1d1169b4788b745305dc25d95566107ae7027620. --- app/views/admin/products_v3/index.html.haml | 2 +- .../controllers/bulk_form_controller.js | 27 +------------------ 2 files changed, 2 insertions(+), 27 deletions(-) diff --git a/app/views/admin/products_v3/index.html.haml b/app/views/admin/products_v3/index.html.haml index 48a43e8502..4200cd0176 100644 --- a/app/views/admin/products_v3/index.html.haml +++ b/app/views/admin/products_v3/index.html.haml @@ -1,7 +1,7 @@ - content_for :page_title do = t('.header.title') - content_for :page_actions do - %div{ :class => "toolbar", 'data-turbo': true } + %div{ :class => "toolbar" } %ul{ :class => "actions header-action-links inline-menu" } %li#new_product_link = button_link_to t(:new_product), "/admin/products/new", { :icon => 'icon-plus', :id => 'admin_new_product' } diff --git a/app/webpacker/controllers/bulk_form_controller.js b/app/webpacker/controllers/bulk_form_controller.js index 31000ca9e5..602f7c0127 100644 --- a/app/webpacker/controllers/bulk_form_controller.js +++ b/app/webpacker/controllers/bulk_form_controller.js @@ -33,25 +33,12 @@ export default class BulkFormController extends Controller { this.form.addEventListener("submit", this.#registerSubmit.bind(this)); window.addEventListener("beforeunload", this.preventLeavingChangedForm.bind(this)); - document.addEventListener("turbo:before-visit", this.preventLeavingChangedForm.bind(this)); - - // Frustratingly there's no before-frame-visit, and no other events work, so we need to bind to - // the frame and listen for any link clicks (maybe other things too). - this.turboFrame = this.form.closest("turbo-frame"); - if(this.turboFrame){ - this.turboFrame.addEventListener("click", this.preventLeavingChangedForm.bind(this)) - } } disconnect() { // Make sure to clean up anything that happened outside this.#disableOtherElements(false); window.removeEventListener("beforeunload", this.preventLeavingChangedForm.bind(this)); - document.removeEventListener("turbo:before-visit", this.preventLeavingChangedForm.bind(this)); - - if(this.turboFrame){ - this.turboFrame.removeEventListener("click", this.preventLeavingChangedForm.bind(this)); - } } // Register any new elements (may be called by another controller after dynamically adding fields) @@ -92,21 +79,9 @@ export default class BulkFormController extends Controller { } } - // If navigating away from form, warn to prevent accidental data loss + // If form is not being submitted, warn to prevent accidental data loss preventLeavingChangedForm(event) { - const target = event.target; - // Ignore non-navigation events (see above) - if(this.turboFrame && this.turboFrame.contains(target) && (target.tagName != "A" || target.dataset.turboFrame != "_self")){ - return; - } - if (this.formChanged && !this.submitting) { - // If fired by a custom event (eg Turbo), we need to explicitly ask. - // This is skipped on beforeunload. - if(confirm(I18n.t("are_you_sure"))){ - return; - } - // Cancel the event event.preventDefault(); // Chrome requires returnValue to be set, but ignores the value. Other browsers may display From 11541c92700becfe5c0b1f6f52304081d77d150c Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 17 Apr 2024 17:28:12 +1000 Subject: [PATCH 367/374] Disable turbo for those links Now we can warn that "Changes that you made might not be saved" --- app/views/admin/products_v3/_product_row.html.haml | 4 ++-- app/views/admin/products_v3/_table.html.haml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index f23d9b0afd..ed1063bc3a 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -36,8 +36,8 @@ .content= product.inherits_properties ? 'YES' : 'NO' #TODO: consider using https://github.com/RST-J/human_attribute_values, else use I18n.t (also below) %td.align-right = render(VerticalEllipsisMenu::Component.new) do - = link_to t('admin.products_page.actions.edit'), edit_admin_product_path(product) - = link_to t('admin.products_page.actions.clone'), clone_admin_product_path(product), method: :post + = link_to t('admin.products_page.actions.edit'), edit_admin_product_path(product), 'data-turbo': false + = link_to t('admin.products_page.actions.clone'), clone_admin_product_path(product), method: :post, 'data-turbo': false %a{ "data-controller": "modal-link", "data-action": "click->modal-link#setModalDataSetOnConfirm click->modal-link#open", "data-modal-link-target-value": "product-delete-modal", "class": "delete", "data-modal-link-modal-dataset-value": {'data-current-id': product.id}.to_json } diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index 1dd4e2f259..78d32be8b2 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -44,7 +44,7 @@ -# Y products could not be saved correctly. Please review errors and try again = t('.error_summary.invalid', count: @error_counts[:invalid]) .form-buttons - %a.button.reset.medium{ href: admin_products_path(page: @page, per_page: @per_page, search_term: @search_term, producer_id: @producer_id, category_id: @category_id) } + %a.button.reset.medium{ href: admin_products_path(page: @page, per_page: @per_page, search_term: @search_term, producer_id: @producer_id, category_id: @category_id), 'data-turbo': "false" } = t('.reset') = form.submit t('.save'), class: "medium" %tr From a2255e62d42690fcf5a3562402c11a8fccf19e27 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 17 Apr 2024 17:30:03 +1000 Subject: [PATCH 368/374] Revert "Use POST for action that creates data," I'm not happy about it, but we need it to be a standard link to make it work. I assume it's because BulkFormController.preventLeavingChangedForm() isn't smart enough. This reverts commit 91f0a801897a8f8eaa6de7f787cbae258965995b. --- app/views/admin/products_v3/_product_row.html.haml | 2 +- config/routes/spree.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index ed1063bc3a..5e11301a5e 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -37,7 +37,7 @@ %td.align-right = render(VerticalEllipsisMenu::Component.new) do = link_to t('admin.products_page.actions.edit'), edit_admin_product_path(product), 'data-turbo': false - = link_to t('admin.products_page.actions.clone'), clone_admin_product_path(product), method: :post, 'data-turbo': false + = link_to t('admin.products_page.actions.clone'), clone_admin_product_path(product), 'data-turbo': false %a{ "data-controller": "modal-link", "data-action": "click->modal-link#setModalDataSetOnConfirm click->modal-link#open", "data-modal-link-target-value": "product-delete-modal", "class": "delete", "data-modal-link-modal-dataset-value": {'data-current-id': product.id}.to_json } diff --git a/config/routes/spree.rb b/config/routes/spree.rb index d7c4aa6473..f59e4e7dca 100644 --- a/config/routes/spree.rb +++ b/config/routes/spree.rb @@ -59,7 +59,7 @@ Spree::Core::Engine.routes.draw do resources :products, except: :index do member do - post :clone + get :clone get :group_buy_options get :seo end From 456905e69faafa0d4de7a25e2c4a57e9b4071ab1 Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Wed, 17 Apr 2024 10:37:18 +0200 Subject: [PATCH 369/374] Fix Rails/WhereExists rubocop offenses - after discussion, dev team decided not to follow - this particular rule, but rather to enforce the where().exists? rule instead. - cf. https://github.com/openfoodfoundation/openfoodnetwork/pull/12363 --- .rubocop_styleguide.yml | 3 +++ .rubocop_todo.yml | 15 --------------- app/models/spree/credit_card.rb | 2 +- app/models/spree/order.rb | 2 +- app/models/spree/payment.rb | 2 +- .../enterprise_fees_with_tax_report_by_order.rb | 4 ++-- 6 files changed, 8 insertions(+), 20 deletions(-) diff --git a/.rubocop_styleguide.yml b/.rubocop_styleguide.yml index a6c7d70984..81d1018a6b 100644 --- a/.rubocop_styleguide.yml +++ b/.rubocop_styleguide.yml @@ -124,6 +124,9 @@ Rails/SkipsModelValidations: - update_column - update_columns +Rails/WhereExists: + EnforcedStyle: where # Cf. conversion https://github.com/openfoodfoundation/openfoodnetwork/pull/12363 + Style/Documentation: Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index d52dd7928b..8ed82cc4a7 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -773,21 +773,6 @@ Rails/UnusedRenderContent: - 'app/controllers/api/v0/taxons_controller.rb' - 'app/controllers/api/v0/variants_controller.rb' -# Offense count: 8 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: exists, where -Rails/WhereExists: - Exclude: - - 'app/controllers/spree/admin/overview_controller.rb' - - 'app/controllers/spree/admin/tax_rates_controller.rb' - - 'app/controllers/spree/user_sessions_controller.rb' - - 'app/models/spree/preferences/store.rb' - - 'lib/tasks/sample_data/customer_factory.rb' - - 'lib/tasks/sample_data/group_factory.rb' - - 'lib/tasks/sample_data/order_cycle_factory.rb' - - 'lib/tasks/sample_data/taxon_factory.rb' - # Offense count: 1 Security/Open: Exclude: diff --git a/app/models/spree/credit_card.rb b/app/models/spree/credit_card.rb index 5949023cb5..35a43ee828 100644 --- a/app/models/spree/credit_card.rb +++ b/app/models/spree/credit_card.rb @@ -152,7 +152,7 @@ module Spree end def default_missing? - !user.credit_cards.exists?(is_default: true) + !user.credit_cards.where(is_default: true).exists? end def default_card_needs_updating? diff --git a/app/models/spree/order.rb b/app/models/spree/order.rb index 561aabacac..03fdf5208c 100644 --- a/app/models/spree/order.rb +++ b/app/models/spree/order.rb @@ -694,7 +694,7 @@ module Spree end def registered_email? - Spree::User.exists?(email:) + Spree::User.where(email:).exists? end def adjustments_fetcher diff --git a/app/models/spree/payment.rb b/app/models/spree/payment.rb index 4c209d10d7..6479694df9 100644 --- a/app/models/spree/payment.rb +++ b/app/models/spree/payment.rb @@ -246,7 +246,7 @@ module Spree # and this is it. Related to #1998. # See https://github.com/spree/spree/issues/1998#issuecomment-12869105 def set_unique_identifier - self.identifier = generate_identifier while self.class.exists?(identifier:) + self.identifier = generate_identifier while self.class.where(identifier:).exists? end def generate_identifier diff --git a/lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_order.rb b/lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_order.rb index e035a2d469..2ea4a4db14 100644 --- a/lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_order.rb +++ b/lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_order.rb @@ -66,8 +66,8 @@ module Reporting enterprise_fee_id = arg.first - EnterpriseFee.exists?(id: enterprise_fee_id, - enterprise_id: ransack_params[:enterprise_fee_owner_id_in] ) + EnterpriseFee.where(id: enterprise_fee_id, + enterprise_id: ransack_params[:enterprise_fee_owner_id_in] ).exists? end def filter_enterprise_fee_by_id_active? From 5a2f791d58e518d3ffa8ee7564793c518942eb52 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Apr 2024 09:43:21 +0000 Subject: [PATCH 370/374] chore(deps): bump stripe from 11.0.0 to 11.1.0 Bumps [stripe](https://github.com/stripe/stripe-ruby) from 11.0.0 to 11.1.0. - [Release notes](https://github.com/stripe/stripe-ruby/releases) - [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md) - [Commits](https://github.com/stripe/stripe-ruby/compare/v11.0.0...v11.1.0) --- updated-dependencies: - dependency-name: stripe dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4ec7bf168f..c8dd7d3e9c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -751,7 +751,7 @@ GEM stimulus_reflex (>= 3.3.0) stringex (2.8.6) stringio (3.1.0) - stripe (11.0.0) + stripe (11.1.0) swd (2.0.3) activesupport (>= 3) attr_required (>= 0.0.5) From 302cde6f4e4a2debc1f4bb956c5cf533a48546cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Apr 2024 09:43:41 +0000 Subject: [PATCH 371/374] chore(deps): bump aws-sdk-s3 from 1.146.1 to 1.147.0 --- updated-dependencies: - dependency-name: aws-sdk-s3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4ec7bf168f..f2a37b38f2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -156,17 +156,17 @@ GEM awesome_nested_set (3.6.0) activerecord (>= 4.0.0, < 7.2) aws-eventstream (1.3.0) - aws-partitions (1.903.0) - aws-sdk-core (3.191.5) + aws-partitions (1.914.0) + aws-sdk-core (3.192.0) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.78.0) + aws-sdk-kms (1.79.0) aws-sdk-core (~> 3, >= 3.191.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.146.1) - aws-sdk-core (~> 3, >= 3.191.0) + aws-sdk-s3 (1.147.0) + aws-sdk-core (~> 3, >= 3.192.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.8) aws-sigv4 (1.8.0) From 574297343f18d628bbb0fdd35d0fdcb2a8867a22 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 11 Apr 2024 15:58:46 +0100 Subject: [PATCH 372/374] Sets pending examples for order edit page subsections --- spec/system/admin/order_spec.rb | 66 ++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 26 deletions(-) diff --git a/spec/system/admin/order_spec.rb b/spec/system/admin/order_spec.rb index c5fb4bce13..f6f5f96fe0 100644 --- a/spec/system/admin/order_spec.rb +++ b/spec/system/admin/order_spec.rb @@ -956,42 +956,56 @@ describe ' expect(page).to have_text 'SHIPPED' end - context "ship order from dropdown" do - it "ships the order and sends email" do - expect(order.reload.shipped?).to be false + shared_examples "ship order from dropdown" do |subpage| + context "in the #{subpage}", feature: :invoices do + it "ships the order and sends email" do + click_on subpage + expect(order.reload.shipped?).to be false - find('.ofn-drop-down').click - click_link 'Ship Order' + find('.ofn-drop-down').click + click_link 'Ship Order' - within ".reveal-modal" do - expect(page).to have_checked_field('Send a shipment/pick up ' \ - 'notification email to the customer.') - expect { - find_button("Confirm").click - }.to enqueue_job(ActionMailer::MailDeliveryJob).exactly(:once) + within ".reveal-modal" do + expect(page).to have_checked_field('Send a shipment/pick up ' \ + 'notification email to the customer.') + expect { + find_button("Confirm").click + }.to enqueue_job(ActionMailer::MailDeliveryJob).exactly(:once) + end + + expect(order.reload.shipped?).to be true + expect(page).to have_text 'SHIPPED' end - expect(order.reload.shipped?).to be true - expect(page).to have_text 'SHIPPED' - end + it "ships the order without sending email" do + click_on subpage + expect(order.reload.shipped?).to be false - it "ships the order without sending email" do - expect(order.reload.shipped?).to be false + find('.ofn-drop-down').click + click_link 'Ship Order' - find('.ofn-drop-down').click - click_link 'Ship Order' + within ".reveal-modal" do + uncheck 'Send a shipment/pick up notification email to the customer.' + expect { + find_button("Confirm").click + }.not_to enqueue_job(ActionMailer::MailDeliveryJob) + end - within ".reveal-modal" do - uncheck 'Send a shipment/pick up notification email to the customer.' - expect { - find_button("Confirm").click - }.not_to enqueue_job(ActionMailer::MailDeliveryJob) + expect(order.reload.shipped?).to be true + expect(page).to have_text 'SHIPPED' end - - expect(order.reload.shipped?).to be true - expect(page).to have_text 'SHIPPED' end end + + it_behaves_like "ship order from dropdown", "Order Details" + context "pending examples" do + before { pending("#12369") } + it_behaves_like "ship order from dropdown", "Customer Details" + it_behaves_like "ship order from dropdown", "Payments" + it_behaves_like "ship order from dropdown", "Adjustments" + it_behaves_like "ship order from dropdown", "Invoices" + it_behaves_like "ship order from dropdown", "Return Authorizations" + end end context "when an included variant has been deleted" do From c4e92e7d8f5ff91b860496789f8d0dee844cf5e4 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 18 Apr 2024 08:42:18 +1000 Subject: [PATCH 373/374] Update Stripe API recordings for new version --- .../redirects_to_unauthorized.yml | 34 +-- .../redirects_to_unauthorized.yml | 36 +-- .../redirects_to_unauthorized.yml | 36 +-- ...turns_with_a_status_of_access_revoked_.yml | 44 +-- .../returns_with_a_status_of_connected_.yml | 56 ++-- .../saves_the_card_locally.yml | 70 ++--- .../_credit/refunds_the_payment.yml | 150 +++++------ ...t_intent_state_is_not_requires_capture.yml | 93 +++---- .../calls_Checkout_StripeRedirect.yml | 36 +-- ...urns_nil_when_an_order_is_not_supplied.yml | 36 +-- .../_purchase/completes_the_purchase.yml | 161 +++++------ ..._error_message_to_help_developer_debug.yml | 99 +++---- .../refunds_the_payment.yml | 191 ++++++------- .../void_the_payment.yml | 125 ++++----- ...stroys_the_record_and_notifies_Bugsnag.yml | 26 +- .../destroys_the_record.yml | 50 ++-- .../returns_true.yml | 111 ++++---- .../returns_false.yml | 91 +++---- .../returns_failed_response.yml | 43 +-- ...tus_with_Stripe_PaymentIntentValidator.yml | 61 ++--- .../returns_nil.yml | 43 +-- .../clones_the_payment_method_only.yml | 117 ++++---- ...th_the_payment_method_and_the_customer.yml | 250 +++++++++--------- .../raises_an_error.yml | 69 ++--- .../deletes_the_credit_card_clone.yml | 104 ++++---- ...the_credit_card_clone_and_the_customer.yml | 136 +++++----- ...t_intent_last_payment_error_as_message.yml | 83 +++--- ...t_intent_last_payment_error_as_message.yml | 83 +++--- ...t_intent_last_payment_error_as_message.yml | 83 +++--- ...t_intent_last_payment_error_as_message.yml | 83 +++--- ...t_intent_last_payment_error_as_message.yml | 83 +++--- ...t_intent_last_payment_error_as_message.yml | 83 +++--- ...t_intent_last_payment_error_as_message.yml | 83 +++--- ...t_intent_last_payment_error_as_message.yml | 83 +++--- .../captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../from_Diners_Club/captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../from_Discover/captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../from_JCB/captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../from_Mastercard/captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../from_UnionPay/captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../from_Visa/captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- .../from_Visa_debit_/captures_the_payment.yml | 131 ++++----- ...s_payment_intent_id_and_does_not_raise.yml | 67 ++--- ...rd_id_from_the_correct_response_fields.yml | 68 ++--- .../when_request_fails/raises_an_error.yml | 108 ++++---- .../allows_to_refund_the_payment.yml | 193 +++++++------- 67 files changed, 3177 insertions(+), 3094 deletions(-) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml (92%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml (91%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml (91%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml (91%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml (92%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml (84%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml (90%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml (90%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml (89%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml (71%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml (84%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml (90%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (88%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml (87%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml (86%) rename spec/fixtures/vcr_cassettes/{Stripe-v11.0.0 => Stripe-v11.1.0}/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml (88%) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml similarity index 92% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml index 472152a4f3..3a196f6441 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_don_t_manage_the_enterprise_linked_to_the_stripe_account/redirects_to_unauthorized.yml @@ -8,7 +8,7 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: @@ -29,7 +29,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:05 GMT + - Wed, 17 Apr 2024 22:37:33 GMT Content-Type: - application/json Content-Length: @@ -56,15 +56,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b7820887-e8c2-4461-b90b-976c0c864d34 + - 6266cc7b-b56f-4446-8557-addbc346af95 Original-Request: - - req_Zr0U7r29b5PxEQ + - req_uKZJaQKuSDhybO Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Zr0U7r29b5PxEQ + - req_uKZJaQKuSDhybO Stripe-Should-Retry: - 'false' Stripe-Version: @@ -79,7 +79,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Za0QQGSeoUSTq", + "id": "acct_1P6h6dQOo80tSvJZ", "object": "account", "business_profile": { "annual_revenue": null, @@ -124,7 +124,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712887864, + "created": 1713393452, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -133,7 +133,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Za0QQGSeoUSTq/external_accounts" + "url": "/v1/accounts/acct_1P6h6dQOo80tSvJZ/external_accounts" }, "future_requirements": { "alternatives": [], @@ -230,22 +230,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:11:05 GMT + recorded_at: Wed, 17 Apr 2024 22:37:33 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Za0QQGSeoUSTq + uri: https://api.stripe.com/v1/accounts/acct_1P6h6dQOo80tSvJZ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Zr0U7r29b5PxEQ","request_duration_ms":2332}}' + - '{"last_request_metrics":{"request_id":"req_uKZJaQKuSDhybO","request_duration_ms":2089}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -262,7 +262,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:07 GMT + - Wed, 17 Apr 2024 22:37:34 GMT Content-Type: - application/json Content-Length: @@ -293,9 +293,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GTM1hN2ndb0731 + - req_T7eaRcd0E6Y161 Stripe-Account: - - acct_1P4Za0QQGSeoUSTq + - acct_1P6h6dQOo80tSvJZ Stripe-Version: - '2024-04-10' Vary: @@ -308,9 +308,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Za0QQGSeoUSTq", + "id": "acct_1P6h6dQOo80tSvJZ", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:11:07 GMT + recorded_at: Wed, 17 Apr 2024 22:37:34 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml similarity index 91% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml index 621de0c603..86e4459b62 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_fails/redirects_to_unauthorized.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kpppcrnwXXC3gP","request_duration_ms":1054}}' + - '{"last_request_metrics":{"request_id":"req_ottmgqPZJsohY6","request_duration_ms":986}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:12 GMT + - Wed, 17 Apr 2024 22:37:39 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 041632ea-2993-4fdb-a0a2-7f56bbc59291 + - 6c371391-04b0-4255-800c-5464d0b2cfbf Original-Request: - - req_yKnSDngjgaO9Tn + - req_w6FTmr1LhXdru9 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_yKnSDngjgaO9Tn + - req_w6FTmr1LhXdru9 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Za6QPzcJksguL", + "id": "acct_1P6h6kQQtxT4DM9I", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712887871, + "created": 1713393458, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Za6QPzcJksguL/external_accounts" + "url": "/v1/accounts/acct_1P6h6kQQtxT4DM9I/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,22 +232,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:11:12 GMT + recorded_at: Wed, 17 Apr 2024 22:37:39 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Za6QPzcJksguL + uri: https://api.stripe.com/v1/accounts/acct_1P6h6kQQtxT4DM9I body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yKnSDngjgaO9Tn","request_duration_ms":1893}}' + - '{"last_request_metrics":{"request_id":"req_w6FTmr1LhXdru9","request_duration_ms":1868}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:13 GMT + - Wed, 17 Apr 2024 22:37:40 GMT Content-Type: - application/json Content-Length: @@ -295,9 +295,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IpCZda1xRlCxpU + - req_5DMoWYyBuGKko3 Stripe-Account: - - acct_1P4Za6QPzcJksguL + - acct_1P6h6kQQtxT4DM9I Stripe-Version: - '2024-04-10' Vary: @@ -310,9 +310,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Za6QPzcJksguL", + "id": "acct_1P6h6kQQtxT4DM9I", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:11:13 GMT + recorded_at: Wed, 17 Apr 2024 22:37:40 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml similarity index 91% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml index cadfacdc9f..0053eb05bd 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_destroy/when_the_specified_stripe_account_exists/when_I_manage_the_enterprise_linked_to_the_stripe_account/and_the_attempt_to_deauthorize_and_destroy_succeeds/redirects_to_unauthorized.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GTM1hN2ndb0731","request_duration_ms":1266}}' + - '{"last_request_metrics":{"request_id":"req_T7eaRcd0E6Y161","request_duration_ms":1216}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:09 GMT + - Wed, 17 Apr 2024 22:37:36 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a6cdd850-8e2c-42e8-8ee3-dedf59576679 + - 16d66af6-ad46-4adb-99ec-05752fad61aa Original-Request: - - req_OhGcl7jEPapuo1 + - req_Yyz2weH5ozAFpu Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OhGcl7jEPapuo1 + - req_Yyz2weH5ozAFpu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Za3QRELxBCKHm", + "id": "acct_1P6h6h4DyRLVxKpr", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712887868, + "created": 1713393456, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Za3QRELxBCKHm/external_accounts" + "url": "/v1/accounts/acct_1P6h6h4DyRLVxKpr/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,22 +232,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:11:09 GMT + recorded_at: Wed, 17 Apr 2024 22:37:36 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Za3QRELxBCKHm + uri: https://api.stripe.com/v1/accounts/acct_1P6h6h4DyRLVxKpr body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OhGcl7jEPapuo1","request_duration_ms":1962}}' + - '{"last_request_metrics":{"request_id":"req_Yyz2weH5ozAFpu","request_duration_ms":1745}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:10 GMT + - Wed, 17 Apr 2024 22:37:37 GMT Content-Type: - application/json Content-Length: @@ -295,9 +295,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kpppcrnwXXC3gP + - req_ottmgqPZJsohY6 Stripe-Account: - - acct_1P4Za3QRELxBCKHm + - acct_1P6h6h4DyRLVxKpr Stripe-Version: - '2024-04-10' Vary: @@ -310,9 +310,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Za3QRELxBCKHm", + "id": "acct_1P6h6h4DyRLVxKpr", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:11:10 GMT + recorded_at: Wed, 17 Apr 2024 22:37:37 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml similarity index 91% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml index e90e63f3ad..6e7777dcfa 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/but_access_has_been_revoked_or_does_not_exist_on_stripe_s_servers/returns_with_a_status_of_access_revoked_.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IpCZda1xRlCxpU","request_duration_ms":1078}}' + - '{"last_request_metrics":{"request_id":"req_5DMoWYyBuGKko3","request_duration_ms":1107}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:15 GMT + - Wed, 17 Apr 2024 22:37:42 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 49e1438c-9a87-4669-a72a-5a055a993afa + - f8ba1e63-f1ed-4496-a1cf-e91f5b070224 Original-Request: - - req_sZMXXgnb37l3FN + - req_eup7iQgNj4TnQb Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sZMXXgnb37l3FN + - req_eup7iQgNj4TnQb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Za9QS1yiW19oM", + "id": "acct_1P6h6nQTJVHFbeTF", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712887874, + "created": 1713393461, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Za9QS1yiW19oM/external_accounts" + "url": "/v1/accounts/acct_1P6h6nQTJVHFbeTF/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,7 +232,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:11:15 GMT + recorded_at: Wed, 17 Apr 2024 22:37:42 GMT - request: method: get uri: https://api.stripe.com/v1/accounts/acct_fake_account @@ -241,13 +241,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sZMXXgnb37l3FN","request_duration_ms":1813}}' + - '{"last_request_metrics":{"request_id":"req_eup7iQgNj4TnQb","request_duration_ms":1730}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:15 GMT + - Wed, 17 Apr 2024 22:37:42 GMT Content-Type: - application/json Content-Length: @@ -299,22 +299,22 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/account-invalid" } } - recorded_at: Fri, 12 Apr 2024 02:11:15 GMT + recorded_at: Wed, 17 Apr 2024 22:37:42 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Za9QS1yiW19oM + uri: https://api.stripe.com/v1/accounts/acct_1P6h6nQTJVHFbeTF body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sZMXXgnb37l3FN","request_duration_ms":1813}}' + - '{"last_request_metrics":{"request_id":"req_eup7iQgNj4TnQb","request_duration_ms":1730}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -331,7 +331,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:16 GMT + - Wed, 17 Apr 2024 22:37:43 GMT Content-Type: - application/json Content-Length: @@ -362,9 +362,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rbUBKwXoKU81wJ + - req_uQmePD7HhxAqfq Stripe-Account: - - acct_1P4Za9QS1yiW19oM + - acct_1P6h6nQTJVHFbeTF Stripe-Version: - '2024-04-10' Vary: @@ -377,9 +377,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Za9QS1yiW19oM", + "id": "acct_1P6h6nQTJVHFbeTF", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:11:16 GMT + recorded_at: Wed, 17 Apr 2024 22:37:43 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml similarity index 92% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml index 22897f1eea..e03b7f10e1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Admin_StripeAccountsController/_status/when_I_manage_the_specified_enterprise/when_Stripe_is_enabled/when_a_stripe_account_is_associated_with_the_specified_enterprise/which_is_connected/returns_with_a_status_of_connected_.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com&business_type=non_profit headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rbUBKwXoKU81wJ","request_duration_ms":1199}}' + - '{"last_request_metrics":{"request_id":"req_uQmePD7HhxAqfq","request_duration_ms":1015}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:18 GMT + - Wed, 17 Apr 2024 22:37:45 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5b535c8e-1468-4cc2-9290-99a0c6af0717 + - 6e58444a-cd31-4d87-a7c8-bd92862e3f13 Original-Request: - - req_GuLMrSeNfC4eaG + - req_fVgom9Vx38Xifc Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GuLMrSeNfC4eaG + - req_fVgom9Vx38Xifc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZaDQSqEaAHmwK", + "id": "acct_1P6h6q4EUB0qRIux", "object": "account", "business_profile": { "annual_revenue": null, @@ -126,7 +126,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712887877, + "created": 1713393464, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -135,7 +135,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4ZaDQSqEaAHmwK/external_accounts" + "url": "/v1/accounts/acct_1P6h6q4EUB0qRIux/external_accounts" }, "future_requirements": { "alternatives": [], @@ -232,22 +232,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:11:18 GMT + recorded_at: Wed, 17 Apr 2024 22:37:45 GMT - request: method: get - uri: https://api.stripe.com/v1/accounts/acct_1P4ZaDQSqEaAHmwK + uri: https://api.stripe.com/v1/accounts/acct_1P6h6q4EUB0qRIux body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GuLMrSeNfC4eaG","request_duration_ms":1713}}' + - '{"last_request_metrics":{"request_id":"req_fVgom9Vx38Xifc","request_duration_ms":1937}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -264,7 +264,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:19 GMT + - Wed, 17 Apr 2024 22:37:46 GMT Content-Type: - application/json Content-Length: @@ -295,9 +295,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_av53tbSDUPqZ9Z + - req_Mt3HFeik0lC10y Stripe-Account: - - acct_1P4ZaDQSqEaAHmwK + - acct_1P6h6q4EUB0qRIux Stripe-Version: - '2024-04-10' Vary: @@ -310,7 +310,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZaDQSqEaAHmwK", + "id": "acct_1P6h6q4EUB0qRIux", "object": "account", "business_profile": { "annual_revenue": null, @@ -355,7 +355,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712887877, + "created": 1713393464, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -364,7 +364,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4ZaDQSqEaAHmwK/external_accounts" + "url": "/v1/accounts/acct_1P6h6q4EUB0qRIux/external_accounts" }, "future_requirements": { "alternatives": [], @@ -461,22 +461,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:11:19 GMT + recorded_at: Wed, 17 Apr 2024 22:37:46 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4ZaDQSqEaAHmwK + uri: https://api.stripe.com/v1/accounts/acct_1P6h6q4EUB0qRIux body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_av53tbSDUPqZ9Z","request_duration_ms":549}}' + - '{"last_request_metrics":{"request_id":"req_Mt3HFeik0lC10y","request_duration_ms":464}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -493,7 +493,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:20 GMT + - Wed, 17 Apr 2024 22:37:47 GMT Content-Type: - application/json Content-Length: @@ -524,9 +524,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MGNPuL6lhTrTYi + - req_8rH0FEVsdRhHGG Stripe-Account: - - acct_1P4ZaDQSqEaAHmwK + - acct_1P6h6q4EUB0qRIux Stripe-Version: - '2024-04-10' Vary: @@ -539,9 +539,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZaDQSqEaAHmwK", + "id": "acct_1P6h6q4EUB0qRIux", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:11:20 GMT + recorded_at: Wed, 17 Apr 2024 22:37:47 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml similarity index 84% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml index 9cc422a484..bba35246bc 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_CreditCardsController/using_VCR/_new_from_token/when_the_request_to_store_the_customer/card_with_Stripe_is_successful/saves_the_card_locally.yml @@ -8,13 +8,13 @@ http_interactions: string: card[number]=4242424242424242&card[exp_month]=9&card[exp_year]=2024&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MGNPuL6lhTrTYi","request_duration_ms":965}}' + - '{"last_request_metrics":{"request_id":"req_8rH0FEVsdRhHGG","request_duration_ms":1027}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:20 GMT + - Wed, 17 Apr 2024 22:37:48 GMT Content-Type: - application/json Content-Length: - - '849' + - '848' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7db10914-e4aa-4957-b3ea-8e052a61fabb + - bb83e217-3608-4df7-add8-ae52eb34614c Original-Request: - - req_PsgzzbZ2zjIUF6 + - req_prEMClalBG6c2Q Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PsgzzbZ2zjIUF6 + - req_prEMClalBG6c2Q Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,10 +81,10 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "tok_1P4ZaGKuuB1fWySndzxvyn5W", + "id": "tok_1P6h6uKuuB1fWySnZzdkqGYm", "object": "token", "card": { - "id": "card_1P4ZaGKuuB1fWySnhCxOeAKV", + "id": "card_1P6h6uKuuB1fWySnJZfX2tRv", "object": "card", "address_city": null, "address_country": null, @@ -111,28 +111,28 @@ http_interactions: "tokenization_method": null, "wallet": null }, - "client_ip": "115.166.35.233", - "created": 1712887880, + "client_ip": "115.166.33.14", + "created": 1713393468, "livemode": false, "type": "card", "used": false } - recorded_at: Fri, 12 Apr 2024 02:11:20 GMT + recorded_at: Wed, 17 Apr 2024 22:37:48 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: email=emmie%40becker.com&source=tok_1P4ZaGKuuB1fWySndzxvyn5W + string: email=marc%40christiansen.name&source=tok_1P6h6uKuuB1fWySnZzdkqGYm headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PsgzzbZ2zjIUF6","request_duration_ms":479}}' + - '{"last_request_metrics":{"request_id":"req_prEMClalBG6c2Q","request_duration_ms":559}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -149,11 +149,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:21 GMT + - Wed, 17 Apr 2024 22:37:49 GMT Content-Type: - application/json Content-Length: - - '655' + - '661' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -176,15 +176,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3879958d-9793-4d99-9796-8bd474bbedb4 + - c554622b-1bb1-4a21-924e-10e2d89ee3c4 Original-Request: - - req_4zSxUpy5TZQHkY + - req_9WRw9Wa3q4aW4L Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4zSxUpy5TZQHkY + - req_9WRw9Wa3q4aW4L Stripe-Should-Retry: - 'false' Stripe-Version: @@ -199,18 +199,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PuON9fyd1MueNQ", + "id": "cus_PwaH4jTn93rX49", "object": "customer", "address": null, "balance": 0, - "created": 1712887881, + "created": 1713393468, "currency": null, - "default_source": "card_1P4ZaGKuuB1fWySnhCxOeAKV", + "default_source": "card_1P6h6uKuuB1fWySnJZfX2tRv", "delinquent": false, "description": null, "discount": null, - "email": "emmie@becker.com", - "invoice_prefix": "D6751725", + "email": "marc@christiansen.name", + "invoice_prefix": "C7DCDC14", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -227,22 +227,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Fri, 12 Apr 2024 02:11:21 GMT + recorded_at: Wed, 17 Apr 2024 22:37:49 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PuON9fyd1MueNQ/sources?limit=1&object=card + uri: https://api.stripe.com/v1/customers/cus_PwaH4jTn93rX49/sources?limit=1&object=card body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4zSxUpy5TZQHkY","request_duration_ms":879}}' + - '{"last_request_metrics":{"request_id":"req_9WRw9Wa3q4aW4L","request_duration_ms":952}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -259,7 +259,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:22 GMT + - Wed, 17 Apr 2024 22:37:49 GMT Content-Type: - application/json Content-Length: @@ -291,7 +291,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hMYopP4arAmaeo + - req_BHrjo9C9dXpZ55 Stripe-Version: - '2024-04-10' Vary: @@ -307,7 +307,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1P4ZaGKuuB1fWySnhCxOeAKV", + "id": "card_1P6h6uKuuB1fWySnJZfX2tRv", "object": "card", "address_city": null, "address_country": null, @@ -319,7 +319,7 @@ http_interactions: "address_zip_check": null, "brand": "Visa", "country": "US", - "customer": "cus_PuON9fyd1MueNQ", + "customer": "cus_PwaH4jTn93rX49", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 9, @@ -334,7 +334,7 @@ http_interactions: } ], "has_more": false, - "url": "/v1/customers/cus_PuON9fyd1MueNQ/sources" + "url": "/v1/customers/cus_PwaH4jTn93rX49/sources" } - recorded_at: Fri, 12 Apr 2024 02:11:22 GMT + recorded_at: Wed, 17 Apr 2024 22:37:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml index 711a787e58..0c028c3f77 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_credit/refunds_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iknD95Pwi06l40","request_duration_ms":1228}}' + - '{"last_request_metrics":{"request_id":"req_B60iS3d4eUM92l","request_duration_ms":1125}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:30 GMT + - Wed, 17 Apr 2024 22:40:44 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ef93dc0e-f55a-4fb4-b8f3-d2b34f065622 + - 5ff55d3e-081a-405c-833a-8f70c6abd27a Original-Request: - - req_0HMQTy3HpF1vE1 + - req_jm8Rl8sU7tI0UM Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0HMQTy3HpF1vE1 + - req_jm8Rl8sU7tI0UM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZdIQTrIOvqUQ2", + "id": "acct_1P6h9i4KUmrjzdw6", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712888069, + "created": 1713393643, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4ZdIQTrIOvqUQ2/external_accounts" + "url": "/v1/accounts/acct_1P6h9i4KUmrjzdw6/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:14:30 GMT + recorded_at: Wed, 17 Apr 2024 22:40:44 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -218,19 +218,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0HMQTy3HpF1vE1","request_duration_ms":2025}}' + - '{"last_request_metrics":{"request_id":"req_jm8Rl8sU7tI0UM","request_duration_ms":1865}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4ZdIQTrIOvqUQ2 + - acct_1P6h9i4KUmrjzdw6 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -243,7 +243,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:31 GMT + - Wed, 17 Apr 2024 22:40:45 GMT Content-Type: - application/json Content-Length: @@ -270,17 +270,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0ca11773-3dd5-4fee-8f73-3a28577844b8 + - 0302b496-8847-4fce-9d2c-7542a386e3e2 Original-Request: - - req_2tN8y8zWlwxs1w + - req_2Vw8RTjUU7nX2E Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2tN8y8zWlwxs1w + - req_2Vw8RTjUU7nX2E Stripe-Account: - - acct_1P4ZdIQTrIOvqUQ2 + - acct_1P6h9i4KUmrjzdw6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -295,7 +295,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdKQTrIOvqUQ21T1VSnpz", + "id": "pi_3P6h9k4KUmrjzdw60CPJoVkR", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -311,18 +311,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888070, + "created": 1713393644, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZdKQTrIOvqUQ210lTSNt7", + "latest_charge": "ch_3P6h9k4KUmrjzdw60Zc6MoUh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdKQTrIOvqUQ2kuaROm8f", + "payment_method": "pm_1P6h9k4KUmrjzdw67AgkRAyO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -347,10 +347,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:31 GMT + recorded_at: Wed, 17 Apr 2024 22:40:45 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdKQTrIOvqUQ21T1VSnpz + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h9k4KUmrjzdw60CPJoVkR body: encoding: US-ASCII string: '' @@ -366,7 +366,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4ZdIQTrIOvqUQ2 + - acct_1P6h9i4KUmrjzdw6 Connection: - close Accept-Encoding: @@ -381,7 +381,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:32 GMT + - Wed, 17 Apr 2024 22:40:46 GMT Content-Type: - application/json Content-Length: @@ -413,9 +413,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EBkaoP9fmR1JAQ + - req_TeEZVgd91ME3OF Stripe-Account: - - acct_1P4ZdIQTrIOvqUQ2 + - acct_1P6h9i4KUmrjzdw6 Stripe-Version: - '2020-08-27' Vary: @@ -428,7 +428,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdKQTrIOvqUQ21T1VSnpz", + "id": "pi_3P6h9k4KUmrjzdw60CPJoVkR", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -446,7 +446,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P4ZdKQTrIOvqUQ210lTSNt7", + "id": "ch_3P6h9k4KUmrjzdw60Zc6MoUh", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -454,7 +454,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4ZdKQTrIOvqUQ21AOXlgyX", + "balance_transaction": "txn_3P6h9k4KUmrjzdw60hfBVh5C", "billing_details": { "address": { "city": null, @@ -470,7 +470,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712888070, + "created": 1713393644, "currency": "aud", "customer": null, "description": null, @@ -490,13 +490,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 55, + "risk_score": 24, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4ZdKQTrIOvqUQ21T1VSnpz", - "payment_method": "pm_1P4ZdKQTrIOvqUQ2kuaROm8f", + "payment_intent": "pi_3P6h9k4KUmrjzdw60CPJoVkR", + "payment_method": "pm_1P6h9k4KUmrjzdw67AgkRAyO", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -539,14 +539,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRaZElRVHJJT3ZxVVEyKIiy4rAGMgZjbxBTSYE6LBbutkKbfMus8F0GVS98qmZr4Y9x-8WbD7u-Lw97Id8N-qRzdJh8W6EwYboz", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDZoOWk0S1Vtcmp6ZHc2KO2fgbEGMgYXHWf51Tg6LBaTF2-PxsryTNKbJD43Hje_lrCkxMwsPW5sjduh3CKlPt6O939TJMmIHbvj", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P4ZdKQTrIOvqUQ210lTSNt7/refunds" + "url": "/v1/charges/ch_3P6h9k4KUmrjzdw60Zc6MoUh/refunds" }, "review": null, "shipping": null, @@ -561,22 +561,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P4ZdKQTrIOvqUQ21T1VSnpz" + "url": "/v1/charges?payment_intent=pi_3P6h9k4KUmrjzdw60CPJoVkR" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712888070, + "created": 1713393644, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZdKQTrIOvqUQ210lTSNt7", + "latest_charge": "ch_3P6h9k4KUmrjzdw60Zc6MoUh", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdKQTrIOvqUQ2kuaROm8f", + "payment_method": "pm_1P6h9k4KUmrjzdw67AgkRAyO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -601,10 +601,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:32 GMT + recorded_at: Wed, 17 Apr 2024 22:40:46 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3P4ZdKQTrIOvqUQ210lTSNt7/refunds + uri: https://api.stripe.com/v1/charges/ch_3P6h9k4KUmrjzdw60Zc6MoUh/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -622,7 +622,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4ZdIQTrIOvqUQ2 + - acct_1P6h9i4KUmrjzdw6 Connection: - close Accept-Encoding: @@ -637,7 +637,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:34 GMT + - Wed, 17 Apr 2024 22:40:47 GMT Content-Type: - application/json Content-Length: @@ -665,17 +665,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d03c81bd-4d70-496d-a726-7edb72259f00 + - 0f9056e8-b4f2-4ab0-a33d-dbc830202e7e Original-Request: - - req_it1Oor7RMbGIKJ + - req_rgblqMAoxx1Dwh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_it1Oor7RMbGIKJ + - req_rgblqMAoxx1Dwh Stripe-Account: - - acct_1P4ZdIQTrIOvqUQ2 + - acct_1P6h9i4KUmrjzdw6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -690,12 +690,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3P4ZdKQTrIOvqUQ21K2Rx6pF", + "id": "re_3P6h9k4KUmrjzdw60Xb35Uhh", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P4ZdKQTrIOvqUQ21Tvrkjee", + "balance_transaction": "txn_3P6h9k4KUmrjzdw60SSRfXLn", "charge": { - "id": "ch_3P4ZdKQTrIOvqUQ210lTSNt7", + "id": "ch_3P6h9k4KUmrjzdw60Zc6MoUh", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -703,7 +703,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4ZdKQTrIOvqUQ21AOXlgyX", + "balance_transaction": "txn_3P6h9k4KUmrjzdw60hfBVh5C", "billing_details": { "address": { "city": null, @@ -719,7 +719,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712888070, + "created": 1713393644, "currency": "aud", "customer": null, "description": null, @@ -739,13 +739,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 55, + "risk_score": 24, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4ZdKQTrIOvqUQ21T1VSnpz", - "payment_method": "pm_1P4ZdKQTrIOvqUQ2kuaROm8f", + "payment_intent": "pi_3P6h9k4KUmrjzdw60CPJoVkR", + "payment_method": "pm_1P6h9k4KUmrjzdw67AgkRAyO", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -788,18 +788,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRaZElRVHJJT3ZxVVEyKImy4rAGMgagEAkzJPg6LBaTF1CUuqODCnS438BlEJipoj5sWYLZyjoCy2X8WNOrcL64VD6MQVWeB1Jj", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDZoOWk0S1Vtcmp6ZHc2KO-fgbEGMgbybEkv6m46LBbvb25ggeKpISWj7n0GyRHAMlsarDDqFtG1Xm048MXeWpfspNi-widZutuK", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3P4ZdKQTrIOvqUQ21K2Rx6pF", + "id": "re_3P6h9k4KUmrjzdw60Xb35Uhh", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P4ZdKQTrIOvqUQ21Tvrkjee", - "charge": "ch_3P4ZdKQTrIOvqUQ210lTSNt7", - "created": 1712888073, + "balance_transaction": "txn_3P6h9k4KUmrjzdw60SSRfXLn", + "charge": "ch_3P6h9k4KUmrjzdw60Zc6MoUh", + "created": 1713393646, "currency": "aud", "destination_details": { "card": { @@ -810,7 +810,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P4ZdKQTrIOvqUQ21T1VSnpz", + "payment_intent": "pi_3P6h9k4KUmrjzdw60CPJoVkR", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -820,7 +820,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3P4ZdKQTrIOvqUQ210lTSNt7/refunds" + "url": "/v1/charges/ch_3P6h9k4KUmrjzdw60Zc6MoUh/refunds" }, "review": null, "shipping": null, @@ -832,7 +832,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1712888073, + "created": 1713393646, "currency": "aud", "destination_details": { "card": { @@ -843,29 +843,29 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P4ZdKQTrIOvqUQ21T1VSnpz", + "payment_intent": "pi_3P6h9k4KUmrjzdw60CPJoVkR", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Fri, 12 Apr 2024 02:14:34 GMT + recorded_at: Wed, 17 Apr 2024 22:40:47 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4ZdIQTrIOvqUQ2 + uri: https://api.stripe.com/v1/accounts/acct_1P6h9i4KUmrjzdw6 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2tN8y8zWlwxs1w","request_duration_ms":1587}}' + - '{"last_request_metrics":{"request_id":"req_2Vw8RTjUU7nX2E","request_duration_ms":1414}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -882,7 +882,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:35 GMT + - Wed, 17 Apr 2024 22:40:48 GMT Content-Type: - application/json Content-Length: @@ -913,9 +913,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IgmQ40cYHa2soS + - req_n7PLeqVcYA2aqU Stripe-Account: - - acct_1P4ZdIQTrIOvqUQ2 + - acct_1P6h9i4KUmrjzdw6 Stripe-Version: - '2024-04-10' Vary: @@ -928,9 +928,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZdIQTrIOvqUQ2", + "id": "acct_1P6h9i4KUmrjzdw6", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:14:35 GMT + recorded_at: Wed, 17 Apr 2024 22:40:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml index 5176bef969..900270392a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_error_message/when_payment_intent_state_is_not_in_requires_capture_state/does_not_succeed_if_payment_intent_state_is_not_requires_capture.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IgmQ40cYHa2soS","request_duration_ms":1227}}' + - '{"last_request_metrics":{"request_id":"req_n7PLeqVcYA2aqU","request_duration_ms":1058}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:36 GMT + - Wed, 17 Apr 2024 22:40:49 GMT Content-Type: - application/json Content-Length: - - '977' + - '1013' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -63,7 +63,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_AgKMSS6cKqLmTJ + - req_h1kUu8qlpgx3gt Stripe-Version: - '2024-04-10' Vary: @@ -76,8 +76,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZdQKuuB1fWySnPHPpMPxf", + "id": "pm_1P6h9pKuuB1fWySnLHcMMJgf", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -117,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888076, + "created": 1713393649, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:14:36 GMT + recorded_at: Wed, 17 Apr 2024 22:40:49 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1P4ZdQKuuB1fWySnPHPpMPxf&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P6h9pKuuB1fWySnLHcMMJgf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AgKMSS6cKqLmTJ","request_duration_ms":559}}' + - '{"last_request_metrics":{"request_id":"req_h1kUu8qlpgx3gt","request_duration_ms":399}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -155,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:37 GMT + - Wed, 17 Apr 2024 22:40:50 GMT Content-Type: - application/json Content-Length: @@ -182,15 +183,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 855d4322-b74b-46b3-87f5-ff6c3ad4ce78 + - a2896e8a-cf5c-4c28-ad57-8f0bc6c23872 Original-Request: - - req_q48Po5EucBHOwh + - req_UDOIqvw1SJ1kJE Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_q48Po5EucBHOwh + - req_UDOIqvw1SJ1kJE Stripe-Should-Retry: - 'false' Stripe-Version: @@ -205,7 +206,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdRKuuB1fWySn2XVTbC1T", + "id": "pi_3P6h9pKuuB1fWySn0uOS8MDT", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +222,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888077, + "created": 1713393649, "currency": "aud", "customer": null, "description": null, @@ -232,7 +233,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdQKuuB1fWySnPHPpMPxf", + "payment_method": "pm_1P6h9pKuuB1fWySnLHcMMJgf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,22 +258,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:37 GMT + recorded_at: Wed, 17 Apr 2024 22:40:50 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdRKuuB1fWySn2XVTbC1T + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h9pKuuB1fWySn0uOS8MDT body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_q48Po5EucBHOwh","request_duration_ms":593}}' + - '{"last_request_metrics":{"request_id":"req_UDOIqvw1SJ1kJE","request_duration_ms":478}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -289,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:37 GMT + - Wed, 17 Apr 2024 22:40:50 GMT Content-Type: - application/json Content-Length: @@ -321,7 +322,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3ZbgYB1RnMRw6A + - req_md5EJAhfQz2tq8 Stripe-Version: - '2024-04-10' Vary: @@ -334,7 +335,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdRKuuB1fWySn2XVTbC1T", + "id": "pi_3P6h9pKuuB1fWySn0uOS8MDT", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -350,7 +351,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888077, + "created": 1713393649, "currency": "aud", "customer": null, "description": null, @@ -361,7 +362,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdQKuuB1fWySnPHPpMPxf", + "payment_method": "pm_1P6h9pKuuB1fWySnLHcMMJgf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -386,7 +387,7 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:37 GMT + recorded_at: Wed, 17 Apr 2024 22:40:50 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -395,13 +396,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3ZbgYB1RnMRw6A","request_duration_ms":453}}' + - '{"last_request_metrics":{"request_id":"req_md5EJAhfQz2tq8","request_duration_ms":422}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -418,7 +419,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:39 GMT + - Wed, 17 Apr 2024 22:40:52 GMT Content-Type: - application/json Content-Length: @@ -445,15 +446,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 21822cd5-e434-4eb0-8a28-051499767133 + - 5e707e9a-cf32-4515-acf2-cebbcc0f6dfe Original-Request: - - req_GjRtzuCfleOmDm + - req_cbPYvYJmY3fkfJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GjRtzuCfleOmDm + - req_cbPYvYJmY3fkfJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -468,7 +469,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZdS4EobL20fse", + "id": "acct_1P6h9q4CfczCwDwr", "object": "account", "business_profile": { "annual_revenue": null, @@ -490,7 +491,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712888079, + "created": 1713393651, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -499,7 +500,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4ZdS4EobL20fse/external_accounts" + "url": "/v1/accounts/acct_1P6h9q4CfczCwDwr/external_accounts" }, "future_requirements": { "alternatives": [], @@ -596,22 +597,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:14:39 GMT + recorded_at: Wed, 17 Apr 2024 22:40:52 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4ZdS4EobL20fse + uri: https://api.stripe.com/v1/accounts/acct_1P6h9q4CfczCwDwr body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GjRtzuCfleOmDm","request_duration_ms":2053}}' + - '{"last_request_metrics":{"request_id":"req_cbPYvYJmY3fkfJ","request_duration_ms":1736}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -628,7 +629,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:41 GMT + - Wed, 17 Apr 2024 22:40:53 GMT Content-Type: - application/json Content-Length: @@ -659,9 +660,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6DTqYBGCUMuEYw + - req_PeIqm3K4NmLcSX Stripe-Account: - - acct_1P4ZdS4EobL20fse + - acct_1P6h9q4CfczCwDwr Stripe-Version: - '2024-04-10' Vary: @@ -674,9 +675,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZdS4EobL20fse", + "id": "acct_1P6h9q4CfczCwDwr", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:14:41 GMT + recorded_at: Wed, 17 Apr 2024 22:40:53 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml similarity index 90% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml index 894bf11016..cd93dc0762 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_external_payment_url/calls_Checkout_StripeRedirect.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wNdtJElbnOaxns","request_duration_ms":1075}}' + - '{"last_request_metrics":{"request_id":"req_1BLlFPIR0KR3cU","request_duration_ms":920}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:46 GMT + - Wed, 17 Apr 2024 22:40:59 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ea404579-4d26-4032-9447-4f9bae834e0c + - 06cb1af2-7708-4a82-951a-4108bb21b383 Original-Request: - - req_wsfM0LaQNBGewF + - req_WHoWij9lRj2DYF Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wsfM0LaQNBGewF + - req_WHoWij9lRj2DYF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZdZ4FaMgVEaVi", + "id": "acct_1P6h9x4DCO0qaA5y", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712888086, + "created": 1713393658, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4ZdZ4FaMgVEaVi/external_accounts" + "url": "/v1/accounts/acct_1P6h9x4DCO0qaA5y/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,22 +209,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:14:46 GMT + recorded_at: Wed, 17 Apr 2024 22:40:59 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4ZdZ4FaMgVEaVi + uri: https://api.stripe.com/v1/accounts/acct_1P6h9x4DCO0qaA5y body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wsfM0LaQNBGewF","request_duration_ms":1809}}' + - '{"last_request_metrics":{"request_id":"req_WHoWij9lRj2DYF","request_duration_ms":1922}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:47 GMT + - Wed, 17 Apr 2024 22:41:00 GMT Content-Type: - application/json Content-Length: @@ -272,9 +272,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gYqJXM43oQDdId + - req_zc8hvLjwOG6Dsw Stripe-Account: - - acct_1P4ZdZ4FaMgVEaVi + - acct_1P6h9x4DCO0qaA5y Stripe-Version: - '2024-04-10' Vary: @@ -287,9 +287,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZdZ4FaMgVEaVi", + "id": "acct_1P6h9x4DCO0qaA5y", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:14:48 GMT + recorded_at: Wed, 17 Apr 2024 22:41:00 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml similarity index 90% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml index 4e01d550cb..bb0803997c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_external_payment_url/returns_nil_when_an_order_is_not_supplied.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6DTqYBGCUMuEYw","request_duration_ms":1240}}' + - '{"last_request_metrics":{"request_id":"req_PeIqm3K4NmLcSX","request_duration_ms":1329}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:43 GMT + - Wed, 17 Apr 2024 22:40:55 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e8248ffe-e033-408a-8c3b-09565653fd4e + - 424e9683-d74d-4586-8c22-a634b09f0c62 Original-Request: - - req_AII0LhGLaeSSss + - req_YIVljRloNvDNcT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_AII0LhGLaeSSss + - req_YIVljRloNvDNcT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZdV4DumOjO1bX", + "id": "acct_1P6h9uQTgAPMAm48", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712888082, + "created": 1713393654, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4ZdV4DumOjO1bX/external_accounts" + "url": "/v1/accounts/acct_1P6h9uQTgAPMAm48/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,22 +209,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:14:43 GMT + recorded_at: Wed, 17 Apr 2024 22:40:55 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4ZdV4DumOjO1bX + uri: https://api.stripe.com/v1/accounts/acct_1P6h9uQTgAPMAm48 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AII0LhGLaeSSss","request_duration_ms":2049}}' + - '{"last_request_metrics":{"request_id":"req_YIVljRloNvDNcT","request_duration_ms":2032}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:44 GMT + - Wed, 17 Apr 2024 22:40:56 GMT Content-Type: - application/json Content-Length: @@ -272,9 +272,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wNdtJElbnOaxns + - req_1BLlFPIR0KR3cU Stripe-Account: - - acct_1P4ZdV4DumOjO1bX + - acct_1P6h9uQTgAPMAm48 Stripe-Version: - '2024-04-10' Vary: @@ -287,9 +287,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZdV4DumOjO1bX", + "id": "acct_1P6h9uQTgAPMAm48", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:14:44 GMT + recorded_at: Wed, 17 Apr 2024 22:40:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml index 13d669a8c8..1648c6d679 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_purchase/completes_the_purchase.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WjxjsRdJmU7cJY","request_duration_ms":1094}}' + - '{"last_request_metrics":{"request_id":"req_XG8res7ijCpIgW","request_duration_ms":817}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:57 GMT + - Wed, 17 Apr 2024 22:40:15 GMT Content-Type: - application/json Content-Length: - - '977' + - '1013' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -63,7 +63,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ULgR6qvMdB9s3i + - req_O2pHXZ0HmoJnt9 Stripe-Version: - '2024-04-10' Vary: @@ -76,8 +76,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcnKuuB1fWySnSTWYXVAO", + "id": "pm_1P6h9GKuuB1fWySnIaGI3GWN", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -117,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888037, + "created": 1713393615, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:57 GMT + recorded_at: Wed, 17 Apr 2024 22:40:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1P4ZcnKuuB1fWySnSTWYXVAO&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P6h9GKuuB1fWySnIaGI3GWN&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ULgR6qvMdB9s3i","request_duration_ms":526}}' + - '{"last_request_metrics":{"request_id":"req_O2pHXZ0HmoJnt9","request_duration_ms":489}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -155,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:57 GMT + - Wed, 17 Apr 2024 22:40:15 GMT Content-Type: - application/json Content-Length: @@ -182,15 +183,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5913cb28-a060-481e-856e-68423e3dd4f8 + - 1e87d5f2-0448-4a51-8a5e-b3f8aefcf226 Original-Request: - - req_SZM4kvcWlto7U1 + - req_pWQG2yG1Ax4jRk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SZM4kvcWlto7U1 + - req_pWQG2yG1Ax4jRk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -205,7 +206,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcnKuuB1fWySn024qkKj8", + "id": "pi_3P6h9HKuuB1fWySn0GX7USzi", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +222,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888037, + "created": 1713393615, "currency": "aud", "customer": null, "description": null, @@ -232,7 +233,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcnKuuB1fWySnSTWYXVAO", + "payment_method": "pm_1P6h9GKuuB1fWySnIaGI3GWN", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,22 +258,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:57 GMT + recorded_at: Wed, 17 Apr 2024 22:40:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcnKuuB1fWySn024qkKj8/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h9HKuuB1fWySn0GX7USzi/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SZM4kvcWlto7U1","request_duration_ms":680}}' + - '{"last_request_metrics":{"request_id":"req_pWQG2yG1Ax4jRk","request_duration_ms":511}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -289,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:59 GMT + - Wed, 17 Apr 2024 22:40:16 GMT Content-Type: - application/json Content-Length: @@ -317,15 +318,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 47e09df0-fd00-464c-98ac-b5c8b0a1a7c3 + - 6900a9b9-af42-4425-a398-7843acfef5a1 Original-Request: - - req_7VA6PGT2ruNm85 + - req_etWiRHdjekM9MP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7VA6PGT2ruNm85 + - req_etWiRHdjekM9MP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -340,7 +341,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcnKuuB1fWySn024qkKj8", + "id": "pi_3P6h9HKuuB1fWySn0GX7USzi", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -356,18 +357,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888037, + "created": 1713393615, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcnKuuB1fWySn004YDeMK", + "latest_charge": "ch_3P6h9HKuuB1fWySn0ZlVda9w", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcnKuuB1fWySnSTWYXVAO", + "payment_method": "pm_1P6h9GKuuB1fWySnIaGI3GWN", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -392,22 +393,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:59 GMT + recorded_at: Wed, 17 Apr 2024 22:40:16 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcnKuuB1fWySn024qkKj8 + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h9HKuuB1fWySn0GX7USzi body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7VA6PGT2ruNm85","request_duration_ms":1227}}' + - '{"last_request_metrics":{"request_id":"req_etWiRHdjekM9MP","request_duration_ms":1123}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -424,7 +425,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:00 GMT + - Wed, 17 Apr 2024 22:40:18 GMT Content-Type: - application/json Content-Length: @@ -456,7 +457,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2V1BwK8TQm8jWZ + - req_4YLLSSEOs3AoNr Stripe-Version: - '2024-04-10' Vary: @@ -469,7 +470,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcnKuuB1fWySn024qkKj8", + "id": "pi_3P6h9HKuuB1fWySn0GX7USzi", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -485,18 +486,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888037, + "created": 1713393615, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcnKuuB1fWySn004YDeMK", + "latest_charge": "ch_3P6h9HKuuB1fWySn0ZlVda9w", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcnKuuB1fWySnSTWYXVAO", + "payment_method": "pm_1P6h9GKuuB1fWySnIaGI3GWN", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -521,10 +522,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:00 GMT + recorded_at: Wed, 17 Apr 2024 22:40:18 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcnKuuB1fWySn024qkKj8/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h9HKuuB1fWySn0GX7USzi/capture body: encoding: UTF-8 string: amount_to_capture=1000 @@ -555,11 +556,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:02 GMT + - Wed, 17 Apr 2024 22:40:19 GMT Content-Type: - application/json Content-Length: - - '5163' + - '5162' Connection: - close Access-Control-Allow-Credentials: @@ -583,15 +584,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 15a11901-8587-4976-9efa-76b60023ef28 + - e8a4740c-4718-432d-8824-a71d0b172c29 Original-Request: - - req_DwP6irxkH0iAJN + - req_QJFfo9qsolrC9c Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_DwP6irxkH0iAJN + - req_QJFfo9qsolrC9c Stripe-Should-Retry: - 'false' Stripe-Version: @@ -606,7 +607,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcnKuuB1fWySn024qkKj8", + "id": "pi_3P6h9HKuuB1fWySn0GX7USzi", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -624,7 +625,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P4ZcnKuuB1fWySn004YDeMK", + "id": "ch_3P6h9HKuuB1fWySn0ZlVda9w", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -633,7 +634,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4ZcnKuuB1fWySn0HWAzw3U", + "balance_transaction": "txn_3P6h9HKuuB1fWySn0z60JBQl", "billing_details": { "address": { "city": null, @@ -649,7 +650,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712888038, + "created": 1713393616, "currency": "aud", "customer": null, "description": null, @@ -669,18 +670,18 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 31, + "risk_score": 8, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4ZcnKuuB1fWySn024qkKj8", - "payment_method": "pm_1P4ZcnKuuB1fWySnSTWYXVAO", + "payment_intent": "pi_3P6h9HKuuB1fWySn0GX7USzi", + "payment_method": "pm_1P6h9GKuuB1fWySnIaGI3GWN", "payment_method_details": { "card": { "amount_authorized": 1000, "brand": "mastercard", - "capture_before": 1713492838, + "capture_before": 1713998416, "checks": { "address_line1_check": null, "address_postal_code_check": null, @@ -719,14 +720,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKOqx4rAGMgaEsoqzJsQ6LBaFUvvwIaI89i7yfz412071TUPd_rSO7IdYK6mNbKJWlGFxYDs0NRpKPbM0", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xRmlxRXNLdXVCMWZXeVNuKNOfgbEGMgZW-K9ZLyQ6LBa1WWsudaCUMFn4r4uwwKLy3tUo96EdnX7UMZrufRqKnME_ob6IQXFUNWQD", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P4ZcnKuuB1fWySn004YDeMK/refunds" + "url": "/v1/charges/ch_3P6h9HKuuB1fWySn0ZlVda9w/refunds" }, "review": null, "shipping": null, @@ -741,22 +742,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P4ZcnKuuB1fWySn024qkKj8" + "url": "/v1/charges?payment_intent=pi_3P6h9HKuuB1fWySn0GX7USzi" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712888037, + "created": 1713393615, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcnKuuB1fWySn004YDeMK", + "latest_charge": "ch_3P6h9HKuuB1fWySn0ZlVda9w", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcnKuuB1fWySnSTWYXVAO", + "payment_method": "pm_1P6h9GKuuB1fWySnIaGI3GWN", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -781,7 +782,7 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:02 GMT + recorded_at: Wed, 17 Apr 2024 22:40:19 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -790,13 +791,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2V1BwK8TQm8jWZ","request_duration_ms":526}}' + - '{"last_request_metrics":{"request_id":"req_4YLLSSEOs3AoNr","request_duration_ms":411}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -813,7 +814,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:04 GMT + - Wed, 17 Apr 2024 22:40:21 GMT Content-Type: - application/json Content-Length: @@ -840,15 +841,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a6171a4e-718e-4ff5-9946-d8de77c4c2ba + - f4c18e62-0428-4d9c-92f4-ce07663cd854 Original-Request: - - req_i6kAcNwTsovpMJ + - req_UWNXrzSmFKrfLJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_i6kAcNwTsovpMJ + - req_UWNXrzSmFKrfLJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -863,7 +864,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Zct4EDVQ4j4x9", + "id": "acct_1P6h9M4JJZUDYfa9", "object": "account", "business_profile": { "annual_revenue": null, @@ -885,7 +886,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712888043, + "created": 1713393620, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -894,7 +895,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Zct4EDVQ4j4x9/external_accounts" + "url": "/v1/accounts/acct_1P6h9M4JJZUDYfa9/external_accounts" }, "future_requirements": { "alternatives": [], @@ -991,22 +992,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:14:04 GMT + recorded_at: Wed, 17 Apr 2024 22:40:21 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Zct4EDVQ4j4x9 + uri: https://api.stripe.com/v1/accounts/acct_1P6h9M4JJZUDYfa9 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_i6kAcNwTsovpMJ","request_duration_ms":1738}}' + - '{"last_request_metrics":{"request_id":"req_UWNXrzSmFKrfLJ","request_duration_ms":1870}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -1023,7 +1024,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:05 GMT + - Wed, 17 Apr 2024 22:40:22 GMT Content-Type: - application/json Content-Length: @@ -1054,9 +1055,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vBFA9Encdt8d8u + - req_YcxRlceSDH1DK0 Stripe-Account: - - acct_1P4Zct4EDVQ4j4x9 + - acct_1P6h9M4JJZUDYfa9 Stripe-Version: - '2024-04-10' Vary: @@ -1069,9 +1070,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Zct4EDVQ4j4x9", + "id": "acct_1P6h9M4JJZUDYfa9", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:14:05 GMT + recorded_at: Wed, 17 Apr 2024 22:40:22 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml index 11647bcc41..30a1f796bb 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_purchase/provides_an_error_message_to_help_developer_debug.yml @@ -8,13 +8,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vBFA9Encdt8d8u","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_YcxRlceSDH1DK0","request_duration_ms":1014}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:06 GMT + - Wed, 17 Apr 2024 22:40:23 GMT Content-Type: - application/json Content-Length: - - '977' + - '1013' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -63,7 +63,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_k5uBUvHGEyS9Un + - req_j7DLIIuuhURNC9 Stripe-Version: - '2024-04-10' Vary: @@ -76,8 +76,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcvKuuB1fWySnPaZiae8K", + "id": "pm_1P6h9OKuuB1fWySn36I1mtH7", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -117,28 +118,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888045, + "created": 1713393622, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:14:06 GMT + recorded_at: Wed, 17 Apr 2024 22:40:23 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=1000¤cy=aud&payment_method=pm_1P4ZcvKuuB1fWySnPaZiae8K&payment_method_types[0]=card&capture_method=manual + string: amount=1000¤cy=aud&payment_method=pm_1P6h9OKuuB1fWySn36I1mtH7&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_k5uBUvHGEyS9Un","request_duration_ms":571}}' + - '{"last_request_metrics":{"request_id":"req_j7DLIIuuhURNC9","request_duration_ms":431}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -155,7 +156,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:06 GMT + - Wed, 17 Apr 2024 22:40:23 GMT Content-Type: - application/json Content-Length: @@ -182,15 +183,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - baf83658-cdb1-42f5-b9d0-387a3be1f79c + - 87ca1f94-71d6-4eec-995c-087f6b4408cb Original-Request: - - req_q2mvggi79eAgzs + - req_UQ7IiEc3ReGp38 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_q2mvggi79eAgzs + - req_UQ7IiEc3ReGp38 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -205,7 +206,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcwKuuB1fWySn1zGWpVvn", + "id": "pi_3P6h9PKuuB1fWySn0qF0wV9W", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -221,7 +222,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888046, + "created": 1713393623, "currency": "aud", "customer": null, "description": null, @@ -232,7 +233,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcvKuuB1fWySnPaZiae8K", + "payment_method": "pm_1P6h9OKuuB1fWySn36I1mtH7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -257,22 +258,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:06 GMT + recorded_at: Wed, 17 Apr 2024 22:40:23 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcwKuuB1fWySn1zGWpVvn/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h9PKuuB1fWySn0qF0wV9W/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_q2mvggi79eAgzs","request_duration_ms":613}}' + - '{"last_request_metrics":{"request_id":"req_UQ7IiEc3ReGp38","request_duration_ms":444}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -289,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:07 GMT + - Wed, 17 Apr 2024 22:40:24 GMT Content-Type: - application/json Content-Length: @@ -317,15 +318,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5ffb4b50-7cda-4515-98ad-3a566bc5d567 + - 1d4f4716-9b01-4f8a-a467-61656a62f35e Original-Request: - - req_4i6irO0zCIJDUV + - req_ix8R2kZj087MSe Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4i6irO0zCIJDUV + - req_ix8R2kZj087MSe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -340,7 +341,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcwKuuB1fWySn1zGWpVvn", + "id": "pi_3P6h9PKuuB1fWySn0qF0wV9W", "object": "payment_intent", "amount": 1000, "amount_capturable": 1000, @@ -356,18 +357,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888046, + "created": 1713393623, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcwKuuB1fWySn1FdsSo4x", + "latest_charge": "ch_3P6h9PKuuB1fWySn0pPG4M92", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcvKuuB1fWySnPaZiae8K", + "payment_method": "pm_1P6h9OKuuB1fWySn36I1mtH7", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -392,7 +393,7 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:08 GMT + recorded_at: Wed, 17 Apr 2024 22:40:24 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -401,13 +402,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4i6irO0zCIJDUV","request_duration_ms":1228}}' + - '{"last_request_metrics":{"request_id":"req_ix8R2kZj087MSe","request_duration_ms":1025}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -424,7 +425,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:10 GMT + - Wed, 17 Apr 2024 22:40:26 GMT Content-Type: - application/json Content-Length: @@ -451,15 +452,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 02b609cf-1fc7-42c9-b0f3-4c206625521c + - 5d49d0bd-1024-4c27-aec0-db6138a26672 Original-Request: - - req_dtXpuv1N0OLs4h + - req_aZu7Ip7h6hMWEw Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dtXpuv1N0OLs4h + - req_aZu7Ip7h6hMWEw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Zcz4FWMqMN2a6", + "id": "acct_1P6h9RQTKNivUWku", "object": "account", "business_profile": { "annual_revenue": null, @@ -496,7 +497,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712888049, + "created": 1713393626, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -505,7 +506,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Zcz4FWMqMN2a6/external_accounts" + "url": "/v1/accounts/acct_1P6h9RQTKNivUWku/external_accounts" }, "future_requirements": { "alternatives": [], @@ -602,22 +603,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:14:10 GMT + recorded_at: Wed, 17 Apr 2024 22:40:27 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Zcz4FWMqMN2a6 + uri: https://api.stripe.com/v1/accounts/acct_1P6h9RQTKNivUWku body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dtXpuv1N0OLs4h","request_duration_ms":2053}}' + - '{"last_request_metrics":{"request_id":"req_aZu7Ip7h6hMWEw","request_duration_ms":1707}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -634,7 +635,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:11 GMT + - Wed, 17 Apr 2024 22:40:28 GMT Content-Type: - application/json Content-Length: @@ -665,9 +666,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0yiZduQiEGWQtL + - req_Hc6RJleCBVQrji Stripe-Account: - - acct_1P4Zcz4FWMqMN2a6 + - acct_1P6h9RQTKNivUWku Stripe-Version: - '2024-04-10' Vary: @@ -680,9 +681,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Zcz4FWMqMN2a6", + "id": "acct_1P6h9RQTKNivUWku", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:14:12 GMT + recorded_at: Wed, 17 Apr 2024 22:40:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml index 0cafe0b6b1..3d2bcbc9c7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_void/with_a_confirmed_payment/refunds_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0yiZduQiEGWQtL","request_duration_ms":1225}}' + - '{"last_request_metrics":{"request_id":"req_Hc6RJleCBVQrji","request_duration_ms":1120}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:14 GMT + - Wed, 17 Apr 2024 22:40:30 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 81f4be9b-da40-42fc-a2fc-7635004d4844 + - 92dec14b-edaa-4248-aa04-9e403571116e Original-Request: - - req_sg62FTpjnvBYrg + - req_NGp4nup5Hy409f Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sg62FTpjnvBYrg + - req_NGp4nup5Hy409f Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Zd24CEabTKRMl", + "id": "acct_1P6h9U4J9zQRH3My", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712888053, + "created": 1713393629, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Zd24CEabTKRMl/external_accounts" + "url": "/v1/accounts/acct_1P6h9U4J9zQRH3My/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:14:14 GMT + recorded_at: Wed, 17 Apr 2024 22:40:30 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -218,13 +218,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sg62FTpjnvBYrg","request_duration_ms":2323}}' + - '{"last_request_metrics":{"request_id":"req_NGp4nup5Hy409f","request_duration_ms":2034}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -241,11 +241,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:15 GMT + - Wed, 17 Apr 2024 22:40:31 GMT Content-Type: - application/json Content-Length: - - '977' + - '1013' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -273,7 +273,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UYmqzy5QBFIo6r + - req_5nEx5aRlvAqSnI Stripe-Version: - '2024-04-10' Vary: @@ -286,8 +286,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Zd5KuuB1fWySnj4DGX5j0", + "id": "pm_1P6h9XKuuB1fWySnxUKsZ4Rc", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -327,13 +328,13 @@ http_interactions: }, "wallet": null }, - "created": 1712888055, + "created": 1713393631, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:14:15 GMT + recorded_at: Wed, 17 Apr 2024 22:40:31 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -342,19 +343,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UYmqzy5QBFIo6r","request_duration_ms":649}}' + - '{"last_request_metrics":{"request_id":"req_5nEx5aRlvAqSnI","request_duration_ms":432}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4Zd24CEabTKRMl + - acct_1P6h9U4J9zQRH3My Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:17 GMT + - Wed, 17 Apr 2024 22:40:32 GMT Content-Type: - application/json Content-Length: @@ -394,17 +395,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8005fa1a-b819-4822-aac1-3937a34917a9 + - d508fb8d-38d8-4a0b-811a-9bb831203e0d Original-Request: - - req_dyeZJdaB0pTGZC + - req_n8JawX3qxyVWiw Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dyeZJdaB0pTGZC + - req_n8JawX3qxyVWiw Stripe-Account: - - acct_1P4Zd24CEabTKRMl + - acct_1P6h9U4J9zQRH3My Stripe-Should-Retry: - 'false' Stripe-Version: @@ -419,7 +420,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zd64CEabTKRMl0l99g08U", + "id": "pi_3P6h9X4J9zQRH3My1lrN8v5w", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -435,18 +436,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888056, + "created": 1713393631, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zd64CEabTKRMl0BZPoFpu", + "latest_charge": "ch_3P6h9X4J9zQRH3My1zpsSRbK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zd64CEabTKRMl4SCnxB9i", + "payment_method": "pm_1P6h9X4J9zQRH3MydDNs5uI5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,28 +472,28 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:17 GMT + recorded_at: Wed, 17 Apr 2024 22:40:32 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zd64CEabTKRMl0l99g08U + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h9X4J9zQRH3My1lrN8v5w body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dyeZJdaB0pTGZC","request_duration_ms":1530}}' + - '{"last_request_metrics":{"request_id":"req_n8JawX3qxyVWiw","request_duration_ms":1428}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4Zd24CEabTKRMl + - acct_1P6h9U4J9zQRH3My Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +506,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:17 GMT + - Wed, 17 Apr 2024 22:40:33 GMT Content-Type: - application/json Content-Length: @@ -537,9 +538,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_al7ltjUDwiseue + - req_trWQLXd1iOtBPW Stripe-Account: - - acct_1P4Zd24CEabTKRMl + - acct_1P6h9U4J9zQRH3My Stripe-Version: - '2024-04-10' Vary: @@ -552,7 +553,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zd64CEabTKRMl0l99g08U", + "id": "pi_3P6h9X4J9zQRH3My1lrN8v5w", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -568,18 +569,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888056, + "created": 1713393631, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zd64CEabTKRMl0BZPoFpu", + "latest_charge": "ch_3P6h9X4J9zQRH3My1zpsSRbK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zd64CEabTKRMl4SCnxB9i", + "payment_method": "pm_1P6h9X4J9zQRH3MydDNs5uI5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -604,10 +605,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:17 GMT + recorded_at: Wed, 17 Apr 2024 22:40:33 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zd64CEabTKRMl0l99g08U + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h9X4J9zQRH3My1lrN8v5w body: encoding: US-ASCII string: '' @@ -623,7 +624,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4Zd24CEabTKRMl + - acct_1P6h9U4J9zQRH3My Connection: - close Accept-Encoding: @@ -638,7 +639,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:18 GMT + - Wed, 17 Apr 2024 22:40:33 GMT Content-Type: - application/json Content-Length: @@ -670,9 +671,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Xh6ZmDmo7qjVQ3 + - req_56qLfIgLmecudN Stripe-Account: - - acct_1P4Zd24CEabTKRMl + - acct_1P6h9U4J9zQRH3My Stripe-Version: - '2020-08-27' Vary: @@ -685,7 +686,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zd64CEabTKRMl0l99g08U", + "id": "pi_3P6h9X4J9zQRH3My1lrN8v5w", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -703,7 +704,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P4Zd64CEabTKRMl0BZPoFpu", + "id": "ch_3P6h9X4J9zQRH3My1zpsSRbK", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -711,7 +712,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4Zd64CEabTKRMl0r7q6ifA", + "balance_transaction": "txn_3P6h9X4J9zQRH3My19TMsgUl", "billing_details": { "address": { "city": null, @@ -727,7 +728,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712888056, + "created": 1713393631, "currency": "aud", "customer": null, "description": null, @@ -747,13 +748,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 15, + "risk_score": 25, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4Zd64CEabTKRMl0l99g08U", - "payment_method": "pm_1P4Zd64CEabTKRMl4SCnxB9i", + "payment_intent": "pi_3P6h9X4J9zQRH3My1lrN8v5w", + "payment_method": "pm_1P6h9X4J9zQRH3MydDNs5uI5", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -796,14 +797,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRaZDI0Q0VhYlRLUk1sKPqx4rAGMgbMCJge-eI6LBaSGtGzOnCcbrS2oskD7J9iezKwWXISOY8QtYjd8JyYB_-XMtN9R2Mu2InD", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDZoOVU0Sjl6UVJIM015KOGfgbEGMgaJ38Vstsk6LBZqZ4EqA_Jb1nXwx7qoa52FEauKV8E9KD9JKvi9eVJz0rjBaa9Gn_Hxu-mB", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P4Zd64CEabTKRMl0BZPoFpu/refunds" + "url": "/v1/charges/ch_3P6h9X4J9zQRH3My1zpsSRbK/refunds" }, "review": null, "shipping": null, @@ -818,22 +819,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P4Zd64CEabTKRMl0l99g08U" + "url": "/v1/charges?payment_intent=pi_3P6h9X4J9zQRH3My1lrN8v5w" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712888056, + "created": 1713393631, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zd64CEabTKRMl0BZPoFpu", + "latest_charge": "ch_3P6h9X4J9zQRH3My1zpsSRbK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zd64CEabTKRMl4SCnxB9i", + "payment_method": "pm_1P6h9X4J9zQRH3MydDNs5uI5", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -858,10 +859,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:18 GMT + recorded_at: Wed, 17 Apr 2024 22:40:33 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3P4Zd64CEabTKRMl0BZPoFpu/refunds + uri: https://api.stripe.com/v1/charges/ch_3P6h9X4J9zQRH3My1zpsSRbK/refunds body: encoding: UTF-8 string: amount=1000&expand[0]=charge @@ -879,7 +880,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4Zd24CEabTKRMl + - acct_1P6h9U4J9zQRH3My Connection: - close Accept-Encoding: @@ -894,7 +895,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:19 GMT + - Wed, 17 Apr 2024 22:40:35 GMT Content-Type: - application/json Content-Length: @@ -922,17 +923,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0a4c6916-53c5-4877-b5c5-b6bc54134a2e + - 9d127053-8fbc-47b8-af3c-33154315c0f9 Original-Request: - - req_uQA2pp5f93iFLQ + - req_q1VaJ3ZV8IX30r Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_uQA2pp5f93iFLQ + - req_q1VaJ3ZV8IX30r Stripe-Account: - - acct_1P4Zd24CEabTKRMl + - acct_1P6h9U4J9zQRH3My Stripe-Should-Retry: - 'false' Stripe-Version: @@ -947,12 +948,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3P4Zd64CEabTKRMl08UQNSMt", + "id": "re_3P6h9X4J9zQRH3My1kW0Cu0Q", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P4Zd64CEabTKRMl0x38NxOw", + "balance_transaction": "txn_3P6h9X4J9zQRH3My1sUbTVx5", "charge": { - "id": "ch_3P4Zd64CEabTKRMl0BZPoFpu", + "id": "ch_3P6h9X4J9zQRH3My1zpsSRbK", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -960,7 +961,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4Zd64CEabTKRMl0r7q6ifA", + "balance_transaction": "txn_3P6h9X4J9zQRH3My19TMsgUl", "billing_details": { "address": { "city": null, @@ -976,7 +977,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712888056, + "created": 1713393631, "currency": "aud", "customer": null, "description": null, @@ -996,13 +997,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 15, + "risk_score": 25, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4Zd64CEabTKRMl0l99g08U", - "payment_method": "pm_1P4Zd64CEabTKRMl4SCnxB9i", + "payment_intent": "pi_3P6h9X4J9zQRH3My1lrN8v5w", + "payment_method": "pm_1P6h9X4J9zQRH3MydDNs5uI5", "payment_method_details": { "card": { "amount_authorized": 1000, @@ -1045,18 +1046,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRaZDI0Q0VhYlRLUk1sKPux4rAGMgYJu-KWM_o6LBYci-ecQl8DoJo6uIKiIjFM1ZFW_X7XXhzat-HOvF-J0zsZxCVpr_ZZL3S_", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDZoOVU0Sjl6UVJIM015KOOfgbEGMga7crcak446LBZV8k3AdZ7kcO6J93E0lqOsRbVAkzRhffx3G6xc_Xn9HEH4rs_wV9FwBuv_", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3P4Zd64CEabTKRMl08UQNSMt", + "id": "re_3P6h9X4J9zQRH3My1kW0Cu0Q", "object": "refund", "amount": 1000, - "balance_transaction": "txn_3P4Zd64CEabTKRMl0x38NxOw", - "charge": "ch_3P4Zd64CEabTKRMl0BZPoFpu", - "created": 1712888059, + "balance_transaction": "txn_3P6h9X4J9zQRH3My1sUbTVx5", + "charge": "ch_3P6h9X4J9zQRH3My1zpsSRbK", + "created": 1713393634, "currency": "aud", "destination_details": { "card": { @@ -1067,7 +1068,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P4Zd64CEabTKRMl0l99g08U", + "payment_intent": "pi_3P6h9X4J9zQRH3My1lrN8v5w", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1077,7 +1078,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3P4Zd64CEabTKRMl0BZPoFpu/refunds" + "url": "/v1/charges/ch_3P6h9X4J9zQRH3My1zpsSRbK/refunds" }, "review": null, "shipping": null, @@ -1089,7 +1090,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1712888059, + "created": 1713393634, "currency": "aud", "destination_details": { "card": { @@ -1100,29 +1101,29 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P4Zd64CEabTKRMl0l99g08U", + "payment_intent": "pi_3P6h9X4J9zQRH3My1lrN8v5w", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Fri, 12 Apr 2024 02:14:20 GMT + recorded_at: Wed, 17 Apr 2024 22:40:35 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Zd24CEabTKRMl + uri: https://api.stripe.com/v1/accounts/acct_1P6h9U4J9zQRH3My body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_al7ltjUDwiseue","request_duration_ms":492}}' + - '{"last_request_metrics":{"request_id":"req_trWQLXd1iOtBPW","request_duration_ms":394}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -1139,7 +1140,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:21 GMT + - Wed, 17 Apr 2024 22:40:36 GMT Content-Type: - application/json Content-Length: @@ -1170,9 +1171,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_96WRUEBNDZQWAM + - req_fv2gjlLRUsoRVA Stripe-Account: - - acct_1P4Zd24CEabTKRMl + - acct_1P6h9U4J9zQRH3My Stripe-Version: - '2024-04-10' Vary: @@ -1185,9 +1186,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Zd24CEabTKRMl", + "id": "acct_1P6h9U4J9zQRH3My", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:14:21 GMT + recorded_at: Wed, 17 Apr 2024 22:40:36 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml similarity index 89% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml index 9d6e024636..51223a0dd6 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Spree_Gateway_StripeSCA/_void/with_a_voidable_payment/void_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=carrot.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_96WRUEBNDZQWAM","request_duration_ms":1125}}' + - '{"last_request_metrics":{"request_id":"req_fv2gjlLRUsoRVA","request_duration_ms":1024}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:23 GMT + - Wed, 17 Apr 2024 22:40:38 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 628494d1-9be4-4f87-b7b3-7544f4045483 + - 3c3bece9-daff-4fb1-9ce0-425023ae7683 Original-Request: - - req_RvYYleN3Rs6McG + - req_sEpazGkTWBhiqv Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_RvYYleN3Rs6McG + - req_sEpazGkTWBhiqv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZdB4DoT4mqnG4", + "id": "acct_1P6h9c3PPJnQM4Nb", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712888062, + "created": 1713393637, "default_currency": "aud", "details_submitted": false, "email": "carrot.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4ZdB4DoT4mqnG4/external_accounts" + "url": "/v1/accounts/acct_1P6h9c3PPJnQM4Nb/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:14:23 GMT + recorded_at: Wed, 17 Apr 2024 22:40:38 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -218,13 +218,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RvYYleN3Rs6McG","request_duration_ms":2016}}' + - '{"last_request_metrics":{"request_id":"req_sEpazGkTWBhiqv","request_duration_ms":1696}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -241,11 +241,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:24 GMT + - Wed, 17 Apr 2024 22:40:39 GMT Content-Type: - application/json Content-Length: - - '977' + - '1013' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -273,7 +273,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rnet7ehHR016z7 + - req_C4Mv9CPrpMkRrT Stripe-Version: - '2024-04-10' Vary: @@ -286,8 +286,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZdEKuuB1fWySn6MBR7ElD", + "id": "pm_1P6h9fKuuB1fWySn5z3LyCFT", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -327,13 +328,13 @@ http_interactions: }, "wallet": null }, - "created": 1712888064, + "created": 1713393639, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:14:24 GMT + recorded_at: Wed, 17 Apr 2024 22:40:39 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -342,19 +343,19 @@ http_interactions: string: amount=1000¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rnet7ehHR016z7","request_duration_ms":588}}' + - '{"last_request_metrics":{"request_id":"req_C4Mv9CPrpMkRrT","request_duration_ms":539}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4ZdB4DoT4mqnG4 + - acct_1P6h9c3PPJnQM4Nb Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:25 GMT + - Wed, 17 Apr 2024 22:40:39 GMT Content-Type: - application/json Content-Length: @@ -394,17 +395,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 37a89c73-45a8-4c18-93b8-c423e3d84a44 + - ef909d12-ae9d-4c10-98eb-70181d39f195 Original-Request: - - req_BwGvniALp2k11B + - req_NKSYSayqFPaZmQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BwGvniALp2k11B + - req_NKSYSayqFPaZmQ Stripe-Account: - - acct_1P4ZdB4DoT4mqnG4 + - acct_1P6h9c3PPJnQM4Nb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -419,7 +420,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdE4DoT4mqnG411WLX3rQ", + "id": "pi_3P6h9f3PPJnQM4Nb1soYNeEx", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -435,7 +436,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888064, + "created": 1713393639, "currency": "aud", "customer": null, "description": null, @@ -446,7 +447,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdE4DoT4mqnG4EpIZWzPp", + "payment_method": "pm_1P6h9f3PPJnQM4NbdZWYb7Mn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,28 +472,28 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:25 GMT + recorded_at: Wed, 17 Apr 2024 22:40:39 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdE4DoT4mqnG411WLX3rQ + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h9f3PPJnQM4Nb1soYNeEx body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BwGvniALp2k11B","request_duration_ms":620}}' + - '{"last_request_metrics":{"request_id":"req_NKSYSayqFPaZmQ","request_duration_ms":537}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4ZdB4DoT4mqnG4 + - acct_1P6h9c3PPJnQM4Nb Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -505,7 +506,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:25 GMT + - Wed, 17 Apr 2024 22:40:40 GMT Content-Type: - application/json Content-Length: @@ -537,9 +538,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bSMCPY0HQ6QCkL + - req_y5YXRAeQMZrIzE Stripe-Account: - - acct_1P4ZdB4DoT4mqnG4 + - acct_1P6h9c3PPJnQM4Nb Stripe-Version: - '2024-04-10' Vary: @@ -552,7 +553,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdE4DoT4mqnG411WLX3rQ", + "id": "pi_3P6h9f3PPJnQM4Nb1soYNeEx", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -568,7 +569,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888064, + "created": 1713393639, "currency": "aud", "customer": null, "description": null, @@ -579,7 +580,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdE4DoT4mqnG4EpIZWzPp", + "payment_method": "pm_1P6h9f3PPJnQM4NbdZWYb7Mn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -604,10 +605,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:25 GMT + recorded_at: Wed, 17 Apr 2024 22:40:40 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdE4DoT4mqnG411WLX3rQ/cancel + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h9f3PPJnQM4Nb1soYNeEx/cancel body: encoding: US-ASCII string: '' @@ -625,7 +626,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4ZdB4DoT4mqnG4 + - acct_1P6h9c3PPJnQM4Nb Connection: - close Accept-Encoding: @@ -640,7 +641,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:26 GMT + - Wed, 17 Apr 2024 22:40:40 GMT Content-Type: - application/json Content-Length: @@ -668,17 +669,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ce477308-b45d-4367-95dc-c0b069e9854c + - 6cb49bb9-8d9b-49c3-b9ef-50d86e81ed5a Original-Request: - - req_XOdj9oIC4hNaRK + - req_RSjiYLCTAQHsEs Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XOdj9oIC4hNaRK + - req_RSjiYLCTAQHsEs Stripe-Account: - - acct_1P4ZdB4DoT4mqnG4 + - acct_1P6h9c3PPJnQM4Nb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -693,7 +694,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdE4DoT4mqnG411WLX3rQ", + "id": "pi_3P6h9f3PPJnQM4Nb1soYNeEx", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -704,7 +705,7 @@ http_interactions: "application": "", "application_fee_amount": null, "automatic_payment_methods": null, - "canceled_at": 1712888066, + "canceled_at": 1713393640, "cancellation_reason": null, "capture_method": "manual", "charges": { @@ -712,11 +713,11 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges?payment_intent=pi_3P4ZdE4DoT4mqnG411WLX3rQ" + "url": "/v1/charges?payment_intent=pi_3P6h9f3PPJnQM4Nb1soYNeEx" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712888064, + "created": 1713393639, "currency": "aud", "customer": null, "description": null, @@ -727,7 +728,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdE4DoT4mqnG4EpIZWzPp", + "payment_method": "pm_1P6h9f3PPJnQM4NbdZWYb7Mn", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -752,22 +753,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:26 GMT + recorded_at: Wed, 17 Apr 2024 22:40:41 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4ZdB4DoT4mqnG4 + uri: https://api.stripe.com/v1/accounts/acct_1P6h9c3PPJnQM4Nb body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bSMCPY0HQ6QCkL","request_duration_ms":546}}' + - '{"last_request_metrics":{"request_id":"req_y5YXRAeQMZrIzE","request_duration_ms":359}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -784,7 +785,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:28 GMT + - Wed, 17 Apr 2024 22:40:42 GMT Content-Type: - application/json Content-Length: @@ -815,9 +816,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_iknD95Pwi06l40 + - req_B60iS3d4eUM92l Stripe-Account: - - acct_1P4ZdB4DoT4mqnG4 + - acct_1P6h9c3PPJnQM4Nb Stripe-Version: - '2024-04-10' Vary: @@ -830,9 +831,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZdB4DoT4mqnG4", + "id": "acct_1P6h9c3PPJnQM4Nb", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:14:28 GMT + recorded_at: Wed, 17 Apr 2024 22:40:42 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml similarity index 71% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml index 7d57cfc2da..a44adc3684 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_fails/destroys_the_record_and_notifies_Bugsnag.yml @@ -8,13 +8,13 @@ http_interactions: string: stripe_user_id=&client_id=bogus_client_id headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gYqJXM43oQDdId","request_duration_ms":1218}}' + - '{"last_request_metrics":{"request_id":"req_zc8hvLjwOG6Dsw","request_duration_ms":1019}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:49 GMT + - Wed, 17 Apr 2024 22:41:00 GMT Content-Type: - application/json Content-Length: @@ -57,20 +57,20 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MNerLDGD8s2AIe + - req_NSGSltGyJ7L7cj Set-Cookie: - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Sat, 12 Apr 2025 02:14:49 GMT; secure; + domain=stripe.com; path=/; expires=Thu, 17 Apr 2025 22:41:00 GMT; secure; HttpOnly; SameSite=Lax - - cid=289fa2e6-0612-46a5-b3dc-69f7f61e61ee; domain=stripe.com; path=/; expires=Thu, - 11 Jul 2024 02:14:49 GMT; secure; SameSite=Lax - - machine_identifier=hBbcvUUqSX4F2JmzL4J0w2KhURetB7x%2FkHEneHYJahOwDqvgg0OC22%2Fo1KqwWEqWNIQ%3D; - domain=stripe.com; path=/; expires=Sat, 12 Apr 2025 02:14:49 GMT; secure; + - cid=5145cfc5-24a6-40e3-abb8-90bfe57bad32; domain=stripe.com; path=/; expires=Tue, + 16 Jul 2024 22:41:00 GMT; secure; SameSite=Lax + - machine_identifier=BCqb3iQpc%2FaqdFTVTawu6mbVZbkeldjYEgeOKCps5Hj7cLsLdzK8GGhBvJ2a6imtb0U%3D; + domain=stripe.com; path=/; expires=Thu, 17 Apr 2025 22:41:00 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=zkFt77U4hiW7KzCYlc1%2FO56NoNcVKKX0VDF9Kz5BJNujwGR7o7qK0A76lWFCTCGmhBo%3D; - domain=stripe.com; path=/; expires=Sat, 12 Apr 2025 02:14:49 GMT; secure; + - private_machine_identifier=7YF7smRjWUw8eD17qPxfSf2k5rE7OXma5BrYsJQF0b%2FAcfLtuciB8wVuVUcFdQHSFIU%3D; + domain=stripe.com; path=/; expires=Thu, 17 Apr 2025 22:41:00 GMT; secure; HttpOnly; SameSite=None - - stripe.csrf=1ZfkvQa3n5jAz5h0kNQc9X7zBi6NQXHoyuyMrcChvevKPo0v1HmISKVVt_wb96Mb-ogMTmiQS-EfCn5DHYHr8zw-AYTZVJzNwbf_CKx7bn1hj9N3NP6B95CO0wUnVz0X4J96M3xvaA%3D%3D; + - stripe.csrf=QsoKbV0fwPYXcMT4Y87keEJgYX0F6EmDzYbKqjlGBNiO7fw9AhXQ_uB5f2NNsl-zScHN2J7YxmbbatQpJKZ1cjw-AYTZVJyNhnBKgQZbBXeSlsF-lgGOfzsFYUgeV-mUUrkFUEfweg%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -88,5 +88,5 @@ http_interactions: ''bogus_client_id''","stripe_user_id":null} ' - recorded_at: Fri, 12 Apr 2024 02:14:49 GMT + recorded_at: Wed, 17 Apr 2024 22:41:00 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml similarity index 84% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml index 9b1931d18b..c8aa1ce714 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripeAccount/deauthorize_and_destroy/when_the_Stripe_API_disconnect_succeeds/destroys_the_record.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=jumping.jack%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gYqJXM43oQDdId","request_duration_ms":1218}}' + - '{"last_request_metrics":{"request_id":"req_zc8hvLjwOG6Dsw","request_duration_ms":1019}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:51 GMT + - Wed, 17 Apr 2024 22:41:02 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6faedd1f-1a83-4b1c-ad4d-168d2c82b4ef + - e3a2c76a-3783-4d5b-8bd1-0b059c7cc17b Original-Request: - - req_UAFiw9bz1pfZD9 + - req_y4sp0UmrRilWdn Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UAFiw9bz1pfZD9 + - req_y4sp0UmrRilWdn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZddQRfOW4POpO", + "id": "acct_1P6hA14CyWKcBaxF", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712888090, + "created": 1713393662, "default_currency": "aud", "details_submitted": false, "email": "jumping.jack@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4ZddQRfOW4POpO/external_accounts" + "url": "/v1/accounts/acct_1P6hA14CyWKcBaxF/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,22 +209,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:14:51 GMT + recorded_at: Wed, 17 Apr 2024 22:41:03 GMT - request: method: post uri: https://connect.stripe.com/oauth/deauthorize body: encoding: UTF-8 - string: stripe_user_id=acct_1P4ZddQRfOW4POpO&client_id= + string: stripe_user_id=acct_1P6hA14CyWKcBaxF&client_id= headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UAFiw9bz1pfZD9","request_duration_ms":1909}}' + - '{"last_request_metrics":{"request_id":"req_y4sp0UmrRilWdn","request_duration_ms":2030}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -241,7 +241,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:52 GMT + - Wed, 17 Apr 2024 22:41:03 GMT Content-Type: - application/json Content-Length: @@ -267,20 +267,20 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JPO7KcDPc7k4SG + - req_tuOGRA5fMeWcGd Set-Cookie: - __stripe_orig_props=%7B%22referrer%22%3A%22%22%2C%22landing%22%3A%22https%3A%2F%2Fconnect.stripe.com%2Foauth%2Fdeauthorize%22%7D; - domain=stripe.com; path=/; expires=Sat, 12 Apr 2025 02:14:52 GMT; secure; + domain=stripe.com; path=/; expires=Thu, 17 Apr 2025 22:41:03 GMT; secure; HttpOnly; SameSite=Lax - - cid=345f5357-c07d-48cd-8341-890d54d2c985; domain=stripe.com; path=/; expires=Thu, - 11 Jul 2024 02:14:52 GMT; secure; SameSite=Lax - - machine_identifier=6ERLDVibgBETvTdkQNJiH3MSaNCjTVxBJvT%2FB3hLb2%2BtHS5h5zCCQkbgwAAktYar%2FhU%3D; - domain=stripe.com; path=/; expires=Sat, 12 Apr 2025 02:14:52 GMT; secure; + - cid=bf73f2f1-2730-4bfe-b876-eb2a52e4962b; domain=stripe.com; path=/; expires=Tue, + 16 Jul 2024 22:41:03 GMT; secure; SameSite=Lax + - machine_identifier=PlXTX3M37xnhrzfE%2FTYiF1zopgjPNwB%2BbIhFkFQGbea1hcnRQd%2Bnc69or4YgFhmh4kk%3D; + domain=stripe.com; path=/; expires=Thu, 17 Apr 2025 22:41:03 GMT; secure; HttpOnly; SameSite=Lax - - private_machine_identifier=CkoKb2cM5RM7uplC7DwtWbaLK0%2B6rwvcTTIJP3yWLti4%2BEAguGMvsa015wMMzsiHbGo%3D; - domain=stripe.com; path=/; expires=Sat, 12 Apr 2025 02:14:52 GMT; secure; + - private_machine_identifier=dnLBg3Z4kBckQs94fSyCCFWmWRjRbJlO5detDWo3Kpbysho0cR%2B%2BEm7sk4bzCTmuTqQ%3D; + domain=stripe.com; path=/; expires=Thu, 17 Apr 2025 22:41:03 GMT; secure; HttpOnly; SameSite=None - - stripe.csrf=EyZTaLATrejDwZSn33Notd5jTySp2TgYJN5j5jPFvQ_wN9bO9-8Ne1G4PF_2_B48JgpouZScjaF-smhSNnph-Dw-AYTZVJxXkia3XAIOW4vaSyg9uQMC35WcdMsJrurKwl1TltV8cw%3D%3D; + - stripe.csrf=ZVM3UQ2vutPuntBqAZtAvnXXWxcVydPwAZ9KWGkoqXqSIzPNAhcjwh-JqCiVIs9GUx3FOyEHaW4WmhAix-M9Ujw-AYTZVJw3wFcX1VecoxDMwYHHg7CC2d5XmPzDtYpnBy0C0_jQkw%3D%3D; domain=stripe.com; path=/; secure; HttpOnly; SameSite=None Stripe-Kill-Route: - "[]" @@ -292,8 +292,8 @@ http_interactions: - max-age=63072000; includeSubDomains; preload body: encoding: UTF-8 - string: '{"error":null,"error_description":null,"stripe_user_id":"acct_1P4ZddQRfOW4POpO"} + string: '{"error":null,"error_description":null,"stripe_user_id":"acct_1P6hA14CyWKcBaxF"} ' - recorded_at: Fri, 12 Apr 2024 02:14:52 GMT + recorded_at: Wed, 17 Apr 2024 22:41:03 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml index b6f4f44574..250abd8df5 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_captured_/when_the_Stripe_payment_has_been_captured/returns_true.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7ND5ewRzxpeecJ","request_duration_ms":1429}}' + - '{"last_request_metrics":{"request_id":"req_N9r6YNyPTBTY9H","request_duration_ms":1297}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:15:02 GMT + - Wed, 17 Apr 2024 22:41:11 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d88d1174-3869-406c-b41b-20c8d512d4d0 + - 26396e04-a63b-42de-8e4d-14a2c1bffb08 Original-Request: - - req_OnNZo7TnJDruKt + - req_hapdhSFa9oklw7 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OnNZo7TnJDruKt + - req_hapdhSFa9oklw7 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZdpKuuB1fWySnAHGGy6xz", + "id": "pm_1P6hABKuuB1fWySnAN7nHeKK", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888102, + "created": 1713393671, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:15:02 GMT + recorded_at: Wed, 17 Apr 2024 22:41:11 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P4ZdpKuuB1fWySnAHGGy6xz&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P6hABKuuB1fWySnAN7nHeKK&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OnNZo7TnJDruKt","request_duration_ms":695}}' + - '{"last_request_metrics":{"request_id":"req_hapdhSFa9oklw7","request_duration_ms":551}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:15:02 GMT + - Wed, 17 Apr 2024 22:41:12 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 14967189-0071-4630-9526-2b508f637ae6 + - e475cdc8-4c3f-420c-9f5e-498af7f45c66 Original-Request: - - req_ZmJD1JAqckCUsk + - req_MmWJ8o9z3LAZrf Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZmJD1JAqckCUsk + - req_MmWJ8o9z3LAZrf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdqKuuB1fWySn08i449zj", + "id": "pi_3P6hABKuuB1fWySn1DUCSQ4r", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888102, + "created": 1713393671, "currency": "aud", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdpKuuB1fWySnAHGGy6xz", + "payment_method": "pm_1P6hABKuuB1fWySnAN7nHeKK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:15:02 GMT + recorded_at: Wed, 17 Apr 2024 22:41:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdqKuuB1fWySn08i449zj/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6hABKuuB1fWySn1DUCSQ4r/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZmJD1JAqckCUsk","request_duration_ms":611}}' + - '{"last_request_metrics":{"request_id":"req_MmWJ8o9z3LAZrf","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:15:03 GMT + - Wed, 17 Apr 2024 22:41:13 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ac032be6-cba7-48b8-b97d-0db66ccc7663 + - 477a4847-5315-440a-b513-9699b8f8e6b7 Original-Request: - - req_MdEYVIgYgHYrEc + - req_aW9KyGjMWnuRW6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MdEYVIgYgHYrEc + - req_aW9KyGjMWnuRW6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdqKuuB1fWySn08i449zj", + "id": "pi_3P6hABKuuB1fWySn1DUCSQ4r", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888102, + "created": 1713393671, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZdqKuuB1fWySn0MUBo8mK", + "latest_charge": "ch_3P6hABKuuB1fWySn1odNJCg9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdpKuuB1fWySnAHGGy6xz", + "payment_method": "pm_1P6hABKuuB1fWySnAN7nHeKK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:15:04 GMT + recorded_at: Wed, 17 Apr 2024 22:41:13 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdqKuuB1fWySn08i449zj/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6hABKuuB1fWySn1DUCSQ4r/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MdEYVIgYgHYrEc","request_duration_ms":1226}}' + - '{"last_request_metrics":{"request_id":"req_aW9KyGjMWnuRW6","request_duration_ms":1124}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:15:05 GMT + - Wed, 17 Apr 2024 22:41:14 GMT Content-Type: - application/json Content-Length: @@ -457,15 +458,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5dcc5795-a3d5-45ce-b391-32ca19ca4ad6 + - 4da9cbf3-5f37-46a2-818e-4415bcade748 Original-Request: - - req_El18wYIRVWTgGG + - req_uqFRchNX2gvVd6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_El18wYIRVWTgGG + - req_uqFRchNX2gvVd6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -480,7 +481,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdqKuuB1fWySn08i449zj", + "id": "pi_3P6hABKuuB1fWySn1DUCSQ4r", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -496,18 +497,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888102, + "created": 1713393671, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZdqKuuB1fWySn0MUBo8mK", + "latest_charge": "ch_3P6hABKuuB1fWySn1odNJCg9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdpKuuB1fWySnAHGGy6xz", + "payment_method": "pm_1P6hABKuuB1fWySnAN7nHeKK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -532,22 +533,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:15:05 GMT + recorded_at: Wed, 17 Apr 2024 22:41:14 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdqKuuB1fWySn08i449zj + uri: https://api.stripe.com/v1/payment_intents/pi_3P6hABKuuB1fWySn1DUCSQ4r body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_El18wYIRVWTgGG","request_duration_ms":1326}}' + - '{"last_request_metrics":{"request_id":"req_uqFRchNX2gvVd6","request_duration_ms":1227}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -564,7 +565,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:15:06 GMT + - Wed, 17 Apr 2024 22:41:15 GMT Content-Type: - application/json Content-Length: @@ -596,7 +597,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xwNgw4AYwwJXMs + - req_ujKgcbLv0jphd1 Stripe-Version: - '2024-04-10' Vary: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdqKuuB1fWySn08i449zj", + "id": "pi_3P6hABKuuB1fWySn1DUCSQ4r", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888102, + "created": 1713393671, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZdqKuuB1fWySn0MUBo8mK", + "latest_charge": "ch_3P6hABKuuB1fWySn1odNJCg9", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdpKuuB1fWySnAHGGy6xz", + "payment_method": "pm_1P6hABKuuB1fWySnAN7nHeKK", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,5 +662,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:15:06 GMT + recorded_at: Wed, 17 Apr 2024 22:41:15 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml index a2e617f069..58cf51155c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_captured_/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_false.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_us5Xtd63PvuvIF","request_duration_ms":572}}' + - '{"last_request_metrics":{"request_id":"req_QvJSfTMIm7JeuJ","request_duration_ms":603}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:58 GMT + - Wed, 17 Apr 2024 22:41:08 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5c73fe7f-7692-44ed-8d87-6a2c76bd79e5 + - f57ce768-268b-4f0d-a6b1-eef93704de10 Original-Request: - - req_hP9xJqFPWw7Ig3 + - req_DncMJMBbT2DNTW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hP9xJqFPWw7Ig3 + - req_DncMJMBbT2DNTW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZdlKuuB1fWySnzlSjNsDp", + "id": "pm_1P6hA7KuuB1fWySnwaPwdSUt", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888097, + "created": 1713393667, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:14:58 GMT + recorded_at: Wed, 17 Apr 2024 22:41:08 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P4ZdlKuuB1fWySnzlSjNsDp&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P6hA7KuuB1fWySnwaPwdSUt&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hP9xJqFPWw7Ig3","request_duration_ms":588}}' + - '{"last_request_metrics":{"request_id":"req_DncMJMBbT2DNTW","request_duration_ms":562}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:58 GMT + - Wed, 17 Apr 2024 22:41:08 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 357b853b-effc-4182-b6b8-16decb8aaef3 + - 786961a2-32d7-4970-89cc-ca91ccdb3b40 Original-Request: - - req_q7Y1EVurOcgghq + - req_HGftEu3PUpgLU3 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_q7Y1EVurOcgghq + - req_HGftEu3PUpgLU3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdmKuuB1fWySn0LU5rTBB", + "id": "pi_3P6hA8KuuB1fWySn2Q9nbu4a", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888098, + "created": 1713393668, "currency": "aud", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdlKuuB1fWySnzlSjNsDp", + "payment_method": "pm_1P6hA7KuuB1fWySnwaPwdSUt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:58 GMT + recorded_at: Wed, 17 Apr 2024 22:41:08 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdmKuuB1fWySn0LU5rTBB/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6hA8KuuB1fWySn2Q9nbu4a/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_q7Y1EVurOcgghq","request_duration_ms":608}}' + - '{"last_request_metrics":{"request_id":"req_HGftEu3PUpgLU3","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:59 GMT + - Wed, 17 Apr 2024 22:41:09 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e1c601ed-4b5f-4f73-8bbf-cd119aa1544b + - 80df136b-4d7e-4f83-9261-2d986c9a01a9 Original-Request: - - req_hy0luvU3Yera5O + - req_K5wxwLJ4VRCgKC Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hy0luvU3Yera5O + - req_K5wxwLJ4VRCgKC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdmKuuB1fWySn0LU5rTBB", + "id": "pi_3P6hA8KuuB1fWySn2Q9nbu4a", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888098, + "created": 1713393668, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZdmKuuB1fWySn0j3ID3CS", + "latest_charge": "ch_3P6hA8KuuB1fWySn2quGri3T", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdlKuuB1fWySnzlSjNsDp", + "payment_method": "pm_1P6hA7KuuB1fWySnwaPwdSUt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:59 GMT + recorded_at: Wed, 17 Apr 2024 22:41:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdmKuuB1fWySn0LU5rTBB/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6hA8KuuB1fWySn2Q9nbu4a/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hy0luvU3Yera5O","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_K5wxwLJ4VRCgKC","request_duration_ms":950}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:15:01 GMT + - Wed, 17 Apr 2024 22:41:10 GMT Content-Type: - application/json Content-Length: @@ -457,15 +458,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - dea42712-f9e1-4a81-9b6b-8cc775e7ab14 + - ed0243b4-4673-41dd-92a2-2444d6068a00 Original-Request: - - req_7ND5ewRzxpeecJ + - req_N9r6YNyPTBTY9H Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7ND5ewRzxpeecJ + - req_N9r6YNyPTBTY9H Stripe-Should-Retry: - 'false' Stripe-Version: @@ -480,7 +481,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdmKuuB1fWySn0LU5rTBB", + "id": "pi_3P6hA8KuuB1fWySn2Q9nbu4a", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -496,18 +497,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888098, + "created": 1713393668, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZdmKuuB1fWySn0j3ID3CS", + "latest_charge": "ch_3P6hA8KuuB1fWySn2quGri3T", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdlKuuB1fWySnzlSjNsDp", + "payment_method": "pm_1P6hA7KuuB1fWySnwaPwdSUt", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -532,5 +533,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:15:01 GMT + recorded_at: Wed, 17 Apr 2024 22:41:10 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml index 2185902557..5c801a7783 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/and_the_last_action_on_the_Stripe_payment_failed/returns_failed_response.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FEFTzrZy8t1cM9","request_duration_ms":473}}' + - '{"last_request_metrics":{"request_id":"req_ps1V3QDUfb1bDT","request_duration_ms":337}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:56 GMT + - Wed, 17 Apr 2024 22:41:06 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 42a6ac17-4d84-40b5-a90b-ad2da0e302bf + - 065c9008-97c7-48eb-a878-586faa3481f1 Original-Request: - - req_lU89IsLUd1var8 + - req_sAU94bsNaeDGEN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lU89IsLUd1var8 + - req_sAU94bsNaeDGEN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZdkKuuB1fWySn1R4GPIMC", + "id": "pm_1P6hA6KuuB1fWySny9DoLWz3", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888096, + "created": 1713393666, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:14:56 GMT + recorded_at: Wed, 17 Apr 2024 22:41:06 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P4ZdkKuuB1fWySn1R4GPIMC&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P6hA6KuuB1fWySny9DoLWz3&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lU89IsLUd1var8","request_duration_ms":782}}' + - '{"last_request_metrics":{"request_id":"req_sAU94bsNaeDGEN","request_duration_ms":442}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:57 GMT + - Wed, 17 Apr 2024 22:41:07 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 609de0d8-b28c-4131-8da2-65cb7873046d + - 2c1af106-1cef-4835-971a-420f6d300b4a Original-Request: - - req_us5Xtd63PvuvIF + - req_QvJSfTMIm7JeuJ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_us5Xtd63PvuvIF + - req_QvJSfTMIm7JeuJ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdlKuuB1fWySn2r2swMrx", + "id": "pi_3P6hA7KuuB1fWySn2Oq11BYe", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888097, + "created": 1713393667, "currency": "aud", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdkKuuB1fWySn1R4GPIMC", + "payment_method": "pm_1P6hA6KuuB1fWySny9DoLWz3", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,5 +263,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:57 GMT + recorded_at: Wed, 17 Apr 2024 22:41:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml index 97d370d118..6aa71bce08 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_status/when_the_payment_has_a_payment_intent/fetches_the_status_with_Stripe_PaymentIntentValidator.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mR5omc7DBkl9nj","request_duration_ms":607}}' + - '{"last_request_metrics":{"request_id":"req_02Nb5gHl50fjAA","request_duration_ms":415}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:54 GMT + - Wed, 17 Apr 2024 22:41:05 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e13e06f9-75bf-4d7b-a21c-b688806bc306 + - 007a2eb1-7b77-4657-8775-e3aba9bfdb53 Original-Request: - - req_Kk3yo4bucVN0n9 + - req_Y3gX21v7ld8VY4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Kk3yo4bucVN0n9 + - req_Y3gX21v7ld8VY4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZdiKuuB1fWySnnztpPqaj", + "id": "pm_1P6hA5KuuB1fWySnlRmVNC4N", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888094, + "created": 1713393665, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:14:54 GMT + recorded_at: Wed, 17 Apr 2024 22:41:05 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P4ZdiKuuB1fWySnnztpPqaj&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P6hA5KuuB1fWySnlRmVNC4N&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Kk3yo4bucVN0n9","request_duration_ms":614}}' + - '{"last_request_metrics":{"request_id":"req_Y3gX21v7ld8VY4","request_duration_ms":536}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:55 GMT + - Wed, 17 Apr 2024 22:41:05 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f1b35445-1ff1-4eb4-95dd-0f0099b7bcf5 + - 1dfb7bfe-8a45-428b-8ecc-2f55782ed3f7 Original-Request: - - req_iwPUEolUy9f6ge + - req_CIV79hZFWbdloN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_iwPUEolUy9f6ge + - req_CIV79hZFWbdloN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdjKuuB1fWySn2RPQPiuc", + "id": "pi_3P6hA5KuuB1fWySn1isKoCdb", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888095, + "created": 1713393665, "currency": "aud", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdiKuuB1fWySnnztpPqaj", + "payment_method": "pm_1P6hA5KuuB1fWySnlRmVNC4N", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:55 GMT + recorded_at: Wed, 17 Apr 2024 22:41:05 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZdjKuuB1fWySn2RPQPiuc + uri: https://api.stripe.com/v1/payment_intents/pi_3P6hA5KuuB1fWySn1isKoCdb body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iwPUEolUy9f6ge","request_duration_ms":606}}' + - '{"last_request_metrics":{"request_id":"req_CIV79hZFWbdloN","request_duration_ms":400}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:55 GMT + - Wed, 17 Apr 2024 22:41:06 GMT Content-Type: - application/json Content-Length: @@ -326,7 +327,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FEFTzrZy8t1cM9 + - req_ps1V3QDUfb1bDT Stripe-Version: - '2024-04-10' Vary: @@ -339,7 +340,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdjKuuB1fWySn2RPQPiuc", + "id": "pi_3P6hA5KuuB1fWySn1isKoCdb", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -355,7 +356,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888095, + "created": 1713393665, "currency": "aud", "customer": null, "description": null, @@ -366,7 +367,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdiKuuB1fWySnnztpPqaj", + "payment_method": "pm_1P6hA5KuuB1fWySnlRmVNC4N", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -391,5 +392,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:56 GMT + recorded_at: Wed, 17 Apr 2024 22:41:06 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml index 12c7915fc6..ced209fbf1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/StripePaymentStatus/_stripe_status/when_the_payment_is_not_a_Stripe_payment_or_does_not_have_a_payment_intent/returns_nil.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JPO7KcDPc7k4SG","request_duration_ms":1006}}' + - '{"last_request_metrics":{"request_id":"req_tuOGRA5fMeWcGd","request_duration_ms":502}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:53 GMT + - Wed, 17 Apr 2024 22:41:04 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b9caafef-09db-453c-8084-c549320a0cb5 + - 0e4003f5-cfa9-45c1-b28f-61db03179a1b Original-Request: - - req_D91WmSCDkmTbdi + - req_yaZAESQjszRb8P Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_D91WmSCDkmTbdi + - req_yaZAESQjszRb8P Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZdgKuuB1fWySnDeXgGxkt", + "id": "pm_1P6hA4KuuB1fWySnLXFYlYnm", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888093, + "created": 1713393664, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:14:53 GMT + recorded_at: Wed, 17 Apr 2024 22:41:04 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=aud&payment_method=pm_1P4ZdgKuuB1fWySnDeXgGxkt&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=aud&payment_method=pm_1P6hA4KuuB1fWySnLXFYlYnm&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_D91WmSCDkmTbdi","request_duration_ms":758}}' + - '{"last_request_metrics":{"request_id":"req_yaZAESQjszRb8P","request_duration_ms":531}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:14:53 GMT + - Wed, 17 Apr 2024 22:41:04 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2707a21e-b629-4bce-9f6e-88e204bf4a8a + - 92fb7cc0-f8c0-4014-868d-db8086c49695 Original-Request: - - req_mR5omc7DBkl9nj + - req_02Nb5gHl50fjAA Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mR5omc7DBkl9nj + - req_02Nb5gHl50fjAA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZdhKuuB1fWySn2qH7oS9H", + "id": "pi_3P6hA4KuuB1fWySn1QPPDvHu", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888093, + "created": 1713393664, "currency": "aud", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZdgKuuB1fWySnDeXgGxkt", + "payment_method": "pm_1P6hA4KuuB1fWySnLXFYlYnm", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,5 +263,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:14:54 GMT + recorded_at: Wed, 17 Apr 2024 22:41:04 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml index 76eb8224eb..183ff13fc7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_card_without_a_customer_one_time_usage_card_/clones_the_payment_method_only.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hMYopP4arAmaeo","request_duration_ms":399}}' + - '{"last_request_metrics":{"request_id":"req_BHrjo9C9dXpZ55","request_duration_ms":711}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:22 GMT + - Wed, 17 Apr 2024 22:37:50 GMT Content-Type: - application/json Content-Length: - - '959' + - '995' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2f4ad1c9-7139-46b5-a442-fa90a8bdde3a + - a27ea2bc-5029-4881-ae9a-daef21c06ce6 Original-Request: - - req_7BAoei6zdJXIVX + - req_hgMR8K0DpYEzxW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7BAoei6zdJXIVX + - req_hgMR8K0DpYEzxW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaIKuuB1fWySnSMS6Jo46", + "id": "pm_1P6h6wKuuB1fWySn88ABa5q1", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,13 +123,13 @@ http_interactions: }, "wallet": null }, - "created": 1712887882, + "created": 1713393470, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:22 GMT + recorded_at: Wed, 17 Apr 2024 22:37:50 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -137,13 +138,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7BAoei6zdJXIVX","request_duration_ms":499}}' + - '{"last_request_metrics":{"request_id":"req_hgMR8K0DpYEzxW","request_duration_ms":550}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:24 GMT + - Wed, 17 Apr 2024 22:37:52 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 27f95a7c-1d9d-462d-b37c-453f7486ba6c + - 1c46df6a-d266-4fda-8a44-95d275eb2b88 Original-Request: - - req_JOKDeosiH4GMXY + - req_mfzCZD5X8Ot9MF Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JOKDeosiH4GMXY + - req_mfzCZD5X8Ot9MF Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZaJ3ObfKmNJ8t", + "id": "acct_1P6h6xQPNAORwPNv", "object": "account", "business_profile": { "annual_revenue": null, @@ -232,7 +233,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712887883, + "created": 1713393471, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -241,7 +242,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4ZaJ3ObfKmNJ8t/external_accounts" + "url": "/v1/accounts/acct_1P6h6xQPNAORwPNv/external_accounts" }, "future_requirements": { "alternatives": [], @@ -338,22 +339,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:11:24 GMT + recorded_at: Wed, 17 Apr 2024 22:37:52 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaIKuuB1fWySnSMS6Jo46 + uri: https://api.stripe.com/v1/payment_methods/pm_1P6h6wKuuB1fWySn88ABa5q1 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JOKDeosiH4GMXY","request_duration_ms":1980}}' + - '{"last_request_metrics":{"request_id":"req_mfzCZD5X8Ot9MF","request_duration_ms":1714}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -370,11 +371,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:25 GMT + - Wed, 17 Apr 2024 22:37:52 GMT Content-Type: - application/json Content-Length: - - '959' + - '995' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -402,7 +403,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_C6tDJbtmu1B78f + - req_unSlSEY8qgECJb Stripe-Version: - '2024-04-10' Vary: @@ -415,8 +416,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaIKuuB1fWySnSMS6Jo46", + "id": "pm_1P6h6wKuuB1fWySn88ABa5q1", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -456,13 +458,13 @@ http_interactions: }, "wallet": null }, - "created": 1712887882, + "created": 1713393470, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:25 GMT + recorded_at: Wed, 17 Apr 2024 22:37:53 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -471,19 +473,19 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_C6tDJbtmu1B78f","request_duration_ms":340}}' + - '{"last_request_metrics":{"request_id":"req_unSlSEY8qgECJb","request_duration_ms":402}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4ZaJ3ObfKmNJ8t + - acct_1P6h6xQPNAORwPNv Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -496,7 +498,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:25 GMT + - Wed, 17 Apr 2024 22:37:53 GMT Content-Type: - application/json Content-Length: @@ -527,9 +529,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Np5fQJpC15cMCX + - req_1DxTRdjbmg7rwk Stripe-Account: - - acct_1P4ZaJ3ObfKmNJ8t + - acct_1P6h6xQPNAORwPNv Stripe-Version: - '2024-04-10' Vary: @@ -547,28 +549,28 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Fri, 12 Apr 2024 02:11:25 GMT + recorded_at: Wed, 17 Apr 2024 22:37:53 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: payment_method=pm_1P4ZaIKuuB1fWySnSMS6Jo46 + string: payment_method=pm_1P6h6wKuuB1fWySn88ABa5q1 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Np5fQJpC15cMCX","request_duration_ms":367}}' + - '{"last_request_metrics":{"request_id":"req_1DxTRdjbmg7rwk","request_duration_ms":407}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4ZaJ3ObfKmNJ8t + - acct_1P6h6xQPNAORwPNv Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -581,11 +583,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:25 GMT + - Wed, 17 Apr 2024 22:37:53 GMT Content-Type: - application/json Content-Length: - - '959' + - '995' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -608,17 +610,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2bda5820-82b7-4dd6-aa72-961349cf4565 + - 2eadc7da-9341-464f-92c9-dbb7ce6d58d9 Original-Request: - - req_gBbcLi5FiS4jXY + - req_Cdg2FoG9HNnA2p Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gBbcLi5FiS4jXY + - req_Cdg2FoG9HNnA2p Stripe-Account: - - acct_1P4ZaJ3ObfKmNJ8t + - acct_1P6h6xQPNAORwPNv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -633,8 +635,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaL3ObfKmNJ8tgiPHRKm1", + "id": "pm_1P6h6zQPNAORwPNva14N63Oi", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -674,28 +677,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887885, + "created": 1713393473, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:25 GMT + recorded_at: Wed, 17 Apr 2024 22:37:53 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4ZaJ3ObfKmNJ8t + uri: https://api.stripe.com/v1/accounts/acct_1P6h6xQPNAORwPNv body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gBbcLi5FiS4jXY","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_Cdg2FoG9HNnA2p","request_duration_ms":410}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -712,7 +715,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:27 GMT + - Wed, 17 Apr 2024 22:37:54 GMT Content-Type: - application/json Content-Length: @@ -743,9 +746,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5SHRzoHwxdHhyc + - req_rNzhu1sbYbbr6t Stripe-Account: - - acct_1P4ZaJ3ObfKmNJ8t + - acct_1P6h6xQPNAORwPNv Stripe-Version: - '2024-04-10' Vary: @@ -758,9 +761,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZaJ3ObfKmNJ8t", + "id": "acct_1P6h6xQPNAORwPNv", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:11:27 GMT + recorded_at: Wed, 17 Apr 2024 22:37:55 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml index 926a511ddc..ad7bcc0c85 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardCloner/_find_or_clone/when_called_with_a_valid_customer_and_payment_method/clones_both_the_payment_method_and_the_customer.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5SHRzoHwxdHhyc","request_duration_ms":1113}}' + - '{"last_request_metrics":{"request_id":"req_rNzhu1sbYbbr6t","request_duration_ms":1113}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:27 GMT + - Wed, 17 Apr 2024 22:37:55 GMT Content-Type: - application/json Content-Length: - - '959' + - '995' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 69ebb85c-acf7-458e-a3d2-e061742edb27 + - de4587ad-fb95-4b60-b583-3ad671a47023 Original-Request: - - req_Lgg7CFtbJkFdLJ + - req_sEl1WCoGkCpPJV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Lgg7CFtbJkFdLJ + - req_sEl1WCoGkCpPJV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaNKuuB1fWySnguFIZykH", + "id": "pm_1P6h71KuuB1fWySnfweYNVxV", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,13 +123,13 @@ http_interactions: }, "wallet": null }, - "created": 1712887887, + "created": 1713393475, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:27 GMT + recorded_at: Wed, 17 Apr 2024 22:37:55 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,13 +138,13 @@ http_interactions: string: name=Apple+Customer&email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Lgg7CFtbJkFdLJ","request_duration_ms":510}}' + - '{"last_request_metrics":{"request_id":"req_sEl1WCoGkCpPJV","request_duration_ms":513}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:28 GMT + - Wed, 17 Apr 2024 22:37:56 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9de68f82-db85-4c58-95df-79d8bfef0497 + - 6b0499f0-f28b-4463-8b80-21506b13c2d6 Original-Request: - - req_AdS9rKzMcWSHpf + - req_2XoLNlMGODJlRA Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_AdS9rKzMcWSHpf + - req_2XoLNlMGODJlRA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +211,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PuONHWUvq38h7I", + "id": "cus_PwaHzpMjdK6VfR", "object": "customer", "address": null, "balance": 0, - "created": 1712887887, + "created": 1713393475, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "6087D03E", + "invoice_prefix": "71CBC2AB", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,22 +239,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Fri, 12 Apr 2024 02:11:28 GMT + recorded_at: Wed, 17 Apr 2024 22:37:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaNKuuB1fWySnguFIZykH/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P6h71KuuB1fWySnfweYNVxV/attach body: encoding: UTF-8 - string: customer=cus_PuONHWUvq38h7I + string: customer=cus_PwaHzpMjdK6VfR headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AdS9rKzMcWSHpf","request_duration_ms":513}}' + - '{"last_request_metrics":{"request_id":"req_2XoLNlMGODJlRA","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -270,11 +271,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:28 GMT + - Wed, 17 Apr 2024 22:37:56 GMT Content-Type: - application/json Content-Length: - - '970' + - '1006' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -298,15 +299,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8608c587-ecb0-4d7e-905c-794403f9ec3b + - 0023b4dc-6ef0-4205-960a-8ee6ba127d4d Original-Request: - - req_2hCXAiswoYcotA + - req_IxsD8jT35QAMkS Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2hCXAiswoYcotA + - req_IxsD8jT35QAMkS Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,8 +322,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaNKuuB1fWySnguFIZykH", + "id": "pm_1P6h71KuuB1fWySnfweYNVxV", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -362,13 +364,13 @@ http_interactions: }, "wallet": null }, - "created": 1712887887, - "customer": "cus_PuONHWUvq38h7I", + "created": 1713393475, + "customer": "cus_PwaHzpMjdK6VfR", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:28 GMT + recorded_at: Wed, 17 Apr 2024 22:37:56 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -377,13 +379,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2hCXAiswoYcotA","request_duration_ms":710}}' + - '{"last_request_metrics":{"request_id":"req_IxsD8jT35QAMkS","request_duration_ms":818}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -400,7 +402,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:30 GMT + - Wed, 17 Apr 2024 22:37:58 GMT Content-Type: - application/json Content-Length: @@ -427,15 +429,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 67ca0af3-9044-450f-a457-eaff4186273c + - 17d828a1-a874-4b99-a4cb-b76046c26a9f Original-Request: - - req_MNBc0qvE72XW6d + - req_SqKaW98rp2HKkW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MNBc0qvE72XW6d + - req_SqKaW98rp2HKkW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -450,7 +452,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZaPQTzqHR8CGo", + "id": "acct_1P6h73QQ40FmawRZ", "object": "account", "business_profile": { "annual_revenue": null, @@ -472,7 +474,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712887890, + "created": 1713393477, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -481,7 +483,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4ZaPQTzqHR8CGo/external_accounts" + "url": "/v1/accounts/acct_1P6h73QQ40FmawRZ/external_accounts" }, "future_requirements": { "alternatives": [], @@ -578,22 +580,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:11:30 GMT + recorded_at: Wed, 17 Apr 2024 22:37:58 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaNKuuB1fWySnguFIZykH + uri: https://api.stripe.com/v1/payment_methods/pm_1P6h71KuuB1fWySnfweYNVxV body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MNBc0qvE72XW6d","request_duration_ms":1924}}' + - '{"last_request_metrics":{"request_id":"req_SqKaW98rp2HKkW","request_duration_ms":1618}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -610,11 +612,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:31 GMT + - Wed, 17 Apr 2024 22:37:58 GMT Content-Type: - application/json Content-Length: - - '970' + - '1006' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -642,7 +644,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eGpuKdTNgBEbvq + - req_Pz35fqKr7kw1tG Stripe-Version: - '2024-04-10' Vary: @@ -655,8 +657,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaNKuuB1fWySnguFIZykH", + "id": "pm_1P6h71KuuB1fWySnfweYNVxV", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -696,13 +699,13 @@ http_interactions: }, "wallet": null }, - "created": 1712887887, - "customer": "cus_PuONHWUvq38h7I", + "created": 1713393475, + "customer": "cus_PwaHzpMjdK6VfR", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:31 GMT + recorded_at: Wed, 17 Apr 2024 22:37:59 GMT - request: method: get uri: https://api.stripe.com/v1/customers?email=apple.customer@example.com&limit=100 @@ -711,19 +714,19 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eGpuKdTNgBEbvq","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_Pz35fqKr7kw1tG","request_duration_ms":403}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4ZaPQTzqHR8CGo + - acct_1P6h73QQ40FmawRZ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -736,7 +739,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:31 GMT + - Wed, 17 Apr 2024 22:37:59 GMT Content-Type: - application/json Content-Length: @@ -767,9 +770,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BY4PK8nOn5TdoY + - req_RWZdYTAKZQdoWn Stripe-Account: - - acct_1P4ZaPQTzqHR8CGo + - acct_1P6h73QQ40FmawRZ Stripe-Version: - '2024-04-10' Vary: @@ -787,28 +790,28 @@ http_interactions: "has_more": false, "url": "/v1/customers" } - recorded_at: Fri, 12 Apr 2024 02:11:31 GMT + recorded_at: Wed, 17 Apr 2024 22:37:59 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods body: encoding: UTF-8 - string: customer=cus_PuONHWUvq38h7I&payment_method=pm_1P4ZaNKuuB1fWySnguFIZykH + string: customer=cus_PwaHzpMjdK6VfR&payment_method=pm_1P6h71KuuB1fWySnfweYNVxV headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BY4PK8nOn5TdoY","request_duration_ms":309}}' + - '{"last_request_metrics":{"request_id":"req_RWZdYTAKZQdoWn","request_duration_ms":407}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4ZaPQTzqHR8CGo + - acct_1P6h73QQ40FmawRZ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -821,11 +824,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:32 GMT + - Wed, 17 Apr 2024 22:37:59 GMT Content-Type: - application/json Content-Length: - - '954' + - '990' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -848,17 +851,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 77822443-e7e1-497c-8ecd-75e2c5aa2283 + - a2187df8-c274-49bc-9f65-693fac9de453 Original-Request: - - req_98IQVqp4DKlui8 + - req_IsDKt1nOL7a9fZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_98IQVqp4DKlui8 + - req_IsDKt1nOL7a9fZ Stripe-Account: - - acct_1P4ZaPQTzqHR8CGo + - acct_1P6h73QQ40FmawRZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -873,8 +876,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaRQTzqHR8CGosjcS2TAx", + "id": "pm_1P6h75QQ40FmawRZTNhCPYJg", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -914,13 +918,13 @@ http_interactions: }, "wallet": null }, - "created": 1712887891, + "created": 1713393479, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:32 GMT + recorded_at: Wed, 17 Apr 2024 22:37:59 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -929,19 +933,19 @@ http_interactions: string: email=apple.customer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_98IQVqp4DKlui8","request_duration_ms":420}}' + - '{"last_request_metrics":{"request_id":"req_IsDKt1nOL7a9fZ","request_duration_ms":511}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4ZaPQTzqHR8CGo + - acct_1P6h73QQ40FmawRZ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -954,7 +958,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:32 GMT + - Wed, 17 Apr 2024 22:38:00 GMT Content-Type: - application/json Content-Length: @@ -981,17 +985,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0c8cee61-f93b-4ce5-a967-73c730a6a2dd + - dd0eee51-1d29-418f-a2aa-769b22299d86 Original-Request: - - req_pi5XJzpEqcrZnp + - req_zlySuQqkr9lBvl Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_pi5XJzpEqcrZnp + - req_zlySuQqkr9lBvl Stripe-Account: - - acct_1P4ZaPQTzqHR8CGo + - acct_1P6h73QQ40FmawRZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1006,18 +1010,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PuONRIJfPuzEq6", + "id": "cus_PwaHCh7jj6scbH", "object": "customer", "address": null, "balance": 0, - "created": 1712887892, + "created": 1713393480, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "apple.customer@example.com", - "invoice_prefix": "1D9525C5", + "invoice_prefix": "27EF2351", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -1034,28 +1038,28 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Fri, 12 Apr 2024 02:11:32 GMT + recorded_at: Wed, 17 Apr 2024 22:38:00 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaRQTzqHR8CGosjcS2TAx/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P6h75QQ40FmawRZTNhCPYJg/attach body: encoding: UTF-8 - string: customer=cus_PuONRIJfPuzEq6 + string: customer=cus_PwaHCh7jj6scbH headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pi5XJzpEqcrZnp","request_duration_ms":490}}' + - '{"last_request_metrics":{"request_id":"req_zlySuQqkr9lBvl","request_duration_ms":407}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4ZaPQTzqHR8CGo + - acct_1P6h73QQ40FmawRZ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1068,11 +1072,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:33 GMT + - Wed, 17 Apr 2024 22:38:00 GMT Content-Type: - application/json Content-Length: - - '970' + - '1006' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1096,17 +1100,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 82fb7f0d-2c43-4327-bb84-36f6213c5083 + - 2f7d4e50-acd5-4757-9bc0-ac5227c1ac9f Original-Request: - - req_lBUNTPzUS0AWAg + - req_liovngFFihrPwi Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lBUNTPzUS0AWAg + - req_liovngFFihrPwi Stripe-Account: - - acct_1P4ZaPQTzqHR8CGo + - acct_1P6h73QQ40FmawRZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1121,8 +1125,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaRQTzqHR8CGosjcS2TAx", + "id": "pm_1P6h75QQ40FmawRZTNhCPYJg", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -1162,34 +1167,34 @@ http_interactions: }, "wallet": null }, - "created": 1712887891, - "customer": "cus_PuONRIJfPuzEq6", + "created": 1713393479, + "customer": "cus_PwaHCh7jj6scbH", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:32 GMT + recorded_at: Wed, 17 Apr 2024 22:38:00 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaRQTzqHR8CGosjcS2TAx + uri: https://api.stripe.com/v1/payment_methods/pm_1P6h75QQ40FmawRZTNhCPYJg body: encoding: UTF-8 string: metadata[ofn-clone]=true headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lBUNTPzUS0AWAg","request_duration_ms":460}}' + - '{"last_request_metrics":{"request_id":"req_liovngFFihrPwi","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4ZaPQTzqHR8CGo + - acct_1P6h73QQ40FmawRZ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1202,11 +1207,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:33 GMT + - Wed, 17 Apr 2024 22:38:01 GMT Content-Type: - application/json Content-Length: - - '997' + - '1033' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1230,17 +1235,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8c0122a8-0884-4bb1-a38e-ee903dece2e5 + - ce0cb2e2-2792-4dd2-9ef0-1047e8eafd65 Original-Request: - - req_483A3szmwNE8GD + - req_dKTf1EYVfNjB01 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_483A3szmwNE8GD + - req_dKTf1EYVfNjB01 Stripe-Account: - - acct_1P4ZaPQTzqHR8CGo + - acct_1P6h73QQ40FmawRZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -1255,8 +1260,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaRQTzqHR8CGosjcS2TAx", + "id": "pm_1P6h75QQ40FmawRZTNhCPYJg", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -1296,30 +1302,30 @@ http_interactions: }, "wallet": null }, - "created": 1712887891, - "customer": "cus_PuONRIJfPuzEq6", + "created": 1713393479, + "customer": "cus_PwaHCh7jj6scbH", "livemode": false, "metadata": { "ofn-clone": "true" }, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:33 GMT + recorded_at: Wed, 17 Apr 2024 22:38:01 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4ZaPQTzqHR8CGo + uri: https://api.stripe.com/v1/accounts/acct_1P6h73QQ40FmawRZ body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_483A3szmwNE8GD","request_duration_ms":458}}' + - '{"last_request_metrics":{"request_id":"req_dKTf1EYVfNjB01","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -1336,7 +1342,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:34 GMT + - Wed, 17 Apr 2024 22:38:02 GMT Content-Type: - application/json Content-Length: @@ -1367,9 +1373,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vUaESIyspFDJai + - req_Fy0JTu17KQh7sg Stripe-Account: - - acct_1P4ZaPQTzqHR8CGo + - acct_1P6h73QQ40FmawRZ Stripe-Version: - '2024-04-10' Vary: @@ -1382,9 +1388,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZaPQTzqHR8CGo", + "id": "acct_1P6h73QQ40FmawRZ", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:11:34 GMT + recorded_at: Wed, 17 Apr 2024 22:38:02 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml similarity index 90% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml index 0c4b0c437d..797c2ee1cd 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardRemover/_remove/Stripe_customer_does_not_exist/raises_an_error.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2MOj7f2NrGI8Zz","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_iTb9sKFigz7sHq","request_duration_ms":1018}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:45 GMT + - Wed, 17 Apr 2024 22:38:13 GMT Content-Type: - application/json Content-Length: - - '959' + - '995' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1511f365-3a80-428c-aabf-af406dd04f7f + - 99f1d6e2-378f-40b9-9d20-2fb43881fd9f Original-Request: - - req_z8bfJeR8bp5q5x + - req_vfZ5VjBdyMDgFj Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_z8bfJeR8bp5q5x + - req_vfZ5VjBdyMDgFj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZafKuuB1fWySnXDNrOXWG", + "id": "pm_1P6h7JKuuB1fWySneht2cVGh", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,13 +123,13 @@ http_interactions: }, "wallet": null }, - "created": 1712887905, + "created": 1713393493, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:45 GMT + recorded_at: Wed, 17 Apr 2024 22:38:13 GMT - request: method: get uri: https://api.stripe.com/v1/customers/non_existing_customer_id @@ -137,13 +138,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_z8bfJeR8bp5q5x","request_duration_ms":624}}' + - '{"last_request_metrics":{"request_id":"req_vfZ5VjBdyMDgFj","request_duration_ms":444}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:45 GMT + - Wed, 17 Apr 2024 22:38:13 GMT Content-Type: - application/json Content-Length: @@ -192,7 +193,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JlkfY1xXUY0LlY + - req_AAG94JYQ2aQnuO Stripe-Version: - '2024-04-10' Vary: @@ -210,11 +211,11 @@ http_interactions: "doc_url": "https://stripe.com/docs/error-codes/resource-missing", "message": "No such customer: 'non_existing_customer_id'", "param": "id", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_JlkfY1xXUY0LlY?t=1712887905", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_AAG94JYQ2aQnuO?t=1713393493", "type": "invalid_request_error" } } - recorded_at: Fri, 12 Apr 2024 02:11:45 GMT + recorded_at: Wed, 17 Apr 2024 22:38:13 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -223,13 +224,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_z8bfJeR8bp5q5x","request_duration_ms":624}}' + - '{"last_request_metrics":{"request_id":"req_vfZ5VjBdyMDgFj","request_duration_ms":444}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -246,7 +247,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:47 GMT + - Wed, 17 Apr 2024 22:38:15 GMT Content-Type: - application/json Content-Length: @@ -273,15 +274,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c9de2c10-5dcc-4a83-ae59-b84f37564f86 + - c2fb3984-a965-4f0d-a533-6112e4f253e1 Original-Request: - - req_GADNLHxu0sT3dN + - req_D5UhU7Scg3L2gq Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GADNLHxu0sT3dN + - req_D5UhU7Scg3L2gq Stripe-Should-Retry: - 'false' Stripe-Version: @@ -296,7 +297,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZagQSWSd2lYRl", + "id": "acct_1P6h7KQR64sIdptS", "object": "account", "business_profile": { "annual_revenue": null, @@ -318,7 +319,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712887906, + "created": 1713393494, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -327,7 +328,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4ZagQSWSd2lYRl/external_accounts" + "url": "/v1/accounts/acct_1P6h7KQR64sIdptS/external_accounts" }, "future_requirements": { "alternatives": [], @@ -424,22 +425,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:11:47 GMT + recorded_at: Wed, 17 Apr 2024 22:38:15 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4ZagQSWSd2lYRl + uri: https://api.stripe.com/v1/accounts/acct_1P6h7KQR64sIdptS body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GADNLHxu0sT3dN","request_duration_ms":1792}}' + - '{"last_request_metrics":{"request_id":"req_D5UhU7Scg3L2gq","request_duration_ms":1677}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -456,7 +457,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:48 GMT + - Wed, 17 Apr 2024 22:38:16 GMT Content-Type: - application/json Content-Length: @@ -487,9 +488,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2v3MuZspc7vhxp + - req_6erFBt8I8770U0 Stripe-Account: - - acct_1P4ZagQSWSd2lYRl + - acct_1P6h7KQR64sIdptS Stripe-Version: - '2024-04-10' Vary: @@ -502,9 +503,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZagQSWSd2lYRl", + "id": "acct_1P6h7KQR64sIdptS", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:11:48 GMT + recorded_at: Wed, 17 Apr 2024 22:38:16 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml index 6eadcbb3e9..2b3ac2617a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_deleted/deletes_the_credit_card_clone.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BqXpV1twvQ9KsY","request_duration_ms":1041}}' + - '{"last_request_metrics":{"request_id":"req_8dNi2QaYaG1AMO","request_duration_ms":991}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:40 GMT + - Wed, 17 Apr 2024 22:38:08 GMT Content-Type: - application/json Content-Length: - - '959' + - '995' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8d45dd9d-7179-4a08-8f28-1149c759138a + - 3136c020-eb68-49a2-8729-26a04ddc9809 Original-Request: - - req_CnNZkbLGaTDhG4 + - req_l5Ppcr2CrfjgfT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_CnNZkbLGaTDhG4 + - req_l5Ppcr2CrfjgfT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaaKuuB1fWySnJGNn5iC4", + "id": "pm_1P6h7EKuuB1fWySn0El7pnzD", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,13 +123,13 @@ http_interactions: }, "wallet": null }, - "created": 1712887900, + "created": 1713393488, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:40 GMT + recorded_at: Wed, 17 Apr 2024 22:38:08 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,13 +138,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CnNZkbLGaTDhG4","request_duration_ms":472}}' + - '{"last_request_metrics":{"request_id":"req_l5Ppcr2CrfjgfT","request_duration_ms":512}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:41 GMT + - Wed, 17 Apr 2024 22:38:08 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 45754cad-f270-4fb3-9252-fdfe99391db0 + - 5844e356-9fc2-4e02-bf97-ccda2a0a3631 Original-Request: - - req_MPnuKRK8O5rroR + - req_dWZffZ3uDufpk6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_MPnuKRK8O5rroR + - req_dWZffZ3uDufpk6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +211,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PuONXxSxnOCthr", + "id": "cus_PwaHCzG0Sae8wW", "object": "customer", "address": null, "balance": 0, - "created": 1712887900, + "created": 1713393488, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "9CE41E61", + "invoice_prefix": "CB64C917", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,22 +239,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Fri, 12 Apr 2024 02:11:41 GMT + recorded_at: Wed, 17 Apr 2024 22:38:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaaKuuB1fWySnJGNn5iC4/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P6h7EKuuB1fWySn0El7pnzD/attach body: encoding: UTF-8 - string: customer=cus_PuONXxSxnOCthr + string: customer=cus_PwaHCzG0Sae8wW headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MPnuKRK8O5rroR","request_duration_ms":450}}' + - '{"last_request_metrics":{"request_id":"req_dWZffZ3uDufpk6","request_duration_ms":622}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -270,11 +271,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:41 GMT + - Wed, 17 Apr 2024 22:38:09 GMT Content-Type: - application/json Content-Length: - - '970' + - '1006' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -298,15 +299,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c5d73821-d4cc-49bf-b1b2-9df613c97fe7 + - e3ff6833-f6b9-49a2-958d-5d5a2ba08230 Original-Request: - - req_0lNoqGNn2LV0Th + - req_PKnbarmnJ4yI12 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_0lNoqGNn2LV0Th + - req_PKnbarmnJ4yI12 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,8 +322,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaaKuuB1fWySnJGNn5iC4", + "id": "pm_1P6h7EKuuB1fWySn0El7pnzD", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -362,13 +364,13 @@ http_interactions: }, "wallet": null }, - "created": 1712887900, - "customer": "cus_PuONXxSxnOCthr", + "created": 1713393488, + "customer": "cus_PwaHCzG0Sae8wW", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:41 GMT + recorded_at: Wed, 17 Apr 2024 22:38:09 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -377,13 +379,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0lNoqGNn2LV0Th","request_duration_ms":674}}' + - '{"last_request_metrics":{"request_id":"req_PKnbarmnJ4yI12","request_duration_ms":750}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -400,7 +402,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:43 GMT + - Wed, 17 Apr 2024 22:38:11 GMT Content-Type: - application/json Content-Length: @@ -427,15 +429,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 539ceab6-e416-4263-9c26-c0b76a6f2c44 + - 751bd0a5-1578-4edb-b78b-6e4e1f7362cd Original-Request: - - req_Iz8ARyVGfAFquF + - req_U0yy1ngokIQhOh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Iz8ARyVGfAFquF + - req_U0yy1ngokIQhOh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -450,7 +452,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Zab3sJNn5MPbA", + "id": "acct_1P6h7GQRuPXu1EC9", "object": "account", "business_profile": { "annual_revenue": null, @@ -472,7 +474,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712887902, + "created": 1713393491, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -481,7 +483,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Zab3sJNn5MPbA/external_accounts" + "url": "/v1/accounts/acct_1P6h7GQRuPXu1EC9/external_accounts" }, "future_requirements": { "alternatives": [], @@ -578,22 +580,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:11:43 GMT + recorded_at: Wed, 17 Apr 2024 22:38:11 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Zab3sJNn5MPbA + uri: https://api.stripe.com/v1/accounts/acct_1P6h7GQRuPXu1EC9 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Iz8ARyVGfAFquF","request_duration_ms":1957}}' + - '{"last_request_metrics":{"request_id":"req_U0yy1ngokIQhOh","request_duration_ms":2089}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -610,7 +612,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:44 GMT + - Wed, 17 Apr 2024 22:38:12 GMT Content-Type: - application/json Content-Length: @@ -641,9 +643,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2MOj7f2NrGI8Zz + - req_iTb9sKFigz7sHq Stripe-Account: - - acct_1P4Zab3sJNn5MPbA + - acct_1P6h7GQRuPXu1EC9 Stripe-Version: - '2024-04-10' Vary: @@ -656,9 +658,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Zab3sJNn5MPbA", + "id": "acct_1P6h7GQRuPXu1EC9", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:11:44 GMT + recorded_at: Wed, 17 Apr 2024 22:38:12 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml index ad03750d7d..6e01ee6b47 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_CreditCardRemover/_remove/Stripe_customer_exists/and_is_not_deleted/deletes_the_credit_card_clone_and_the_customer.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vUaESIyspFDJai","request_duration_ms":931}}' + - '{"last_request_metrics":{"request_id":"req_Fy0JTu17KQh7sg","request_duration_ms":1122}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:35 GMT + - Wed, 17 Apr 2024 22:38:03 GMT Content-Type: - application/json Content-Length: - - '959' + - '995' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 91fbad63-3f0d-40cc-bf79-eed192d2801b + - 60f4303a-a8de-4b0d-b05d-63893c9c34e4 Original-Request: - - req_4QaZTuJrJnp7fw + - req_N9tn5rXAaDskcR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4QaZTuJrJnp7fw + - req_N9tn5rXAaDskcR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaUKuuB1fWySnT2WiPv34", + "id": "pm_1P6h78KuuB1fWySnaoZBwaA6", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,13 +123,13 @@ http_interactions: }, "wallet": null }, - "created": 1712887894, + "created": 1713393482, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:34 GMT + recorded_at: Wed, 17 Apr 2024 22:38:03 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,13 +138,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4QaZTuJrJnp7fw","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_N9tn5rXAaDskcR","request_duration_ms":498}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:35 GMT + - Wed, 17 Apr 2024 22:38:03 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fa0815a6-89fa-4cf8-90e2-b1135df5c480 + - cd947f4b-584f-4de4-ab2d-3e14ff6f57d2 Original-Request: - - req_BH0KZluLsM40SO + - req_Xn6OlThVxqX4YT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BH0KZluLsM40SO + - req_Xn6OlThVxqX4YT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +211,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PuONiuq2Chq3o9", + "id": "cus_PwaHrAtJs0d8j4", "object": "customer", "address": null, "balance": 0, - "created": 1712887895, + "created": 1713393483, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "92344EAD", + "invoice_prefix": "7DCAD279", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,22 +239,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Fri, 12 Apr 2024 02:11:35 GMT + recorded_at: Wed, 17 Apr 2024 22:38:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZaUKuuB1fWySnT2WiPv34/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P6h78KuuB1fWySnaoZBwaA6/attach body: encoding: UTF-8 - string: customer=cus_PuONiuq2Chq3o9 + string: customer=cus_PwaHrAtJs0d8j4 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BH0KZluLsM40SO","request_duration_ms":755}}' + - '{"last_request_metrics":{"request_id":"req_Xn6OlThVxqX4YT","request_duration_ms":524}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -270,11 +271,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:36 GMT + - Wed, 17 Apr 2024 22:38:04 GMT Content-Type: - application/json Content-Length: - - '970' + - '1006' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -298,15 +299,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 89214ac0-0d1f-4bf7-8bf8-b02c04e32565 + - db32d730-4f8b-4e64-8ab2-c9cf2c71c19a Original-Request: - - req_WxWPGMrlpWTpmu + - req_jciiJEVy0NNzrX Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WxWPGMrlpWTpmu + - req_jciiJEVy0NNzrX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,8 +322,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaUKuuB1fWySnT2WiPv34", + "id": "pm_1P6h78KuuB1fWySnaoZBwaA6", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -362,28 +364,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887894, - "customer": "cus_PuONiuq2Chq3o9", + "created": 1713393482, + "customer": "cus_PwaHrAtJs0d8j4", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:36 GMT + recorded_at: Wed, 17 Apr 2024 22:38:04 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_PuONiuq2Chq3o9 + uri: https://api.stripe.com/v1/customers/cus_PwaHrAtJs0d8j4 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WxWPGMrlpWTpmu","request_duration_ms":726}}' + - '{"last_request_metrics":{"request_id":"req_jciiJEVy0NNzrX","request_duration_ms":714}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -400,7 +402,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:36 GMT + - Wed, 17 Apr 2024 22:38:04 GMT Content-Type: - application/json Content-Length: @@ -432,7 +434,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_j7EVl8eJVJbbV2 + - req_BuypPaKbtBaK2j Stripe-Version: - '2024-04-10' Vary: @@ -445,18 +447,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PuONiuq2Chq3o9", + "id": "cus_PwaHrAtJs0d8j4", "object": "customer", "address": null, "balance": 0, - "created": 1712887895, + "created": 1713393483, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "92344EAD", + "invoice_prefix": "7DCAD279", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -473,22 +475,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Fri, 12 Apr 2024 02:11:36 GMT + recorded_at: Wed, 17 Apr 2024 22:38:04 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_PuONiuq2Chq3o9 + uri: https://api.stripe.com/v1/customers/cus_PwaHrAtJs0d8j4 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_j7EVl8eJVJbbV2","request_duration_ms":336}}' + - '{"last_request_metrics":{"request_id":"req_BuypPaKbtBaK2j","request_duration_ms":390}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -505,7 +507,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:37 GMT + - Wed, 17 Apr 2024 22:38:05 GMT Content-Type: - application/json Content-Length: @@ -537,7 +539,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nSBsw4fAtwp5SM + - req_z8q9WENhyIJzFP Stripe-Version: - '2024-04-10' Vary: @@ -550,11 +552,11 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PuONiuq2Chq3o9", + "id": "cus_PwaHrAtJs0d8j4", "object": "customer", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:11:37 GMT + recorded_at: Wed, 17 Apr 2024 22:38:05 GMT - request: method: post uri: https://api.stripe.com/v1/accounts @@ -563,13 +565,13 @@ http_interactions: string: type=standard&country=AU&email=apple.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nSBsw4fAtwp5SM","request_duration_ms":430}}' + - '{"last_request_metrics":{"request_id":"req_z8q9WENhyIJzFP","request_duration_ms":510}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -586,7 +588,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:38 GMT + - Wed, 17 Apr 2024 22:38:06 GMT Content-Type: - application/json Content-Length: @@ -613,15 +615,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9365fecb-05d6-4009-9601-0f4b8a5d25bd + - 07daa1bc-6c3a-474d-a5f1-d39cbd0d8df4 Original-Request: - - req_Y4Z5eb5PE84sHH + - req_BvCYA0IunDIZ2h Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Y4Z5eb5PE84sHH + - req_BvCYA0IunDIZ2h Stripe-Should-Retry: - 'false' Stripe-Version: @@ -636,7 +638,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZaX4CEtyQsUl5", + "id": "acct_1P6h7B38uxo8Qrfr", "object": "account", "business_profile": { "annual_revenue": null, @@ -658,7 +660,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712887898, + "created": 1713393486, "default_currency": "aud", "details_submitted": false, "email": "apple.producer@example.com", @@ -667,7 +669,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4ZaX4CEtyQsUl5/external_accounts" + "url": "/v1/accounts/acct_1P6h7B38uxo8Qrfr/external_accounts" }, "future_requirements": { "alternatives": [], @@ -764,22 +766,22 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:11:38 GMT + recorded_at: Wed, 17 Apr 2024 22:38:06 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4ZaX4CEtyQsUl5 + uri: https://api.stripe.com/v1/accounts/acct_1P6h7B38uxo8Qrfr body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Y4Z5eb5PE84sHH","request_duration_ms":1716}}' + - '{"last_request_metrics":{"request_id":"req_BvCYA0IunDIZ2h","request_duration_ms":1564}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -796,7 +798,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:40 GMT + - Wed, 17 Apr 2024 22:38:07 GMT Content-Type: - application/json Content-Length: @@ -827,9 +829,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BqXpV1twvQ9KsY + - req_8dNi2QaYaG1AMO Stripe-Account: - - acct_1P4ZaX4CEtyQsUl5 + - acct_1P6h7B38uxo8Qrfr Stripe-Version: - '2024-04-10' Vary: @@ -842,9 +844,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4ZaX4CEtyQsUl5", + "id": "acct_1P6h7B38uxo8Qrfr", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:11:40 GMT + recorded_at: Wed, 17 Apr 2024 22:38:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index c490faf574..44a82d621f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000006975&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_M3yDn1A0w5dAP3","request_duration_ms":584}}' + - '{"last_request_metrics":{"request_id":"req_MTnLIBxp9QZPi2","request_duration_ms":529}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:47 GMT + - Wed, 17 Apr 2024 22:40:07 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9ea729b6-a42b-4ac7-b124-43fca7bcfb7b + - '09b0f20d-fff3-4742-92c3-dd5365c9ad01' Original-Request: - - req_mUnZn15lfKgPQV + - req_1ebsHfB6iwjJOf Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mUnZn15lfKgPQV + - req_1ebsHfB6iwjJOf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcdKuuB1fWySnHTUYU0wf", + "id": "pm_1P6h98KuuB1fWySnPmskOrli", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888027, + "created": 1713393607, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:47 GMT + recorded_at: Wed, 17 Apr 2024 22:40:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZcdKuuB1fWySnHTUYU0wf&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h98KuuB1fWySnPmskOrli&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mUnZn15lfKgPQV","request_duration_ms":587}}' + - '{"last_request_metrics":{"request_id":"req_1ebsHfB6iwjJOf","request_duration_ms":577}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:48 GMT + - Wed, 17 Apr 2024 22:40:07 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a1290c29-f139-40d4-8e18-9c03705255de + - 8d303864-b4fd-48c3-812e-7fdd7d4651f6 Original-Request: - - req_bPBoCxlClLhaZS + - req_ClLaOaXNsGN8vL Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bPBoCxlClLhaZS + - req_ClLaOaXNsGN8vL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcdKuuB1fWySn2TTtTLjw", + "id": "pi_3P6h99KuuB1fWySn2OfdkSPl", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888027, + "created": 1713393607, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcdKuuB1fWySnHTUYU0wf", + "payment_method": "pm_1P6h98KuuB1fWySnPmskOrli", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:48 GMT + recorded_at: Wed, 17 Apr 2024 22:40:07 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcdKuuB1fWySn2TTtTLjw/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h99KuuB1fWySn2OfdkSPl/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bPBoCxlClLhaZS","request_duration_ms":610}}' + - '{"last_request_metrics":{"request_id":"req_ClLaOaXNsGN8vL","request_duration_ms":510}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,11 +295,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:49 GMT + - Wed, 17 Apr 2024 22:40:08 GMT Content-Type: - application/json Content-Length: - - '4942' + - '5026' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 63b13c48-bd75-421a-b446-e1c78abd61cc + - ea22918b-5183-4f44-ac27-63e7299546d3 Original-Request: - - req_My0zgxHSpLn1nJ + - req_HGck6NCIT0pJKh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_My0zgxHSpLn1nJ + - req_HGck6NCIT0pJKh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +347,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4ZcdKuuB1fWySn2vxkU5cl", + "charge": "ch_3P6h99KuuB1fWySn2Sv33DqP", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_intent": { - "id": "pi_3P4ZcdKuuB1fWySn2TTtTLjw", + "id": "pi_3P6h99KuuB1fWySn2OfdkSPl", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,20 +370,21 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888027, + "created": 1713393607, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4ZcdKuuB1fWySn2vxkU5cl", + "charge": "ch_3P6h99KuuB1fWySn2Sv33DqP", "code": "card_declined", "decline_code": "card_velocity_exceeded", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined for making repeated attempts too frequently or exceeding its amount limit.", "payment_method": { - "id": "pm_1P4ZcdKuuB1fWySnHTUYU0wf", + "id": "pm_1P6h98KuuB1fWySnPmskOrli", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -422,7 +424,7 @@ http_interactions: }, "wallet": null }, - "created": 1712888027, + "created": 1713393607, "customer": null, "livemode": false, "metadata": { @@ -431,7 +433,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4ZcdKuuB1fWySn2vxkU5cl", + "latest_charge": "ch_3P6h99KuuB1fWySn2Sv33DqP", "livemode": false, "metadata": { }, @@ -463,8 +465,9 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4ZcdKuuB1fWySnHTUYU0wf", + "id": "pm_1P6h98KuuB1fWySnPmskOrli", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -504,16 +507,16 @@ http_interactions: }, "wallet": null }, - "created": 1712888027, + "created": 1713393607, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_My0zgxHSpLn1nJ?t=1712888028", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_HGck6NCIT0pJKh?t=1713393607", "type": "card_error" } } - recorded_at: Fri, 12 Apr 2024 02:13:49 GMT + recorded_at: Wed, 17 Apr 2024 22:40:08 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index fb8142afd8..9c9221e541 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000069&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Oj7tp0NTRHMovi","request_duration_ms":610}}' + - '{"last_request_metrics":{"request_id":"req_91pHPi8RnhHsyR","request_duration_ms":1226}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:40 GMT + - Wed, 17 Apr 2024 22:40:00 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a01c2089-88c7-4812-81d0-1b5f6624892b + - 95f41437-34b8-485a-8963-822e63ab7c47 Original-Request: - - req_nZgpB9jAk04MiG + - req_vwfQav2GN0SQ4r Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nZgpB9jAk04MiG + - req_vwfQav2GN0SQ4r Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcVKuuB1fWySnW2lUx9yL", + "id": "pm_1P6h92KuuB1fWySn0HDWMel6", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888019, + "created": 1713393600, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:40 GMT + recorded_at: Wed, 17 Apr 2024 22:40:00 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZcVKuuB1fWySnW2lUx9yL&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h92KuuB1fWySn0HDWMel6&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nZgpB9jAk04MiG","request_duration_ms":577}}' + - '{"last_request_metrics":{"request_id":"req_vwfQav2GN0SQ4r","request_duration_ms":497}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:40 GMT + - Wed, 17 Apr 2024 22:40:00 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9d194a54-8c86-477d-b8e9-c3b86b9fdff8 + - 102af3c2-a4d1-4f44-ab50-2a4f827c0cf9 Original-Request: - - req_vv9HCmw8OkVFqO + - req_AcKGwgfHNiqkQ2 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vv9HCmw8OkVFqO + - req_AcKGwgfHNiqkQ2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcWKuuB1fWySn2Y0pRMk3", + "id": "pi_3P6h92KuuB1fWySn10XVZK55", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888020, + "created": 1713393600, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcVKuuB1fWySnW2lUx9yL", + "payment_method": "pm_1P6h92KuuB1fWySn0HDWMel6", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:40 GMT + recorded_at: Wed, 17 Apr 2024 22:40:00 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcWKuuB1fWySn2Y0pRMk3/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h92KuuB1fWySn10XVZK55/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vv9HCmw8OkVFqO","request_duration_ms":549}}' + - '{"last_request_metrics":{"request_id":"req_AcKGwgfHNiqkQ2","request_duration_ms":510}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,11 +295,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:41 GMT + - Wed, 17 Apr 2024 22:40:02 GMT Content-Type: - application/json Content-Length: - - '4748' + - '4832' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6b500a84-54c5-4357-9901-0668208eac73 + - 961364ed-f77a-46c9-8425-bff589bef4d6 Original-Request: - - req_nxoQm9URXjLB2l + - req_obyVJ21H3H5mhN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nxoQm9URXjLB2l + - req_obyVJ21H3H5mhN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +347,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4ZcWKuuB1fWySn2W3xDHZX", + "charge": "ch_3P6h92KuuB1fWySn1vimbcUq", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_intent": { - "id": "pi_3P4ZcWKuuB1fWySn2Y0pRMk3", + "id": "pi_3P6h92KuuB1fWySn10XVZK55", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,20 +370,21 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888020, + "created": 1713393600, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4ZcWKuuB1fWySn2W3xDHZX", + "charge": "ch_3P6h92KuuB1fWySn1vimbcUq", "code": "expired_card", "doc_url": "https://stripe.com/docs/error-codes/expired-card", "message": "Your card has expired.", "param": "exp_month", "payment_method": { - "id": "pm_1P4ZcVKuuB1fWySnW2lUx9yL", + "id": "pm_1P6h92KuuB1fWySn0HDWMel6", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -422,7 +424,7 @@ http_interactions: }, "wallet": null }, - "created": 1712888019, + "created": 1713393600, "customer": null, "livemode": false, "metadata": { @@ -431,7 +433,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4ZcWKuuB1fWySn2W3xDHZX", + "latest_charge": "ch_3P6h92KuuB1fWySn1vimbcUq", "livemode": false, "metadata": { }, @@ -463,8 +465,9 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4ZcVKuuB1fWySnW2lUx9yL", + "id": "pm_1P6h92KuuB1fWySn0HDWMel6", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -504,16 +507,16 @@ http_interactions: }, "wallet": null }, - "created": 1712888019, + "created": 1713393600, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_nxoQm9URXjLB2l?t=1712888020", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_obyVJ21H3H5mhN?t=1713393601", "type": "card_error" } } - recorded_at: Fri, 12 Apr 2024 02:13:41 GMT + recorded_at: Wed, 17 Apr 2024 22:40:02 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 6914beaadf..2a4f03f7be 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000002&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ut86RWakJXQafT","request_duration_ms":483}}' + - '{"last_request_metrics":{"request_id":"req_zvf4CAVwSgnYlD","request_duration_ms":325}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:29 GMT + - Wed, 17 Apr 2024 22:39:51 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c1e65c6d-cbd0-4728-a752-3c97f075787b + - 3e2ebf31-c7da-4577-a8dc-1a2b58d16b4f Original-Request: - - req_aMYXlhCMmhjKF5 + - req_JEskdY1fDUZiGK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aMYXlhCMmhjKF5 + - req_JEskdY1fDUZiGK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcLKuuB1fWySnF6oGVlli", + "id": "pm_1P6h8tKuuB1fWySnVkyyCW9S", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888009, + "created": 1713393591, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:30 GMT + recorded_at: Wed, 17 Apr 2024 22:39:51 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZcLKuuB1fWySnF6oGVlli&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8tKuuB1fWySnVkyyCW9S&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aMYXlhCMmhjKF5","request_duration_ms":699}}' + - '{"last_request_metrics":{"request_id":"req_JEskdY1fDUZiGK","request_duration_ms":549}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:30 GMT + - Wed, 17 Apr 2024 22:39:51 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ff3df66b-d2b0-4e55-bb72-fa128d3f080e + - a9b30257-3b69-44bb-b62c-4f1b28088b3d Original-Request: - - req_8BSHX1JO9ouDFN + - req_ozBWc8q3xpqvDc Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8BSHX1JO9ouDFN + - req_ozBWc8q3xpqvDc Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcMKuuB1fWySn0xnNUe3O", + "id": "pi_3P6h8tKuuB1fWySn0b4wKpwW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888010, + "created": 1713393591, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcLKuuB1fWySnF6oGVlli", + "payment_method": "pm_1P6h8tKuuB1fWySnVkyyCW9S", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:30 GMT + recorded_at: Wed, 17 Apr 2024 22:39:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcMKuuB1fWySn0xnNUe3O/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8tKuuB1fWySn0b4wKpwW/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8BSHX1JO9ouDFN","request_duration_ms":610}}' + - '{"last_request_metrics":{"request_id":"req_ozBWc8q3xpqvDc","request_duration_ms":507}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,11 +295,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:31 GMT + - Wed, 17 Apr 2024 22:39:52 GMT Content-Type: - application/json Content-Length: - - '4780' + - '4864' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ead3fa64-0c9b-4a8a-9a27-7400cfc2dc21 + - 0b9dcf4b-a558-4d29-8bd2-39741508a496 Original-Request: - - req_I484WMTe3vT0zP + - req_P1pWIPxC0iMtgI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_I484WMTe3vT0zP + - req_P1pWIPxC0iMtgI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +347,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4ZcMKuuB1fWySn0xA7L4cq", + "charge": "ch_3P6h8tKuuB1fWySn0h2YuoXV", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3P4ZcMKuuB1fWySn0xnNUe3O", + "id": "pi_3P6h8tKuuB1fWySn0b4wKpwW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,20 +370,21 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888010, + "created": 1713393591, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4ZcMKuuB1fWySn0xA7L4cq", + "charge": "ch_3P6h8tKuuB1fWySn0h2YuoXV", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1P4ZcLKuuB1fWySnF6oGVlli", + "id": "pm_1P6h8tKuuB1fWySnVkyyCW9S", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -422,7 +424,7 @@ http_interactions: }, "wallet": null }, - "created": 1712888009, + "created": 1713393591, "customer": null, "livemode": false, "metadata": { @@ -431,7 +433,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4ZcMKuuB1fWySn0xA7L4cq", + "latest_charge": "ch_3P6h8tKuuB1fWySn0h2YuoXV", "livemode": false, "metadata": { }, @@ -463,8 +465,9 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4ZcLKuuB1fWySnF6oGVlli", + "id": "pm_1P6h8tKuuB1fWySnVkyyCW9S", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -504,16 +507,16 @@ http_interactions: }, "wallet": null }, - "created": 1712888009, + "created": 1713393591, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_I484WMTe3vT0zP?t=1712888010", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_P1pWIPxC0iMtgI?t=1713393592", "type": "card_error" } } - recorded_at: Fri, 12 Apr 2024 02:13:31 GMT + recorded_at: Wed, 17 Apr 2024 22:39:53 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 77478c2139..0a57cb8215 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000127&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vv9HCmw8OkVFqO","request_duration_ms":549}}' + - '{"last_request_metrics":{"request_id":"req_AcKGwgfHNiqkQ2","request_duration_ms":510}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:42 GMT + - Wed, 17 Apr 2024 22:40:02 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0b814339-e308-4f25-97fe-2a22758e2f99 + - c138f19e-3512-4b4a-ab08-b2d672ecfc54 Original-Request: - - req_T9tR50v82ndHdT + - req_AT9S1WAn7ax8yv Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_T9tR50v82ndHdT + - req_AT9S1WAn7ax8yv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcYKuuB1fWySnxErSrBLK", + "id": "pm_1P6h94KuuB1fWySnQFqcyGd2", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888022, + "created": 1713393602, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:42 GMT + recorded_at: Wed, 17 Apr 2024 22:40:02 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZcYKuuB1fWySnxErSrBLK&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h94KuuB1fWySnQFqcyGd2&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_T9tR50v82ndHdT","request_duration_ms":711}}' + - '{"last_request_metrics":{"request_id":"req_AT9S1WAn7ax8yv","request_duration_ms":600}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:43 GMT + - Wed, 17 Apr 2024 22:40:03 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 86ab5ef8-cd2b-4439-a7ec-33f2b87cfdcf + - d290a537-0a3c-4289-a344-9798fab37425 Original-Request: - - req_t4v9qLle6U09GK + - req_wjgo9m5BZbNXmh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_t4v9qLle6U09GK + - req_wjgo9m5BZbNXmh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcYKuuB1fWySn0TsGSqrW", + "id": "pi_3P6h95KuuB1fWySn097LCCVO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888022, + "created": 1713393603, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcYKuuB1fWySnxErSrBLK", + "payment_method": "pm_1P6h94KuuB1fWySnQFqcyGd2", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:43 GMT + recorded_at: Wed, 17 Apr 2024 22:40:03 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcYKuuB1fWySn0TsGSqrW/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h95KuuB1fWySn097LCCVO/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t4v9qLle6U09GK","request_duration_ms":586}}' + - '{"last_request_metrics":{"request_id":"req_wjgo9m5BZbNXmh","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,11 +295,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:44 GMT + - Wed, 17 Apr 2024 22:40:04 GMT Content-Type: - application/json Content-Length: - - '4774' + - '4858' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 45912944-6f87-4f6c-a5b0-d8837d587d79 + - 45c87915-37a5-4aec-b237-400cf3fcdb98 Original-Request: - - req_lOPijGuZqecrTr + - req_vnOxwSvTNRDLKP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lOPijGuZqecrTr + - req_vnOxwSvTNRDLKP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +347,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4ZcYKuuB1fWySn0s1NRQYt", + "charge": "ch_3P6h95KuuB1fWySn02izQ9TQ", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_intent": { - "id": "pi_3P4ZcYKuuB1fWySn0TsGSqrW", + "id": "pi_3P6h95KuuB1fWySn097LCCVO", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,20 +370,21 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888022, + "created": 1713393603, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4ZcYKuuB1fWySn0s1NRQYt", + "charge": "ch_3P6h95KuuB1fWySn02izQ9TQ", "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "payment_method": { - "id": "pm_1P4ZcYKuuB1fWySnxErSrBLK", + "id": "pm_1P6h94KuuB1fWySnQFqcyGd2", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -422,7 +424,7 @@ http_interactions: }, "wallet": null }, - "created": 1712888022, + "created": 1713393602, "customer": null, "livemode": false, "metadata": { @@ -431,7 +433,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4ZcYKuuB1fWySn0s1NRQYt", + "latest_charge": "ch_3P6h95KuuB1fWySn02izQ9TQ", "livemode": false, "metadata": { }, @@ -463,8 +465,9 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4ZcYKuuB1fWySnxErSrBLK", + "id": "pm_1P6h94KuuB1fWySnQFqcyGd2", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -504,16 +507,16 @@ http_interactions: }, "wallet": null }, - "created": 1712888022, + "created": 1713393602, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_lOPijGuZqecrTr?t=1712888023", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_vnOxwSvTNRDLKP?t=1713393603", "type": "card_error" } } - recorded_at: Fri, 12 Apr 2024 02:13:44 GMT + recorded_at: Wed, 17 Apr 2024 22:40:04 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index 496b051eae..2f4c58fce1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009995&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8BSHX1JO9ouDFN","request_duration_ms":610}}' + - '{"last_request_metrics":{"request_id":"req_ozBWc8q3xpqvDc","request_duration_ms":507}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:32 GMT + - Wed, 17 Apr 2024 22:39:53 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 88b95667-0c3a-4049-ac3b-d3ce949fd543 + - 811b2fb6-a22d-4e1c-b24f-99023c6c8c06 Original-Request: - - req_WiOQh3qO9zxE4P + - req_X81UrQj5D2fIoG Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WiOQh3qO9zxE4P + - req_X81UrQj5D2fIoG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcOKuuB1fWySnIccgjYKR", + "id": "pm_1P6h8vKuuB1fWySnVKifRHk9", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888012, + "created": 1713393593, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:32 GMT + recorded_at: Wed, 17 Apr 2024 22:39:53 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZcOKuuB1fWySnIccgjYKR&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8vKuuB1fWySnVKifRHk9&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WiOQh3qO9zxE4P","request_duration_ms":704}}' + - '{"last_request_metrics":{"request_id":"req_X81UrQj5D2fIoG","request_duration_ms":497}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:33 GMT + - Wed, 17 Apr 2024 22:39:54 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 99be8d50-fb13-4b25-9745-42bd1392b6c5 + - 212396f7-3cd5-491b-95ba-e1dc90a8b0af Original-Request: - - req_RuWyO5Z4TJf8Do + - req_tdGmWRacIg71uZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_RuWyO5Z4TJf8Do + - req_tdGmWRacIg71uZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcOKuuB1fWySn0X6wilIz", + "id": "pi_3P6h8vKuuB1fWySn176iLXFn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888012, + "created": 1713393593, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcOKuuB1fWySnIccgjYKR", + "payment_method": "pm_1P6h8vKuuB1fWySnVKifRHk9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:33 GMT + recorded_at: Wed, 17 Apr 2024 22:39:54 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcOKuuB1fWySn0X6wilIz/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8vKuuB1fWySn176iLXFn/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RuWyO5Z4TJf8Do","request_duration_ms":712}}' + - '{"last_request_metrics":{"request_id":"req_tdGmWRacIg71uZ","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,11 +295,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:34 GMT + - Wed, 17 Apr 2024 22:39:55 GMT Content-Type: - application/json Content-Length: - - '4806' + - '4890' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ad4b4703-4805-471d-ad3a-711045aec346 + - 19c2ea46-8301-4ca7-a76e-91eafa74a68f Original-Request: - - req_KXcWVH2utUVBCT + - req_Uinf6vD8KZj9v4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KXcWVH2utUVBCT + - req_Uinf6vD8KZj9v4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +347,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4ZcOKuuB1fWySn0GfdjpTD", + "charge": "ch_3P6h8vKuuB1fWySn1dijUtHM", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_intent": { - "id": "pi_3P4ZcOKuuB1fWySn0X6wilIz", + "id": "pi_3P6h8vKuuB1fWySn176iLXFn", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,20 +370,21 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888012, + "created": 1713393593, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4ZcOKuuB1fWySn0GfdjpTD", + "charge": "ch_3P6h8vKuuB1fWySn1dijUtHM", "code": "card_declined", "decline_code": "insufficient_funds", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has insufficient funds.", "payment_method": { - "id": "pm_1P4ZcOKuuB1fWySnIccgjYKR", + "id": "pm_1P6h8vKuuB1fWySnVKifRHk9", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -422,7 +424,7 @@ http_interactions: }, "wallet": null }, - "created": 1712888012, + "created": 1713393593, "customer": null, "livemode": false, "metadata": { @@ -431,7 +433,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4ZcOKuuB1fWySn0GfdjpTD", + "latest_charge": "ch_3P6h8vKuuB1fWySn1dijUtHM", "livemode": false, "metadata": { }, @@ -463,8 +465,9 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4ZcOKuuB1fWySnIccgjYKR", + "id": "pm_1P6h8vKuuB1fWySnVKifRHk9", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -504,16 +507,16 @@ http_interactions: }, "wallet": null }, - "created": 1712888012, + "created": 1713393593, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_KXcWVH2utUVBCT?t=1712888013", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_Uinf6vD8KZj9v4?t=1713393594", "type": "card_error" } } - recorded_at: Fri, 12 Apr 2024 02:13:34 GMT + recorded_at: Wed, 17 Apr 2024 22:39:55 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index a772e31783..0fc939c873 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009987&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RuWyO5Z4TJf8Do","request_duration_ms":712}}' + - '{"last_request_metrics":{"request_id":"req_tdGmWRacIg71uZ","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:35 GMT + - Wed, 17 Apr 2024 22:39:55 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7f6c5b4e-4f3b-4de1-9aac-011bb6f670fc + - d0d41881-d7af-4ce4-a47c-4ae4b0843c6e Original-Request: - - req_faClN56iNJGgt1 + - req_xLfba5hGPhEt2G Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_faClN56iNJGgt1 + - req_xLfba5hGPhEt2G Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcQKuuB1fWySnZEMFAO69", + "id": "pm_1P6h8xKuuB1fWySnLRqxbX0I", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888014, + "created": 1713393595, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:35 GMT + recorded_at: Wed, 17 Apr 2024 22:39:55 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZcQKuuB1fWySnZEMFAO69&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8xKuuB1fWySnLRqxbX0I&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_faClN56iNJGgt1","request_duration_ms":690}}' + - '{"last_request_metrics":{"request_id":"req_xLfba5hGPhEt2G","request_duration_ms":496}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:35 GMT + - Wed, 17 Apr 2024 22:39:56 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 20d6e306-0862-4967-9e33-fa07c4b9ebcc + - c8d47cf3-ea2b-4a50-8591-18fa853b3a59 Original-Request: - - req_l8j6Uv2rtbF3ds + - req_64JFtjubv6sXiB Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_l8j6Uv2rtbF3ds + - req_64JFtjubv6sXiB Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcRKuuB1fWySn0CXL9dmy", + "id": "pi_3P6h8xKuuB1fWySn1DJmrN9c", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888015, + "created": 1713393595, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcQKuuB1fWySnZEMFAO69", + "payment_method": "pm_1P6h8xKuuB1fWySnLRqxbX0I", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:35 GMT + recorded_at: Wed, 17 Apr 2024 22:39:56 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcRKuuB1fWySn0CXL9dmy/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8xKuuB1fWySn1DJmrN9c/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_l8j6Uv2rtbF3ds","request_duration_ms":600}}' + - '{"last_request_metrics":{"request_id":"req_64JFtjubv6sXiB","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,11 +295,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:36 GMT + - Wed, 17 Apr 2024 22:39:57 GMT Content-Type: - application/json Content-Length: - - '4768' + - '4852' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ab0f442e-ff3f-455a-a63d-e97ede9f4779 + - 0a23bb08-3af7-4271-a71c-8bcfc1270f8d Original-Request: - - req_Zvwpd3G5FZqFYr + - req_pHn2N3UwZjAJka Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Zvwpd3G5FZqFYr + - req_pHn2N3UwZjAJka Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +347,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4ZcRKuuB1fWySn0t1yT3ZY", + "charge": "ch_3P6h8xKuuB1fWySn1og4ys7e", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3P4ZcRKuuB1fWySn0CXL9dmy", + "id": "pi_3P6h8xKuuB1fWySn1DJmrN9c", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,20 +370,21 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888015, + "created": 1713393595, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4ZcRKuuB1fWySn0t1yT3ZY", + "charge": "ch_3P6h8xKuuB1fWySn1og4ys7e", "code": "card_declined", "decline_code": "lost_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1P4ZcQKuuB1fWySnZEMFAO69", + "id": "pm_1P6h8xKuuB1fWySnLRqxbX0I", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -422,7 +424,7 @@ http_interactions: }, "wallet": null }, - "created": 1712888014, + "created": 1713393595, "customer": null, "livemode": false, "metadata": { @@ -431,7 +433,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4ZcRKuuB1fWySn0t1yT3ZY", + "latest_charge": "ch_3P6h8xKuuB1fWySn1og4ys7e", "livemode": false, "metadata": { }, @@ -463,8 +465,9 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4ZcQKuuB1fWySnZEMFAO69", + "id": "pm_1P6h8xKuuB1fWySnLRqxbX0I", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -504,16 +507,16 @@ http_interactions: }, "wallet": null }, - "created": 1712888014, + "created": 1713393595, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_Zvwpd3G5FZqFYr?t=1712888015", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_pHn2N3UwZjAJka?t=1713393596", "type": "card_error" } } - recorded_at: Fri, 12 Apr 2024 02:13:36 GMT + recorded_at: Wed, 17 Apr 2024 22:39:57 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index d46c3468ba..295baaa8f7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000000119&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t4v9qLle6U09GK","request_duration_ms":586}}' + - '{"last_request_metrics":{"request_id":"req_wjgo9m5BZbNXmh","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:44 GMT + - Wed, 17 Apr 2024 22:40:05 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e4041eef-e7c0-4d46-9795-ab2b65840e14 + - d5fc1c0d-9ed9-4c00-acf9-f4be04c6b19a Original-Request: - - req_VSSJUVisiOO5pJ + - req_vIHentAe5XkqId Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VSSJUVisiOO5pJ + - req_vIHentAe5XkqId Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcaKuuB1fWySnvD1Yc3hb", + "id": "pm_1P6h96KuuB1fWySnYl63gMcD", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888024, + "created": 1713393604, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:45 GMT + recorded_at: Wed, 17 Apr 2024 22:40:05 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZcaKuuB1fWySnvD1Yc3hb&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h96KuuB1fWySnYl63gMcD&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VSSJUVisiOO5pJ","request_duration_ms":699}}' + - '{"last_request_metrics":{"request_id":"req_vIHentAe5XkqId","request_duration_ms":577}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:45 GMT + - Wed, 17 Apr 2024 22:40:05 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f91d4fba-a956-4fc6-9acd-070c735c02a2 + - c11e2fb3-ceab-4dfe-8d7a-96280372a227 Original-Request: - - req_M3yDn1A0w5dAP3 + - req_MTnLIBxp9QZPi2 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_M3yDn1A0w5dAP3 + - req_MTnLIBxp9QZPi2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcbKuuB1fWySn04J5i26k", + "id": "pi_3P6h97KuuB1fWySn0bvt3XeL", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888025, + "created": 1713393605, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcaKuuB1fWySnvD1Yc3hb", + "payment_method": "pm_1P6h96KuuB1fWySnYl63gMcD", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:45 GMT + recorded_at: Wed, 17 Apr 2024 22:40:05 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcbKuuB1fWySn04J5i26k/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h97KuuB1fWySn0bvt3XeL/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_M3yDn1A0w5dAP3","request_duration_ms":584}}' + - '{"last_request_metrics":{"request_id":"req_MTnLIBxp9QZPi2","request_duration_ms":529}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,11 +295,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:46 GMT + - Wed, 17 Apr 2024 22:40:06 GMT Content-Type: - application/json Content-Length: - - '4808' + - '4892' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - dbe456b6-19e0-4f4c-87dd-82c42fb701d9 + - 483ca1ff-5a07-41ab-bebf-f2ca9dc6531e Original-Request: - - req_E2ptxfGo9bbc19 + - req_wyhh7XdnfzCAm0 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_E2ptxfGo9bbc19 + - req_wyhh7XdnfzCAm0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,12 +347,12 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4ZcbKuuB1fWySn0uFa2VrD", + "charge": "ch_3P6h97KuuB1fWySn07xJWGvn", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_intent": { - "id": "pi_3P4ZcbKuuB1fWySn04J5i26k", + "id": "pi_3P6h97KuuB1fWySn0bvt3XeL", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -368,19 +369,20 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888025, + "created": 1713393605, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4ZcbKuuB1fWySn0uFa2VrD", + "charge": "ch_3P6h97KuuB1fWySn07xJWGvn", "code": "processing_error", "doc_url": "https://stripe.com/docs/error-codes/processing-error", "message": "An error occurred while processing your card. Try again in a little bit.", "payment_method": { - "id": "pm_1P4ZcaKuuB1fWySnvD1Yc3hb", + "id": "pm_1P6h96KuuB1fWySnYl63gMcD", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -420,7 +422,7 @@ http_interactions: }, "wallet": null }, - "created": 1712888024, + "created": 1713393604, "customer": null, "livemode": false, "metadata": { @@ -429,7 +431,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4ZcbKuuB1fWySn0uFa2VrD", + "latest_charge": "ch_3P6h97KuuB1fWySn07xJWGvn", "livemode": false, "metadata": { }, @@ -461,8 +463,9 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4ZcaKuuB1fWySnvD1Yc3hb", + "id": "pm_1P6h96KuuB1fWySnYl63gMcD", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -502,16 +505,16 @@ http_interactions: }, "wallet": null }, - "created": 1712888024, + "created": 1713393604, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_E2ptxfGo9bbc19?t=1712888025", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_wyhh7XdnfzCAm0?t=1713393605", "type": "card_error" } } - recorded_at: Fri, 12 Apr 2024 02:13:47 GMT + recorded_at: Wed, 17 Apr 2024 22:40:06 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index d367fc8d23..160c03b9af 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_invalid/invalid_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000000000009979&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_l8j6Uv2rtbF3ds","request_duration_ms":600}}' + - '{"last_request_metrics":{"request_id":"req_64JFtjubv6sXiB","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:37 GMT + - Wed, 17 Apr 2024 22:39:57 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cf2f05b7-422b-4701-8ef1-6a1ffda03d48 + - 9b80cc2a-8752-4ccc-949c-427e3892c6f8 Original-Request: - - req_EwFO5n3amx9Yd5 + - req_VroYwmmGAe7bGf Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EwFO5n3amx9Yd5 + - req_VroYwmmGAe7bGf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcTKuuB1fWySnGQvbdWf3", + "id": "pm_1P6h8zKuuB1fWySnyte7TuZO", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888017, + "created": 1713393597, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:37 GMT + recorded_at: Wed, 17 Apr 2024 22:39:57 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZcTKuuB1fWySnGQvbdWf3&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8zKuuB1fWySnyte7TuZO&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EwFO5n3amx9Yd5","request_duration_ms":582}}' + - '{"last_request_metrics":{"request_id":"req_VroYwmmGAe7bGf","request_duration_ms":499}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:38 GMT + - Wed, 17 Apr 2024 22:39:58 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7ae4f12c-4ed6-4c87-9706-0d0695f31a29 + - 005b8a2f-5672-4d21-aebe-188d3bb56506 Original-Request: - - req_Oj7tp0NTRHMovi + - req_91pHPi8RnhHsyR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Oj7tp0NTRHMovi + - req_91pHPi8RnhHsyR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcTKuuB1fWySn29RYTgdu", + "id": "pi_3P6h90KuuB1fWySn2SMGU8mf", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888017, + "created": 1713393598, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcTKuuB1fWySnGQvbdWf3", + "payment_method": "pm_1P6h8zKuuB1fWySnyte7TuZO", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:38 GMT + recorded_at: Wed, 17 Apr 2024 22:39:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcTKuuB1fWySn29RYTgdu/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h90KuuB1fWySn2SMGU8mf/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Oj7tp0NTRHMovi","request_duration_ms":610}}' + - '{"last_request_metrics":{"request_id":"req_91pHPi8RnhHsyR","request_duration_ms":1226}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,11 +295,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:39 GMT + - Wed, 17 Apr 2024 22:39:59 GMT Content-Type: - application/json Content-Length: - - '4772' + - '4856' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - abc18a74-9932-43a3-b8a9-1b68ca5eeb57 + - 37315a7f-b15c-4f95-88ad-0ef2f556d2da Original-Request: - - req_nG522oQnhtasi8 + - req_tJpyXlIUqME2C6 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nG522oQnhtasi8 + - req_tJpyXlIUqME2C6 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -346,13 +347,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3P4ZcTKuuB1fWySn2d10V4oA", + "charge": "ch_3P6h90KuuB1fWySn2uILaF5P", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_3P4ZcTKuuB1fWySn29RYTgdu", + "id": "pi_3P6h90KuuB1fWySn2SMGU8mf", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -369,20 +370,21 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888017, + "created": 1713393598, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3P4ZcTKuuB1fWySn2d10V4oA", + "charge": "ch_3P6h90KuuB1fWySn2uILaF5P", "code": "card_declined", "decline_code": "stolen_card", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1P4ZcTKuuB1fWySnGQvbdWf3", + "id": "pm_1P6h8zKuuB1fWySnyte7TuZO", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -422,7 +424,7 @@ http_interactions: }, "wallet": null }, - "created": 1712888017, + "created": 1713393597, "customer": null, "livemode": false, "metadata": { @@ -431,7 +433,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3P4ZcTKuuB1fWySn2d10V4oA", + "latest_charge": "ch_3P6h90KuuB1fWySn2uILaF5P", "livemode": false, "metadata": { }, @@ -463,8 +465,9 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1P4ZcTKuuB1fWySnGQvbdWf3", + "id": "pm_1P6h8zKuuB1fWySnyte7TuZO", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -504,16 +507,16 @@ http_interactions: }, "wallet": null }, - "created": 1712888017, + "created": 1713393597, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_nG522oQnhtasi8?t=1712888018", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_tJpyXlIUqME2C6?t=1713393599", "type": "card_error" } } - recorded_at: Fri, 12 Apr 2024 02:13:39 GMT + recorded_at: Wed, 17 Apr 2024 22:39:59 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml index e592a63ff6..87d9f2b0f0 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1Rgo7sZGjxeqMM","request_duration_ms":1021}}' + - '{"last_request_metrics":{"request_id":"req_8RoSQ8dLWnQaG2","request_duration_ms":946}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:27 GMT + - Wed, 17 Apr 2024 22:38:56 GMT Content-Type: - application/json Content-Length: - - '973' + - '1009' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - '08aa86fb-7b01-4257-af06-4aac07f7b204' + - dc2bb939-488a-4e51-acd0-f41ddadbff8e Original-Request: - - req_CGZEhs6KKkgC49 + - req_yDVoUX6jGomVz3 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_CGZEhs6KKkgC49 + - req_yDVoUX6jGomVz3 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbLKuuB1fWySng9mRAtCf", + "id": "pm_1P6h80KuuB1fWySnKLIYVtP4", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887947, + "created": 1713393536, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:27 GMT + recorded_at: Wed, 17 Apr 2024 22:38:56 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbLKuuB1fWySng9mRAtCf&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h80KuuB1fWySnKLIYVtP4&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CGZEhs6KKkgC49","request_duration_ms":471}}' + - '{"last_request_metrics":{"request_id":"req_yDVoUX6jGomVz3","request_duration_ms":521}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:27 GMT + - Wed, 17 Apr 2024 22:38:57 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 628bfeb6-7ecf-4314-83ff-2453ac7f65d7 + - d56f56a8-973f-4586-baed-3d6321ccfedd Original-Request: - - req_ZQCq8s5l41c4rg + - req_7zJLlUTwf7naGK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZQCq8s5l41c4rg + - req_7zJLlUTwf7naGK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbLKuuB1fWySn2vSm9ypC", + "id": "pi_3P6h81KuuB1fWySn1i3iTLoX", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887947, + "created": 1713393537, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbLKuuB1fWySng9mRAtCf", + "payment_method": "pm_1P6h80KuuB1fWySnKLIYVtP4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:27 GMT + recorded_at: Wed, 17 Apr 2024 22:38:57 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbLKuuB1fWySn2vSm9ypC/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h81KuuB1fWySn1i3iTLoX/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZQCq8s5l41c4rg","request_duration_ms":498}}' + - '{"last_request_metrics":{"request_id":"req_7zJLlUTwf7naGK","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:28 GMT + - Wed, 17 Apr 2024 22:38:58 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 590b9855-8bd8-4927-a632-cf087de905f4 + - e0e61825-c787-4fce-8f17-c83e0ef3e61c Original-Request: - - req_bZcZRl6snMLNUN + - req_79R8PUCuDi3D9P Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bZcZRl6snMLNUN + - req_79R8PUCuDi3D9P Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbLKuuB1fWySn2vSm9ypC", + "id": "pi_3P6h81KuuB1fWySn1i3iTLoX", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887947, + "created": 1713393537, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbLKuuB1fWySn27fM0iBe", + "latest_charge": "ch_3P6h81KuuB1fWySn1eMa5DyD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbLKuuB1fWySng9mRAtCf", + "payment_method": "pm_1P6h80KuuB1fWySnKLIYVtP4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:28 GMT + recorded_at: Wed, 17 Apr 2024 22:38:58 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbLKuuB1fWySn2vSm9ypC + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h81KuuB1fWySn1i3iTLoX body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bZcZRl6snMLNUN","request_duration_ms":919}}' + - '{"last_request_metrics":{"request_id":"req_79R8PUCuDi3D9P","request_duration_ms":993}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:29 GMT + - Wed, 17 Apr 2024 22:38:58 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LF3h6ZCyn5EVfD + - req_8YvzhYldSRubBW Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbLKuuB1fWySn2vSm9ypC", + "id": "pi_3P6h81KuuB1fWySn1i3iTLoX", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887947, + "created": 1713393537, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbLKuuB1fWySn27fM0iBe", + "latest_charge": "ch_3P6h81KuuB1fWySn1eMa5DyD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbLKuuB1fWySng9mRAtCf", + "payment_method": "pm_1P6h80KuuB1fWySnKLIYVtP4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:29 GMT + recorded_at: Wed, 17 Apr 2024 22:38:58 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbLKuuB1fWySn2vSm9ypC/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h81KuuB1fWySn1i3iTLoX/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LF3h6ZCyn5EVfD","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_8YvzhYldSRubBW","request_duration_ms":435}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:30 GMT + - Wed, 17 Apr 2024 22:39:00 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - bfb5b378-a3f3-4269-a5f7-f708c83c251a + - 25ffa565-65dd-44f1-b1de-5d1f834d0c07 Original-Request: - - req_QHj5Qi8U2aL3MY + - req_QHmUBQF84F7qG1 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QHj5Qi8U2aL3MY + - req_QHmUBQF84F7qG1 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbLKuuB1fWySn2vSm9ypC", + "id": "pi_3P6h81KuuB1fWySn1i3iTLoX", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887947, + "created": 1713393537, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbLKuuB1fWySn27fM0iBe", + "latest_charge": "ch_3P6h81KuuB1fWySn1eMa5DyD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbLKuuB1fWySng9mRAtCf", + "payment_method": "pm_1P6h80KuuB1fWySnKLIYVtP4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:30 GMT + recorded_at: Wed, 17 Apr 2024 22:39:00 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbLKuuB1fWySn2vSm9ypC + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h81KuuB1fWySn1i3iTLoX body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QHj5Qi8U2aL3MY","request_duration_ms":1127}}' + - '{"last_request_metrics":{"request_id":"req_QHmUBQF84F7qG1","request_duration_ms":1124}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:30 GMT + - Wed, 17 Apr 2024 22:39:00 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_R8pyYNeaoLTcEw + - req_lW3Bslok4Lawnx Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbLKuuB1fWySn2vSm9ypC", + "id": "pi_3P6h81KuuB1fWySn1i3iTLoX", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887947, + "created": 1713393537, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbLKuuB1fWySn27fM0iBe", + "latest_charge": "ch_3P6h81KuuB1fWySn1eMa5DyD", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbLKuuB1fWySng9mRAtCf", + "payment_method": "pm_1P6h80KuuB1fWySnKLIYVtP4", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:30 GMT + recorded_at: Wed, 17 Apr 2024 22:39:00 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml index 5cef723fef..0a231d2704 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_American_Express/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xOSPdPk4GPWcPw","request_duration_ms":352}}' + - '{"last_request_metrics":{"request_id":"req_Op5E047dEuFump","request_duration_ms":405}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:25 GMT + - Wed, 17 Apr 2024 22:38:54 GMT Content-Type: - application/json Content-Length: - - '973' + - '1009' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 557b5c0d-7a60-4117-aee0-300696d8314c + - c2c01d7e-8dba-4820-944c-529925047b7e Original-Request: - - req_lxsguvpctQJBUZ + - req_sQ1BbnbMqtgWCv Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lxsguvpctQJBUZ + - req_sQ1BbnbMqtgWCv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbIKuuB1fWySnbDUxYKvr", + "id": "pm_1P6h7yKuuB1fWySnAjXTMD0L", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887944, + "created": 1713393534, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:25 GMT + recorded_at: Wed, 17 Apr 2024 22:38:54 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbIKuuB1fWySnbDUxYKvr&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7yKuuB1fWySnAjXTMD0L&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lxsguvpctQJBUZ","request_duration_ms":583}}' + - '{"last_request_metrics":{"request_id":"req_sQ1BbnbMqtgWCv","request_duration_ms":496}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:25 GMT + - Wed, 17 Apr 2024 22:38:55 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - be992c90-0307-4207-999c-a6afd60191e9 + - 9386dac8-1c19-4906-83cf-f2af342a6229 Original-Request: - - req_E2MOVqgpfJYBPb + - req_mXHokzUAHJQ1zS Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_E2MOVqgpfJYBPb + - req_mXHokzUAHJQ1zS Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbJKuuB1fWySn2iY9jiGp", + "id": "pi_3P6h7zKuuB1fWySn1IOJf23O", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887945, + "created": 1713393535, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbIKuuB1fWySnbDUxYKvr", + "payment_method": "pm_1P6h7yKuuB1fWySnAjXTMD0L", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:25 GMT + recorded_at: Wed, 17 Apr 2024 22:38:55 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbJKuuB1fWySn2iY9jiGp/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7zKuuB1fWySn1IOJf23O/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_E2MOVqgpfJYBPb","request_duration_ms":507}}' + - '{"last_request_metrics":{"request_id":"req_mXHokzUAHJQ1zS","request_duration_ms":508}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:26 GMT + - Wed, 17 Apr 2024 22:38:56 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d0cc69b7-6380-469a-b155-bd16808f0313 + - 0e55b45a-9dfe-478d-8533-891777278c6d Original-Request: - - req_1Rgo7sZGjxeqMM + - req_8RoSQ8dLWnQaG2 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1Rgo7sZGjxeqMM + - req_8RoSQ8dLWnQaG2 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbJKuuB1fWySn2iY9jiGp", + "id": "pi_3P6h7zKuuB1fWySn1IOJf23O", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887945, + "created": 1713393535, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbJKuuB1fWySn20n3dP0f", + "latest_charge": "ch_3P6h7zKuuB1fWySn12dvB53S", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbIKuuB1fWySnbDUxYKvr", + "payment_method": "pm_1P6h7yKuuB1fWySnAjXTMD0L", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:26 GMT + recorded_at: Wed, 17 Apr 2024 22:38:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml index 4a5ecaa62c..ace626cb3a 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CnMkim7OtZ8R3i","request_duration_ms":1084}}' + - '{"last_request_metrics":{"request_id":"req_3z0b70bAwXWXdV","request_duration_ms":1021}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:02 GMT + - Wed, 17 Apr 2024 22:39:29 GMT Content-Type: - application/json Content-Length: - - '972' + - '1008' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 10fb5de0-9b56-42b9-b962-3ea034c6b5b3 + - 85034cd4-c0be-46d4-9682-7dd3ebcf5da9 Original-Request: - - req_PMKdSZRwMXKGTT + - req_belJapNFhTfYji Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PMKdSZRwMXKGTT + - req_belJapNFhTfYji Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbuKuuB1fWySnDrH7Dikv", + "id": "pm_1P6h8XKuuB1fWySnVdMtfDOI", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887982, + "created": 1713393569, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:02 GMT + recorded_at: Wed, 17 Apr 2024 22:39:29 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbuKuuB1fWySnDrH7Dikv&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8XKuuB1fWySnVdMtfDOI&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PMKdSZRwMXKGTT","request_duration_ms":588}}' + - '{"last_request_metrics":{"request_id":"req_belJapNFhTfYji","request_duration_ms":455}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:03 GMT + - Wed, 17 Apr 2024 22:39:30 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 02e231dc-bfe4-4a7a-8e84-4b1607839cd4 + - c33adf33-7e60-4ee6-b785-38eb34dcfe33 Original-Request: - - req_Qsok3fDJRpmesO + - req_H8BuN9wUGP5BSM Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Qsok3fDJRpmesO + - req_H8BuN9wUGP5BSM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbvKuuB1fWySn0MRnmqSU", + "id": "pi_3P6h8XKuuB1fWySn2MhbFPiK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887983, + "created": 1713393569, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbuKuuB1fWySnDrH7Dikv", + "payment_method": "pm_1P6h8XKuuB1fWySnVdMtfDOI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:03 GMT + recorded_at: Wed, 17 Apr 2024 22:39:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbvKuuB1fWySn0MRnmqSU/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8XKuuB1fWySn2MhbFPiK/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Qsok3fDJRpmesO","request_duration_ms":611}}' + - '{"last_request_metrics":{"request_id":"req_H8BuN9wUGP5BSM","request_duration_ms":537}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:04 GMT + - Wed, 17 Apr 2024 22:39:31 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7c6b3c52-bbd9-4acb-aa7c-a2058b1e22f4 + - 607660cd-97a2-4ec4-a5be-b9813e87360f Original-Request: - - req_ISwjm2MvVVm8W8 + - req_VfWUNSJ16yKaDM Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ISwjm2MvVVm8W8 + - req_VfWUNSJ16yKaDM Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbvKuuB1fWySn0MRnmqSU", + "id": "pi_3P6h8XKuuB1fWySn2MhbFPiK", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887983, + "created": 1713393569, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbvKuuB1fWySn05iwDCUv", + "latest_charge": "ch_3P6h8XKuuB1fWySn27vTFz5x", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbuKuuB1fWySnDrH7Dikv", + "payment_method": "pm_1P6h8XKuuB1fWySnVdMtfDOI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:04 GMT + recorded_at: Wed, 17 Apr 2024 22:39:31 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbvKuuB1fWySn0MRnmqSU + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8XKuuB1fWySn2MhbFPiK body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ISwjm2MvVVm8W8","request_duration_ms":1226}}' + - '{"last_request_metrics":{"request_id":"req_VfWUNSJ16yKaDM","request_duration_ms":996}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:05 GMT + - Wed, 17 Apr 2024 22:39:31 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_UOG6dHnr2aU4Uw + - req_V3NhiQRMAVdhG5 Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbvKuuB1fWySn0MRnmqSU", + "id": "pi_3P6h8XKuuB1fWySn2MhbFPiK", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887983, + "created": 1713393569, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbvKuuB1fWySn05iwDCUv", + "latest_charge": "ch_3P6h8XKuuB1fWySn27vTFz5x", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbuKuuB1fWySnDrH7Dikv", + "payment_method": "pm_1P6h8XKuuB1fWySnVdMtfDOI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:05 GMT + recorded_at: Wed, 17 Apr 2024 22:39:31 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbvKuuB1fWySn0MRnmqSU/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8XKuuB1fWySn2MhbFPiK/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_UOG6dHnr2aU4Uw","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_V3NhiQRMAVdhG5","request_duration_ms":407}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:06 GMT + - Wed, 17 Apr 2024 22:39:32 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fd18a5ab-51e1-46df-a35e-43385d40b55f + - 9ed1472d-bee6-44be-84b5-3295c458d1e4 Original-Request: - - req_PCHL2XJ2xtfykW + - req_Zm7KQZK83zAent Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PCHL2XJ2xtfykW + - req_Zm7KQZK83zAent Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbvKuuB1fWySn0MRnmqSU", + "id": "pi_3P6h8XKuuB1fWySn2MhbFPiK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887983, + "created": 1713393569, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbvKuuB1fWySn05iwDCUv", + "latest_charge": "ch_3P6h8XKuuB1fWySn27vTFz5x", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbuKuuB1fWySnDrH7Dikv", + "payment_method": "pm_1P6h8XKuuB1fWySnVdMtfDOI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:06 GMT + recorded_at: Wed, 17 Apr 2024 22:39:32 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbvKuuB1fWySn0MRnmqSU + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8XKuuB1fWySn2MhbFPiK body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PCHL2XJ2xtfykW","request_duration_ms":1281}}' + - '{"last_request_metrics":{"request_id":"req_Zm7KQZK83zAent","request_duration_ms":1124}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:06 GMT + - Wed, 17 Apr 2024 22:39:32 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JGVcKD6GYpDMhA + - req_hfwFTTxVfnyp1F Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbvKuuB1fWySn0MRnmqSU", + "id": "pi_3P6h8XKuuB1fWySn2MhbFPiK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887983, + "created": 1713393569, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbvKuuB1fWySn05iwDCUv", + "latest_charge": "ch_3P6h8XKuuB1fWySn27vTFz5x", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbuKuuB1fWySnDrH7Dikv", + "payment_method": "pm_1P6h8XKuuB1fWySnVdMtfDOI", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:07 GMT + recorded_at: Wed, 17 Apr 2024 22:39:33 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml index dbbc24cb74..154c7ef553 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_BCcard_and_DinaCard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KqOwkns4CLl9vj","request_duration_ms":490}}' + - '{"last_request_metrics":{"request_id":"req_I3pl4WWcmSdR3t","request_duration_ms":323}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:00 GMT + - Wed, 17 Apr 2024 22:39:27 GMT Content-Type: - application/json Content-Length: - - '972' + - '1008' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0d15b5bb-2e64-44f9-a578-722731d0ebd8 + - 7e7c53f3-778d-4cf6-99b8-e9d2e323847c Original-Request: - - req_OTxfqpn1fgu2DL + - req_R5sPMLGXRV4s9f Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OTxfqpn1fgu2DL + - req_R5sPMLGXRV4s9f Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbsKuuB1fWySnJd6GpsRT", + "id": "pm_1P6h8VKuuB1fWySnG6WGYjOq", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887980, + "created": 1713393567, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:00 GMT + recorded_at: Wed, 17 Apr 2024 22:39:27 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbsKuuB1fWySnJd6GpsRT&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8VKuuB1fWySnG6WGYjOq&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OTxfqpn1fgu2DL","request_duration_ms":582}}' + - '{"last_request_metrics":{"request_id":"req_R5sPMLGXRV4s9f","request_duration_ms":476}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:01 GMT + - Wed, 17 Apr 2024 22:39:27 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e0b0ca74-5e2f-47d5-83ce-c37cf76e9d47 + - 9f4c16b6-e857-4835-a8c0-a898a480bc8d Original-Request: - - req_qYGkmTY1gmDicn + - req_oiMNzBLhwBnOq5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qYGkmTY1gmDicn + - req_oiMNzBLhwBnOq5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbsKuuB1fWySn025qAsiO", + "id": "pi_3P6h8VKuuB1fWySn20Fo9znJ", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887980, + "created": 1713393567, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbsKuuB1fWySnJd6GpsRT", + "payment_method": "pm_1P6h8VKuuB1fWySnG6WGYjOq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:01 GMT + recorded_at: Wed, 17 Apr 2024 22:39:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbsKuuB1fWySn025qAsiO/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8VKuuB1fWySn20Fo9znJ/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qYGkmTY1gmDicn","request_duration_ms":640}}' + - '{"last_request_metrics":{"request_id":"req_oiMNzBLhwBnOq5","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:02 GMT + - Wed, 17 Apr 2024 22:39:28 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e16a26fd-bbac-4e09-9a39-366628879cd0 + - f5c42d6a-7ba8-484a-9729-b77ccd7e9702 Original-Request: - - req_CnMkim7OtZ8R3i + - req_3z0b70bAwXWXdV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_CnMkim7OtZ8R3i + - req_3z0b70bAwXWXdV Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbsKuuB1fWySn025qAsiO", + "id": "pi_3P6h8VKuuB1fWySn20Fo9znJ", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887980, + "created": 1713393567, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbsKuuB1fWySn0cBgfUBh", + "latest_charge": "ch_3P6h8VKuuB1fWySn27KfJTAK", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbsKuuB1fWySnJd6GpsRT", + "payment_method": "pm_1P6h8VKuuB1fWySnG6WGYjOq", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:02 GMT + recorded_at: Wed, 17 Apr 2024 22:39:28 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml index 3e086d562d..fad9014f66 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cHq6LbdynLpYV5","request_duration_ms":1188}}' + - '{"last_request_metrics":{"request_id":"req_eMip2uJLGOAsUL","request_duration_ms":1021}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:48 GMT + - Wed, 17 Apr 2024 22:39:17 GMT Content-Type: - application/json Content-Length: - - '972' + - '1008' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2934ec9d-94dd-4ec3-aedc-b0c6497f10a0 + - 1a4570da-468a-4b3d-89fc-5e09e5f2139f Original-Request: - - req_ldUnBfzbI8cHwh + - req_MJFLj7xyGzTDVH Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ldUnBfzbI8cHwh + - req_MJFLj7xyGzTDVH Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbgKuuB1fWySnDFKb8eXf", + "id": "pm_1P6h8LKuuB1fWySnLJ1Se1NW", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887968, + "created": 1713393557, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:48 GMT + recorded_at: Wed, 17 Apr 2024 22:39:17 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbgKuuB1fWySnDFKb8eXf&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8LKuuB1fWySnLJ1Se1NW&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ldUnBfzbI8cHwh","request_duration_ms":588}}' + - '{"last_request_metrics":{"request_id":"req_MJFLj7xyGzTDVH","request_duration_ms":470}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:49 GMT + - Wed, 17 Apr 2024 22:39:17 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - '0857790e-36b6-47f7-8d5a-fb2f24c90c3e' + - '091a9024-bc8e-4ae1-974b-ea8c9444cb5c' Original-Request: - - req_mT4IJiG4KDqfsK + - req_fnovB9YHqPYxKh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mT4IJiG4KDqfsK + - req_fnovB9YHqPYxKh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbgKuuB1fWySn09ye0rQg", + "id": "pi_3P6h8LKuuB1fWySn2zowFGx3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887968, + "created": 1713393557, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbgKuuB1fWySnDFKb8eXf", + "payment_method": "pm_1P6h8LKuuB1fWySnLJ1Se1NW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:49 GMT + recorded_at: Wed, 17 Apr 2024 22:39:17 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbgKuuB1fWySn09ye0rQg/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8LKuuB1fWySn2zowFGx3/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mT4IJiG4KDqfsK","request_duration_ms":579}}' + - '{"last_request_metrics":{"request_id":"req_fnovB9YHqPYxKh","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:50 GMT + - Wed, 17 Apr 2024 22:39:18 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7de4307a-4e10-4ba7-aa99-6041f4585c26 + - 474e1a09-5f2b-45b0-b6ef-04074541ad2c Original-Request: - - req_jwGeZtJp5Avsjs + - req_C7H2INDfTs3Tjy Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jwGeZtJp5Avsjs + - req_C7H2INDfTs3Tjy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbgKuuB1fWySn09ye0rQg", + "id": "pi_3P6h8LKuuB1fWySn2zowFGx3", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887968, + "created": 1713393557, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbgKuuB1fWySn0WoS6w6j", + "latest_charge": "ch_3P6h8LKuuB1fWySn2JuiHUdy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbgKuuB1fWySnDFKb8eXf", + "payment_method": "pm_1P6h8LKuuB1fWySnLJ1Se1NW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:50 GMT + recorded_at: Wed, 17 Apr 2024 22:39:18 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbgKuuB1fWySn09ye0rQg + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8LKuuB1fWySn2zowFGx3 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jwGeZtJp5Avsjs","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_C7H2INDfTs3Tjy","request_duration_ms":1021}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:50 GMT + - Wed, 17 Apr 2024 22:39:19 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_r35e0aAMwjyImh + - req_DOVGWJrVI35T4X Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbgKuuB1fWySn09ye0rQg", + "id": "pi_3P6h8LKuuB1fWySn2zowFGx3", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887968, + "created": 1713393557, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbgKuuB1fWySn0WoS6w6j", + "latest_charge": "ch_3P6h8LKuuB1fWySn2JuiHUdy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbgKuuB1fWySnDFKb8eXf", + "payment_method": "pm_1P6h8LKuuB1fWySnLJ1Se1NW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:50 GMT + recorded_at: Wed, 17 Apr 2024 22:39:19 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbgKuuB1fWySn09ye0rQg/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8LKuuB1fWySn2zowFGx3/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_r35e0aAMwjyImh","request_duration_ms":464}}' + - '{"last_request_metrics":{"request_id":"req_DOVGWJrVI35T4X","request_duration_ms":407}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:51 GMT + - Wed, 17 Apr 2024 22:39:20 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a8acd6ad-cdbe-4d3d-b83c-7c723fca92b4 + - d900647d-2aec-4e64-98d1-f15c83461c8f Original-Request: - - req_cgpUV2BOdXD5r7 + - req_PsYDkuQdjXeUiU Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cgpUV2BOdXD5r7 + - req_PsYDkuQdjXeUiU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbgKuuB1fWySn09ye0rQg", + "id": "pi_3P6h8LKuuB1fWySn2zowFGx3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887968, + "created": 1713393557, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbgKuuB1fWySn0WoS6w6j", + "latest_charge": "ch_3P6h8LKuuB1fWySn2JuiHUdy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbgKuuB1fWySnDFKb8eXf", + "payment_method": "pm_1P6h8LKuuB1fWySnLJ1Se1NW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:51 GMT + recorded_at: Wed, 17 Apr 2024 22:39:20 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbgKuuB1fWySn09ye0rQg + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8LKuuB1fWySn2zowFGx3 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cgpUV2BOdXD5r7","request_duration_ms":1274}}' + - '{"last_request_metrics":{"request_id":"req_PsYDkuQdjXeUiU","request_duration_ms":1129}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:52 GMT + - Wed, 17 Apr 2024 22:39:20 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_upFNnKW76d6aGU + - req_O9M1jcSqndJOJC Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbgKuuB1fWySn09ye0rQg", + "id": "pi_3P6h8LKuuB1fWySn2zowFGx3", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887968, + "created": 1713393557, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbgKuuB1fWySn0WoS6w6j", + "latest_charge": "ch_3P6h8LKuuB1fWySn2JuiHUdy", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbgKuuB1fWySnDFKb8eXf", + "payment_method": "pm_1P6h8LKuuB1fWySnLJ1Se1NW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:52 GMT + recorded_at: Wed, 17 Apr 2024 22:39:20 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml index 13db7b9870..8781fce420 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WHILdRRy3i3Zga","request_duration_ms":514}}' + - '{"last_request_metrics":{"request_id":"req_51gEEe58VXMvAb","request_duration_ms":464}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:45 GMT + - Wed, 17 Apr 2024 22:39:15 GMT Content-Type: - application/json Content-Length: - - '972' + - '1008' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - eee82345-2a97-4cdc-b306-ea7e144cb3aa + - 3d62fb8d-e2d2-4a85-9cbf-db3f4eefc828 Original-Request: - - req_XlPtzmzCypVETg + - req_8nJ9m62uUKZ1BT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_XlPtzmzCypVETg + - req_8nJ9m62uUKZ1BT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbdKuuB1fWySnlV3JFmLV", + "id": "pm_1P6h8IKuuB1fWySnR0Y3X7ef", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887965, + "created": 1713393554, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:45 GMT + recorded_at: Wed, 17 Apr 2024 22:39:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbdKuuB1fWySnlV3JFmLV&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8IKuuB1fWySnR0Y3X7ef&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XlPtzmzCypVETg","request_duration_ms":658}}' + - '{"last_request_metrics":{"request_id":"req_8nJ9m62uUKZ1BT","request_duration_ms":572}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:46 GMT + - Wed, 17 Apr 2024 22:39:15 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8a68eae5-7769-4b73-b610-d69386034757 + - 91901a1a-fd2b-4876-b05c-bf94c201b9f6 Original-Request: - - req_n9Muzz5Qtebl5u + - req_vinBkTBwWki9qy Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_n9Muzz5Qtebl5u + - req_vinBkTBwWki9qy Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbeKuuB1fWySn0tkauvXx", + "id": "pi_3P6h8JKuuB1fWySn2yadc0B1", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887966, + "created": 1713393555, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbdKuuB1fWySnlV3JFmLV", + "payment_method": "pm_1P6h8IKuuB1fWySnR0Y3X7ef", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:46 GMT + recorded_at: Wed, 17 Apr 2024 22:39:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbeKuuB1fWySn0tkauvXx/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8JKuuB1fWySn2yadc0B1/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_n9Muzz5Qtebl5u","request_duration_ms":662}}' + - '{"last_request_metrics":{"request_id":"req_vinBkTBwWki9qy","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:47 GMT + - Wed, 17 Apr 2024 22:39:16 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4252f9ff-9c1b-46a7-af62-4c6e24b100ec + - e2fe3772-c299-4588-81a1-bdad8e9b314b Original-Request: - - req_cHq6LbdynLpYV5 + - req_eMip2uJLGOAsUL Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cHq6LbdynLpYV5 + - req_eMip2uJLGOAsUL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbeKuuB1fWySn0tkauvXx", + "id": "pi_3P6h8JKuuB1fWySn2yadc0B1", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887966, + "created": 1713393555, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbeKuuB1fWySn0M4VmToI", + "latest_charge": "ch_3P6h8JKuuB1fWySn26uIchSq", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbdKuuB1fWySnlV3JFmLV", + "payment_method": "pm_1P6h8IKuuB1fWySnR0Y3X7ef", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:47 GMT + recorded_at: Wed, 17 Apr 2024 22:39:16 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml index 0e7762a3f8..ed30b7c4f3 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_a2dSWtEJXNIbnu","request_duration_ms":1051}}' + - '{"last_request_metrics":{"request_id":"req_0ok5x8RVmzx0fI","request_duration_ms":1022}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:55 GMT + - Wed, 17 Apr 2024 22:39:23 GMT Content-Type: - application/json Content-Length: - - '972' + - '1008' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ae82e584-4bcc-495f-8396-22bf3f44924d + - bdd25ab2-01bf-4d8a-b996-790be486e8f5 Original-Request: - - req_aKvMAJ0lSSoT3M + - req_aW2iJeMUdsXpdu Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aKvMAJ0lSSoT3M + - req_aW2iJeMUdsXpdu Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbnKuuB1fWySn5B7Q4SX8", + "id": "pm_1P6h8RKuuB1fWySnfA4I9N8P", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887975, + "created": 1713393563, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:55 GMT + recorded_at: Wed, 17 Apr 2024 22:39:23 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbnKuuB1fWySn5B7Q4SX8&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8RKuuB1fWySnfA4I9N8P&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aKvMAJ0lSSoT3M","request_duration_ms":661}}' + - '{"last_request_metrics":{"request_id":"req_aW2iJeMUdsXpdu","request_duration_ms":476}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:56 GMT + - Wed, 17 Apr 2024 22:39:23 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 703dfb97-15f2-41f0-9079-40e6c16c59d2 + - f38730a5-9b88-41bb-af95-f3f0d1b6db51 Original-Request: - - req_JgVfwsajT8sGtI + - req_EKgkqCB3ZJn6mK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JgVfwsajT8sGtI + - req_EKgkqCB3ZJn6mK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZboKuuB1fWySn0fy0x0S0", + "id": "pi_3P6h8RKuuB1fWySn2f9Q1nED", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887976, + "created": 1713393563, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbnKuuB1fWySn5B7Q4SX8", + "payment_method": "pm_1P6h8RKuuB1fWySnfA4I9N8P", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:56 GMT + recorded_at: Wed, 17 Apr 2024 22:39:24 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZboKuuB1fWySn0fy0x0S0/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8RKuuB1fWySn2f9Q1nED/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JgVfwsajT8sGtI","request_duration_ms":611}}' + - '{"last_request_metrics":{"request_id":"req_EKgkqCB3ZJn6mK","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:57 GMT + - Wed, 17 Apr 2024 22:39:24 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 370731cd-60fe-477c-b26a-16fe88c98ce6 + - 11732f20-6777-4a68-b1a7-99963f769446 Original-Request: - - req_VOshhi6Tlu9ZwZ + - req_lvzjZr0RkFNeES Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VOshhi6Tlu9ZwZ + - req_lvzjZr0RkFNeES Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZboKuuB1fWySn0fy0x0S0", + "id": "pi_3P6h8RKuuB1fWySn2f9Q1nED", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887976, + "created": 1713393563, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZboKuuB1fWySn0I8qslqh", + "latest_charge": "ch_3P6h8RKuuB1fWySn2G5g1Oav", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbnKuuB1fWySn5B7Q4SX8", + "payment_method": "pm_1P6h8RKuuB1fWySnfA4I9N8P", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:57 GMT + recorded_at: Wed, 17 Apr 2024 22:39:25 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZboKuuB1fWySn0fy0x0S0 + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8RKuuB1fWySn2f9Q1nED body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VOshhi6Tlu9ZwZ","request_duration_ms":1064}}' + - '{"last_request_metrics":{"request_id":"req_lvzjZr0RkFNeES","request_duration_ms":1022}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:58 GMT + - Wed, 17 Apr 2024 22:39:25 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qwOTXlprisT1HR + - req_mZY27L2xmuWtnA Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZboKuuB1fWySn0fy0x0S0", + "id": "pi_3P6h8RKuuB1fWySn2f9Q1nED", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887976, + "created": 1713393563, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZboKuuB1fWySn0I8qslqh", + "latest_charge": "ch_3P6h8RKuuB1fWySn2G5g1Oav", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbnKuuB1fWySn5B7Q4SX8", + "payment_method": "pm_1P6h8RKuuB1fWySnfA4I9N8P", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:58 GMT + recorded_at: Wed, 17 Apr 2024 22:39:25 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZboKuuB1fWySn0fy0x0S0/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8RKuuB1fWySn2f9Q1nED/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qwOTXlprisT1HR","request_duration_ms":568}}' + - '{"last_request_metrics":{"request_id":"req_mZY27L2xmuWtnA","request_duration_ms":407}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:59 GMT + - Wed, 17 Apr 2024 22:39:26 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9ac068e3-f083-4a56-a167-9b8472d6b6b8 + - e01d3351-bd95-4c93-82f2-f68eb2c70b77 Original-Request: - - req_e89Qg4rdCZcuIY + - req_eZOI1S6A1Np124 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_e89Qg4rdCZcuIY + - req_eZOI1S6A1Np124 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZboKuuB1fWySn0fy0x0S0", + "id": "pi_3P6h8RKuuB1fWySn2f9Q1nED", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887976, + "created": 1713393563, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZboKuuB1fWySn0I8qslqh", + "latest_charge": "ch_3P6h8RKuuB1fWySn2G5g1Oav", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbnKuuB1fWySn5B7Q4SX8", + "payment_method": "pm_1P6h8RKuuB1fWySnfA4I9N8P", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:59 GMT + recorded_at: Wed, 17 Apr 2024 22:39:26 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZboKuuB1fWySn0fy0x0S0 + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8RKuuB1fWySn2f9Q1nED body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_e89Qg4rdCZcuIY","request_duration_ms":1142}}' + - '{"last_request_metrics":{"request_id":"req_eZOI1S6A1Np124","request_duration_ms":1125}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:59 GMT + - Wed, 17 Apr 2024 22:39:26 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KqOwkns4CLl9vj + - req_I3pl4WWcmSdR3t Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZboKuuB1fWySn0fy0x0S0", + "id": "pi_3P6h8RKuuB1fWySn2f9Q1nED", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887976, + "created": 1713393563, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZboKuuB1fWySn0I8qslqh", + "latest_charge": "ch_3P6h8RKuuB1fWySn2G5g1Oav", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbnKuuB1fWySn5B7Q4SX8", + "payment_method": "pm_1P6h8RKuuB1fWySnfA4I9N8P", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:59 GMT + recorded_at: Wed, 17 Apr 2024 22:39:26 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 990b1adf2d..41d07ffa7f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Diners_Club_14-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_upFNnKW76d6aGU","request_duration_ms":608}}' + - '{"last_request_metrics":{"request_id":"req_O9M1jcSqndJOJC","request_duration_ms":401}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:53 GMT + - Wed, 17 Apr 2024 22:39:21 GMT Content-Type: - application/json Content-Length: - - '972' + - '1008' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d5fc761f-29bf-41dc-b045-2989c5209bdd + - d26715a9-307d-47f4-a2cf-bf33c3162e70 Original-Request: - - req_cRg1k7yPcQ10IK + - req_XdePxbRUWKTvjI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cRg1k7yPcQ10IK + - req_XdePxbRUWKTvjI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZblKuuB1fWySnztAYCVzt", + "id": "pm_1P6h8PKuuB1fWySnIah9Di2G", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887973, + "created": 1713393561, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:53 GMT + recorded_at: Wed, 17 Apr 2024 22:39:21 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZblKuuB1fWySnztAYCVzt&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8PKuuB1fWySnIah9Di2G&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cRg1k7yPcQ10IK","request_duration_ms":620}}' + - '{"last_request_metrics":{"request_id":"req_XdePxbRUWKTvjI","request_duration_ms":494}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:53 GMT + - Wed, 17 Apr 2024 22:39:21 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b44dadc4-e109-46b2-8db2-138ea92456c1 + - a5265d51-79c9-42f7-b184-6dbe3bd95491 Original-Request: - - req_qSCaQzqynBwS47 + - req_s14CejPPZfzuMk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_qSCaQzqynBwS47 + - req_s14CejPPZfzuMk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZblKuuB1fWySn1HGRuI4M", + "id": "pi_3P6h8PKuuB1fWySn1OZkfwQc", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887973, + "created": 1713393561, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZblKuuB1fWySnztAYCVzt", + "payment_method": "pm_1P6h8PKuuB1fWySnIah9Di2G", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:53 GMT + recorded_at: Wed, 17 Apr 2024 22:39:21 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZblKuuB1fWySn1HGRuI4M/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8PKuuB1fWySn1OZkfwQc/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qSCaQzqynBwS47","request_duration_ms":683}}' + - '{"last_request_metrics":{"request_id":"req_s14CejPPZfzuMk","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:55 GMT + - Wed, 17 Apr 2024 22:39:22 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 0ee3ab7f-d6fc-412b-8a8c-0bc4bcdc075c + - eab99991-a8d9-4da4-862a-53dba0b7e794 Original-Request: - - req_a2dSWtEJXNIbnu + - req_0ok5x8RVmzx0fI Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_a2dSWtEJXNIbnu + - req_0ok5x8RVmzx0fI Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZblKuuB1fWySn1HGRuI4M", + "id": "pi_3P6h8PKuuB1fWySn1OZkfwQc", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887973, + "created": 1713393561, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZblKuuB1fWySn1GKuioq2", + "latest_charge": "ch_3P6h8PKuuB1fWySn1mhyBhEE", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZblKuuB1fWySnztAYCVzt", + "payment_method": "pm_1P6h8PKuuB1fWySnIah9Di2G", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:54 GMT + recorded_at: Wed, 17 Apr 2024 22:39:22 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml index 571c3ff909..04091ae801 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FYzvBwG7kG8KBb","request_duration_ms":1083}}' + - '{"last_request_metrics":{"request_id":"req_Jro1T0jxbpxK3y","request_duration_ms":1021}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:33 GMT + - Wed, 17 Apr 2024 22:39:03 GMT Content-Type: - application/json Content-Length: - - '972' + - '1008' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f08fce2f-1e38-451c-923a-2d49c80463ce + - fddb89f6-f813-470a-9e0a-0f81b7f597c9 Original-Request: - - req_mQ5Fy4GCwRB2WH + - req_DSWHOaVc1vEG2s Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mQ5Fy4GCwRB2WH + - req_DSWHOaVc1vEG2s Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbRKuuB1fWySnefQaxF28", + "id": "pm_1P6h87KuuB1fWySn9X4uRzJb", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887953, + "created": 1713393543, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:33 GMT + recorded_at: Wed, 17 Apr 2024 22:39:03 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbRKuuB1fWySnefQaxF28&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h87KuuB1fWySn9X4uRzJb&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mQ5Fy4GCwRB2WH","request_duration_ms":575}}' + - '{"last_request_metrics":{"request_id":"req_DSWHOaVc1vEG2s","request_duration_ms":568}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:34 GMT + - Wed, 17 Apr 2024 22:39:04 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b77d417b-076e-469e-8c7a-757e6d76ecfb + - fb05d59c-5b57-4ff2-9698-8b86e8804653 Original-Request: - - req_D6MApotrwbldPT + - req_j8c27KKn1Qvu5O Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_D6MApotrwbldPT + - req_j8c27KKn1Qvu5O Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbSKuuB1fWySn2hIr2YYd", + "id": "pi_3P6h87KuuB1fWySn2axL111t", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887954, + "created": 1713393543, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbRKuuB1fWySnefQaxF28", + "payment_method": "pm_1P6h87KuuB1fWySn9X4uRzJb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:34 GMT + recorded_at: Wed, 17 Apr 2024 22:39:04 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbSKuuB1fWySn2hIr2YYd/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h87KuuB1fWySn2axL111t/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_D6MApotrwbldPT","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_j8c27KKn1Qvu5O","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:35 GMT + - Wed, 17 Apr 2024 22:39:05 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d3ca77e3-9981-4f65-bcbb-8b25a40a4996 + - 6de1b6ae-ab05-4390-9a15-b24623b2d1ab Original-Request: - - req_vdBkCb7cprlYxa + - req_qoa8w5ai6YeE1N Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vdBkCb7cprlYxa + - req_qoa8w5ai6YeE1N Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbSKuuB1fWySn2hIr2YYd", + "id": "pi_3P6h87KuuB1fWySn2axL111t", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887954, + "created": 1713393543, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbSKuuB1fWySn2Ah8zV3Y", + "latest_charge": "ch_3P6h87KuuB1fWySn2262lqw1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbRKuuB1fWySnefQaxF28", + "payment_method": "pm_1P6h87KuuB1fWySn9X4uRzJb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:35 GMT + recorded_at: Wed, 17 Apr 2024 22:39:05 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbSKuuB1fWySn2hIr2YYd + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h87KuuB1fWySn2axL111t body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vdBkCb7cprlYxa","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_qoa8w5ai6YeE1N","request_duration_ms":1021}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:35 GMT + - Wed, 17 Apr 2024 22:39:05 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_cwqvxH0GPsvmza + - req_qNYhyui7rxxXIa Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbSKuuB1fWySn2hIr2YYd", + "id": "pi_3P6h87KuuB1fWySn2axL111t", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887954, + "created": 1713393543, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbSKuuB1fWySn2Ah8zV3Y", + "latest_charge": "ch_3P6h87KuuB1fWySn2262lqw1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbRKuuB1fWySnefQaxF28", + "payment_method": "pm_1P6h87KuuB1fWySn9X4uRzJb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:35 GMT + recorded_at: Wed, 17 Apr 2024 22:39:05 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbSKuuB1fWySn2hIr2YYd/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h87KuuB1fWySn2axL111t/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cwqvxH0GPsvmza","request_duration_ms":330}}' + - '{"last_request_metrics":{"request_id":"req_qNYhyui7rxxXIa","request_duration_ms":407}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:36 GMT + - Wed, 17 Apr 2024 22:39:06 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ed38e527-0a2e-46a9-b7b3-31451c888eb6 + - 9d88bb19-5593-4165-ab78-67d0c09ab47a Original-Request: - - req_NZBdu3pWFIa7m8 + - req_RqO941hfsyaP41 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_NZBdu3pWFIa7m8 + - req_RqO941hfsyaP41 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbSKuuB1fWySn2hIr2YYd", + "id": "pi_3P6h87KuuB1fWySn2axL111t", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887954, + "created": 1713393543, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbSKuuB1fWySn2Ah8zV3Y", + "latest_charge": "ch_3P6h87KuuB1fWySn2262lqw1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbRKuuB1fWySnefQaxF28", + "payment_method": "pm_1P6h87KuuB1fWySn9X4uRzJb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:36 GMT + recorded_at: Wed, 17 Apr 2024 22:39:06 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbSKuuB1fWySn2hIr2YYd + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h87KuuB1fWySn2axL111t body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NZBdu3pWFIa7m8","request_duration_ms":1097}}' + - '{"last_request_metrics":{"request_id":"req_RqO941hfsyaP41","request_duration_ms":1021}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:37 GMT + - Wed, 17 Apr 2024 22:39:07 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_aeVMhLyJHVQV5a + - req_Ig3AJuIzfGoNOE Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbSKuuB1fWySn2hIr2YYd", + "id": "pi_3P6h87KuuB1fWySn2axL111t", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887954, + "created": 1713393543, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbSKuuB1fWySn2Ah8zV3Y", + "latest_charge": "ch_3P6h87KuuB1fWySn2262lqw1", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbRKuuB1fWySnefQaxF28", + "payment_method": "pm_1P6h87KuuB1fWySn9X4uRzJb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:37 GMT + recorded_at: Wed, 17 Apr 2024 22:39:07 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml index 307a8c0562..b3ec3daf51 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_R8pyYNeaoLTcEw","request_duration_ms":0}}' + - '{"last_request_metrics":{"request_id":"req_lW3Bslok4Lawnx","request_duration_ms":0}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:31 GMT + - Wed, 17 Apr 2024 22:39:01 GMT Content-Type: - application/json Content-Length: - - '972' + - '1008' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3c528661-2643-4ed4-a0d0-e97af1513fdd + - e67d2503-043f-45aa-bc19-c5cbf2448460 Original-Request: - - req_QDtt1JYdQ42GiW + - req_1C24OBfM43wStd Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_QDtt1JYdQ42GiW + - req_1C24OBfM43wStd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbPKuuB1fWySnKuMN7Cec", + "id": "pm_1P6h85KuuB1fWySnyP9ccuXz", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887951, + "created": 1713393541, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:31 GMT + recorded_at: Wed, 17 Apr 2024 22:39:01 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbPKuuB1fWySnKuMN7Cec&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h85KuuB1fWySnyP9ccuXz&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QDtt1JYdQ42GiW","request_duration_ms":930}}' + - '{"last_request_metrics":{"request_id":"req_1C24OBfM43wStd","request_duration_ms":724}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:32 GMT + - Wed, 17 Apr 2024 22:39:01 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f1cd4a9c-5909-40d6-b77f-fc59ff1d6c41 + - 1750454d-cbef-4b4b-9948-a0a8d667c377 Original-Request: - - req_J27MPCz7mWtNkf + - req_K1co9pzQLmxWV0 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_J27MPCz7mWtNkf + - req_K1co9pzQLmxWV0 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbPKuuB1fWySn1godCq1B", + "id": "pi_3P6h85KuuB1fWySn0Vn41J29", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887951, + "created": 1713393541, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbPKuuB1fWySnKuMN7Cec", + "payment_method": "pm_1P6h85KuuB1fWySnyP9ccuXz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:32 GMT + recorded_at: Wed, 17 Apr 2024 22:39:01 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbPKuuB1fWySn1godCq1B/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h85KuuB1fWySn0Vn41J29/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_J27MPCz7mWtNkf","request_duration_ms":435}}' + - '{"last_request_metrics":{"request_id":"req_K1co9pzQLmxWV0","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:33 GMT + - Wed, 17 Apr 2024 22:39:02 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8d8bb962-ee63-4e20-85d4-a00a1b98d31e + - 69edc941-3f42-413c-b67b-34babe4bef61 Original-Request: - - req_FYzvBwG7kG8KBb + - req_Jro1T0jxbpxK3y Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FYzvBwG7kG8KBb + - req_Jro1T0jxbpxK3y Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbPKuuB1fWySn1godCq1B", + "id": "pi_3P6h85KuuB1fWySn0Vn41J29", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887951, + "created": 1713393541, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbPKuuB1fWySn1iBDWUnh", + "latest_charge": "ch_3P6h85KuuB1fWySn07C9hnvW", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbPKuuB1fWySnKuMN7Cec", + "payment_method": "pm_1P6h85KuuB1fWySnyP9ccuXz", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:33 GMT + recorded_at: Wed, 17 Apr 2024 22:39:02 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml index 17c0bd8787..8d8991e463 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gHtxpVvLNxTDnn","request_duration_ms":1073}}' + - '{"last_request_metrics":{"request_id":"req_wY4B9jGNDMtMfn","request_duration_ms":1025}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:41 GMT + - Wed, 17 Apr 2024 22:39:10 GMT Content-Type: - application/json Content-Length: - - '971' + - '1007' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 1bd51daa-2296-4eb3-99ba-48ab5572a970 + - 2241cd18-8e05-445c-974e-8415a457fa84 Original-Request: - - req_V0OeprYOt5SN3C + - req_4IP4EqUc5hGbSe Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_V0OeprYOt5SN3C + - req_4IP4EqUc5hGbSe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbYKuuB1fWySn754kzOhH", + "id": "pm_1P6h8EKuuB1fWySnyWld9oNi", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887960, + "created": 1713393550, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:41 GMT + recorded_at: Wed, 17 Apr 2024 22:39:10 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbYKuuB1fWySn754kzOhH&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8EKuuB1fWySnyWld9oNi&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_V0OeprYOt5SN3C","request_duration_ms":602}}' + - '{"last_request_metrics":{"request_id":"req_4IP4EqUc5hGbSe","request_duration_ms":475}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:41 GMT + - Wed, 17 Apr 2024 22:39:11 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 78f4687b-d3e7-4a84-96b3-a6952aeffab1 + - 4f2f7788-7139-4924-b357-4daa3a479fa8 Original-Request: - - req_Gz3SQtT0CNAkeD + - req_pv5d4X4q5cn45x Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Gz3SQtT0CNAkeD + - req_pv5d4X4q5cn45x Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbZKuuB1fWySn0JQyLL51", + "id": "pi_3P6h8EKuuB1fWySn2pZzJXzz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887961, + "created": 1713393550, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbYKuuB1fWySn754kzOhH", + "payment_method": "pm_1P6h8EKuuB1fWySnyWld9oNi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:41 GMT + recorded_at: Wed, 17 Apr 2024 22:39:11 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbZKuuB1fWySn0JQyLL51/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8EKuuB1fWySn2pZzJXzz/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Gz3SQtT0CNAkeD","request_duration_ms":611}}' + - '{"last_request_metrics":{"request_id":"req_pv5d4X4q5cn45x","request_duration_ms":578}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:42 GMT + - Wed, 17 Apr 2024 22:39:12 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ca7f1b36-6c7f-4c6e-ad98-8990f6515470 + - fee95263-7a25-4762-8fe4-86e1a87bbfe9 Original-Request: - - req_sbVkKSMNaEDYrM + - req_YP4sNK7buFgJiP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sbVkKSMNaEDYrM + - req_YP4sNK7buFgJiP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbZKuuB1fWySn0JQyLL51", + "id": "pi_3P6h8EKuuB1fWySn2pZzJXzz", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887961, + "created": 1713393550, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbZKuuB1fWySn0ArTDhuI", + "latest_charge": "ch_3P6h8EKuuB1fWySn24dbBR1i", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbYKuuB1fWySn754kzOhH", + "payment_method": "pm_1P6h8EKuuB1fWySnyWld9oNi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:42 GMT + recorded_at: Wed, 17 Apr 2024 22:39:12 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbZKuuB1fWySn0JQyLL51 + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8EKuuB1fWySn2pZzJXzz body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sbVkKSMNaEDYrM","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_YP4sNK7buFgJiP","request_duration_ms":1226}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:43 GMT + - Wed, 17 Apr 2024 22:39:12 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_t7QCR6Won5x0AG + - req_tM97ZW0ucJ8jxO Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbZKuuB1fWySn0JQyLL51", + "id": "pi_3P6h8EKuuB1fWySn2pZzJXzz", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887961, + "created": 1713393550, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbZKuuB1fWySn0ArTDhuI", + "latest_charge": "ch_3P6h8EKuuB1fWySn24dbBR1i", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbYKuuB1fWySn754kzOhH", + "payment_method": "pm_1P6h8EKuuB1fWySnyWld9oNi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:43 GMT + recorded_at: Wed, 17 Apr 2024 22:39:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbZKuuB1fWySn0JQyLL51/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8EKuuB1fWySn2pZzJXzz/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t7QCR6Won5x0AG","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_tM97ZW0ucJ8jxO","request_duration_ms":407}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:44 GMT + - Wed, 17 Apr 2024 22:39:14 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - df44ad74-0422-4613-89e5-d889d10e9ce0 + - a04cd255-ba11-4624-a52a-555c3b4fc020 Original-Request: - - req_7QCJjuccNy3lff + - req_Sy7n2RgT7nbSAm Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7QCJjuccNy3lff + - req_Sy7n2RgT7nbSAm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbZKuuB1fWySn0JQyLL51", + "id": "pi_3P6h8EKuuB1fWySn2pZzJXzz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887961, + "created": 1713393550, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbZKuuB1fWySn0ArTDhuI", + "latest_charge": "ch_3P6h8EKuuB1fWySn24dbBR1i", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbYKuuB1fWySn754kzOhH", + "payment_method": "pm_1P6h8EKuuB1fWySnyWld9oNi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:44 GMT + recorded_at: Wed, 17 Apr 2024 22:39:14 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbZKuuB1fWySn0JQyLL51 + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8EKuuB1fWySn2pZzJXzz body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7QCJjuccNy3lff","request_duration_ms":1431}}' + - '{"last_request_metrics":{"request_id":"req_Sy7n2RgT7nbSAm","request_duration_ms":1168}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:45 GMT + - Wed, 17 Apr 2024 22:39:14 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WHILdRRy3i3Zga + - req_51gEEe58VXMvAb Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbZKuuB1fWySn0JQyLL51", + "id": "pi_3P6h8EKuuB1fWySn2pZzJXzz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887961, + "created": 1713393550, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbZKuuB1fWySn0ArTDhuI", + "latest_charge": "ch_3P6h8EKuuB1fWySn24dbBR1i", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbYKuuB1fWySn754kzOhH", + "payment_method": "pm_1P6h8EKuuB1fWySnyWld9oNi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:45 GMT + recorded_at: Wed, 17 Apr 2024 22:39:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml index ead5db100f..19a441486e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Discover_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aeVMhLyJHVQV5a","request_duration_ms":0}}' + - '{"last_request_metrics":{"request_id":"req_Ig3AJuIzfGoNOE","request_duration_ms":0}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:38 GMT + - Wed, 17 Apr 2024 22:39:08 GMT Content-Type: - application/json Content-Length: - - '971' + - '1007' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2a2b2032-53cb-46c7-a02e-0e295e9f3ac0 + - a3d1e9b9-1762-4194-aa0f-bcfa32002963 Original-Request: - - req_tZfbuYU3M7QXFR + - req_JiR92vYhr5TM50 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_tZfbuYU3M7QXFR + - req_JiR92vYhr5TM50 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbWKuuB1fWySn0Myw8SKC", + "id": "pm_1P6h8CKuuB1fWySnn2XdeHK9", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887958, + "created": 1713393548, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:38 GMT + recorded_at: Wed, 17 Apr 2024 22:39:08 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbWKuuB1fWySn0Myw8SKC&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8CKuuB1fWySnn2XdeHK9&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tZfbuYU3M7QXFR","request_duration_ms":1119}}' + - '{"last_request_metrics":{"request_id":"req_JiR92vYhr5TM50","request_duration_ms":649}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:39 GMT + - Wed, 17 Apr 2024 22:39:08 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e384a803-4698-4922-a6f2-e04c12f19bc9 + - 9853ac76-700d-4823-90b5-5d52fc9d8635 Original-Request: - - req_jp79CH1MVDzMq6 + - req_8jGk89mm1ODvyk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jp79CH1MVDzMq6 + - req_8jGk89mm1ODvyk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbWKuuB1fWySn1SDkiIMR", + "id": "pi_3P6h8CKuuB1fWySn10MMn2hm", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887958, + "created": 1713393548, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbWKuuB1fWySn0Myw8SKC", + "payment_method": "pm_1P6h8CKuuB1fWySnn2XdeHK9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:39 GMT + recorded_at: Wed, 17 Apr 2024 22:39:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbWKuuB1fWySn1SDkiIMR/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8CKuuB1fWySn10MMn2hm/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jp79CH1MVDzMq6","request_duration_ms":609}}' + - '{"last_request_metrics":{"request_id":"req_8jGk89mm1ODvyk","request_duration_ms":511}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:40 GMT + - Wed, 17 Apr 2024 22:39:10 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 22380478-9f44-4409-ac4e-2c5a79bf4b66 + - 6a66637e-54e0-4fc5-ac45-3720f80d9700 Original-Request: - - req_gHtxpVvLNxTDnn + - req_wY4B9jGNDMtMfn Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gHtxpVvLNxTDnn + - req_wY4B9jGNDMtMfn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbWKuuB1fWySn1SDkiIMR", + "id": "pi_3P6h8CKuuB1fWySn10MMn2hm", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887958, + "created": 1713393548, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbWKuuB1fWySn1DE7VXEP", + "latest_charge": "ch_3P6h8CKuuB1fWySn129qcNTE", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbWKuuB1fWySn0Myw8SKC", + "payment_method": "pm_1P6h8CKuuB1fWySnn2XdeHK9", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:40 GMT + recorded_at: Wed, 17 Apr 2024 22:39:10 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml index ae3a9d381a..2796157516 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mZl2OsNjESAeja","request_duration_ms":1330}}' + - '{"last_request_metrics":{"request_id":"req_XU3WFVYNTliEXC","request_duration_ms":1021}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:10 GMT + - Wed, 17 Apr 2024 22:39:35 GMT Content-Type: - application/json Content-Length: - - '957' + - '993' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3032bd9e-9de8-4399-aecc-ee42c70278ac + - 357da29a-e2b7-43cc-bd9e-161b9d520bdc Original-Request: - - req_GTlmbVS31LcLIk + - req_7UNFeEXr46vI6L Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GTlmbVS31LcLIk + - req_7UNFeEXr46vI6L Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Zc2KuuB1fWySnhhtbh2uk", + "id": "pm_1P6h8dKuuB1fWySnhCOEVBGj", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887990, + "created": 1713393575, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:10 GMT + recorded_at: Wed, 17 Apr 2024 22:39:35 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Zc2KuuB1fWySnhhtbh2uk&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8dKuuB1fWySnhCOEVBGj&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GTlmbVS31LcLIk","request_duration_ms":694}}' + - '{"last_request_metrics":{"request_id":"req_7UNFeEXr46vI6L","request_duration_ms":548}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:11 GMT + - Wed, 17 Apr 2024 22:39:36 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b6db1ffa-c2d1-477c-97aa-902c746814e7 + - 4bdc362a-568f-46e0-8bf5-ead8998c4194 Original-Request: - - req_sp0hhFw0PM0m0W + - req_rRa1jvM4JlQWMg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sp0hhFw0PM0m0W + - req_rRa1jvM4JlQWMg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zc2KuuB1fWySn1pHl8nM7", + "id": "pi_3P6h8eKuuB1fWySn1b9CxAKe", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887990, + "created": 1713393576, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zc2KuuB1fWySnhhtbh2uk", + "payment_method": "pm_1P6h8dKuuB1fWySnhCOEVBGj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:11 GMT + recorded_at: Wed, 17 Apr 2024 22:39:36 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zc2KuuB1fWySn1pHl8nM7/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8eKuuB1fWySn1b9CxAKe/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sp0hhFw0PM0m0W","request_duration_ms":597}}' + - '{"last_request_metrics":{"request_id":"req_rRa1jvM4JlQWMg","request_duration_ms":510}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:12 GMT + - Wed, 17 Apr 2024 22:39:37 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 13294aac-015e-4fc0-a313-d7e4d84077e6 + - a9d0ea38-5bed-4c67-a252-966681874216 Original-Request: - - req_EfPSlz0SYQS5Ru + - req_ENWSMHqZcGMWpK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_EfPSlz0SYQS5Ru + - req_ENWSMHqZcGMWpK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zc2KuuB1fWySn1pHl8nM7", + "id": "pi_3P6h8eKuuB1fWySn1b9CxAKe", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887990, + "created": 1713393576, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zc2KuuB1fWySn1Jc1MkYq", + "latest_charge": "ch_3P6h8eKuuB1fWySn1YNttyDS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zc2KuuB1fWySnhhtbh2uk", + "payment_method": "pm_1P6h8dKuuB1fWySnhCOEVBGj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:12 GMT + recorded_at: Wed, 17 Apr 2024 22:39:37 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zc2KuuB1fWySn1pHl8nM7 + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8eKuuB1fWySn1b9CxAKe body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EfPSlz0SYQS5Ru","request_duration_ms":1252}}' + - '{"last_request_metrics":{"request_id":"req_ENWSMHqZcGMWpK","request_duration_ms":1021}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:12 GMT + - Wed, 17 Apr 2024 22:39:37 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_9Gf7cYBFtJ0b53 + - req_gZ7FYVaBhGNqpm Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zc2KuuB1fWySn1pHl8nM7", + "id": "pi_3P6h8eKuuB1fWySn1b9CxAKe", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887990, + "created": 1713393576, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zc2KuuB1fWySn1Jc1MkYq", + "latest_charge": "ch_3P6h8eKuuB1fWySn1YNttyDS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zc2KuuB1fWySnhhtbh2uk", + "payment_method": "pm_1P6h8dKuuB1fWySnhCOEVBGj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:12 GMT + recorded_at: Wed, 17 Apr 2024 22:39:37 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zc2KuuB1fWySn1pHl8nM7/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8eKuuB1fWySn1b9CxAKe/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9Gf7cYBFtJ0b53","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_gZ7FYVaBhGNqpm","request_duration_ms":406}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:14 GMT + - Wed, 17 Apr 2024 22:39:38 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 18fa46a2-6b71-47f6-aeb7-f2da291919a1 + - 285699b9-4dbc-4957-9c63-1e566b6cc8ee Original-Request: - - req_P5M4wA3mE711oW + - req_x019kO3n2Z4x3w Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_P5M4wA3mE711oW + - req_x019kO3n2Z4x3w Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zc2KuuB1fWySn1pHl8nM7", + "id": "pi_3P6h8eKuuB1fWySn1b9CxAKe", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887990, + "created": 1713393576, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zc2KuuB1fWySn1Jc1MkYq", + "latest_charge": "ch_3P6h8eKuuB1fWySn1YNttyDS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zc2KuuB1fWySnhhtbh2uk", + "payment_method": "pm_1P6h8dKuuB1fWySnhCOEVBGj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:14 GMT + recorded_at: Wed, 17 Apr 2024 22:39:38 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zc2KuuB1fWySn1pHl8nM7 + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8eKuuB1fWySn1b9CxAKe body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_P5M4wA3mE711oW","request_duration_ms":1335}}' + - '{"last_request_metrics":{"request_id":"req_x019kO3n2Z4x3w","request_duration_ms":1021}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:14 GMT + - Wed, 17 Apr 2024 22:39:39 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3yokmPARNPwzYX + - req_e3is6LFByX27Sh Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zc2KuuB1fWySn1pHl8nM7", + "id": "pi_3P6h8eKuuB1fWySn1b9CxAKe", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887990, + "created": 1713393576, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zc2KuuB1fWySn1Jc1MkYq", + "latest_charge": "ch_3P6h8eKuuB1fWySn1YNttyDS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zc2KuuB1fWySnhhtbh2uk", + "payment_method": "pm_1P6h8dKuuB1fWySnhCOEVBGj", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:14 GMT + recorded_at: Wed, 17 Apr 2024 22:39:39 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml index 6fc8b8a916..a8f2b95f22 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_JCB/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JGVcKD6GYpDMhA","request_duration_ms":568}}' + - '{"last_request_metrics":{"request_id":"req_hfwFTTxVfnyp1F","request_duration_ms":407}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:07 GMT + - Wed, 17 Apr 2024 22:39:33 GMT Content-Type: - application/json Content-Length: - - '957' + - '993' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9251c328-f1a4-4aa6-bd1b-52b3f8ff4833 + - ec6ae87e-5372-4823-a3c1-048be735cbe9 Original-Request: - - req_dN2z52HZxCyrb1 + - req_o3NQREyRyHqUeQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dN2z52HZxCyrb1 + - req_o3NQREyRyHqUeQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbzKuuB1fWySnToP8l6ka", + "id": "pm_1P6h8bKuuB1fWySnV3EVs9rr", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887987, + "created": 1713393573, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:07 GMT + recorded_at: Wed, 17 Apr 2024 22:39:33 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbzKuuB1fWySnToP8l6ka&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8bKuuB1fWySnV3EVs9rr&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dN2z52HZxCyrb1","request_duration_ms":707}}' + - '{"last_request_metrics":{"request_id":"req_o3NQREyRyHqUeQ","request_duration_ms":470}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:08 GMT + - Wed, 17 Apr 2024 22:39:33 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 350ef265-5071-477c-ac69-5898b7b428e6 + - 7d15d187-e69f-4492-a8e7-5ab0af825e8f Original-Request: - - req_sYE9a1v0sapTtr + - req_5XJ8dCbnt9VCWt Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_sYE9a1v0sapTtr + - req_5XJ8dCbnt9VCWt Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zc0KuuB1fWySn2xvCb6V3", + "id": "pi_3P6h8bKuuB1fWySn2iWXlsFV", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887988, + "created": 1713393573, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbzKuuB1fWySnToP8l6ka", + "payment_method": "pm_1P6h8bKuuB1fWySnV3EVs9rr", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:08 GMT + recorded_at: Wed, 17 Apr 2024 22:39:34 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zc0KuuB1fWySn2xvCb6V3/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8bKuuB1fWySn2iWXlsFV/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sYE9a1v0sapTtr","request_duration_ms":628}}' + - '{"last_request_metrics":{"request_id":"req_5XJ8dCbnt9VCWt","request_duration_ms":510}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:09 GMT + - Wed, 17 Apr 2024 22:39:34 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a2d2edf0-37df-420c-ba1c-11565a0a6c93 + - b3de6aaa-c28c-4574-bed6-bf885213bcc1 Original-Request: - - req_mZl2OsNjESAeja + - req_XU3WFVYNTliEXC Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mZl2OsNjESAeja + - req_XU3WFVYNTliEXC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zc0KuuB1fWySn2xvCb6V3", + "id": "pi_3P6h8bKuuB1fWySn2iWXlsFV", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887988, + "created": 1713393573, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zc0KuuB1fWySn2Z0ndaUv", + "latest_charge": "ch_3P6h8bKuuB1fWySn2ZYaHWqC", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbzKuuB1fWySnToP8l6ka", + "payment_method": "pm_1P6h8bKuuB1fWySnV3EVs9rr", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:09 GMT + recorded_at: Wed, 17 Apr 2024 22:39:35 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml index f81b278784..f815907d41 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wYHhiSRCkeo6Us","request_duration_ms":1090}}' + - '{"last_request_metrics":{"request_id":"req_g8fpJ3tSDgxYPQ","request_duration_ms":1020}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:03 GMT + - Wed, 17 Apr 2024 22:38:31 GMT Content-Type: - application/json Content-Length: - - '978' + - '1014' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 39d9a8f8-ee3a-4967-ae5f-2145a2e5d6b4 + - e21b93d0-027e-44c7-98c8-ea1baa84af7f Original-Request: - - req_GfMqvXjMYLpr0i + - req_OzvqmGMnvaWaBl Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GfMqvXjMYLpr0i + - req_OzvqmGMnvaWaBl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaxKuuB1fWySnqxdZKlQS", + "id": "pm_1P6h7bKuuB1fWySnmKTufvU0", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887923, + "created": 1713393511, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:03 GMT + recorded_at: Wed, 17 Apr 2024 22:38:32 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZaxKuuB1fWySnqxdZKlQS&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7bKuuB1fWySnmKTufvU0&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GfMqvXjMYLpr0i","request_duration_ms":485}}' + - '{"last_request_metrics":{"request_id":"req_OzvqmGMnvaWaBl","request_duration_ms":560}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:03 GMT + - Wed, 17 Apr 2024 22:38:32 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5e1857d3-83b0-4dce-bf7d-eddf542a0503 + - 4a1f364f-085d-4591-8d13-696b5b052464 Original-Request: - - req_1HA8502Ojv2gPg + - req_5I1uIn6AbfwyeA Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1HA8502Ojv2gPg + - req_5I1uIn6AbfwyeA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZaxKuuB1fWySn1AplAeXS", + "id": "pi_3P6h7cKuuB1fWySn2TjKl4Mh", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887923, + "created": 1713393512, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZaxKuuB1fWySnqxdZKlQS", + "payment_method": "pm_1P6h7bKuuB1fWySnmKTufvU0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:03 GMT + recorded_at: Wed, 17 Apr 2024 22:38:32 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZaxKuuB1fWySn1AplAeXS/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7cKuuB1fWySn2TjKl4Mh/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1HA8502Ojv2gPg","request_duration_ms":451}}' + - '{"last_request_metrics":{"request_id":"req_5I1uIn6AbfwyeA","request_duration_ms":508}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:04 GMT + - Wed, 17 Apr 2024 22:38:33 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2305c8b4-df44-4633-a378-a920d09d5b9f + - 6711bdc3-7014-4a10-92c5-4e6297b59d90 Original-Request: - - req_8hTprorfaCQVsh + - req_qGBXUK9Cyg5bMl Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8hTprorfaCQVsh + - req_qGBXUK9Cyg5bMl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZaxKuuB1fWySn1AplAeXS", + "id": "pi_3P6h7cKuuB1fWySn2TjKl4Mh", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887923, + "created": 1713393512, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZaxKuuB1fWySn1IRX355Q", + "latest_charge": "ch_3P6h7cKuuB1fWySn2UMZdoWi", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZaxKuuB1fWySnqxdZKlQS", + "payment_method": "pm_1P6h7bKuuB1fWySnmKTufvU0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:04 GMT + recorded_at: Wed, 17 Apr 2024 22:38:33 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZaxKuuB1fWySn1AplAeXS + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7cKuuB1fWySn2TjKl4Mh body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8hTprorfaCQVsh","request_duration_ms":894}}' + - '{"last_request_metrics":{"request_id":"req_qGBXUK9Cyg5bMl","request_duration_ms":1021}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:05 GMT + - Wed, 17 Apr 2024 22:38:33 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_dXDiubYYe2UXi1 + - req_c0GSQTvUz0RucZ Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZaxKuuB1fWySn1AplAeXS", + "id": "pi_3P6h7cKuuB1fWySn2TjKl4Mh", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887923, + "created": 1713393512, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZaxKuuB1fWySn1IRX355Q", + "latest_charge": "ch_3P6h7cKuuB1fWySn2UMZdoWi", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZaxKuuB1fWySnqxdZKlQS", + "payment_method": "pm_1P6h7bKuuB1fWySnmKTufvU0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:05 GMT + recorded_at: Wed, 17 Apr 2024 22:38:33 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZaxKuuB1fWySn1AplAeXS/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7cKuuB1fWySn2TjKl4Mh/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dXDiubYYe2UXi1","request_duration_ms":385}}' + - '{"last_request_metrics":{"request_id":"req_c0GSQTvUz0RucZ","request_duration_ms":406}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:06 GMT + - Wed, 17 Apr 2024 22:38:34 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cf0e242e-596a-49dd-b1ea-883c4917c9ed + - 199b836c-b997-4ce4-a40d-41f209ab3e9b Original-Request: - - req_ozuUFGX8fC7isx + - req_qxbgYtm9mjH1jt Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ozuUFGX8fC7isx + - req_qxbgYtm9mjH1jt Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZaxKuuB1fWySn1AplAeXS", + "id": "pi_3P6h7cKuuB1fWySn2TjKl4Mh", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887923, + "created": 1713393512, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZaxKuuB1fWySn1IRX355Q", + "latest_charge": "ch_3P6h7cKuuB1fWySn2UMZdoWi", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZaxKuuB1fWySnqxdZKlQS", + "payment_method": "pm_1P6h7bKuuB1fWySnmKTufvU0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:06 GMT + recorded_at: Wed, 17 Apr 2024 22:38:35 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZaxKuuB1fWySn1AplAeXS + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7cKuuB1fWySn2TjKl4Mh body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ozuUFGX8fC7isx","request_duration_ms":1031}}' + - '{"last_request_metrics":{"request_id":"req_qxbgYtm9mjH1jt","request_duration_ms":1056}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:06 GMT + - Wed, 17 Apr 2024 22:38:35 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_4FaXvVsfJheIN9 + - req_1TBVTn0lfprC7a Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZaxKuuB1fWySn1AplAeXS", + "id": "pi_3P6h7cKuuB1fWySn2TjKl4Mh", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887923, + "created": 1713393512, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZaxKuuB1fWySn1IRX355Q", + "latest_charge": "ch_3P6h7cKuuB1fWySn2UMZdoWi", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZaxKuuB1fWySnqxdZKlQS", + "payment_method": "pm_1P6h7bKuuB1fWySnmKTufvU0", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:06 GMT + recorded_at: Wed, 17 Apr 2024 22:38:35 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml index d5447bd83b..956a3491aa 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6BUIzaf9frDFgq","request_duration_ms":413}}' + - '{"last_request_metrics":{"request_id":"req_VCkHzjjHMXrfND","request_duration_ms":405}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:01 GMT + - Wed, 17 Apr 2024 22:38:29 GMT Content-Type: - application/json Content-Length: - - '978' + - '1014' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8066b0fa-d460-49d3-bf6e-da07e8c5b0e3 + - 637171ff-19eb-48b9-8401-d23a8f9e5214 Original-Request: - - req_YZMJhXbtfPrJ37 + - req_McZwC6YjxsbAEP Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_YZMJhXbtfPrJ37 + - req_McZwC6YjxsbAEP Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZauKuuB1fWySnIxDpOKOl", + "id": "pm_1P6h7ZKuuB1fWySnxHBASqdf", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887921, + "created": 1713393509, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:01 GMT + recorded_at: Wed, 17 Apr 2024 22:38:29 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZauKuuB1fWySnIxDpOKOl&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7ZKuuB1fWySnxHBASqdf&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YZMJhXbtfPrJ37","request_duration_ms":475}}' + - '{"last_request_metrics":{"request_id":"req_McZwC6YjxsbAEP","request_duration_ms":493}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:01 GMT + - Wed, 17 Apr 2024 22:38:30 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 69a5c843-1dfa-4692-b915-eb8deb5a6144 + - 5a404a67-bdd7-4648-bbf3-e6fa3647c924 Original-Request: - - req_SLwRojsZTQ26xl + - req_NgaDMPUptcH1lw Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SLwRojsZTQ26xl + - req_NgaDMPUptcH1lw Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZavKuuB1fWySn0A0ROE2R", + "id": "pi_3P6h7ZKuuB1fWySn0Epjo3Ys", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887921, + "created": 1713393509, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZauKuuB1fWySnIxDpOKOl", + "payment_method": "pm_1P6h7ZKuuB1fWySnxHBASqdf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:01 GMT + recorded_at: Wed, 17 Apr 2024 22:38:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZavKuuB1fWySn0A0ROE2R/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7ZKuuB1fWySn0Epjo3Ys/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SLwRojsZTQ26xl","request_duration_ms":442}}' + - '{"last_request_metrics":{"request_id":"req_NgaDMPUptcH1lw","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:02 GMT + - Wed, 17 Apr 2024 22:38:31 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 630c6875-7128-4da7-9ba9-0c7a1351ada0 + - ddbf9dc3-4691-49dd-82d6-15ce020d7ac7 Original-Request: - - req_wYHhiSRCkeo6Us + - req_g8fpJ3tSDgxYPQ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wYHhiSRCkeo6Us + - req_g8fpJ3tSDgxYPQ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZavKuuB1fWySn0A0ROE2R", + "id": "pi_3P6h7ZKuuB1fWySn0Epjo3Ys", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887921, + "created": 1713393509, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZavKuuB1fWySn0DMfOd2G", + "latest_charge": "ch_3P6h7ZKuuB1fWySn09Ti3WUV", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZauKuuB1fWySnIxDpOKOl", + "payment_method": "pm_1P6h7ZKuuB1fWySnxHBASqdf", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:02 GMT + recorded_at: Wed, 17 Apr 2024 22:38:31 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml index 8569077f8b..90cd0b7c64 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZOh73I9LmmAAP1","request_duration_ms":994}}' + - '{"last_request_metrics":{"request_id":"req_Baoct8gPfc5IXe","request_duration_ms":1124}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:09 GMT + - Wed, 17 Apr 2024 22:38:38 GMT Content-Type: - application/json Content-Length: - - '978' + - '1014' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e615ce5b-cace-40ef-90a2-7c5639039e56 + - 155ba9ef-7af4-4b55-a1b0-b28a42a43a4a Original-Request: - - req_b2MksB5J3UsVEO + - req_aitA9tdDrHSICN Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_b2MksB5J3UsVEO + - req_aitA9tdDrHSICN Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Zb2KuuB1fWySn2XIoz1v6", + "id": "pm_1P6h7iKuuB1fWySnJyTtWbWH", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887929, + "created": 1713393518, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:09 GMT + recorded_at: Wed, 17 Apr 2024 22:38:38 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Zb2KuuB1fWySn2XIoz1v6&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7iKuuB1fWySnJyTtWbWH&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_b2MksB5J3UsVEO","request_duration_ms":547}}' + - '{"last_request_metrics":{"request_id":"req_aitA9tdDrHSICN","request_duration_ms":460}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:09 GMT + - Wed, 17 Apr 2024 22:38:38 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d7cf6532-3634-43cb-9c1f-7f61b4f35bda + - 5984f7d2-a8b3-4223-86db-64603fb29ca5 Original-Request: - - req_nXH4If9wMiYTZ7 + - req_AYqcfGX1gF01Lp Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nXH4If9wMiYTZ7 + - req_AYqcfGX1gF01Lp Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb3KuuB1fWySn0vNQ7xDj", + "id": "pi_3P6h7iKuuB1fWySn085HPtaw", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887929, + "created": 1713393518, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb2KuuB1fWySn2XIoz1v6", + "payment_method": "pm_1P6h7iKuuB1fWySnJyTtWbWH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:09 GMT + recorded_at: Wed, 17 Apr 2024 22:38:39 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb3KuuB1fWySn0vNQ7xDj/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7iKuuB1fWySn085HPtaw/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nXH4If9wMiYTZ7","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_AYqcfGX1gF01Lp","request_duration_ms":508}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:10 GMT + - Wed, 17 Apr 2024 22:38:40 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e625145e-40b7-4dc5-b43d-199a0aa51840 + - c4e41b64-9dbb-4b18-9126-05c223d27f1b Original-Request: - - req_8pvbiWmk0zEKeY + - req_tN8OhC5SoBlYkK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_8pvbiWmk0zEKeY + - req_tN8OhC5SoBlYkK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb3KuuB1fWySn0vNQ7xDj", + "id": "pi_3P6h7iKuuB1fWySn085HPtaw", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887929, + "created": 1713393518, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zb3KuuB1fWySn0aZFeSXj", + "latest_charge": "ch_3P6h7iKuuB1fWySn0z4PW3rG", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb2KuuB1fWySn2XIoz1v6", + "payment_method": "pm_1P6h7iKuuB1fWySnJyTtWbWH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:10 GMT + recorded_at: Wed, 17 Apr 2024 22:38:40 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb3KuuB1fWySn0vNQ7xDj + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7iKuuB1fWySn085HPtaw body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8pvbiWmk0zEKeY","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_tN8OhC5SoBlYkK","request_duration_ms":996}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:11 GMT + - Wed, 17 Apr 2024 22:38:40 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kGK2PCft7zj3v9 + - req_hYHnMmN9ZeEqzM Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb3KuuB1fWySn0vNQ7xDj", + "id": "pi_3P6h7iKuuB1fWySn085HPtaw", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887929, + "created": 1713393518, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zb3KuuB1fWySn0aZFeSXj", + "latest_charge": "ch_3P6h7iKuuB1fWySn0z4PW3rG", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb2KuuB1fWySn2XIoz1v6", + "payment_method": "pm_1P6h7iKuuB1fWySnJyTtWbWH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:11 GMT + recorded_at: Wed, 17 Apr 2024 22:38:40 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb3KuuB1fWySn0vNQ7xDj/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7iKuuB1fWySn085HPtaw/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kGK2PCft7zj3v9","request_duration_ms":405}}' + - '{"last_request_metrics":{"request_id":"req_hYHnMmN9ZeEqzM","request_duration_ms":433}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:12 GMT + - Wed, 17 Apr 2024 22:38:41 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a9dcf433-f31a-4e07-b2ff-c1882f23ac9b + - fae3960c-ce41-4337-ba82-f2c6b537376d Original-Request: - - req_Vzh0yEqXJACpPg + - req_fjJzgMgYlPR4DL Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Vzh0yEqXJACpPg + - req_fjJzgMgYlPR4DL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb3KuuB1fWySn0vNQ7xDj", + "id": "pi_3P6h7iKuuB1fWySn085HPtaw", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887929, + "created": 1713393518, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zb3KuuB1fWySn0aZFeSXj", + "latest_charge": "ch_3P6h7iKuuB1fWySn0z4PW3rG", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb2KuuB1fWySn2XIoz1v6", + "payment_method": "pm_1P6h7iKuuB1fWySnJyTtWbWH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:12 GMT + recorded_at: Wed, 17 Apr 2024 22:38:41 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb3KuuB1fWySn0vNQ7xDj + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7iKuuB1fWySn085HPtaw body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Vzh0yEqXJACpPg","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_fjJzgMgYlPR4DL","request_duration_ms":1022}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:12 GMT + - Wed, 17 Apr 2024 22:38:41 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rSnOOki7vgNiTY + - req_0gpLm2PRfuTefq Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb3KuuB1fWySn0vNQ7xDj", + "id": "pi_3P6h7iKuuB1fWySn085HPtaw", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887929, + "created": 1713393518, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zb3KuuB1fWySn0aZFeSXj", + "latest_charge": "ch_3P6h7iKuuB1fWySn0z4PW3rG", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb2KuuB1fWySn2XIoz1v6", + "payment_method": "pm_1P6h7iKuuB1fWySnJyTtWbWH", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:12 GMT + recorded_at: Wed, 17 Apr 2024 22:38:41 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml index 5ba6440f77..5f0eba6cd9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_2-series_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4FaXvVsfJheIN9","request_duration_ms":398}}' + - '{"last_request_metrics":{"request_id":"req_1TBVTn0lfprC7a","request_duration_ms":372}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:07 GMT + - Wed, 17 Apr 2024 22:38:35 GMT Content-Type: - application/json Content-Length: - - '978' + - '1014' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b9e7e4f0-7051-4c3e-92bf-ddb342465f24 + - 58b3dc0d-d859-4aec-ad64-81fd829057f5 Original-Request: - - req_P5KTMaxl2ffofK + - req_TVHZ0jBYHD52eU Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_P5KTMaxl2ffofK + - req_TVHZ0jBYHD52eU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Zb0KuuB1fWySnFCPxEO1I", + "id": "pm_1P6h7fKuuB1fWySnznMVKuJP", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887926, + "created": 1713393515, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:07 GMT + recorded_at: Wed, 17 Apr 2024 22:38:35 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Zb0KuuB1fWySnFCPxEO1I&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7fKuuB1fWySnznMVKuJP&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_P5KTMaxl2ffofK","request_duration_ms":495}}' + - '{"last_request_metrics":{"request_id":"req_TVHZ0jBYHD52eU","request_duration_ms":573}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:07 GMT + - Wed, 17 Apr 2024 22:38:36 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 548cbbfb-7106-4780-8b21-b8efc94428fc + - 88b2ff41-8267-4e23-976e-14bef7f4dec3 Original-Request: - - req_eYf75t5DnOzxgt + - req_9lxpOGazNVrrTb Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_eYf75t5DnOzxgt + - req_9lxpOGazNVrrTb Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb1KuuB1fWySn1CRoIwFz", + "id": "pi_3P6h7gKuuB1fWySn1X1xIIbG", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887927, + "created": 1713393516, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb0KuuB1fWySnFCPxEO1I", + "payment_method": "pm_1P6h7fKuuB1fWySnznMVKuJP", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:07 GMT + recorded_at: Wed, 17 Apr 2024 22:38:36 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb1KuuB1fWySn1CRoIwFz/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7gKuuB1fWySn1X1xIIbG/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eYf75t5DnOzxgt","request_duration_ms":433}}' + - '{"last_request_metrics":{"request_id":"req_9lxpOGazNVrrTb","request_duration_ms":815}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:08 GMT + - Wed, 17 Apr 2024 22:38:37 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 4b5b2718-32be-4810-8e08-ec2576e34eec + - a577ba88-3c2d-4ba6-8a69-812963a05746 Original-Request: - - req_ZOh73I9LmmAAP1 + - req_Baoct8gPfc5IXe Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZOh73I9LmmAAP1 + - req_Baoct8gPfc5IXe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb1KuuB1fWySn1CRoIwFz", + "id": "pi_3P6h7gKuuB1fWySn1X1xIIbG", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887927, + "created": 1713393516, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zb1KuuB1fWySn1NMqejwL", + "latest_charge": "ch_3P6h7gKuuB1fWySn1yt01OWS", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb0KuuB1fWySnFCPxEO1I", + "payment_method": "pm_1P6h7fKuuB1fWySnznMVKuJP", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:08 GMT + recorded_at: Wed, 17 Apr 2024 22:38:37 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml index 07bded0459..41427c758b 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lbGaRjUNbeYr9r","request_duration_ms":966}}' + - '{"last_request_metrics":{"request_id":"req_u0ATTx9OcSqYEk","request_duration_ms":1023}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:15 GMT + - Wed, 17 Apr 2024 22:38:44 GMT Content-Type: - application/json Content-Length: - - '977' + - '1013' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e2188b89-b3f2-44d4-9c9d-6e83496df35a + - ea370f42-3dc3-4315-af92-6232ea741f11 Original-Request: - - req_SYAPsUd6uuvjJV + - req_z2IxgLmQP4XsOi Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SYAPsUd6uuvjJV + - req_z2IxgLmQP4XsOi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Zb8KuuB1fWySnv4ULJNjv", + "id": "pm_1P6h7oKuuB1fWySnyFTNOWm1", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887935, + "created": 1713393524, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:15 GMT + recorded_at: Wed, 17 Apr 2024 22:38:44 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Zb8KuuB1fWySnv4ULJNjv&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7oKuuB1fWySnyFTNOWm1&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SYAPsUd6uuvjJV","request_duration_ms":545}}' + - '{"last_request_metrics":{"request_id":"req_z2IxgLmQP4XsOi","request_duration_ms":509}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:15 GMT + - Wed, 17 Apr 2024 22:38:45 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f3baad95-02ee-429c-9476-5d761435ff19 + - c43a598b-483e-40fb-9c30-350c1995da11 Original-Request: - - req_vLmcrB2R7kOJXy + - req_KaAaukm0qPOKiL Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_vLmcrB2R7kOJXy + - req_KaAaukm0qPOKiL Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb9KuuB1fWySn0BVOVvvF", + "id": "pi_3P6h7oKuuB1fWySn1is54UOr", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887935, + "created": 1713393524, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb8KuuB1fWySnv4ULJNjv", + "payment_method": "pm_1P6h7oKuuB1fWySnyFTNOWm1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:15 GMT + recorded_at: Wed, 17 Apr 2024 22:38:45 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb9KuuB1fWySn0BVOVvvF/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7oKuuB1fWySn1is54UOr/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vLmcrB2R7kOJXy","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_KaAaukm0qPOKiL","request_duration_ms":508}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:16 GMT + - Wed, 17 Apr 2024 22:38:46 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 81ec96d1-f5e5-4101-9881-95ef0e11d050 + - 20e1d8fd-31b7-4db5-b920-727c6ec8e1a5 Original-Request: - - req_GgGHOqPsNOBFXl + - req_4fRJWIkacIhtYr Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_GgGHOqPsNOBFXl + - req_4fRJWIkacIhtYr Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb9KuuB1fWySn0BVOVvvF", + "id": "pi_3P6h7oKuuB1fWySn1is54UOr", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887935, + "created": 1713393524, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zb9KuuB1fWySn0ekW6quB", + "latest_charge": "ch_3P6h7oKuuB1fWySn1Lmj8fEo", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb8KuuB1fWySnv4ULJNjv", + "payment_method": "pm_1P6h7oKuuB1fWySnyFTNOWm1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:16 GMT + recorded_at: Wed, 17 Apr 2024 22:38:46 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb9KuuB1fWySn0BVOVvvF + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7oKuuB1fWySn1is54UOr body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GgGHOqPsNOBFXl","request_duration_ms":1125}}' + - '{"last_request_metrics":{"request_id":"req_4fRJWIkacIhtYr","request_duration_ms":1023}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:17 GMT + - Wed, 17 Apr 2024 22:38:46 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1XjOIPufK8iOHf + - req_lRsRRyRRsiSjey Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb9KuuB1fWySn0BVOVvvF", + "id": "pi_3P6h7oKuuB1fWySn1is54UOr", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887935, + "created": 1713393524, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zb9KuuB1fWySn0ekW6quB", + "latest_charge": "ch_3P6h7oKuuB1fWySn1Lmj8fEo", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb8KuuB1fWySnv4ULJNjv", + "payment_method": "pm_1P6h7oKuuB1fWySnyFTNOWm1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:17 GMT + recorded_at: Wed, 17 Apr 2024 22:38:46 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb9KuuB1fWySn0BVOVvvF/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7oKuuB1fWySn1is54UOr/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1XjOIPufK8iOHf","request_duration_ms":345}}' + - '{"last_request_metrics":{"request_id":"req_lRsRRyRRsiSjey","request_duration_ms":408}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:18 GMT + - Wed, 17 Apr 2024 22:38:47 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - a0697aab-d7e5-4041-b841-25fa494c809d + - 15695f82-de91-43c9-9f1b-3f2df3c316e3 Original-Request: - - req_wPAqv0qSnrgCGq + - req_xMpudJ6IknmEGY Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_wPAqv0qSnrgCGq + - req_xMpudJ6IknmEGY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb9KuuB1fWySn0BVOVvvF", + "id": "pi_3P6h7oKuuB1fWySn1is54UOr", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887935, + "created": 1713393524, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zb9KuuB1fWySn0ekW6quB", + "latest_charge": "ch_3P6h7oKuuB1fWySn1Lmj8fEo", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb8KuuB1fWySnv4ULJNjv", + "payment_method": "pm_1P6h7oKuuB1fWySnyFTNOWm1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:18 GMT + recorded_at: Wed, 17 Apr 2024 22:38:47 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb9KuuB1fWySn0BVOVvvF + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7oKuuB1fWySn1is54UOr body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wPAqv0qSnrgCGq","request_duration_ms":997}}' + - '{"last_request_metrics":{"request_id":"req_xMpudJ6IknmEGY","request_duration_ms":1125}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:18 GMT + - Wed, 17 Apr 2024 22:38:48 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KUws5Img2K7kGM + - req_v6DoSIIwC27Nmc Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb9KuuB1fWySn0BVOVvvF", + "id": "pi_3P6h7oKuuB1fWySn1is54UOr", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887935, + "created": 1713393524, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zb9KuuB1fWySn0ekW6quB", + "latest_charge": "ch_3P6h7oKuuB1fWySn1Lmj8fEo", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb8KuuB1fWySnv4ULJNjv", + "payment_method": "pm_1P6h7oKuuB1fWySnyFTNOWm1", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:18 GMT + recorded_at: Wed, 17 Apr 2024 22:38:48 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml index ea9c05e9a6..ce059551c7 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rSnOOki7vgNiTY","request_duration_ms":336}}' + - '{"last_request_metrics":{"request_id":"req_0gpLm2PRfuTefq","request_duration_ms":408}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:13 GMT + - Wed, 17 Apr 2024 22:38:42 GMT Content-Type: - application/json Content-Length: - - '977' + - '1013' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 49e9eef9-e600-48f9-ae84-f1442353fedb + - e64e2cc4-76f2-4cd4-9918-a015bd58e3a9 Original-Request: - - req_im6CHkrw1k7jpW + - req_Ol9XydrU5YLSvA Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_im6CHkrw1k7jpW + - req_Ol9XydrU5YLSvA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Zb6KuuB1fWySn6ZK5EEJm", + "id": "pm_1P6h7mKuuB1fWySndBLUaRTW", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887932, + "created": 1713393522, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:13 GMT + recorded_at: Wed, 17 Apr 2024 22:38:42 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Zb6KuuB1fWySn6ZK5EEJm&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7mKuuB1fWySndBLUaRTW&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_im6CHkrw1k7jpW","request_duration_ms":539}}' + - '{"last_request_metrics":{"request_id":"req_Ol9XydrU5YLSvA","request_duration_ms":491}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:13 GMT + - Wed, 17 Apr 2024 22:38:42 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7b24db36-76a1-40c0-8b09-4bd0a76555cd + - a4e96058-ee65-4eb9-a91c-13b93abb4871 Original-Request: - - req_JLr2KWNz254hGw + - req_za8Lt2fdNu3nL4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JLr2KWNz254hGw + - req_za8Lt2fdNu3nL4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb7KuuB1fWySn1pzw7GKS", + "id": "pi_3P6h7mKuuB1fWySn0LrIvmS2", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887933, + "created": 1713393522, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb6KuuB1fWySn6ZK5EEJm", + "payment_method": "pm_1P6h7mKuuB1fWySndBLUaRTW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:13 GMT + recorded_at: Wed, 17 Apr 2024 22:38:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zb7KuuB1fWySn1pzw7GKS/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7mKuuB1fWySn0LrIvmS2/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JLr2KWNz254hGw","request_duration_ms":462}}' + - '{"last_request_metrics":{"request_id":"req_za8Lt2fdNu3nL4","request_duration_ms":507}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:14 GMT + - Wed, 17 Apr 2024 22:38:43 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - f9d2bf73-e236-4931-ada2-80c6d09ebdfd + - bf9ffa33-9c08-43b9-ac00-94b218b14498 Original-Request: - - req_lbGaRjUNbeYr9r + - req_u0ATTx9OcSqYEk Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lbGaRjUNbeYr9r + - req_u0ATTx9OcSqYEk Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zb7KuuB1fWySn1pzw7GKS", + "id": "pi_3P6h7mKuuB1fWySn0LrIvmS2", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887933, + "created": 1713393522, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zb7KuuB1fWySn1juGugUX", + "latest_charge": "ch_3P6h7mKuuB1fWySn0hGVmP6d", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zb6KuuB1fWySn6ZK5EEJm", + "payment_method": "pm_1P6h7mKuuB1fWySndBLUaRTW", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:14 GMT + recorded_at: Wed, 17 Apr 2024 22:38:43 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml index 45b9d550e6..e4ef2a590f 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Il81ZtaLDOmARw","request_duration_ms":1004}}' + - '{"last_request_metrics":{"request_id":"req_HOGc3LwxQ8bbGA","request_duration_ms":1148}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:21 GMT + - Wed, 17 Apr 2024 22:38:50 GMT Content-Type: - application/json Content-Length: - - '979' + - '1015' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - b1f2838f-0fd8-483d-803a-f25c369a4bda + - 1fe1438c-841f-4f5e-a299-2fabc1d46ecf Original-Request: - - req_z48T1wSZTWB8yV + - req_1vVVBpVly5LReT Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_z48T1wSZTWB8yV + - req_1vVVBpVly5LReT Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbEKuuB1fWySnFQEAGkJj", + "id": "pm_1P6h7uKuuB1fWySnWpeF7LMi", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887940, + "created": 1713393530, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:21 GMT + recorded_at: Wed, 17 Apr 2024 22:38:51 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbEKuuB1fWySnFQEAGkJj&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7uKuuB1fWySnWpeF7LMi&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_z48T1wSZTWB8yV","request_duration_ms":481}}' + - '{"last_request_metrics":{"request_id":"req_1vVVBpVly5LReT","request_duration_ms":550}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:21 GMT + - Wed, 17 Apr 2024 22:38:51 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 32abbe07-2e84-43e7-8ed2-eae1709c0cc0 + - 94e711e6-c607-4fc1-9392-21269895f6be Original-Request: - - req_ZiMEsUPJFGTWxe + - req_TpAtg2osej6eim Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZiMEsUPJFGTWxe + - req_TpAtg2osej6eim Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbFKuuB1fWySn1FP53VRS", + "id": "pi_3P6h7vKuuB1fWySn18JZEKhK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887941, + "created": 1713393531, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbEKuuB1fWySnFQEAGkJj", + "payment_method": "pm_1P6h7uKuuB1fWySnWpeF7LMi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:21 GMT + recorded_at: Wed, 17 Apr 2024 22:38:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbFKuuB1fWySn1FP53VRS/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7vKuuB1fWySn18JZEKhK/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZiMEsUPJFGTWxe","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_TpAtg2osej6eim","request_duration_ms":508}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:22 GMT + - Wed, 17 Apr 2024 22:38:52 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3783ede7-672a-440f-8d0c-feb1e4efb0c8 + - e452b479-3f40-4c93-a412-0030ea9331a4 Original-Request: - - req_coaN9KT5zbeNnC + - req_9qMGS66xdSElVa Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_coaN9KT5zbeNnC + - req_9qMGS66xdSElVa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbFKuuB1fWySn1FP53VRS", + "id": "pi_3P6h7vKuuB1fWySn18JZEKhK", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887941, + "created": 1713393531, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbFKuuB1fWySn1tMmNzKX", + "latest_charge": "ch_3P6h7vKuuB1fWySn17xjSwFI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbEKuuB1fWySnFQEAGkJj", + "payment_method": "pm_1P6h7uKuuB1fWySnWpeF7LMi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:22 GMT + recorded_at: Wed, 17 Apr 2024 22:38:52 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbFKuuB1fWySn1FP53VRS + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7vKuuB1fWySn18JZEKhK body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_coaN9KT5zbeNnC","request_duration_ms":922}}' + - '{"last_request_metrics":{"request_id":"req_9qMGS66xdSElVa","request_duration_ms":922}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:22 GMT + - Wed, 17 Apr 2024 22:38:52 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_BLW2M71RtjP41m + - req_SiW8OzK5f1KQ8y Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbFKuuB1fWySn1FP53VRS", + "id": "pi_3P6h7vKuuB1fWySn18JZEKhK", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887941, + "created": 1713393531, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbFKuuB1fWySn1tMmNzKX", + "latest_charge": "ch_3P6h7vKuuB1fWySn17xjSwFI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbEKuuB1fWySnFQEAGkJj", + "payment_method": "pm_1P6h7uKuuB1fWySnWpeF7LMi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:22 GMT + recorded_at: Wed, 17 Apr 2024 22:38:52 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbFKuuB1fWySn1FP53VRS/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7vKuuB1fWySn18JZEKhK/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BLW2M71RtjP41m","request_duration_ms":404}}' + - '{"last_request_metrics":{"request_id":"req_SiW8OzK5f1KQ8y","request_duration_ms":407}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:24 GMT + - Wed, 17 Apr 2024 22:38:53 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - cfe268f7-86a0-417f-9d3b-42f2482a521f + - 6f7efa79-439f-4d6c-9dce-28aa175753a2 Original-Request: - - req_m5y2Ky5Zfb7DGi + - req_inyBfL3HezoHfX Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_m5y2Ky5Zfb7DGi + - req_inyBfL3HezoHfX Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbFKuuB1fWySn1FP53VRS", + "id": "pi_3P6h7vKuuB1fWySn18JZEKhK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887941, + "created": 1713393531, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbFKuuB1fWySn1tMmNzKX", + "latest_charge": "ch_3P6h7vKuuB1fWySn17xjSwFI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbEKuuB1fWySnFQEAGkJj", + "payment_method": "pm_1P6h7uKuuB1fWySnWpeF7LMi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:24 GMT + recorded_at: Wed, 17 Apr 2024 22:38:53 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbFKuuB1fWySn1FP53VRS + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7vKuuB1fWySn18JZEKhK body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_m5y2Ky5Zfb7DGi","request_duration_ms":1196}}' + - '{"last_request_metrics":{"request_id":"req_inyBfL3HezoHfX","request_duration_ms":1022}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:24 GMT + - Wed, 17 Apr 2024 22:38:54 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xOSPdPk4GPWcPw + - req_Op5E047dEuFump Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbFKuuB1fWySn1FP53VRS", + "id": "pi_3P6h7vKuuB1fWySn18JZEKhK", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887941, + "created": 1713393531, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbFKuuB1fWySn1tMmNzKX", + "latest_charge": "ch_3P6h7vKuuB1fWySn17xjSwFI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbEKuuB1fWySnFQEAGkJj", + "payment_method": "pm_1P6h7uKuuB1fWySnWpeF7LMi", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:24 GMT + recorded_at: Wed, 17 Apr 2024 22:38:54 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml index 4dc495d58b..9eecdc19bd 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Mastercard_prepaid_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KUws5Img2K7kGM","request_duration_ms":316}}' + - '{"last_request_metrics":{"request_id":"req_v6DoSIIwC27Nmc","request_duration_ms":353}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:19 GMT + - Wed, 17 Apr 2024 22:38:48 GMT Content-Type: - application/json Content-Length: - - '979' + - '1015' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 96d82a84-160c-40bc-b7aa-9395f2b4edfb + - 9c7f88f2-e81c-413f-bce1-341de7cf7292 Original-Request: - - req_7lWDocUHWTYqsk + - req_UdvCKCkgZIuBiZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_7lWDocUHWTYqsk + - req_UdvCKCkgZIuBiZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZbCKuuB1fWySnJJDhQRi4", + "id": "pm_1P6h7sKuuB1fWySnWFyGsEIQ", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887938, + "created": 1713393528, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:12:19 GMT + recorded_at: Wed, 17 Apr 2024 22:38:48 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZbCKuuB1fWySnJJDhQRi4&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7sKuuB1fWySnWFyGsEIQ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7lWDocUHWTYqsk","request_duration_ms":447}}' + - '{"last_request_metrics":{"request_id":"req_UdvCKCkgZIuBiZ","request_duration_ms":551}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:19 GMT + - Wed, 17 Apr 2024 22:38:49 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - df0b3e95-cda7-457c-ac52-77b115e6fde6 + - 1fcf81b3-f980-4602-9b72-85370ab4d77a Original-Request: - - req_CgKHAdj3vnrypt + - req_vtUgVf43aiVJ8f Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_CgKHAdj3vnrypt + - req_vtUgVf43aiVJ8f Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbDKuuB1fWySn28fundHt", + "id": "pi_3P6h7sKuuB1fWySn0BTYrhF6", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887939, + "created": 1713393528, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbCKuuB1fWySnJJDhQRi4", + "payment_method": "pm_1P6h7sKuuB1fWySnWFyGsEIQ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:19 GMT + recorded_at: Wed, 17 Apr 2024 22:38:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZbDKuuB1fWySn28fundHt/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7sKuuB1fWySn0BTYrhF6/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CgKHAdj3vnrypt","request_duration_ms":422}}' + - '{"last_request_metrics":{"request_id":"req_vtUgVf43aiVJ8f","request_duration_ms":512}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:20 GMT + - Wed, 17 Apr 2024 22:38:50 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 89fd301f-a117-49f2-8835-6e73861e2745 + - b8ea7e88-797c-4cdb-aa85-3b48de057a7e Original-Request: - - req_Il81ZtaLDOmARw + - req_HOGc3LwxQ8bbGA Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Il81ZtaLDOmARw + - req_HOGc3LwxQ8bbGA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZbDKuuB1fWySn28fundHt", + "id": "pi_3P6h7sKuuB1fWySn0BTYrhF6", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887939, + "created": 1713393528, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZbDKuuB1fWySn2uVpQj9g", + "latest_charge": "ch_3P6h7sKuuB1fWySn0vJDrxH0", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZbCKuuB1fWySnJJDhQRi4", + "payment_method": "pm_1P6h7sKuuB1fWySnWFyGsEIQ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:20 GMT + recorded_at: Wed, 17 Apr 2024 22:38:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml index fb3254c42f..dbb80c2b06 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZBIrU2oe7CScJz","request_duration_ms":1232}}' + - '{"last_request_metrics":{"request_id":"req_JvAWETBQMvlvuD","request_duration_ms":908}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:18 GMT + - Wed, 17 Apr 2024 22:39:41 GMT Content-Type: - application/json Content-Length: - - '973' + - '1009' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d4ec77e8-ae4e-4d09-b33c-aea541c03519 + - a1bbde01-ca0d-4c26-93cd-1e4f1954f573 Original-Request: - - req_peYhJaQpettUro + - req_WbHGXVY9PjhJVD Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_peYhJaQpettUro + - req_WbHGXVY9PjhJVD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Zc9KuuB1fWySnOpZn54of", + "id": "pm_1P6h8jKuuB1fWySn9AdWGLTZ", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887998, + "created": 1713393581, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:18 GMT + recorded_at: Wed, 17 Apr 2024 22:39:41 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Zc9KuuB1fWySnOpZn54of&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8jKuuB1fWySn9AdWGLTZ&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_peYhJaQpettUro","request_duration_ms":714}}' + - '{"last_request_metrics":{"request_id":"req_WbHGXVY9PjhJVD","request_duration_ms":471}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:18 GMT + - Wed, 17 Apr 2024 22:39:42 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6d4d51e2-2566-4dfe-8b81-8f54639b2ec3 + - 944e09dd-006c-422b-b5bb-eb6c77469cdd Original-Request: - - req_bj1wwZvjdo0xeP + - req_kSQNmUwiVuPkG4 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_bj1wwZvjdo0xeP + - req_kSQNmUwiVuPkG4 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcAKuuB1fWySn0QDYdDIy", + "id": "pi_3P6h8jKuuB1fWySn250YdCNa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887998, + "created": 1713393581, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zc9KuuB1fWySnOpZn54of", + "payment_method": "pm_1P6h8jKuuB1fWySn9AdWGLTZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:18 GMT + recorded_at: Wed, 17 Apr 2024 22:39:42 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcAKuuB1fWySn0QDYdDIy/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8jKuuB1fWySn250YdCNa/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bj1wwZvjdo0xeP","request_duration_ms":613}}' + - '{"last_request_metrics":{"request_id":"req_kSQNmUwiVuPkG4","request_duration_ms":512}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:20 GMT + - Wed, 17 Apr 2024 22:39:43 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3fa56dfb-fd98-45b5-9097-8552d133c415 + - 7bef0dec-19ab-4366-9d74-eb26636d7431 Original-Request: - - req_V0amdkQE6EvmgX + - req_GIYOLCt5eqstCR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_V0amdkQE6EvmgX + - req_GIYOLCt5eqstCR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcAKuuB1fWySn0QDYdDIy", + "id": "pi_3P6h8jKuuB1fWySn250YdCNa", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887998, + "created": 1713393581, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcAKuuB1fWySn0y9OXAqx", + "latest_charge": "ch_3P6h8jKuuB1fWySn2qTroa6X", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zc9KuuB1fWySnOpZn54of", + "payment_method": "pm_1P6h8jKuuB1fWySn9AdWGLTZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:20 GMT + recorded_at: Wed, 17 Apr 2024 22:39:43 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcAKuuB1fWySn0QDYdDIy + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8jKuuB1fWySn250YdCNa body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_V0amdkQE6EvmgX","request_duration_ms":1230}}' + - '{"last_request_metrics":{"request_id":"req_GIYOLCt5eqstCR","request_duration_ms":918}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:20 GMT + - Wed, 17 Apr 2024 22:39:43 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_v7iKas1S80TnZ7 + - req_R7dwVAyi9FFDep Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcAKuuB1fWySn0QDYdDIy", + "id": "pi_3P6h8jKuuB1fWySn250YdCNa", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887998, + "created": 1713393581, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcAKuuB1fWySn0y9OXAqx", + "latest_charge": "ch_3P6h8jKuuB1fWySn2qTroa6X", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zc9KuuB1fWySnOpZn54of", + "payment_method": "pm_1P6h8jKuuB1fWySn9AdWGLTZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:20 GMT + recorded_at: Wed, 17 Apr 2024 22:39:43 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcAKuuB1fWySn0QDYdDIy/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8jKuuB1fWySn250YdCNa/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_v7iKas1S80TnZ7","request_duration_ms":513}}' + - '{"last_request_metrics":{"request_id":"req_R7dwVAyi9FFDep","request_duration_ms":406}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:21 GMT + - Wed, 17 Apr 2024 22:39:44 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 70504ce6-ed8b-4c0b-a9ab-0ed72bb718da + - 2b32b0fd-f726-4792-9a3c-55a372de1cf8 Original-Request: - - req_hm25k5Cd4N6ZAP + - req_y6Fs9bKxfUuhaR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_hm25k5Cd4N6ZAP + - req_y6Fs9bKxfUuhaR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcAKuuB1fWySn0QDYdDIy", + "id": "pi_3P6h8jKuuB1fWySn250YdCNa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887998, + "created": 1713393581, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcAKuuB1fWySn0y9OXAqx", + "latest_charge": "ch_3P6h8jKuuB1fWySn2qTroa6X", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zc9KuuB1fWySnOpZn54of", + "payment_method": "pm_1P6h8jKuuB1fWySn9AdWGLTZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:21 GMT + recorded_at: Wed, 17 Apr 2024 22:39:44 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcAKuuB1fWySn0QDYdDIy + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8jKuuB1fWySn250YdCNa body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hm25k5Cd4N6ZAP","request_duration_ms":1226}}' + - '{"last_request_metrics":{"request_id":"req_y6Fs9bKxfUuhaR","request_duration_ms":1127}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:22 GMT + - Wed, 17 Apr 2024 22:39:44 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_jJDKF81zYsn1qz + - req_orhSEXIZyv0Rt7 Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcAKuuB1fWySn0QDYdDIy", + "id": "pi_3P6h8jKuuB1fWySn250YdCNa", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887998, + "created": 1713393581, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcAKuuB1fWySn0y9OXAqx", + "latest_charge": "ch_3P6h8jKuuB1fWySn2qTroa6X", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zc9KuuB1fWySnOpZn54of", + "payment_method": "pm_1P6h8jKuuB1fWySn9AdWGLTZ", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:22 GMT + recorded_at: Wed, 17 Apr 2024 22:39:45 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml index 0570e0f91a..08838a6fd3 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3yokmPARNPwzYX","request_duration_ms":511}}' + - '{"last_request_metrics":{"request_id":"req_e3is6LFByX27Sh","request_duration_ms":407}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:15 GMT + - Wed, 17 Apr 2024 22:39:39 GMT Content-Type: - application/json Content-Length: - - '973' + - '1009' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 45becaf4-8a91-447d-8e74-ecaef06d08e3 + - 237c6bea-9582-4bb5-a913-6ba1de54b654 Original-Request: - - req_uBiJJbcCKEblhb + - req_tWpGVf0e6fNmZ5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_uBiJJbcCKEblhb + - req_tWpGVf0e6fNmZ5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4Zc7KuuB1fWySnDKt1uN1m", + "id": "pm_1P6h8hKuuB1fWySnpRASYAEC", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887995, + "created": 1713393579, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:15 GMT + recorded_at: Wed, 17 Apr 2024 22:39:39 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4Zc7KuuB1fWySnDKt1uN1m&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8hKuuB1fWySnpRASYAEC&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_uBiJJbcCKEblhb","request_duration_ms":702}}' + - '{"last_request_metrics":{"request_id":"req_tWpGVf0e6fNmZ5","request_duration_ms":492}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:16 GMT + - Wed, 17 Apr 2024 22:39:40 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2f447e42-6c34-40e1-9899-71b286efd11a + - c7e3db0b-4311-4082-8945-e83d7b4d10bd Original-Request: - - req_rR0nnI7hujQXxV + - req_8x2G5HfJxK0KO5 Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_rR0nnI7hujQXxV + - req_8x2G5HfJxK0KO5 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zc7KuuB1fWySn2L5qgg6k", + "id": "pi_3P6h8hKuuB1fWySn2vEX8YKz", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887995, + "created": 1713393579, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zc7KuuB1fWySnDKt1uN1m", + "payment_method": "pm_1P6h8hKuuB1fWySnpRASYAEC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:16 GMT + recorded_at: Wed, 17 Apr 2024 22:39:40 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zc7KuuB1fWySn2L5qgg6k/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8hKuuB1fWySn2vEX8YKz/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rR0nnI7hujQXxV","request_duration_ms":615}}' + - '{"last_request_metrics":{"request_id":"req_8x2G5HfJxK0KO5","request_duration_ms":417}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:17 GMT + - Wed, 17 Apr 2024 22:39:41 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 46b3e8dc-2996-4f31-abc2-a1c2d551d9a2 + - 2d04eaf5-4e5b-400b-81fd-5bc46e1c6c7e Original-Request: - - req_ZBIrU2oe7CScJz + - req_JvAWETBQMvlvuD Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ZBIrU2oe7CScJz + - req_JvAWETBQMvlvuD Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zc7KuuB1fWySn2L5qgg6k", + "id": "pi_3P6h8hKuuB1fWySn2vEX8YKz", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887995, + "created": 1713393579, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zc7KuuB1fWySn2zOXOBNV", + "latest_charge": "ch_3P6h8hKuuB1fWySn2fdTCbTk", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zc7KuuB1fWySnDKt1uN1m", + "payment_method": "pm_1P6h8hKuuB1fWySnpRASYAEC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:17 GMT + recorded_at: Wed, 17 Apr 2024 22:39:41 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml index a8cb360c9b..cb383e17ac 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PPIsjJdZwJMfHQ","request_duration_ms":1123}}' + - '{"last_request_metrics":{"request_id":"req_5M6BDrkfp88ITK","request_duration_ms":1021}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:25 GMT + - Wed, 17 Apr 2024 22:39:47 GMT Content-Type: - application/json Content-Length: - - '972' + - '1008' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2af811ed-c271-4326-8616-399a53ee7615 + - b8f13c2d-6b72-4bf4-9d1e-6f438a65694d Original-Request: - - req_gVrYzhUZJIaQxi + - req_6KKK2rncrBEXzj Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gVrYzhUZJIaQxi + - req_6KKK2rncrBEXzj Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcHKuuB1fWySnVdPf2wL6", + "id": "pm_1P6h8pKuuB1fWySnMcLJE9qc", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888005, + "created": 1713393587, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:25 GMT + recorded_at: Wed, 17 Apr 2024 22:39:47 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZcHKuuB1fWySnVdPf2wL6&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8pKuuB1fWySnMcLJE9qc&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gVrYzhUZJIaQxi","request_duration_ms":742}}' + - '{"last_request_metrics":{"request_id":"req_6KKK2rncrBEXzj","request_duration_ms":477}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:26 GMT + - Wed, 17 Apr 2024 22:39:48 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 7dc36c51-066c-4cea-8d52-f658f27621f0 + - 86675ad2-e66f-4fb8-a0ca-2cad53fcd12f Original-Request: - - req_PanADdH6Bl4VdI + - req_LTpYcCoJAvnCaa Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PanADdH6Bl4VdI + - req_LTpYcCoJAvnCaa Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcHKuuB1fWySn1W1WYhK8", + "id": "pi_3P6h8pKuuB1fWySn0p9t3Nhi", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888005, + "created": 1713393587, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcHKuuB1fWySnVdPf2wL6", + "payment_method": "pm_1P6h8pKuuB1fWySnMcLJE9qc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:26 GMT + recorded_at: Wed, 17 Apr 2024 22:39:48 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcHKuuB1fWySn1W1WYhK8/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8pKuuB1fWySn0p9t3Nhi/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PanADdH6Bl4VdI","request_duration_ms":526}}' + - '{"last_request_metrics":{"request_id":"req_LTpYcCoJAvnCaa","request_duration_ms":511}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:27 GMT + - Wed, 17 Apr 2024 22:39:49 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - dec91969-6564-45a6-9d6c-4bdf01c0dbd3 + - ec353a06-e37e-4ea6-b2a9-5e54bd365115 Original-Request: - - req_lNVY4hqp7PScOB + - req_DJRhc7k9YcN7Gv Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lNVY4hqp7PScOB + - req_DJRhc7k9YcN7Gv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcHKuuB1fWySn1W1WYhK8", + "id": "pi_3P6h8pKuuB1fWySn0p9t3Nhi", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888005, + "created": 1713393587, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcHKuuB1fWySn1NxbPuUd", + "latest_charge": "ch_3P6h8pKuuB1fWySn0cAJ3Nx0", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcHKuuB1fWySnVdPf2wL6", + "payment_method": "pm_1P6h8pKuuB1fWySnMcLJE9qc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:27 GMT + recorded_at: Wed, 17 Apr 2024 22:39:49 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcHKuuB1fWySn1W1WYhK8 + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8pKuuB1fWySn0p9t3Nhi body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lNVY4hqp7PScOB","request_duration_ms":1122}}' + - '{"last_request_metrics":{"request_id":"req_DJRhc7k9YcN7Gv","request_duration_ms":966}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:27 GMT + - Wed, 17 Apr 2024 22:39:49 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KyTxr5UcC60wtR + - req_es3p52W7zr7ZNm Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcHKuuB1fWySn1W1WYhK8", + "id": "pi_3P6h8pKuuB1fWySn0p9t3Nhi", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888005, + "created": 1713393587, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcHKuuB1fWySn1NxbPuUd", + "latest_charge": "ch_3P6h8pKuuB1fWySn0cAJ3Nx0", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcHKuuB1fWySnVdPf2wL6", + "payment_method": "pm_1P6h8pKuuB1fWySnMcLJE9qc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:27 GMT + recorded_at: Wed, 17 Apr 2024 22:39:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcHKuuB1fWySn1W1WYhK8/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8pKuuB1fWySn0p9t3Nhi/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KyTxr5UcC60wtR","request_duration_ms":453}}' + - '{"last_request_metrics":{"request_id":"req_es3p52W7zr7ZNm","request_duration_ms":364}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:28 GMT + - Wed, 17 Apr 2024 22:39:50 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6959c740-d6c2-4e70-92ba-96dec915e655 + - 165ad06c-1c87-478e-be81-8de26316faea Original-Request: - - req_diXG0aRKWZmiCy + - req_taD54UO4v1MIBe Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_diXG0aRKWZmiCy + - req_taD54UO4v1MIBe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcHKuuB1fWySn1W1WYhK8", + "id": "pi_3P6h8pKuuB1fWySn0p9t3Nhi", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888005, + "created": 1713393587, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcHKuuB1fWySn1NxbPuUd", + "latest_charge": "ch_3P6h8pKuuB1fWySn0cAJ3Nx0", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcHKuuB1fWySnVdPf2wL6", + "payment_method": "pm_1P6h8pKuuB1fWySnMcLJE9qc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:28 GMT + recorded_at: Wed, 17 Apr 2024 22:39:50 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcHKuuB1fWySn1W1WYhK8 + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8pKuuB1fWySn0p9t3Nhi body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_diXG0aRKWZmiCy","request_duration_ms":1194}}' + - '{"last_request_metrics":{"request_id":"req_taD54UO4v1MIBe","request_duration_ms":1021}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:29 GMT + - Wed, 17 Apr 2024 22:39:50 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ut86RWakJXQafT + - req_zvf4CAVwSgnYlD Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcHKuuB1fWySn1W1WYhK8", + "id": "pi_3P6h8pKuuB1fWySn0p9t3Nhi", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888005, + "created": 1713393587, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcHKuuB1fWySn1NxbPuUd", + "latest_charge": "ch_3P6h8pKuuB1fWySn0cAJ3Nx0", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcHKuuB1fWySnVdPf2wL6", + "payment_method": "pm_1P6h8pKuuB1fWySnMcLJE9qc", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:29 GMT + recorded_at: Wed, 17 Apr 2024 22:39:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml index 7e9d0a630a..47a2a5b85c 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_UnionPay_19-digit_card_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jJDKF81zYsn1qz","request_duration_ms":445}}' + - '{"last_request_metrics":{"request_id":"req_orhSEXIZyv0Rt7","request_duration_ms":405}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:22 GMT + - Wed, 17 Apr 2024 22:39:45 GMT Content-Type: - application/json Content-Length: - - '972' + - '1008' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e01757c3-4f4f-4b1c-b71f-9bb9fbfa7cfc + - ad63d10c-cb0a-4eb7-8845-89cffbb4a46c Original-Request: - - req_OpArZ5LaFU3Pmb + - req_5scTfSWgF8tVBm Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_OpArZ5LaFU3Pmb + - req_5scTfSWgF8tVBm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcEKuuB1fWySndLoPh0Es", + "id": "pm_1P6h8nKuuB1fWySn8lYg1dY8", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712888002, + "created": 1713393585, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:22 GMT + recorded_at: Wed, 17 Apr 2024 22:39:45 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZcEKuuB1fWySndLoPh0Es&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h8nKuuB1fWySn8lYg1dY8&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OpArZ5LaFU3Pmb","request_duration_ms":577}}' + - '{"last_request_metrics":{"request_id":"req_5scTfSWgF8tVBm","request_duration_ms":496}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:23 GMT + - Wed, 17 Apr 2024 22:39:45 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 2fe5b5d4-bd8e-49a7-81f1-2a821c595592 + - 92c73f49-fb31-44e6-aa4e-6da9225452ac Original-Request: - - req_1gp6O00FS4sF8T + - req_U0ctc0agMjXrZh Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1gp6O00FS4sF8T + - req_U0ctc0agMjXrZh Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcFKuuB1fWySn2nBJzj8F", + "id": "pi_3P6h8nKuuB1fWySn2N7eDEQt", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888003, + "created": 1713393585, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcEKuuB1fWySndLoPh0Es", + "payment_method": "pm_1P6h8nKuuB1fWySn8lYg1dY8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:23 GMT + recorded_at: Wed, 17 Apr 2024 22:39:46 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZcFKuuB1fWySn2nBJzj8F/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h8nKuuB1fWySn2N7eDEQt/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1gp6O00FS4sF8T","request_duration_ms":575}}' + - '{"last_request_metrics":{"request_id":"req_U0ctc0agMjXrZh","request_duration_ms":510}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:24 GMT + - Wed, 17 Apr 2024 22:39:46 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 78625413-1a28-412f-bca7-8ff7ccca471f + - b3a27f7f-5c71-42c5-b19d-11fd62e44765 Original-Request: - - req_PPIsjJdZwJMfHQ + - req_5M6BDrkfp88ITK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_PPIsjJdZwJMfHQ + - req_5M6BDrkfp88ITK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZcFKuuB1fWySn2nBJzj8F", + "id": "pi_3P6h8nKuuB1fWySn2N7eDEQt", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888003, + "created": 1713393585, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZcFKuuB1fWySn2jDZ4DYL", + "latest_charge": "ch_3P6h8nKuuB1fWySn2N5ABsKa", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZcEKuuB1fWySndLoPh0Es", + "payment_method": "pm_1P6h8nKuuB1fWySn8lYg1dY8", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:13:24 GMT + recorded_at: Wed, 17 Apr 2024 22:39:47 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml index 43689b1ba4..58a5662db9 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kvv0mrNrVxyG3a","request_duration_ms":1024}}' + - '{"last_request_metrics":{"request_id":"req_GinJvOrjI3jPoK","request_duration_ms":1124}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:51 GMT + - Wed, 17 Apr 2024 22:38:19 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 9c2b4625-f2d0-4b59-a5ae-24d57e67fb2a + - 64910d91-161c-4a0a-a7b1-027463f9f932 Original-Request: - - req_JkVrW7xvQ4hayt + - req_EfwFVjR7SzuG4N Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_JkVrW7xvQ4hayt + - req_EfwFVjR7SzuG4N Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZalKuuB1fWySnPA2VwSzk", + "id": "pm_1P6h7PKuuB1fWySnpJPlGzBx", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887911, + "created": 1713393499, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:51 GMT + recorded_at: Wed, 17 Apr 2024 22:38:19 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZalKuuB1fWySnPA2VwSzk&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7PKuuB1fWySnpJPlGzBx&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JkVrW7xvQ4hayt","request_duration_ms":496}}' + - '{"last_request_metrics":{"request_id":"req_EfwFVjR7SzuG4N","request_duration_ms":470}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:51 GMT + - Wed, 17 Apr 2024 22:38:19 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e7c1f4fd-2ce1-4025-8311-8a8eed826608 + - c28f48c9-e737-4e5f-a96b-4162ca0d54e5 Original-Request: - - req_ynXvlrgAmB0GGI + - req_okNPf46lsUW0NZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_ynXvlrgAmB0GGI + - req_okNPf46lsUW0NZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZalKuuB1fWySn2ImKGm6G", + "id": "pi_3P6h7PKuuB1fWySn2KfYVSKl", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887911, + "created": 1713393499, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZalKuuB1fWySnPA2VwSzk", + "payment_method": "pm_1P6h7PKuuB1fWySnpJPlGzBx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:11:51 GMT + recorded_at: Wed, 17 Apr 2024 22:38:19 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZalKuuB1fWySn2ImKGm6G/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7PKuuB1fWySn2KfYVSKl/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ynXvlrgAmB0GGI","request_duration_ms":508}}' + - '{"last_request_metrics":{"request_id":"req_okNPf46lsUW0NZ","request_duration_ms":583}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:52 GMT + - Wed, 17 Apr 2024 22:38:21 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - aa568375-839a-4ca3-8e00-c8e8260fd026 + - 60f1d6ad-7f81-4d2a-9ef1-41f19f44e4cc Original-Request: - - req_P9RcqNDI6uaW7k + - req_4sYqtfUeHgBS1h Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_P9RcqNDI6uaW7k + - req_4sYqtfUeHgBS1h Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZalKuuB1fWySn2ImKGm6G", + "id": "pi_3P6h7PKuuB1fWySn2KfYVSKl", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887911, + "created": 1713393499, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZalKuuB1fWySn2iYSLAT7", + "latest_charge": "ch_3P6h7PKuuB1fWySn2L8Ip9bg", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZalKuuB1fWySnPA2VwSzk", + "payment_method": "pm_1P6h7PKuuB1fWySnpJPlGzBx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:11:52 GMT + recorded_at: Wed, 17 Apr 2024 22:38:21 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZalKuuB1fWySn2ImKGm6G + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7PKuuB1fWySn2KfYVSKl body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_P9RcqNDI6uaW7k","request_duration_ms":981}}' + - '{"last_request_metrics":{"request_id":"req_4sYqtfUeHgBS1h","request_duration_ms":1052}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:53 GMT + - Wed, 17 Apr 2024 22:38:21 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_68NBiPuBGrcVYf + - req_InA4UXgP7ovZil Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZalKuuB1fWySn2ImKGm6G", + "id": "pi_3P6h7PKuuB1fWySn2KfYVSKl", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887911, + "created": 1713393499, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZalKuuB1fWySn2iYSLAT7", + "latest_charge": "ch_3P6h7PKuuB1fWySn2L8Ip9bg", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZalKuuB1fWySnPA2VwSzk", + "payment_method": "pm_1P6h7PKuuB1fWySnpJPlGzBx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:11:53 GMT + recorded_at: Wed, 17 Apr 2024 22:38:21 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZalKuuB1fWySn2ImKGm6G/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7PKuuB1fWySn2KfYVSKl/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_68NBiPuBGrcVYf","request_duration_ms":343}}' + - '{"last_request_metrics":{"request_id":"req_InA4UXgP7ovZil","request_duration_ms":408}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:54 GMT + - Wed, 17 Apr 2024 22:38:22 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 969d7885-fe8c-464d-bdf3-afce69e904e3 + - 211c48d0-f153-469b-a5f7-bc0ec77f4820 Original-Request: - - req_mjMWf5x5wgdIoQ + - req_3pEsevymAurQCW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mjMWf5x5wgdIoQ + - req_3pEsevymAurQCW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZalKuuB1fWySn2ImKGm6G", + "id": "pi_3P6h7PKuuB1fWySn2KfYVSKl", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887911, + "created": 1713393499, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZalKuuB1fWySn2iYSLAT7", + "latest_charge": "ch_3P6h7PKuuB1fWySn2L8Ip9bg", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZalKuuB1fWySnPA2VwSzk", + "payment_method": "pm_1P6h7PKuuB1fWySnpJPlGzBx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:11:54 GMT + recorded_at: Wed, 17 Apr 2024 22:38:22 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZalKuuB1fWySn2ImKGm6G + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7PKuuB1fWySn2KfYVSKl body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mjMWf5x5wgdIoQ","request_duration_ms":1198}}' + - '{"last_request_metrics":{"request_id":"req_3pEsevymAurQCW","request_duration_ms":1126}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:54 GMT + - Wed, 17 Apr 2024 22:38:22 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_z51r1vmis8GmwV + - req_tfIcynbnVwUvuZ Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZalKuuB1fWySn2ImKGm6G", + "id": "pi_3P6h7PKuuB1fWySn2KfYVSKl", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887911, + "created": 1713393499, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZalKuuB1fWySn2iYSLAT7", + "latest_charge": "ch_3P6h7PKuuB1fWySn2L8Ip9bg", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZalKuuB1fWySnPA2VwSzk", + "payment_method": "pm_1P6h7PKuuB1fWySnpJPlGzBx", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:11:54 GMT + recorded_at: Wed, 17 Apr 2024 22:38:22 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml index 8d911ec098..324b84463d 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2v3MuZspc7vhxp","request_duration_ms":956}}' + - '{"last_request_metrics":{"request_id":"req_6erFBt8I8770U0","request_duration_ms":1019}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:49 GMT + - Wed, 17 Apr 2024 22:38:16 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - '0920226a-ca4f-471b-8ca5-be1bb41e3577' + - d437847d-b101-4d30-85e5-ade1f734a58c Original-Request: - - req_Ihoug0GHYKcoyI + - req_ML8x0xRXjzSwUg Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ihoug0GHYKcoyI + - req_ML8x0xRXjzSwUg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaiKuuB1fWySnmUEc08oK", + "id": "pm_1P6h7MKuuB1fWySnC2fh20kl", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887908, + "created": 1713393496, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:49 GMT + recorded_at: Wed, 17 Apr 2024 22:38:17 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZaiKuuB1fWySnmUEc08oK&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7MKuuB1fWySnC2fh20kl&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ihoug0GHYKcoyI","request_duration_ms":497}}' + - '{"last_request_metrics":{"request_id":"req_ML8x0xRXjzSwUg","request_duration_ms":498}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:49 GMT + - Wed, 17 Apr 2024 22:38:17 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3248d239-aea9-4870-90a1-44e927ca26d4 + - 1c64ce4f-10a5-4d25-b4a3-0770f59fe416 Original-Request: - - req_88eUGysrBq0CiL + - req_byoPGN1UVs38aW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_88eUGysrBq0CiL + - req_byoPGN1UVs38aW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZajKuuB1fWySn2es8jYSk", + "id": "pi_3P6h7NKuuB1fWySn04AMksxW", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887909, + "created": 1713393497, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZaiKuuB1fWySnmUEc08oK", + "payment_method": "pm_1P6h7MKuuB1fWySnC2fh20kl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:11:49 GMT + recorded_at: Wed, 17 Apr 2024 22:38:17 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZajKuuB1fWySn2es8jYSk/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7NKuuB1fWySn04AMksxW/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_88eUGysrBq0CiL","request_duration_ms":494}}' + - '{"last_request_metrics":{"request_id":"req_byoPGN1UVs38aW","request_duration_ms":508}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:50 GMT + - Wed, 17 Apr 2024 22:38:18 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3178f376-5d10-453d-af15-ecd37639509a + - 71a3372c-0bae-4c21-b1d3-3f15c6395ab5 Original-Request: - - req_kvv0mrNrVxyG3a + - req_GinJvOrjI3jPoK Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_kvv0mrNrVxyG3a + - req_GinJvOrjI3jPoK Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZajKuuB1fWySn2es8jYSk", + "id": "pi_3P6h7NKuuB1fWySn04AMksxW", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887909, + "created": 1713393497, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZajKuuB1fWySn2NECeqAi", + "latest_charge": "ch_3P6h7NKuuB1fWySn0YW3AXzB", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZaiKuuB1fWySnmUEc08oK", + "payment_method": "pm_1P6h7MKuuB1fWySnC2fh20kl", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:11:50 GMT + recorded_at: Wed, 17 Apr 2024 22:38:18 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml index f17e9fee7f..63a1b68cf1 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/captures_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_27l1AU6X0ljdWZ","request_duration_ms":1022}}' + - '{"last_request_metrics":{"request_id":"req_pXfL18SxvJbCBU","request_duration_ms":1010}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:57 GMT + - Wed, 17 Apr 2024 22:38:25 GMT Content-Type: - application/json Content-Length: - - '959' + - '995' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - d358579b-e173-4bd1-9688-6901ce98edfa + - bd815d42-e8c8-4979-b188-e0c462044392 Original-Request: - - req_5Q9EYNt21jHPUd + - req_219VLTcIujaPsx Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_5Q9EYNt21jHPUd + - req_219VLTcIujaPsx Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZarKuuB1fWySnJ45WwrgC", + "id": "pm_1P6h7VKuuB1fWySnsX7ucKLX", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887917, + "created": 1713393505, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:57 GMT + recorded_at: Wed, 17 Apr 2024 22:38:25 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZarKuuB1fWySnJ45WwrgC&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7VKuuB1fWySnsX7ucKLX&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5Q9EYNt21jHPUd","request_duration_ms":496}}' + - '{"last_request_metrics":{"request_id":"req_219VLTcIujaPsx","request_duration_ms":458}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:57 GMT + - Wed, 17 Apr 2024 22:38:26 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - fe117985-f5fa-4fc3-b5d5-9b65959c034c + - 98fe770f-204b-4bf3-ba9c-2a26562a7e09 Original-Request: - - req_mNjYC8Auj1yBYm + - req_QTyZoiVYbbIw5w Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_mNjYC8Auj1yBYm + - req_QTyZoiVYbbIw5w Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZarKuuB1fWySn0zVUxwYX", + "id": "pi_3P6h7VKuuB1fWySn2XHLMoF9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887917, + "created": 1713393505, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZarKuuB1fWySnJ45WwrgC", + "payment_method": "pm_1P6h7VKuuB1fWySnsX7ucKLX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:11:57 GMT + recorded_at: Wed, 17 Apr 2024 22:38:26 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZarKuuB1fWySn0zVUxwYX/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7VKuuB1fWySn2XHLMoF9/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mNjYC8Auj1yBYm","request_duration_ms":463}}' + - '{"last_request_metrics":{"request_id":"req_QTyZoiVYbbIw5w","request_duration_ms":437}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:58 GMT + - Wed, 17 Apr 2024 22:38:27 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5bc073ea-322d-437d-8f02-013320b1e4ea + - c754d625-abdc-429c-b974-e066f6a364d9 Original-Request: - - req_3qdu2PjfDUXtw3 + - req_42Ejxtw3ANOc7Z Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3qdu2PjfDUXtw3 + - req_42Ejxtw3ANOc7Z Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZarKuuB1fWySn0zVUxwYX", + "id": "pi_3P6h7VKuuB1fWySn2XHLMoF9", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887917, + "created": 1713393505, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZarKuuB1fWySn0cp9XohL", + "latest_charge": "ch_3P6h7VKuuB1fWySn28tKnIYE", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZarKuuB1fWySnJ45WwrgC", + "payment_method": "pm_1P6h7VKuuB1fWySnsX7ucKLX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,22 +398,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:11:58 GMT + recorded_at: Wed, 17 Apr 2024 22:38:27 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZarKuuB1fWySn0zVUxwYX + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7VKuuB1fWySn2XHLMoF9 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3qdu2PjfDUXtw3","request_duration_ms":1020}}' + - '{"last_request_metrics":{"request_id":"req_42Ejxtw3ANOc7Z","request_duration_ms":1127}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -429,7 +430,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:59 GMT + - Wed, 17 Apr 2024 22:38:27 GMT Content-Type: - application/json Content-Length: @@ -461,7 +462,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_3EuqZp4x65Spnz + - req_GwCDbtlfFx98Ca Stripe-Version: - '2024-04-10' Vary: @@ -474,7 +475,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZarKuuB1fWySn0zVUxwYX", + "id": "pi_3P6h7VKuuB1fWySn2XHLMoF9", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -490,18 +491,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887917, + "created": 1713393505, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZarKuuB1fWySn0cp9XohL", + "latest_charge": "ch_3P6h7VKuuB1fWySn28tKnIYE", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZarKuuB1fWySnJ45WwrgC", + "payment_method": "pm_1P6h7VKuuB1fWySnsX7ucKLX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -526,22 +527,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:11:59 GMT + recorded_at: Wed, 17 Apr 2024 22:38:27 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZarKuuB1fWySn0zVUxwYX/capture + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7VKuuB1fWySn2XHLMoF9/capture body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3EuqZp4x65Spnz","request_duration_ms":407}}' + - '{"last_request_metrics":{"request_id":"req_GwCDbtlfFx98Ca","request_duration_ms":406}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -558,7 +559,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:00 GMT + - Wed, 17 Apr 2024 22:38:28 GMT Content-Type: - application/json Content-Length: @@ -586,15 +587,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 16192ca9-18e5-465f-8df9-33538694f6d5 + - e31e1c73-e6ea-4709-aac2-6b25bfbd32bd Original-Request: - - req_gzXY8343oHHy6l + - req_FFdCC8GBHe6yzl Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gzXY8343oHHy6l + - req_FFdCC8GBHe6yzl Stripe-Should-Retry: - 'false' Stripe-Version: @@ -609,7 +610,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZarKuuB1fWySn0zVUxwYX", + "id": "pi_3P6h7VKuuB1fWySn2XHLMoF9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -625,18 +626,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887917, + "created": 1713393505, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZarKuuB1fWySn0cp9XohL", + "latest_charge": "ch_3P6h7VKuuB1fWySn28tKnIYE", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZarKuuB1fWySnJ45WwrgC", + "payment_method": "pm_1P6h7VKuuB1fWySnsX7ucKLX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -661,22 +662,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:00 GMT + recorded_at: Wed, 17 Apr 2024 22:38:28 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZarKuuB1fWySn0zVUxwYX + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7VKuuB1fWySn2XHLMoF9 body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gzXY8343oHHy6l","request_duration_ms":1014}}' + - '{"last_request_metrics":{"request_id":"req_FFdCC8GBHe6yzl","request_duration_ms":1124}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -693,7 +694,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:12:00 GMT + - Wed, 17 Apr 2024 22:38:29 GMT Content-Type: - application/json Content-Length: @@ -725,7 +726,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_6BUIzaf9frDFgq + - req_VCkHzjjHMXrfND Stripe-Version: - '2024-04-10' Vary: @@ -738,7 +739,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZarKuuB1fWySn0zVUxwYX", + "id": "pi_3P6h7VKuuB1fWySn2XHLMoF9", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -754,18 +755,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887917, + "created": 1713393505, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZarKuuB1fWySn0cp9XohL", + "latest_charge": "ch_3P6h7VKuuB1fWySn28tKnIYE", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZarKuuB1fWySnJ45WwrgC", + "payment_method": "pm_1P6h7VKuuB1fWySnsX7ucKLX", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -790,5 +791,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:12:00 GMT + recorded_at: Wed, 17 Apr 2024 22:38:29 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml index fcb7eb622c..0ed7d06d49 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/valid_non-3D_credit_cards_are_correctly_handled/behaves_like_payments_intents/from_Visa_debit_/returns_payment_intent_id_and_does_not_raise.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_z51r1vmis8GmwV","request_duration_ms":332}}' + - '{"last_request_metrics":{"request_id":"req_tfIcynbnVwUvuZ","request_duration_ms":406}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:55 GMT + - Wed, 17 Apr 2024 22:38:23 GMT Content-Type: - application/json Content-Length: - - '959' + - '995' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3a748761-c9d5-457a-90d3-de20840bbf7d + - a7b996f1-a409-4a18-aa1b-1880b0a5034e Original-Request: - - req_VALmocWLrAFU6l + - req_bkXwpvWqb1uGih Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_VALmocWLrAFU6l + - req_bkXwpvWqb1uGih Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZaoKuuB1fWySnqWkzfqx9", + "id": "pm_1P6h7TKuuB1fWySnjAMDCuUb", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,28 +123,28 @@ http_interactions: }, "wallet": null }, - "created": 1712887915, + "created": 1713393503, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:11:55 GMT + recorded_at: Wed, 17 Apr 2024 22:38:23 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_1P4ZaoKuuB1fWySnqWkzfqx9&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1P6h7TKuuB1fWySnjAMDCuUb&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VALmocWLrAFU6l","request_duration_ms":494}}' + - '{"last_request_metrics":{"request_id":"req_bkXwpvWqb1uGih","request_duration_ms":573}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:55 GMT + - Wed, 17 Apr 2024 22:38:24 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8074ae26-4105-4e3a-9efb-e55662375723 + - 554816c3-59e5-4e14-ae85-c157106cfeb6 Original-Request: - - req_AyKwRZp7jjz9nT + - req_F5w6Gb6QlfUAzd Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_AyKwRZp7jjz9nT + - req_F5w6Gb6QlfUAzd Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,7 +211,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZapKuuB1fWySn114ZZMhl", + "id": "pi_3P6h7TKuuB1fWySn2fA3dJIq", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -226,7 +227,7 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887915, + "created": 1713393503, "currency": "eur", "customer": null, "description": null, @@ -237,7 +238,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZaoKuuB1fWySnqWkzfqx9", + "payment_method": "pm_1P6h7TKuuB1fWySnjAMDCuUb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -262,22 +263,22 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:11:55 GMT + recorded_at: Wed, 17 Apr 2024 22:38:24 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3P4ZapKuuB1fWySn114ZZMhl/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3P6h7TKuuB1fWySn2fA3dJIq/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AyKwRZp7jjz9nT","request_duration_ms":509}}' + - '{"last_request_metrics":{"request_id":"req_F5w6Gb6QlfUAzd","request_duration_ms":507}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -294,7 +295,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:11:56 GMT + - Wed, 17 Apr 2024 22:38:25 GMT Content-Type: - application/json Content-Length: @@ -322,15 +323,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 563f7514-41ef-4760-ba79-f902ff41859a + - '089dc653-e311-418b-a775-17489143e1dd' Original-Request: - - req_27l1AU6X0ljdWZ + - req_pXfL18SxvJbCBU Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_27l1AU6X0ljdWZ + - req_pXfL18SxvJbCBU Stripe-Should-Retry: - 'false' Stripe-Version: @@ -345,7 +346,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4ZapKuuB1fWySn114ZZMhl", + "id": "pi_3P6h7TKuuB1fWySn2fA3dJIq", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -361,18 +362,18 @@ http_interactions: "capture_method": "manual", "client_secret": "", "confirmation_method": "automatic", - "created": 1712887915, + "created": 1713393503, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4ZapKuuB1fWySn12D9ovcC", + "latest_charge": "ch_3P6h7TKuuB1fWySn2rsh6FhI", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4ZaoKuuB1fWySnqWkzfqx9", + "payment_method": "pm_1P6h7TKuuB1fWySnjAMDCuUb", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -397,5 +398,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:11:56 GMT + recorded_at: Wed, 17 Apr 2024 22:38:25 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml similarity index 87% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml index 57c112ce9a..a61ab62589 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_ProfileStorer/create_customer_from_token/when_called_from_Stripe_SCA/fetches_the_customer_id_and_the_card_id_from_the_correct_response_fields.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bPBoCxlClLhaZS","request_duration_ms":610}}' + - '{"last_request_metrics":{"request_id":"req_ClLaOaXNsGN8vL","request_duration_ms":510}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:50 GMT + - Wed, 17 Apr 2024 22:40:09 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 5441af95-0443-407a-b42e-3770e285fdcc + - 26c82b1c-e35b-4828-952f-a080feddcf32 Original-Request: - - req_1G0LAgxg6x4SC1 + - req_z85eXoVPKfYehv Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_1G0LAgxg6x4SC1 + - req_z85eXoVPKfYehv Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcfKuuB1fWySnkQNDpFGL", + "id": "pm_1P6h9BKuuB1fWySnAQFqlFlo", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,19 +123,19 @@ http_interactions: }, "wallet": null }, - "created": 1712888029, + "created": 1713393609, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:50 GMT + recorded_at: Wed, 17 Apr 2024 22:40:09 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=mathilda%40abbottrohan.biz + string: expand[0]=sources&email=ghislaine%40dach.co.uk headers: Content-Type: - application/x-www-form-urlencoded @@ -162,11 +163,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:50 GMT + - Wed, 17 Apr 2024 22:40:10 GMT Content-Type: - application/json Content-Length: - - '821' + - '817' Connection: - close Access-Control-Allow-Credentials: @@ -189,15 +190,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 95a25b44-5748-4293-a12f-b7fa99932fce + - b36aa62a-c1cf-4617-bdd8-3fe3aa3496a4 Original-Request: - - req_2dZVNAhd6Jyt6o + - req_0I9IWH3SSf59xs Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_2dZVNAhd6Jyt6o + - req_0I9IWH3SSf59xs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -212,19 +213,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PuOP1pTFxGmFVN", + "id": "cus_PwaJYPemgpF6Y8", "object": "customer", "address": null, "balance": 0, - "created": 1712888030, + "created": 1713393610, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "mathilda@abbottrohan.biz", - "invoice_prefix": "58B2CE50", + "email": "ghislaine@dach.co.uk", + "invoice_prefix": "F33E9510", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -243,18 +244,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_PuOP1pTFxGmFVN/sources" + "url": "/v1/customers/cus_PwaJYPemgpF6Y8/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Fri, 12 Apr 2024 02:13:50 GMT + recorded_at: Wed, 17 Apr 2024 22:40:10 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZcfKuuB1fWySnkQNDpFGL/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P6h9BKuuB1fWySnAQFqlFlo/attach body: encoding: UTF-8 - string: customer=cus_PuOP1pTFxGmFVN + string: customer=cus_PwaJYPemgpF6Y8 headers: Content-Type: - application/x-www-form-urlencoded @@ -282,11 +283,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:51 GMT + - Wed, 17 Apr 2024 22:40:11 GMT Content-Type: - application/json Content-Length: - - '971' + - '1007' Connection: - close Access-Control-Allow-Credentials: @@ -310,15 +311,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 3c3a7d97-f95c-4581-829b-ce14d4af25c2 + - cd195fa3-40ac-44ab-8a8a-fe68d61ff151 Original-Request: - - req_gsnUxXz0kcPVk6 + - req_FLbgIeKnb6BHgs Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_gsnUxXz0kcPVk6 + - req_FLbgIeKnb6BHgs Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,8 +334,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZcfKuuB1fWySnkQNDpFGL", + "id": "pm_1P6h9BKuuB1fWySnAQFqlFlo", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -374,11 +376,11 @@ http_interactions: }, "wallet": null }, - "created": 1712888029, - "customer": "cus_PuOP1pTFxGmFVN", + "created": 1713393609, + "customer": "cus_PwaJYPemgpF6Y8", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:51 GMT + recorded_at: Wed, 17 Apr 2024 22:40:11 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml similarity index 86% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml index 8c391b0a56..b6988f2b63 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/Stripe_ProfileStorer/create_customer_from_token/when_request_fails/raises_an_error.yml @@ -8,13 +8,13 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2025&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1G0LAgxg6x4SC1","request_duration_ms":603}}' + - '{"last_request_metrics":{"request_id":"req_z85eXoVPKfYehv","request_duration_ms":454}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,11 +31,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:52 GMT + - Wed, 17 Apr 2024 22:40:11 GMT Content-Type: - application/json Content-Length: - - '960' + - '996' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - ec502cf7-c372-4476-80c7-f02667a94908 + - 5eb33193-9d49-4406-aaa0-e62804b00099 Original-Request: - - req_xqEnaIGPa64sqy + - req_AezHDQR6swerUC Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_xqEnaIGPa64sqy + - req_AezHDQR6swerUC Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,8 +81,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZciKuuB1fWySnEyae4LaJ", + "id": "pm_1P6h9DKuuB1fWySnlqKvKCqJ", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -122,13 +123,13 @@ http_interactions: }, "wallet": null }, - "created": 1712888032, + "created": 1713393611, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:52 GMT + recorded_at: Wed, 17 Apr 2024 22:40:11 GMT - request: method: post uri: https://api.stripe.com/v1/customers @@ -137,13 +138,13 @@ http_interactions: string: name=Apple+Customer&email=applecustomer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xqEnaIGPa64sqy","request_duration_ms":655}}' + - '{"last_request_metrics":{"request_id":"req_AezHDQR6swerUC","request_duration_ms":512}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -160,7 +161,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:53 GMT + - Wed, 17 Apr 2024 22:40:12 GMT Content-Type: - application/json Content-Length: @@ -187,15 +188,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - be9ee9ae-5d35-4952-9be2-fb3e051149c9 + - dc780644-1c06-4a19-91b2-2cd1d84b51a8 Original-Request: - - req_KGxjrrPZ0gM54i + - req_vxSKfzkLvLJxGe Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_KGxjrrPZ0gM54i + - req_vxSKfzkLvLJxGe Stripe-Should-Retry: - 'false' Stripe-Version: @@ -210,18 +211,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PuOPBkYDsYpzrO", + "id": "cus_PwaJjS6XT3TQ5f", "object": "customer", "address": null, "balance": 0, - "created": 1712888032, + "created": 1713393612, "currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, "email": "applecustomer@example.com", - "invoice_prefix": "D12FF68C", + "invoice_prefix": "19C2805E", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -238,22 +239,22 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Fri, 12 Apr 2024 02:13:53 GMT + recorded_at: Wed, 17 Apr 2024 22:40:12 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZciKuuB1fWySnEyae4LaJ/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P6h9DKuuB1fWySnlqKvKCqJ/attach body: encoding: UTF-8 - string: customer=cus_PuOPBkYDsYpzrO + string: customer=cus_PwaJjS6XT3TQ5f headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KGxjrrPZ0gM54i","request_duration_ms":614}}' + - '{"last_request_metrics":{"request_id":"req_vxSKfzkLvLJxGe","request_duration_ms":511}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -270,11 +271,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:54 GMT + - Wed, 17 Apr 2024 22:40:13 GMT Content-Type: - application/json Content-Length: - - '971' + - '1007' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -298,15 +299,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - bac8d720-9bd5-44e7-b215-e7342122e0ea + - 1af4a374-7d69-4a9c-aa74-7349f7f6c74d Original-Request: - - req_WjxjsRdJmU7cJY + - req_XG8res7ijCpIgW Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_WjxjsRdJmU7cJY + - req_XG8res7ijCpIgW Stripe-Should-Retry: - 'false' Stripe-Version: @@ -321,8 +322,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZciKuuB1fWySnEyae4LaJ", + "id": "pm_1P6h9DKuuB1fWySnlqKvKCqJ", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -362,19 +364,19 @@ http_interactions: }, "wallet": null }, - "created": 1712888032, - "customer": "cus_PuOPBkYDsYpzrO", + "created": 1713393611, + "customer": "cus_PwaJjS6XT3TQ5f", "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:13:54 GMT + recorded_at: Wed, 17 Apr 2024 22:40:13 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: expand[0]=sources&email=minnie%40strosin.co.uk + string: expand[0]=sources&email=leia%40lindgrenwolf.biz headers: Content-Type: - application/x-www-form-urlencoded @@ -402,11 +404,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:55 GMT + - Wed, 17 Apr 2024 22:40:14 GMT Content-Type: - application/json Content-Length: - - '817' + - '818' Connection: - close Access-Control-Allow-Credentials: @@ -429,15 +431,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - c109dbd6-c0f4-44e1-b8f0-a618a9e6d092 + - 799dd531-ec2d-4e1d-9d1c-f23c6cec1bb7 Original-Request: - - req_lqkzKLLcZ8k6ni + - req_J9xl2e10YfvJQZ Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_lqkzKLLcZ8k6ni + - req_J9xl2e10YfvJQZ Stripe-Should-Retry: - 'false' Stripe-Version: @@ -452,19 +454,19 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_PuOPBbSBS7xMfP", + "id": "cus_PwaJXiDsdJ2WVw", "object": "customer", "address": null, "balance": 0, - "created": 1712888035, + "created": 1713393613, "currency": null, "default_currency": null, "default_source": null, "delinquent": false, "description": null, "discount": null, - "email": "minnie@strosin.co.uk", - "invoice_prefix": "A7F9955D", + "email": "leia@lindgrenwolf.biz", + "invoice_prefix": "11F84DD5", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -483,18 +485,18 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/customers/cus_PuOPBbSBS7xMfP/sources" + "url": "/v1/customers/cus_PwaJXiDsdJ2WVw/sources" }, "tax_exempt": "none", "test_clock": null } - recorded_at: Fri, 12 Apr 2024 02:13:55 GMT + recorded_at: Wed, 17 Apr 2024 22:40:14 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_methods/pm_1P4ZciKuuB1fWySnEyae4LaJ/attach + uri: https://api.stripe.com/v1/payment_methods/pm_1P6h9DKuuB1fWySnlqKvKCqJ/attach body: encoding: UTF-8 - string: customer=cus_PuOPBbSBS7xMfP + string: customer=cus_PwaJXiDsdJ2WVw headers: Content-Type: - application/x-www-form-urlencoded @@ -522,7 +524,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:13:56 GMT + - Wed, 17 Apr 2024 22:40:14 GMT Content-Type: - application/json Content-Length: @@ -550,15 +552,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 463765c4-804f-4ce4-8253-3fcd2b6c33db + - 4fc2fa0b-44af-4807-ac6a-9695ce2e80db Original-Request: - - req_npfHy9Ak2Kfwg4 + - req_KR00YULmT3JDWA Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_npfHy9Ak2Kfwg4 + - req_KR00YULmT3JDWA Stripe-Should-Retry: - 'false' Stripe-Version: @@ -575,9 +577,9 @@ http_interactions: { "error": { "message": "The payment method you provided has already been attached to a customer.", - "request_log_url": "https://dashboard.stripe.com/test/logs/req_npfHy9Ak2Kfwg4?t=1712888036", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_KR00YULmT3JDWA?t=1713393614", "type": "invalid_request_error" } } - recorded_at: Fri, 12 Apr 2024 02:13:56 GMT + recorded_at: Wed, 17 Apr 2024 22:40:14 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml similarity index 88% rename from spec/fixtures/vcr_cassettes/Stripe-v11.0.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml rename to spec/fixtures/vcr_cassettes/Stripe-v11.1.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml index 1fa4f38aa4..5ffd4bc880 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v11.0.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v11.1.0/_As_an_hub_manager_I_want_to_make_Stripe_payments_/with_a_payment_using_a_StripeSCA_payment_method/that_is_completed/allows_to_refund_the_payment.yml @@ -8,13 +8,13 @@ http_interactions: string: type=standard&country=AU&email=lettuce.producer%40example.com headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xwNgw4AYwwJXMs","request_duration_ms":495}}' + - '{"last_request_metrics":{"request_id":"req_ujKgcbLv0jphd1","request_duration_ms":357}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -31,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:15:09 GMT + - Wed, 17 Apr 2024 22:41:17 GMT Content-Type: - application/json Content-Length: @@ -58,15 +58,15 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 6607a2f6-cecb-417a-b1d0-f63f3901de83 + - e069e735-936b-48ba-bc11-d950eacdfcb1 Original-Request: - - req_IgbdyG6AlIsqxf + - req_MacTcb3W5I01lR Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_IgbdyG6AlIsqxf + - req_MacTcb3W5I01lR Stripe-Should-Retry: - 'false' Stripe-Version: @@ -81,7 +81,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Zdv3rThJiS0D4", + "id": "acct_1P6hAG4EoLbwaGwm", "object": "account", "business_profile": { "annual_revenue": null, @@ -103,7 +103,7 @@ http_interactions: "type": "application" }, "country": "AU", - "created": 1712888108, + "created": 1713393676, "default_currency": "aud", "details_submitted": false, "email": "lettuce.producer@example.com", @@ -112,7 +112,7 @@ http_interactions: "data": [], "has_more": false, "total_count": 0, - "url": "/v1/accounts/acct_1P4Zdv3rThJiS0D4/external_accounts" + "url": "/v1/accounts/acct_1P6hAG4EoLbwaGwm/external_accounts" }, "future_requirements": { "alternatives": [], @@ -209,7 +209,7 @@ http_interactions: }, "type": "standard" } - recorded_at: Fri, 12 Apr 2024 02:15:09 GMT + recorded_at: Wed, 17 Apr 2024 22:41:17 GMT - request: method: get uri: https://api.stripe.com/v1/payment_methods/pm_card_mastercard @@ -218,13 +218,13 @@ http_interactions: string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IgbdyG6AlIsqxf","request_duration_ms":1910}}' + - '{"last_request_metrics":{"request_id":"req_MacTcb3W5I01lR","request_duration_ms":1826}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -241,11 +241,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:15:09 GMT + - Wed, 17 Apr 2024 22:41:18 GMT Content-Type: - application/json Content-Length: - - '977' + - '1013' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -273,7 +273,7 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_SSsnHgomVFyjc7 + - req_E17pqy1AQKNOhA Stripe-Version: - '2024-04-10' Vary: @@ -286,8 +286,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1P4ZdxKuuB1fWySnT0ZfatJ8", + "id": "pm_1P6hAIKuuB1fWySnoA4ulnW8", "object": "payment_method", + "allow_redisplay": "unspecified", "billing_details": { "address": { "city": null, @@ -327,13 +328,13 @@ http_interactions: }, "wallet": null }, - "created": 1712888109, + "created": 1713393678, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Fri, 12 Apr 2024 02:15:09 GMT + recorded_at: Wed, 17 Apr 2024 22:41:18 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents @@ -342,19 +343,19 @@ http_interactions: string: amount=2600¤cy=aud&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=automatic&confirm=true headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SSsnHgomVFyjc7","request_duration_ms":631}}' + - '{"last_request_metrics":{"request_id":"req_E17pqy1AQKNOhA","request_duration_ms":449}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4Zdv3rThJiS0D4 + - acct_1P6hAG4EoLbwaGwm Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -367,7 +368,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:15:11 GMT + - Wed, 17 Apr 2024 22:41:19 GMT Content-Type: - application/json Content-Length: @@ -394,17 +395,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - e51e258b-7a52-46f5-a60f-6a8f2f3af5b0 + - 7df0d4fd-d090-4248-ac7e-bb3aa9a6e193 Original-Request: - - req_nzBNjxD9OYU9kB + - req_AmLqrdSk172sQV Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_nzBNjxD9OYU9kB + - req_AmLqrdSk172sQV Stripe-Account: - - acct_1P4Zdv3rThJiS0D4 + - acct_1P6hAG4EoLbwaGwm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -419,7 +420,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zdy3rThJiS0D41S76EvYK", + "id": "pi_3P6hAI4EoLbwaGwm0sUQgKzM", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -435,18 +436,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888110, + "created": 1713393678, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zdy3rThJiS0D41T9lfqBq", + "latest_charge": "ch_3P6hAI4EoLbwaGwm0en1nUyd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zdy3rThJiS0D4v5Cw4AtT", + "payment_method": "pm_1P6hAI4EoLbwaGwmQVOP30ld", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -471,16 +472,16 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:15:11 GMT + recorded_at: Wed, 17 Apr 2024 22:41:19 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zdy3rThJiS0D41S76EvYK + uri: https://api.stripe.com/v1/payment_intents/pi_3P6hAI4EoLbwaGwm0sUQgKzM body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: @@ -490,7 +491,7 @@ http_interactions: X-Stripe-Client-User-Agent: - "" Stripe-Account: - - acct_1P4Zdv3rThJiS0D4 + - acct_1P6hAG4EoLbwaGwm Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -503,7 +504,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:16:06 GMT + - Wed, 17 Apr 2024 22:42:13 GMT Content-Type: - application/json Content-Length: @@ -535,9 +536,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Hsopxe7LD1k5jk + - req_eQMThJH0kUgpA0 Stripe-Account: - - acct_1P4Zdv3rThJiS0D4 + - acct_1P6hAG4EoLbwaGwm Stripe-Version: - '2024-04-10' Vary: @@ -550,7 +551,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zdy3rThJiS0D41S76EvYK", + "id": "pi_3P6hAI4EoLbwaGwm0sUQgKzM", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -566,18 +567,18 @@ http_interactions: "capture_method": "automatic", "client_secret": "", "confirmation_method": "automatic", - "created": 1712888110, + "created": 1713393678, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zdy3rThJiS0D41T9lfqBq", + "latest_charge": "ch_3P6hAI4EoLbwaGwm0en1nUyd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zdy3rThJiS0D4v5Cw4AtT", + "payment_method": "pm_1P6hAI4EoLbwaGwmQVOP30ld", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -602,10 +603,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:16:07 GMT + recorded_at: Wed, 17 Apr 2024 22:42:14 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3P4Zdy3rThJiS0D41S76EvYK + uri: https://api.stripe.com/v1/payment_intents/pi_3P6hAI4EoLbwaGwm0sUQgKzM body: encoding: US-ASCII string: '' @@ -621,7 +622,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4Zdv3rThJiS0D4 + - acct_1P6hAG4EoLbwaGwm Connection: - close Accept-Encoding: @@ -636,11 +637,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:16:07 GMT + - Wed, 17 Apr 2024 22:42:14 GMT Content-Type: - application/json Content-Length: - - '5160' + - '5159' Connection: - close Access-Control-Allow-Credentials: @@ -668,9 +669,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_Ea9pv7z6xM7FS6 + - req_g7KbC11PO7Y9pb Stripe-Account: - - acct_1P4Zdv3rThJiS0D4 + - acct_1P6hAG4EoLbwaGwm Stripe-Version: - '2020-08-27' Vary: @@ -683,7 +684,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3P4Zdy3rThJiS0D41S76EvYK", + "id": "pi_3P6hAI4EoLbwaGwm0sUQgKzM", "object": "payment_intent", "amount": 2600, "amount_capturable": 0, @@ -701,7 +702,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_3P4Zdy3rThJiS0D41T9lfqBq", + "id": "ch_3P6hAI4EoLbwaGwm0en1nUyd", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -709,7 +710,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4Zdy3rThJiS0D41Mnn4AD6", + "balance_transaction": "txn_3P6hAI4EoLbwaGwm0FrqlwpQ", "billing_details": { "address": { "city": null, @@ -725,7 +726,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712888110, + "created": 1713393678, "currency": "aud", "customer": null, "description": null, @@ -745,13 +746,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 17, + "risk_score": 5, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4Zdy3rThJiS0D41S76EvYK", - "payment_method": "pm_1P4Zdy3rThJiS0D4v5Cw4AtT", + "payment_intent": "pi_3P6hAI4EoLbwaGwm0sUQgKzM", + "payment_method": "pm_1P6hAI4EoLbwaGwmQVOP30ld", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -794,14 +795,14 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRaZHYzclRoSmlTMEQ0KOey4rAGMgZ-neuYbd06LBYAkvqVqmdXag_XRwhpJl2MVypbJw6eOwq8p9RueJwfSmljDA4IUO87Omg5", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDZoQUc0RW9MYndhR3dtKMaggbEGMgZ_FnALIFg6LBaPlsY1zgMRdfWxyHZTyVfmLkn556cnMDxvPM8w49hOk_cAuTT8WPgT9V-F", "refunded": false, "refunds": { "object": "list", "data": [], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_3P4Zdy3rThJiS0D41T9lfqBq/refunds" + "url": "/v1/charges/ch_3P6hAI4EoLbwaGwm0en1nUyd/refunds" }, "review": null, "shipping": null, @@ -816,22 +817,22 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_3P4Zdy3rThJiS0D41S76EvYK" + "url": "/v1/charges?payment_intent=pi_3P6hAI4EoLbwaGwm0sUQgKzM" }, "client_secret": "", "confirmation_method": "automatic", - "created": 1712888110, + "created": 1713393678, "currency": "aud", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3P4Zdy3rThJiS0D41T9lfqBq", + "latest_charge": "ch_3P6hAI4EoLbwaGwm0en1nUyd", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1P4Zdy3rThJiS0D4v5Cw4AtT", + "payment_method": "pm_1P6hAI4EoLbwaGwmQVOP30ld", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -856,10 +857,10 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 12 Apr 2024 02:16:07 GMT + recorded_at: Wed, 17 Apr 2024 22:42:14 GMT - request: method: post - uri: https://api.stripe.com/v1/charges/ch_3P4Zdy3rThJiS0D41T9lfqBq/refunds + uri: https://api.stripe.com/v1/charges/ch_3P6hAI4EoLbwaGwm0en1nUyd/refunds body: encoding: UTF-8 string: amount=2600&expand[0]=charge @@ -877,7 +878,7 @@ http_interactions: X-Stripe-Client-User-Metadata: - '{"ip":null}' Stripe-Account: - - acct_1P4Zdv3rThJiS0D4 + - acct_1P6hAG4EoLbwaGwm Connection: - close Accept-Encoding: @@ -892,11 +893,11 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:16:08 GMT + - Wed, 17 Apr 2024 22:42:15 GMT Content-Type: - application/json Content-Length: - - '4536' + - '4535' Connection: - close Access-Control-Allow-Credentials: @@ -920,17 +921,17 @@ http_interactions: Cross-Origin-Opener-Policy-Report-Only: - same-origin; report-to="coop" Idempotency-Key: - - 8ad1387d-6fdf-4c5f-bf9b-6baca9a40282 + - 724001bc-21c7-4ea9-97fe-6b3ef466ac05 Original-Request: - - req_FmEyuSCNEggbLh + - req_rCM7IfNML7hG6S Report-To: - '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}' Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_FmEyuSCNEggbLh + - req_rCM7IfNML7hG6S Stripe-Account: - - acct_1P4Zdv3rThJiS0D4 + - acct_1P6hAG4EoLbwaGwm Stripe-Should-Retry: - 'false' Stripe-Version: @@ -945,12 +946,12 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "re_3P4Zdy3rThJiS0D41TPzIlEI", + "id": "re_3P6hAI4EoLbwaGwm0akAUmM0", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3P4Zdy3rThJiS0D41Z5KlNf2", + "balance_transaction": "txn_3P6hAI4EoLbwaGwm0HV1sEts", "charge": { - "id": "ch_3P4Zdy3rThJiS0D41T9lfqBq", + "id": "ch_3P6hAI4EoLbwaGwm0en1nUyd", "object": "charge", "amount": 2600, "amount_captured": 2600, @@ -958,7 +959,7 @@ http_interactions: "application": "", "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_3P4Zdy3rThJiS0D41Mnn4AD6", + "balance_transaction": "txn_3P6hAI4EoLbwaGwm0FrqlwpQ", "billing_details": { "address": { "city": null, @@ -974,7 +975,7 @@ http_interactions: }, "calculated_statement_descriptor": "OFNOFNOFN", "captured": true, - "created": 1712888110, + "created": 1713393678, "currency": "aud", "customer": null, "description": null, @@ -994,13 +995,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 17, + "risk_score": 5, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_3P4Zdy3rThJiS0D41S76EvYK", - "payment_method": "pm_1P4Zdy3rThJiS0D4v5Cw4AtT", + "payment_intent": "pi_3P6hAI4EoLbwaGwm0sUQgKzM", + "payment_method": "pm_1P6hAI4EoLbwaGwmQVOP30ld", "payment_method_details": { "card": { "amount_authorized": 2600, @@ -1043,18 +1044,18 @@ http_interactions: "radar_options": {}, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDRaZHYzclRoSmlTMEQ0KOiy4rAGMgahZUmK9fw6LBbTJVd7gt6AFl3YKLZqA2_l35i02S-Yqex9MRYil31qHKEEKt3Yw1lFo5Cc", + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xUDZoQUc0RW9MYndhR3dtKMeggbEGMgaBAnXtTzU6LBbNKmageZMos3dLkr8GG17rzn6S5SaQI25HXTOd3pi3Bd0bOoqylhgZQbT2", "refunded": true, "refunds": { "object": "list", "data": [ { - "id": "re_3P4Zdy3rThJiS0D41TPzIlEI", + "id": "re_3P6hAI4EoLbwaGwm0akAUmM0", "object": "refund", "amount": 2600, - "balance_transaction": "txn_3P4Zdy3rThJiS0D41Z5KlNf2", - "charge": "ch_3P4Zdy3rThJiS0D41T9lfqBq", - "created": 1712888168, + "balance_transaction": "txn_3P6hAI4EoLbwaGwm0HV1sEts", + "charge": "ch_3P6hAI4EoLbwaGwm0en1nUyd", + "created": 1713393735, "currency": "aud", "destination_details": { "card": { @@ -1065,7 +1066,7 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P4Zdy3rThJiS0D41S76EvYK", + "payment_intent": "pi_3P6hAI4EoLbwaGwm0sUQgKzM", "reason": null, "receipt_number": null, "source_transfer_reversal": null, @@ -1075,7 +1076,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges/ch_3P4Zdy3rThJiS0D41T9lfqBq/refunds" + "url": "/v1/charges/ch_3P6hAI4EoLbwaGwm0en1nUyd/refunds" }, "review": null, "shipping": null, @@ -1087,7 +1088,7 @@ http_interactions: "transfer_data": null, "transfer_group": null }, - "created": 1712888168, + "created": 1713393735, "currency": "aud", "destination_details": { "card": { @@ -1098,29 +1099,29 @@ http_interactions: "type": "card" }, "metadata": {}, - "payment_intent": "pi_3P4Zdy3rThJiS0D41S76EvYK", + "payment_intent": "pi_3P6hAI4EoLbwaGwm0sUQgKzM", "reason": null, "receipt_number": null, "source_transfer_reversal": null, "status": "succeeded", "transfer_reversal": null } - recorded_at: Fri, 12 Apr 2024 02:16:08 GMT + recorded_at: Wed, 17 Apr 2024 22:42:16 GMT - request: method: delete - uri: https://api.stripe.com/v1/accounts/acct_1P4Zdv3rThJiS0D4 + uri: https://api.stripe.com/v1/accounts/acct_1P6hAG4EoLbwaGwm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/11.0.0 + - Stripe/v1 RubyBindings/11.1.0 Authorization: - "" Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nzBNjxD9OYU9kB","request_duration_ms":1524}}' + - '{"last_request_metrics":{"request_id":"req_AmLqrdSk172sQV","request_duration_ms":1530}}' Stripe-Version: - '2024-04-10' X-Stripe-Client-User-Agent: @@ -1137,7 +1138,7 @@ http_interactions: Server: - nginx Date: - - Fri, 12 Apr 2024 02:16:09 GMT + - Wed, 17 Apr 2024 22:42:17 GMT Content-Type: - application/json Content-Length: @@ -1168,9 +1169,9 @@ http_interactions: Reporting-Endpoints: - coop="https://q.stripe.com/coop-report" Request-Id: - - req_LAGauSlRb5z9tY + - req_j5tuWVNqz8AwVk Stripe-Account: - - acct_1P4Zdv3rThJiS0D4 + - acct_1P6hAG4EoLbwaGwm Stripe-Version: - '2024-04-10' Vary: @@ -1183,9 +1184,9 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "acct_1P4Zdv3rThJiS0D4", + "id": "acct_1P6hAG4EoLbwaGwm", "object": "account", "deleted": true } - recorded_at: Fri, 12 Apr 2024 02:16:09 GMT + recorded_at: Wed, 17 Apr 2024 22:42:17 GMT recorded_with: VCR 6.2.0 From 38a4bfe98bef65a294e6c6a7c665d43e2d607972 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 18 Apr 2024 16:54:16 +1000 Subject: [PATCH 374/374] Update all locales with the latest Transifex translations --- config/locales/ar.yml | 1 + config/locales/ca.yml | 1 + config/locales/cy.yml | 1 + config/locales/de_CH.yml | 1 + config/locales/de_DE.yml | 3 +- config/locales/el.yml | 1 + config/locales/en_AU.yml | 1 + config/locales/en_BE.yml | 1 + config/locales/en_CA.yml | 23 ++++++++ config/locales/en_DE.yml | 1 + config/locales/en_FR.yml | 9 +++ config/locales/en_GB.yml | 1 + config/locales/en_IE.yml | 1 + config/locales/en_IN.yml | 1 + config/locales/en_NZ.yml | 1 + config/locales/en_PH.yml | 1 + config/locales/en_US.yml | 1 + config/locales/en_ZA.yml | 1 + config/locales/es.yml | 1 + config/locales/es_CO.yml | 1 + config/locales/es_CR.yml | 1 + config/locales/es_US.yml | 1 + config/locales/fil_PH.yml | 1 + config/locales/fr.yml | 9 +++ config/locales/fr_BE.yml | 1 + config/locales/fr_CA.yml | 120 ++++++++++++++++++++++++++++++++++++++ config/locales/fr_CH.yml | 1 + config/locales/fr_CM.yml | 1 + config/locales/hi.yml | 1 + config/locales/hu.yml | 1 + config/locales/it.yml | 1 + config/locales/it_CH.yml | 1 + config/locales/ko.yml | 1 + config/locales/ml.yml | 1 + config/locales/nb.yml | 1 + config/locales/nl_BE.yml | 1 + config/locales/pa.yml | 1 + config/locales/pl.yml | 1 + config/locales/pt.yml | 1 + config/locales/pt_BR.yml | 1 + config/locales/ru.yml | 1 + config/locales/sv.yml | 1 + config/locales/tr.yml | 1 + config/locales/uk.yml | 1 + 44 files changed, 202 insertions(+), 1 deletion(-) diff --git a/config/locales/ar.yml b/config/locales/ar.yml index 1f98a353d3..be4307484d 100644 --- a/config/locales/ar.yml +++ b/config/locales/ar.yml @@ -3603,6 +3603,7 @@ ar: new_taxon: "اصنوفة جديدة" new_user: "مستخدم جديد" no_pending_payments: "لا توجد دفعات معلقة" + remove: "إزالة" none: "لا شيء" not_found: "غير موجود" notice_messages: diff --git a/config/locales/ca.yml b/config/locales/ca.yml index cfb102ef8c..1522484fc1 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -3486,6 +3486,7 @@ ca: new_taxon: "Nou tàxon" new_user: "Nou usuari" no_pending_payments: "No hi ha pagaments pendents" + remove: "Eliminar" none: "Cap" not_found: "No trobat" notice_messages: diff --git a/config/locales/cy.yml b/config/locales/cy.yml index 224a3a8e49..2d774a500f 100644 --- a/config/locales/cy.yml +++ b/config/locales/cy.yml @@ -3724,6 +3724,7 @@ cy: new_taxon: "Tacson newydd" new_user: "Defnyddiwr newydd" no_pending_payments: "Dim taliadau yn yr arfaeth" + remove: "Dileu" none: "Dim" not_found: "Heb ei ganfod" notice_messages: diff --git a/config/locales/de_CH.yml b/config/locales/de_CH.yml index ec68f51191..64385cd440 100644 --- a/config/locales/de_CH.yml +++ b/config/locales/de_CH.yml @@ -3412,6 +3412,7 @@ de_CH: new_taxon: "Neue Kategorie" new_user: "Neuer Benutzer" no_pending_payments: "Keine ausstehenden Zahlungen." + remove: "Löschen" none: "Keine" not_found: "Nicht gefunden" notice_messages: diff --git a/config/locales/de_DE.yml b/config/locales/de_DE.yml index 17349d4fc4..fde7a15eb1 100644 --- a/config/locales/de_DE.yml +++ b/config/locales/de_DE.yml @@ -637,7 +637,7 @@ de_DE: configuration_explanation_html: Detaillierte Anweisungen zur Konfiguration der Stripe Connect-Integration finden Sie in der Anleitung. status: Status ok: OK - instance_secret_key: Instanzgeheimschlüssel + instance_secret_key: Geheimer Schlüssel der Instanz account_id: Konto-ID business_name: Unternehmensname charges_enabled: Gebühren aktiviert @@ -3663,6 +3663,7 @@ de_DE: new_taxon: "Neue Kategorie" new_user: "Neuer Benutzer" no_pending_payments: "Keine ausstehenden Zahlungen." + remove: "Löschen" none: "Keine" not_found: "Nicht gefunden" notice_messages: diff --git a/config/locales/el.yml b/config/locales/el.yml index 51dc5ffffe..f8e2a3864d 100644 --- a/config/locales/el.yml +++ b/config/locales/el.yml @@ -3038,6 +3038,7 @@ el: new_taxon: "Νέο ταξί" new_user: "Νέος χρήστης" no_pending_payments: "Δεν υπάρχουν πληρωμές σε εκκρεμότητα" + remove: "Αφαίρεση" none: "Κανένας" not_found: "Δεν βρέθηκε" notice_messages: diff --git a/config/locales/en_AU.yml b/config/locales/en_AU.yml index 676b309ad0..553225c846 100644 --- a/config/locales/en_AU.yml +++ b/config/locales/en_AU.yml @@ -3106,6 +3106,7 @@ en_AU: credit: "Credit" more: "More" no_pending_payments: "No pending payments" + remove: "Remove" none: "None" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" diff --git a/config/locales/en_BE.yml b/config/locales/en_BE.yml index f4b13f9092..3eedba8b4e 100644 --- a/config/locales/en_BE.yml +++ b/config/locales/en_BE.yml @@ -2859,6 +2859,7 @@ en_BE: category: "Category" credit: "Credit" more: "More" + remove: "Remove" none: "None" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" diff --git a/config/locales/en_CA.yml b/config/locales/en_CA.yml index 25afb35d22..29a11fa88f 100644 --- a/config/locales/en_CA.yml +++ b/config/locales/en_CA.yml @@ -194,6 +194,9 @@ en_CA: transaction_not_allowed: "The card has been declined for an unknown reason." try_again_later: "The card has been declined for an unknown reason." withdrawal_count_limit_exceeded: "The customer has exceeded the balance or credit limit available on their card." + disconnect_failure: "Failed to disconnecct Stripe." + success_code: + disconnected: "Stripe account disconnected." activemodel: errors: messages: @@ -223,6 +226,8 @@ en_CA: community_forum_url: "Community forum URL" customer_instructions: "Customer instructions" additional_information: "Additional information" + connect_app: + url: "https://n8n.opernfoodnetwork.org/webhook/regen-CAN/connect-enterprise" devise: passwords: spree_user: @@ -512,8 +517,10 @@ en_CA: colums: Columns columns: name: Name + unit_scale: Unit scale unit: Unit unit_value: Unit value + display_as: Display unit as price: Price producer: Producer category: Category @@ -695,6 +702,10 @@ en_CA: your_content: Your content user_guide: User Guide map: Map + dfc_product_imports: + index: + title: "Importing a DFC product catalog" + imported_products: "Imported products:" enterprise_fees: index: title: "Enterprise Fees" @@ -862,7 +873,9 @@ en_CA: tax_categories: Tax Categories shipping_categories: Shipping Categories dfc_import_form: + title: "Import from DFC catalog" enterprise: "Enterprise" + catalog_url: "DFC catalog URL" import: "Import" import: review: Review @@ -1172,6 +1185,7 @@ en_CA: open_date: "Open Date" close_date: "Close Date" display_ordering_in_shopfront: "Display ordering in shopfront:" + shopfront_sort_by_product: "By product" shopfront_sort_by_category: "By category" shopfront_sort_by_producer: "By producer" shopfront_sort_by_category_placeholder: "Category" @@ -1647,9 +1661,15 @@ en_CA: index: title: "OIDC Settings" connect: "Connect Your Account" + disconnect: "Disconnect" + connected: "Your account is linked to %{uid}." les_communs_link: "Les Communs Open ID server" link_your_account: "First you need to link your account with the authorization provider used by DFC (Les Communs Open ID Connect)." link_account_button: "Link your Les Communs OIDC Account" + note_expiry: | + Tokens to access connected apps have expired. Please refresh your + account connection to keep all integrations working. + refresh: "Refresh authorisation" view_account: "To view your account, see:" subscriptions: index: @@ -3706,6 +3726,7 @@ en_CA: new_taxon: "New taxon" new_user: "New user" no_pending_payments: "No pending payments" + remove: "Remove" none: "None" not_found: "Not found" notice_messages: @@ -3722,6 +3743,8 @@ en_CA: start_date: "Start date" successfully_removed: "Successfully Removed" taxonomy_edit: "Taxonomy edit" + taxonomy_tree_error: "There was an error updating the taxonomy tree." + taxonomy_tree_instruction: "Right-click on an item to add, rename, remove or edit." tree: "Tree" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" diff --git a/config/locales/en_DE.yml b/config/locales/en_DE.yml index 3b38a7c248..80ac27c6ed 100644 --- a/config/locales/en_DE.yml +++ b/config/locales/en_DE.yml @@ -2868,6 +2868,7 @@ en_DE: category: "Category" credit: "Credit" more: "More" + remove: "Remove" none: "None" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" diff --git a/config/locales/en_FR.yml b/config/locales/en_FR.yml index 7a697f98ad..1a50fd6267 100644 --- a/config/locales/en_FR.yml +++ b/config/locales/en_FR.yml @@ -222,6 +222,10 @@ en_FR: not_available_to_shop: "is not available to %{shop}" card_details: "Card details" card_type: "Card type" + card_type_is: "Card type is" + unrecognized_card_type: "Unrecognized card type" + use_new_cc: "Use a new credit card" + what_is_this: "What is this?" cardholder_name: "Cardholder name" community_forum_url: "Community forum URL" customer_instructions: "Customer instructions" @@ -650,6 +654,7 @@ en_FR: status: Status ok: Ok instance_secret_key: Instance Secret Key + instance_publishable_key: Instance Publishable Key account_id: Account ID business_name: Business Name charges_enabled: Charges Enabled @@ -2492,6 +2497,7 @@ en_FR: orders_bought_already_confirmed: "* already confirmed" orders_confirm_cancel: "Are you sure you want to cancel this order?" order_processed_successfully: "Your order has been processed successfully" + thank_you_for_your_order: "Thank you for your order" products_cart_distributor_choice: "Distributor for your order:" products_cart_distributor_change: "Your distributor for this order will be changed to %{name} if you add this product to your cart." products_cart_distributor_is: "Your distributor for this order is %{name}." @@ -3716,6 +3722,7 @@ en_FR: editing_tax_category: "Editing tax category" editing_tax_rate: "Editing tax rate" editing_zone: "Editing zone" + editing_state: "Editing State" expiration: "Expiration" invalid_payment_provider: "Invalid payment provider" items_cannot_be_shipped: "Items cannot be shipped" @@ -3727,6 +3734,7 @@ en_FR: new_taxon: "New taxon" new_user: "New user" no_pending_payments: "No pending payments" + remove: "Remove" none: "None" not_found: "Not found" notice_messages: @@ -3753,6 +3761,7 @@ en_FR: resend: "Resend" back_to_orders_list: "Back To Orders List" back_to_payments_list: "Back To Payments List" + back_to_states_list: "Back To States List" return_authorizations: "Return Authorizations" cannot_create_returns: "Cannot create returns as this order has no shipped units." select_stock: "Select stock" diff --git a/config/locales/en_GB.yml b/config/locales/en_GB.yml index 6205d4b234..3530fc640f 100644 --- a/config/locales/en_GB.yml +++ b/config/locales/en_GB.yml @@ -3718,6 +3718,7 @@ en_GB: new_taxon: "New taxon" new_user: "New user" no_pending_payments: "No pending payments" + remove: "Remove" none: "None" not_found: "Not found" notice_messages: diff --git a/config/locales/en_IE.yml b/config/locales/en_IE.yml index a84a29a26c..d58402827c 100644 --- a/config/locales/en_IE.yml +++ b/config/locales/en_IE.yml @@ -3720,6 +3720,7 @@ en_IE: new_taxon: "New taxon" new_user: "New user" no_pending_payments: "No pending payments" + remove: "Remove" none: "None" not_found: "Not found" notice_messages: diff --git a/config/locales/en_IN.yml b/config/locales/en_IN.yml index 61f6e7e610..64b8d02c11 100644 --- a/config/locales/en_IN.yml +++ b/config/locales/en_IN.yml @@ -3033,6 +3033,7 @@ en_IN: credit: "Credit" more: "More" no_pending_payments: "No pending payments" + remove: "Remove" none: "None" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" diff --git a/config/locales/en_NZ.yml b/config/locales/en_NZ.yml index 8856a02077..0abd85c023 100644 --- a/config/locales/en_NZ.yml +++ b/config/locales/en_NZ.yml @@ -3351,6 +3351,7 @@ en_NZ: credit: "Credit" more: "More" no_pending_payments: "No pending payments" + remove: "Remove" none: "None" refund: "Refund" updating: "Updating" diff --git a/config/locales/en_PH.yml b/config/locales/en_PH.yml index 3650ec7522..c492d71a9f 100644 --- a/config/locales/en_PH.yml +++ b/config/locales/en_PH.yml @@ -2991,6 +2991,7 @@ en_PH: credit: "Credit" more: "More" no_pending_payments: "No pending payments" + remove: "Remove" none: "None" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" diff --git a/config/locales/en_US.yml b/config/locales/en_US.yml index 100eba5dc7..58e3454eba 100644 --- a/config/locales/en_US.yml +++ b/config/locales/en_US.yml @@ -3343,6 +3343,7 @@ en_US: new_taxon: "New taxon" new_user: "New user" no_pending_payments: "No pending payments" + remove: "Remove" none: "None" not_found: "Not found" notice_messages: diff --git a/config/locales/en_ZA.yml b/config/locales/en_ZA.yml index 4f6a989e67..0d920527ad 100644 --- a/config/locales/en_ZA.yml +++ b/config/locales/en_ZA.yml @@ -2933,6 +2933,7 @@ en_ZA: credit: "Credit" more: "More" no_pending_payments: "No pending payments" + remove: "Remove" none: "None" updating: "Updating" your_order_is_empty_add_product: "Your order is empty, please search for and add a product above" diff --git a/config/locales/es.yml b/config/locales/es.yml index 900e732530..7c3473f7c2 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -3484,6 +3484,7 @@ es: new_taxon: "Nuevo taxón" new_user: "Nuevo usuario" no_pending_payments: "No tiene pagos pendientes" + remove: "Eliminar" none: "Ninguno" not_found: "No encontrado" notice_messages: diff --git a/config/locales/es_CO.yml b/config/locales/es_CO.yml index df299aeab8..964ea1c945 100644 --- a/config/locales/es_CO.yml +++ b/config/locales/es_CO.yml @@ -3092,6 +3092,7 @@ es_CO: credit: "Crédito" more: "Más" no_pending_payments: "No tiene pagos pendientes" + remove: "Eliminar" none: "Ninguno" updating: "Actualizando" your_order_is_empty_add_product: "Su pedido está vacío, busque y añada un producto arriba" diff --git a/config/locales/es_CR.yml b/config/locales/es_CR.yml index d2f0146e1d..3b903b274c 100644 --- a/config/locales/es_CR.yml +++ b/config/locales/es_CR.yml @@ -3442,6 +3442,7 @@ es_CR: new_taxon: "Nuevo taxon" new_user: "Nuevo usuari" no_pending_payments: "No tiene pagos pendientes" + remove: "Eliminar" none: "Ninguno" not_found: "No encontrado" notice_messages: diff --git a/config/locales/es_US.yml b/config/locales/es_US.yml index df9a64fdce..35e2dc488b 100644 --- a/config/locales/es_US.yml +++ b/config/locales/es_US.yml @@ -3300,6 +3300,7 @@ es_US: new_tax_category: "Nueva categoría de impuestos" new_user: "Nuevo usuario" no_pending_payments: "No tiene pagos pendientes" + remove: "Eliminar" none: "Ninguno" not_found: "no encontrado" notice_messages: diff --git a/config/locales/fil_PH.yml b/config/locales/fil_PH.yml index 002e334a38..13c709fda4 100644 --- a/config/locales/fil_PH.yml +++ b/config/locales/fil_PH.yml @@ -3003,6 +3003,7 @@ fil_PH: credit: "utang" more: "Karagdagang Impormasyon" no_pending_payments: "walang nakabinbin na mga bayad" + remove: "Tanggalin" none: "wala" updating: "ina-update" your_order_is_empty_add_product: "ang iyong order ay walang laman, humanap at magdagdag ng produkto sa itaas." diff --git a/config/locales/fr.yml b/config/locales/fr.yml index aba4d2363e..74a8d86f47 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -222,6 +222,10 @@ fr: not_available_to_shop: "n'est pas disponible pour %{shop}" card_details: "Détalis de la carte" card_type: "Type de carte" + card_type_is: "Type de carte" + unrecognized_card_type: "Type de carte non reconnu" + use_new_cc: "Utilisez une nouvelle carte bancaire" + what_is_this: "Qu'est-ce que c'est ?" cardholder_name: "Titulaire de la carte" community_forum_url: "Lien vers le forum" customer_instructions: "Précisions pour l'acheteur" @@ -649,6 +653,7 @@ fr: status: Statut ok: Ok instance_secret_key: Clé Secrète de l'Instance + instance_publishable_key: Clé publique de l'instance account_id: Identifiant Compte business_name: Nom de l'entreprise charges_enabled: Frais activés @@ -2497,6 +2502,7 @@ fr: orders_bought_already_confirmed: "* déjà confirmé" orders_confirm_cancel: "Voulez-vous vraiment annuler cette commande ?" order_processed_successfully: "Votre commande a été traitée avec succès" + thank_you_for_your_order: "Merci pour votre commande" products_cart_distributor_choice: "Distributeur pour votre commande:" products_cart_distributor_change: "Vore distributeur pour cette commande sera dorénavant %{name} si vous ajoutez ce produit à votre panier." products_cart_distributor_is: "Votre distributeur pour cette commande est %{name}." @@ -3773,6 +3779,7 @@ fr: editing_tax_category: "Modifier une catégorie de taxe" editing_tax_rate: "Modifier un taux" editing_zone: "Modifier une zone" + editing_state: "Modifier département" expiration: "Expiration" invalid_payment_provider: "Fournisseur de paiement invalide" items_cannot_be_shipped: "Les produits ne peuvent pas être envoyés" @@ -3784,6 +3791,7 @@ fr: new_taxon: "Nouvelle taxonomie" new_user: "Nouvel utilisateur" no_pending_payments: "Aucun paiement en attente." + remove: "Supprimer" none: "Aucun" not_found: "Non trouvé" notice_messages: @@ -3810,6 +3818,7 @@ fr: resend: "Renvoyer" back_to_orders_list: "Retour à la liste des commandes" back_to_payments_list: "Retour à la liste des paiements" + back_to_states_list: "Retour à la liste" return_authorizations: "Autorisations de retours" cannot_create_returns: "Impossible de créer une autorisation de retour car aucun produit n'a été livré pour cette commande." select_stock: "Sélectionner le stock" diff --git a/config/locales/fr_BE.yml b/config/locales/fr_BE.yml index 4af648c4f7..4e08d7b657 100644 --- a/config/locales/fr_BE.yml +++ b/config/locales/fr_BE.yml @@ -3375,6 +3375,7 @@ fr_BE: new_adjustment: "Nouvel ajustement" new_tax_category: "Nouvelle catégorie de taxe" no_pending_payments: "Aucun paiement en attente" + remove: "Supprimer" none: "Aucun" notice_messages: variant_deleted: "Variante supprimée" diff --git a/config/locales/fr_CA.yml b/config/locales/fr_CA.yml index 2ff74c21c1..7f9b2fe62c 100644 --- a/config/locales/fr_CA.yml +++ b/config/locales/fr_CA.yml @@ -1,5 +1,8 @@ fr_CA: language_name: "Français" + time: + formats: + long: "%B %d, %Y %-l:%M %p" activerecord: models: spree/product: Produit @@ -78,6 +81,10 @@ fr_CA: models: enterprise_fee: inherit_tax_requires_per_item_calculator: "Déterminer la catégorie de taxe requiert l'utilisation du calculateur par article" + spree/image: + attributes: + attachment: + integrity_error: "failed to load. Please check to ensure the file is not corrupt, and try again." spree/user: attributes: email: @@ -134,6 +141,7 @@ fr_CA: unprocessable_entity: title: "La modification réalisée a été rejetée (erreur 422)" message_html: "

La modification souhaitée a été refusée. Peut-être avez-vous essayé de faire quelque chose sans avoir les droits d'accès suffisants ?

Retourner à l'accueil

" + stimulus_reflex_error: "Nous sommes désolés mais quelque chose s'est mal passé.\n\n C'est un problème temporaire, merci donc de réessayer ou de recharger la page. \nNous enregistrons toutes les erreurs et travaillons sur les améliorations nécessaires.\nSi le problème persiste ou est urgent, merci de nous contacter.\n " stripe: error_code: incorrect_number: "e numéro de carte bancaire est incorrect." @@ -186,6 +194,9 @@ fr_CA: transaction_not_allowed: "La carte bancaire a été refusée pour une raison inconnue." try_again_later: "La carte bancaire a été refusée pour une raison inconnue." withdrawal_count_limit_exceeded: "L'acheteur a dépassé son plafond de carte bancaire." + disconnect_failure: "Déconnecter Stripe a échoué." + success_code: + disconnected: "Le compte Stripe est déconnecté." activemodel: errors: messages: @@ -215,6 +226,8 @@ fr_CA: community_forum_url: "Lien vers le forum" customer_instructions: "Précisions pour l'acheteur" additional_information: "Informations additionnelles" + connect_app: + url: "https://n8n.openfoodnetwork.org/webhook/regen-CAN/connect-enterprise" devise: passwords: spree_user: @@ -294,6 +307,9 @@ fr_CA: integer_array_validator: not_array_error: "doit être une séquence" invalid_element_error: "doit contenir uniquement des nombres entiers" + report_job: + report_failed: | + L'édition de ce rapport a échoué. Il est probablement trop volumineux. Nous allons examiner cela, mais faites-nous signe si le problème persiste. enterprise_mailer: confirmation_instructions: subject: "Confirmez l'adresse email pour %{enterprise}" @@ -383,6 +399,7 @@ fr_CA: cancel_order: "Annuler la commande" confirm_send_invoice: "La facture de cette commande va être transmise à l'acheteur. Etes-vous sûr de vouloir continuer ?" confirm_resend_order_confirmation: "Etes-vous sûr de vouloir renvoyer le mail de confirmation de commande ?" + must_have_valid_business_number: "%{enterprise_name} doit avoir un SIRET valide avant que les factures puissent être envoyées. " invoice: "Facture" invoices: "Factures" file: "fichier" @@ -500,8 +517,10 @@ fr_CA: colums: Colonnes columns: name: Nom + unit_scale: Échelle d'unité unit: Unité unit_value: Nb unités + display_as: 'Afficher l''unité en ' price: Prix producer: Producteur category: Catégorie @@ -593,6 +612,9 @@ fr_CA: has_n_rules: "a %{num} règles" unsaved_confirm_leave: "Des modifications n'ont pas été sauvegardées et seront perdues si vous quittez la page. Souhaitez-vous quitter la page?" available_units: "Unités disponibles" + terms_of_service_have_been_updated_html: "Les conditions d'utilisation de CoopCircuits ont été mises à jour : %{tos_link}" + terms_of_service: Lire les conditions d'utilisation + accept_terms_of_service: Accepter les conditions d'utilisation shopfront_settings: embedded_shopfront_settings: "Paramètres Boutiques Intégrées" enable_embedded_shopfronts: "Autoriser l'intégration des boutiques" @@ -680,6 +702,10 @@ fr_CA: your_content: Votre contenu user_guide: Guide utilisateur map: Carte + dfc_product_imports: + index: + title: "Importation d'un produit du catalogue DFC" + imported_products: "Produits importés :" enterprise_fees: index: title: "Marges et Commissions" @@ -746,9 +772,22 @@ fr_CA: header: title: Gestion du catalogue produits loading: Vos produits sont en cours de chargement + delete_modal: + delete_product_modal: + heading: "Supprimer produit" + prompt: "Cette action va supprimer ceci de façon permanente de votre liste." + confirmation_text: "Supprimer produit" + cancellation_text: "Conserver le produit" + delete_variant_modal: + heading: "Supprimer la variante" + prompt: "Cette action va supprimer ceci de façon permanente de votre liste." + confirmation_text: "Supprimer la variante" + cancellation_text: "Conserver la variante" filters: search_products: Chercher des produits + search_for_producers: Rechercher des producteurs all_producers: Tous les producteurs + search_for_categories: Rechercher des catégories all_categories: Toutes les catégories producers: label: Producteurs @@ -770,11 +809,29 @@ fr_CA: changed_summary: one: "%{count} produits modifiés" other: "%{count} produits modifiés" + error_summary: + saved: + one: "%{count}le produit a été sauvegardé correctement, mais " + other: "%{count} les produits ont été sauvegardés correctement, mais" + invalid: + one: "%{count} produit n'a pas pu être sauvegardé. Veuillez examiner les erreurs et réessayer." + many: "%{count} produits n'ont pas pu être sauvegardés. Veuillez examiner les erreurs et réessayer." + other: "%{count} produits n'ont pas pu être sauvegardés. Veuillez examiner les erreurs et réessayer." reset: Annuler les changements save: Sauvegarder les changements new_variant: Nouvelle variante + bulk_update: + success: Changements sauvegardés edit_image: + title: Modifier la photo du produit close: Retour + upload: Télécharger la photo + delete_product: + success: Le produit a bien été supprimé + error: Le produit n'a pas pu être supprimé + delete_variant: + success: La variante a bien été supprimée + error: La variante n'a pas pu être supprimée product_import: title: import produit file_not_found: Fichier non trouvé ou impossible à ouvrir @@ -817,7 +874,9 @@ fr_CA: tax_categories: Taxe applicable shipping_categories: Condition de transport dfc_import_form: + title: "Importer depuis le catalogue DFC" enterprise: "Entreprise" + catalog_url: "URL du catalogue DFC" import: "Importer" import: review: Vérifier @@ -920,6 +979,7 @@ fr_CA: orders: edit: order_sure_want_to: Etes-vous sûr de vouloir %{event} cette commande ? + voucher_tax_included_in_price: "%{label} (taxe inclue dans le bon de réduction)" invoice_email_sent: 'L''email de facturation a bien été envoyé' order_email_resent: 'L''email de commande a de nouveau été envoyé' bulk_management: @@ -1022,6 +1082,7 @@ fr_CA: images: legend: "Images" logo: Logo + logo_size: "300 x 300 pixels" promo_image_placeholder: 'Cette image est affichée dans "A propos"' promo_image_note1: 'ATTENTION:' promo_image_note2: Votre bannière doit mesurer 1200 x 260, toute image non conforme sera rognée. @@ -1127,6 +1188,7 @@ fr_CA: open_date: "Date d'ouverture" close_date: "Date de fermeture" display_ordering_in_shopfront: "Ordre d'affichage sur la boutique en ligne:" + shopfront_sort_by_product: "Par produit" shopfront_sort_by_category: "Par catégorie" shopfront_sort_by_producer: "Par producteur" shopfront_sort_by_category_placeholder: "Catégorie" @@ -1210,7 +1272,27 @@ fr_CA: custom_tab_content: "Contenu de l'onglet personnalisé" connected_apps: legend: "Connected apps https://n8n.openfoodnetwork.org.uk/webhook-test/regen/connect-enterprise/can" + title: "Discover Regenerative" + tagline: "Autoriser Discover Regenerative à publier les informations de votre entreprise" + enable: "Autoriser le partage de données" + disable: "Arrêter le partage" loading: "Chargement en cours" + note: | + Votre compte Open Food Network est connecté à Discover Regenerative. + Ajouter et mettre à jour les informations sur votre liste Discover Regenerative ici. + link_label: "Gérer la liste" + description_html: | +

+ Les producteurs éligibles peuvent mettre en avant leurs références Regenerative, + pratiques agricoles et plus à travers le listing du profil. + Simplifier comment les acheteurs peuvent trouver les produits regeneratives et se connecter + avec des producteurs. +

+

+ En savoir plus sur Discover Regenerative + +

actions: edit_profile: Paramètres properties: Labels / propriétés @@ -1440,6 +1522,8 @@ fr_CA: has_no_payment_methods: "%{enterprise} n'a pas défini de méthode de paiement" has_no_shipping_methods: "%{enterprise} n'a pas défini de méthode de livraison" has_no_enterprise_fees: "%{enterprise} n'a pas défini de marges et commissions" + flashes: + dismiss: Masquer side_menu: enterprise: primary_details: "Informations de base" @@ -1582,9 +1666,15 @@ fr_CA: index: title: "OIDC" connect: "Connecter votre compte" + disconnect: "Déconnecter" + connected: "Votre compte est relié à %{uid}." les_communs_link: "Serveur OIDC Les Communs" link_your_account: "Vous devez d'abord vous connecter avec le serveur des Communs." link_account_button: "Relier votre compte OIDC Les Communs" + note_expiry: | + Les approbations permettant d'accéder aux applications connectées ont expiré. Veuillez rafraîchir + la connexion à votre compte pour que toutes les intégrations fonctionnent. + refresh: "Rafraichir l'autorisation" view_account: "Pour voir votre compte, consultez :" subscriptions: index: @@ -1894,18 +1984,22 @@ fr_CA: invoice_column_price: "Prix" invoice_column_item: "Produit" invoice_column_qty: "Qté" + invoice_column_weight_volume: "Poids / volume" invoice_column_unit_price_with_taxes: "Prix unitaire TTC" invoice_column_unit_price_without_taxes: "Prix unitaire HT" invoice_column_price_with_taxes: "Prix total TTC" invoice_column_price_without_taxes: "Prix total HT" + invoice_column_price_per_unit_without_taxes: "Prix par unité (hors taxe)" invoice_column_tax_rate: "Taux de taxe" invoice_tax_total: "Total Taxe :" + invoice_cancel_and_replace_invoice: "annule et remplace la facture" tax_invoice: "FACTURE" tax_total: "Total taxe (%{rate}) :" invoice_shipping_category_delivery: "Livraison" invoice_shipping_category_pickup: "Retrait" total_excl_tax: "Total HT :" total_incl_tax: "Total TTC :" + total_all_tax: "Total taxe" abn: "SIRET" acn: "n° TVA intracommunautaire" invoice_issued_on: "Date de facture :" @@ -2122,6 +2216,9 @@ fr_CA: order_back_to_store: Retour à la boutique order_back_to_cart: Retour au panier order_back_to_website: Retour vers le site + checkout_details_title: Détails de la commande + checkout_payment_title: Paiement de la commande + checkout_summary_title: Résumé de la commande bom_tip: "Utilisez cette page pour modifier les quantités sur plusieurs commandes à la fois. Les produits peuvent aussi être supprimés des commandes si nécessaire." unsaved_changes_warning: "Des modifications n'ont pas été enregistrées et seront perdues si vous continuez." unsaved_changes_error: "Les champs entourés en rouge contiennent des erreurs." @@ -2984,6 +3081,8 @@ fr_CA: report_header_transaction_fee: Frais de Transaction (Taxes non incluses) report_header_total_untaxable_admin: Total ajustements non taxables report_header_total_taxable_admin: Total ajustments soumis aux taxes (taxes incluses) + report_header_voucher_label: Label de la réduction + report_header_voucher_amount: "Montant de la réduction (%{currency_symbol})" report_line_cost_of_produce: 'Coût des produits hors ' report_line_line_items: produits report_header_last_completed_order_date: Date dernière commande @@ -3309,6 +3408,7 @@ fr_CA: processing: "en traitement" void: "faire un avoir" invalid: "invalide" + quantity_unavailable: "Stock disponible insuffisant. La ligne produit ne peut pas être sauvegardée." quantity_unchanged: "La quantité n'a pas été modifiée." cancel_the_order_html: "Cette action va annuler la commande.
Etes-vous sûr de vouloir continuer ?" cancel_the_order_send_cancelation_email: "Envoyer un email d'annulation à l'acheteur" @@ -3669,6 +3769,7 @@ fr_CA: new_taxon: "Nouvelle taxonomie" new_user: "Nouvel utilisateur" no_pending_payments: "Aucun paiement en attente." + remove: "Supprimer" none: "Aucun" not_found: "Non trouvé" notice_messages: @@ -3685,6 +3786,8 @@ fr_CA: start_date: "Date de début" successfully_removed: "Supprimé avec succès" taxonomy_edit: "Modifier la taxonomie" + taxonomy_tree_error: "Erreur lors de la mise à jour de l'arbre de taxonomie." + taxonomy_tree_instruction: "Faites un clic droit sur un article pour ajouter, renommer, supprimer ou modifier." tree: "Arbre" updating: "Mettre à jour" your_order_is_empty_add_product: "Votre commande est vide, veuillez ajouter des produits" @@ -3737,6 +3840,7 @@ fr_CA: credit_card: "Carte de crédit" new_payment: "Nouveau paiement" capture: "Payée" + capture_and_complete_order: "Capturer et terminer la commande" void: "Annulé" login: "Se connecter" password: "Mot de passe" @@ -3978,6 +4082,9 @@ fr_CA: add_product: cannot_add_item_to_canceled_order: "Il n'est pas possible d'ajouter des produits sur une commande annulée." include_out_of_stock_variants: "Inclure les variantes sans stock" + shipment: + mark_as_shipped_message_html: "Cette action marque la commande comme livrée.
Etes-vous certain de vouloir faire ceci? " + mark_as_shipped_label_message: "Etes-vous certain de vouloir faire ceci? " index: listing_orders: "Liste des commandes" new_order: "Nouvelle commande" @@ -4036,6 +4143,9 @@ fr_CA: line_item_adjustments: "Ajustements sur la ligne produit" order_adjustments: "Ajustements sur la commande" order_total: "Total Commande:" + invoices: + index: + order_has_changed: "La commande a changé depuis la dernière mise à jour de la facture. La facture affichée ici risque donc de ne pas être à jour." overview: enterprises_header: ofn_with_tip: Les Entreprises sont des Producteurs et/ou Hubs distributeurs, et sont donc les organisations de base qui utilisent Open Food Network. @@ -4044,6 +4154,7 @@ fr_CA: has_no_payment_methods: "n'a pas de méthode de paiement" has_no_shipping_methods: "n'a pas de méthode de livraison" products: + products_tip: "Les produits que vous vendez via Open Food Network." active_products: zero: "Vous n'avez aucun produit actif." one: "Vous avez un produit actif" @@ -4196,6 +4307,8 @@ fr_CA: bulk_unit_size: Quantité totale du lot display_as: display_as: Unité affichéé + clone: + success: Produit dupliqué reports: table: select_and_search: "Sélectionner les filtres et cliquez sur %{option} pour accéder aux données." @@ -4269,7 +4382,11 @@ fr_CA: form: name: Nom permalink: Nom pour URL (sans espace) + meta_title: Méta titre + meta_description: Méta description + meta_keywords: Méta mots clés description: Description + dfc_id: URI DFC general_settings: edit: legal_settings: "Configuration légales" @@ -4579,3 +4696,6 @@ fr_CA: pagination: next: Suivant previous: Précédent + invisible_captcha: + sentence_for_humans: "Merci de laisser ce champ libre" + timestamp_error_message: "S'il vous plaît réessayez après 5 secondes." diff --git a/config/locales/fr_CH.yml b/config/locales/fr_CH.yml index 3fda02b1f9..f89193fb84 100644 --- a/config/locales/fr_CH.yml +++ b/config/locales/fr_CH.yml @@ -3449,6 +3449,7 @@ fr_CH: new_taxon: "Nouvelle taxonomie" new_user: "Nouvel utilisateur" no_pending_payments: "Aucun paiement en attente." + remove: "Supprimer" none: "Aucun" not_found: "Non trouvé" notice_messages: diff --git a/config/locales/fr_CM.yml b/config/locales/fr_CM.yml index e92dc3f782..981cbe5f31 100644 --- a/config/locales/fr_CM.yml +++ b/config/locales/fr_CM.yml @@ -3343,6 +3343,7 @@ fr_CM: new_taxon: "Nouvelle taxonomie" new_user: "Nouvel utilisateur" no_pending_payments: "Aucun paiement en attente." + remove: "Supprimer" none: "Aucun" not_found: "Non trouvé" notice_messages: diff --git a/config/locales/hi.yml b/config/locales/hi.yml index fb85829859..182872feb8 100644 --- a/config/locales/hi.yml +++ b/config/locales/hi.yml @@ -3648,6 +3648,7 @@ hi: new_taxon: "नया टैक्सोन" new_user: "नया यूज़र" no_pending_payments: "कोई पेंडिंग भुगतान नहीं" + remove: "मिटाएँ" none: "कोई नहीं" not_found: "नहीं मिला" notice_messages: diff --git a/config/locales/hu.yml b/config/locales/hu.yml index b8960c84ba..a1a84a4054 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -3477,6 +3477,7 @@ hu: new_taxon: "Új taxon" new_user: "Új felhasználó" no_pending_payments: "Nincsenek függőben lévő kifizetések" + remove: "eltávolítás" none: "Egyik sem" not_found: "Nem található" notice_messages: diff --git a/config/locales/it.yml b/config/locales/it.yml index 942a2227d4..c5ad8a82e2 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -3516,6 +3516,7 @@ it: new_taxon: "Nuova tassonomia" new_user: "Nuovo utente" no_pending_payments: "Nessun pagamento in sospeso" + remove: "Rimuovi" none: "Nessuno" not_found: "Non trovato" notice_messages: diff --git a/config/locales/it_CH.yml b/config/locales/it_CH.yml index 1b611c4d8c..ea951827a5 100644 --- a/config/locales/it_CH.yml +++ b/config/locales/it_CH.yml @@ -3378,6 +3378,7 @@ it_CH: new_taxon: "Nuova tassonomia" new_user: "Nuovo utente" no_pending_payments: "Nessun pagamento in sospeso" + remove: "Rimuovi" none: "Nessuno" not_found: "Non trovato" notice_messages: diff --git a/config/locales/ko.yml b/config/locales/ko.yml index 41b8a3ceaa..2484c4f61f 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -3344,6 +3344,7 @@ ko: new_taxon: "새 분류군" new_user: "신규 사용자" no_pending_payments: "미지금급" + remove: "제거" none: "아니다" not_found: "찾을 수 없습니다" notice_messages: diff --git a/config/locales/ml.yml b/config/locales/ml.yml index d02d69434e..7126238da9 100644 --- a/config/locales/ml.yml +++ b/config/locales/ml.yml @@ -3672,6 +3672,7 @@ ml: new_taxon: "പുതിയ ടാക്സൺ" new_user: "പുതിയ ഉപയോക്താവ്" no_pending_payments: "തീർപ്പാക്കാത്ത പേയ്‌മെന്റുകളൊന്നുമില്ല" + remove: "നീക്കം ചെയ്യുക" none: "ഒന്നുമില്ല" not_found: "കണ്ടെത്തിയില്ല" notice_messages: diff --git a/config/locales/nb.yml b/config/locales/nb.yml index 12031b9e04..3fe54ffd61 100644 --- a/config/locales/nb.yml +++ b/config/locales/nb.yml @@ -3710,6 +3710,7 @@ nb: new_taxon: "Ny kategori" new_user: "Ny bruker" no_pending_payments: "Ingen ventende betalinger" + remove: "Fjern" none: "Ingen" not_found: "Ikke funnet" notice_messages: diff --git a/config/locales/nl_BE.yml b/config/locales/nl_BE.yml index f0963fec77..df9de41f92 100644 --- a/config/locales/nl_BE.yml +++ b/config/locales/nl_BE.yml @@ -2990,6 +2990,7 @@ nl_BE: credit: "Krediet" more: "Meer" no_pending_payments: "Geen betaling in afhandeling" + remove: "Verwijderen" none: "Geen enkele" updating: "Updatend" your_order_is_empty_add_product: "Je bestelling is leeg, gelieve hierboven een product te zoeken en toe te voegen " diff --git a/config/locales/pa.yml b/config/locales/pa.yml index fe3aa51982..426a227655 100644 --- a/config/locales/pa.yml +++ b/config/locales/pa.yml @@ -3542,6 +3542,7 @@ pa: new_taxon: "ਨਵਾਂ ਟੈਕਸੋਨ" new_user: "ਨਵਾਂ ਉਪਭੋਗਤਾ" no_pending_payments: "ਕੋਈ ਬਕਾਇਆ ਭੁਗਤਾਨ ਨਹੀਂ ਹੈ" + remove: "Remove" none: "ਕੋਈ ਨਹੀਂ" not_found: "ਨਹੀਂ ਲਭਿਆ" notice_messages: diff --git a/config/locales/pl.yml b/config/locales/pl.yml index 7bcec92c2f..8348a75138 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -2978,6 +2978,7 @@ pl: category: "Kategoria" more: "Więcej" no_pending_payments: "Brak oczekujących płatności" + remove: "Usuń" none: "Nic" your_order_is_empty_add_product: "Twoje zamówienie jest puste, wyszukaj i dodaj produkt powyżej" add_product: "Dodaj produkt" diff --git a/config/locales/pt.yml b/config/locales/pt.yml index c68932bc33..00ab7fc455 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -3013,6 +3013,7 @@ pt: credit: "Crédito" more: "Mais" no_pending_payments: "Sem pagamentos pendentes" + remove: "Remover" none: "Nenhum" updating: "Atualizando" your_order_is_empty_add_product: "A sua encomenda está vazia, por favor procure e adicione um produto em cima" diff --git a/config/locales/pt_BR.yml b/config/locales/pt_BR.yml index 3d0c210474..01c66c961e 100644 --- a/config/locales/pt_BR.yml +++ b/config/locales/pt_BR.yml @@ -3238,6 +3238,7 @@ pt_BR: new_taxon: "Nova taxonomia" new_user: "Novo usuário" no_pending_payments: "Nenhum pagamento pendente" + remove: "Remover" none: "Nenhum" not_found: "Não encontrado" notice_messages: diff --git a/config/locales/ru.yml b/config/locales/ru.yml index aed986d8b5..76076fc356 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -3775,6 +3775,7 @@ ru: new_taxon: "Новая таксономия" new_user: "Новый пользователь" no_pending_payments: "Нет ожидающих платежей" + remove: "Удалить" none: "Нет" not_found: "Не найден" notice_messages: diff --git a/config/locales/sv.yml b/config/locales/sv.yml index a8992032d1..78f53f39ab 100644 --- a/config/locales/sv.yml +++ b/config/locales/sv.yml @@ -2136,6 +2136,7 @@ sv: all: "Alla" category: "Kategori" credit: "Kredit" + remove: "Ta bort" none: "Ingen" updating: "Uppdaterar" resend: "Återsänd" diff --git a/config/locales/tr.yml b/config/locales/tr.yml index 5291704f82..121265018a 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -3235,6 +3235,7 @@ tr: new_taxon: "Yeni kategori" new_user: "Yeni kullanıcı" no_pending_payments: "Bekleyen ödeme yok" + remove: "Kaldır" none: "SATIŞ YAPMIYOR" not_found: "Bulunamadı" notice_messages: diff --git a/config/locales/uk.yml b/config/locales/uk.yml index 13ecc3e1db..210e77f134 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -3459,6 +3459,7 @@ uk: new_taxon: "Новий таксон" new_user: "Новий користувач" no_pending_payments: "Немає незавершених платежів" + remove: "Видалити" none: "Жодного" not_found: "Не знайдено" notice_messages: